Offset 18, 57 lines modifiedOffset 18, 57 lines modified
18 .field·final·synthetic·this$0:Lcom/android/networkstack/tethering/Tethering;18 .field·final·synthetic·this$0:Lcom/android/networkstack/tethering/Tethering;
  
  
19 #·direct·methods19 #·direct·methods
20 .method·private·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;)V20 .method·private·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;)V
21 ····.locals·021 ····.locals·0
  
22 ····.line·91422 ····.line·911
23 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;23 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
24 ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V24 ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V
  
25 ····return-void25 ····return-void
26 .end·method26 .end·method
  
27 .method·synthetic·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/Tethering$1;)V27 .method·synthetic·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/Tethering$1;)V
28 ····.locals·028 ····.locals·0
  
29 ····.line·91429 ····.line·911
30 ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;-><init>(Lcom/android/networkstack/tethering/Tethering;)V30 ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;-><init>(Lcom/android/networkstack/tethering/Tethering;)V
  
31 ····return-void31 ····return-void
32 .end·method32 .end·method
  
33 .method·private·handleConnectivityAction(Landroid/content/Intent;)V33 .method·private·handleConnectivityAction(Landroid/content/Intent;)V
34 ····.locals·134 ····.locals·1
  
35 ····const-string·v0,·"networkInfo"35 ····const-string·v0,·"networkInfo"
  
36 ····.line·94436 ····.line·941
37 ····invoke-virtual·{p1,·v0},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;37 ····invoke-virtual·{p1,·v0},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
  
38 ····move-result-object·p138 ····move-result-object·p1
  
39 ····check-cast·p1,·Landroid/net/NetworkInfo;39 ····check-cast·p1,·Landroid/net/NetworkInfo;
  
40 ····if-eqz·p1,·:cond_140 ····if-eqz·p1,·:cond_1
  
41 ····.line·94641 ····.line·943
42 ····invoke-virtual·{p1},·Landroid/net/NetworkInfo;->getDetailedState()Landroid/net/NetworkInfo$DetailedState;42 ····invoke-virtual·{p1},·Landroid/net/NetworkInfo;->getDetailedState()Landroid/net/NetworkInfo$DetailedState;
  
43 ····move-result-object·p143 ····move-result-object·p1
  
44 ····sget-object·v0,·Landroid/net/NetworkInfo$DetailedState;->FAILED:Landroid/net/NetworkInfo$DetailedState;44 ····sget-object·v0,·Landroid/net/NetworkInfo$DetailedState;->FAILED:Landroid/net/NetworkInfo$DetailedState;
  
45 ····if-ne·p1,·v0,·:cond_045 ····if-ne·p1,·v0,·:cond_0
  
46 ····goto·:goto_046 ····goto·:goto_0
  
