Offset 18, 37 lines modifiedOffset 18, 37 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·constructor·<init>(Landroid/net/ip/IpServer;)V20 .method·constructor·<init>(Landroid/net/ip/IpServer;)V
21 ····.locals·021 ····.locals·0
  
22 ····.line·120722 ····.line·1199
23 ····iput-object·p1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;23 ····iput-object·p1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
24 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$BaseServingState;-><init>(Landroid/net/ip/IpServer;)V24 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$BaseServingState;-><init>(Landroid/net/ip/IpServer;)V
  
25 ····return-void25 ····return-void
26 .end·method26 .end·method
  
27 .method·private·cleanupUpstream()V27 .method·private·cleanupUpstream()V
28 ····.locals·228 ····.locals·2
  
29 ····.line·122629 ····.line·1218
30 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;30 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
31 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;31 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
32 ····move-result-object·v032 ····move-result-object·v0
  
33 ····if-nez·v0,·:cond_033 ····if-nez·v0,·:cond_0
  
34 ····return-void34 ····return-void
  
35 ····.line·122835 ····.line·1220
36 ····:cond_036 ····:cond_0
37 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;37 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
38 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;38 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
39 ····move-result-object·v039 ····move-result-object·v0
  
Offset 71, 34 lines modifiedOffset 71, 34 lines modified
  
71 ····check-cast·v1,·Ljava/lang/String;71 ····check-cast·v1,·Ljava/lang/String;
  
72 ····invoke-direct·{p0,·v1},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstreamInterface(Ljava/lang/String;)V72 ····invoke-direct·{p0,·v1},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstreamInterface(Ljava/lang/String;)V
  
73 ····goto·:goto_073 ····goto·:goto_0
  
74 ····.line·122974 ····.line·1221
75 ····:cond_175 ····:cond_1
76 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;76 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
77 ····const/4·v1,·0x077 ····const/4·v1,·0x0
  
78 ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$3102(Landroid/net/ip/IpServer;Landroid/net/util/InterfaceSet;)Landroid/net/util/InterfaceSet;78 ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$3102(Landroid/net/ip/IpServer;Landroid/net/util/InterfaceSet;)Landroid/net/util/InterfaceSet;
  
79 ····.line·123079 ····.line·1222
80 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;80 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
81 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$3200(Landroid/net/ip/IpServer;)V81 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$3200(Landroid/net/ip/IpServer;)V
  
82 ····return-void82 ····return-void
83 .end·method83 .end·method
  
84 .method·private·cleanupUpstreamInterface(Ljava/lang/String;)V84 .method·private·cleanupUpstreamInterface(Ljava/lang/String;)V
85 ····.locals·485 ····.locals·4
  
86 ····.line·123986 ····.line·1231
87 ····:try_start_087 ····:try_start_0
88 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;88 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
89 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;89 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;
  
90 ····move-result-object·v090 ····move-result-object·v0
  
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0114 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0
  
115 ····goto·:goto_0115 ····goto·:goto_0
  
116 ····:catch_0116 ····:catch_0
117 ····move-exception·v0117 ····move-exception·v0
  
118 ····.line·1241118 ····.line·1233
119 ····iget-object·v1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;119 ····iget-object·v1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
120 ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;120 ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;
  
121 ····move-result-object·v1121 ····move-result-object·v1
  
122 ····new-instance·v2,·Ljava/lang/StringBuilder;122 ····new-instance·v2,·Ljava/lang/StringBuilder;
Offset 141, 15 lines modifiedOffset 141, 15 lines modified
  
141 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;141 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
142 ····move-result-object·v0142 ····move-result-object·v0
  
143 ····invoke-virtual·{v1,·v0},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V143 ····invoke-virtual·{v1,·v0},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V
  
144 ····.line·1244144 ····.line·1236
145 ····:goto_0145 ····:goto_0
146 ····:try_start_1146 ····:try_start_1
147 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;147 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
148 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;148 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;
  
