| | | |
Offset 20, 190 lines modified | Offset 20, 183 lines modified |
20 | .field·final·synthetic·this$0:Landroid/net/ip/IpServer; | 20 | .field·final·synthetic·this$0:Landroid/net/ip/IpServer; |
| |
| |
21 | #·direct·methods | 21 | #·direct·methods |
22 | .method·private·constructor·<init>(Landroid/net/ip/IpServer;I)V | 22 | .method·private·constructor·<init>(Landroid/net/ip/IpServer;I)V |
23 | ····.locals·0 | 23 | ····.locals·0 |
| |
24 | ····.line·421 | 24 | ····.line·417 |
25 | ····iput-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 25 | ····iput-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
26 | ····invoke-direct·{p0},·Landroid/net/dhcp/DhcpServerCallbacks;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/net/dhcp/DhcpServerCallbacks;-><init>()V |
| |
27 | ····.line·422 | 27 | ····.line·418 |
28 | ····iput·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I | 28 | ····iput·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I |
| |
29 | ····return-void | 29 | ····return-void |
30 | .end·method | 30 | .end·method |
| |
31 | .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;ILandroid/net/ip/IpServer$1;)V | 31 | .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;ILandroid/net/ip/IpServer$1;)V |
32 | ····.locals·0 | 32 | ····.locals·0 |
| |
33 | ····.line·418 | 33 | ····.line·414 |
34 | ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;-><init>(Landroid/net/ip/IpServer;I)V | 34 | ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;-><init>(Landroid/net/ip/IpServer;I)V |
| |
35 | ····return-void | 35 | ····return-void |
36 | .end·method | 36 | .end·method |
| |
37 | .method·static·synthetic·access$700(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V | 37 | .method·static·synthetic·access$700(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V |
38 | ····.locals·0 | 38 | ····.locals·0 |
| |
39 | ····.line·418 | 39 | ····.line·414 |
40 | ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V | 40 | ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V |
| |
41 | ····return-void | 41 | ····return-void |
42 | .end·method | 42 | .end·method |
| |
43 | .method·private·handleError()V | 43 | .method·private·handleError()V |
44 | ····.locals·2 | 44 | ····.locals·2 |
| |
45 | ····.line·464 | 45 | ····.line·456 |
46 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 46 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
47 | ····const/16·v1,·0xc | 47 | ····const/16·v1,·0xc |
| |
48 | ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I | 48 | ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I |
| |
49 | ····.line·465 | 49 | ····.line·457 |
50 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 50 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
51 | ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State; | 51 | ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State; |
| |
52 | ····move-result-object·v0 | 52 | ····move-result-object·v0 |
| |
53 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V | 53 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V |
| |
54 | ····return-void | 54 | ····return-void |
55 | .end·method | 55 | .end·method |
| |
56 | .method·private·synthetic·lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V | 56 | .method·private·synthetic·lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V |
57 | ····.locals·3 | 57 | ····.locals·2 |
| |
58 | ····.line·429 | 58 | ····.line·425 |
59 | ····iget·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I | 59 | ····iget·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I |
| |
60 | ····iget-object·v1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 60 | ····iget-object·v1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
61 | ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$300(Landroid/net/ip/IpServer;)I | 61 | ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$300(Landroid/net/ip/IpServer;)I |
| |
62 | ····move-result·v1 | 62 | ····move-result·v1 |
| |
63 | ····const/4·v2,·0x0 | |
| |
64 | ····if-eq·v0,·v1,·:cond_0 | 63 | ····if-eq·v0,·v1,·:cond_0 |
| |
65 | ····.line·435 | |
66 | ····:try_start_0 | |
67 | ····invoke-interface·{p1,·v2},·Landroid/net/dhcp/IDhcpServer;->stop(Landroid/net/INetworkStackStatusCallback;)V | |
68 | ····:try_end_0 | |
69 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 | |
| |
70 | ····:catch_0 | |
71 | ····return-void | 64 | ····return-void |
| |
72 | ····:cond_0 | 65 | ····:cond_0 |
73 | ····const/4·v0,·0x1 | 66 | ····const/4·v0,·0x1 |
| |
74 | ····if-eq·p2,·v0,·:cond_1 | 67 | ····if-eq·p1,·v0,·:cond_1 |
| |
75 | ····.line·441 | 68 | ····.line·433 |
76 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 69 | ····iget-object·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
77 | ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog; | 70 | ····invoke-static·{p2},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog; |
| |
78 | ····move-result-object·p1 | 71 | ····move-result-object·p2 |
| |
79 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 72 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
80 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 73 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
81 | ····const-string·v1,·"Error·obtaining·DHCP·server:·" | 74 | ····const-string·v1,·"Error·obtaining·DHCP·server:·" |
| |
82 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 75 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
83 | ····invoke-virtual·{v0,·p2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 76 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
| |
84 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 77 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
85 | ····move-result-object·p2 | 78 | ····move-result-object·p1 |
| |
86 | ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V | 79 | ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V |
| |
87 | ····.line·442 | 80 | ····.line·434 |
88 | ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V | 81 | ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V |
| |
89 | ····return-void | 82 | ····return-void |
| |
90 | ····.line·446 | 83 | ····.line·438 |
91 | ····:cond_1 | 84 | ····:cond_1 |
92 | ····iget-object·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 85 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
93 | ····invoke-static·{p2,·p1},·Landroid/net/ip/IpServer;->access$502(Landroid/net/ip/IpServer;Landroid/net/dhcp/IDhcpServer;)Landroid/net/dhcp/IDhcpServer; | 86 | ····invoke-static·{p1,·p2},·Landroid/net/ip/IpServer;->access$502(Landroid/net/ip/IpServer;Landroid/net/dhcp/IDhcpServer;)Landroid/net/dhcp/IDhcpServer; |
| |
94 | ····.line·448 | 87 | ····.line·440 |
95 | ····:try_start_1 | 88 | ····:try_start_0 |
96 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 89 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
97 | ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$500(Landroid/net/ip/IpServer;)Landroid/net/dhcp/IDhcpServer; | 90 | ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$500(Landroid/net/ip/IpServer;)Landroid/net/dhcp/IDhcpServer; |
| |
98 | ····move-result-object·p1 | 91 | ····move-result-object·p1 |
| |
99 | ····new-instance·p2,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1; | 92 | ····new-instance·p2,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1; |
| |
100 | ····invoke-direct·{p2,·p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1;-><init>(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V | 93 | ····invoke-direct·{p2,·p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1;-><init>(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V |
| |
101 | ····new-instance·v0,·Landroid/net/ip/IpServer$DhcpEventCallback; | 94 | ····new-instance·v0,·Landroid/net/ip/IpServer$DhcpEventCallback; |
| |
102 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 95 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
| 96 | ····const/4·v1,·0x0 |
| |
103 | ····invoke-direct·{v0,·p0,·v2},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V | 97 | ····invoke-direct·{v0,·p0,·v1},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V |
| |
104 | ····invoke-interface·{p1,·p2,·v0},·Landroid/net/dhcp/IDhcpServer;->startWithCallbacks(Landroid/net/INetworkStackStatusCallback;Landroid/net/dhcp/IDhcpEventCallbacks;)V | 98 | ····invoke-interface·{p1,·p2,·v0},·Landroid/net/dhcp/IDhcpServer;->startWithCallbacks(Landroid/net/INetworkStackStatusCallback;Landroid/net/dhcp/IDhcpEventCallbacks;)V |
105 | ····:try_end_1 | 99 | ····:try_end_0 |
106 | ····.catch·Landroid/os/RemoteException;·{:try_start_1·..·:try_end_1}·:catch_1 | 100 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
107 | ····return-void | 101 | ····return-void |
| |
108 | ····:catch_1 | 102 | ····:catch_0 |
109 | ····move-exception·p0 | 103 | ····move-exception·p0 |
| |
110 | ····.line·458 | 104 | ····.line·450 |
111 | ····new-instance·p1,·Ljava/lang/IllegalStateException; | 105 | ····new-instance·p1,·Ljava/lang/IllegalStateException; |
| |
112 | ····invoke-direct·{p1,·p0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V | 106 | ····invoke-direct·{p1,·p0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V |
| |
113 | ····throw·p1 | 107 | ····throw·p1 |
114 | .end·method | 108 | .end·method |
| |
| |
115 | #·virtual·methods | 109 | #·virtual·methods |
116 | .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(Landroid/net/dhcp/IDhcpServer;I)V | 110 | .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(ILandroid/net/dhcp/IDhcpServer;)V |
117 | ····.locals·0 | 111 | ····.locals·0 |
| |
118 | ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V | 112 | ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V |
| |
119 | ····return-void | 113 | ····return-void |
120 | .end·method | 114 | .end·method |
| |
121 | .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V | 115 | .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V |
122 | ····.locals·2 | 116 | ····.locals·2 |
123 | ····.annotation·system·Ldalvik/annotation/Throws; | 117 | ····.annotation·system·Ldalvik/annotation/Throws; |
124 | ········value·=·{ | 118 | ········value·=·{ |
125 | ············Landroid/os/RemoteException; | 119 | ············Landroid/os/RemoteException; |
126 | ········} | 120 | ········} |
127 | ····.end·annotation | 121 | ····.end·annotation |
| |
128 | ····.line·427 | 122 | ····.line·423 |
129 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 123 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
130 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; | 124 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; |
| |
131 | ····move-result-object·v0 | 125 | ····move-result-object·v0 |
| |
132 | ····new-instance·v1,·Landroid/net/ip/-$$Lambda$IpServer$DhcpServerCallbacksImpl$jOx3aMVF_QeZp19IuEPKpIgN6u4; | 126 | ····new-instance·v1,·Landroid/net/ip/-$$Lambda$IpServer$DhcpServerCallbacksImpl$nBlfeyPZEu2j0KBs4BJklDJTve4; |
| |
133 | ····invoke-direct·{v1,·p0,·p2,·p1},·Landroid/net/ip/-$$Lambda$IpServer$DhcpServerCallbacksImpl$jOx3aMVF_QeZp19IuEPKpIgN6u4;-><init>(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;Landroid/net/dhcp/IDhcpServer;I)V | 127 | ····invoke-direct·{v1,·p0,·p1,·p2},·Landroid/net/ip/-$$Lambda$IpServer$DhcpServerCallbacksImpl$nBlfeyPZEu2j0KBs4BJklDJTve4;-><init>(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;ILandroid/net/dhcp/IDhcpServer;)V |
| |
134 | ····invoke-virtual·{v0,·v1},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z | 128 | ····invoke-virtual·{v0,·v1},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z |
| |
135 | ····return-void | 129 | ····return-void |
136 | .end·method | 130 | .end·method |