47 ····.line·95147 ····.line·948
48 ····:cond_048 ····:cond_0
49 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;49 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
50 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$2100(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/util/StateMachine;50 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$2100(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/util/StateMachine;
  
51 ····move-result-object·p051 ····move-result-object·p0
  
Offset 80, 71 lines modifiedOffset 80, 71 lines modified
80 ····:goto_080 ····:goto_0
81 ····return-void81 ····return-void
82 .end·method82 .end·method
  
83 .method·private·handleDataSaverChanged()V83 .method·private·handleDataSaverChanged()V
84 ····.locals·284 ····.locals·2
  
85 ····.line·106885 ····.line·1065
86 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;86 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
87 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$500(Lcom/android/networkstack/tethering/Tethering;)Landroid/content/Context;87 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$500(Lcom/android/networkstack/tethering/Tethering;)Landroid/content/Context;
  
88 ····move-result-object·v088 ····move-result-object·v0
  
89 ····const-string·v1,·"connectivity"89 ····const-string·v1,·"connectivity"
  
90 ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;90 ····invoke-virtual·{v0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
  
91 ····move-result-object·v091 ····move-result-object·v0
  
92 ····check-cast·v0,·Landroid/net/ConnectivityManager;92 ····check-cast·v0,·Landroid/net/ConnectivityManager;
  
93 ····.line·107093 ····.line·1067
94 ····invoke-virtual·{v0},·Landroid/net/ConnectivityManager;->getRestrictBackgroundStatus()I94 ····invoke-virtual·{v0},·Landroid/net/ConnectivityManager;->getRestrictBackgroundStatus()I
  
95 ····move-result·v095 ····move-result·v0
  
96 ····const/4·v1,·0x196 ····const/4·v1,·0x1
  
97 ····if-eq·v0,·v1,·:cond_097 ····if-eq·v0,·v1,·:cond_0
  
98 ····goto·:goto_098 ····goto·:goto_0
  
99 ····:cond_099 ····:cond_0
100 ····const/4·v1,·0x0100 ····const/4·v1,·0x0
  
101 ····.line·1073101 ····.line·1070
102 ····:goto_0102 ····:goto_0
103 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;103 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
104 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2900(Lcom/android/networkstack/tethering/Tethering;)Z104 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2900(Lcom/android/networkstack/tethering/Tethering;)Z
  
105 ····move-result·v0105 ····move-result·v0
  
106 ····if-ne·v0,·v1,·:cond_1106 ····if-ne·v0,·v1,·:cond_1
  
107 ····return-void107 ····return-void
  
108 ····.line·1075108 ····.line·1072
109 ····:cond_1109 ····:cond_1
110 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;110 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
111 ····invoke-static·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$2902(Lcom/android/networkstack/tethering/Tethering;Z)Z111 ····invoke-static·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$2902(Lcom/android/networkstack/tethering/Tethering;Z)Z
  
112 ····.line·1076112 ····.line·1073
113 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;113 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
114 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2900(Lcom/android/networkstack/tethering/Tethering;)Z114 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2900(Lcom/android/networkstack/tethering/Tethering;)Z
  
115 ····move-result·v0115 ····move-result·v0
  
116 ····if-eqz·v0,·:cond_2116 ····if-eqz·v0,·:cond_2
  
117 ····.line·1077117 ····.line·1074
118 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;118 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
119 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->untetherAll()V119 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->untetherAll()V
  
120 ····:cond_2120 ····:cond_2
121 ····return-void121 ····return-void
122 .end·method122 .end·method
Offset 152, 52 lines modifiedOffset 152, 52 lines modified
152 .method·private·handleUsbAction(Landroid/content/Intent;)V152 .method·private·handleUsbAction(Landroid/content/Intent;)V
153 ····.locals·10153 ····.locals·10
  
154 ····const-string·v0,·"connected"154 ····const-string·v0,·"connected"
  
155 ····const/4·v1,·0x0155 ····const/4·v1,·0x0
  
156 ····.line·955156 ····.line·952
157 ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z157 ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
  
158 ····move-result·v0158 ····move-result·v0
  
159 ····const-string·v2,·"configured"159 ····const-string·v2,·"configured"
  
160 ····.line·956160 ····.line·953
161 ····invoke-virtual·{p1,·v2,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z161 ····invoke-virtual·{p1,·v2,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
  
162 ····move-result·v2162 ····move-result·v2
  
163 ····const-string·v3,·"rndis"163 ····const-string·v3,·"rndis"
  
164 ····.line·957164 ····.line·954
165 ····invoke-virtual·{p1,·v3,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z165 ····invoke-virtual·{p1,·v3,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
  
166 ····move-result·v3166 ····move-result·v3
  
167 ····const-string·v4,·"ncm"167 ····const-string·v4,·"ncm"
  
168 ····.line·958168 ····.line·955
169 ····invoke-virtual·{p1,·v4,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z169 ····invoke-virtual·{p1,·v4,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
  
170 ····move-result·p1170 ····move-result·p1
  
171 ····.line·960171 ····.line·957
172 ····iget-object·v4,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;172 ····iget-object·v4,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
173 ····invoke-static·{v4},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;173 ····invoke-static·{v4},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
174 ····move-result-object·v4174 ····move-result-object·v4
  
175 ····const/4·v5,·0x3175 ····const/4·v5,·0x3
  
176 ····new-array·v6,·v5,·[Ljava/lang/Object;176 ····new-array·v6,·v5,·[Ljava/lang/Object;
  
177 ····.line·961177 ····.line·958
178 ····invoke-static·{v0},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;178 ····invoke-static·{v0},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
  
179 ····move-result-object·v7179 ····move-result-object·v7
  
180 ····aput-object·v7,·v6,·v1180 ····aput-object·v7,·v6,·v1
  
181 ····invoke-static·{v2},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;181 ····invoke-static·{v2},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
Offset 214, 48 lines modifiedOffset 214, 48 lines modified
  
214 ····const/4·v9,·0x2214 ····const/4·v9,·0x2
  
215 ····aput-object·v7,·v6,·v9215 ····aput-object·v7,·v6,·v9
  
216 ····const-string·v7,·"USB·bcast·connected:%s·configured:%s·rndis:%s"216 ····const-string·v7,·"USB·bcast·connected:%s·configured:%s·rndis:%s"
  
217 ····.line·960217 ····.line·957
218 ····invoke-static·{v7,·v6},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;218 ····invoke-static·{v7,·v6},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
  
219 ····move-result-object·v6219 ····move-result-object·v6
  
220 ····invoke-virtual·{v4,·v6},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V220 ····invoke-virtual·{v4,·v6},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V
  
221 ····.line·978221 ····.line·975
222 ····iget-object·v4,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;222 ····iget-object·v4,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
223 ····invoke-static·{v4},·Lcom/android/networkstack/tethering/Tethering;->access$1500(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/Object;223 ····invoke-static·{v4},·Lcom/android/networkstack/tethering/Tethering;->access$1500(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/Object;
  
224 ····move-result-object·v4224 ····move-result-object·v4
  
225 ····monitor-enter·v4225 ····monitor-enter·v4
  
226 ····if-nez·v0,·:cond_0226 ····if-nez·v0,·:cond_0
  
227 ····.line·979227 ····.line·976
228 ····:try_start_0228 ····:try_start_0
229 ····iget-object·v6,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;229 ····iget-object·v6,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
230 ····invoke-static·{v6},·Lcom/android/networkstack/tethering/Tethering;->access$2200(Lcom/android/networkstack/tethering/Tethering;)Z230 ····invoke-static·{v6},·Lcom/android/networkstack/tethering/Tethering;->access$2200(Lcom/android/networkstack/tethering/Tethering;)Z
  
231 ····move-result·v6231 ····move-result·v6
  
232 ····if-eqz·v6,·:cond_0232 ····if-eqz·v6,·:cond_0
  
233 ····.line·981233 ····.line·978
234 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;234 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
235 ····invoke-static·{p1,·v8,·v8},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V235 ····invoke-static·{p1,·v8,·v8},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V
  
236 ····.line·982236 ····.line·979
237 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;237 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
238 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$1100(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/EntitlementManager;238 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$1100(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/EntitlementManager;
  
239 ····move-result-object·p1239 ····move-result-object·p1
  
240 ····invoke-virtual·{p1,·v8},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V240 ····invoke-virtual·{p1,·v8},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V
Offset 268, 48 lines modifiedOffset 268, 48 lines modified
268 ····goto·:goto_1268 ····goto·:goto_1
  
269 ····:cond_0269 ····:cond_0
270 ····if-eqz·v2,·:cond_1270 ····if-eqz·v2,·:cond_1
  
271 ····if-eqz·v3,·:cond_1271 ····if-eqz·v3,·:cond_1
  
272 ····.line·985272 ····.line·982
273 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;273 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
274 ····invoke-static·{p1,·v9,·v8},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V274 ····invoke-static·{p1,·v9,·v8},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V
  
275 ····goto·:goto_0275 ····goto·:goto_0
  
276 ····:cond_1276 ····:cond_1
277 ····if-eqz·v0,·:cond_2277 ····if-eqz·v0,·:cond_2
  
278 ····if-eqz·p1,·:cond_2278 ····if-eqz·p1,·:cond_2
  
279 ····.line·987279 ····.line·984
280 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;280 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
281 ····const/4·v0,·0x4281 ····const/4·v0,·0x4
  
282 ····invoke-static·{p1,·v5,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V282 ····invoke-static·{p1,·v5,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V
  
283 ····.line·989283 ····.line·986
284 ····:cond_2284 ····:cond_2
285 ····:goto_0285 ····:goto_0
286 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;286 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
287 ····if-eqz·v2,·:cond_3287 ····if-eqz·v2,·:cond_3
  
288 ····if-eqz·v3,·:cond_3288 ····if-eqz·v3,·:cond_3
  
289 ····move·v1,·v8289 ····move·v1,·v8
  
290 ····:cond_3290 ····:cond_3
291 ····invoke-static·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$2202(Lcom/android/networkstack/tethering/Tethering;Z)Z291 ····invoke-static·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$2202(Lcom/android/networkstack/tethering/Tethering;Z)Z
  
292 ····.line·990292 ····.line·987
293 ····monitor-exit·v4293 ····monitor-exit·v4
  
294 ····return-void294 ····return-void
  
295 ····:goto_1295 ····:goto_1
296 ····monitor-exit·v4296 ····monitor-exit·v4
297 ····:try_end_0297 ····:try_end_0
Offset 317, 15 lines modifiedOffset 317, 15 lines modified
  
317 ····throw·p0317 ····throw·p0
318 .end·method318 .end·method
  
319 .method·private·handleUserRestrictionAction()V319 .method·private·handleUserRestrictionAction()V
320 ····.locals·0320 ····.locals·0
  
321 ····.line·1064321 ····.line·1061
322 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;322 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
323 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$2800(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;323 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$2800(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;
  
324 ····move-result-object·p0324 ····move-result-object·p0
  
325 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;->onUserRestrictionsChanged()V325 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;->onUserRestrictionsChanged()V
Offset 336, 36 lines modifiedOffset 336, 36 lines modified
336 .method·private·handleWifiApAction(Landroid/content/Intent;)V336 .method·private·handleWifiApAction(Landroid/content/Intent;)V
337 ····.locals·4337 ····.locals·4
  
338 ····const-string·v0,·"wifi_state"338 ····const-string·v0,·"wifi_state"
  
339 ····const/16·v1,·0xb339 ····const/16·v1,·0xb
  
340 ····.line·994340 ····.line·991
341 ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I341 ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
  
342 ····move-result·v0342 ····move-result·v0
  
343 ····const-string·v1,·"android.net.wifi.extra.WIFI_AP_INTERFACE_NAME"343 ····const-string·v1,·"android.net.wifi.extra.WIFI_AP_INTERFACE_NAME"
  
344 ····.line·995344 ····.line·992
345 ····invoke-virtual·{p1,·v1},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;345 ····invoke-virtual·{p1,·v1},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
  
346 ····move-result-object·v1346 ····move-result-object·v1
  
347 ····const-string·v2,·"android.net.wifi.extra.WIFI_AP_MODE"347 ····const-string·v2,·"android.net.wifi.extra.WIFI_AP_MODE"
  
348 ····const/4·v3,·-0x1348 ····const/4·v3,·-0x1
  
349 ····.line·996349 ····.line·993
350 ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I350 ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
  
351 ····move-result·p1351 ····move-result·p1
  
352 ····.line·998352 ····.line·995
353 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;353 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
354 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$1500(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/Object;354 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$1500(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/Object;
  
355 ····move-result-object·v2355 ····move-result-object·v2
  
356 ····monitor-enter·v2356 ····monitor-enter·v2
Offset 378, 34 lines modifiedOffset 378, 34 lines modified
  
378 ····if-eq·v0,·v3,·:cond_1378 ····if-eq·v0,·v3,·:cond_1
  
379 ····const/16·v3,·0xd379 ····const/16·v3,·0xd
  
380 ····if-eq·v0,·v3,·:cond_0380 ····if-eq·v0,·v3,·:cond_0
  
381 ····.line·1012381 ····.line·1009
382 ····:try_start_0382 ····:try_start_0
383 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;383 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
384 ····invoke-static·{p0,·v1,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2500(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V384 ····invoke-static·{p0,·v1,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2500(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V
  
385 ····goto·:goto_0385 ····goto·:goto_0
  
386 ····:catchall_0386 ····:catchall_0
387 ····move-exception·p0387 ····move-exception·p0
  
388 ····goto·:goto_1388 ····goto·:goto_1
  
389 ····.line·1004389 ····.line·1001
390 ····:cond_0390 ····:cond_0
391 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;391 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
392 ····invoke-static·{p0,·v1,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$2400(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V392 ····invoke-static·{p0,·v1,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$2400(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V
  
393 ····.line·1015393 ····.line·1012
394 ····:cond_1394 ····:cond_1
395 ····:goto_0395 ····:goto_0
396 ····monitor-exit·v2396 ····monitor-exit·v2
  
397 ····return-void397 ····return-void
  
398 ····:goto_1398 ····:goto_1
Offset 415, 15 lines modifiedOffset 415, 15 lines modified
  
415 ····throw·p0415 ····throw·p0
416 .end·method416 .end·method
  
417 .method·private·handleWifiP2pAction(Landroid/content/Intent;)V417 .method·private·handleWifiP2pAction(Landroid/content/Intent;)V
418 ····.locals·4418 ····.locals·4
  
419 ····.line·1024419 ····.line·1021
420 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;420 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
421 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration;421 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration;
  
422 ····move-result-object·v0422 ····move-result-object·v0
  
423 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifiP2pLegacyTetheringMode()Z423 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifiP2pLegacyTetheringMode()Z
Offset 433, 62 lines modifiedOffset 433, 62 lines modified
433 ····if-eqz·v0,·:cond_0433 ····if-eqz·v0,·:cond_0
  
434 ····return-void434 ····return-void
  
435 ····:cond_0435 ····:cond_0
436 ····const-string·v0,·"wifiP2pInfo"436 ····const-string·v0,·"wifiP2pInfo"
  
437 ····.line·1027437 ····.line·1024
438 ····invoke-virtual·{p1,·v0},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;438 ····invoke-virtual·{p1,·v0},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
  
439 ····move-result-object·v0439 ····move-result-object·v0
  
440 ····check-cast·v0,·Landroid/net/wifi/p2p/WifiP2pInfo;440 ····check-cast·v0,·Landroid/net/wifi/p2p/WifiP2pInfo;
  
441 ····const-string·v1,·"p2pGroupInfo"441 ····const-string·v1,·"p2pGroupInfo"
  
442 ····.line·1029442 ····.line·1026
443 ····invoke-virtual·{p1,·v1},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;443 ····invoke-virtual·{p1,·v1},·Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
  
444 ····move-result-object·p1444 ····move-result-object·p1
  
445 ····check-cast·p1,·Landroid/net/wifi/p2p/WifiP2pGroup;445 ····check-cast·p1,·Landroid/net/wifi/p2p/WifiP2pGroup;
  
446 ····.line·1035446 ····.line·1032
447 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;447 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
448 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$1500(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/Object;448 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$1500(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/Object;
  
449 ····move-result-object·v1449 ····move-result-object·v1
  
450 ····monitor-enter·v1450 ····monitor-enter·v1
  
451 ····if-eqz·v0,·:cond_5451 ····if-eqz·v0,·:cond_5
  
452 ····.line·1037452 ····.line·1034
453 ····:try_start_0453 ····:try_start_0
454 ····iget-boolean·v0,·v0,·Landroid/net/wifi/p2p/WifiP2pInfo;->groupFormed:Z454 ····iget-boolean·v0,·v0,·Landroid/net/wifi/p2p/WifiP2pInfo;->groupFormed:Z
  
455 ····if-nez·v0,·:cond_1455 ····if-nez·v0,·:cond_1
  
456 ····goto·:goto_0456 ····goto·:goto_0
  
457 ····.line·1044457 ····.line·1041
458 ····:cond_1458 ····:cond_1
459 ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z459 ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z
  
460 ····move-result·v0460 ····move-result·v0
  
461 ····if-nez·v0,·:cond_2461 ····if-nez·v0,·:cond_2
  
462 ····monitor-exit·v1462 ····monitor-exit·v1
  
463 ····return-void463 ····return-void
  
464 ····.line·1047464 ····.line·1044
465 ····:cond_2465 ····:cond_2
466 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;466 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;
  
467 ····move-result-object·v0467 ····move-result-object·v0
  
468 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;468 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
Offset 502, 29 lines modifiedOffset 502, 29 lines modified
  
502 ····if-eqz·v0,·:cond_3502 ····if-eqz·v0,·:cond_3
  
503 ····monitor-exit·v1503 ····monitor-exit·v1
  
504 ····return-void504 ····return-void
  
505 ····.line·1050505 ····.line·1047
506 ····:cond_3506 ····:cond_3
507 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;507 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
508 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;508 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;
  
509 ····move-result-object·v0509 ····move-result-object·v0
  
510 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z510 ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
511 ····move-result·v0511 ····move-result·v0
  
512 ····if-nez·v0,·:cond_4512 ····if-nez·v0,·:cond_4
  
513 ····.line·1051513 ····.line·1048
514 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;514 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
515 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;515 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
516 ····move-result-object·v0516 ····move-result-object·v0
  
517 ····new-instance·v2,·Ljava/lang/StringBuilder;517 ····new-instance·v2,·Ljava/lang/StringBuilder;
Offset 543, 120 lines modifiedOffset 543, 120 lines modified
  
543 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;543 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
544 ····const-string·v3,·"is·different·from·current·interface·"544 ····const-string·v3,·"is·different·from·current·interface·"
  
545 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;545 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
546 ····.line·1053546 ····.line·1050
547 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;547 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;
  
548 ····move-result-object·v3548 ····move-result-object·v3
  
549 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;549 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
550 ····const-string·v3,·",·re-tether·it"550 ····const-string·v3,·",·re-tether·it"
  
551 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;551 ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
  
552 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;552 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
553 ····move-result-object·v2553 ····move-result-object·v2
  
554 ····.line·1051554 ····.line·1048
555 ····invoke-virtual·{v0,·v2},·Landroid/net/util/SharedLog;->w(Ljava/lang/String;)V555 ····invoke-virtual·{v0,·v2},·Landroid/net/util/SharedLog;->w(Ljava/lang/String;)V
  
556 ····.line·1054556 ····.line·1051
557 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;557 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
558 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;558 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
559 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;559 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;
  
560 ····move-result-object·v2560 ····move-result-object·v2
  
561 ····invoke-static·{v0,·v2},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V561 ····invoke-static·{v0,·v2},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V
  
562 ····.line·1058562 ····.line·1055
563 ····:cond_4563 ····:cond_4
564 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;564 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
565 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;565 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;
  
566 ····move-result-object·p1566 ····move-result-object·p1
  
567 ····invoke-static·{v0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$2602(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)Ljava/lang/String;567 ····invoke-static·{v0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$2602(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)Ljava/lang/String;
  
568 ····.line·1059568 ····.line·1056
569 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;569 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
570 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;570 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
571 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;571 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;
  
572 ····move-result-object·p0572 ····move-result-object·p0
  
573 ····const/4·v0,·0x2573 ····const/4·v0,·0x2
  
574 ····invoke-static·{p1,·p0,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2400(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V574 ····invoke-static·{p1,·p0,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2400(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V
  
575 ····.line·1060575 ····.line·1057
576 ····monitor-exit·v1576 ····monitor-exit·v1
  
577 ····return-void577 ····return-void
  
578 ····.line·1038578 ····.line·1035
579 ····:cond_5579 ····:cond_5
580 ····:goto_0580 ····:goto_0
581 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;581 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
582 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;582 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
583 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;583 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2600(Lcom/android/networkstack/tethering/Tethering;)Ljava/lang/String;
  
584 ····move-result-object·v0584 ····move-result-object·v0
  
585 ····invoke-static·{p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V585 ····invoke-static·{p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V
  
586 ····.line·1039586 ····.line·1036
587 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;587 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
588 ····const/4·p1,·0x0588 ····const/4·p1,·0x0
  
589 ····invoke-static·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$2602(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)Ljava/lang/String;589 ····invoke-static·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$2602(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)Ljava/lang/String;
  
590 ····.line·1040590 ····.line·1037
591 ····monitor-exit·v1591 ····monitor-exit·v1
  
592 ····return-void592 ····return-void
  
593 ····:catchall_0593 ····:catchall_0
594 ····move-exception·p0594 ····move-exception·p0
  
595 ····.line·1060595 ····.line·1057
596 ····monitor-exit·v1596 ····monitor-exit·v1
597 ····:try_end_0597 ····:try_end_0
598 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0598 ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0
  
599 ····throw·p0599 ····throw·p0
600 .end·method600 .end·method
  
601 .method·private·isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z601 .method·private·isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z
602 ····.locals·0602 ····.locals·0
  
603 ····if-eqz·p1,·:cond_0603 ····if-eqz·p1,·:cond_0
  
604 ····.line·1019604 ····.line·1016
605 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->isGroupOwner()Z605 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->isGroupOwner()Z
  
606 ····move-result·p0606 ····move-result·p0
  
607 ····if-eqz·p0,·:cond_0607 ····if-eqz·p0,·:cond_0
  
608 ····.line·1020608 ····.line·1017
609 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;609 ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->getInterface()Ljava/lang/String;
  
610 ····move-result-object·p0610 ····move-result-object·p0
  
611 ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z611 ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
  
612 ····move-result·p0612 ····move-result·p0
Offset 675, 174 lines modifiedOffset 675, 174 lines modified
675 .end·method675 .end·method
  
  
676 #·virtual·methods676 #·virtual·methods
677 .method·public·onReceive(Landroid/content/Context;Landroid/content/Intent;)V677 .method·public·onReceive(Landroid/content/Context;Landroid/content/Intent;)V
678 ····.locals·1678 ····.locals·1
  
679 ····.line·917679 ····.line·914
680 ····invoke-virtual·{p2},·Landroid/content/Intent;->getAction()Ljava/lang/String;680 ····invoke-virtual·{p2},·Landroid/content/Intent;->getAction()Ljava/lang/String;
  
681 ····move-result-object·p1681 ····move-result-object·p1
  
682 ····if-nez·p1,·:cond_0682 ····if-nez·p1,·:cond_0
  
683 ····return-void683 ····return-void
  
684 ····:cond_0684 ····:cond_0
685 ····const-string·v0,·"android.hardware.usb.action.USB_STATE"685 ····const-string·v0,·"android.hardware.usb.action.USB_STATE"
  
686 ····.line·920686 ····.line·917
687 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z687 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
688 ····move-result·v0688 ····move-result·v0
  
689 ····if-eqz·v0,·:cond_1689 ····if-eqz·v0,·:cond_1
  
690 ····.line·921690 ····.line·918
691 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUsbAction(Landroid/content/Intent;)V691 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUsbAction(Landroid/content/Intent;)V
  
692 ····goto/16·:goto_0692 ····goto/16·:goto_0
  
693 ····:cond_1693 ····:cond_1
694 ····const-string·v0,·"android.net.conn.CONNECTIVITY_CHANGE"694 ····const-string·v0,·"android.net.conn.CONNECTIVITY_CHANGE"
  
695 ····.line·922695 ····.line·919
696 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z696 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
697 ····move-result·v0697 ····move-result·v0
  
698 ····if-eqz·v0,·:cond_2698 ····if-eqz·v0,·:cond_2
  
699 ····.line·923699 ····.line·920
700 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleConnectivityAction(Landroid/content/Intent;)V700 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleConnectivityAction(Landroid/content/Intent;)V
  
701 ····goto·:goto_0701 ····goto·:goto_0
  
702 ····:cond_2702 ····:cond_2
703 ····const-string·v0,·"android.net.wifi.WIFI_AP_STATE_CHANGED"703 ····const-string·v0,·"android.net.wifi.WIFI_AP_STATE_CHANGED"
  
704 ····.line·924704 ····.line·921
705 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z705 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
706 ····move-result·v0706 ····move-result·v0
  
707 ····if-eqz·v0,·:cond_3707 ····if-eqz·v0,·:cond_3
  
708 ····.line·925708 ····.line·922
709 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiApAction(Landroid/content/Intent;)V709 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiApAction(Landroid/content/Intent;)V
  
710 ····goto·:goto_0710 ····goto·:goto_0
  
711 ····:cond_3711 ····:cond_3
712 ····const-string·v0,·"android.net.wifi.p2p.CONNECTION_STATE_CHANGE"712 ····const-string·v0,·"android.net.wifi.p2p.CONNECTION_STATE_CHANGE"
  
713 ····.line·926713 ····.line·923
714 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z714 ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
715 ····move-result·v0715 ····move-result·v0
  
716 ····if-eqz·v0,·:cond_4716 ····if-eqz·v0,·:cond_4
  
717 ····.line·927717 ····.line·924
718 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiP2pAction(Landroid/content/Intent;)V718 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiP2pAction(Landroid/content/Intent;)V
  
719 ····goto·:goto_0719 ····goto·:goto_0
  
720 ····:cond_4720 ····:cond_4
721 ····const-string·p2,·"android.intent.action.CONFIGURATION_CHANGED"721 ····const-string·p2,·"android.intent.action.CONFIGURATION_CHANGED"
  
722 ····.line·928722 ····.line·925
723 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z723 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
724 ····move-result·p2724 ····move-result·p2
  
725 ····if-eqz·p2,·:cond_5725 ····if-eqz·p2,·:cond_5
  
726 ····.line·929726 ····.line·926
727 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;727 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
728 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;728 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
729 ····move-result-object·p1729 ····move-result-object·p1
  
730 ····const-string·p2,·"OBSERVED·configuration·changed"730 ····const-string·p2,·"OBSERVED·configuration·changed"
  
731 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V731 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V
  
732 ····.line·930732 ····.line·927
733 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;733 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
734 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$900(Lcom/android/networkstack/tethering/Tethering;)V734 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$900(Lcom/android/networkstack/tethering/Tethering;)V
  
735 ····goto·:goto_0735 ····goto·:goto_0
  
736 ····:cond_5736 ····:cond_5
737 ····const-string·p2,·"android.os.action.USER_RESTRICTIONS_CHANGED"737 ····const-string·p2,·"android.os.action.USER_RESTRICTIONS_CHANGED"
  
738 ····.line·931738 ····.line·928
739 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z739 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
740 ····move-result·p2740 ····move-result·p2
  
741 ····if-eqz·p2,·:cond_6741 ····if-eqz·p2,·:cond_6
  
742 ····.line·932742 ····.line·929
743 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;743 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
744 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;744 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
745 ····move-result-object·p1745 ····move-result-object·p1
  
746 ····const-string·p2,·"OBSERVED·user·restrictions·changed"746 ····const-string·p2,·"OBSERVED·user·restrictions·changed"
  
747 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V747 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V
  
748 ····.line·933748 ····.line·930
749 ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUserRestrictionAction()V749 ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUserRestrictionAction()V
  
750 ····goto·:goto_0750 ····goto·:goto_0
  
751 ····:cond_6751 ····:cond_6
752 ····const-string·p2,·"android.net.conn.RESTRICT_BACKGROUND_CHANGED"752 ····const-string·p2,·"android.net.conn.RESTRICT_BACKGROUND_CHANGED"
  
753 ····.line·934753 ····.line·931
754 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z754 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
755 ····move-result·p2755 ····move-result·p2
  
756 ····if-eqz·p2,·:cond_7756 ····if-eqz·p2,·:cond_7
  
757 ····.line·935757 ····.line·932
758 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;758 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
759 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;759 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
760 ····move-result-object·p1760 ····move-result-object·p1
  
761 ····const-string·p2,·"OBSERVED·data·saver·changed"761 ····const-string·p2,·"OBSERVED·data·saver·changed"
  
762 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V762 ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V
  
763 ····.line·936763 ····.line·933
764 ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleDataSaverChanged()V764 ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleDataSaverChanged()V
  
765 ····goto·:goto_0765 ····goto·:goto_0
  
766 ····:cond_7766 ····:cond_7
767 ····const-string·p2,·"com.android.server.connectivity.tethering.DISABLE_TETHERING"767 ····const-string·p2,·"com.android.server.connectivity.tethering.DISABLE_TETHERING"
  
768 ····.line·937768 ····.line·934
769 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z769 ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z
  
770 ····move-result·p1770 ····move-result·p1
  
771 ····if-eqz·p1,·:cond_8771 ····if-eqz·p1,·:cond_8
  
772 ····.line·938772 ····.line·935
773 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;773 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
774 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->untetherAll()V774 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->untetherAll()V
  
775 ····:cond_8775 ····:cond_8
776 ····:goto_0776 ····:goto_0
777 ····return-void777 ····return-void