149 ····move-result-object·v0149 ····move-result-object·v0
Offset 166, 15 lines modifiedOffset 166, 15 lines modified
166 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_1·..·:try_end_1}·:catch_1166 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_1·..·:try_end_1}·:catch_1
  
167 ····goto·:goto_1167 ····goto·:goto_1
  
168 ····:catch_1168 ····:catch_1
169 ····move-exception·p1169 ····move-exception·p1
  
170 ····.line·1246170 ····.line·1238
171 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;171 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
172 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;172 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;
  
173 ····move-result-object·p0173 ····move-result-object·p0
  
174 ····new-instance·v0,·Ljava/lang/StringBuilder;174 ····new-instance·v0,·Ljava/lang/StringBuilder;
Offset 200, 42 lines modifiedOffset 200, 42 lines modified
200 ····:goto_1200 ····:goto_1
201 ····return-void201 ····return-void
202 .end·method202 .end·method
  
203 .method·private·noChangeInUpstreamIfaceSet(Landroid/net/util/InterfaceSet;)Z203 .method·private·noChangeInUpstreamIfaceSet(Landroid/net/util/InterfaceSet;)Z
204 ····.locals·1204 ····.locals·1
  
205 ····.line·1303205 ····.line·1295
206 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;206 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
207 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;207 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
208 ····move-result-object·v0208 ····move-result-object·v0
  
209 ····if-nez·v0,·:cond_0209 ····if-nez·v0,·:cond_0
  
210 ····if-nez·p1,·:cond_0210 ····if-nez·p1,·:cond_0
  
211 ····const/4·p0,·0x1211 ····const/4·p0,·0x1
  
212 ····return·p0212 ····return·p0
  
213 ····.line·1304213 ····.line·1296
214 ····:cond_0214 ····:cond_0
215 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;215 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
216 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;216 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
217 ····move-result-object·v0217 ····move-result-object·v0
  
218 ····if-eqz·v0,·:cond_1218 ····if-eqz·v0,·:cond_1
  
219 ····if-eqz·p1,·:cond_1219 ····if-eqz·p1,·:cond_1
  
220 ····.line·1305220 ····.line·1297
221 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;221 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
222 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;222 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
223 ····move-result-object·p0223 ····move-result-object·p0
  
224 ····invoke-virtual·{p0,·p1},·Landroid/net/util/InterfaceSet;->equals(Ljava/lang/Object;)Z224 ····invoke-virtual·{p0,·p1},·Landroid/net/util/InterfaceSet;->equals(Ljava/lang/Object;)Z
Offset 259, 22 lines modifiedOffset 259, 22 lines modified
259 ············")",259 ············")",
260 ············"Ljava/util/Set<",260 ············"Ljava/util/Set<",
261 ············"Ljava/lang/String;",261 ············"Ljava/lang/String;",
262 ············">;"262 ············">;"
263 ········}263 ········}
264 ····.end·annotation264 ····.end·annotation
  
265 ····.line·1319265 ····.line·1311
266 ····new-instance·v0,·Ljava/util/HashSet;266 ····new-instance·v0,·Ljava/util/HashSet;
  
267 ····iget-object·p1,·p1,·Landroid/net/util/InterfaceSet;->ifnames:Ljava/util/Set;267 ····iget-object·p1,·p1,·Landroid/net/util/InterfaceSet;->ifnames:Ljava/util/Set;
  
268 ····invoke-direct·{v0,·p1},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V268 ····invoke-direct·{v0,·p1},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
  
269 ····.line·1320269 ····.line·1312
270 ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;270 ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
271 ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;271 ····invoke-static·{p1},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
272 ····move-result-object·p1272 ····move-result-object·p1
  
273 ····if-eqz·p1,·:cond_0273 ····if-eqz·p1,·:cond_0
Offset 302, 123 lines modifiedOffset 302, 123 lines modified
302 ············")",302 ············")",
303 ············"Ljava/util/Set<",303 ············"Ljava/util/Set<",
304 ············"Ljava/lang/String;",304 ············"Ljava/lang/String;",
305 ············">;"305 ············">;"
306 ········}306 ········}
307 ····.end·annotation307 ····.end·annotation
  
