Offset 129, 15 lines modifiedOffset 129, 15 lines modified
129 ········this.mContext·=·mContext;129 ········this.mContext·=·mContext;
130 ········this.mIfaceName·=·mIfaceName;130 ········this.mIfaceName·=·mIfaceName;
131 ········this.mWifiMonitor·=·mWifiMonitor;131 ········this.mWifiMonitor·=·mWifiMonitor;
132 ····}132 ····}
133 ····133 ····
134 ····private·BitSet·addFastTransitionFlags(final·BitSet·set)·{134 ····private·BitSet·addFastTransitionFlags(final·BitSet·set)·{
135 ········synchronized·(this.mLock)·{135 ········synchronized·(this.mLock)·{
136 ············if·(!this.mContext.getResources().getBoolean(2130837540))·{136 ············if·(!this.mContext.getResources().getBoolean(2130837539))·{
137 ················return·set;137 ················return·set;
138 ············}138 ············}
139 ············final·BitSet·set2·=·(BitSet)set.clone();139 ············final·BitSet·set2·=·(BitSet)set.clone();
140 ············if·(set.get(1))·{140 ············if·(set.get(1))·{
141 ················set2.set(6);141 ················set2.set(6);
142 ············}142 ············}
143 ············if·(set.get(2))·{143 ············if·(set.get(2))·{
Offset 2197, 300 lines modifiedOffset 2197, 303 lines modified
2197 ········Label_0015:·{2197 ········Label_0015:·{
2198 ············if·(wifiEnterpriseConfig·!=·null)·{2198 ············if·(wifiEnterpriseConfig·!=·null)·{
2199 ················break·Label_0015;2199 ················break·Label_0015;
2200 ············}2200 ············}
2201 ············try·{2201 ············try·{
2202 ················//·monitorexit(mLock)2202 ················//·monitorexit(mLock)
2203 ················return·false;2203 ················return·false;
 2204 ················//·iftrue(Label_0189:,·this.setEapPhase2Method(wifiConfigurationToSupplicantEapPhase2Method(wifiEnterpriseConfig.getPhase2Method())))
 2205 ················//·iftrue(Label_0638:,·TextUtils.isEmpty((CharSequence)fieldValue3)·||·this.setEapCACert(fieldValue3))
 2206 ················//·iftrue(Label_0934:,·empty·||·this.setEapEngine(fieldValue2.equals((Object)"1")·&&·eapErp))
2204 ················//·iftrue(Label_0102:,·this.setEapMethod(wifiConfigurationToSupplicantEapMethod(wifiEnterpriseConfig.getEapMethod())))2207 ················//·iftrue(Label_0102:,·this.setEapMethod(wifiConfigurationToSupplicantEapMethod(wifiEnterpriseConfig.getEapMethod())))
2205 ················//·iftrue(Label_0551:,·TextUtils.isEmpty((CharSequence)fieldValue3)·||·this.setEapClientCert(fieldValue3))2208 ················//·iftrue(Label_1401:,·TextUtils.isEmpty((CharSequence)fieldValue6)·||·this.setEapProactiveKeyCaching(fieldValue6.equals((Object)"1")·&&·eapErp))
2206 ················//·iftrue(Label_0812:,·TextUtils.isEmpty((CharSequence)fieldValue2)·||·this.setEapEngineID(fieldValue2))2209 ················//·iftrue(Label_1544:,·TextUtils.isEmpty((CharSequence)fieldValue8)·||·!fieldValue8.equals((Object)"1")·||·this.setEapErp(eapErp))
2207 ················//·iftrue(Label_1282:,·TextUtils.isEmpty((CharSequence)fieldValue6)·||·this.setEapCAPath(fieldValue6))2210 ················//·iftrue(Label_1282:,·TextUtils.isEmpty((CharSequence)fieldValue9)·||·this.setEapCAPath(fieldValue9))
 2211 ················//·iftrue(Label_1021:,·TextUtils.isEmpty((CharSequence)fieldValue5)·||·this.setEapPrivateKeyId(fieldValue5))
 2212 ················//·iftrue(Label_1108:,·TextUtils.isEmpty((CharSequence)fieldValue4)·||·this.setEapAltSubjectMatch(fieldValue4))
 2213 ················//·iftrue(Label_0725:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setEapSubjectMatch(fieldValue))
 2214 ················//·iftrue(Label_0377:,·TextUtils.isEmpty((CharSequence)fieldValue10)·||·this.setEapAnonymousIdentity(NativeUtil.stringToByteArrayList(fieldValue10)))
 2215 ················//·iftrue(Label_0464:,·TextUtils.isEmpty((CharSequence)fieldValue11)·||·this.setEapPassword(NativeUtil.stringToByteArrayList(fieldValue11)))
2208 ················//·iftrue(Label_1448:,·this.getV1_3StaNetwork()·==·null·||·this.setOcsp(wifiEnterpriseConfig.getOcsp()))2216 ················//·iftrue(Label_1448:,·this.getV1_3StaNetwork()·==·null·||·this.setOcsp(wifiEnterpriseConfig.getOcsp()))
2209 ················//·iftrue(Label_1195:,·TextUtils.isEmpty((CharSequence)fieldValue7)·||·this.setEapDomainSuffixMatch(fieldValue7)) 
2210 ················//·iftrue(Label_0934:,·empty·||·this.setEapEngine(fieldValue5.equals((Object)"1")·&&·eapErp)) 
2211 ················//·iftrue(Label_1021:,·TextUtils.isEmpty((CharSequence)fieldValue4)·||·this.setEapPrivateKeyId(fieldValue4)) 
2212 ················//·iftrue(Label_0638:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setEapCACert(fieldValue))2217 ················//·iftrue(Label_0812:,·TextUtils.isEmpty((CharSequence)fieldValue13)·||·this.setEapEngineID(fieldValue13))
2213 ················//·iftrue(Label_0283:,·TextUtils.isEmpty((CharSequence)fieldValue8)·||·this.setEapIdentity(NativeUtil.stringToByteArrayList(fieldValue8)))2218 ················//·iftrue(Label_0283:,·TextUtils.isEmpty((CharSequence)fieldValue7)·||·this.setEapIdentity(NativeUtil.stringToByteArrayList(fieldValue7)))
2214 ················//·iftrue(Label_0377:,·TextUtils.isEmpty((CharSequence)fieldValue9)·||·this.setEapAnonymousIdentity(NativeUtil.stringToByteArrayList(fieldValue9))) 
2215 ················//·iftrue(Label_1401:,·TextUtils.isEmpty((CharSequence)fieldValue11)·||·this.setEapProactiveKeyCaching(fieldValue11.equals((Object)"1")·&&·eapErp))2219 ················//·iftrue(Label_1195:,·TextUtils.isEmpty((CharSequence)fieldValue12)·||·this.setEapDomainSuffixMatch(fieldValue12))
2216 ················//·iftrue(Label_1544:,·TextUtils.isEmpty((CharSequence)fieldValue12)·||·!fieldValue12.equals((Object)"1")·||·this.setEapErp(eapErp)) 
2217 ················//·iftrue(Label_0725:,·TextUtils.isEmpty((CharSequence)fieldValue13)·||·this.setEapSubjectMatch(fieldValue13))2220 ················//·iftrue(Label_0551:,·TextUtils.isEmpty((CharSequence)fieldValue14)·||·this.setEapClientCert(fieldValue14))
2218 ················//·iftrue(Label_0189:,·this.setEapPhase2Method(wifiConfigurationToSupplicantEapPhase2Method(wifiEnterpriseConfig.getPhase2Method()))) 
2219 ················//·iftrue(Label_1108:,·TextUtils.isEmpty((CharSequence)fieldValue10)·||·this.setEapAltSubjectMatch(fieldValue10)) 
2220 ················//·iftrue(Label_0464:,·TextUtils.isEmpty((CharSequence)fieldValue14)·||·this.setEapPassword(NativeUtil.stringToByteArrayList(fieldValue14))) 
2221 ················Block_3:·{2221 ················Block_4:·{
2222 ····················String·fieldValue11·=·null; 
2223 ····················Block_32:·{2222 ····················Block_34:·{
2224 ························String·fieldValue13·=·null;2223 ························String·fieldValue13·=·null;
2225 ························Block_16:·{2224 ························Block_18:·{
2226 ····························while·(true)·{2225 ····························while·(true)·{
2227 ································String·fieldValue7·=·null;2226 ································String·fieldValue9·=·null;
2228 ································Block_27:·{2227 ································Block_29:·{
2229 ····································while·(true)·{2228 ····································while·(true)·{
 2229 ····································Block_8_Outer:
2230 ········································while·(true)·{2230 ········································while·(true)·{
2231 ········································Block_6_Outer:2231 ············································Block_10:·{
2232 ············································while·(true)·{ 
2233 ················································final·String·fieldValue9; 
2234 ················································Block_8:·{2232 ················································Block_3:·{
2235 ····················································String·fieldValue6·=·null;2233 ····················································String·fieldValue6·=·null;
2236 ····················································Block_29:·{2234 ····················································Block_32:·{
2237 ························································String·fieldValue3·=·null;2235 ························································String·fieldValue3·=·null;
2238 ························································Block_12:·{2236 ························································Block_14:·{
2239 ····························································while·(true)·{2237 ····························································while·(true)·{
2240 ································································String·s2;2238 ································································String·s2;
2241 ································································StringBuilder·sb;2239 ································································StringBuilder·sb;
2242 ································································String·fieldValue·=·null;2240 ································································String·fieldValue·=·null;
2243 ································································boolean·eapErp; 
2244 ································································String·s3;2241 ································································String·s3;
2245 ································································String·s4; 
2246 ································································StringBuilder·sb2;2242 ································································StringBuilder·sb2;
 2243 ································································String·s4;
 2244 ································································StringBuilder·sb3;
2247 ································································String·fieldValue2;2245 ································································String·fieldValue2;
2248 ································································String·s5;2246 ································································String·s5;
2249 ································································StringBuilder·sb3;2247 ································································StringBuilder·sb4;
2250 ································································String·fieldValue4;2248 ································································String·fieldValue4;
 2249 ································································boolean·empty;
 2250 ································································boolean·eapErp;
2251 ································································String·s6;2251 ································································String·s6;
2252 ································································StringBuilder·sb4; 
2253 ································································String·s7; 
2254 ································································StringBuilder·sb5;2252 ································································StringBuilder·sb5;
2255 ································································String·fieldValue5;2253 ································································String·fieldValue5;
2256 ································································String·s8;2254 ································································String·s7;
2257 ································································StringBuilder·sb6;2255 ································································StringBuilder·sb6;
 2256 ································································final·String·fieldValue7;
2258 ································································boolean·empty;2257 ································································String·fieldValue8;
2259 ································································String·s9;2258 ································································String·s8;
2260 ································································StringBuilder·sb7;2259 ································································StringBuilder·sb7;
2261 ································································final·String·fieldValue8;2260 ································································final·String·fieldValue10;
2262 ································································Block_34_Outer:Block_23_Outer:2261 ································································Block_37_Outer:Block_25_Outer:
2263 ································································while·(true)·{2262 ································································while·(true)·{
2264 ····································································s2·=·"SupplicantStaNetworkHal";2263 ····································································s2·=·"SupplicantStaNetworkHal";
2265 ····································································sb·=·new·StringBuilder();2264 ····································································sb·=·new·StringBuilder();
2266 ····································································sb.append(s);2265 ····································································sb.append(s);
2267 ····································································s·=·":·failed·to·set·eap·ca·cert:·";2266 ····································································s·=·":·failed·to·set·eap·subject·match:·";
2268 ····································································sb.append(s);2267 ····································································sb.append(s);
2269 ····································································sb.append(fieldValue);2268 ····································································sb.append(fieldValue);
2270 ····································································s·=·sb.toString();2269 ····································································s·=·sb.toString();
2271 ····································································Log.e(s2,·s);2270 ····································································Log.e(s2,·s);
2272 ····································································return·false;2271 ····································································return·false;
2273 ····································································Label_1544:·{ 
2274 ········································································return·eapErp; 
2275 ····································································} 
2276 ································································Block_21_Outer:2272 ································································Block_23_Outer:
2277 ····································································while·(true)·{2273 ····································································while·(true)·{
2278 ········································································while·(true)·{2274 ········································································while·(true)·{
2279 ········································································Block_18_Outer:2275 ········································································Block_21_Outer:
2280 ············································································while·(true)·{2276 ············································································while·(true)·{
2281 ················································································s3·=·"SupplicantStaNetworkHal";2277 ················································································s3·=·"SupplicantStaNetworkHal";
 2278 ················································································sb2·=·new·StringBuilder();
 2279 ················································································sb2.append(s);
2282 ················································································s·=·"failed·to·set·ocsp";2280 ················································································s·=·":·failed·to·set·eap·erp";
 2281 ················································································sb2.append(s);
 2282 ················································································s·=·sb2.toString();
2283 ················································································Log.e(s3,·s);2283 ················································································Log.e(s3,·s);
2284 ················································································return·false;2284 ················································································return·false;
2285 ················································································while·(true)·{2285 ················································································while·(true)·{
2286 ····················································································s4·=·"SupplicantStaNetworkHal";2286 ····················································································s4·=·"SupplicantStaNetworkHal";
2287 ····················································································sb2·=·new·StringBuilder(); 
2288 ····················································································sb2.append(s); 
2289 ····················································································s·=·":·failed·to·set·eap·engine·id:·"; 
2290 ····················································································sb2.append(s); 
2291 ····················································································sb2.append(fieldValue2); 
2292 ····················································································s·=·sb2.toString(); 
2293 ····················································································Log.e(s4,·s); 
2294 ····················································································return·false; 
2295 ····················································································break·Block_3; 
2296 ····················································································Label_0464: 
2297 ····················································································fieldValue3·=·wifiEnterpriseConfig.getFieldValue("client_cert"); 
2298 ····················································································break·Block_12; 
2299 ····················································································s5·=·"SupplicantStaNetworkHal"; 
2300 ····················································································sb3·=·new·StringBuilder();2287 ····················································································sb3·=·new·StringBuilder();
2301 ····················································································sb3.append(s);2288 ····················································································sb3.append(s);
2302 ····················································································s·=·":·failed·to·set·eap·private·key:·";2289 ····················································································s·=·":·failed·to·set·eap·engine:·";
2303 ····················································································sb3.append(s);2290 ····················································································sb3.append(s);
2304 ····················································································sb3.append(fieldValue4);2291 ····················································································sb3.append(fieldValue2);
2305 ····················································································s·=·sb3.toString();2292 ····················································································s·=·sb3.toString();
2306 ····················································································Log.e(s5,·s);2293 ····················································································Log.e(s4,·s);
2307 ····················································································return·false;2294 ····················································································return·false;
 2295 ····················································································Label_0102:·{
 2296 ························································································break·Block_4;
 2297 ····················································································}
 2298 ····················································································Label_0551:
 2299 ····················································································fieldValue3·=·wifiEnterpriseConfig.getFieldValue("ca_cert");
 2300 ····················································································break·Block_14;
2308 ····················································································s6·=·"SupplicantStaNetworkHal";2301 ····················································································s5·=·"SupplicantStaNetworkHal";
2309 ····················································································sb4·=·new·StringBuilder();2302 ····················································································sb4·=·new·StringBuilder();
2310 ····················································································sb4.append(s);2303 ····················································································sb4.append(s);
2311 ····················································································s·=·":·failed·to·set·eap·erp";2304 ····················································································s·=·":·failed·to·set·eap·alt·subject·match:·";
2312 ····················································································sb4.append(s);2305 ····················································································sb4.append(s);
 2306 ····················································································sb4.append(fieldValue4);
2313 ····················································································s·=·sb4.toString();2307 ····················································································s·=·sb4.toString();
2314 ····················································································Log.e(s6,·s);2308 ····················································································Log.e(s5,·s);
2315 ····················································································return·false;2309 ····················································································return·false;
2316 ····················································································Label_0725:2310 ····················································································Label_0812:
2317 ····················································································fieldValue2·=·wifiEnterpriseConfig.getFieldValue("engine_id");2311 ····················································································fieldValue2·=·wifiEnterpriseConfig.getFieldValue("engine");
 2312 ····················································································empty·=·TextUtils.isEmpty((CharSequence)fieldValue2);
 2313 ····················································································eapErp·=·true;
2318 ····················································································continue·Block_23_Outer;2314 ····················································································continue·Block_25_Outer;
2319 ················································································}2315 ················································································}
 2316 ················································································break·Block_3;
2320 ················································································s7·=·"SupplicantStaNetworkHal";2317 ················································································s6·=·"SupplicantStaNetworkHal";
2321 ················································································sb5·=·new·StringBuilder();2318 ················································································sb5·=·new·StringBuilder();
2322 ················································································sb5.append(s);2319 ················································································sb5.append(s);
2323 ················································································s·=·":·failed·to·set·eap·engine:·";2320 ················································································s·=·":·failed·to·set·eap·private·key:·";
2324 ················································································sb5.append(s);2321 ················································································sb5.append(s);
2325 ················································································sb5.append(fieldValue5);2322 ················································································sb5.append(fieldValue5);
2326 ················································································s·=·sb5.toString();2323 ················································································s·=·sb5.toString();
2327 ················································································Log.e(s7,·s);2324 ················································································Log.e(s6,·s);
2328 ················································································return·false;2325 ················································································return·false;
2329 ················································································Label_1195:2326 ················································································Label_1282:·{
2330 ················································································fieldValue6·=·wifiEnterpriseConfig.getFieldValue("ca_path");2327 ····················································································fieldValue6·=·wifiEnterpriseConfig.getFieldValue("proactive_key_caching");
 2328 ················································································}
2331 ················································································break·Block_29;2329 ················································································break·Block_32;
2332 ················································································s8·=·"SupplicantStaNetworkHal";2330 ················································································s7·=·"SupplicantStaNetworkHal";
2333 ················································································sb6·=·new·StringBuilder();2331 ················································································sb6·=·new·StringBuilder();
2334 ················································································sb6.append(s);2332 ················································································sb6.append(s);
2335 ················································································s·=·":·failed·to·set·eap·phase·2·method:·";2333 ················································································s·=·":·failed·to·set·eap·identity:·";
2336 ················································································sb6.append(s);2334 ················································································sb6.append(s);
2337 ················································································sb6.append(wifiEnterpriseConfig.getPhase2Method());2335 ················································································sb6.append(fieldValue7);
2338 ················································································s·=·sb6.toString();2336 ················································································s·=·sb6.toString();
2339 ················································································Log.e(s8,·s);2337 ················································································Log.e(s7,·s);
2340 ················································································return·false;2338 ················································································return·false;
2341 ················································································Label_1401:2339 ················································································Label_1448:
 2340 ················································································fieldValue8·=·wifiEnterpriseConfig.getFieldValue("eap_erp");
2342 ················································································continue·Block_18_Outer;2341 ················································································continue·Block_21_Outer;
 2342 ············································································}
 2343 ············································································Label_1195:·{
 2344 ················································································fieldValue9·=·wifiEnterpriseConfig.getFieldValue("ca_path");
2343 ············································································}2345 ············································································}
2344 ············································································Label_1108: 
2345 ············································································fieldValue7·=·wifiEnterpriseConfig.getFieldValue("domain_suffix_match"); 
2346 ············································································break·Block_27;2346 ············································································break·Block_29;
2347 ············································································Label_0812:2347 ············································································Label_0934:
2348 ············································································fieldValue5·=·wifiEnterpriseConfig.getFieldValue("engine");2348 ············································································fieldValue5·=·wifiEnterpriseConfig.getFieldValue("key_id");
2349 ············································································empty·=·TextUtils.isEmpty((CharSequence)fieldValue5); 
2350 ············································································eapErp·=·true; 
2351 ············································································continue·Block_6_Outer;2349 ············································································continue·Block_8_Outer;
2352 ········································································}2350 ········································································}
2353 ········································································s9·=·"SupplicantStaNetworkHal";2351 ········································································s8·=·"SupplicantStaNetworkHal";
2354 ········································································sb7·=·new·StringBuilder();2352 ········································································sb7·=·new·StringBuilder();
2355 ········································································sb7.append(s);2353 ········································································sb7.append(s);
2356 ········································································s·=·":·failed·to·set·eap·identity:·";2354 ········································································s·=·":·failed·to·set·eap·anonymous·identity:·";
2357 ········································································sb7.append(s);2355 ········································································sb7.append(s);
2358 ········································································sb7.append(fieldValue8);2356 ········································································sb7.append(fieldValue10);
2359 ········································································s·=·sb7.toString();2357 ········································································s·=·sb7.toString();
2360 ········································································Log.e(s9,·s);2358 ········································································Log.e(s8,·s);
2361 ········································································return·false;2359 ········································································return·false;
2362 ········································································Label_0934:2360 ········································································Label_1021:·{
2363 ········································································fieldValue4·=·wifiEnterpriseConfig.getFieldValue("key_id");2361 ············································································fieldValue4·=·wifiEnterpriseConfig.getFieldValue("altsubject_match");
 2362 ········································································}
2364 ········································································continue·Block_21_Outer;2363 ········································································continue·Block_23_Outer;
 2364 ····································································}
 2365 ····································································Label_0638:·{
 2366 ········································································fieldValue·=·wifiEnterpriseConfig.getFieldValue("subject_match");
2365 ····································································}2367 ····································································}
2366 ····································································Label_0551: 
2367 ····································································fieldValue·=·wifiEnterpriseConfig.getFieldValue("ca_cert"); 
2368 ····································································continue·Block_34_Outer;2368 ····································································continue·Block_37_Outer;
2369 ································································}2369 ································································}
2370 ································································Label_0189:·{2370 ································································Label_0283:·{
2371 ····································································fieldValue8·=·wifiEnterpriseConfig.getFieldValue("identity");2371 ····································································fieldValue10·=·wifiEnterpriseConfig.getFieldValue("anonymous_identity");
2372 ································································}2372 ································································}
2373 ································································continue;2373 ································································continue;
2374 ····························································}2374 ····························································}
2375 ····························································Label_0283:·{2375 ····························································Label_0377:·{
2376 ································································fieldValue9·=·wifiEnterpriseConfig.getFieldValue("anonymous_identity");2376 ································································final·String·fieldValue11·=·wifiEnterpriseConfig.getFieldValue("password");
2377 ····························································}2377 ····························································}
2378 ····························································break·Block_8;2378 ····························································break·Block_10;
2379 ························································}2379 ························································}
2380 ························································final·String·s10·=·"SupplicantStaNetworkHal";2380 ························································final·String·s9·=·"SupplicantStaNetworkHal";
2381 ························································final·StringBuilder·sb8·=·new·StringBuilder();2381 ························································final·StringBuilder·sb8·=·new·StringBuilder();
2382 ························································sb8.append(s);2382 ························································sb8.append(s);
2383 ························································s·=·":·failed·to·set·eap·client·cert:·";2383 ························································s·=·":·failed·to·set·eap·ca·cert:·";
2384 ························································sb8.append(s);2384 ························································sb8.append(s);
2385 ························································sb8.append(fieldValue3);2385 ························································sb8.append(fieldValue3);
2386 ························································s·=·sb8.toString();2386 ························································s·=·sb8.toString();
2387 ························································Log.e(s10,·s);2387 ························································Log.e(s9,·s);
2388 ························································return·false;2388 ························································return·false;
2389 ····················································}2389 ····················································}
2390 ····················································final·String·s11·=·"SupplicantStaNetworkHal";2390 ····················································final·String·s10·=·"SupplicantStaNetworkHal";
2391 ····················································final·StringBuilder·sb9·=·new·StringBuilder();2391 ····················································final·StringBuilder·sb9·=·new·StringBuilder();
2392 ····················································sb9.append(s);2392 ····················································sb9.append(s);
2393 ····················································s·=·":·failed·to·set·eap·ca·path:·";2393 ····················································s·=·":·failed·to·set·proactive·key·caching:·";
2394 ····················································sb9.append(s);2394 ····················································sb9.append(s);
2395 ····················································sb9.append(fieldValue6);2395 ····················································sb9.append(fieldValue6);
2396 ····················································s·=·sb9.toString();2396 ····················································s·=·sb9.toString();
2397 ····················································Log.e(s11,·s);2397 ····················································Log.e(s10,·s);
2398 ····················································return·false;2398 ····················································return·false;
2399 ····················································final·String·s12·=·"SupplicantStaNetworkHal";2399 ····················································final·String·s11·=·"SupplicantStaNetworkHal";
2400 ····················································final·StringBuilder·sb10·=·new·StringBuilder();2400 ····················································final·StringBuilder·sb10·=·new·StringBuilder();
2401 ····················································sb10.append(s);2401 ····················································sb10.append(s);
2402 ····················································s·=·":·failed·to·set·eap·alt·subject·match:·";2402 ····················································s·=·":·failed·to·set·eap·domain·suffix·match:·";
2403 ····················································sb10.append(s);2403 ····················································sb10.append(s);
2404 ····················································final·String·fieldValue10;2404 ····················································final·String·fieldValue12;
2405 ····················································sb10.append(fieldValue10);2405 ····················································sb10.append(fieldValue12);
2406 ····················································s·=·sb10.toString();2406 ····················································s·=·sb10.toString();
2407 ····················································Log.e(s12,·s);2407 ····················································Log.e(s11,·s);
2408 ····················································return·false;2408 ····················································return·false;
2409 ····················································Label_1282:·{2409 ····················································Label_1401:·{
2410 ························································fieldValue11·=·wifiEnterpriseConfig.getFieldValue("proactive_key_caching");2410 ························································break·Block_34;
2411 ····················································}2411 ····················································}
2412 ····················································break·Block_32; 
2413 ················································}2412 ················································}
2414 ················································final·String·s13·=·"SupplicantStaNetworkHal";2413 ················································final·String·s12·=·"SupplicantStaNetworkHal";
2415 ················································final·StringBuilder·sb11·=·new·StringBuilder();2414 ················································final·StringBuilder·sb11·=·new·StringBuilder();
2416 ················································sb11.append(s);2415 ················································sb11.append(s);
2417 ················································s·=·":·failed·to·set·eap·anonymous·identity:·";2416 ················································s·=·":·failed·to·set·eap·method:·";
2418 ················································sb11.append(s);2417 ················································sb11.append(s);
2419 ················································sb11.append(fieldValue9);2418 ················································sb11.append(wifiEnterpriseConfig.getEapMethod());
2420 ················································s·=·sb11.toString();2419 ················································s·=·sb11.toString();
2421 ················································Log.e(s13,·s);2420 ················································Log.e(s12,·s);
2422 ················································return·false;2421 ················································return·false;
2423 ················································Label_1448:·{ 
2424 ····················································final·String·fieldValue12·=·wifiEnterpriseConfig.getFieldValue("eap_erp"); 
2425 ················································} 
2426 ················································continue; 
2427 ············································}2422 ············································}
 2423 ············································final·String·s13·=·"SupplicantStaNetworkHal";
 2424 ············································final·StringBuilder·sb12·=·new·StringBuilder();
 2425 ············································sb12.append(s);
 2426 ············································s·=·":·failed·to·set·eap·password";
 2427 ············································sb12.append(s);
 2428 ············································s·=·sb12.toString();
 2429 ············································Log.e(s13,·s);
 2430 ············································return·false;
2428 ············································Label_0638:·{2431 ············································Label_1544:·{
2429 ················································fieldValue13·=·wifiEnterpriseConfig.getFieldValue("subject_match");2432 ················································return;
2430 ············································}2433 ············································}
 2434 ············································Label_0725:
 2435 ············································fieldValue13·=·wifiEnterpriseConfig.getFieldValue("engine_id");
2431 ············································break·Block_16;2436 ············································break·Block_18;
2432 ············································Label_0102:2437 ············································Label_0189:
 2438 ············································final·String·fieldValue7·=·wifiEnterpriseConfig.getFieldValue("identity");
2433 ············································continue;2439 ············································continue;
2434 ········································}2440 ········································}
2435 ········································final·String·s14·=·"SupplicantStaNetworkHal";2441 ········································final·String·s14·=·"SupplicantStaNetworkHal";
2436 ········································final·StringBuilder·sb12·=·new·StringBuilder();2442 ········································final·StringBuilder·sb13·=·new·StringBuilder();
2437 ········································sb12.append(s);2443 ········································sb13.append(s);
2438 ········································s·=·":·failed·to·set·eap·password";2444 ········································s·=·":·failed·to·set·eap·client·cert:·";
2439 ········································sb12.append(s);2445 ········································sb13.append(s);
 2446 ········································final·String·fieldValue14;
 2447 ········································sb13.append(fieldValue14);
2440 ········································s·=·sb12.toString();2448 ········································s·=·sb13.toString();
2441 ········································Log.e(s14,·s);2449 ········································Log.e(s14,·s);
2442 ········································return·false;2450 ········································return·false;
2443 ········································Label_1021:·{2451 ········································Label_1108:·{
2444 ············································final·String·fieldValue10·=·wifiEnterpriseConfig.getFieldValue("altsubject_match");2452 ············································final·String·fieldValue12·=·wifiEnterpriseConfig.getFieldValue("domain_suffix_match");
2445 ········································}2453 ········································}
2446 ········································continue;2454 ········································continue;
2447 ····································}2455 ····································}
2448 ································}2456 ································}
2449 ································final·String·s15·=·"SupplicantStaNetworkHal";2457 ································final·String·s15·=·"SupplicantStaNetworkHal";
2450 ································final·StringBuilder·sb13·=·new·StringBuilder();2458 ································final·StringBuilder·sb14·=·new·StringBuilder();
2451 ································sb13.append(s);2459 ································sb14.append(s);
2452 ································s·=·":·failed·to·set·eap·domain·suffix·match:·";2460 ································s·=·":·failed·to·set·eap·ca·path:·";
2453 ································sb13.append(s);2461 ································sb14.append(s);
2454 ································sb13.append(fieldValue7);2462 ································sb14.append(fieldValue9);
2455 ································s·=·sb13.toString();2463 ································s·=·sb14.toString();
2456 ································Log.e(s15,·s);2464 ································Log.e(s15,·s);
2457 ································return·false;2465 ································return·false;
2458 ································Label_0377:·{2466 ································Label_0464:·{
2459 ····································final·String·fieldValue14·=·wifiEnterpriseConfig.getFieldValue("password");2467 ····································final·String·fieldValue14·=·wifiEnterpriseConfig.getFieldValue("client_cert");
2460 ································}2468 ································}
2461 ································continue;2469 ································continue;
2462 ····························}2470 ····························}
2463 ························}2471 ························}
2464 ························final·String·s16·=·"SupplicantStaNetworkHal";2472 ························final·String·s16·=·"SupplicantStaNetworkHal";
2465 ························final·StringBuilder·sb14·=·new·StringBuilder();2473 ························final·StringBuilder·sb15·=·new·StringBuilder();
2466 ························sb14.append(s);2474 ························sb15.append(s);
2467 ························s·=·":·failed·to·set·eap·subject·match:·";2475 ························s·=·":·failed·to·set·eap·engine·id:·";
2468 ························sb14.append(s);2476 ························sb15.append(s);
2469 ························sb14.append(fieldValue13);2477 ························sb15.append(fieldValue13);
2470 ························s·=·sb14.toString();2478 ························s·=·sb15.toString();
2471 ························Log.e(s16,·s);2479 ························Log.e(s16,·s);
2472 ························return·false;2480 ························return·false;
2473 ····················}2481 ····················}
2474 ····················final·String·s17·=·"SupplicantStaNetworkHal";2482 ····················final·String·s17·=·"SupplicantStaNetworkHal";
2475 ····················final·StringBuilder·sb15·=·new·StringBuilder(); 
2476 ····················sb15.append(s); 
2477 ····················s·=·":·failed·to·set·proactive·key·caching:·";2483 ····················s·=·"failed·to·set·ocsp";
2478 ····················sb15.append(s); 
2479 ····················sb15.append(fieldValue11); 
2480 ····················s·=·sb15.toString(); 
2481 ····················Log.e(s17,·s);2484 ····················Log.e(s17,·s);
2482 ····················return·false;2485 ····················return·false;
2483 ················}2486 ················}
2484 ················final·String·s18·=·"SupplicantStaNetworkHal";2487 ················final·String·s18·=·"SupplicantStaNetworkHal";
2485 ················final·StringBuilder·sb16·=·new·StringBuilder();2488 ················final·StringBuilder·sb16·=·new·StringBuilder();
2486 ················sb16.append(s);2489 ················sb16.append(s);
2487 ················s·=·":·failed·to·set·eap·method:·";2490 ················s·=·":·failed·to·set·eap·phase·2·method:·";
2488 ················sb16.append(s);2491 ················sb16.append(s);
2489 ················sb16.append(wifiEnterpriseConfig.getEapMethod());2492 ················sb16.append(wifiEnterpriseConfig.getPhase2Method());
2490 ················s·=·sb16.toString();2493 ················s·=·sb16.toString();
2491 ················Log.e(s18,·s);2494 ················Log.e(s18,·s);
2492 ················return·false;2495 ················return·false;
2493 ············}2496 ············}
2494 ············finally·{2497 ············finally·{
2495 ············}2498 ············}
2496 ············//·monitorexit(mLock)2499 ············//·monitorexit(mLock)
Offset 3962, 200 lines modifiedOffset 3965, 188 lines modified
3962 ········Label_0018:·{3965 ········Label_0018:·{
3963 ············if·(wifiConfiguration·!=·null)·{3966 ············if·(wifiConfiguration·!=·null)·{
3964 ················break·Label_0018;3967 ················break·Label_0018;
3965 ············}3968 ············}
3966 ············try·{3969 ············try·{
3967 ················//·monitorexit(mLock)3970 ················//·monitorexit(mLock)
3968 ················return·false;3971 ················return·false;
3969 ················//·iftrue(Label_0652:,·!this.getPskPassphrase()·||·TextUtils.isEmpty((CharSequence)this.mPskPassphrase))3972 ················//·iftrue(Label_0887:,·!this.getId())
 3973 ················//·iftrue(Label_0261:,·!this.getWepTxKeyIdx())
 3974 ················//·iftrue(Label_0527:,·!this.getPairwiseCipher())
3970 ················//·iftrue(Label_0232:,·!this.getRequirePmf())3975 ················//·iftrue(Label_0232:,·!this.getRequirePmf())
3971 ················//·iftrue(Label_0497:,·!this.getGroupCipher())3976 ················//·iftrue(Label_0497:,·!this.getGroupCipher())
3972 ················//·iftrue(Label_0204:,·!this.getScanSsid()) 
3973 ················//·iftrue(Label_0467:,·!this.getAuthAlg()) 
3974 ················//·iftrue(Label_0803:,·wifiConfiguration.enterpriseConfig·!=·null) 
3975 ················//·iftrue(Label_0753:,·!this.getIdStr()·||·TextUtils.isEmpty((CharSequence)this.mIdStr)) 
3976 ················//·iftrue(Label_0407:,·!this.getKeyMgmt()) 
3977 ················//·iftrue(Label_0860:,·!this.getWapiCertSuite()·||·TextUtils.isEmpty((CharSequence)this.mWapiCertSuite))3977 ················//·iftrue(Label_0860:,·!this.getWapiCertSuite()·||·TextUtils.isEmpty((CharSequence)this.mWapiCertSuite))
 3978 ················//·iftrue(Label_0437:,·!this.getProto())
 3979 ················//·iftrue(Label_0346:,·!this.getWepKey(n2)·||·ArrayUtils.isEmpty((Collection)this.mWepKey))
3978 ················//·iftrue(Label_0700:,·!this.getPsk()·||·ArrayUtils.isEmpty(this.mPsk))3980 ················//·iftrue(Label_0700:,·!this.getPsk()·||·ArrayUtils.isEmpty(this.mPsk))
3979 ················//·iftrue(Label_0904:,·!this.getSsid()·||·ArrayUtils.isEmpty((Collection)this.mSsid))3981 ················//·iftrue(Label_0803:,·wifiConfiguration.enterpriseConfig·!=·null)
 3982 ················//·iftrue(Label_0355:,·n2·>=·4)
3980 ················//·iftrue(Label_0887:,·!this.getId())3983 ················//·iftrue(Label_0407:,·!this.getKeyMgmt())
 3984 ················//·iftrue(Label_0753:,·!this.getIdStr()·||·TextUtils.isEmpty((CharSequence)this.mIdStr))
 3985 ················//·iftrue(Label_0630:,·!wifiConfiguration.allowedKeyManagement.get(13))
3981 ················//·iftrue(Label_0176:,·!this.getBssid()·||·ArrayUtils.isEmpty(this.mBssid))3986 ················//·iftrue(Label_0176:,·!this.getBssid()·||·ArrayUtils.isEmpty(this.mBssid))
3982 ················//·iftrue(Label_0261:,·!this.getWepTxKeyIdx())3987 ················//·iftrue(Label_0204:,·!this.getScanSsid())
 3988 ················//·iftrue(Label_0904:,·!this.getSsid()·||·ArrayUtils.isEmpty((Collection)this.mSsid))
3983 ················//·iftrue(Label_0864:,·!wifiConfiguration.allowedKeyManagement.get(14))3989 ················//·iftrue(Label_0864:,·!wifiConfiguration.allowedKeyManagement.get(14))
 3990 ················//·iftrue(Label_0652:,·!this.getPskPassphrase()·||·TextUtils.isEmpty((CharSequence)this.mPskPassphrase))
3984 ················//·iftrue(Label_0355:,·n·>=·4) 
3985 ················//·iftrue(Label_0557:,·!this.getGroupMgmtCipher()) 
3986 ················//·iftrue(Label_0630:,·!wifiConfiguration.allowedKeyManagement.get(13)) 
3987 ················//·iftrue(Label_0437:,·!this.getProto())3991 ················//·iftrue(Label_0467:,·!this.getAuthAlg())
 3992 ················int·n;
 3993 ················int·n2·=·0;
 3994 ················BitSet·removeFastTransitionFlags;
3988 ············Block_18_Outer:3995 ················Label_0267:Block_19_Outer:
3989 ················while·(true)·{3996 ················while·(true)·{
 3997 ················Label_0346:
3990 ····················int·n·=·0; 
3991 ················Block_11: 
3992 ····················while·(true)·{3998 ····················while·(true)·{
3993 ····················Label_0497:3999 ····················Label_0527:
3994 ························while·(true)·{4000 ························while·(true)·{
3995 ························Block_19_Outer:4001 ····························Label_0700:Block_4_Outer:Label_0407_Outer:Block_27_Outer:Block_21_Outer:
3996 ····························while·(true)·{4002 ····························while·(true)·{
 4003 ································while·(true)·{
3997 ································Block_21:·{4004 ································Label_0557:
3998 ····································while·(true)·{4005 ····································while·(true)·{
3999 ········································Label_0527:·{ 
4000 ········································Label_0768:4006 ········································Label_0768:·{
 4007 ········································Block_26:
4001 ············································while·(true)·{4008 ············································while·(true)·{
4002 ················································BitSet·removeFastTransitionFlags; 
4003 ················································int·n2·=·0; 
4004 ················································Label_0700:Label_0267_Outer: 
4005 ················································while·(true)·{4009 ················································Block_14:·{
4006 ····················································Block_24:·{4010 ····················································Block_13:·{
4007 ····················································Label_0267:4011 ····················································Label_0497_Outer:
4008 ························································while·(true)·{4012 ························································while·(true)·{
4009 ····························································Label_0346:·{4013 ····························································Label_0261:·{
 4014 ································································while·(true)·{
4010 ································································Block_17:·{4015 ································································Block_7:
4011 ································································Block_10_Outer: 
4012 ····································································while·(true)·{4016 ····································································while·(true)·{
 4017 ········································································Block_17:·{
 4018 ········································································Block_15_Outer:
4013 ········································································while·(true)·{4019 ············································································while·(true)·{
 4020 ················································································wifiConfiguration.preSharedKey·=·this.mPskPassphrase;
4014 ············································································Label_0232:·{4021 ················································································break·Label_0700;
4015 ················································································while·(true)·{4022 ················································································while·(true)·{
4016 ················································································Block_4:4023 ····················································································Block_9:·{
4017 ····················································································while·(true)·{ 
4018 ························································································Block_16:·{4024 ························································································Block_30:·{
4019 ····························································································Block_14_Outer:Label_0204_Outer: 
4020 ····························································································while·(true)·{4025 ····························································································while·(true)·{
4021 ································································································wifiConfiguration.preSharedKey·=·null; 
4022 ································································································break·Block_21; 
4023 ································································································Block_30_Outer:Label_0176_Outer:Label_0261_Outer: 
4024 ································································································while·(true)·{4026 ································································································while·(true)·{
4025 ····································································································Block_8:·{4027 ····································································································Block_10:·{
4026 ········································································································while·(true)·{4028 ········································································································while·(true)·{
4027 ············································································································while·(true)·{4029 ············································································································while·(true)·{
4028 ················································································································while·(true)·{ 
4029 ····················································································································Block_9:·{ 
4030 ························································································································while·(true)·{ 
4031 ····························································································································while·(true)·{ 
4032 ································································································································removeFastTransitionFlags·=·this.removeFastTransitionFlags(supplicantToWifiConfigurationKeyMgmtMask(this.mKeyMgmtMask)); 
4033 ································································································································wifiConfiguration.allowedKeyManagement·=·removeFastTransitionFlags; 
4034 ································································································································wifiConfiguration.allowedKeyManagement·=·this.removeSha256KeyMgmtFlags(removeFastTransitionFlags); 
4035 ································································································································break·Block_19_Outer; 
4036 ································································································································wifiConfiguration.requirePmf·=·false; 
4037 ································································································································break·Block_9; 
4038 ································································································································break·Block_17; 
4039 ································································································································wifiConfiguration.enterpriseConfig.setWapiCertSuite(this.mWapiCertSuite); 
4040 ································································································································return·true; 
4041 ································································································································wifiConfiguration.hiddenSSID·=·false; 
4042 ································································································································break·Block_8; 
4043 ································································································································break·Block_16; 
4044 ································································································································return·false; 
4045 ································································································································break·Label_0700; 
4046 ································································································································Label_0355:·{ 
4047 ····································································································································continue·Label_0204_Outer; 
4048 ································································································································} 
4049 ····························································································································} 
4050 ····························································································································wifiConfiguration.allowedProtocols·=·supplicantToWifiConfigurationProtoMask(this.mProtoMask);4030 ················································································································wifiConfiguration.allowedProtocols·=·supplicantToWifiConfigurationProtoMask(this.mProtoMask);
4051 ····························································································································continue·Label_0261_Outer; 
4052 ························································································································} 
4053 ····················································································································} 
4054 ····················································································································wifiConfiguration.requirePmf·=·this.mRequirePmf; 
4055 ····················································································································break·Label_0232;4031 ················································································································break·Label_0700;
 4032 ················································································································wifiConfiguration.SSID·=·NativeUtil.encodeSsid(this.mSsid);
4056 ····················································································································n·=·0;4033 ················································································································n·=·-1;
 4034 ················································································································wifiConfiguration.networkId·=·n;
 4035 ················································································································break·Block_15_Outer;
 4036 ················································································································wifiConfiguration.wepTxKeyIndex·=·n;
 4037 ················································································································break·Block_10;
4057 ····················································································································break·Label_0267;4038 ················································································································break·Label_0497_Outer;
4058 ····················································································································Label_0803:·{4039 ················································································································Label_0864:·{
4059 ························································································································wifiConfiguration.enterpriseConfig.setEapMethod(8);4040 ····················································································································return·this.loadWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig);
4060 ····················································································································} 
4061 ····················································································································continue·Label_0176_Outer; 
4062 ················································································································}4041 ················································································································}
4063 ················································································································wifiConfiguration.preSharedKey·=·this.mPskPassphrase;4042 ················································································································wifiConfiguration.requirePmf·=·false;
 4043 ················································································································break·Block_9;
4064 ················································································································continue·Label_0700;4044 ················································································································break·Block_17;
4065 ················································································································Label_0630:·{4045 ················································································································Label_0803:
4066 ····················································································································wifiConfiguration.preSharedKey·=·NativeUtil.addEnclosingQuotes(this.mPskPassphrase);4046 ················································································································wifiConfiguration.enterpriseConfig.setEapMethod(8);
4067 ················································································································}4047 ················································································································break·Block_30;
4068 ················································································································continue·Label_0700; 
4069 ················································································································Label_0753:4048 ················································································································Label_0753:
4070 ················································································································Log.w("SupplicantStaNetworkHal",·"getIdStr·failed·or·empty");4049 ················································································································Log.w("SupplicantStaNetworkHal",·"getIdStr·failed·or·empty");
4071 ················································································································break·Label_0768;4050 ················································································································break·Label_0768;
4072 ················································································································Label_0864: 
4073 ················································································································return·this.loadWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig); 
4074 ················································································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID(NativeUtil.macAddressFromByteArray(this.mBssid)); 
4075 ················································································································continue·Label_0261_Outer;4051 ················································································································continue·Block_4_Outer;
4076 ············································································································}4052 ············································································································}
4077 ············································································································wifiConfiguration.wepTxKeyIndex·=·this.mWepTxKeyIdx;4053 ············································································································wifiConfiguration.allowedAuthAlgorithms·=·supplicantToWifiConfigurationAuthAlgMask(this.mAuthAlgMask);
4078 ············································································································continue·Label_0267_Outer;4054 ············································································································continue·Label_0407_Outer;
4079 ········································································································} 
4080 ········································································································wifiConfiguration.wepKeys[n]·=·NativeUtil.bytesToHexOrQuotedString(this.mWepKey); 
4081 ········································································································break·Label_0346; 
4082 ········································································································Label_0652:·{ 
4083 ············································································································break·Block_24; 
4084 ········································································································}4055 ········································································································}
4085 ····································································································}4056 ····································································································}
 4057 ····································································································wifiConfiguration.wepTxKeyIndex·=·this.mWepTxKeyIdx;
 4058 ····································································································break·Label_0261;
 4059 ····································································································wifiConfiguration.wepKeys[n2]·=·null;
 4060 ····································································································break·Block_13;
 4061 ····································································································Label_0860:·{
 4062 ········································································································return·true;
 4063 ····································································································}
 4064 ····································································································Label_0652:
 4065 ····································································································wifiConfiguration.preSharedKey·=·NativeUtil.hexStringFromByteArray(this.mPsk);
 4066 ····································································································break·Label_0700;
 4067 ····································································································return·false;
 4068 ····································································································Label_0904:
 4069 ····································································································Log.e("SupplicantStaNetworkHal",·"failed·to·read·ssid");
 4070 ····································································································return·false;
4086 ····································································································wifiConfiguration.hiddenSSID·=·this.mScanSsid;4071 ····································································································wifiConfiguration.hiddenSSID·=·this.mScanSsid;
4087 ····································································································continue·Block_30_Outer;4072 ····································································································continue·Label_0407_Outer;
4088 ································································································}4073 ································································································}
4089 ································································································wifiConfiguration.allowedGroupManagementCiphers·=·supplicantToWifiConfigurationGroupMgmtCipherMask(this.mGroupMgmtCipherMask); 
4090 ································································································continue·Block_14_Outer;4074 ································································································continue·Block_27_Outer;
4091 ····························································································}4075 ····························································································}
 4076 ····························································································Label_0355:·{
 4077 ································································································break·Block_14;
4092 ····························································································wifiConfiguration.SSID·=·null;4078 ····························································································}
4093 ····························································································break·Block_4;4079 ····························································································break·Block_26;
4094 ························································································}4080 ························································································}
4095 ························································································wifiConfiguration.allowedAuthAlgorithms·=·supplicantToWifiConfigurationAuthAlgMask(this.mAuthAlgMask);4081 ························································································wifiConfiguration.enterpriseConfig.setWapiCertSuite(this.mWapiCertSuite);
4096 ························································································continue·Label_0267_Outer;4082 ························································································return·true;
4097 ····················································································}4083 ····················································································}
4098 ····················································································wifiConfiguration.SSID·=·NativeUtil.encodeSsid(this.mSsid); 
4099 ····················································································n2·=·-1; 
4100 ····················································································wifiConfiguration.networkId·=·n2; 
4101 ····················································································wifiConfiguration.networkId·=·this.mNetworkId;4084 ····················································································wifiConfiguration.requirePmf·=·this.mRequirePmf;
4102 ····················································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID((String)null); 
4103 ····················································································continue·Block_10_Outer;4085 ····················································································continue·Label_0497_Outer;
4104 ················································································}4086 ················································································}
 4087 ················································································continue·Block_15_Outer;
4105 ············································································}4088 ············································································}
4106 ············································································wifiConfiguration.wepTxKeyIndex·=·n2;4089 ············································································wifiConfiguration.networkId·=·this.mNetworkId;
 4090 ············································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID((String)null);
4107 ············································································continue·Block_19_Outer;4091 ············································································break·Block_7;
4108 ········································································}4092 ········································································}
 4093 ········································································wifiConfiguration.allowedGroupCiphers·=·supplicantToWifiConfigurationGroupCipherMask(this.mGroupCipherMask);
4109 ········································································continue·Label_0267_Outer;4094 ········································································continue·Label_0407_Outer;
4110 ····································································}4095 ····································································}
4111 ····································································wifiConfiguration.allowedPairwiseCiphers·=·supplicantToWifiConfigurationPairwiseCipherMask(this.mPairwiseCipherMask);4096 ····································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID(NativeUtil.macAddressFromByteArray(this.mBssid));
4112 ····································································break·Label_0527;4097 ····································································Label_0176:·{
 4098 ········································································wifiConfiguration.hiddenSSID·=·false;
4113 ································································}4099 ····································································}
4114 ································································wifiConfiguration.allowedGroupCiphers·=·supplicantToWifiConfigurationGroupCipherMask(this.mGroupCipherMask); 
4115 ································································break·Label_0497; 
4116 ································································Label_0860:·{ 
4117 ····································································return·true;4100 ····································································continue·Block_21_Outer;
4118 ································································}4101 ································································}
4119 ································································break·Block_11; 
4120 ····························································}4102 ····························································}
4121 ····························································++n;4103 ····························································n2·=·0;
4122 ····························································continue·Label_0267;4104 ····························································continue·Label_0267;
 4105 ····························································wifiConfiguration.allowedGroupManagementCiphers·=·supplicantToWifiConfigurationGroupMgmtCipherMask(this.mGroupMgmtCipherMask);
 4106 ····························································break·Label_0557;
 4107 ····························································wifiConfiguration.SSID·=·null;
 4108 ····························································continue·Label_0497_Outer;
4123 ························································}4109 ························································}
 4110 ························································wifiConfiguration.allowedPairwiseCiphers·=·supplicantToWifiConfigurationPairwiseCipherMask(this.mPairwiseCipherMask);
 4111 ························································break·Label_0527;
4124 ························································Label_0904:·{4112 ························································Label_0887:·{
4125 ····························································Log.e("SupplicantStaNetworkHal",·"failed·to·read·ssid");4113 ····························································Log.e("SupplicantStaNetworkHal",·"getId·failed");
4126 ························································}4114 ························································}
4127 ························································return·false;4115 ························································return·false;
4128 ····················································}4116 ····················································}
4129 ····················································wifiConfiguration.preSharedKey·=·NativeUtil.hexStringFromByteArray(this.mPsk);4117 ····················································wifiConfiguration.wepKeys[n2]·=·NativeUtil.bytesToHexOrQuotedString(this.mWepKey);
4130 ····················································continue·Label_0700;4118 ····················································break·Label_0346;
4131 ················································}4119 ················································}
4132 ················································map.putAll(parseNetworkExtra(this.mIdStr));4120 ················································removeFastTransitionFlags·=·this.removeFastTransitionFlags(supplicantToWifiConfigurationKeyMgmtMask(this.mKeyMgmtMask));
 4121 ················································wifiConfiguration.allowedKeyManagement·=·removeFastTransitionFlags;
 4122 ················································wifiConfiguration.allowedKeyManagement·=·this.removeSha256KeyMgmtFlags(removeFastTransitionFlags);
4133 ················································continue·Label_0768;4123 ················································continue·Block_27_Outer;
4134 ············································} 
4135 ············································Label_0887:·{ 
4136 ················································Log.e("SupplicantStaNetworkHal",·"getId·failed"); 
4137 ············································}4124 ············································}
4138 ············································return·false;4125 ············································map.putAll(parseNetworkExtra(this.mIdStr));
4139 ········································}4126 ········································}
4140 ········································continue·Block_18_Outer;4127 ········································continue·Block_21_Outer;
4141 ····································}4128 ····································}
 4129 ····································wifiConfiguration.preSharedKey·=·null;
 4130 ····································continue·Block_19_Outer;
 4131 ································}
 4132 ································Label_0630:·{
 4133 ····································wifiConfiguration.preSharedKey·=·NativeUtil.addEnclosingQuotes(this.mPskPassphrase);
4142 ································}4134 ································}
4143 ································continue·Block_18_Outer;4135 ································continue·Label_0700;
4144 ····························}4136 ····························}
4145 ····························continue·Block_18_Outer;4137 ····························continue·Block_19_Outer;
4146 ························}4138 ························}
4147 ························continue;4139 ························continue;
4148 ····················}4140 ····················}
4149 ····················wifiConfiguration.wepKeys[n]·=·null;4141 ····················++n2;
4150 ····················continue·Block_18_Outer;4142 ····················continue·Label_0267;
4151 ················}4143 ················}
4152 ············}4144 ············}
4153 ············//·iftrue(Label_0527:,·!this.getPairwiseCipher())4145 ············//·iftrue(Label_0557:,·!this.getGroupMgmtCipher())
4154 ············//·iftrue(Label_0346:,·!this.getWepKey(n)·||·ArrayUtils.isEmpty((Collection)this.mWepKey)) 
4155 ············finally·{4146 ············finally·{
4156 ············}4147 ············}
4157 ············//·monitorexit(mLock)4148 ············//·monitorexit(mLock)
4158 ········}4149 ········}
4159 ····}4150 ····}
4160 ····4151 ····
4161 ····public·boolean·saveWifiConfiguration(final·WifiConfiguration·wifiConfiguration)·{4152 ····public·boolean·saveWifiConfiguration(final·WifiConfiguration·wifiConfiguration)·{
Offset 4164, 315 lines modifiedOffset 4155, 309 lines modified
4164 ········Label_0015:·{4155 ········Label_0015:·{
4165 ············if·(wifiConfiguration·!=·null)·{4156 ············if·(wifiConfiguration·!=·null)·{
4166 ················break·Label_0015;4157 ················break·Label_0015;
4167 ············}4158 ············}
4168 ············try·{4159 ············try·{
4169 ················//·monitorexit(mLock)4160 ················//·monitorexit(mLock)
4170 ················return·false;4161 ················return·false;
 4162 ················//·iftrue(Label_1073:,·wifiConfiguration.wepKeys[i]·==·null)
 4163 ················//·iftrue(Label_0407:,·this.setKeyMgmt(wifiConfigurationToSupplicantKeyMgmtMask(addSha256KeyMgmtFlags)))
 4164 ················//·iftrue(Label_0567:,·wifiConfiguration.allowedAuthAlgorithms.cardinality()·==·0·||·this.setAuthAlg(wifiConfigurationToSupplicantAuthAlgMask(wifiConfiguration.allowedAuthAlgorithms)))
 4165 ················//·iftrue(Label_0681:,·wifiConfiguration.allowedPairwiseCiphers.cardinality()·==·0·||·this.setPairwiseCipher(wifiConfigurationToSupplicantPairwiseCipherMask(wifiConfiguration.allowedPairwiseCiphers)))
 4166 ················//·iftrue(Label_0830:,·!wifiConfiguration.allowedKeyManagement.get(n))
 4167 ················//·iftrue(Label_0930:,·this.setPsk(NativeUtil.hexStringToByteArray(wifiConfiguration.preSharedKey)))
4171 ················//·iftrue(Label_1483:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setWapiCertSuite(fieldValue))4168 ················//·iftrue(Label_1483:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setWapiCertSuite(fieldValue))
4172 ················//·iftrue(Label_0510:,·wifiConfiguration.allowedProtocols.cardinality()·==·0·||·this.setProto(wifiConfigurationToSupplicantProtoMask(wifiConfiguration.allowedProtocols))) 
4173 ················//·iftrue(Label_0624:,·wifiConfiguration.allowedGroupCiphers.cardinality()·==·0·||·this.setGroupCipher(wifiConfigurationToSupplicantGroupCipherMask(wifiConfiguration.allowedGroupCiphers))) 
4174 ················//·iftrue(Label_0750:,·!wifiConfiguration.allowedKeyManagement.get(13)) 
4175 ················//·iftrue(Label_0891:,·!wifiConfiguration.allowedKeyManagement.get(n)) 
4176 ················//·iftrue(Label_1517:,·wifiConfiguration.enterpriseConfig·==·null·||·wifiConfiguration.enterpriseConfig.getEapMethod()·==·-1) 
4177 ················//·iftrue(Label_0869:,·!wifiConfiguration.preSharedKey.startsWith("\"")) 
4178 ················//·iftrue(Label_0930:,·this.setSaePassword(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey)))4169 ················//·iftrue(Label_0930:,·this.setSaePassword(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey)))
4179 ················//·iftrue(Label_0830:,·!wifiConfiguration.allowedKeyManagement.get(n)) 
4180 ················//·iftrue(Label_1574:,·this.registerCallback((ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback)) 
4181 ················//·iftrue(Label_1082:,·wepKeys·==·null) 
4182 ················//·iftrue(Label_0930:,·this.setPskPassphrase(wifiConfiguration.preSharedKey))4170 ················//·iftrue(Label_0930:,·this.setPskPassphrase(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey)))
4183 ················//·iftrue(Label_0930:,·preSharedKey·==·null)4171 ················//·iftrue(Label_0095:,·wifiConfiguration.SSID·==·null·||·this.setSsid(NativeUtil.decodeSsid(wifiConfiguration.SSID)))
4184 ················//·iftrue(Label_1203:,·!wifiConfiguration.isPasspoint())4172 ················//·iftrue(Label_1088:,·i·>=·wifiConfiguration.wepKeys.length)
 4173 ················//·iftrue(Label_0869:,·!wifiConfiguration.preSharedKey.startsWith("\""))
4185 ················//·iftrue(Label_1517:,·this.saveWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig))4174 ················//·iftrue(Label_1517:,·this.saveWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig))
4186 ················//·iftrue(Label_1073:,·wifiConfiguration.wepKeys[i]·==·null)4175 ················//·iftrue(Label_0930:,·this.setPskPassphrase(wifiConfiguration.preSharedKey))
4187 ················//·iftrue(Label_1286:,·this.setIdStr(createNetworkExtra((Map)hashMap)))4176 ················//·iftrue(Label_1286:,·this.setIdStr(createNetworkExtra((Map)hashMap)))
4188 ················//·iftrue(Label_0453:,·!addSha256KeyMgmtFlags.get(10)·||·this.saveSuiteBConfig(wifiConfiguration))4177 ················//·iftrue(Label_1574:,·this.registerCallback((ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback))
4189 ················//·iftrue(Label_1336:,·wifiConfiguration.updateIdentifier·==·null·||·this.setUpdateIdentifier(Integer.parseInt(wifiConfiguration.updateIdentifier)))4178 ················//·iftrue(Label_1336:,·wifiConfiguration.updateIdentifier·==·null·||·this.setUpdateIdentifier(Integer.parseInt(wifiConfiguration.updateIdentifier)))
4190 ················//·iftrue(Label_0338:,·this.setRequirePmf(wifiConfiguration.requirePmf)) 
4191 ················//·iftrue(Label_0407:,·this.setKeyMgmt(wifiConfigurationToSupplicantKeyMgmtMask(addSha256KeyMgmtFlags))) 
4192 ················//·iftrue(Label_0930:,·this.setPskPassphrase(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey)))4179 ················//·iftrue(Label_0510:,·wifiConfiguration.allowedProtocols.cardinality()·==·0·||·this.setProto(wifiConfigurationToSupplicantProtoMask(wifiConfiguration.allowedProtocols)))
 4180 ················//·iftrue(Label_1517:,·wifiConfiguration.enterpriseConfig·==·null·||·wifiConfiguration.enterpriseConfig.getEapMethod()·==·-1)
 4181 ················//·iftrue(Label_1163:,·!b2·||·this.setWepTxKeyIdx(wifiConfiguration.wepTxKeyIndex))
4193 ················//·iftrue(Label_1488:,·wifiConfiguration.enterpriseConfig.getEapMethod()·!=·n)4182 ················//·iftrue(Label_1488:,·wifiConfiguration.enterpriseConfig.getEapMethod()·!=·n)
4194 ················//·iftrue(Label_1069:,·this.setWepKey(i,·NativeUtil.hexOrQuotedStringToBytes(wifiConfiguration.wepKeys[i])))4183 ················//·iftrue(Label_0750:,·!wifiConfiguration.allowedKeyManagement.get(13))
4195 ················//·iftrue(Label_0453:,·wifiConfiguration.allowedKeyManagement.cardinality()·==·0)4184 ················//·iftrue(Label_0453:,·wifiConfiguration.allowedKeyManagement.cardinality()·==·0)
 4185 ················//·iftrue(Label_0453:,·!addSha256KeyMgmtFlags.get(10)·||·this.saveSuiteBConfig(wifiConfiguration))
4196 ················//·iftrue(Label_0930:,·this.setPsk(NativeUtil.hexStringToByteArray(wifiConfiguration.preSharedKey))) 
4197 ················//·iftrue(Label_0681:,·wifiConfiguration.allowedPairwiseCiphers.cardinality()·==·0·||·this.setPairwiseCipher(wifiConfigurationToSupplicantPairwiseCipherMask(wifiConfiguration.allowedPairwiseCiphers))) 
4198 ················//·iftrue(Label_0172:,·networkSelectionBSSID·==·null·||·this.setBssid(NativeUtil.macAddressToByteArray(networkSelectionBSSID))) 
4199 ················//·iftrue(Label_1088:,·i·>=·wifiConfiguration.wepKeys.length)4186 ················//·iftrue(Label_0891:,·!wifiConfiguration.allowedKeyManagement.get(n))
 4187 ················//·iftrue(Label_1082:,·wepKeys·==·null)
 4188 ················//·iftrue(Label_0930:,·preSharedKey·==·null)
4200 ················//·iftrue(Label_0255:,·this.setScanSsid(wifiConfiguration.hiddenSSID))4189 ················//·iftrue(Label_0255:,·this.setScanSsid(wifiConfiguration.hiddenSSID))
4201 ················//·iftrue(Label_0567:,·wifiConfiguration.allowedAuthAlgorithms.cardinality()·==·0·||·this.setAuthAlg(wifiConfigurationToSupplicantAuthAlgMask(wifiConfiguration.allowedAuthAlgorithms))) 
4202 ················//·iftrue(Label_1163:,·!b·||·this.setWepTxKeyIdx(wifiConfiguration.wepTxKeyIndex))4190 ················//·iftrue(Label_1069:,·this.setWepKey(i,·NativeUtil.hexOrQuotedStringToBytes(wifiConfiguration.wepKeys[i])))
 4191 ················//·iftrue(Label_0338:,·this.setRequirePmf(wifiConfiguration.requirePmf))
 4192 ················//·iftrue(Label_0624:,·wifiConfiguration.allowedGroupCiphers.cardinality()·==·0·||·this.setGroupCipher(wifiConfigurationToSupplicantGroupCipherMask(wifiConfiguration.allowedGroupCiphers)))
 4193 ················//·iftrue(Label_1203:,·!wifiConfiguration.isPasspoint())
4203 ················while·(true)·{4194 ················while·(true)·{
4204 ················Block_16_Outer:4195 ················Block_18_Outer:
4205 ····················while·(true)·{4196 ····················while·(true)·{
4206 ························Label_1088:·{4197 ························while·(true)·{
 4198 ····························int·i·=·0;
 4199 ····························boolean·b;
 4200 ····························BitSet·addSha256KeyMgmtFlags;
 4201 ····························int·n;
 4202 ····························boolean·b2;
 4203 ····························String·fieldValue·=·null;
 4204 ····························String·s;
 4205 ····························StringBuilder·sb;
 4206 ····························String·s2;
 4207 ····························StringBuilder·sb2;
 4208 ····························final·HashMap<String,·String>·hashMap;
 4209 ····························String·s3;
 4210 ····························StringBuilder·sb3;
 4211 ····························SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback·miSupplicantStaNetworkCallback;
 4212 ····························String·s4;
 4213 ····························StringBuilder·sb4;
 4214 ····························String·s5;
 4215 ····························StringBuilder·sb5;
 4216 ····························final·String·networkSelectionBSSID;
 4217 ····························String·s6;
 4218 ····························StringBuilder·sb6;
 4219 ····························String·s7;
 4220 ····························StringBuilder·sb7;
 4221 ····························String[]·wepKeys;
 4222 ····························String·preSharedKey;
 4223 ····························Block_46:Block_33_Outer:
4207 ····························while·(true)·{4224 ····························while·(true)·{
4208 ····························Block_31_Outer:4225 ····························Block_7_Outer:
4209 ································while·(true)·{4226 ································while·(true)·{
4210 ····································String·s; 
4211 ····································StringBuilder·sb; 
4212 ····································int·i·=·0; 
4213 ····································boolean·b; 
4214 ····································String·fieldValue; 
4215 ····································boolean·b2; 
4216 ····································String·s2; 
4217 ····································StringBuilder·sb2; 
4218 ····································int·n;4227 ····································Block_32:·{
4219 ····································SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback·miSupplicantStaNetworkCallback; 
4220 ····································String[]·wepKeys; 
4221 ····································String·s3; 
4222 ····································StringBuilder·sb3; 
4223 ····································String·s4; 
4224 ····································StringBuilder·sb4; 
4225 ····································String·preSharedKey; 
4226 ····································HashMap<String,·String>·hashMap; 
4227 ····································BitSet·addSha256KeyMgmtFlags; 
4228 ····································String·s5; 
4229 ····································StringBuilder·sb5; 
4230 ····································String·s6; 
4231 ····································StringBuilder·sb6; 
4232 ····································String·s7; 
4233 ····································StringBuilder·sb7; 
4234 ····································String·networkSelectionBSSID; 
4235 ····································Block_20_Outer:Block_6_Outer: 
4236 ····································while·(true)·{4228 ········································while·(true)·{
4237 ········································Label_0953:·{ 
4238 ············································while·(true)·{4229 ············································while·(true)·{
4239 ············································Block_29_Outer: 
4240 ················································while·(true)·{4230 ················································while·(true)·{
 4231 ················································Label_0953_Outer:
4241 ····················································while·(true)·{4232 ····················································while·(true)·{
4242 ························································while·(true)·{4233 ························································++i;
 4234 ························································Block_44:·{
4243 ····························································Block_30_Outer:Block_42_Outer:4235 ····························································Block_31_Outer:Block_9_Outer:
4244 ····························································while·(true)·{4236 ····························································while·(true)·{
4245 ································································s·=·"SupplicantStaNetworkHal"; 
4246 ································································sb·=·new·StringBuilder(); 
4247 ································································sb.append("failed·to·set·wep_key·"); 
4248 ································································sb.append(i); 
4249 ································································Log.e(s,·sb.toString()); 
4250 ································································return·false;4237 ································································break·Label_0953;
4251 ································································Block_8_Outer:Block_27_Outer: 
4252 ································································while·(true)·{4238 ································································while·(true)·{
4253 ····································································Block_41:·{4239 ····································································Block_42_Outer:Block_22_Outer:
4254 ········································································while·(true)·{4240 ····································································while·(true)·{
 4241 ········································································Block_14:·{
4255 ············································································Block_26:·{4242 ············································································Block_20:·{
4256 ················································································while·(true)·{4243 ················································································while·(true)·{
4257 ····················································································Block_21_Outer:Block_37_Outer:4244 ················································································Block_35_Outer:
4258 ····················································································while·(true)·{4245 ····················································································while·(true)·{
4259 ························································································Block_12:·{4246 ····················································································Block_41:
 4247 ························································································while·(true)·{
 4248 ····························································································Label_1088:·{
4260 ····························································································Block_18:·{4249 ····························································································Block_37:
 4250 ································································································while·(true)·{
 4251 ····································································································while·(true)·{
4261 ································································································Block_14:·{4252 ····································································································Block_24_Outer:
 4253 ········································································································while·(true)·{
4262 ····································································································Block_39:·{4254 ············································································································Block_4:·{
4263 ········································································································Label_1073:·{ 
4264 ············································································································while·(true)·{4255 ················································································································while·(true)·{
4265 ················································································································Block_36:·{ 
4266 ····················································································································while·(true)·{4256 ····················································································································while·(true)·{
4267 ························································································································while·(true)·{ 
4268 ····························································································································Block_44:·{4257 ························································································································break·Block_32;
4269 ································································································································while·(true)·{ 
4270 ····································································································································Block_22:·{ 
4271 ········································································································································while·(true)·{ 
4272 ············································································································································i·=·0; 
4273 ············································································································································b·=·false; 
4274 ············································································································································break·Label_0953; 
4275 ············································································································································fieldValue·=·wifiConfiguration.enterpriseConfig.getFieldValue("wapi_cert_suite"); 
4276 ············································································································································break·Block_44; 
4277 ············································································································································Label_1483:·{4258 ························································································································Label_1483:·{
4278 ················································································································································return·b2; 
4279 ············································································································································} 
4280 ············································································································································s2·=·"SupplicantStaNetworkHal"; 
4281 ············································································································································sb2·=·new·StringBuilder(); 
4282 ············································································································································sb2.append(wifiConfiguration.SSID); 
4283 ············································································································································sb2.append(":·failed·to·set·requirePMF:·"); 
4284 ············································································································································sb2.append(wifiConfiguration.requirePmf); 
4285 ············································································································································Log.e(s2,·sb2.toString()); 
4286 ············································································································································return·false; 
4287 ············································································································································Label_0453: 
4288 ············································································································································break·Block_14; 
4289 ············································································································································while·(true)·{ 
4290 ················································································································································Log.e("SupplicantStaNetworkHal",·"Failed·to·register·callback"); 
4291 ················································································································································return·false; 
4292 ················································································································································Label_0567: 
4293 ················································································································································break·Block_18; 
4294 ················································································································································break·Block_22; 
4295 ················································································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·wapi·psk·passphrase"); 
4296 ················································································································································return·false; 
4297 ················································································································································Label_1069: 
4298 ················································································································································b·=·b2; 
4299 ················································································································································break·Label_1073; 
4300 ················································································································································Label_0869: 
4301 ················································································································································return·false; 
4302 ················································································································································Label_1336: 
4303 ················································································································································break·Block_41; 
4304 ················································································································································Label_0750: 
4305 ················································································································································while·(true)·{ 
4306 ····················································································································································Block_24:·{ 
4307 ························································································································································break·Block_24; 
4308 ························································································································································break·Block_26; 
4309 ····················································································································································} 
4310 ····················································································································································continue·Block_37_Outer; 
4311 ················································································································································} 
4312 ················································································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·id·string"); 
4313 ················································································································································return·false; 
4314 ················································································································································Label_1517: 
4315 ················································································································································miSupplicantStaNetworkCallback·=·new·SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback(this,·wifiConfiguration.networkId,·wifiConfiguration.SSID); 
4316 ················································································································································this.mISupplicantStaNetworkCallback·=·(ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback; 
4317 ················································································································································continue·Block_21_Outer; 
4318 ············································································································································} 
4319 ············································································································································Label_0930: 
4320 ············································································································································wepKeys·=·wifiConfiguration.wepKeys; 
4321 ············································································································································b2·=·true; 
4322 ············································································································································continue·Block_42_Outer; 
4323 ········································································································································} 
4324 ········································································································································s3·=·"SupplicantStaNetworkHal"; 
4325 ········································································································································sb3·=·new·StringBuilder(); 
4326 ········································································································································sb3.append(wifiConfiguration.SSID); 
4327 ········································································································································sb3.append(":·failed·to·set·hiddenSSID:·"); 
4328 ········································································································································sb3.append(wifiConfiguration.hiddenSSID); 
4329 ········································································································································Log.e(s3,·sb3.toString()); 
4330 ········································································································································return·false; 
4331 ····································································································································} 
4332 ····································································································································continue·Block_37_Outer; 
4333 ································································································································}4259 ····························································································································return·b;
4334 ····························································································································}4260 ························································································································}
4335 ····························································································································s4·=·"SupplicantStaNetworkHal";4261 ························································································································addSha256KeyMgmtFlags·=·this.addSha256KeyMgmtFlags(this.addFastTransitionFlags(wifiConfiguration.allowedKeyManagement));
4336 ····························································································································sb4·=·new·StringBuilder();4262 ························································································································break·Label_0953_Outer;
4337 ····························································································································sb4.append(wifiConfiguration.SSID); 
4338 ····························································································································sb4.append(":·failed·to·set·WAPI·certificate·suite:·"); 
4339 ····························································································································sb4.append(fieldValue);4263 ························································································································Label_0510:
 4264 ························································································································break·Block_35_Outer;
4340 ····························································································································Log.e(s4,·sb4.toString());4265 ························································································································Label_0624:
 4266 ························································································································break·Block_20;
 4267 ························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·wapi·psk·passphrase");
4341 ····························································································································return·false;4268 ························································································································return·false;
 4269 ························································································································Block_25:·{
4342 ····························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk·passphrase");4270 ····························································································································break·Block_25;
 4271 ····························································································································Label_1082:
4343 ····························································································································return·false;4272 ····························································································································b2·=·false;
 4273 ····························································································································break·Label_1088;
4344 ····························································································································Label_0681:·{4274 ····························································································································Label_0891:
4345 ································································································································preSharedKey·=·wifiConfiguration.preSharedKey; 
4346 ····························································································································} 
4347 ····························································································································n·=·8; 
4348 ····························································································································continue·Block_37_Outer;4275 ····························································································································break·Block_24_Outer;
 4276 ····························································································································fieldValue·=·wifiConfiguration.enterpriseConfig.getFieldValue("wapi_cert_suite");
 4277 ····························································································································break·Block_44;
4349 ························································································································}4278 ························································································································}
 4279 ························································································································Block_26:·{
 4280 ····························································································································break·Block_26;
4350 ························································································································Label_1163:·{4281 ····························································································································Label_0830:
 4282 ····························································································································break·Block_31_Outer;
4351 ····························································································································hashMap·=·new·HashMap<String,·String>();4283 ····························································································································break·Block_4;
4352 ························································································································}4284 ························································································································}
4353 ························································································································break·Block_36; 
4354 ························································································································Label_1082: 
4355 ························································································································b·=·false;4285 ························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·sae·password");
4356 ························································································································break·Label_1088; 
4357 ························································································································Label_1488: 
4358 ························································································································return·false;4286 ························································································································return·false;
 4287 ························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·update·identifier");
4359 ························································································································break·Block_8_Outer;4288 ························································································································return·false;
 4289 ························································································································Label_1574:
4360 ························································································································hashMap.put("configKey",·wifiConfiguration.getKey());4290 ························································································································return·b;
4361 ························································································································hashMap.put("creatorUid",·Integer.toString(wifiConfiguration.creatorUid)); 
4362 ························································································································continue·Block_27_Outer;4291 ························································································································continue·Block_9_Outer;
4363 ····················································································································}4292 ····················································································································}
 4293 ····················································································································s·=·"SupplicantStaNetworkHal";
 4294 ····················································································································sb·=·new·StringBuilder();
 4295 ····················································································································sb.append(wifiConfiguration.SSID);
 4296 ····················································································································sb.append(":·failed·to·set·requirePMF:·");
 4297 ····················································································································sb.append(wifiConfiguration.requirePmf);
 4298 ····················································································································Log.e(s,·sb.toString());
 4299 ····················································································································return·false;
4364 ····················································································································Label_0407:·{4300 ····················································································································Label_0750:·{
4365 ························································································································break·Block_12;4301 ························································································································continue·Block_42_Outer;
4366 ····················································································································}4302 ····················································································································}
4367 ····················································································································s5·=·"SupplicantStaNetworkHal"; 
4368 ····················································································································sb5·=·new·StringBuilder();4303 ················································································································}
4369 ····················································································································sb5.append("failed·to·set·wep_tx_keyidx:·"); 
4370 ····················································································································sb5.append(wifiConfiguration.wepTxKeyIndex); 
4371 ····················································································································Log.e(s5,·sb5.toString());4304 ················································································································Label_1488:·{
4372 ····················································································································return·false;4305 ····················································································································return·false;
4373 ················································································································}4306 ················································································································}
4374 ················································································································hashMap.put("fqdn",·wifiConfiguration.FQDN); 
4375 ················································································································continue·Block_20_Outer; 
4376 ············································································································}4307 ············································································································}
4377 ············································································································Label_1286:·{ 
4378 ················································································································break·Block_39; 
4379 ············································································································} 
4380 ············································································································s6·=·"SupplicantStaNetworkHal";4308 ············································································································s2·=·"SupplicantStaNetworkHal";
4381 ············································································································sb6·=·new·StringBuilder();4309 ············································································································sb2·=·new·StringBuilder();
4382 ············································································································sb6.append("failed·to·set·SSID:·");4310 ············································································································sb2.append("failed·to·set·SSID:·");
4383 ············································································································sb6.append(wifiConfiguration.SSID);4311 ············································································································sb2.append(wifiConfiguration.SSID);
4384 ············································································································Log.e(s6,·sb6.toString());4312 ············································································································Log.e(s2,·sb2.toString());
4385 ············································································································return·false;4313 ············································································································return·false;
 4314 ············································································································continue·Block_24_Outer;
 4315 ········································································································}
 4316 ········································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk");
 4317 ········································································································return·false;
 4318 ········································································································hashMap.put("configKey",·wifiConfiguration.getKey());
 4319 ········································································································hashMap.put("creatorUid",·Integer.toString(wifiConfiguration.creatorUid));
 4320 ········································································································break·Block_37;
 4321 ········································································································s3·=·"SupplicantStaNetworkHal";
 4322 ········································································································sb3·=·new·StringBuilder();
 4323 ········································································································sb3.append("failed·to·set·wep_tx_keyidx:·");
 4324 ········································································································sb3.append(wifiConfiguration.wepTxKeyIndex);
 4325 ········································································································Log.e(s3,·sb3.toString());
 4326 ········································································································return·false;
 4327 ········································································································Label_1517:·{
 4328 ············································································································miSupplicantStaNetworkCallback·=·new·SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback(this,·wifiConfiguration.networkId,·wifiConfiguration.SSID);
4386 ········································································································}4329 ········································································································}
4387 ········································································································++i;4330 ········································································································this.mISupplicantStaNetworkCallback·=·(ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback;
4388 ········································································································break·Label_0953;4331 ········································································································break·Block_46;
 4332 ········································································································s4·=·"SupplicantStaNetworkHal";
 4333 ········································································································sb4·=·new·StringBuilder();
 4334 ········································································································sb4.append("failed·to·set·wep_key·");
 4335 ········································································································sb4.append(i);
 4336 ········································································································Log.e(s4,·sb4.toString());
 4337 ········································································································return·false;
 4338 ········································································································Label_1286:
 4339 ········································································································continue·Block_22_Outer;
4389 ····································································································}4340 ····································································································}
4390 ····································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·update·identifier");4341 ····································································································Label_0453:·{
 4342 ········································································································break·Block_14;
4391 ····································································································return·false;4343 ····································································································}
 4344 ····································································································hashMap.put("fqdn",·wifiConfiguration.FQDN);
 4345 ····································································································continue·Block_35_Outer;
4392 ································································································}4346 ································································································}
4393 ································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Security·Protocol");4347 ································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·id·string");
4394 ································································································return·false;4348 ································································································return·false;
 4349 ································································································Label_1336:·{
 4350 ····································································································break·Block_41;
 4351 ································································································}
4395 ································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·PairwiseCipher");4352 ································································································s5·=·"SupplicantStaNetworkHal";
 4353 ································································································sb5·=·new·StringBuilder();
 4354 ································································································sb5.append("failed·to·set·BSSID:·");
 4355 ································································································sb5.append(networkSelectionBSSID);
 4356 ································································································Log.e(s5,·sb5.toString());
4396 ································································································return·false;4357 ································································································return·false;
4397 ····························································································}4358 ····························································································}
4398 ····························································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Group·Cipher"); 
4399 ····························································································return·false; 
4400 ························································································} 
4401 ························································································Log.e("SupplicantStaNetworkHal",·"Failed·to·set·Suite-B-192·configuration"); 
4402 ························································································return·false; 
4403 ························································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Key·Management"); 
4404 ························································································return·false; 
4405 ························································································Label_0255:·{ 
4406 ····························································································continue·Block_27_Outer;4359 ····························································································continue·Block_33_Outer;
4407 ························································································}4360 ························································································}
 4361 ························································································continue·Block_22_Outer;
4408 ····················································································}4362 ····················································································}
4409 ····················································································s7·=·"SupplicantStaNetworkHal";4363 ····················································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·AuthAlgorithm");
4410 ····················································································sb7·=·new·StringBuilder(); 
4411 ····················································································sb7.append("failed·to·set·BSSID:·"); 
4412 ····················································································sb7.append(networkSelectionBSSID); 
4413 ····················································································Log.e(s7,·sb7.toString()); 
4414 ····················································································return·false;4364 ····················································································return·false;
4415 ····················································································addSha256KeyMgmtFlags·=·this.addSha256KeyMgmtFlags(this.addFastTransitionFlags(wifiConfiguration.allowedKeyManagement)); 
4416 ····················································································continue·Block_6_Outer;4365 ····················································································continue·Block_33_Outer;
4417 ················································································}4366 ················································································}
4418 ················································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk"); 
4419 ················································································return·false; 
4420 ············································································}4367 ············································································}
4421 ············································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·sae·password");4368 ············································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·PairwiseCipher");
4422 ············································································return·false;4369 ············································································return·false;
4423 ············································································Label_0830:·{ 
4424 ················································································continue·Block_31_Outer; 
4425 ············································································} 
4426 ········································································}4370 ········································································}
 4371 ········································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Security·Protocol");
 4372 ········································································return·false;
 4373 ········································································Log.e("SupplicantStaNetworkHal",·"Failed·to·set·Suite-B-192·configuration");
 4374 ········································································return·false;
 4375 ········································································Label_0338:·{
 4376 ············································································continue·Block_33_Outer;
 4377 ········································································}
 4378 ····································································}
 4379 ····································································s6·=·"SupplicantStaNetworkHal";
 4380 ····································································sb6·=·new·StringBuilder();
 4381 ····································································sb6.append(wifiConfiguration.SSID);
 4382 ····································································sb6.append(":·failed·to·set·hiddenSSID:·");
 4383 ····································································sb6.append(wifiConfiguration.hiddenSSID);
 4384 ····································································Log.e(s6,·sb6.toString());
 4385 ····································································return·false;
 4386 ····································································Label_0407:·{
 4387 ········································································continue·Block_7_Outer;
4427 ····································································}4388 ····································································}
4428 ····································································continue·Block_8_Outer; 
4429 ································································}4389 ································································}
 4390 ································································i·=·0;
 4391 ································································b2·=·false;
4430 ································································continue·Block_30_Outer;4392 ································································continue·Block_31_Outer;
4431 ····························································}4393 ····························································}
 4394 ····························································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk·passphrase");
 4395 ····························································return·false;
4432 ····························································Label_0338:·{4396 ····························································Label_0869:·{
4433 ································································continue·Block_29_Outer;4397 ································································return·false;
4434 ····························································}4398 ····························································}
4435 ························································}4399 ························································}
 4400 ························································s7·=·"SupplicantStaNetworkHal";
Max diff block lines reached; 4036/130625 bytes (3.09%) of diff not shown.