Offset 52, 138 lines modifiedOffset 52, 131 lines modified
  
52 ····return-void52 ····return-void
53 .end·method53 .end·method
  
54 .method·private·handleError()V54 .method·private·handleError()V
55 ····.locals·255 ····.locals·2
  
56 ····.line·46056 ····.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,·0xc58 ····const/16·v1,·0xc
  
59 ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I59 ····invoke-static·{v0,·v1},·Landroid/net/ip/IpServer;->access$102(Landroid/net/ip/IpServer;I)I
  
60 ····.line·46160 ····.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·v063 ····move-result-object·v0
  
64 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V64 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V
  
65 ····return-void65 ····return-void
66 .end·method66 .end·method
  
67 .method·private·synthetic·lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V67 .method·private·synthetic·lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V
68 ····.locals·368 ····.locals·2
  
69 ····.line·42569 ····.line·425
70 ····iget·v0,·p0,·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->mStartIndex:I70 ····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;)I72 ····invoke-static·{v1},·Landroid/net/ip/IpServer;->access$300(Landroid/net/ip/IpServer;)I
  
73 ····move-result·v173 ····move-result·v1
  
74 ····const/4·v2,·0x0 
  
75 ····if-eq·v0,·v1,·:cond_074 ····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-void75 ····return-void
  
83 ····:cond_076 ····:cond_0
84 ····const/4·v0,·0x177 ····const/4·v0,·0x1
  
85 ····if-eq·p2,·v0,·:cond_178 ····if-eq·p1,·v0,·:cond_1
  
86 ····.line·43779 ····.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·p182 ····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>()V84 ····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·p289 ····move-result-object·p1
  
97 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V90 ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V
  
98 ····.line·43891 ····.line·434
99 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V92 ····invoke-direct·{p0},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->handleError()V
  
100 ····return-void93 ····return-void
  
101 ····.line·44294 ····.line·438
102 ····:cond_195 ····: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·44498 ····.line·440
106 ····:try_start_199 ····: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·p1102 ····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;)V104 ····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;)V107 ····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;)V109 ····invoke-interface·{p1,·p2,·v0},·Landroid/net/dhcp/IDhcpServer;->startWithCallbacks(Landroid/net/INetworkStackStatusCallback;Landroid/net/dhcp/IDhcpEventCallbacks;)V
116 ····:try_end_1110 ····:try_end_0
117 ····.catch·Landroid/os/RemoteException;·{:try_start_1·..·:try_end_1}·:catch_1111 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0
  
118 ····return-void112 ····return-void
  
119 ····:catch_1113 ····:catch_0
120 ····move-exception·p0114 ····move-exception·p0
  
121 ····.line·454115 ····.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;)V117 ····invoke-direct·{p1,·p0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/Throwable;)V
  
124 ····throw·p1118 ····throw·p1
125 .end·method119 .end·method
  
  
126 #·virtual·methods120 #·virtual·methods
127 .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(Landroid/net/dhcp/IDhcpServer;I)V121 .method·public·synthetic·lambda$onDhcpServerCreated$0$IpServer$DhcpServerCallbacksImpl(ILandroid/net/dhcp/IDhcpServer;)V
128 ····.locals·0122 ····.locals·0
  
129 ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(Landroid/net/dhcp/IDhcpServer;I)V123 ····invoke-direct·{p0,·p1,·p2},·Landroid/net/ip/IpServer$DhcpServerCallbacksImpl;->lambda$onDhcpServerCreated$0(ILandroid/net/dhcp/IDhcpServer;)V
  
130 ····return-void124 ····return-void
131 .end·method125 .end·method
  
132 .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V126 .method·public·onDhcpServerCreated(ILandroid/net/dhcp/IDhcpServer;)V
133 ····.locals·2127 ····.locals·2
134 ····.annotation·system·Ldalvik/annotation/Throws;128 ····.annotation·system·Ldalvik/annotation/Throws;
Offset 195, 15 lines modifiedOffset 188, 15 lines modified
195 ····.line·423188 ····.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·v0191 ····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)V193 ····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;)Z194 ····invoke-virtual·{v0,·v1},·Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
  
202 ····return-void195 ····return-void
203 .end·method196 .end·method