308 ····.line·1311308 ····.line·1303
309 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;309 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
310 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;310 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
311 ····move-result-object·v0311 ····move-result-object·v0
  
312 ····if-nez·v0,·:cond_0312 ····if-nez·v0,·:cond_0
  
313 ····new-instance·p0,·Ljava/util/HashSet;313 ····new-instance·p0,·Ljava/util/HashSet;
  
314 ····invoke-direct·{p0},·Ljava/util/HashSet;-><init>()V314 ····invoke-direct·{p0},·Ljava/util/HashSet;-><init>()V
  
315 ····return-object·p0315 ····return-object·p0
  
316 ····.line·1313316 ····.line·1305
317 ····:cond_0317 ····:cond_0
318 ····new-instance·v0,·Ljava/util/HashSet;318 ····new-instance·v0,·Ljava/util/HashSet;
  
319 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;319 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
320 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;320 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$3100(Landroid/net/ip/IpServer;)Landroid/net/util/InterfaceSet;
  
321 ····move-result-object·p0321 ····move-result-object·p0
  
322 ····iget-object·p0,·p0,·Landroid/net/util/InterfaceSet;->ifnames:Ljava/util/Set;322 ····iget-object·p0,·p0,·Landroid/net/util/InterfaceSet;->ifnames:Ljava/util/Set;
  
323 ····invoke-direct·{v0,·p0},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V323 ····invoke-direct·{v0,·p0},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
  
324 ····.line·1314324 ····.line·1306
325 ····iget-object·p0,·p1,·Landroid/net/util/InterfaceSet;->ifnames:Ljava/util/Set;325 ····iget-object·p0,·p1,·Landroid/net/util/InterfaceSet;->ifnames:Ljava/util/Set;
  
326 ····invoke-virtual·{v0,·p0},·Ljava/util/HashSet;->removeAll(Ljava/util/Collection;)Z326 ····invoke-virtual·{v0,·p0},·Ljava/util/HashSet;->removeAll(Ljava/util/Collection;)Z
  
327 ····return-object·v0327 ····return-object·v0
328 .end·method328 .end·method
  
  
329 #·virtual·methods329 #·virtual·methods
330 .method·public·enter()V330 .method·public·enter()V
331 ····.locals·2331 ····.locals·2
  
332 ····.line·1210332 ····.line·1202
333 ····invoke-super·{p0},·Landroid/net/ip/IpServer$BaseServingState;->enter()V333 ····invoke-super·{p0},·Landroid/net/ip/IpServer$BaseServingState;->enter()V
  
334 ····.line·1211334 ····.line·1203
335 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;335 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
336 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$100(Landroid/net/ip/IpServer;)I336 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$100(Landroid/net/ip/IpServer;)I
  
337 ····move-result·v0337 ····move-result·v0
  
338 ····if-eqz·v0,·:cond_0338 ····if-eqz·v0,·:cond_0
  
339 ····.line·1212339 ····.line·1204
340 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;340 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
341 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State;341 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State;
  
342 ····move-result-object·v1342 ····move-result-object·v1
  
343 ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V343 ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V
  
344 ····.line·1216344 ····.line·1208
345 ····:cond_0345 ····:cond_0
346 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;346 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
347 ····const/4·v0,·0x2347 ····const/4·v0,·0x2
  
348 ····invoke-static·{p0,·v0},·Landroid/net/ip/IpServer;->access$1300(Landroid/net/ip/IpServer;I)V348 ····invoke-static·{p0,·v0},·Landroid/net/ip/IpServer;->access$1300(Landroid/net/ip/IpServer;I)V
  
349 ····return-void349 ····return-void
350 .end·method350 .end·method
  
351 .method·public·exit()V351 .method·public·exit()V
352 ····.locals·0352 ····.locals·0
  
