Offset 31, 109 lines modifiedOffset 31, 109 lines modified
31 ····ClientModeImpl$ConnectModeState(final·ClientModeImpl·this$0)·{31 ····ClientModeImpl$ConnectModeState(final·ClientModeImpl·this$0)·{
32 ········this.this$0·=·this$0;32 ········this.this$0·=·this$0;
33 ····}33 ····}
34 ····34 ····
35 ····public·void·enter()·{35 ····public·void·enter()·{
36 ········final·StringBuilder·sb·=·new·StringBuilder();36 ········final·StringBuilder·sb·=·new·StringBuilder();
37 ········sb.append("entering·ConnectModeState:·ifaceName·=·");37 ········sb.append("entering·ConnectModeState:·ifaceName·=·");
38 ········sb.append(ClientModeImpl.access$2300(this.this$0));38 ········sb.append(ClientModeImpl.access$2400(this.this$0));
39 ········Log.d("WifiClientModeImpl",·sb.toString());39 ········Log.d("WifiClientModeImpl",·sb.toString());
40 ········final·ClientModeImpl·this$0·=·this.this$0;40 ········final·ClientModeImpl·this$0·=·this.this$0;
41 ········final·int·wifiEnabled·=·1;41 ········final·int·wifiEnabled·=·1;
42 ········ClientModeImpl.access$3402(this$0,·wifiEnabled);42 ········ClientModeImpl.access$3502(this$0,·wifiEnabled);
43 ········ClientModeImpl.access$3500(this.this$0);43 ········ClientModeImpl.access$3600(this.this$0);
44 ········if·(!ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2300(this.this$0)))·{44 ········if·(!ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2400(this.this$0)))·{
45 ············this.this$0.loge("Failed·to·remove·networks·on·entering·connect·mode");45 ············this.this$0.loge("Failed·to·remove·networks·on·entering·connect·mode");
46 ········}46 ········}
47 ········ClientModeImpl.access$700(this.this$0).reset();47 ········ClientModeImpl.access$800(this.this$0).reset();
48 ········ClientModeImpl.access$700(this.this$0).setSupplicantState(SupplicantState.DISCONNECTED);48 ········ClientModeImpl.access$800(this.this$0).setSupplicantState(SupplicantState.DISCONNECTED);
49 ········ClientModeImpl.access$3600(this.this$0).getWakeupController().reset();49 ········ClientModeImpl.access$3700(this.this$0).getWakeupController().reset();
50 ········ClientModeImpl.access$3700(this.this$0,·NetworkInfo$DetailedState.DISCONNECTED);50 ········ClientModeImpl.access$3800(this.this$0,·NetworkInfo$DetailedState.DISCONNECTED);
51 ········ClientModeImpl.access$1300(this.this$0).setWifiEnabled((boolean)(wifiEnabled·!=·0));51 ········ClientModeImpl.access$1400(this.this$0).setWifiEnabled((boolean)(wifiEnabled·!=·0));
52 ········ClientModeImpl.access$3800(this.this$0).setWifiState((boolean)(wifiEnabled·!=·0));52 ········ClientModeImpl.access$3900(this.this$0).setWifiState((boolean)(wifiEnabled·!=·0));
53 ········ClientModeImpl.access$300(this.this$0).setWifiState(2);53 ········ClientModeImpl.access$300(this.this$0).setWifiState(2);
54 ········ClientModeImpl.access$300(this.this$0).logStaEvent(18);54 ········ClientModeImpl.access$300(this.this$0).logStaEvent(18);
55 ········ClientModeImpl.access$3900(this.this$0).noteSupplicantStateChanged(ClientModeImpl.access$700(this.this$0));55 ········ClientModeImpl.access$4000(this.this$0).noteSupplicantStateChanged(ClientModeImpl.access$800(this.this$0));
56 ········ClientModeImpl.access$4000(this.this$0).setWifiEnabled((boolean)(wifiEnabled·!=·0));56 ········ClientModeImpl.access$4100(this.this$0).setWifiEnabled((boolean)(wifiEnabled·!=·0));
57 ········ClientModeImpl.access$4100(this.this$0).init();57 ········ClientModeImpl.access$4200(this.this$0).init();
58 ····}58 ····}
59 ····59 ····
60 ····public·void·exit()·{60 ····public·void·exit()·{
61 ········ClientModeImpl.access$3402(this.this$0,·4);61 ········ClientModeImpl.access$3502(this.this$0,·4);
62 ········ClientModeImpl.access$1300(this.this$0).setWifiEnabled(false);62 ········ClientModeImpl.access$1400(this.this$0).setWifiEnabled(false);
63 ········ClientModeImpl.access$3800(this.this$0).setWifiState(false);63 ········ClientModeImpl.access$3900(this.this$0).setWifiState(false);
64 ········ClientModeImpl.access$300(this.this$0).setWifiState(1);64 ········ClientModeImpl.access$300(this.this$0).setWifiState(1);
65 ········ClientModeImpl.access$300(this.this$0).logStaEvent(19);65 ········ClientModeImpl.access$300(this.this$0).logStaEvent(19);
66 ········ClientModeImpl.access$3900(this.this$0).noteWifiDisabled(ClientModeImpl.access$700(this.this$0));66 ········ClientModeImpl.access$4000(this.this$0).noteWifiDisabled(ClientModeImpl.access$800(this.this$0));
67 ········if·(!ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2300(this.this$0)))·{67 ········if·(!ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2400(this.this$0)))·{
68 ············this.this$0.loge("Failed·to·remove·networks·on·exiting·connect·mode");68 ············this.this$0.loge("Failed·to·remove·networks·on·exiting·connect·mode");
69 ········}69 ········}
70 ········ClientModeImpl.access$700(this.this$0).reset();70 ········ClientModeImpl.access$800(this.this$0).reset();
71 ········ClientModeImpl.access$700(this.this$0).setSupplicantState(SupplicantState.DISCONNECTED);71 ········ClientModeImpl.access$800(this.this$0).setSupplicantState(SupplicantState.DISCONNECTED);
72 ········ClientModeImpl.access$3900(this.this$0).noteSupplicantStateChanged(ClientModeImpl.access$700(this.this$0));72 ········ClientModeImpl.access$4000(this.this$0).noteSupplicantStateChanged(ClientModeImpl.access$800(this.this$0));
73 ········ClientModeImpl.access$4000(this.this$0).setWifiEnabled(false);73 ········ClientModeImpl.access$4100(this.this$0).setWifiEnabled(false);
74 ········ClientModeImpl.access$4100(this.this$0).reset();74 ········ClientModeImpl.access$4200(this.this$0).reset();
75 ········ClientModeImpl.access$4200(this.this$0);75 ········ClientModeImpl.access$4300(this.this$0);
76 ····}76 ····}
77 ····77 ····
78 ····public·boolean·processMessage(final·Message·message)·{78 ····public·boolean·processMessage(final·Message·message)·{
79 ········final·int·what·=·message.what;79 ········final·int·what·=·message.what;
80 ········final·int·n·=·-1;80 ········final·int·n·=·-1;
81 ········final·String·s·=·"any";81 ········final·String·s·=·"any";
82 ········final·int·n2·=·15;82 ········final·int·n2·=·15;
83 ········int·n3·=·4;83 ········int·n3·=·4;
84 ········int·n4·=·5;84 ········int·n4·=·5;
85 ········final·String·s2·=·"WifiClientModeImpl";85 ········final·String·s2·=·"WifiClientModeImpl";
86 ········int·n5·=·2;86 ········int·n5·=·2;
87 ········int·access$8300·=·0;87 ········int·access$8300·=·0;
88 ········final·int·n6·=·1;88 ········final·int·n6·=·1;
89 ········Label_5289:·{89 ········Label_5313:·{
90 ············switch·(what)·{90 ············switch·(what)·{
91 ················default:·{91 ················default:·{
92 ····················break·Label_5289;92 ····················break·Label_5313;
93 ················}93 ················}
94 ················case·147527:·{94 ················case·147527:·{
95 ····················ClientModeImpl.access$8200(this.this$0,·(MboOceController$BtmFrameData)message.obj);95 ····················ClientModeImpl.access$8200(this.this$0,·(MboOceController$BtmFrameData)message.obj);
96 ····················break;96 ····················break;
97 ················}97 ················}
98 ················case·147517:·{98 ················case·147517:·{
99 ····················ClientModeImpl.access$5900(this.this$0).receivedWnmFrame((WnmData)message.obj);99 ····················ClientModeImpl.access$6000(this.this$0).receivedWnmFrame((WnmData)message.obj);
100 ····················break;100 ····················break;
101 ················}101 ················}
102 ················case·147509:·{102 ················case·147509:·{
103 ····················ClientModeImpl.access$5900(this.this$0).notifyIconDone((IconEvent)message.obj);103 ····················ClientModeImpl.access$6000(this.this$0).notifyIconDone((IconEvent)message.obj);
104 ····················break;104 ····················break;
105 ················}105 ················}
106 ················case·147502:·{106 ················case·147502:·{
107 ····················final·Object·obj·=·message.obj;107 ····················final·Object·obj·=·message.obj;
108 ····················if·(obj·!=·null)·{108 ····················if·(obj·!=·null)·{
109 ························ClientModeImpl.access$4502(this.this$0,·(String)obj);109 ························ClientModeImpl.access$4602(this.this$0,·(String)obj);
110 ························break;110 ························break;
111 ····················}111 ····················}
112 ····················break;112 ····················break;
113 ················}113 ················}
114 ················case·147501:·{114 ················case·147501:·{
115 ····················final·String·s3·=·(String)message.obj;115 ····················final·String·s3·=·(String)message.obj;
116 ····················if·(s3·!=·null)·{116 ····················if·(s3·!=·null)·{
117 ························final·ScanDetailCache·scanDetailCacheForNetwork·=·ClientModeImpl.access$4600(this.this$0).getScanDetailCacheForNetwork(ClientModeImpl.access$400(this.this$0));117 ························final·ScanDetailCache·scanDetailCacheForNetwork·=·ClientModeImpl.access$4700(this.this$0).getScanDetailCacheForNetwork(ClientModeImpl.access$400(this.this$0));
118 ························if·(scanDetailCacheForNetwork·!=·null)·{118 ························if·(scanDetailCacheForNetwork·!=·null)·{
119 ····························ClientModeImpl.access$300(this.this$0).setConnectionScanDetail(scanDetailCacheForNetwork.getScanDetail(s3));119 ····························ClientModeImpl.access$300(this.this$0).setConnectionScanDetail(scanDetailCacheForNetwork.getScanDetail(s3));
120 ························}120 ························}
121 ························ClientModeImpl.access$5302(this.this$0,·s3);121 ························ClientModeImpl.access$5402(this.this$0,·s3);
122 ····················}122 ····················}
123 ····················break·Label_5289;123 ····················break·Label_5313;
124 ················}124 ················}
125 ················case·147500:·{125 ················case·147500:·{
126 ····················ClientModeImpl.access$5900(this.this$0).notifyANQPDone((AnqpEvent)message.obj);126 ····················ClientModeImpl.access$6000(this.this$0).notifyANQPDone((AnqpEvent)message.obj);
127 ····················break;127 ····················break;
128 ················}128 ················}
129 ················case·147499:·{129 ················case·147499:·{
130 ····················ClientModeImpl.access$4300(this.this$0);130 ····················ClientModeImpl.access$4400(this.this$0);
131 ····················ClientModeImpl.access$3200(this.this$0).captureBugReportData(n6);131 ····················ClientModeImpl.access$3300(this.this$0).captureBugReportData(n6);
132 ····················ClientModeImpl.access$4402(this.this$0,·false);132 ····················ClientModeImpl.access$4502(this.this$0,·false);
133 ····················String·access$8301·=·(String)message.obj;133 ····················String·access$8301·=·(String)message.obj;
134 ····················int·n7;134 ····················int·n7;
135 ····················if·(message.arg1·>·0)·{135 ····················if·(message.arg1·>·0)·{
136 ························n7·=·n6;136 ························n7·=·n6;
137 ····················}137 ····················}
138 ····················else·{138 ····················else·{
139 ························n7·=·0;139 ························n7·=·0;
Offset 144, 34 lines modifiedOffset 144, 34 lines modified
144 ····················sb.append(access$8301);144 ····················sb.append(access$8301);
145 ····················sb.append("·reason·code=");145 ····················sb.append("·reason·code=");
146 ····················sb.append(arg2);146 ····················sb.append(arg2);
147 ····················sb.append("·timedOut=");147 ····················sb.append("·timedOut=");
148 ····················sb.append(Boolean.toString((boolean)(n7·!=·0)));148 ····················sb.append(Boolean.toString((boolean)(n7·!=·0)));
149 ····················Log.d(s2,·sb.toString());149 ····················Log.d(s2,·sb.toString());
150 ····················if·(access$8301·!=·null·&&·!TextUtils.isEmpty((CharSequence)access$8301))·{150 ····················if·(access$8301·!=·null·&&·!TextUtils.isEmpty((CharSequence)access$8301))·{
151 ························if·(ClientModeImpl.access$4500(this.this$0)·==·s)·{151 ························if·(ClientModeImpl.access$4600(this.this$0)·==·s)·{
152 ····························ClientModeImpl.access$4502(this.this$0,·access$8301);152 ····························ClientModeImpl.access$4602(this.this$0,·access$8301);
153 ························}153 ························}
154 ····················}154 ····················}
155 ····················else·{155 ····················else·{
156 ························access$8301·=·ClientModeImpl.access$4500(this.this$0);156 ························access$8301·=·ClientModeImpl.access$4600(this.this$0);
157 ····················}157 ····················}
158 ····················ClientModeImpl.access$4600(this.this$0).updateNetworkSelectionStatus(ClientModeImpl.access$400(this.this$0),·n6);158 ····················ClientModeImpl.access$4700(this.this$0).updateNetworkSelectionStatus(ClientModeImpl.access$400(this.this$0),·n6);
159 ····················ClientModeImpl.access$4600(this.this$0).setRecentFailureAssociationStatus(ClientModeImpl.access$400(this.this$0),·arg2);159 ····················ClientModeImpl.access$4700(this.this$0).setRecentFailureAssociationStatus(ClientModeImpl.access$400(this.this$0),·arg2);
160 ····················final·int·n8·=·17;160 ····················final·int·n8·=·17;
161 ····················if·(arg2·!=·n8)·{161 ····················if·(arg2·!=·n8)·{
162 ························n4·=·0;162 ························n4·=·0;
163 ····················}163 ····················}
164 ····················final·ClientModeImpl·this$0·=·this.this$0;164 ····················final·ClientModeImpl·this$0·=·this.this$0;
165 ····················if·(n7·!=·0)·{165 ····················if·(n7·!=·0)·{
166 ························n5·=·11;166 ························n5·=·11;
167 ····················}167 ····················}
168 ····················ClientModeImpl.access$4700(this$0,·n5,·n6,·n4);168 ····················ClientModeImpl.access$4800(this$0,·n5,·n6,·n4);
169 ····················if·(arg2·!=·n8)·{169 ····················if·(arg2·!=·n8)·{
170 ························ClientModeImpl.access$3600(this.this$0).getWifiLastResortWatchdog().noteConnectionFailureAndTriggerIfNeeded(ClientModeImpl.access$4800(this.this$0),·access$8301,·n6);170 ························ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog().noteConnectionFailureAndTriggerIfNeeded(ClientModeImpl.access$4900(this.this$0),·access$8301,·n6);
171 ····················}171 ····················}
172 ····················ClientModeImpl.access$402(this.this$0,·n);172 ····················ClientModeImpl.access$402(this.this$0,·n);
173 ····················break;173 ····················break;
174 ················}174 ················}
175 ················case·147472:·{175 ················case·147472:·{
176 ····················this.this$0.logd("Received·SUP_REQUEST_SIM_AUTH");176 ····················this.this$0.logd("Received·SUP_REQUEST_SIM_AUTH");
177 ····················final·WifiCarrierInfoManager$SimAuthRequestData·wifiCarrierInfoManager$SimAuthRequestData·=·(WifiCarrierInfoManager$SimAuthRequestData)message.obj;177 ····················final·WifiCarrierInfoManager$SimAuthRequestData·wifiCarrierInfoManager$SimAuthRequestData·=·(WifiCarrierInfoManager$SimAuthRequestData)message.obj;
Offset 188, 16 lines modifiedOffset 188, 16 lines modified
188 ························this.this$0.handle3GAuthRequest(wifiCarrierInfoManager$SimAuthRequestData);188 ························this.this$0.handle3GAuthRequest(wifiCarrierInfoManager$SimAuthRequestData);
189 ························break;189 ························break;
190 ····················}190 ····················}
191 ····················break;191 ····················break;
192 ················}192 ················}
193 ················case·147471:·{193 ················case·147471:·{
194 ····················final·int·arg3·=·message.arg2;194 ····················final·int·arg3·=·message.arg2;
195 ····················if·(ClientModeImpl.access$5700(this.this$0)·!=·null·&&·ClientModeImpl.access$5700(this.this$0).networkId·==·arg3·&&·ClientModeImpl.access$5700(this.this$0).enterpriseConfig·!=·null·&&·ClientModeImpl.access$5700(this.this$0).enterpriseConfig.isAuthenticationSimBased())·{195 ····················if·(ClientModeImpl.access$5800(this.this$0)·!=·null·&&·ClientModeImpl.access$5800(this.this$0).networkId·==·arg3·&&·ClientModeImpl.access$5800(this.this$0).enterpriseConfig·!=·null·&&·ClientModeImpl.access$5800(this.this$0).enterpriseConfig.isAuthenticationSimBased())·{
196 ························final·Pair·simIdentity·=·ClientModeImpl.access$5800(this.this$0).getSimIdentity(ClientModeImpl.access$5700(this.this$0));196 ························final·Pair·simIdentity·=·ClientModeImpl.access$5900(this.this$0).getSimIdentity(ClientModeImpl.access$5800(this.this$0));
197 ························if·(simIdentity·!=·null·&&·simIdentity.first·!=·null)·{197 ························if·(simIdentity·!=·null·&&·simIdentity.first·!=·null)·{
198 ····························final·StringBuilder·sb2·=·new·StringBuilder();198 ····························final·StringBuilder·sb2·=·new·StringBuilder();
199 ····························sb2.append("SUP_REQUEST_IDENTITY:·identityPair=[");199 ····························sb2.append("SUP_REQUEST_IDENTITY:·identityPair=[");
200 ····························final·int·length·=·((String)simIdentity.first).length();200 ····························final·int·length·=·((String)simIdentity.first).length();
201 ····························final·int·n9·=·7;201 ····························final·int·n9·=·7;
202 ····························String·string;202 ····························String·string;
203 ····························if·(length·>=·n9)·{203 ····························if·(length·>=·n9)·{
Offset 217, 77 lines modifiedOffset 217, 77 lines modified
217 ····························}217 ····························}
218 ····························else·{218 ····························else·{
219 ································s4·=·"<NONE>";219 ································s4·=·"<NONE>";
220 ····························}220 ····························}
221 ····························sb2.append(s4);221 ····························sb2.append(s4);
222 ····························sb2.append("]");222 ····························sb2.append("]");
223 ····························Log.i(s2,·sb2.toString());223 ····························Log.i(s2,·sb2.toString());
224 ····························ClientModeImpl.access$600(this.this$0).simIdentityResponse(ClientModeImpl.access$2300(this.this$0),·(String)simIdentity.first,·(String)simIdentity.second);224 ····························ClientModeImpl.access$600(this.this$0).simIdentityResponse(ClientModeImpl.access$2400(this.this$0),·(String)simIdentity.first,·(String)simIdentity.second);
225 ····························access$8300·=·n6;225 ····························access$8300·=·n6;
226 ························}226 ························}
227 ························else·{227 ························else·{
228 ····························Log.e(s2,·"Unable·to·retrieve·identity·from·Telephony");228 ····························Log.e(s2,·"Unable·to·retrieve·identity·from·Telephony");
229 ························}229 ························}
230 ····················}230 ····················}
231 ····················if·(access$8300·==·0)·{231 ····················if·(access$8300·==·0)·{
232 ························final·String·s5·=·(String)message.obj;232 ························final·String·s5·=·(String)message.obj;
233 ························if·(ClientModeImpl.access$5700(this.this$0)·!=·null·&&·s5·!=·null·&&·ClientModeImpl.access$5700(this.this$0).SSID·!=·null)·{233 ························if·(ClientModeImpl.access$5800(this.this$0)·!=·null·&&·s5·!=·null·&&·ClientModeImpl.access$5800(this.this$0).SSID·!=·null)·{
234 ····························final·String·ssid·=·ClientModeImpl.access$5700(this.this$0).SSID;234 ····························final·String·ssid·=·ClientModeImpl.access$5800(this.this$0).SSID;
235 ····························final·StringBuilder·sb4·=·new·StringBuilder();235 ····························final·StringBuilder·sb4·=·new·StringBuilder();
236 ····························final·String·s6·=·"\"";236 ····························final·String·s6·=·"\"";
237 ····························sb4.append(s6);237 ····························sb4.append(s6);
238 ····························sb4.append(s5);238 ····························sb4.append(s5);
239 ····························sb4.append(s6);239 ····························sb4.append(s6);
240 ····························if·(ssid.equals(sb4.toString()))·{240 ····························if·(ssid.equals(sb4.toString()))·{
241 ································ClientModeImpl.access$4600(this.this$0).updateNetworkSelectionStatus(ClientModeImpl.access$5700(this.this$0).networkId,·n4);241 ································ClientModeImpl.access$4700(this.this$0).updateNetworkSelectionStatus(ClientModeImpl.access$5800(this.this$0).networkId,·n4);
242 ····························}242 ····························}
243 ························}243 ························}
244 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n2,·n5);244 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n2,·n5);
245 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2300(this.this$0));245 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));
246 ························break;246 ························break;
247 ····················}247 ····················}
248 ····················break;248 ····················break;
249 ················}249 ················}
250 ················case·147463:·{250 ················case·147463:·{
251 ····················ClientModeImpl.access$4300(this.this$0);251 ····················ClientModeImpl.access$4400(this.this$0);
252 ····················ClientModeImpl.access$3200(this.this$0).captureBugReportData(n5);252 ····················ClientModeImpl.access$3300(this.this$0).captureBugReportData(n5);
253 ····················final·int·arg4·=·message.arg1;253 ····················final·int·arg4·=·message.arg1;
254 ····················final·WifiConfiguration·configuredNetwork·=·ClientModeImpl.access$4600(this.this$0).getConfiguredNetwork(ClientModeImpl.access$400(this.this$0));254 ····················final·WifiConfiguration·configuredNetwork·=·ClientModeImpl.access$4700(this.this$0).getConfiguredNetwork(ClientModeImpl.access$400(this.this$0));
255 ····················final·ClientModeImpl·this$2·=·this.this$0;255 ····················final·ClientModeImpl·this$2·=·this.this$0;
256 ····················final·boolean·access$8302·=·ClientModeImpl.access$4900(this$2,·ClientModeImpl.access$400(this$2),·arg4);256 ····················final·boolean·access$8302·=·ClientModeImpl.access$5000(this$2,·ClientModeImpl.access$400(this$2),·arg4);
257 ····················final·int·n10·=·3;257 ····················final·int·n10·=·3;
258 ····················int·n11·=·0;258 ····················int·n11·=·0;
259 ····················Label_1934:·{259 ····················Label_1899:·{
260 ························if·(access$8302)·{260 ························if·(access$8302)·{
261 ····························n11·=·8;261 ····························n11·=·8;
262 ····························if·(configuredNetwork·!=·null)·{262 ····························if·(configuredNetwork·!=·null)·{
263 ································ClientModeImpl.access$5000(this.this$0).onWrongPasswordError(configuredNetwork.SSID);263 ································ClientModeImpl.access$5100(this.this$0).onWrongPasswordError(configuredNetwork.SSID);
264 ····························}264 ····························}
265 ························}265 ························}
266 ························else·{266 ························else·{
267 ····························if·(arg4·==·n10)·{267 ····························if·(arg4·==·n10)·{
268 ································final·int·arg5·=·message.arg2;268 ································final·int·arg5·=·message.arg2;
269 ································if·(configuredNetwork·!=·null)·{269 ································if·(configuredNetwork·!=·null)·{
270 ····································final·WifiEnterpriseConfig·enterpriseConfig·=·configuredNetwork.enterpriseConfig;270 ····································final·WifiEnterpriseConfig·enterpriseConfig·=·configuredNetwork.enterpriseConfig;
271 ····································if·(enterpriseConfig·!=·null·&&·enterpriseConfig.isAuthenticationSimBased())·{271 ····································if·(enterpriseConfig·!=·null·&&·enterpriseConfig.isAuthenticationSimBased())·{
272 ········································ClientModeImpl.access$5100(this.this$0).onEapFailure(arg5,·configuredNetwork);272 ········································ClientModeImpl.access$5200(this.this$0).onEapFailure(arg5,·configuredNetwork);
273 ····································}273 ····································}
274 ································}274 ································}
275 ································final·ClientModeImpl·this$3·=·this.this$0;275 ································final·ClientModeImpl·this$3·=·this.this$0;
276 ································ClientModeImpl.access$5200(this$3,·ClientModeImpl.access$400(this$3),·arg5);276 ································ClientModeImpl.access$5300(this$3,·ClientModeImpl.access$400(this$3),·arg5);
277 ································if·(arg5·==·1031)·{277 ································if·(arg5·==·1031)·{
278 ····································n11·=·9;278 ····································n11·=·9;
279 ····································break·Label_1934;279 ····································break·Label_1899;
280 ································}280 ································}
281 ····························}281 ····························}
282 ····························n11·=·n5;282 ····························n11·=·n5;
283 ························}283 ························}
284 ····················}284 ····················}
285 ····················ClientModeImpl.access$4600(this.this$0).updateNetworkSelectionStatus(ClientModeImpl.access$400(this.this$0),·n11);285 ····················ClientModeImpl.access$4700(this.this$0).updateNetworkSelectionStatus(ClientModeImpl.access$400(this.this$0),·n11);
286 ····················ClientModeImpl.access$4600(this.this$0).clearRecentFailureReason(ClientModeImpl.access$400(this.this$0));286 ····················ClientModeImpl.access$4700(this.this$0).clearRecentFailureReason(ClientModeImpl.access$400(this.this$0));
287 ····················if·(arg4·!=·0)·{287 ····················if·(arg4·!=·0)·{
288 ························if·(arg4·!=·n6)·{288 ························if·(arg4·!=·n6)·{
289 ····························if·(arg4·!=·n5)·{289 ····························if·(arg4·!=·n5)·{
290 ································if·(arg4·!=·n10)·{290 ································if·(arg4·!=·n10)·{
291 ····································n3·=·0;291 ····································n3·=·0;
292 ································}292 ································}
293 ····························}293 ····························}
Offset 298, 155 lines modifiedOffset 298, 159 lines modified
298 ························else·{298 ························else·{
299 ····························n3·=·n5;299 ····························n3·=·n5;
300 ························}300 ························}
301 ····················}301 ····················}
302 ····················else·{302 ····················else·{
303 ························n3·=·n6;303 ························n3·=·n6;
304 ····················}304 ····················}
305 ····················ClientModeImpl.access$4700(this.this$0,·n10,·n6,·n3);305 ····················ClientModeImpl.access$4800(this.this$0,·n10,·n6,·n3);
306 ····················if·(arg4·!=·n5·&&·arg4·!=·n10)·{306 ····················if·(arg4·!=·n5·&&·arg4·!=·n10)·{
307 ························final·WifiLastResortWatchdog·wifiLastResortWatchdog·=·ClientModeImpl.access$3600(this.this$0).getWifiLastResortWatchdog();307 ························final·WifiLastResortWatchdog·wifiLastResortWatchdog·=·ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog();
308 ························final·String·access$8303·=·ClientModeImpl.access$4800(this.this$0);308 ························final·String·access$8303·=·ClientModeImpl.access$4900(this.this$0);
309 ························String·s7;309 ························String·s7;
310 ························if·(ClientModeImpl.access$5300(this.this$0)·==·null)·{310 ························if·(ClientModeImpl.access$5400(this.this$0)·==·null)·{
311 ····························s7·=·ClientModeImpl.access$4500(this.this$0);311 ····························s7·=·ClientModeImpl.access$4600(this.this$0);
312 ························}312 ························}
313 ························else·{313 ························else·{
314 ····························s7·=·ClientModeImpl.access$5300(this.this$0);314 ····························s7·=·ClientModeImpl.access$5400(this.this$0);
315 ························}315 ························}
316 ························wifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(access$8303,·s7,·n5);316 ························wifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(access$8303,·s7,·n5);
317 ························break;317 ························break;
318 ····················}318 ····················}
319 ····················break;319 ····················break;
320 ················}320 ················}
321 ················case·147462:·{321 ················case·147462:·{
322 ····················final·SupplicantState·access$8304·=·ClientModeImpl.access$5400(this.this$0,·message);322 ····················final·SupplicantState·access$8304·=·ClientModeImpl.access$5500(this.this$0,·message);
323 ····················if·(access$8304·==·SupplicantState.DISCONNECTED·&&·ClientModeImpl.access$3100(this.this$0)·!=·null)·{323 ····················if·(access$8304·==·SupplicantState.DISCONNECTED·&&·ClientModeImpl.access$3200(this.this$0)·!=·null)·{
324 ························if·(ClientModeImpl.access$800(this.this$0))·{324 ························if·(ClientModeImpl.access$900(this.this$0))·{
325 ····························this.this$0.log("Missed·CTRL-EVENT-DISCONNECTED,·disconnect");325 ····························this.this$0.log("Missed·CTRL-EVENT-DISCONNECTED,·disconnect");
326 ························}326 ························}
327 ························ClientModeImpl.access$5500(this.this$0);327 ························ClientModeImpl.access$5600(this.this$0);
328 ························final·ClientModeImpl·this$4·=·this.this$0;328 ························final·ClientModeImpl·this$4·=·this.this$0;
329 ························((StateMachine)this$4).transitionTo((IState)ClientModeImpl.access$5600(this$4));329 ························((StateMachine)this$4).transitionTo((IState)ClientModeImpl.access$5700(this$4));
330 ····················}330 ····················}
331 ····················if·(access$8304·==·SupplicantState.COMPLETED)·{331 ····················if·(access$8304·==·SupplicantState.COMPLETED)·{
332 ························ClientModeImpl.access$1600(this.this$0).noteIpCheck();332 ························ClientModeImpl.access$1700(this.this$0).noteIpCheck();
333 ························break;333 ························break;
334 ····················}334 ····················}
335 ····················break;335 ····················break;
336 ················}336 ················}
337 ················case·147460:·{337 ················case·147460:·{
338 ····················if·(ClientModeImpl.access$800(this.this$0))·{338 ····················if·(ClientModeImpl.access$900(this.this$0))·{
339 ························this.this$0.log("ConnectModeState:·Network·connection·lost·");339 ························this.this$0.log("ConnectModeState:·Network·connection·lost·");
340 ····················}340 ····················}
341 ····················final·ClientModeImpl·this$5·=·this.this$0;341 ····················final·ClientModeImpl·this$5·=·this.this$0;
342 ····················this$5.clearNetworkCachedDataIfNeeded(ClientModeImpl.access$7700(this$5),·message.arg2);342 ····················this$5.clearNetworkCachedDataIfNeeded(ClientModeImpl.access$7700(this$5),·message.arg2);
343 ····················ClientModeImpl.access$5500(this.this$0);343 ····················ClientModeImpl.access$5600(this.this$0);
344 ····················final·ClientModeImpl·this$6·=·this.this$0;344 ····················final·ClientModeImpl·this$6·=·this.this$0;
345 ····················((StateMachine)this$6).transitionTo((IState)ClientModeImpl.access$5600(this$6));345 ····················((StateMachine)this$6).transitionTo((IState)ClientModeImpl.access$5700(this$6));
346 ····················break;346 ····················break;
347 ················}347 ················}
348 ················case·147518:·{ 
349 ····················ClientModeImpl.access$300(this.this$0).incrementL2ConnectionThroughFilsAuthCount(); 
350 ····················ClientModeImpl.access$6202(this.this$0,·(boolean)(n6·!=·0)); 
351 ················} 
352 ················case·147459:·{348 ················case·147459:·{
353 ····················if·(ClientModeImpl.access$800(this.this$0))·{349 ····················if·(ClientModeImpl.access$900(this.this$0))·{
354 ························this.this$0.log("Network·connection·established");350 ························this.this$0.log("Network·connection·established");
355 ····················}351 ····················}
356 ····················ClientModeImpl.access$502(this.this$0,·message.arg1);352 ····················ClientModeImpl.access$502(this.this$0,·message.arg1);
357 ····················ClientModeImpl.access$4600(this.this$0).clearRecentFailureReason(ClientModeImpl.access$500(this.this$0));353 ····················final·ClientModeImpl·this$7·=·this.this$0;
358 ····················ClientModeImpl.access$5302(this.this$0,·(String)message.obj);354 ····················if·(message.arg2·==·n6)·{
 355 ························access$8300·=·n6;
 356 ····················}
 357 ····················ClientModeImpl.access$6302(this$7,·(boolean)(access$8300·!=·0));
 358 ····················if·(ClientModeImpl.access$6300(this.this$0))·{
 359 ························ClientModeImpl.access$300(this.this$0).incrementL2ConnectionThroughFilsAuthCount();
 360 ····················}
 361 ····················ClientModeImpl.access$4700(this.this$0).clearRecentFailureReason(ClientModeImpl.access$500(this.this$0));
 362 ····················ClientModeImpl.access$5402(this.this$0,·(String)message.obj);
359 ····················final·int·arg6·=·message.arg2;363 ····················final·int·arg6·=·message.arg2;
360 ····················final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();364 ····················final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();
361 ····················if·(currentWifiConfiguration·!=·null)·{365 ····················if·(currentWifiConfiguration·!=·null)·{
362 ························ClientModeImpl.access$700(this.this$0).setBSSID(ClientModeImpl.access$5300(this.this$0));366 ························ClientModeImpl.access$800(this.this$0).setBSSID(ClientModeImpl.access$5400(this.this$0));
363 ························ClientModeImpl.access$700(this.this$0).setNetworkId(ClientModeImpl.access$500(this.this$0));367 ························ClientModeImpl.access$800(this.this$0).setNetworkId(ClientModeImpl.access$500(this.this$0));
364 ························ClientModeImpl.access$700(this.this$0).setMacAddress(ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2300(this.this$0)));368 ························ClientModeImpl.access$800(this.this$0).setMacAddress(ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2400(this.this$0)));
365 ························final·ScanDetailCache·scanDetailCacheForNetwork2·=·ClientModeImpl.access$4600(this.this$0).getScanDetailCacheForNetwork(currentWifiConfiguration.networkId);369 ························final·ScanDetailCache·scanDetailCacheForNetwork2·=·ClientModeImpl.access$4700(this.this$0).getScanDetailCacheForNetwork(currentWifiConfiguration.networkId);
366 ························if·(scanDetailCacheForNetwork2·!=·null·&&·ClientModeImpl.access$5300(this.this$0)·!=·null)·{370 ························if·(scanDetailCacheForNetwork2·!=·null·&&·ClientModeImpl.access$5400(this.this$0)·!=·null)·{
367 ····························final·ScanResult·scanResult·=·scanDetailCacheForNetwork2.getScanResult(ClientModeImpl.access$5300(this.this$0));371 ····························final·ScanResult·scanResult·=·scanDetailCacheForNetwork2.getScanResult(ClientModeImpl.access$5400(this.this$0));
368 ····························if·(scanResult·!=·null)·{372 ····························if·(scanResult·!=·null)·{
369 ································ClientModeImpl.access$700(this.this$0).setFrequency(scanResult.frequency);373 ································ClientModeImpl.access$800(this.this$0).setFrequency(scanResult.frequency);
370 ····························}374 ····························}
371 ························}375 ························}
372 ························final·WifiEnterpriseConfig·enterpriseConfig2·=·currentWifiConfiguration.enterpriseConfig;376 ························final·WifiEnterpriseConfig·enterpriseConfig2·=·currentWifiConfiguration.enterpriseConfig;
373 ························if·(enterpriseConfig2·!=·null·&&·enterpriseConfig2.isAuthenticationSimBased())·{377 ························if·(enterpriseConfig2·!=·null·&&·enterpriseConfig2.isAuthenticationSimBased())·{
374 ····························final·ClientModeImpl·this$7·=·this.this$0; 
375 ····························ClientModeImpl.access$7402(this$7,·ClientModeImpl.access$5800(this$7).getBestMatchSubscriptionId(currentWifiConfiguration)); 
376 ····························final·ClientModeImpl·this$8·=·this.this$0;378 ····························final·ClientModeImpl·this$8·=·this.this$0;
377 ····························ClientModeImpl.access$7502(this$8,·ClientModeImpl.access$5800(this$8).getCarrierNameforSubId(ClientModeImpl.access$7400(this.this$0)));379 ····························ClientModeImpl.access$7402(this$8,·ClientModeImpl.access$5900(this$8).getBestMatchSubscriptionId(currentWifiConfiguration));
378 ····························String·eapAnonymousIdentity·=·ClientModeImpl.access$600(this.this$0).getEapAnonymousIdentity(ClientModeImpl.access$2300(this.this$0));380 ····························final·ClientModeImpl·this$9·=·this.this$0;
 381 ····························ClientModeImpl.access$7502(this$9,·ClientModeImpl.access$5900(this$9).getCarrierNameforSubId(ClientModeImpl.access$7400(this.this$0)));
 382 ····························String·eapAnonymousIdentity·=·ClientModeImpl.access$600(this.this$0).getEapAnonymousIdentity(ClientModeImpl.access$2400(this.this$0));
379 ····························if·(!TextUtils.isEmpty((CharSequence)eapAnonymousIdentity)·&&·!WifiCarrierInfoManager.isAnonymousAtRealmIdentity(eapAnonymousIdentity))·{383 ····························if·(!TextUtils.isEmpty((CharSequence)eapAnonymousIdentity)·&&·!WifiCarrierInfoManager.isAnonymousAtRealmIdentity(eapAnonymousIdentity))·{
380 ································final·String·decoratePseudonymWith3GppRealm·=·ClientModeImpl.access$5800(this.this$0).decoratePseudonymWith3GppRealm(currentWifiConfiguration,·eapAnonymousIdentity);384 ································final·String·decoratePseudonymWith3GppRealm·=·ClientModeImpl.access$5900(this.this$0).decoratePseudonymWith3GppRealm(currentWifiConfiguration,·eapAnonymousIdentity);
381 ································if·(decoratePseudonymWith3GppRealm·!=·null)·{385 ································if·(decoratePseudonymWith3GppRealm·!=·null)·{
382 ····································eapAnonymousIdentity·=·decoratePseudonymWith3GppRealm;386 ····································eapAnonymousIdentity·=·decoratePseudonymWith3GppRealm;
383 ································}387 ································}
384 ································if·(ClientModeImpl.access$800(this.this$0))·{388 ································if·(ClientModeImpl.access$900(this.this$0))·{
385 ····································final·ClientModeImpl·this$9·=·this.this$0;389 ····································final·ClientModeImpl·this$10·=·this.this$0;
386 ····································final·StringBuilder·sb5·=·new·StringBuilder();390 ····································final·StringBuilder·sb5·=·new·StringBuilder();
387 ····································sb5.append("EAP·Pseudonym:·");391 ····································sb5.append("EAP·Pseudonym:·");
388 ····································sb5.append(eapAnonymousIdentity);392 ····································sb5.append(eapAnonymousIdentity);
389 ····································this$9.log(sb5.toString());393 ····································this$10.log(sb5.toString());
390 ································}394 ································}
391 ································currentWifiConfiguration.enterpriseConfig.setAnonymousIdentity(eapAnonymousIdentity);395 ································currentWifiConfiguration.enterpriseConfig.setAnonymousIdentity(eapAnonymousIdentity);
392 ····························}396 ····························}
393 ····························else·{397 ····························else·{
394 ································currentWifiConfiguration.enterpriseConfig.setAnonymousIdentity((String)null);398 ································currentWifiConfiguration.enterpriseConfig.setAnonymousIdentity((String)null);
395 ····························}399 ····························}
396 ····························ClientModeImpl.access$4600(this.this$0).addOrUpdateNetwork(currentWifiConfiguration,·1010);400 ····························ClientModeImpl.access$4700(this.this$0).addOrUpdateNetwork(currentWifiConfiguration,·1010);
397 ························}401 ························}
398 ························final·ClientModeImpl·this$10·=·this.this$0;402 ························final·ClientModeImpl·this$11·=·this.this$0;
399 ························((StateMachine)this$10).transitionTo((IState)ClientModeImpl.access$7200(this$10));403 ························((StateMachine)this$11).transitionTo((IState)ClientModeImpl.access$7200(this$11));
400 ························break;404 ························break;
401 ····················}405 ····················}
402 ····················final·ClientModeImpl·this$11·=·this.this$0;406 ····················final·ClientModeImpl·this$12·=·this.this$0;
403 ····················final·StringBuilder·sb6·=·new·StringBuilder();407 ····················final·StringBuilder·sb6·=·new·StringBuilder();
404 ····················sb6.append("Connected·to·unknown·networkId·");408 ····················sb6.append("Connected·to·unknown·networkId·");
405 ····················sb6.append(ClientModeImpl.access$500(this.this$0));409 ····················sb6.append(ClientModeImpl.access$500(this.this$0));
406 ····················sb6.append(",·disconnecting...");410 ····················sb6.append(",·disconnecting...");
407 ····················ClientModeImpl.access$7600(this$11,·sb6.toString());411 ····················ClientModeImpl.access$7600(this$12,·sb6.toString());
408 ····················((StateMachine)this.this$0).sendMessage(131145);412 ····················((StateMachine)this.this$0).sendMessage(131145);
409 ····················break;413 ····················break;
410 ················}414 ················}
411 ················case·143372:·{415 ················case·143372:·{
412 ····················if·(message.arg1·==·n6)·{416 ····················if·(message.arg1·==·n6)·{
413 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n2,·n4);417 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n2,·n4);
414 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2300(this.this$0));418 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));
415 ························ClientModeImpl.access$2602(this.this$0,·(boolean)(n6·!=·0));419 ························ClientModeImpl.access$2702(this.this$0,·(boolean)(n6·!=·0));
416 ························break;420 ························break;
417 ····················}421 ····················}
418 ····················ClientModeImpl.access$600(this.this$0).reconnect(ClientModeImpl.access$2300(this.this$0));422 ····················ClientModeImpl.access$600(this.this$0).reconnect(ClientModeImpl.access$2400(this.this$0));
419 ····················ClientModeImpl.access$2602(this.this$0,·false);423 ····················ClientModeImpl.access$2702(this.this$0,·false);
420 ····················break;424 ····················break;
421 ················}425 ················}
422 ················case·131334:·{426 ················case·131334:·{
423 ····················ClientModeImpl.access$300(this.this$0).incrementConnectRequestWithFilsAkmCount();427 ····················ClientModeImpl.access$300(this.this$0).incrementConnectRequestWithFilsAkmCount();
424 ····················final·List·list·=·(List)message.obj;428 ····················final·List·list·=·(List)message.obj;
425 ····················if·(ClientModeImpl.access$800(this.this$0))·{429 ····················if·(ClientModeImpl.access$900(this.this$0))·{
426 ························Log.d(s2,·"Send·HLP·IEs·to·supplicant");430 ························Log.d(s2,·"Send·HLP·IEs·to·supplicant");
427 ····················}431 ····················}
428 ····················this.this$0.addLayer2PacketsToHlpReq(list);432 ····················this.this$0.addLayer2PacketsToHlpReq(list);
429 ····················this.this$0.connectToNetwork(ClientModeImpl.access$5700(this.this$0));433 ····················this.this$0.connectToNetwork(ClientModeImpl.access$5800(this.this$0));
430 ····················break;434 ····················break;
431 ················}435 ················}
432 ················case·131331:·{436 ················case·131331:·{
433 ····················final·int·arg7·=·message.arg2;437 ····················final·int·arg7·=·message.arg2;
434 ····················final·NetworkUpdateResult·networkUpdateResult·=·(NetworkUpdateResult)message.obj;438 ····················final·NetworkUpdateResult·networkUpdateResult·=·(NetworkUpdateResult)message.obj;
435 ····················final·int·networkId·=·networkUpdateResult.getNetworkId();439 ····················final·int·networkId·=·networkUpdateResult.getNetworkId();
436 ····················final·int·networkId2·=·((WifiInfo)ClientModeImpl.access$700(this.this$0)).getNetworkId();440 ····················final·int·networkId2·=·((WifiInfo)ClientModeImpl.access$800(this.this$0)).getNetworkId();
437 ····················final·String·s8·=·"CMD_SAVE_NETWORK·credential·changed·for·nid=";441 ····················final·String·s8·=·"CMD_SAVE_NETWORK·credential·changed·for·nid=";
438 ····················if·(networkId2·==·networkId)·{442 ····················if·(networkId2·==·networkId)·{
439 ························if·(networkUpdateResult.hasCredentialChanged())·{443 ························if·(networkUpdateResult.hasCredentialChanged())·{
440 ····························final·ClientModeImpl·this$12·=·this.this$0;444 ····························final·ClientModeImpl·this$13·=·this.this$0;
441 ····························final·StringBuilder·sb7·=·new·StringBuilder();445 ····························final·StringBuilder·sb7·=·new·StringBuilder();
442 ····························sb7.append(s8);446 ····························sb7.append(s8);
443 ····························sb7.append(networkId);447 ····························sb7.append(networkId);
444 ····························sb7.append(".·Reconnecting.");448 ····························sb7.append(".·Reconnecting.");
445 ····························ClientModeImpl.access$7100(this$12,·sb7.toString());449 ····························ClientModeImpl.access$7100(this$13,·sb7.toString());
446 ····························this.this$0.startConnectToNetwork(networkId,·message.sendingUid,·s);450 ····························this.this$0.startConnectToNetwork(networkId,·message.sendingUid,·s);
447 ························}451 ························}
448 ························else·{452 ························else·{
449 ····························if·(networkUpdateResult.hasProxyChanged()·&&·ClientModeImpl.access$200(this.this$0)·!=·null)·{453 ····························if·(networkUpdateResult.hasProxyChanged()·&&·ClientModeImpl.access$200(this.this$0)·!=·null)·{
450 ································this.this$0.log("Reconfiguring·proxy·on·connection");454 ································this.this$0.log("Reconfiguring·proxy·on·connection");
451 ································final·WifiConfiguration·currentWifiConfiguration2·=·this.this$0.getCurrentWifiConfiguration();455 ································final·WifiConfiguration·currentWifiConfiguration2·=·this.this$0.getCurrentWifiConfiguration();
452 ································if·(currentWifiConfiguration2·!=·null)·{456 ································if·(currentWifiConfiguration2·!=·null)·{
Offset 455, 214 lines modifiedOffset 459, 214 lines modified
455 ································else·{459 ································else·{
456 ····································Log.w(s2,·"CMD_SAVE_NETWORK·proxy·change·-·but·no·current·Wi-Fi·config");460 ····································Log.w(s2,·"CMD_SAVE_NETWORK·proxy·change·-·but·no·current·Wi-Fi·config");
457 ································}461 ································}
458 ····························}462 ····························}
459 ····························if·(networkUpdateResult.hasIpChanged())·{463 ····························if·(networkUpdateResult.hasIpChanged())·{
460 ································this.this$0.log("Reconfiguring·IP·on·connection");464 ································this.this$0.log("Reconfiguring·IP·on·connection");
461 ································if·(this.this$0.getCurrentWifiConfiguration()·!=·null)·{465 ································if·(this.this$0.getCurrentWifiConfiguration()·!=·null)·{
462 ····································final·ClientModeImpl·this$13·=·this.this$0;466 ····································final·ClientModeImpl·this$14·=·this.this$0;
463 ····································((StateMachine)this$13).transitionTo((IState)ClientModeImpl.access$7200(this$13));467 ····································((StateMachine)this$14).transitionTo((IState)ClientModeImpl.access$7200(this$14));
464 ································}468 ································}
465 ································else·{469 ································else·{
466 ····································Log.w(s2,·"CMD_SAVE_NETWORK·Ip·change·-·but·no·current·Wi-Fi·config");470 ····································Log.w(s2,·"CMD_SAVE_NETWORK·Ip·change·-·but·no·current·Wi-Fi·config");
467 ································}471 ································}
468 ····························}472 ····························}
469 ························}473 ························}
470 ····················}474 ····················}
471 ····················else·if·(((WifiInfo)ClientModeImpl.access$700(this.this$0)).getNetworkId()·==·n·&&·networkUpdateResult.hasCredentialChanged())·{475 ····················else·if·(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getNetworkId()·==·n·&&·networkUpdateResult.hasCredentialChanged())·{
472 ························final·ClientModeImpl·this$14·=·this.this$0;476 ························final·ClientModeImpl·this$15·=·this.this$0;
473 ························final·StringBuilder·sb8·=·new·StringBuilder();477 ························final·StringBuilder·sb8·=·new·StringBuilder();
474 ························sb8.append(s8);478 ························sb8.append(s8);
475 ························sb8.append(networkId);479 ························sb8.append(networkId);
476 ························sb8.append("·while·disconnected.·Connecting.");480 ························sb8.append("·while·disconnected.·Connecting.");
477 ························ClientModeImpl.access$7300(this$14,·sb8.toString());481 ························ClientModeImpl.access$7300(this$15,·sb8.toString());
478 ························this.this$0.startConnectToNetwork(networkId,·message.sendingUid,·s);482 ························this.this$0.startConnectToNetwork(networkId,·message.sendingUid,·s);
479 ····················}483 ····················}
480 ····················ClientModeImpl.access$2200(this.this$0,·arg7);484 ····················ClientModeImpl.access$2300(this.this$0,·arg7);
481 ····················break;485 ····················break;
482 ················}486 ················}
483 ················case·131330:·{487 ················case·131330:·{
484 ····················final·int·arg8·=·message.arg2;488 ····················final·int·arg8·=·message.arg2;
485 ····················final·NetworkUpdateResult·networkUpdateResult2·=·(NetworkUpdateResult)message.obj;489 ····················final·NetworkUpdateResult·networkUpdateResult2·=·(NetworkUpdateResult)message.obj;
486 ····················final·int·networkId3·=·networkUpdateResult2.getNetworkId();490 ····················final·int·networkId3·=·networkUpdateResult2.getNetworkId();
487 ····················ClientModeImpl.access$7000(this.this$0,·networkId3,·message.sendingUid,·networkUpdateResult2.hasCredentialChanged());491 ····················ClientModeImpl.access$7000(this.this$0,·networkId3,·message.sendingUid,·networkUpdateResult2.hasCredentialChanged());
488 ····················ClientModeImpl.access$300(this.this$0).logStaEvent(13,·ClientModeImpl.access$4600(this.this$0).getConfiguredNetwork(networkId3));492 ····················ClientModeImpl.access$300(this.this$0).logStaEvent(13,·ClientModeImpl.access$4700(this.this$0).getConfiguredNetwork(networkId3));
489 ····················ClientModeImpl.access$2200(this.this$0,·arg8);493 ····················ClientModeImpl.access$2300(this.this$0,·arg8);
490 ····················break;494 ····················break;
491 ················}495 ················}
492 ················case·131326:·{496 ················case·131326:·{
493 ····················ClientModeImpl.access$2900(this.this$0,·message,·message.what,·(int)(ClientModeImpl.access$5900(this.this$0).startSubscriptionProvisioning(message.arg1,·(OsuProvider)message.getData().getParcelable("OsuProvider"),·(IProvisioningCallback)message.obj)·?·1·:·0));497 ····················ClientModeImpl.access$3000(this.this$0,·message,·message.what,·(int)(ClientModeImpl.access$6000(this.this$0).startSubscriptionProvisioning(message.arg1,·(OsuProvider)message.getData().getParcelable("OsuProvider"),·(IProvisioningCallback)message.obj)·?·1·:·0));
494 ····················break;498 ····················break;
495 ················}499 ················}
496 ················case·131276:·{500 ················case·131276:·{
497 ····················if·(message.arg1·>·0)·{501 ····················if·(message.arg1·>·0)·{
498 ························access$8300·=·n6;502 ························access$8300·=·n6;
499 ····················}503 ····················}
500 ····················ClientModeImpl.access$600(this.this$0).configureNeighborDiscoveryOffload(ClientModeImpl.access$2300(this.this$0),·(boolean)(access$8300·!=·0));504 ····················ClientModeImpl.access$600(this.this$0).configureNeighborDiscoveryOffload(ClientModeImpl.access$2400(this.this$0),·(boolean)(access$8300·!=·0));
501 ····················break;505 ····················break;
502 ················}506 ················}
503 ················case·131233:·{507 ················case·131233:·{
504 ····················final·int·arg9·=·message.arg1;508 ····················final·int·arg9·=·message.arg1;
505 ····················final·int·access$8305·=·ClientModeImpl.access$8100(this.this$0,·arg9);509 ····················final·int·access$8305·=·ClientModeImpl.access$8100(this.this$0,·arg9);
506 ····················if·(ClientModeImpl.access$3100(this.this$0)·!=·null)·{510 ····················if·(ClientModeImpl.access$3200(this.this$0)·!=·null)·{
507 ························((NetworkAgent)ClientModeImpl.access$3100(this.this$0)).sendSocketKeepaliveEvent(arg9,·access$8305);511 ························((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).sendSocketKeepaliveEvent(arg9,·access$8305);
508 ························break;512 ························break;
509 ····················}513 ····················}
510 ····················break;514 ····················break;
511 ················}515 ················}
512 ················case·131217:·{516 ················case·131217:·{
513 ····················ClientModeImpl.access$3002(this.this$0,·-5);517 ····················ClientModeImpl.access$3102(this.this$0,·-5);
514 ····················break;518 ····················break;
515 ················}519 ················}
516 ················case·131215:·{520 ················case·131215:·{
517 ····················final·int·arg10·=·message.arg1;521 ····················final·int·arg10·=·message.arg1;
518 ····················final·int·arg11·=·message.arg2;522 ····················final·int·arg11·=·message.arg2;
519 ····················final·String·s9·=·(String)message.obj;523 ····················final·String·s9·=·(String)message.obj;
520 ····················ClientModeImpl.access$6202(this.this$0,·false);524 ····················ClientModeImpl.access$6302(this.this$0,·false);
521 ····················if·(!ClientModeImpl.access$6300(this.this$0))·{525 ····················if·(!ClientModeImpl.access$6400(this.this$0))·{
522 ························if·(ClientModeImpl.access$3100(this.this$0)·==·null)·{526 ························if·(ClientModeImpl.access$3200(this.this$0)·==·null)·{
523 ····························this.this$0.loge("CMD_START_CONNECT·but·no·requests·and·not·connected,·bailing");527 ····························this.this$0.loge("CMD_START_CONNECT·but·no·requests·and·not·connected,·bailing");
524 ····························break;528 ····························break;
525 ························}529 ························}
526 ························if·(!ClientModeImpl.access$6400(this.this$0).checkNetworkSettingsPermission(arg11))·{530 ························if·(!ClientModeImpl.access$6500(this.this$0).checkNetworkSettingsPermission(arg11))·{
527 ····························this.this$0.loge("CMD_START_CONNECT·but·no·requests·and·connected,·but·app·does·not·have·sufficient·permissions,·bailing");531 ····························this.this$0.loge("CMD_START_CONNECT·but·no·requests·and·connected,·but·app·does·not·have·sufficient·permissions,·bailing");
528 ····························break;532 ····························break;
529 ························}533 ························}
530 ····················}534 ····················}
531 ····················final·WifiConfiguration·configuredNetworkWithoutMasking·=·ClientModeImpl.access$4600(this.this$0).getConfiguredNetworkWithoutMasking(arg10);535 ····················final·WifiConfiguration·configuredNetworkWithoutMasking·=·ClientModeImpl.access$4700(this.this$0).getConfiguredNetworkWithoutMasking(arg10);
532 ····················final·ClientModeImpl·this$15·=·this.this$0;536 ····················final·ClientModeImpl·this$16·=·this.this$0;
533 ····················final·StringBuilder·sb9·=·new·StringBuilder();537 ····················final·StringBuilder·sb9·=·new·StringBuilder();
534 ····················sb9.append("CMD_START_CONNECT··my·state·");538 ····················sb9.append("CMD_START_CONNECT··my·state·");
535 ····················sb9.append(((StateMachine)this.this$0).getCurrentState().getName());539 ····················sb9.append(((StateMachine)this.this$0).getCurrentState().getName());
536 ····················sb9.append("·nid=");540 ····················sb9.append("·nid=");
537 ····················sb9.append(Integer.toString(arg10));541 ····················sb9.append(Integer.toString(arg10));
538 ····················sb9.append("·roam=");542 ····················sb9.append("·roam=");
539 ····················sb9.append(Boolean.toString(ClientModeImpl.access$6500(this.this$0)));543 ····················sb9.append(Boolean.toString(ClientModeImpl.access$6600(this.this$0)));
540 ····················this$15.logd(sb9.toString());544 ····················this$16.logd(sb9.toString());
541 ····················if·(configuredNetworkWithoutMasking·==·null)·{545 ····················if·(configuredNetworkWithoutMasking·==·null)·{
542 ························this.this$0.loge("CMD_START_CONNECT·and·no·config,·bail·out...");546 ························this.this$0.loge("CMD_START_CONNECT·and·no·config,·bail·out...");
543 ························break;547 ························break;
544 ····················}548 ····················}
545 ····················ClientModeImpl.access$402(this.this$0,·arg10);549 ····················ClientModeImpl.access$402(this.this$0,·arg10);
546 ····················ClientModeImpl.access$3900(this.this$0).noteConnectionAttempt(ClientModeImpl.access$700(this.this$0),·ClientModeImpl.access$4600(this.this$0).findScanRssi(arg10,·ClientModeImpl.access$4000(this.this$0).getScanRssiValidTimeMs()),·configuredNetworkWithoutMasking.SSID);550 ····················ClientModeImpl.access$4000(this.this$0).noteConnectionAttempt(ClientModeImpl.access$800(this.this$0),·ClientModeImpl.access$4700(this.this$0).findScanRssi(arg10,·ClientModeImpl.access$4100(this.this$0).getScanRssiValidTimeMs()),·configuredNetworkWithoutMasking.SSID);
547 ····················ClientModeImpl.access$6600(this.this$0).updateFirmwareRoamingConfiguration(configuredNetworkWithoutMasking.SSID);551 ····················ClientModeImpl.access$700(this.this$0).updateFirmwareRoamingConfiguration(configuredNetworkWithoutMasking.SSID);
548 ····················this.this$0.updateWifiConfigOnStartConnection(configuredNetworkWithoutMasking,·s9);552 ····················this.this$0.updateWifiConfigOnStartConnection(configuredNetworkWithoutMasking,·s9);
549 ····················final·ClientModeImpl·this$16·=·this.this$0;553 ····················final·ClientModeImpl·this$17·=·this.this$0;
550 ····················ClientModeImpl.access$6700(this$16,·configuredNetworkWithoutMasking,·ClientModeImpl.access$4500(this$16),·n4);554 ····················ClientModeImpl.access$6700(this$17,·configuredNetworkWithoutMasking,·ClientModeImpl.access$4600(this$17),·n4);
551 ····················final·String·macAddress·=·ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2300(this.this$0));555 ····················final·String·macAddress·=·ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2400(this.this$0));
552 ····················ClientModeImpl.access$700(this.this$0).setMacAddress(macAddress);556 ····················ClientModeImpl.access$800(this.this$0).setMacAddress(macAddress);
553 ····················final·StringBuilder·sb10·=·new·StringBuilder();557 ····················final·StringBuilder·sb10·=·new·StringBuilder();
554 ····················sb10.append("Connecting·with·");558 ····················sb10.append("Connecting·with·");
555 ····················sb10.append(macAddress);559 ····················sb10.append(macAddress);
556 ····················sb10.append("·as·the·mac·address");560 ····················sb10.append("·as·the·mac·address");
557 ····················Log.i(s2,·sb10.toString());561 ····················Log.i(s2,·sb10.toString());
558 ····················ClientModeImpl.access$5702(this.this$0,·configuredNetworkWithoutMasking);562 ····················ClientModeImpl.access$5802(this.this$0,·configuredNetworkWithoutMasking);
559 ····················if·((configuredNetworkWithoutMasking.allowedKeyManagement.get(n2)·||·configuredNetworkWithoutMasking.allowedKeyManagement.get(16))·&&·ClientModeImpl.access$6800(this.this$0,·configuredNetworkWithoutMasking,·(boolean)(n6·!=·0)))·{563 ····················if·((configuredNetworkWithoutMasking.allowedKeyManagement.get(n2)·||·configuredNetworkWithoutMasking.allowedKeyManagement.get(16))·&&·ClientModeImpl.access$6800(this.this$0,·configuredNetworkWithoutMasking,·(boolean)(n6·!=·0)))·{
560 ························ClientModeImpl.access$6902(this.this$0,·(boolean)(n6·!=·0));564 ························ClientModeImpl.access$6902(this.this$0,·(boolean)(n6·!=·0));
561 ························break;565 ························break;
562 ····················}566 ····················}
563 ····················this.this$0.connectToNetwork(configuredNetworkWithoutMasking);567 ····················this.this$0.connectToNetwork(configuredNetworkWithoutMasking);
564 ····················break;568 ····················break;
565 ················}569 ················}
566 ················case·131210:570 ················case·131210:
567 ················case·131272:571 ················case·131272:
568 ················case·131273:572 ················case·131273:
569 ················case·131327:573 ················case·131327:
570 ················case·131328:574 ················case·131328:
571 ················case·131329:·{575 ················case·131329:·{
572 ····················access$8300·=·(ClientModeImpl.access$8300(this.this$0,·message)·?·1·:·0);576 ····················access$8300·=·(ClientModeImpl.access$8300(this.this$0,·message)·?·1·:·0);
573 ····················break·Label_5289;577 ····················break·Label_5313;
574 ················}578 ················}
575 ················case·131176:·{579 ················case·131176:·{
576 ····················ClientModeImpl.access$5900(this.this$0).queryPasspointIcon(((Bundle)message.obj).getLong("BSSID"),·((Bundle)message.obj).getString("FILENAME"));580 ····················ClientModeImpl.access$6000(this.this$0).queryPasspointIcon(((Bundle)message.obj).getLong("BSSID"),·((Bundle)message.obj).getString("FILENAME"));
577 ····················break;581 ····················break;
578 ················}582 ················}
579 ················case·131173:·{583 ················case·131173:·{
580 ····················this.this$0.log("resetting·EAP-SIM/AKA/AKA'·networks·since·SIM·was·changed");584 ····················this.this$0.log("resetting·EAP-SIM/AKA/AKA'·networks·since·SIM·was·changed");
581 ····················final·int·arg12·=·message.arg1;585 ····················final·int·arg12·=·message.arg1;
582 ····················if·(arg12·==·n6)·{586 ····················if·(arg12·==·n6)·{
583 ························ClientModeImpl.access$7800(this.this$0).dismissSimRequiredNotification();587 ························ClientModeImpl.access$7800(this.this$0).dismissSimRequiredNotification();
584 ····················}588 ····················}
585 ····················else·{589 ····················else·{
586 ························ClientModeImpl.access$4600(this.this$0).resetSimNetworks();590 ························ClientModeImpl.access$4700(this.this$0).resetSimNetworks();
587 ····················}591 ····················}
588 ····················if·(arg12·!=·n5)·{592 ····················if·(arg12·!=·n5)·{
589 ························ClientModeImpl.access$7900(this.this$0).resetCarrierPrivilegedApps();593 ························ClientModeImpl.access$7900(this.this$0).resetCarrierPrivilegedApps();
590 ························break;594 ························break;
591 ····················}595 ····················}
592 ····················break;596 ····················break;
593 ················}597 ················}
594 ················case·131164:·{598 ················case·131164:·{
595 ····················final·Object·obj2·=·message.obj;599 ····················final·Object·obj2·=·message.obj;
596 ····················if·(obj2·!=·null)·{600 ····················if·(obj2·!=·null)·{
597 ························final·String·s10·=·(String)obj2;601 ························final·String·s10·=·(String)obj2;
598 ························if·(message.arg1·==·n6)·{602 ························if·(message.arg1·==·n6)·{
599 ····························access$8300·=·n6;603 ····························access$8300·=·n6;
600 ························}604 ························}
601 ························ClientModeImpl.access$600(this.this$0).startTdls(ClientModeImpl.access$2300(this.this$0),·s10,·(boolean)(access$8300·!=·0));605 ························ClientModeImpl.access$600(this.this$0).startTdls(ClientModeImpl.access$2400(this.this$0),·s10,·(boolean)(access$8300·!=·0));
602 ························break;606 ························break;
603 ····················}607 ····················}
604 ····················break;608 ····················break;
605 ················}609 ················}
606 ················case·131158:·{610 ················case·131158:·{
607 ····················if·(message.arg1·!=·n6)·{611 ····················if·(message.arg1·!=·n6)·{
608 ························ClientModeImpl.access$8000(this.this$0,·n3,·false);612 ························ClientModeImpl.access$8000(this.this$0,·n3,·false);
609 ························break;613 ························break;
610 ····················}614 ····················}
611 ····················ClientModeImpl.access$8000(this.this$0,·n3,·(boolean)(n6·!=·0));615 ····················ClientModeImpl.access$8000(this.this$0,·n3,·(boolean)(n6·!=·0));
612 ····················if·(message.arg2·==·n6)·{616 ····················if·(message.arg2·==·n6)·{
613 ························ClientModeImpl.access$2000(this.this$0).release();617 ························ClientModeImpl.access$2100(this.this$0).release();
614 ························break;618 ························break;
615 ····················}619 ····················}
616 ····················break;620 ····················break;
617 ················}621 ················}
618 ················case·131149:·{622 ················case·131149:·{
619 ····················if·(message.arg1·==·n6)·{623 ····················if·(message.arg1·==·n6)·{
620 ························ClientModeImpl.access$8000(this.this$0,·n5,·false);624 ························ClientModeImpl.access$8000(this.this$0,·n5,·false);
621 ························break;625 ························break;
622 ····················}626 ····················}
623 ····················ClientModeImpl.access$8000(this.this$0,·n5,·(boolean)(n6·!=·0));627 ····················ClientModeImpl.access$8000(this.this$0,·n5,·(boolean)(n6·!=·0));
624 ····················break;628 ····················break;
625 ················}629 ················}
626 ················case·131147:·{630 ················case·131147:·{
627 ····················final·ClientModeImpl·this$17·=·this.this$0;631 ····················final·ClientModeImpl·this$18·=·this.this$0;
628 ····················ClientModeImpl.access$6002(this$17,·ClientModeImpl.access$6100(this$17).getWallClockMillis());632 ····················ClientModeImpl.access$6102(this$18,·ClientModeImpl.access$6200(this$18).getWallClockMillis());
629 ····················ClientModeImpl.access$600(this.this$0).reassociate(ClientModeImpl.access$2300(this.this$0));633 ····················ClientModeImpl.access$600(this.this$0).reassociate(ClientModeImpl.access$2400(this.this$0));
630 ····················break;634 ····················break;
631 ················}635 ················}
632 ················case·131146:·{636 ················case·131146:·{
633 ····················ClientModeImpl.access$1300(this.this$0).forceConnectivityScan((WorkSource)message.obj);637 ····················ClientModeImpl.access$1400(this.this$0).forceConnectivityScan((WorkSource)message.obj);
634 ····················break;638 ····················break;
635 ················}639 ················}
636 ················case·131135:·{640 ················case·131135:·{
637 ····················ClientModeImpl.access$2400(this.this$0,·message,·message.what,·(Object)this.this$0.getWifiLinkLayerStats());641 ····················ClientModeImpl.access$2500(this.this$0,·message,·message.what,·(Object)this.this$0.getWifiLinkLayerStats());
638 ····················break;642 ····················break;
639 ················}643 ················}
640 ················case·131104:·{644 ················case·131104:·{
641 ····················final·ClientModeImpl·this$18·=·this.this$0;645 ····················final·ClientModeImpl·this$19·=·this.this$0;
642 ····················if·(message.arg1·!=·0)·{646 ····················if·(message.arg1·!=·0)·{
643 ························access$8300·=·n6;647 ························access$8300·=·n6;
644 ····················}648 ····················}
645 ····················ClientModeImpl.access$1202(this$18,·(boolean)(access$8300·!=·0));649 ····················ClientModeImpl.access$1302(this$19,·(boolean)(access$8300·!=·0));
646 ····················ClientModeImpl.access$600(this.this$0).setBluetoothCoexistenceScanMode(ClientModeImpl.access$2300(this.this$0),·ClientModeImpl.access$1200(this.this$0));650 ····················ClientModeImpl.access$600(this.this$0).setBluetoothCoexistenceScanMode(ClientModeImpl.access$2400(this.this$0),·ClientModeImpl.access$1300(this.this$0));
647 ····················ClientModeImpl.access$1300(this.this$0).setBluetoothConnected(ClientModeImpl.access$1200(this.this$0));651 ····················ClientModeImpl.access$1400(this.this$0).setBluetoothConnected(ClientModeImpl.access$1300(this.this$0));
648 ····················break;652 ····················break;
649 ················}653 ················}
650 ················case·131103:·{654 ················case·131103:·{
651 ····················final·ClientModeImpl·this$19·=·this.this$0;655 ····················final·ClientModeImpl·this$20·=·this.this$0;
652 ····················if·(ClientModeImpl.access$1200(this$19)·&&·message.arg1·!=·10)·{656 ····················if·(ClientModeImpl.access$1300(this$20)·&&·message.arg1·!=·10)·{
653 ························access$8300·=·n6;657 ························access$8300·=·n6;
654 ····················}658 ····················}
655 ····················ClientModeImpl.access$1202(this$19,·(boolean)(access$8300·!=·0));659 ····················ClientModeImpl.access$1302(this$20,·(boolean)(access$8300·!=·0));
656 ····················ClientModeImpl.access$600(this.this$0).setBluetoothCoexistenceScanMode(ClientModeImpl.access$2300(this.this$0),·ClientModeImpl.access$1200(this.this$0));660 ····················ClientModeImpl.access$600(this.this$0).setBluetoothCoexistenceScanMode(ClientModeImpl.access$2400(this.this$0),·ClientModeImpl.access$1300(this.this$0));
657 ····················ClientModeImpl.access$1300(this.this$0).setBluetoothConnected(ClientModeImpl.access$1200(this.this$0));661 ····················ClientModeImpl.access$1400(this.this$0).setBluetoothConnected(ClientModeImpl.access$1300(this.this$0));
658 ····················break;662 ····················break;
659 ················}663 ················}
660 ············}664 ············}
661 ············access$8300·=·n6;665 ············access$8300·=·n6;
662 ········}666 ········}
663 ········if·(access$8300·==·n6)·{667 ········if·(access$8300·==·n6)·{
664 ············ClientModeImpl.access$3300(this.this$0,·message,·(State)this);668 ············ClientModeImpl.access$3400(this.this$0,·message,·(State)this);
665 ········}669 ········}
666 ········return·access$8300·!=·0;670 ········return·access$8300·!=·0;
667 ····}671 ····}
668 }672 }