| | | |
Offset 52, 138 lines modified | Offset 52, 131 lines modified |
| |
52 | ····return-void | 52 | ····return-void |
53 | .end·method | 53 | .end·method |
| |
54 | .method·private·handleError()V | 54 | .method·private·handleError()V |
55 | ····.locals·2 | 55 | ····.locals·2 |
| |
56 | ····.line·460 | 56 | ····.line·456 |
57 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 57 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
58 | ····const/16·v1,·0xc | 58 | ····const/16·v1,·0xc |
| |
59 | ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I | 59 | ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I |
| |
60 | ····.line·461 | 60 | ····.line·457 |
61 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 61 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
62 | ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State; | 62 | ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State; |
| |
63 | ····move-result-object·v0 | 63 | ····move-result-object·v0 |
| |
64 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V | 64 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V |
| |
65 | ····return-void | 65 | ····return-void |
66 | .end·method | 66 | .end·method |
| |
67 | .method·private·synthetic·lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V | 67 | .method·private·synthetic·lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V |
68 | ····.locals·3 | 68 | ····.locals·2 |
| |
69 | ····.line·425 | 69 | ····.line·425 |
70 | ····iget·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I | 70 | ····iget·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I |
| |
71 | ····iget-object·v1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 71 | ····iget-object·v1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
72 | ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$300(Landroid/net/ip/IpServer;)I | 72 | ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$300(Landroid/net/ip/IpServer;)I |
| |
73 | ····move-result·v1 | 73 | ····move-result·v1 |
| |
74 | ····const/4·v2,·0x0 | |
| |
75 | ····if-eq·v0,·v1,·:cond_0 | 74 | ····if-eq·v0,·v1,·:cond_0 |
| |
76 | ····.line·431 | |
77 | ····:try_start_0 | |
78 | ····invoke-interface·{p1,·v2},·Landroid/net/dhcp/IDhcpServer;->stop(Landroid/net/INetworkStackStatusCallback;)V | |
79 | ····:try_end_0 | |
80 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 | |
| |
81 | ····:catch_0 | |
82 | ····return-void | 75 | ····return-void |
| |
83 | ····:cond_0 | 76 | ····:cond_0 |
84 | ····const/4·v0,·0x1 | 77 | ····const/4·v0,·0x1 |
| |
85 | ····if-eq·p2,·v0,·:cond_1 | 78 | ····if-eq·p1,·v0,·:cond_1 |
| |
86 | ····.line·437 | 79 | ····.line·433 |
87 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 80 | ····iget-object·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
88 | ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog; | 81 | ····invoke-static·{p2},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog; |
| |
89 | ····move-result-object·p1 | 82 | ····move-result-object·p2 |
| |
90 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 83 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
91 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 84 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
92 | ····const-string·v1,·"Error·obtaining·DHCP·server:·" | 85 | ····const-string·v1,·"Error·obtaining·DHCP·server:·" |
| |
93 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 86 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
94 | ····invoke-virtual·{v0,·p2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 87 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
| |
95 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 88 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
96 | ····move-result-object·p2 | 89 | ····move-result-object·p1 |
| |
97 | ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V | 90 | ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V |
| |
98 | ····.line·438 | 91 | ····.line·434 |
99 | ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V | 92 | ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V |
| |
100 | ····return-void | 93 | ····return-void |
| |
101 | ····.line·442 | 94 | ····.line·438 |
102 | ····:cond_1 | 95 | ····:cond_1 |
103 | ····iget-object·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 96 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
104 | ····invoke-static·{p2,·p1},·Landroid/net/ip/IpServer;->access$502(Landroid/net/ip/IpServer;Landroid/net/dhcp/IDhcpServer;)Landroid/net/dhcp/IDhcpServer; | 97 | ····invoke-static·{p1,·p2},·Landroid/net/ip/IpServer;->access$502(Landroid/net/ip/IpServer;Landroid/net/dhcp/IDhcpServer;)Landroid/net/dhcp/IDhcpServer; |
| |
105 | ····.line·444 | 98 | ····.line·440 |
106 | ····:try_start_1 | 99 | ····:try_start_0 |
107 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 100 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
108 | ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$500(Landroid/net/ip/IpServer;)Landroid/net/dhcp/IDhcpServer; | 101 | ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$500(Landroid/net/ip/IpServer;)Landroid/net/dhcp/IDhcpServer; |
| |
109 | ····move-result-object·p1 | 102 | ····move-result-object·p1 |
| |
110 | ····new-instance·p2,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1; | 103 | ····new-instance·p2,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1; |
| |
111 | ····invoke-direct·{p2,·p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1;-><init>(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V | 104 | ····invoke-direct·{p2,·p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl$1;-><init>(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V |
| |
112 | ····new-instance·v0,·Landroid/net/ip/IpServer$DhcpEventCallback; | 105 | ····new-instance·v0,·Landroid/net/ip/IpServer$DhcpEventCallback; |
| |
113 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 106 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
114 | ····invoke-direct·{v0,·p0,·v2},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V | 107 | ····const/4·v1,·0x0 |
| |
| 108 | ····invoke-direct·{v0,·p0,·v1},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V |
| |
115 | ····invoke-interface·{p1,·p2,·v0},·Landroid/net/dhcp/IDhcpServer;->startWithCallbacks(Landroid/net/INetworkStackStatusCallback;Landroid/net/dhcp/IDhcpEventCallbacks;)V | 109 | ····invoke-interface·{p1,·p2,·v0},·Landroid/net/dhcp/IDhcpServer;->startWithCallbacks(Landroid/net/INetworkStackStatusCallback;Landroid/net/dhcp/IDhcpEventCallbacks;)V |
116 | ····:try_end_1 | 110 | ····:try_end_0 |
117 | ····.catch·Landroid/os/RemoteException;·{:try_start_1·..·:try_end_1}·:catch_1 | 111 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
118 | ····return-void | 112 | ····return-void |
| |
119 | ····:catch_1 | 113 | ····:catch_0 |
120 | ····move-exception·p0 | 114 | ····move-exception·p0 |
| |
121 | ····.line·454 | 115 | ····.line·450 |
122 | ····new-instance·p1,·Ljava/lang/IllegalStateException; | 116 | ····new-instance·p1,·Ljava/lang/IllegalStateException; |
| |
123 | ····invoke-direct·{p1,·p0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V | 117 | ····invoke-direct·{p1,·p0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V |
| |
124 | ····throw·p1 | 118 | ····throw·p1 |
125 | .end·method | 119 | .end·method |
| |
| |
126 | #·virtual·methods | 120 | #·virtual·methods |
127 | .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(Landroid/net/dhcp/IDhcpServer;I)V | 121 | .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(ILandroid/net/dhcp/IDhcpServer;)V |
128 | ····.locals·0 | 122 | ····.locals·0 |
| |
129 | ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V | 123 | ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V |
| |
130 | ····return-void | 124 | ····return-void |
131 | .end·method | 125 | .end·method |
| |
132 | .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V | 126 | .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V |
133 | ····.locals·2 | 127 | ····.locals·2 |
134 | ····.annotation·system·Ldalvik/annotation/Throws; | 128 | ····.annotation·system·Ldalvik/annotation/Throws; |
Offset 195, 15 lines modified | Offset 188, 15 lines modified |
195 | ····.line·423 | 188 | ····.line·423 |
196 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; | 189 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->this$0:Landroid/net/ip/IpServer; |
| |
197 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; | 190 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; |
| |
198 | ····move-result-object·v0 | 191 | ····move-result-object·v0 |
| |
199 | ····new-instance·v1,·Landroid/net/ip/-$$Lambda$IpServer$DhcpServerCallbacksImpl$jOx3aMVF_QeZp19IuEPKpIgN6u4; | 192 | ····new-instance·v1,·Landroid/net/ip/-$$Lambda$IpServer$DhcpServerCallbacksImpl$nBlfeyPZEu2j0KBs4BJklDJTve4; |
| |
200 | ····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 | 193 | ····invoke-direct·{v1,·p0,·p1,·p2},·Landroid/net/ip/-$$Lambda$IpServer$DhcpServerCallbacksImpl$nBlfeyPZEu2j0KBs4BJklDJTve4;-><init>(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;ILandroid/net/dhcp/IDhcpServer;)V |
| |
201 | ····invoke-virtual·{v0,·v1},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z | 194 | ····invoke-virtual·{v0,·v1},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z |
| |
202 | ····return-void | 195 | ····return-void |
203 | .end·method | 196 | .end·method |