353 ····.line·1221353 ····.line·1213
354 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstream()V354 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstream()V
  
355 ····.line·1222355 ····.line·1214
356 ····invoke-super·{p0},·Landroid/net/ip/IpServer$BaseServingState;->exit()V356 ····invoke-super·{p0},·Landroid/net/ip/IpServer$BaseServingState;->exit()V
  
357 ····return-void357 ····return-void
358 .end·method358 .end·method
  
359 .method·public·processMessage(Landroid/os/Message;)Z359 .method·public·processMessage(Landroid/os/Message;)Z
360 ····.locals·4360 ····.locals·4
  
361 ····.line·1252361 ····.line·1244
362 ····invoke-super·{p0,·p1},·Landroid/net/ip/IpServer$BaseServingState;->processMessage(Landroid/os/Message;)Z362 ····invoke-super·{p0,·p1},·Landroid/net/ip/IpServer$BaseServingState;->processMessage(Landroid/os/Message;)Z
  
363 ····move-result·v0363 ····move-result·v0
  
364 ····const/4·v1,·0x1364 ····const/4·v1,·0x1
  
365 ····if-eqz·v0,·:cond_0365 ····if-eqz·v0,·:cond_0
  
366 ····return·v1366 ····return·v1
  
367 ····.line·1254367 ····.line·1246
368 ····:cond_0368 ····:cond_0
369 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;369 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
370 ····iget·v2,·p1,·Landroid/os/Message;->what:I370 ····iget·v2,·p1,·Landroid/os/Message;->what:I
  
371 ····invoke-static·{v0,·p0,·v2},·Landroid/net/ip/IpServer;->access$1400(Landroid/net/ip/IpServer;Lcom/android/networkstack/tethering/util/State;I)V371 ····invoke-static·{v0,·p0,·v2},·Landroid/net/ip/IpServer;->access$1400(Landroid/net/ip/IpServer;Lcom/android/networkstack/tethering/util/State;I)V
  
372 ····.line·1255372 ····.line·1247
373 ····iget·v0,·p1,·Landroid/os/Message;->what:I373 ····iget·v0,·p1,·Landroid/os/Message;->what:I
  
374 ····const/16·v2,·0x65374 ····const/16·v2,·0x65
  
375 ····if-eq·v0,·v2,·:cond_6375 ····if-eq·v0,·v2,·:cond_6
  
376 ····const/16·v2,·0x6d376 ····const/16·v2,·0x6d
Offset 429, 50 lines modifiedOffset 429, 50 lines modified
  
429 ····if-eq·v0,·v2,·:cond_1429 ····if-eq·v0,·v2,·:cond_1
  
430 ····const/4·p0,·0x0430 ····const/4·p0,·0x0
  
431 ····return·p0431 ····return·p0
  
432 ····.line·1294432 ····.line·1286
433 ····:cond_1433 ····:cond_1
434 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;434 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
435 ····iget-object·p1,·p1,·Landroid/os/Message;->obj:Ljava/lang/Object;435 ····iget-object·p1,·p1,·Landroid/os/Message;->obj:Ljava/lang/Object;
  
436 ····check-cast·p1,·Landroid/net/ip/IpNeighborMonitor$NeighborEvent;436 ····check-cast·p1,·Landroid/net/ip/IpNeighborMonitor$NeighborEvent;
  
437 ····invoke-static·{p0,·p1},·Landroid/net/ip/IpServer;->access$3300(Landroid/net/ip/IpServer;Landroid/net/ip/IpNeighborMonitor$NeighborEvent;)V437 ····invoke-static·{p0,·p1},·Landroid/net/ip/IpServer;->access$3300(Landroid/net/ip/IpServer;Landroid/net/ip/IpNeighborMonitor$NeighborEvent;)V
  
438 ····goto/16·:goto_2438 ····goto/16·:goto_2
  
