Offset 20, 190 lines modifiedOffset 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·methods21 #·direct·methods
22 .method·private·constructor·<init>(Landroid/net/ip/IpServer;I)V22 .method·private·constructor·<init>(Landroid/net/ip/IpServer;I)V
23 ····.locals·023 ····.locals·0
  
24 ····.line·42124 ····.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>()V26 ····invoke-direct·{p0},·Landroid/net/dhcp/DhcpServerCallbacks;-><init>()V
  
27 ····.line·42227 ····.line·418
28 ····iput·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I28 ····iput·p2,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I
  
29 ····return-void29 ····return-void
30 .end·method30 .end·method
  
31 .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;ILandroid/net/ip/IpServer$1;)V31 .method·synthetic·constructor·<init>(Landroid/net/ip/IpServer;ILandroid/net/ip/IpServer$1;)V
32 ····.locals·032 ····.locals·0
  
33 ····.line·41833 ····.line·414
34 ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;-><init>(Landroid/net/ip/IpServer;I)V34 ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;-><init>(Landroid/net/ip/IpServer;I)V
  
35 ····return-void35 ····return-void
36 .end·method36 .end·method
  
37 .method·static·synthetic·access$700(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V37 .method·static·synthetic·access$700(Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;)V
38 ····.locals·038 ····.locals·0
  
39 ····.line·41839 ····.line·414
40 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V40 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V
  
41 ····return-void41 ····return-void
42 .end·method42 .end·method
  
43 .method·private·handleError()V43 .method·private·handleError()V
44 ····.locals·244 ····.locals·2
  
45 ····.line·46445 ····.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,·0xc47 ····const/16·v1,·0xc
  
48 ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I48 ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I
  
49 ····.line·46549 ····.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·v052 ····move-result-object·v0
  
53 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V53 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V
  
54 ····return-void54 ····return-void
55 .end·method55 .end·method
  
56 .method·private·synthetic·lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V56 .method·private·synthetic·lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V
57 ····.locals·357 ····.locals·2
  
58 ····.line·42958 ····.line·425
59 ····iget·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I59 ····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;)I61 ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$300(Landroid/net/ip/IpServer;)I
  
62 ····move-result·v162 ····move-result·v1
  
63 ····const/4·v2,·0x0 
  
64 ····if-eq·v0,·v1,·:cond_063 ····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-void64 ····return-void
  
72 ····:cond_065 ····:cond_0
73 ····const/4·v0,·0x166 ····const/4·v0,·0x1
  
74 ····if-eq·p2,·v0,·:cond_167 ····if-eq·p1,·v0,·:cond_1
  
75 ····.line·44168 ····.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·p171 ····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>()V73 ····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·p278 ····move-result-object·p1
  
86 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V79 ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V
  
87 ····.line·44280 ····.line·434
88 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V81 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V
  
89 ····return-void82 ····return-void
  
90 ····.line·44683 ····.line·438
91 ····:cond_184 ····: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·44887 ····.line·440
95 ····:try_start_188 ····: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·p191 ····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;)V93 ····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;
  
103 ····invoke-direct·{v0,·p0,·v2},·Landroid/net/ip/IpServer$DhcpEventCallback;-><init>(Landroid/net/ip/IpServer;Landroid/net/ip/IpServer$1;)V96 ····const/4·v1,·0x0
  
 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;)V98 ····invoke-interface·{p1,·p2,·v0},·Landroid/net/dhcp/IDhcpServer;->startWithCallbacks(Landroid/net/INetworkStackStatusCallback;Landroid/net/dhcp/IDhcpEventCallbacks;)V
105 ····:try_end_199 ····:try_end_0
106 ····.catch·Landroid/os/RemoteException;·{:try_start_1·..·:try_end_1}·:catch_1100 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0
  
107 ····return-void101 ····return-void
  
108 ····:catch_1102 ····:catch_0
109 ····move-exception·p0103 ····move-exception·p0
  
110 ····.line·458104 ····.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;)V106 ····invoke-direct·{p1,·p0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V
  
113 ····throw·p1107 ····throw·p1
114 .end·method108 .end·method
  
  
115 #·virtual·methods109 #·virtual·methods
116 .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(Landroid/net/dhcp/IDhcpServer;I)V110 .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(ILandroid/net/dhcp/IDhcpServer;)V
117 ····.locals·0111 ····.locals·0
  
118 ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V112 ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V
  
119 ····return-void113 ····return-void
120 .end·method114 .end·method
  
121 .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V115 .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V
122 ····.locals·2116 ····.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·annotation121 ····.end·annotation
  
128 ····.line·427122 ····.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·v0125 ····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)V127 ····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;)Z128 ····invoke-virtual·{v0,·v1},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
  
135 ····return-void129 ····return-void
136 .end·method130 .end·method