| | | |
Offset 18, 40 lines modified | Offset 18, 40 lines modified |
18 | .field·final·synthetic·this$0:Landroid/net/ip/IpServer; | 18 | .field·final·synthetic·this$0:Landroid/net/ip/IpServer; |
| |
| |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·private·constructor·<init>(Landroid/net/ip/IpServer;)V | 20 | .method·private·constructor·<init>(Landroid/net/ip/IpServer;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
| |
22 | ····.line·465 | 22 | ····.line·461 |
23 | ····iput-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; | 23 | ····iput-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; |
| |
24 | ····invoke-direct·{p0},·Landroid/net/dhcp/IDhcpEventCallbacks$Stub;-><init>()V | 24 | ····invoke-direct·{p0},·Landroid/net/dhcp/IDhcpEventCallbacks$Stub;-><init>()V |
| |
25 | ····return-void | 25 | ····return-void |
26 | .end·method | 26 | .end·method |
| |
27 | .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V | 27 | .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V |
28 | ····.locals·0 | 28 | ····.locals·0 |
| |
29 | ····.line·465 | 29 | ····.line·461 |
30 | ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;)V | 30 | ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;)V |
| |
31 | ····return-void | 31 | ····return-void |
32 | .end·method | 32 | .end·method |
| |
33 | .method·private·synthetic·lambda$onLeasesChanged$0(Ljava/util/ArrayList;)V | 33 | .method·private·synthetic·lambda$onLeasesChanged$0(Ljava/util/ArrayList;)V |
34 | ····.locals·1 | 34 | ····.locals·1 |
| |
35 | ····.line·493 | 35 | ····.line·489 |
36 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; | 36 | ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; |
| |
37 | ····invoke-static·{v0,·p1},·Landroid/net/ip/IpServer;->access$1002(Landroid/net/ip/IpServer;Ljava/util/List;)Ljava/util/List; | 37 | ····invoke-static·{v0,·p1},·Landroid/net/ip/IpServer;->access$1002(Landroid/net/ip/IpServer;Ljava/util/List;)Ljava/util/List; |
| |
38 | ····.line·494 | 38 | ····.line·490 |
39 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; | 39 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; |
| |
40 | ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$1100(Landroid/net/ip/IpServer;)Landroid/net/ip/IpServer$Callback; | 40 | ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$1100(Landroid/net/ip/IpServer;)Landroid/net/ip/IpServer$Callback; |
| |
41 | ····move-result-object·p0 | 41 | ····move-result-object·p0 |
| |
42 | ····invoke-virtual·{p0},·Landroid/net/ip/IpServer$Callback;->dhcpLeasesChanged()V | 42 | ····invoke-virtual·{p0},·Landroid/net/ip/IpServer$Callback;->dhcpLeasesChanged()V |
Offset 97, 20 lines modified | Offset 97, 20 lines modified |
97 | ············"(", | 97 | ············"(", |
98 | ············"Ljava/util/List<", | 98 | ············"Ljava/util/List<", |
99 | ············"Landroid/net/dhcp/DhcpLeaseParcelable;", | 99 | ············"Landroid/net/dhcp/DhcpLeaseParcelable;", |
100 | ············">;)V" | 100 | ············">;)V" |
101 | ········} | 101 | ········} |
102 | ····.end·annotation | 102 | ····.end·annotation |
| |
103 | ····.line·468 | 103 | ····.line·464 |
104 | ····new-instance·v0,·Ljava/util/ArrayList; | 104 | ····new-instance·v0,·Ljava/util/ArrayList; |
| |
105 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V | 105 | ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V |
| |
106 | ····.line·469 | 106 | ····.line·465 |
107 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 107 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
108 | ····move-result-object·p1 | 108 | ····move-result-object·p1 |
| |
109 | ····:goto_0 | 109 | ····:goto_0 |
110 | ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z | 110 | ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z |
| |
Offset 120, 20 lines modified | Offset 120, 20 lines modified |
| |
120 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 120 | ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
121 | ····move-result-object·v1 | 121 | ····move-result-object·v1 |
| |
122 | ····check-cast·v1,·Landroid/net/dhcp/DhcpLeaseParcelable; | 122 | ····check-cast·v1,·Landroid/net/dhcp/DhcpLeaseParcelable; |
| |
123 | ····.line·470 | 123 | ····.line·466 |
124 | ····new-instance·v11,·Landroid/net/LinkAddress; | 124 | ····new-instance·v11,·Landroid/net/LinkAddress; |
| |
125 | ····iget·v2,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->netAddr:I | 125 | ····iget·v2,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->netAddr:I |
| |
126 | ····.line·471 | 126 | ····.line·467 |
127 | ····invoke-static·{v2},·Lcom/android/networkstack/tethering/util/Inet4AddressUtils;->intToInet4AddressHTH(I)Ljava/net/Inet4Address; | 127 | ····invoke-static·{v2},·Lcom/android/networkstack/tethering/util/Inet4AddressUtils;->intToInet4AddressHTH(I)Ljava/net/Inet4Address; |
| |
128 | ····move-result-object·v3 | 128 | ····move-result-object·v3 |
| |
129 | ····iget·v4,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->prefixLength:I | 129 | ····iget·v4,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->prefixLength:I |
| |
130 | ····const/4·v5,·0x0 | 130 | ····const/4·v5,·0x0 |
Offset 144, 84 lines modified | Offset 144, 84 lines modified |
| |
144 | ····move-object·v2,·v11 | 144 | ····move-object·v2,·v11 |
| |
145 | ····move-wide·v7,·v9 | 145 | ····move-wide·v7,·v9 |
| |
146 | ····invoke-direct/range·{v2·..·v10},·Landroid/net/LinkAddress;-><init>(Ljava/net/InetAddress;IIIJJ)V | 146 | ····invoke-direct/range·{v2·..·v10},·Landroid/net/LinkAddress;-><init>(Ljava/net/InetAddress;IIIJJ)V |
| |
147 | ····.line·477 | 147 | ····.line·473 |
148 | ····:try_start_0 | 148 | ····:try_start_0 |
149 | ····iget-object·v2,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hwAddr:[B | 149 | ····iget-object·v2,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hwAddr:[B |
| |
150 | ····invoke-static·{v2},·Landroid/net/MacAddress;->fromBytes([B)Landroid/net/MacAddress; | 150 | ····invoke-static·{v2},·Landroid/net/MacAddress;->fromBytes([B)Landroid/net/MacAddress; |
| |
151 | ····move-result-object·v2 | 151 | ····move-result-object·v2 |
152 | ····:try_end_0 | 152 | ····:try_end_0 |
153 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 | 153 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
154 | ····.line·484 | 154 | ····.line·480 |
155 | ····new-instance·v3,·Landroid/net/TetheredClient$AddressInfo; | 155 | ····new-instance·v3,·Landroid/net/TetheredClient$AddressInfo; |
| |
156 | ····iget-object·v1,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hostname:Ljava/lang/String; | 156 | ····iget-object·v1,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hostname:Ljava/lang/String; |
| |
157 | ····invoke-direct·{v3,·v11,·v1},·Landroid/net/TetheredClient$AddressInfo;-><init>(Landroid/net/LinkAddress;Ljava/lang/String;)V | 157 | ····invoke-direct·{v3,·v11,·v1},·Landroid/net/TetheredClient$AddressInfo;-><init>(Landroid/net/LinkAddress;Ljava/lang/String;)V |
| |
158 | ····.line·486 | 158 | ····.line·482 |
159 | ····new-instance·v1,·Landroid/net/TetheredClient; | 159 | ····new-instance·v1,·Landroid/net/TetheredClient; |
| |
160 | ····.line·488 | 160 | ····.line·484 |
161 | ····invoke-static·{v3},·Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; | 161 | ····invoke-static·{v3},·Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List; |
| |
162 | ····move-result-object·v3 | 162 | ····move-result-object·v3 |
| |
163 | ····iget-object·v4,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; | 163 | ····iget-object·v4,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; |
| |
164 | ····.line·489 | 164 | ····.line·485 |
165 | ····invoke-static·{v4},·Landroid/net/ip/IpServer;->access$900(Landroid/net/ip/IpServer;)I | 165 | ····invoke-static·{v4},·Landroid/net/ip/IpServer;->access$900(Landroid/net/ip/IpServer;)I |
| |
166 | ····move-result·v4 | 166 | ····move-result·v4 |
| |
167 | ····invoke-direct·{v1,·v2,·v3,·v4},·Landroid/net/TetheredClient;-><init>(Landroid/net/MacAddress;Ljava/util/Collection;I)V | 167 | ····invoke-direct·{v1,·v2,·v3,·v4},·Landroid/net/TetheredClient;-><init>(Landroid/net/MacAddress;Ljava/util/Collection;I)V |
| |
168 | ····.line·486 | 168 | ····.line·482 |
169 | ····invoke-virtual·{v0,·v1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 169 | ····invoke-virtual·{v0,·v1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
| |
170 | ····goto·:goto_0 | 170 | ····goto·:goto_0 |
| |
171 | ····.line·479 | 171 | ····.line·475 |
172 | ····:catch_0 | 172 | ····:catch_0 |
173 | ····new-instance·p0,·Ljava/lang/StringBuilder; | 173 | ····new-instance·p0,·Ljava/lang/StringBuilder; |
| |
174 | ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V | 174 | ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V |
| |
175 | ····const-string·p1,·"Invalid·address·received·from·DhcpServer:·" | 175 | ····const-string·p1,·"Invalid·address·received·from·DhcpServer:·" |
| |
176 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 176 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
177 | ····iget-object·p1,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hwAddr:[B | 177 | ····iget-object·p1,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hwAddr:[B |
| |
178 | ····.line·480 | 178 | ····.line·476 |
179 | ····invoke-static·{p1},·Ljava/util/Arrays;->toString([B)Ljava/lang/String; | 179 | ····invoke-static·{p1},·Ljava/util/Arrays;->toString([B)Ljava/lang/String; |
| |
180 | ····move-result-object·p1 | 180 | ····move-result-object·p1 |
| |
181 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 181 | ····invoke-virtual·{p0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
182 | ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 182 | ····invoke-virtual·{p0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
183 | ····move-result-object·p0 | 183 | ····move-result-object·p0 |
| |
184 | ····const-string·p1,·"IpServer" | 184 | ····const-string·p1,·"IpServer" |
| |
185 | ····.line·479 | 185 | ····.line·475 |
186 | ····invoke-static·{p1,·p0},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I | 186 | ····invoke-static·{p1,·p0},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I |
| |
187 | ····return-void | 187 | ····return-void |
| |
188 | ····.line·492 | 188 | ····.line·488 |
189 | ····:cond_0 | 189 | ····:cond_0 |
190 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; | 190 | ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; |
| |
191 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; | 191 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; |
| |
192 | ····move-result-object·p1 | 192 | ····move-result-object·p1 |
| |
Offset 233, 18 lines modified | Offset 233, 18 lines modified |
| |
233 | ····return-void | 233 | ····return-void |
234 | .end·method | 234 | .end·method |
| |
235 | .method·public·onNewPrefixRequest(Landroid/net/IpPrefix;)V | 235 | .method·public·onNewPrefixRequest(Landroid/net/IpPrefix;)V |
236 | ····.locals·1 | 236 | ····.locals·1 |
| |
237 | ····.line·500 | 237 | ····.line·496 |
238 | ····invoke-static·{p1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; | 238 | ····invoke-static·{p1},·Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object; |
| |
239 | ····.line·501 | 239 | ····.line·497 |
240 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; | 240 | ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$DhcpEventCallback;->this$0:Landroid/net/ip/IpServer; |
| |
241 | ····const/16·v0,·0x70 | 241 | ····const/16·v0,·0x70 |
| |
242 | ····invoke-virtual·{p0,·v0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V | 242 | ····invoke-virtual·{p0,·v0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V |
| |
243 | ····return-void | 243 | ····return-void |