439 ····.line·1260439 ····.line·1252
440 ····:cond_2440 ····:cond_2
441 ····iget-object·p1,·p1,·Landroid/os/Message;->obj:Ljava/lang/Object;441 ····iget-object·p1,·p1,·Landroid/os/Message;->obj:Ljava/lang/Object;
  
442 ····check-cast·p1,·Landroid/net/util/InterfaceSet;442 ····check-cast·p1,·Landroid/net/util/InterfaceSet;
  
443 ····.line·1261443 ····.line·1253
444 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$TetheredState;->noChangeInUpstreamIfaceSet(Landroid/net/util/InterfaceSet;)Z444 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$TetheredState;->noChangeInUpstreamIfaceSet(Landroid/net/util/InterfaceSet;)Z
  
445 ····move-result·v0445 ····move-result·v0
  
446 ····if-eqz·v0,·:cond_3446 ····if-eqz·v0,·:cond_3
  
447 ····goto/16·:goto_2447 ····goto/16·:goto_2
  
448 ····:cond_3448 ····:cond_3
449 ····if-nez·p1,·:cond_4449 ····if-nez·p1,·:cond_4
  
450 ····.line·1267450 ····.line·1259
451 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstream()V451 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstream()V
  
452 ····goto/16·:goto_2452 ····goto/16·:goto_2
  
453 ····.line·1271453 ····.line·1263
454 ····:cond_4454 ····:cond_4
455 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$TetheredState;->upstreamInterfacesRemoved(Landroid/net/util/InterfaceSet;)Ljava/util/Set;455 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$TetheredState;->upstreamInterfacesRemoved(Landroid/net/util/InterfaceSet;)Ljava/util/Set;
  
456 ····move-result-object·v0456 ····move-result-object·v0
  
457 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;457 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;
  
Offset 487, 31 lines modifiedOffset 487, 31 lines modified
  
487 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;487 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
488 ····move-result-object·v2488 ····move-result-object·v2
  
489 ····check-cast·v2,·Ljava/lang/String;489 ····check-cast·v2,·Ljava/lang/String;
  
490 ····.line·1272490 ····.line·1264
491 ····invoke-direct·{p0,·v2},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstreamInterface(Ljava/lang/String;)V491 ····invoke-direct·{p0,·v2},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstreamInterface(Ljava/lang/String;)V
  
492 ····goto·:goto_0492 ····goto·:goto_0
  
493 ····.line·1275493 ····.line·1267
494 ····:cond_5494 ····:cond_5
495 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$TetheredState;->upstreamInterfacesAdd(Landroid/net/util/InterfaceSet;)Ljava/util/Set;495 ····invoke-direct·{p0,·p1},·Landroid/net/ip/IpServer$TetheredState;->upstreamInterfacesAdd(Landroid/net/util/InterfaceSet;)Ljava/util/Set;
  
496 ····move-result-object·v0496 ····move-result-object·v0
  
497 ····.line·1278497 ····.line·1270
498 ····iget-object·v2,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;498 ····iget-object·v2,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
499 ····invoke-static·{v2,·p1},·Landroid/net/ip/IpServer;->access$3102(Landroid/net/ip/IpServer;Landroid/net/util/InterfaceSet;)Landroid/net/util/InterfaceSet;499 ····invoke-static·{v2,·p1},·Landroid/net/ip/IpServer;->access$3102(Landroid/net/ip/IpServer;Landroid/net/util/InterfaceSet;)Landroid/net/util/InterfaceSet;
  
500 ····.line·1280500 ····.line·1272
501 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;501 ····invoke-interface·{v0},·Ljava/util/Set;->iterator()Ljava/util/Iterator;
  
502 ····move-result-object·p1502 ····move-result-object·p1
  
503 ····:goto_1503 ····:goto_1
504 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z504 ····invoke-interface·{p1},·Ljava/util/Iterator;->hasNext()Z
  
Offset 521, 15 lines modifiedOffset 521, 15 lines modified
  
