Offset 18, 40 lines modifiedOffset 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·methods19 #·direct·methods
20 .method·private·constructor·<init>(Landroid/net/ip/IpServer;)V20 .method·private·constructor·<init>(Landroid/net/ip/IpServer;)V
21 ····.locals·021 ····.locals·0
  
22 ····.line·46522 ····.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>()V24 ····invoke-direct·{p0},·Landroid/net/dhcp/IDhcpEventCallbacks$Stub;-><init>()V
  
25 ····return-void25 ····return-void
26 .end·method26 .end·method
  
27 .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V27 .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V
28 ····.locals·028 ····.locals·0
  
29 ····.line·46529 ····.line·461
30 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;)V30 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;)V
  
31 ····return-void31 ····return-void
32 .end·method32 .end·method
  
33 .method·private·synthetic·lambda$onLeasesChanged$0(Ljava/util/ArrayList;)V33 .method·private·synthetic·lambda$onLeasesChanged$0(Ljava/util/ArrayList;)V
34 ····.locals·134 ····.locals·1
  
35 ····.line·49335 ····.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·49438 ····.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·p041 ····move-result-object·p0
  
42 ····invoke-virtual·{p0},·Landroid/net/ip/IpServer$Callback;->dhcpLeasesChanged()V42 ····invoke-virtual·{p0},·Landroid/net/ip/IpServer$Callback;->dhcpLeasesChanged()V
Offset 97, 20 lines modifiedOffset 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·annotation102 ····.end·annotation
  
103 ····.line·468103 ····.line·464
104 ····new-instance·v0,·Ljava/util/ArrayList;104 ····new-instance·v0,·Ljava/util/ArrayList;
  
105 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V105 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
106 ····.line·469106 ····.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·p1108 ····move-result-object·p1
  
109 ····:goto_0109 ····:goto_0
110 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z110 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z
  
Offset 120, 20 lines modifiedOffset 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·v1121 ····move-result-object·v1
  
122 ····check-cast·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;122 ····check-cast·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;
  
123 ····.line·470123 ····.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:I125 ····iget·v2,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->netAddr:I
  
126 ····.line·471126 ····.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·v3128 ····move-result-object·v3
  
129 ····iget·v4,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->prefixLength:I129 ····iget·v4,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->prefixLength:I
  
130 ····const/4·v5,·0x0130 ····const/4·v5,·0x0
Offset 144, 84 lines modifiedOffset 144, 84 lines modified
  
144 ····move-object·v2,·v11144 ····move-object·v2,·v11
  
145 ····move-wide·v7,·v9145 ····move-wide·v7,·v9
  
146 ····invoke-direct/range·{v2·..·v10},·Landroid/net/LinkAddress;-><init>(Ljava/net/InetAddress;IIIJJ)V146 ····invoke-direct/range·{v2·..·v10},·Landroid/net/LinkAddress;-><init>(Ljava/net/InetAddress;IIIJJ)V
  
147 ····.line·477147 ····.line·473
148 ····:try_start_0148 ····:try_start_0
149 ····iget-object·v2,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hwAddr:[B149 ····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·v2151 ····move-result-object·v2
152 ····:try_end_0152 ····:try_end_0
153 ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0153 ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0
  
154 ····.line·484154 ····.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;)V157 ····invoke-direct·{v3,·v11,·v1},·Landroid/net/TetheredClient$AddressInfo;-><init>(Landroid/net/LinkAddress;Ljava/lang/String;)V
  
158 ····.line·486158 ····.line·482
159 ····new-instance·v1,·Landroid/net/TetheredClient;159 ····new-instance·v1,·Landroid/net/TetheredClient;
  
160 ····.line·488160 ····.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·v3162 ····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·489164 ····.line·485
165 ····invoke-static·{v4},·Landroid/net/ip/IpServer;->access$900(Landroid/net/ip/IpServer;)I165 ····invoke-static·{v4},·Landroid/net/ip/IpServer;->access$900(Landroid/net/ip/IpServer;)I
  
166 ····move-result·v4166 ····move-result·v4
  
167 ····invoke-direct·{v1,·v2,·v3,·v4},·Landroid/net/TetheredClient;-><init>(Landroid/net/MacAddress;Ljava/util/Collection;I)V167 ····invoke-direct·{v1,·v2,·v3,·v4},·Landroid/net/TetheredClient;-><init>(Landroid/net/MacAddress;Ljava/util/Collection;I)V
  
168 ····.line·486168 ····.line·482
169 ····invoke-virtual·{v0,·v1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z169 ····invoke-virtual·{v0,·v1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
  
170 ····goto·:goto_0170 ····goto·:goto_0
  
171 ····.line·479171 ····.line·475
172 ····:catch_0172 ····:catch_0
173 ····new-instance·p0,·Ljava/lang/StringBuilder;173 ····new-instance·p0,·Ljava/lang/StringBuilder;
  
174 ····invoke-direct·{p0},·Ljava/lang/StringBuilder;-><init>()V174 ····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:[B177 ····iget-object·p1,·v1,·Landroid/net/dhcp/DhcpLeaseParcelable;->hwAddr:[B
  
178 ····.line·480178 ····.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·p1180 ····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·p0183 ····move-result-object·p0
  
184 ····const-string·p1,·"IpServer"184 ····const-string·p1,·"IpServer"
  
185 ····.line·479185 ····.line·475
186 ····invoke-static·{p1,·p0},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I186 ····invoke-static·{p1,·p0},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I
  
187 ····return-void187 ····return-void
  
188 ····.line·492188 ····.line·488
189 ····:cond_0189 ····: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·p1192 ····move-result-object·p1
  
Offset 233, 18 lines modifiedOffset 233, 18 lines modified
  
233 ····return-void233 ····return-void
234 .end·method234 .end·method
  
235 .method·public·onNewPrefixRequest(Landroid/net/IpPrefix;)V235 .method·public·onNewPrefixRequest(Landroid/net/IpPrefix;)V
236 ····.locals·1236 ····.locals·1
  
237 ····.line·500237 ····.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·501239 ····.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,·0x70241 ····const/16·v0,·0x70
  
242 ····invoke-virtual·{p0,·v0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V242 ····invoke-virtual·{p0,·v0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V
  
243 ····return-void243 ····return-void