| | | |
Offset 18, 57 lines modified | Offset 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·methods | 19 | #·direct·methods |
20 | .method·private·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;)V | 20 | .method·private·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
| |
22 | ····.line·914 | 22 | ····.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>()V | 24 | ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V |
| |
25 | ····return-void | 25 | ····return-void |
26 | .end·method | 26 | .end·method |
| |
27 | .method·synthetic·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/Tethering$1;)V | 27 | .method·synthetic·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/Tethering$1;)V |
28 | ····.locals·0 | 28 | ····.locals·0 |
| |
29 | ····.line·914 | 29 | ····.line·911 |
30 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;-><init>(Lcom/android/networkstack/tethering/Tethering;)V | 30 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;-><init>(Lcom/android/networkstack/tethering/Tethering;)V |
| |
31 | ····return-void | 31 | ····return-void |
32 | .end·method | 32 | .end·method |
| |
33 | .method·private·handleConnectivityAction(Landroid/content/Intent;)V | 33 | .method·private·handleConnectivityAction(Landroid/content/Intent;)V |
34 | ····.locals·1 | 34 | ····.locals·1 |
| |
35 | ····const-string·v0,·"networkInfo" | 35 | ····const-string·v0,·"networkInfo" |
| |
36 | ····.line·944 | 36 | ····.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·p1 | 38 | ····move-result-object·p1 |
| |
39 | ····check-cast·p1,·Landroid/net/NetworkInfo; | 39 | ····check-cast·p1,·Landroid/net/NetworkInfo; |
| |
40 | ····if-eqz·p1,·:cond_1 | 40 | ····if-eqz·p1,·:cond_1 |
| |
41 | ····.line·946 | 41 | ····.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·p1 | 43 | ····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_0 | 45 | ····if-ne·p1,·v0,·:cond_0 |
| |
46 | ····goto·:goto_0 | 46 | ····goto·:goto_0 |
| |
47 | ····.line·951 | 47 | ····.line·948 |
48 | ····:cond_0 | 48 | ····: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·p0 | 51 | ····move-result-object·p0 |
| |
Offset 80, 71 lines modified | Offset 80, 71 lines modified |
80 | ····:goto_0 | 80 | ····:goto_0 |
81 | ····return-void | 81 | ····return-void |
82 | .end·method | 82 | .end·method |
| |
83 | .method·private·handleDataSaverChanged()V | 83 | .method·private·handleDataSaverChanged()V |
84 | ····.locals·2 | 84 | ····.locals·2 |
| |
85 | ····.line·1068 | 85 | ····.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·v0 | 88 | ····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·v0 | 91 | ····move-result-object·v0 |
| |
92 | ····check-cast·v0,·Landroid/net/ConnectivityManager; | 92 | ····check-cast·v0,·Landroid/net/ConnectivityManager; |
| |
93 | ····.line·1070 | 93 | ····.line·1067 |
94 | ····invoke-virtual·{v0},·Landroid/net/ConnectivityManager;->getRestrictBackgroundStatus()I | 94 | ····invoke-virtual·{v0},·Landroid/net/ConnectivityManager;->getRestrictBackgroundStatus()I |
| |
95 | ····move-result·v0 | 95 | ····move-result·v0 |
| |
96 | ····const/4·v1,·0x1 | 96 | ····const/4·v1,·0x1 |
| |
97 | ····if-eq·v0,·v1,·:cond_0 | 97 | ····if-eq·v0,·v1,·:cond_0 |
| |
98 | ····goto·:goto_0 | 98 | ····goto·:goto_0 |
| |
99 | ····:cond_0 | 99 | ····:cond_0 |
100 | ····const/4·v1,·0x0 | 100 | ····const/4·v1,·0x0 |
| |
101 | ····.line·1073 | 101 | ····.line·1070 |
102 | ····:goto_0 | 102 | ····: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;)Z | 104 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2900(Lcom/android/networkstack/tethering/Tethering;)Z |
| |
105 | ····move-result·v0 | 105 | ····move-result·v0 |
| |
106 | ····if-ne·v0,·v1,·:cond_1 | 106 | ····if-ne·v0,·v1,·:cond_1 |
| |
107 | ····return-void | 107 | ····return-void |
| |
108 | ····.line·1075 | 108 | ····.line·1072 |
109 | ····:cond_1 | 109 | ····: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)Z | 111 | ····invoke-static·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$2902(Lcom/android/networkstack/tethering/Tethering;Z)Z |
| |
112 | ····.line·1076 | 112 | ····.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;)Z | 114 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$2900(Lcom/android/networkstack/tethering/Tethering;)Z |
| |
115 | ····move-result·v0 | 115 | ····move-result·v0 |
| |
116 | ····if-eqz·v0,·:cond_2 | 116 | ····if-eqz·v0,·:cond_2 |
| |
117 | ····.line·1077 | 117 | ····.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()V | 119 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->untetherAll()V |
| |
120 | ····:cond_2 | 120 | ····:cond_2 |
121 | ····return-void | 121 | ····return-void |
122 | .end·method | 122 | .end·method |
Offset 152, 52 lines modified | Offset 152, 52 lines modified |
152 | .method·private·handleUsbAction(Landroid/content/Intent;)V | 152 | .method·private·handleUsbAction(Landroid/content/Intent;)V |
153 | ····.locals·10 | 153 | ····.locals·10 |
| |
154 | ····const-string·v0,·"connected" | 154 | ····const-string·v0,·"connected" |
| |
155 | ····const/4·v1,·0x0 | 155 | ····const/4·v1,·0x0 |
| |
156 | ····.line·955 | 156 | ····.line·952 |
157 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z | 157 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z |
| |
158 | ····move-result·v0 | 158 | ····move-result·v0 |
| |
159 | ····const-string·v2,·"configured" | 159 | ····const-string·v2,·"configured" |
| |
160 | ····.line·956 | 160 | ····.line·953 |
161 | ····invoke-virtual·{p1,·v2,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z | 161 | ····invoke-virtual·{p1,·v2,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z |
| |
162 | ····move-result·v2 | 162 | ····move-result·v2 |
| |
163 | ····const-string·v3,·"rndis" | 163 | ····const-string·v3,·"rndis" |
| |
164 | ····.line·957 | 164 | ····.line·954 |
165 | ····invoke-virtual·{p1,·v3,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z | 165 | ····invoke-virtual·{p1,·v3,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z |
| |
166 | ····move-result·v3 | 166 | ····move-result·v3 |
| |
167 | ····const-string·v4,·"ncm" | 167 | ····const-string·v4,·"ncm" |
| |
168 | ····.line·958 | 168 | ····.line·955 |
169 | ····invoke-virtual·{p1,·v4,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z | 169 | ····invoke-virtual·{p1,·v4,·v1},·Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z |
| |
170 | ····move-result·p1 | 170 | ····move-result·p1 |
| |
171 | ····.line·960 | 171 | ····.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·v4 | 174 | ····move-result-object·v4 |
| |
175 | ····const/4·v5,·0x3 | 175 | ····const/4·v5,·0x3 |
| |
176 | ····new-array·v6,·v5,·[Ljava/lang/Object; | 176 | ····new-array·v6,·v5,·[Ljava/lang/Object; |
| |
177 | ····.line·961 | 177 | ····.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·v7 | 179 | ····move-result-object·v7 |
| |
180 | ····aput-object·v7,·v6,·v1 | 180 | ····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 modified | Offset 214, 48 lines modified |
| |
214 | ····const/4·v9,·0x2 | 214 | ····const/4·v9,·0x2 |
| |
215 | ····aput-object·v7,·v6,·v9 | 215 | ····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·960 | 217 | ····.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·v6 | 219 | ····move-result-object·v6 |
| |
220 | ····invoke-virtual·{v4,·v6},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V | 220 | ····invoke-virtual·{v4,·v6},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
221 | ····.line·978 | 221 | ····.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·v4 | 224 | ····move-result-object·v4 |
| |
225 | ····monitor-enter·v4 | 225 | ····monitor-enter·v4 |
| |
226 | ····if-nez·v0,·:cond_0 | 226 | ····if-nez·v0,·:cond_0 |
| |
227 | ····.line·979 | 227 | ····.line·976 |
228 | ····:try_start_0 | 228 | ····: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;)Z | 230 | ····invoke-static·{v6},·Lcom/android/networkstack/tethering/Tethering;->access$2200(Lcom/android/networkstack/tethering/Tethering;)Z |
| |
231 | ····move-result·v6 | 231 | ····move-result·v6 |
| |
232 | ····if-eqz·v6,·:cond_0 | 232 | ····if-eqz·v6,·:cond_0 |
| |
233 | ····.line·981 | 233 | ····.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)V | 235 | ····invoke-static·{p1,·v8,·v8},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V |
| |
236 | ····.line·982 | 236 | ····.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·p1 | 239 | ····move-result-object·p1 |
| |
240 | ····invoke-virtual·{p1,·v8},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V | 240 | ····invoke-virtual·{p1,·v8},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V |
Offset 268, 48 lines modified | Offset 268, 48 lines modified |
268 | ····goto·:goto_1 | 268 | ····goto·:goto_1 |
| |
269 | ····:cond_0 | 269 | ····:cond_0 |
270 | ····if-eqz·v2,·:cond_1 | 270 | ····if-eqz·v2,·:cond_1 |
| |
271 | ····if-eqz·v3,·:cond_1 | 271 | ····if-eqz·v3,·:cond_1 |
| |
272 | ····.line·985 | 272 | ····.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)V | 274 | ····invoke-static·{p1,·v9,·v8},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V |
| |
275 | ····goto·:goto_0 | 275 | ····goto·:goto_0 |
| |
276 | ····:cond_1 | 276 | ····:cond_1 |
277 | ····if-eqz·v0,·:cond_2 | 277 | ····if-eqz·v0,·:cond_2 |
| |
278 | ····if-eqz·p1,·:cond_2 | 278 | ····if-eqz·p1,·:cond_2 |
| |
279 | ····.line·987 | 279 | ····.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,·0x4 | 281 | ····const/4·v0,·0x4 |
| |
282 | ····invoke-static·{p1,·v5,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V | 282 | ····invoke-static·{p1,·v5,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2300(Lcom/android/networkstack/tethering/Tethering;II)V |
| |
283 | ····.line·989 | 283 | ····.line·986 |
284 | ····:cond_2 | 284 | ····:cond_2 |
285 | ····:goto_0 | 285 | ····: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_3 | 287 | ····if-eqz·v2,·:cond_3 |
| |
288 | ····if-eqz·v3,·:cond_3 | 288 | ····if-eqz·v3,·:cond_3 |
| |
289 | ····move·v1,·v8 | 289 | ····move·v1,·v8 |
| |
290 | ····:cond_3 | 290 | ····:cond_3 |
291 | ····invoke-static·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$2202(Lcom/android/networkstack/tethering/Tethering;Z)Z | 291 | ····invoke-static·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$2202(Lcom/android/networkstack/tethering/Tethering;Z)Z |
| |
292 | ····.line·990 | 292 | ····.line·987 |
293 | ····monitor-exit·v4 | 293 | ····monitor-exit·v4 |
| |
294 | ····return-void | 294 | ····return-void |
| |
295 | ····:goto_1 | 295 | ····:goto_1 |
296 | ····monitor-exit·v4 | 296 | ····monitor-exit·v4 |
297 | ····:try_end_0 | 297 | ····:try_end_0 |
Offset 317, 15 lines modified | Offset 317, 15 lines modified |
| |
317 | ····throw·p0 | 317 | ····throw·p0 |
318 | .end·method | 318 | .end·method |
| |
319 | .method·private·handleUserRestrictionAction()V | 319 | .method·private·handleUserRestrictionAction()V |
320 | ····.locals·0 | 320 | ····.locals·0 |
| |
321 | ····.line·1064 | 321 | ····.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·p0 | 324 | ····move-result-object·p0 |
| |
325 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;->onUserRestrictionsChanged()V | 325 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;->onUserRestrictionsChanged()V |
Offset 336, 36 lines modified | Offset 336, 36 lines modified |
336 | .method·private·handleWifiApAction(Landroid/content/Intent;)V | 336 | .method·private·handleWifiApAction(Landroid/content/Intent;)V |
337 | ····.locals·4 | 337 | ····.locals·4 |
| |
338 | ····const-string·v0,·"wifi_state" | 338 | ····const-string·v0,·"wifi_state" |
| |
339 | ····const/16·v1,·0xb | 339 | ····const/16·v1,·0xb |
| |
340 | ····.line·994 | 340 | ····.line·991 |
341 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I | 341 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I |
| |
342 | ····move-result·v0 | 342 | ····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·995 | 344 | ····.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·v1 | 346 | ····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,·-0x1 | 348 | ····const/4·v3,·-0x1 |
| |
349 | ····.line·996 | 349 | ····.line·993 |
350 | ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I | 350 | ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I |
| |
351 | ····move-result·p1 | 351 | ····move-result·p1 |
| |
352 | ····.line·998 | 352 | ····.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·v2 | 355 | ····move-result-object·v2 |
| |
356 | ····monitor-enter·v2 | 356 | ····monitor-enter·v2 |
Offset 378, 34 lines modified | Offset 378, 34 lines modified |
| |
378 | ····if-eq·v0,·v3,·:cond_1 | 378 | ····if-eq·v0,·v3,·:cond_1 |
| |
379 | ····const/16·v3,·0xd | 379 | ····const/16·v3,·0xd |
| |
380 | ····if-eq·v0,·v3,·:cond_0 | 380 | ····if-eq·v0,·v3,·:cond_0 |
| |
381 | ····.line·1012 | 381 | ····.line·1009 |
382 | ····:try_start_0 | 382 | ····: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)V | 384 | ····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_0 | 385 | ····goto·:goto_0 |
| |
386 | ····:catchall_0 | 386 | ····:catchall_0 |
387 | ····move-exception·p0 | 387 | ····move-exception·p0 |
| |
388 | ····goto·:goto_1 | 388 | ····goto·:goto_1 |
| |
389 | ····.line·1004 | 389 | ····.line·1001 |
390 | ····:cond_0 | 390 | ····: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)V | 392 | ····invoke-static·{p0,·v1,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$2400(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V |
| |
393 | ····.line·1015 | 393 | ····.line·1012 |
394 | ····:cond_1 | 394 | ····:cond_1 |
395 | ····:goto_0 | 395 | ····:goto_0 |
396 | ····monitor-exit·v2 | 396 | ····monitor-exit·v2 |
| |
397 | ····return-void | 397 | ····return-void |
| |
398 | ····:goto_1 | 398 | ····:goto_1 |
Offset 415, 15 lines modified | Offset 415, 15 lines modified |
| |
415 | ····throw·p0 | 415 | ····throw·p0 |
416 | .end·method | 416 | .end·method |
| |
417 | .method·private·handleWifiP2pAction(Landroid/content/Intent;)V | 417 | .method·private·handleWifiP2pAction(Landroid/content/Intent;)V |
418 | ····.locals·4 | 418 | ····.locals·4 |
| |
419 | ····.line·1024 | 419 | ····.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·v0 | 422 | ····move-result-object·v0 |
| |
423 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifiP2pLegacyTetheringMode()Z | 423 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifiP2pLegacyTetheringMode()Z |
Offset 433, 62 lines modified | Offset 433, 62 lines modified |
433 | ····if-eqz·v0,·:cond_0 | 433 | ····if-eqz·v0,·:cond_0 |
| |
434 | ····return-void | 434 | ····return-void |
| |
435 | ····:cond_0 | 435 | ····:cond_0 |
436 | ····const-string·v0,·"wifiP2pInfo" | 436 | ····const-string·v0,·"wifiP2pInfo" |
| |
437 | ····.line·1027 | 437 | ····.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·v0 | 439 | ····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·1029 | 442 | ····.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·p1 | 444 | ····move-result-object·p1 |
| |
445 | ····check-cast·p1,·Landroid/net/wifi/p2p/WifiP2pGroup; | 445 | ····check-cast·p1,·Landroid/net/wifi/p2p/WifiP2pGroup; |
| |
446 | ····.line·1035 | 446 | ····.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·v1 | 449 | ····move-result-object·v1 |
| |
450 | ····monitor-enter·v1 | 450 | ····monitor-enter·v1 |
| |
451 | ····if-eqz·v0,·:cond_5 | 451 | ····if-eqz·v0,·:cond_5 |
| |
452 | ····.line·1037 | 452 | ····.line·1034 |
453 | ····:try_start_0 | 453 | ····:try_start_0 |
454 | ····iget-boolean·v0,·v0,·Landroid/net/wifi/p2p/WifiP2pInfo;->groupFormed:Z | 454 | ····iget-boolean·v0,·v0,·Landroid/net/wifi/p2p/WifiP2pInfo;->groupFormed:Z |
| |
455 | ····if-nez·v0,·:cond_1 | 455 | ····if-nez·v0,·:cond_1 |
| |
456 | ····goto·:goto_0 | 456 | ····goto·:goto_0 |
| |
457 | ····.line·1044 | 457 | ····.line·1041 |
458 | ····:cond_1 | 458 | ····:cond_1 |
459 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z | 459 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z |
| |
460 | ····move-result·v0 | 460 | ····move-result·v0 |
| |
461 | ····if-nez·v0,·:cond_2 | 461 | ····if-nez·v0,·:cond_2 |
| |
462 | ····monitor-exit·v1 | 462 | ····monitor-exit·v1 |
| |
463 | ····return-void | 463 | ····return-void |
| |
464 | ····.line·1047 | 464 | ····.line·1044 |
465 | ····:cond_2 | 465 | ····: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·v0 | 467 | ····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 modified | Offset 502, 29 lines modified |
| |
502 | ····if-eqz·v0,·:cond_3 | 502 | ····if-eqz·v0,·:cond_3 |
| |
503 | ····monitor-exit·v1 | 503 | ····monitor-exit·v1 |
| |
504 | ····return-void | 504 | ····return-void |
| |
505 | ····.line·1050 | 505 | ····.line·1047 |
506 | ····:cond_3 | 506 | ····: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·v0 | 509 | ····move-result-object·v0 |
| |
510 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 510 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
511 | ····move-result·v0 | 511 | ····move-result·v0 |
| |
512 | ····if-nez·v0,·:cond_4 | 512 | ····if-nez·v0,·:cond_4 |
| |
513 | ····.line·1051 | 513 | ····.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·v0 | 516 | ····move-result-object·v0 |
| |
517 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 517 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
Offset 543, 120 lines modified | Offset 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·1053 | 546 | ····.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·v3 | 548 | ····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·v2 | 553 | ····move-result-object·v2 |
| |
554 | ····.line·1051 | 554 | ····.line·1048 |
555 | ····invoke-virtual·{v0,·v2},·Landroid/net/util/SharedLog;->w(Ljava/lang/String;)V | 555 | ····invoke-virtual·{v0,·v2},·Landroid/net/util/SharedLog;->w(Ljava/lang/String;)V |
| |
556 | ····.line·1054 | 556 | ····.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·v2 | 560 | ····move-result-object·v2 |
| |
561 | ····invoke-static·{v0,·v2},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V | 561 | ····invoke-static·{v0,·v2},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V |
| |
562 | ····.line·1058 | 562 | ····.line·1055 |
563 | ····:cond_4 | 563 | ····: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·p1 | 566 | ····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·1059 | 568 | ····.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·p0 | 572 | ····move-result-object·p0 |
| |
573 | ····const/4·v0,·0x2 | 573 | ····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)V | 574 | ····invoke-static·{p1,·p0,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2400(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;I)V |
| |
575 | ····.line·1060 | 575 | ····.line·1057 |
576 | ····monitor-exit·v1 | 576 | ····monitor-exit·v1 |
| |
577 | ····return-void | 577 | ····return-void |
| |
578 | ····.line·1038 | 578 | ····.line·1035 |
579 | ····:cond_5 | 579 | ····:cond_5 |
580 | ····:goto_0 | 580 | ····: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·v0 | 584 | ····move-result-object·v0 |
| |
585 | ····invoke-static·{p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V | 585 | ····invoke-static·{p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$2700(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;)V |
| |
586 | ····.line·1039 | 586 | ····.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,·0x0 | 588 | ····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·1040 | 590 | ····.line·1037 |
591 | ····monitor-exit·v1 | 591 | ····monitor-exit·v1 |
| |
592 | ····return-void | 592 | ····return-void |
| |
593 | ····:catchall_0 | 593 | ····:catchall_0 |
594 | ····move-exception·p0 | 594 | ····move-exception·p0 |
| |
595 | ····.line·1060 | 595 | ····.line·1057 |
596 | ····monitor-exit·v1 | 596 | ····monitor-exit·v1 |
597 | ····:try_end_0 | 597 | ····:try_end_0 |
598 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 598 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
| |
599 | ····throw·p0 | 599 | ····throw·p0 |
600 | .end·method | 600 | .end·method |
| |
601 | .method·private·isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z | 601 | .method·private·isGroupOwner(Landroid/net/wifi/p2p/WifiP2pGroup;)Z |
602 | ····.locals·0 | 602 | ····.locals·0 |
| |
603 | ····if-eqz·p1,·:cond_0 | 603 | ····if-eqz·p1,·:cond_0 |
| |
604 | ····.line·1019 | 604 | ····.line·1016 |
605 | ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->isGroupOwner()Z | 605 | ····invoke-virtual·{p1},·Landroid/net/wifi/p2p/WifiP2pGroup;->isGroupOwner()Z |
| |
606 | ····move-result·p0 | 606 | ····move-result·p0 |
| |
607 | ····if-eqz·p0,·:cond_0 | 607 | ····if-eqz·p0,·:cond_0 |
| |
608 | ····.line·1020 | 608 | ····.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·p0 | 610 | ····move-result-object·p0 |
| |
611 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 611 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
612 | ····move-result·p0 | 612 | ····move-result·p0 |
Offset 675, 174 lines modified | Offset 675, 174 lines modified |
675 | .end·method | 675 | .end·method |
| |
| |
676 | #·virtual·methods | 676 | #·virtual·methods |
677 | .method·public·onReceive(Landroid/content/Context;Landroid/content/Intent;)V | 677 | .method·public·onReceive(Landroid/content/Context;Landroid/content/Intent;)V |
678 | ····.locals·1 | 678 | ····.locals·1 |
| |
679 | ····.line·917 | 679 | ····.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·p1 | 681 | ····move-result-object·p1 |
| |
682 | ····if-nez·p1,·:cond_0 | 682 | ····if-nez·p1,·:cond_0 |
| |
683 | ····return-void | 683 | ····return-void |
| |
684 | ····:cond_0 | 684 | ····:cond_0 |
685 | ····const-string·v0,·"android.hardware.usb.action.USB_STATE" | 685 | ····const-string·v0,·"android.hardware.usb.action.USB_STATE" |
| |
686 | ····.line·920 | 686 | ····.line·917 |
687 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 687 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
688 | ····move-result·v0 | 688 | ····move-result·v0 |
| |
689 | ····if-eqz·v0,·:cond_1 | 689 | ····if-eqz·v0,·:cond_1 |
| |
690 | ····.line·921 | 690 | ····.line·918 |
691 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUsbAction(Landroid/content/Intent;)V | 691 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUsbAction(Landroid/content/Intent;)V |
| |
692 | ····goto/16·:goto_0 | 692 | ····goto/16·:goto_0 |
| |
693 | ····:cond_1 | 693 | ····:cond_1 |
694 | ····const-string·v0,·"android.net.conn.CONNECTIVITY_CHANGE" | 694 | ····const-string·v0,·"android.net.conn.CONNECTIVITY_CHANGE" |
| |
695 | ····.line·922 | 695 | ····.line·919 |
696 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 696 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
697 | ····move-result·v0 | 697 | ····move-result·v0 |
| |
698 | ····if-eqz·v0,·:cond_2 | 698 | ····if-eqz·v0,·:cond_2 |
| |
699 | ····.line·923 | 699 | ····.line·920 |
700 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleConnectivityAction(Landroid/content/Intent;)V | 700 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleConnectivityAction(Landroid/content/Intent;)V |
| |
701 | ····goto·:goto_0 | 701 | ····goto·:goto_0 |
| |
702 | ····:cond_2 | 702 | ····: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·924 | 704 | ····.line·921 |
705 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 705 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
706 | ····move-result·v0 | 706 | ····move-result·v0 |
| |
707 | ····if-eqz·v0,·:cond_3 | 707 | ····if-eqz·v0,·:cond_3 |
| |
708 | ····.line·925 | 708 | ····.line·922 |
709 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiApAction(Landroid/content/Intent;)V | 709 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiApAction(Landroid/content/Intent;)V |
| |
710 | ····goto·:goto_0 | 710 | ····goto·:goto_0 |
| |
711 | ····:cond_3 | 711 | ····: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·926 | 713 | ····.line·923 |
714 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 714 | ····invoke-virtual·{p1,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
715 | ····move-result·v0 | 715 | ····move-result·v0 |
| |
716 | ····if-eqz·v0,·:cond_4 | 716 | ····if-eqz·v0,·:cond_4 |
| |
717 | ····.line·927 | 717 | ····.line·924 |
718 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiP2pAction(Landroid/content/Intent;)V | 718 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleWifiP2pAction(Landroid/content/Intent;)V |
| |
719 | ····goto·:goto_0 | 719 | ····goto·:goto_0 |
| |
720 | ····:cond_4 | 720 | ····:cond_4 |
721 | ····const-string·p2,·"android.intent.action.CONFIGURATION_CHANGED" | 721 | ····const-string·p2,·"android.intent.action.CONFIGURATION_CHANGED" |
| |
722 | ····.line·928 | 722 | ····.line·925 |
723 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 723 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
724 | ····move-result·p2 | 724 | ····move-result·p2 |
| |
725 | ····if-eqz·p2,·:cond_5 | 725 | ····if-eqz·p2,·:cond_5 |
| |
726 | ····.line·929 | 726 | ····.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·p1 | 729 | ····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;)V | 731 | ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
732 | ····.line·930 | 732 | ····.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;)V | 734 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$900(Lcom/android/networkstack/tethering/Tethering;)V |
| |
735 | ····goto·:goto_0 | 735 | ····goto·:goto_0 |
| |
736 | ····:cond_5 | 736 | ····:cond_5 |
737 | ····const-string·p2,·"android.os.action.USER_RESTRICTIONS_CHANGED" | 737 | ····const-string·p2,·"android.os.action.USER_RESTRICTIONS_CHANGED" |
| |
738 | ····.line·931 | 738 | ····.line·928 |
739 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 739 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
740 | ····move-result·p2 | 740 | ····move-result·p2 |
| |
741 | ····if-eqz·p2,·:cond_6 | 741 | ····if-eqz·p2,·:cond_6 |
| |
742 | ····.line·932 | 742 | ····.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·p1 | 745 | ····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;)V | 747 | ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
748 | ····.line·933 | 748 | ····.line·930 |
749 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUserRestrictionAction()V | 749 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleUserRestrictionAction()V |
| |
750 | ····goto·:goto_0 | 750 | ····goto·:goto_0 |
| |
751 | ····:cond_6 | 751 | ····:cond_6 |
752 | ····const-string·p2,·"android.net.conn.RESTRICT_BACKGROUND_CHANGED" | 752 | ····const-string·p2,·"android.net.conn.RESTRICT_BACKGROUND_CHANGED" |
| |
753 | ····.line·934 | 753 | ····.line·931 |
754 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 754 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
755 | ····move-result·p2 | 755 | ····move-result·p2 |
| |
756 | ····if-eqz·p2,·:cond_7 | 756 | ····if-eqz·p2,·:cond_7 |
| |
757 | ····.line·935 | 757 | ····.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·p1 | 760 | ····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;)V | 762 | ····invoke-virtual·{p1,·p2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
763 | ····.line·936 | 763 | ····.line·933 |
764 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleDataSaverChanged()V | 764 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering$StateReceiver;->handleDataSaverChanged()V |
| |
765 | ····goto·:goto_0 | 765 | ····goto·:goto_0 |
| |
766 | ····:cond_7 | 766 | ····: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·937 | 768 | ····.line·934 |
769 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 769 | ····invoke-virtual·{p1,·p2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
770 | ····move-result·p1 | 770 | ····move-result·p1 |
| |
771 | ····if-eqz·p1,·:cond_8 | 771 | ····if-eqz·p1,·:cond_8 |
| |
772 | ····.line·938 | 772 | ····.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()V | 774 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->untetherAll()V |
| |
775 | ····:cond_8 | 775 | ····:cond_8 |
776 | ····:goto_0 | 776 | ····:goto_0 |
777 | ····return-void | 777 | ····return-void |