521 ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object;521 ····invoke-interface·{p1},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
522 ····move-result-object·v0522 ····move-result-object·v0
  
523 ····check-cast·v0,·Ljava/lang/String;523 ····check-cast·v0,·Ljava/lang/String;
  
524 ····.line·1282524 ····.line·1274
525 ····:try_start_0525 ····:try_start_0
526 ····iget-object·v2,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;526 ····iget-object·v2,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
527 ····invoke-static·{v2},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;527 ····invoke-static·{v2},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;
  
528 ····move-result-object·v2528 ····move-result-object·v2
  
Offset 537, 15 lines modifiedOffset 537, 15 lines modified
  
537 ····invoke-static·{v3},·Landroid/net/ip/IpServer;->access$2200(Landroid/net/ip/IpServer;)Ljava/lang/String;537 ····invoke-static·{v3},·Landroid/net/ip/IpServer;->access$2200(Landroid/net/ip/IpServer;)Ljava/lang/String;
  
538 ····move-result-object·v3538 ····move-result-object·v3
  
539 ····invoke-interface·{v2,·v3,·v0},·Landroid/net/INetd;->tetherAddForward(Ljava/lang/String;Ljava/lang/String;)V539 ····invoke-interface·{v2,·v3,·v0},·Landroid/net/INetd;->tetherAddForward(Ljava/lang/String;Ljava/lang/String;)V
  
540 ····.line·1283540 ····.line·1275
541 ····iget-object·v2,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;541 ····iget-object·v2,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
542 ····invoke-static·{v2},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;542 ····invoke-static·{v2},·Landroid/net/ip/IpServer;->access$2100(Landroid/net/ip/IpServer;)Landroid/net/INetd;
  
543 ····move-result-object·v2543 ····move-result-object·v2
  
544 ····iget-object·v3,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;544 ····iget-object·v3,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
Offset 560, 15 lines modifiedOffset 560, 15 lines modified
560 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0560 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0
  
561 ····goto·:goto_1561 ····goto·:goto_1
  
562 ····:catch_0562 ····:catch_0
563 ····move-exception·p1563 ····move-exception·p1
  
564 ····.line·1285564 ····.line·1277
565 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;565 ····iget-object·v0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
566 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;566 ····invoke-static·{v0},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;
  
567 ····move-result-object·v0567 ····move-result-object·v0
  
568 ····new-instance·v2,·Ljava/lang/StringBuilder;568 ····new-instance·v2,·Ljava/lang/StringBuilder;
Offset 587, 36 lines modifiedOffset 587, 36 lines modified
  
587 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;587 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
588 ····move-result-object·p1588 ····move-result-object·p1
  
589 ····invoke-virtual·{v0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V589 ····invoke-virtual·{v0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V
  
590 ····.line·1286590 ····.line·1278
591 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstream()V591 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$TetheredState;->cleanupUpstream()V
  
592 ····.line·1287592 ····.line·1279
593 ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;593 ····iget-object·p1,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
594 ····const/16·v0,·0x8594 ····const/16·v0,·0x8
  
595 ····invoke-static·{p1,·v0},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I595 ····invoke-static·{p1,·v0},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I
  
596 ····.line·1288596 ····.line·1280
597 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;597 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
598 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State;598 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$200(Landroid/net/ip/IpServer;)Lcom/android/networkstack/tethering/util/State;
  
599 ····move-result-object·p1599 ····move-result-object·p1
  
600 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V600 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V
  
601 ····return·v1601 ····return·v1
  
602 ····.line·1257602 ····.line·1249
603 ····:cond_6603 ····:cond_6
604 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;604 ····iget-object·p0,·p0,·Landroid/net/ip/IpServer$TetheredState;->this$0:Landroid/net/ip/IpServer;
  
605 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;605 ····invoke-static·{p0},·Landroid/net/ip/IpServer;->access$400(Landroid/net/ip/IpServer;)Landroid/net/util/SharedLog;
  
606 ····move-result-object·p0606 ····move-result-object·p0