| | | |
Offset 129, 15 lines modified | Offset 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 2198, 276 lines modified | Offset 2198, 274 lines modified |
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 | ················final·String·fieldValue; | 2204 | ················final·String·fieldValue; |
2205 | ················Label_0551:·{ | 2205 | ················Label_0638:·{ |
2206 | ····················fieldValue·=·wifiEnterpriseConfig.getFieldValue("ca_cert"); | 2206 | ····················fieldValue·=·wifiEnterpriseConfig.getFieldValue("subject_match"); |
2207 | ················} | 2207 | ················} |
2208 | ················//·iftrue(Label_0638:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setEapCACert(fieldValue)) | 2208 | ················//·iftrue(Label_0725:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setEapSubjectMatch(fieldValue)) |
2209 | ················//·iftrue(Label_1448:,·this.getV1_3StaNetwork()·==·null·||·this.setOcsp(wifiEnterpriseConfig.getOcsp())) | |
2210 | ················//·iftrue(Label_0812:,·TextUtils.isEmpty((CharSequence)fieldValue2)·||·this.setEapEngineID(fieldValue2)) | |
2211 | ················//·iftrue(Label_1021:,·TextUtils.isEmpty((CharSequence)fieldValue3)·||·this.setEapPrivateKeyId(fieldValue3)) | |
2212 | ················//·iftrue(Label_1544:,·TextUtils.isEmpty((CharSequence)fieldValue4)·||·!fieldValue4.equals((Object)"1")·||·this.setEapErp(eapErp)) | 2209 | ················//·iftrue(Label_1544:,·TextUtils.isEmpty((CharSequence)fieldValue2)·||·!fieldValue2.equals((Object)"1")·||·this.setEapErp(eapErp)) |
2213 | ················//·iftrue(Label_0934:,·empty·||·this.setEapEngine(fieldValue6.equals((Object)"1")·&&·eapErp)) | 2210 | ················//·iftrue(Label_0934:,·empty·||·this.setEapEngine(fieldValue3.equals((Object)"1")·&&·eapErp)) |
2214 | ················//·iftrue(Label_0189:,·this.setEapPhase2Method(wifiConfigurationToSupplicantEapPhase2Method(wifiEnterpriseConfig.getPhase2Method()))) | |
2215 | ················//·iftrue(Label_0283:,·TextUtils.isEmpty((CharSequence)fieldValue10)·||·this.setEapIdentity(NativeUtil.stringToByteArrayList(fieldValue10))) | |
2216 | ················//·iftrue(Label_0551:,·TextUtils.isEmpty((CharSequence)fieldValue11)·||·this.setEapClientCert(fieldValue11)) | |
2217 | ················//·iftrue(Label_1282:,·TextUtils.isEmpty((CharSequence)fieldValue12)·||·this.setEapCAPath(fieldValue12)) | |
2218 | ················//·iftrue(Label_1108:,·TextUtils.isEmpty((CharSequence)fieldValue9)·||·this.setEapAltSubjectMatch(fieldValue9)) | 2211 | ················//·iftrue(Label_1108:,·TextUtils.isEmpty((CharSequence)fieldValue5)·||·this.setEapAltSubjectMatch(fieldValue5)) |
| 2212 | ················//·iftrue(Label_1021:,·TextUtils.isEmpty((CharSequence)fieldValue7)·||·this.setEapPrivateKeyId(fieldValue7)) |
| 2213 | ················//·iftrue(Label_0283:,·TextUtils.isEmpty((CharSequence)fieldValue9)·||·this.setEapIdentity(NativeUtil.stringToByteArrayList(fieldValue9))) |
2219 | ················//·iftrue(Label_0377:,·TextUtils.isEmpty((CharSequence)fieldValue13)·||·this.setEapAnonymousIdentity(NativeUtil.stringToByteArrayList(fieldValue13))) | 2214 | ················//·iftrue(Label_0377:,·TextUtils.isEmpty((CharSequence)fieldValue11)·||·this.setEapAnonymousIdentity(NativeUtil.stringToByteArrayList(fieldValue11))) |
| 2215 | ················//·iftrue(Label_0638:,·TextUtils.isEmpty((CharSequence)fieldValue12)·||·this.setEapCACert(fieldValue12)) |
| 2216 | ················//·iftrue(Label_1401:,·TextUtils.isEmpty((CharSequence)fieldValue13)·||·this.setEapProactiveKeyCaching(fieldValue13.equals((Object)"1")·&&·eapErp)) |
| 2217 | ················//·iftrue(Label_1195:,·TextUtils.isEmpty((CharSequence)fieldValue10)·||·this.setEapDomainSuffixMatch(fieldValue10)) |
| 2218 | ················//·iftrue(Label_0102:,·this.setEapMethod(wifiConfigurationToSupplicantEapMethod(wifiEnterpriseConfig.getEapMethod()))) |
2220 | ················//·iftrue(Label_0464:,·TextUtils.isEmpty((CharSequence)fieldValue14)·||·this.setEapPassword(NativeUtil.stringToByteArrayList(fieldValue14))) | 2219 | ················//·iftrue(Label_0464:,·TextUtils.isEmpty((CharSequence)fieldValue14)·||·this.setEapPassword(NativeUtil.stringToByteArrayList(fieldValue14))) |
2221 | ················//·iftrue(Label_1195:,·TextUtils.isEmpty((CharSequence)fieldValue7)·||·this.setEapDomainSuffixMatch(fieldValue7)) | 2220 | ················//·iftrue(Label_0551:,·TextUtils.isEmpty((CharSequence)fieldValue4)·||·this.setEapClientCert(fieldValue4)) |
2222 | ················//·iftrue(Label_0725:,·TextUtils.isEmpty((CharSequence)fieldValue5)·||·this.setEapSubjectMatch(fieldValue5)) | 2221 | ················//·iftrue(Label_1282:,·TextUtils.isEmpty((CharSequence)fieldValue8)·||·this.setEapCAPath(fieldValue8)) |
2223 | ················//·iftrue(Label_1401:,·TextUtils.isEmpty((CharSequence)fieldValue8)·||·this.setEapProactiveKeyCaching(fieldValue8.equals((Object)"1")·&&·eapErp)) | 2222 | ················//·iftrue(Label_0812:,·TextUtils.isEmpty((CharSequence)fieldValue6)·||·this.setEapEngineID(fieldValue6)) |
| 2223 | ················//·iftrue(Label_1448:,·this.getV1_3StaNetwork()·==·null·||·this.setOcsp(wifiEnterpriseConfig.getOcsp())) |
2224 | ················while·(true)·{ | 2224 | ················while·(true)·{ |
2225 | ····················while·(true)·{ | 2225 | ····················while·(true)·{ |
2226 | ····················Block_27_Outer: | 2226 | ····················Block_29_Outer: |
2227 | ························while·(true)·{ | 2227 | ························while·(true)·{ |
2228 | ····························String·fieldValue13·=·null; | |
2229 | ························Block_8: | 2228 | ························Block_10: |
2230 | ····························while·(true)·{ | 2229 | ····························while·(true)·{ |
2231 | ································String·fieldValue3·=·null; | 2230 | ································String·fieldValue5·=·null; |
2232 | ····························Block_23: | 2231 | ····························Block_25: |
2233 | ································while·(true)·{ | 2232 | ································while·(true)·{ |
2234 | ····································Block_14:·{ | 2233 | ····································Block_16:·{ |
2235 | ········································break·Block_14; | 2234 | ········································break·Block_16; |
| 2235 | ········································Label_1448: |
| 2236 | ········································final·String·fieldValue2·=·wifiEnterpriseConfig.getFieldValue("eap_erp"); |
2236 | ········································Block_34:·{ | 2237 | ········································Block_37:·{ |
2237 | ············································String·fieldValue12·=·null; | |
2238 | ············································Block_29:·{ | 2238 | ············································break·Block_37; |
2239 | ············································Block_12_Outer: | 2239 | ············································Label_0812: |
| 2240 | ············································final·String·fieldValue3·=·wifiEnterpriseConfig.getFieldValue("engine"); |
| 2241 | ············································final·boolean·empty·=·TextUtils.isEmpty((CharSequence)fieldValue3); |
| 2242 | ············································final·boolean·eapErp·=·true; |
2240 | ················································while·(true)·{ | 2243 | ············································while·(true)·{ |
| 2244 | ················································String·fieldValue13·=·null; |
| 2245 | ················································Block_32:·{ |
| 2246 | ················································Block_14_Outer: |
2241 | ····················································while·(true)·{ | 2247 | ····················································while·(true)·{ |
| 2248 | ························································while·(true)·{ |
2242 | ························································final·String·fieldValue10; | 2249 | ····························································final·String·fieldValue11; |
2243 | ························································Block_6:·{ | |
2244 | ····························································Block_4:·{ | 2250 | ····························································Block_8:·{ |
2245 | ································································final·String·fieldValue6; | 2251 | ································································final·String·fieldValue9; |
2246 | ································································Block_21:·{ | 2252 | ································································Block_6:·{ |
2247 | ····································································String·fieldValue2·=·null; | 2253 | ····································································final·String·fieldValue7; |
2248 | ····································································Block_18:·{ | 2254 | ····································································Block_23:·{ |
2249 | ········································································while·(true)·{ | 2255 | ········································································Block_21:·{ |
| 2256 | ············································································break·Block_21; |
2250 | ············································································final·String·s2·=·"SupplicantStaNetworkHal"; | 2257 | ············································································final·String·s2·=·"SupplicantStaNetworkHal"; |
2251 | ············································································final·StringBuilder·sb·=·new·StringBuilder(); | 2258 | ············································································final·StringBuilder·sb·=·new·StringBuilder(); |
2252 | ············································································sb.append(s); | 2259 | ············································································sb.append(s); |
2253 | ············································································s·=·":·failed·to·set·eap·erp"; | 2260 | ············································································s·=·":·failed·to·set·eap·method:·"; |
2254 | ············································································sb.append(s); | 2261 | ············································································sb.append(s); |
| 2262 | ············································································sb.append(wifiEnterpriseConfig.getEapMethod()); |
2255 | ············································································s·=·sb.toString(); | 2263 | ············································································s·=·sb.toString(); |
2256 | ············································································Log.e(s2,·s); | 2264 | ············································································Log.e(s2,·s); |
2257 | ············································································return·false; | 2265 | ············································································return·false; |
2258 | ············································································Label_1401: | |
2259 | ············································································break·Block_34; | |
2260 | ············································································Label_0725: | |
2261 | ············································································fieldValue2·=·wifiEnterpriseConfig.getFieldValue("engine_id"); | |
2262 | ············································································break·Block_18; | |
2263 | ············································································final·String·s3·=·"SupplicantStaNetworkHal"; | 2266 | ············································································final·String·s3·=·"SupplicantStaNetworkHal"; |
2264 | ············································································final·StringBuilder·sb2·=·new·StringBuilder(); | 2267 | ············································································final·StringBuilder·sb2·=·new·StringBuilder(); |
2265 | ············································································sb2.append(s); | 2268 | ············································································sb2.append(s); |
2266 | ············································································s·=·":·failed·to·set·eap·password"; | 2269 | ············································································s·=·":·failed·to·set·eap·client·cert:·"; |
2267 | ············································································sb2.append(s); | 2270 | ············································································sb2.append(s); |
| 2271 | ············································································final·String·fieldValue4; |
| 2272 | ············································································sb2.append(fieldValue4); |
2268 | ············································································s·=·sb2.toString(); | 2273 | ············································································s·=·sb2.toString(); |
2269 | ············································································Log.e(s3,·s); | 2274 | ············································································Log.e(s3,·s); |
2270 | ············································································return·false; | 2275 | ············································································return·false; |
| 2276 | ············································································Label_1021: |
| 2277 | ············································································fieldValue5·=·wifiEnterpriseConfig.getFieldValue("altsubject_match"); |
| 2278 | ············································································break·Block_25; |
| 2279 | ············································································Label_1544: |
| 2280 | ············································································return·eapErp; |
| 2281 | ············································································final·String·s4·=·"SupplicantStaNetworkHal"; |
| 2282 | ············································································final·StringBuilder·sb3·=·new·StringBuilder(); |
| 2283 | ············································································sb3.append(s); |
| 2284 | ············································································s·=·":·failed·to·set·eap·engine·id:·"; |
| 2285 | ············································································sb3.append(s); |
| 2286 | ············································································final·String·fieldValue6; |
| 2287 | ············································································sb3.append(fieldValue6); |
| 2288 | ············································································s·=·sb3.toString(); |
| 2289 | ············································································Log.e(s4,·s); |
| 2290 | ············································································return·false; |
2271 | ············································································Label_0934: | 2291 | ············································································Label_0934: |
2272 | ············································································fieldValue3·=·wifiEnterpriseConfig.getFieldValue("key_id"); | 2292 | ············································································fieldValue7·=·wifiEnterpriseConfig.getFieldValue("key_id"); |
2273 | ············································································break·Block_23; | 2293 | ············································································break·Block_23; |
| 2294 | ············································································final·String·s5·=·"SupplicantStaNetworkHal"; |
| 2295 | ············································································final·StringBuilder·sb4·=·new·StringBuilder(); |
| 2296 | ············································································sb4.append(s); |
| 2297 | ············································································s·=·":·failed·to·set·eap·ca·path:·"; |
| 2298 | ············································································sb4.append(s); |
| 2299 | ············································································final·String·fieldValue8; |
| 2300 | ············································································sb4.append(fieldValue8); |
| 2301 | ············································································s·=·sb4.toString(); |
| 2302 | ············································································Log.e(s5,·s); |
| 2303 | ············································································return·false; |
2274 | ············································································Label_1448: | 2304 | ············································································Label_0189: |
2275 | ············································································final·String·fieldValue4·=·wifiEnterpriseConfig.getFieldValue("eap_erp"); | 2305 | ············································································fieldValue9·=·wifiEnterpriseConfig.getFieldValue("identity"); |
2276 | ············································································continue·Block_27_Outer; | 2306 | ············································································break·Block_6; |
| 2307 | ············································································final·String·s6·=·"SupplicantStaNetworkHal"; |
| 2308 | ············································································s·=·"failed·to·set·ocsp"; |
| 2309 | ············································································Log.e(s6,·s); |
| 2310 | ············································································return·false; |
| 2311 | ············································································final·String·s7·=·"SupplicantStaNetworkHal"; |
| 2312 | ············································································final·StringBuilder·sb5·=·new·StringBuilder(); |
| 2313 | ············································································sb5.append(s); |
| 2314 | ············································································s·=·":·failed·to·set·eap·domain·suffix·match:·"; |
| 2315 | ············································································sb5.append(s); |
| 2316 | ············································································final·String·fieldValue10; |
| 2317 | ············································································sb5.append(fieldValue10); |
| 2318 | ············································································s·=·sb5.toString(); |
| 2319 | ············································································Log.e(s7,·s); |
| 2320 | ············································································return·false; |
2277 | ········································································} | 2321 | ········································································} |
2278 | ········································································final·String·s4·=·"SupplicantStaNetworkHal"; | 2322 | ········································································final·String·s8·=·"SupplicantStaNetworkHal"; |
2279 | ········································································final·StringBuilder·sb3·=·new·StringBuilder(); | |
2280 | ········································································sb3.append(s); | |
2281 | ········································································s·=·":·failed·to·set·eap·subject·match:·"; | |
2282 | ········································································sb3.append(s); | |
2283 | ········································································final·String·fieldValue5; | |
2284 | ········································································sb3.append(fieldValue5); | |
2285 | ········································································s·=·sb3.toString(); | |
2286 | ········································································Log.e(s4,·s); | |
2287 | ········································································return·false; | |
2288 | ········································································Label_0812: | |
2289 | ········································································fieldValue6·=·wifiEnterpriseConfig.getFieldValue("engine"); | |
2290 | ········································································final·boolean·empty·=·TextUtils.isEmpty((CharSequence)fieldValue6); | |
2291 | ········································································final·boolean·eapErp·=·true; | |
2292 | ········································································break·Block_21; | |
2293 | ········································································final·String·s5·=·"SupplicantStaNetworkHal"; | |
2294 | ········································································final·StringBuilder·sb4·=·new·StringBuilder(); | |
2295 | ········································································sb4.append(s); | |
2296 | ········································································s·=·":·failed·to·set·eap·domain·suffix·match:·"; | |
2297 | ········································································sb4.append(s); | |
2298 | ········································································final·String·fieldValue7; | |
2299 | ········································································sb4.append(fieldValue7); | |
2300 | ········································································s·=·sb4.toString(); | |
2301 | ········································································Log.e(s5,·s); | |
2302 | ········································································return·false; | |
2303 | ········································································Label_0102: | |
2304 | ········································································break·Block_4; | |
2305 | ········································································final·String·s6·=·"SupplicantStaNetworkHal"; | |
2306 | ········································································final·StringBuilder·sb5·=·new·StringBuilder(); | |
2307 | ········································································sb5.append(s); | |
2308 | ········································································s·=·":·failed·to·set·proactive·key·caching:·"; | |
2309 | ········································································sb5.append(s); | |
2310 | ········································································final·String·fieldValue8; | |
2311 | ········································································sb5.append(fieldValue8); | |
2312 | ········································································s·=·sb5.toString(); | |
2313 | ········································································Log.e(s6,·s); | |
2314 | ········································································return·false; | |
2315 | ········································································final·String·s7·=·"SupplicantStaNetworkHal"; | |
2316 | ········································································final·StringBuilder·sb6·=·new·StringBuilder(); | 2323 | ········································································final·StringBuilder·sb6·=·new·StringBuilder(); |
2317 | ········································································sb6.append(s); | 2324 | ········································································sb6.append(s); |
2318 | ········································································s·=·":·failed·to·set·eap·alt·subject·match:·"; | 2325 | ········································································s·=·":·failed·to·set·eap·engine:·"; |
2319 | ········································································sb6.append(s); | 2326 | ········································································sb6.append(s); |
2320 | ········································································final·String·fieldValue9; | |
2321 | ········································································sb6.append(fieldValue9); | 2327 | ········································································sb6.append(fieldValue3); |
2322 | ········································································s·=·sb6.toString(); | 2328 | ········································································s·=·sb6.toString(); |
2323 | ········································································Log.e(s7,·s); | 2329 | ········································································Log.e(s8,·s); |
2324 | ········································································return·false; | 2330 | ········································································return·false; |
| 2331 | ········································································Label_0283: |
| 2332 | ········································································fieldValue11·=·wifiEnterpriseConfig.getFieldValue("anonymous_identity"); |
| 2333 | ········································································break·Block_8; |
2325 | ····································································} | 2334 | ····································································} |
2326 | ····································································final·String·s8·=·"SupplicantStaNetworkHal"; | 2335 | ····································································final·String·s9·=·"SupplicantStaNetworkHal"; |
2327 | ····································································final·StringBuilder·sb7·=·new·StringBuilder(); | 2336 | ····································································final·StringBuilder·sb7·=·new·StringBuilder(); |
2328 | ····································································sb7.append(s); | 2337 | ····································································sb7.append(s); |
2329 | ····································································s·=·":·failed·to·set·eap·engine·id:·"; | 2338 | ····································································s·=·":·failed·to·set·eap·private·key:·"; |
2330 | ····································································sb7.append(s); | 2339 | ····································································sb7.append(s); |
2331 | ····································································sb7.append(fieldValue2); | 2340 | ····································································sb7.append(fieldValue7); |
2332 | ····································································s·=·sb7.toString(); | 2341 | ····································································s·=·sb7.toString(); |
2333 | ····································································Log.e(s8,·s); | 2342 | ····································································Log.e(s9,·s); |
| 2343 | ····································································return·false; |
| 2344 | ····································································final·String·s10·=·"SupplicantStaNetworkHal"; |
| 2345 | ····································································final·StringBuilder·sb8·=·new·StringBuilder(); |
| 2346 | ····································································sb8.append(s); |
| 2347 | ····································································s·=·":·failed·to·set·eap·ca·cert:·"; |
| 2348 | ····································································sb8.append(s); |
| 2349 | ····································································final·String·fieldValue12; |
| 2350 | ····································································sb8.append(fieldValue12); |
| 2351 | ····································································s·=·sb8.toString(); |
| 2352 | ····································································Log.e(s10,·s); |
2334 | ····································································return·false; | 2353 | ····································································return·false; |
2335 | ····································································Label_0189: | |
2336 | ····································································fieldValue10·=·wifiEnterpriseConfig.getFieldValue("identity"); | |
2337 | ····································································break·Block_6; | |
2338 | ································································} | 2354 | ································································} |
2339 | ································································final·String·s9·=·"SupplicantStaNetworkHal"; | |
2340 | ································································final·StringBuilder·sb8·=·new·StringBuilder(); | |
2341 | ································································sb8.append(s); | |
2342 | ································································s·=·":·failed·to·set·eap·engine:·"; | |
2343 | ································································sb8.append(s); | |
2344 | ································································sb8.append(fieldValue6); | |
2345 | ································································s·=·sb8.toString(); | |
2346 | ································································Log.e(s9,·s); | |
2347 | ································································return·false; | |
2348 | ································································final·String·s10·=·"SupplicantStaNetworkHal"; | 2355 | ································································final·String·s11·=·"SupplicantStaNetworkHal"; |
2349 | ································································final·StringBuilder·sb9·=·new·StringBuilder(); | 2356 | ································································final·StringBuilder·sb9·=·new·StringBuilder(); |
2350 | ································································sb9.append(s); | 2357 | ································································sb9.append(s); |
2351 | ································································s·=·":·failed·to·set·eap·client·cert:·"; | 2358 | ································································s·=·":·failed·to·set·eap·identity:·"; |
2352 | ································································sb9.append(s); | 2359 | ································································sb9.append(s); |
2353 | ································································final·String·fieldValue11; | |
2354 | ································································sb9.append(fieldValue11); | 2360 | ································································sb9.append(fieldValue9); |
2355 | ································································s·=·sb9.toString(); | 2361 | ································································s·=·sb9.toString(); |
2356 | ································································Log.e(s10,·s); | 2362 | ································································Log.e(s11,·s); |
2357 | ································································return·false; | 2363 | ································································return·false; |
2358 | ····························································} | 2364 | ····························································} |
2359 | ····························································final·String·s11·=·"SupplicantStaNetworkHal"; | 2365 | ····························································final·String·s12·=·"SupplicantStaNetworkHal"; |
2360 | ····························································final·StringBuilder·sb10·=·new·StringBuilder(); | 2366 | ····························································final·StringBuilder·sb10·=·new·StringBuilder(); |
2361 | ····························································sb10.append(s); | 2367 | ····························································sb10.append(s); |
2362 | ····························································s·=·":·failed·to·set·eap·phase·2·method:·"; | 2368 | ····························································s·=·":·failed·to·set·eap·anonymous·identity:·"; |
2363 | ····························································sb10.append(s); | 2369 | ····························································sb10.append(s); |
2364 | ····························································sb10.append(wifiEnterpriseConfig.getPhase2Method()); | 2370 | ····························································sb10.append(fieldValue11); |
2365 | ····························································s·=·sb10.toString(); | 2371 | ····························································s·=·sb10.toString(); |
2366 | ····························································Log.e(s11,·s); | 2372 | ····························································Log.e(s12,·s); |
2367 | ····························································return·false; | 2373 | ····························································return·false; |
| 2374 | ····························································Label_0551: |
| 2375 | ····························································final·String·fieldValue12·=·wifiEnterpriseConfig.getFieldValue("ca_cert"); |
| 2376 | ····························································continue; |
2368 | ························································} | 2377 | ························································} |
2369 | ························································final·String·s12·=·"SupplicantStaNetworkHal"; | |
2370 | ························································final·StringBuilder·sb11·=·new·StringBuilder(); | |
2371 | ························································sb11.append(s); | |
2372 | ························································s·=·":·failed·to·set·eap·identity:·"; | |
2373 | ························································sb11.append(s); | |
2374 | ························································sb11.append(fieldValue10); | |
2375 | ························································s·=·sb11.toString(); | |
2376 | ························································Log.e(s12,·s); | 2378 | ························································Label_1282: |
| 2379 | ························································fieldValue13·=·wifiEnterpriseConfig.getFieldValue("proactive_key_caching"); |
2377 | ························································return·false; | 2380 | ························································break·Block_32; |
2378 | ························································Label_0464: | 2381 | ························································Label_1108: |
2379 | ························································final·String·fieldValue11·=·wifiEnterpriseConfig.getFieldValue("client_cert"); | 2382 | ························································final·String·fieldValue10·=·wifiEnterpriseConfig.getFieldValue("domain_suffix_match"); |
2380 | ························································continue; | 2383 | ························································continue·Block_14_Outer; |
2381 | ····················································} | 2384 | ····················································} |
2382 | ····················································Label_1195: | |
2383 | ····················································fieldValue12·=·wifiEnterpriseConfig.getFieldValue("ca_path"); | |
2384 | ····················································break·Block_29; | |
2385 | ····················································Label_1021: | |
2386 | ····················································final·String·fieldValue9·=·wifiEnterpriseConfig.getFieldValue("altsubject_match"); | |
2387 | ····················································continue·Block_12_Outer; | |
2388 | ················································} | 2385 | ················································} |
| 2386 | ················································final·String·s13·=·"SupplicantStaNetworkHal"; |
| 2387 | ················································final·StringBuilder·sb11·=·new·StringBuilder(); |
| 2388 | ················································sb11.append(s); |
| 2389 | ················································s·=·":·failed·to·set·proactive·key·caching:·"; |
| 2390 | ················································sb11.append(s); |
| 2391 | ················································sb11.append(fieldValue13); |
| 2392 | ················································s·=·sb11.toString(); |
| 2393 | ················································Log.e(s13,·s); |
| 2394 | ················································return·false; |
| 2395 | ················································continue·Block_29_Outer; |
2389 | ············································} | 2396 | ············································} |
2390 | ············································final·String·s13·=·"SupplicantStaNetworkHal"; | |
2391 | ············································final·StringBuilder·sb12·=·new·StringBuilder(); | |
2392 | ············································sb12.append(s); | |
2393 | ············································s·=·":·failed·to·set·eap·ca·path:·"; | |
2394 | ············································sb12.append(s); | |
2395 | ············································sb12.append(fieldValue12); | |
2396 | ············································s·=·sb12.toString(); | |
2397 | ············································Log.e(s13,·s); | |
2398 | ············································return·false; | |
2399 | ············································Label_0283: | 2397 | ············································Label_0377: |
2400 | ············································fieldValue13·=·wifiEnterpriseConfig.getFieldValue("anonymous_identity"); | 2398 | ············································final·String·fieldValue14·=·wifiEnterpriseConfig.getFieldValue("password"); |
2401 | ············································break·Block_8; | 2399 | ············································break·Block_10; |
2402 | ········································} | 2400 | ········································} |
2403 | ········································final·String·s14·=·"SupplicantStaNetworkHal"; | 2401 | ········································final·String·s14·=·"SupplicantStaNetworkHal"; |
| 2402 | ········································final·StringBuilder·sb12·=·new·StringBuilder(); |
| 2403 | ········································sb12.append(s); |
2404 | ········································s·=·"failed·to·set·ocsp"; | 2404 | ········································s·=·":·failed·to·set·eap·erp"; |
| 2405 | ········································sb12.append(s); |
| 2406 | ········································s·=·sb12.toString(); |
2405 | ········································Log.e(s14,·s); | 2407 | ········································Log.e(s14,·s); |
2406 | ········································return·false; | 2408 | ········································return·false; |
2407 | ····································} | 2409 | ····································} |
2408 | ····································final·String·s15·=·"SupplicantStaNetworkHal"; | 2410 | ····································final·String·s15·=·"SupplicantStaNetworkHal"; |
2409 | ····································final·StringBuilder·sb13·=·new·StringBuilder(); | 2411 | ····································final·StringBuilder·sb13·=·new·StringBuilder(); |
2410 | ····································sb13.append(s); | 2412 | ····································sb13.append(s); |
2411 | ····································s·=·":·failed·to·set·eap·ca·cert:·"; | 2413 | ····································s·=·":·failed·to·set·eap·subject·match:·"; |
2412 | ····································sb13.append(s); | 2414 | ····································sb13.append(s); |
2413 | ····································sb13.append(fieldValue); | 2415 | ····································sb13.append(fieldValue); |
2414 | ····································s·=·sb13.toString(); | 2416 | ····································s·=·sb13.toString(); |
2415 | ····································Log.e(s15,·s); | 2417 | ····································Log.e(s15,·s); |
2416 | ····································return·false; | 2418 | ····································return·false; |
2417 | ····································final·String·s16·=·"SupplicantStaNetworkHal"; | 2419 | ····································final·String·s16·=·"SupplicantStaNetworkHal"; |
2418 | ····································final·StringBuilder·sb14·=·new·StringBuilder(); | 2420 | ····································final·StringBuilder·sb14·=·new·StringBuilder(); |
2419 | ····································sb14.append(s); | 2421 | ····································sb14.append(s); |
2420 | ····································s·=·":·failed·to·set·eap·method:·"; | 2422 | ····································s·=·":·failed·to·set·eap·phase·2·method:·"; |
2421 | ····································sb14.append(s); | 2423 | ····································sb14.append(s); |
2422 | ····································sb14.append(wifiEnterpriseConfig.getEapMethod()); | 2424 | ····································sb14.append(wifiEnterpriseConfig.getPhase2Method()); |
2423 | ····································s·=·sb14.toString(); | 2425 | ····································s·=·sb14.toString(); |
2424 | ····································Log.e(s16,·s); | 2426 | ····································Log.e(s16,·s); |
2425 | ····································return·false; | 2427 | ····································return·false; |
2426 | ····································Label_0377: | 2428 | ····································Label_0464: |
2427 | ····································final·String·fieldValue14·=·wifiEnterpriseConfig.getFieldValue("password"); | 2429 | ····································final·String·fieldValue4·=·wifiEnterpriseConfig.getFieldValue("client_cert"); |
2428 | ····································continue·Block_27_Outer; | 2430 | ····································continue·Block_29_Outer; |
2429 | ································} | 2431 | ································} |
2430 | ································final·String·s17·=·"SupplicantStaNetworkHal"; | 2432 | ································final·String·s17·=·"SupplicantStaNetworkHal"; |
2431 | ································final·StringBuilder·sb15·=·new·StringBuilder(); | 2433 | ································final·StringBuilder·sb15·=·new·StringBuilder(); |
2432 | ································sb15.append(s); | 2434 | ································sb15.append(s); |
2433 | ································s·=·":·failed·to·set·eap·private·key:·"; | 2435 | ································s·=·":·failed·to·set·eap·alt·subject·match:·"; |
2434 | ································sb15.append(s); | 2436 | ································sb15.append(s); |
2435 | ································sb15.append(fieldValue3); | 2437 | ································sb15.append(fieldValue5); |
2436 | ································s·=·sb15.toString(); | 2438 | ································s·=·sb15.toString(); |
2437 | ································Log.e(s17,·s); | 2439 | ································Log.e(s17,·s); |
2438 | ································return·false; | 2440 | ································return·false; |
2439 | ································Label_1108: | 2441 | ································Label_1195: |
2440 | ································final·String·fieldValue7·=·wifiEnterpriseConfig.getFieldValue("domain_suffix_match"); | 2442 | ································final·String·fieldValue8·=·wifiEnterpriseConfig.getFieldValue("ca_path"); |
2441 | ································continue; | 2443 | ································continue; |
2442 | ····························} | 2444 | ····························} |
2443 | ····························final·String·s18·=·"SupplicantStaNetworkHal"; | 2445 | ····························final·String·s18·=·"SupplicantStaNetworkHal"; |
2444 | ····························final·StringBuilder·sb16·=·new·StringBuilder(); | 2446 | ····························final·StringBuilder·sb16·=·new·StringBuilder(); |
2445 | ····························sb16.append(s); | 2447 | ····························sb16.append(s); |
2446 | ····························s·=·":·failed·to·set·eap·anonymous·identity:·"; | 2448 | ····························s·=·":·failed·to·set·eap·password"; |
2447 | ····························sb16.append(s); | 2449 | ····························sb16.append(s); |
2448 | ····························sb16.append(fieldValue13); | |
2449 | ····························s·=·sb16.toString(); | 2450 | ····························s·=·sb16.toString(); |
2450 | ····························Log.e(s18,·s); | 2451 | ····························Log.e(s18,·s); |
2451 | ····························return·false; | 2452 | ····························return·false; |
2452 | ····························boolean·eapErp·=·false; | |
2453 | ····························Label_1544: | 2453 | ····························Label_0725: |
2454 | ····························return·eapErp; | |
2455 | ····························Label_0638: | |
2456 | ····························final·String·fieldValue5·=·wifiEnterpriseConfig.getFieldValue("subject_match"); | 2454 | ····························final·String·fieldValue6·=·wifiEnterpriseConfig.getFieldValue("engine_id"); |
2457 | ····························continue·Block_27_Outer; | 2455 | ····························continue·Block_29_Outer; |
2458 | ························} | 2456 | ························} |
2459 | ························Label_1282: | 2457 | ························Label_1401: |
2460 | ························final·String·fieldValue8·=·wifiEnterpriseConfig.getFieldValue("proactive_key_caching"); | |
2461 | ························continue; | 2458 | ························continue; |
2462 | ····················} | 2459 | ····················} |
| 2460 | ····················Label_0102: |
2463 | ····················continue; | 2461 | ····················continue; |
2464 | ················} | 2462 | ················} |
2465 | ············} | 2463 | ············} |
2466 | ············//·iftrue(Label_0102:,·this.setEapMethod(wifiConfigurationToSupplicantEapMethod(wifiEnterpriseConfig.getEapMethod()))) | 2464 | ············//·iftrue(Label_0189:,·this.setEapPhase2Method(wifiConfigurationToSupplicantEapPhase2Method(wifiEnterpriseConfig.getPhase2Method()))) |
2467 | ············finally·{ | 2465 | ············finally·{ |
2468 | ············} | 2466 | ············} |
2469 | ············//·monitorexit(mLock) | 2467 | ············//·monitorexit(mLock) |
2470 | ········} | 2468 | ········} |
2471 | ····} | 2469 | ····} |
2472 | ···· | 2470 | ···· |
2473 | ····private·boolean·sendNetworkEapIdentityResponse(final·ArrayList·list,·final·ArrayList·list2)·{ | 2471 | ····private·boolean·sendNetworkEapIdentityResponse(final·ArrayList·list,·final·ArrayList·list2)·{ |
Offset 3935, 191 lines modified | Offset 3933, 198 lines modified |
3935 | ········Label_0018:·{ | 3933 | ········Label_0018:·{ |
3936 | ············if·(wifiConfiguration·!=·null)·{ | 3934 | ············if·(wifiConfiguration·!=·null)·{ |
3937 | ················break·Label_0018; | 3935 | ················break·Label_0018; |
3938 | ············} | 3936 | ············} |
3939 | ············try·{ | 3937 | ············try·{ |
3940 | ················//·monitorexit(mLock) | 3938 | ················//·monitorexit(mLock) |
3941 | ················return·false; | 3939 | ················return·false; |
3942 | ················//·iftrue(Label_0407:,·!this.getKeyMgmt()) | |
3943 | ················//·iftrue(Label_0860:,·!this.getWapiCertSuite()·||·TextUtils.isEmpty((CharSequence)this.mWapiCertSuite)) | |
3944 | ················//·iftrue(Label_0864:,·!wifiConfiguration.allowedKeyManagement.get(14)) | 3940 | ················//·iftrue(Label_0630:,·!wifiConfiguration.allowedKeyManagement.get(13)) |
3945 | ················//·iftrue(Label_0437:,·!this.getProto()) | 3941 | ················//·iftrue(Label_0437:,·!this.getProto()) |
| 3942 | ················//·iftrue(Label_0904:,·!this.getSsid()·||·ArrayUtils.isEmpty((Collection)this.mSsid)) |
| 3943 | ················//·iftrue(Label_0467:,·!this.getAuthAlg()) |
| 3944 | ················//·iftrue(Label_0261:,·!this.getWepTxKeyIdx()) |
| 3945 | ················//·iftrue(Label_0355:,·n2·>=·4) |
| 3946 | ················//·iftrue(Label_0700:,·!this.getPsk()·||·ArrayUtils.isEmpty(this.mPsk)) |
| 3947 | ················//·iftrue(Label_0864:,·!wifiConfiguration.allowedKeyManagement.get(14)) |
| 3948 | ················//·iftrue(Label_0204:,·!this.getScanSsid()) |
| 3949 | ················//·iftrue(Label_0860:,·!this.getWapiCertSuite()·||·TextUtils.isEmpty((CharSequence)this.mWapiCertSuite)) |
3946 | ················//·iftrue(Label_0232:,·!this.getRequirePmf()) | 3950 | ················//·iftrue(Label_0232:,·!this.getRequirePmf()) |
3947 | ················//·iftrue(Label_0630:,·!wifiConfiguration.allowedKeyManagement.get(13)) | 3951 | ················//·iftrue(Label_0652:,·!this.getPskPassphrase()·||·TextUtils.isEmpty((CharSequence)this.mPskPassphrase)) |
| 3952 | ················//·iftrue(Label_0887:,·!this.getId()) |
| 3953 | ················//·iftrue(Label_0497:,·!this.getGroupCipher()) |
3948 | ················//·iftrue(Label_0176:,·!this.getBssid()·||·ArrayUtils.isEmpty(this.mBssid)) | 3954 | ················//·iftrue(Label_0176:,·!this.getBssid()·||·ArrayUtils.isEmpty(this.mBssid)) |
3949 | ················//·iftrue(Label_0261:,·!this.getWepTxKeyIdx()) | |
3950 | ················//·iftrue(Label_0346:,·!this.getWepKey(n)·||·ArrayUtils.isEmpty((Collection)this.mWepKey)) | |
3951 | ················//·iftrue(Label_0803:,·wifiConfiguration.enterpriseConfig·!=·null) | 3955 | ················//·iftrue(Label_0803:,·wifiConfiguration.enterpriseConfig·!=·null) |
3952 | ················//·iftrue(Label_0204:,·!this.getScanSsid()) | |
3953 | ················//·iftrue(Label_0557:,·!this.getGroupMgmtCipher()) | 3956 | ················//·iftrue(Label_0557:,·!this.getGroupMgmtCipher()) |
3954 | ················//·iftrue(Label_0467:,·!this.getAuthAlg()) | |
3955 | ················//·iftrue(Label_0904:,·!this.getSsid()·||·ArrayUtils.isEmpty((Collection)this.mSsid)) | |
3956 | ················//·iftrue(Label_0887:,·!this.getId()) | |
3957 | ················//·iftrue(Label_0527:,·!this.getPairwiseCipher()) | 3957 | ················//·iftrue(Label_0527:,·!this.getPairwiseCipher()) |
| 3958 | ················//·iftrue(Label_0346:,·!this.getWepKey(n2)·||·ArrayUtils.isEmpty((Collection)this.mWepKey)) |
3958 | ················//·iftrue(Label_0497:,·!this.getGroupCipher()) | 3959 | ················//·iftrue(Label_0407:,·!this.getKeyMgmt()) |
3959 | ················//·iftrue(Label_0700:,·!this.getPsk()·||·ArrayUtils.isEmpty(this.mPsk)) | |
3960 | ················//·iftrue(Label_0753:,·!this.getIdStr()·||·TextUtils.isEmpty((CharSequence)this.mIdStr)) | 3960 | ················//·iftrue(Label_0753:,·!this.getIdStr()·||·TextUtils.isEmpty((CharSequence)this.mIdStr)) |
3961 | ················//·iftrue(Label_0652:,·!this.getPskPassphrase()·||·TextUtils.isEmpty((CharSequence)this.mPskPassphrase)) | |
3962 | ············Label_0497_Outer: | 3961 | ············Label_0527_Outer: |
3963 | ················while·(true)·{ | 3962 | ················while·(true)·{ |
| 3963 | ····················int·n2·=·0; |
| 3964 | ················Block_13: |
| 3965 | ····················while·(true)·{ |
3964 | ····················Label_0267:·{ | 3966 | ····················Label_0700_Outer: |
3965 | ························while·(true)·{ | 3967 | ························while·(true)·{ |
3966 | ························Block_21_Outer: | 3968 | ····························BitSet·removeFastTransitionFlags; |
| 3969 | ····························int·n; |
| 3970 | ····························Label_0700:Label_0557_Outer: |
3967 | ····························while·(true)·{ | 3971 | ····························while·(true)·{ |
3968 | ····························Label_0527_Outer: | 3972 | ································Block_22:·{ |
3969 | ································while·(true)·{ | 3973 | ····································while·(true)·{ |
| 3974 | ········································Block_19:·{ |
3970 | ····································Label_0557:·{ | 3975 | ········································Label_0768: |
3971 | ········································while·(true)·{ | 3976 | ············································while·(true)·{ |
3972 | ············································Block_18:·{ | 3977 | ············································Block_14_Outer: |
3973 | ················································while·(true)·{ | 3978 | ················································while·(true)·{ |
3974 | ····················································int·n·=·0; | |
3975 | ····················································int·n2; | |
3976 | ····················································Label_0700:Label_0346_Outer: | 3979 | ················································Label_0261_Outer: |
3977 | ····················································while·(true)·{ | 3980 | ····················································while·(true)·{ |
3978 | ························································while·(true)·{ | |
3979 | ····························································Block_13:·{ | 3981 | ························································Block_11:·{ |
3980 | ································································Label_0261:·{ | 3982 | ····························································Label_0497:·{ |
| 3983 | ································································Block_27:·{ |
| 3984 | ····································································while·(true)·{ |
3981 | ····································································Block_30:·{ | 3985 | ········································································Block_10:·{ |
3982 | ········································································Label_0467:·{ | |
3983 | ············································································Label_0768:Label_0232_Outer: | |
3984 | ············································································while·(true)·{ | 3986 | ············································································while·(true)·{ |
| 3987 | ············································································Block_5: |
3985 | ················································································while·(true)·{ | 3988 | ················································································while·(true)·{ |
3986 | ····················································································Block_9:·{ | 3989 | ····················································································Label_0467:·{ |
| 3990 | ························································································Label_0407_Outer:Block_9_Outer: |
3987 | ························································································while·(true)·{ | 3991 | ························································································while·(true)·{ |
| 3992 | ····························································································break·Block_22; |
| 3993 | ····························································································Block_8_Outer:Block_30_Outer: |
3988 | ····························································································while·(true)·{ | 3994 | ····························································································while·(true)·{ |
3989 | ····························································································Block_8_Outer: | |
3990 | ································································································while·(true)·{ | |
3991 | ····································································································wifiConfiguration.allowedGroupManagementCiphers·=·supplicantToWifiConfigurationGroupMgmtCipherMask(this.mGroupMgmtCipherMask); | |
3992 | ····································································································break·Label_0557; | |
3993 | ····································································································Label_0355:·{ | 3995 | ································································································Label_0204:·{ |
3994 | ········································································································break·Label_0527_Outer; | |
3995 | ····································································································} | |
3996 | ································································································Block_7_Outer: | |
3997 | ····································································································while·(true)·{ | 3996 | ····································································································while·(true)·{ |
3998 | ········································································································wifiConfiguration.hiddenSSID·=·this.mScanSsid; | |
3999 | ········································································································Label_0176:·{ | |
4000 | ············································································································Block_27:·{ | 3997 | ····································································································Block_24: |
| 3998 | ········································································································while·(true)·{ |
4001 | ················································································································while·(true)·{ | 3999 | ············································································································while·(true)·{ |
| 4000 | ················································································································Label_0232:·{ |
4002 | ····················································································································while·(true)·{ | 4001 | ····················································································································while·(true)·{ |
| 4002 | ························································································································while·(true)·{ |
| 4003 | ····························································································································break·Label_0700; |
| 4004 | ····························································································································wifiConfiguration.SSID·=·null; |
| 4005 | ····························································································································break·Label_0407_Outer; |
| 4006 | ····························································································································wifiConfiguration.requirePmf·=·this.mRequirePmf; |
| 4007 | ····························································································································break·Label_0232; |
| 4008 | ····························································································································wifiConfiguration.allowedGroupCiphers·=·supplicantToWifiConfigurationGroupCipherMask(this.mGroupCipherMask); |
| 4009 | ····························································································································break·Label_0497; |
4003 | ························································································································Label_0204:·{ | 4010 | ····························································································································Label_0860:·{ |
| 4011 | ································································································································return·true; |
| 4012 | ····························································································································} |
| 4013 | ····························································································································wifiConfiguration.hiddenSSID·=·this.mScanSsid; |
4004 | ····························································································································break·Label_0204; | 4014 | ····························································································································break·Label_0204; |
4005 | ····························································································································wifiConfiguration.allowedAuthAlgorithms·=·supplicantToWifiConfigurationAuthAlgMask(this.mAuthAlgMask); | 4015 | ····························································································································wifiConfiguration.allowedAuthAlgorithms·=·supplicantToWifiConfigurationAuthAlgMask(this.mAuthAlgMask); |
4006 | ····························································································································break·Label_0467; | 4016 | ····························································································································break·Label_0467; |
4007 | ····························································································································Label_0803: | |
4008 | ····························································································································wifiConfiguration.enterpriseConfig.setEapMethod(8); | |
4009 | ····························································································································break·Block_30; | 4017 | ····························································································································map.putAll(parseNetworkExtra(this.mIdStr)); |
4010 | ····························································································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID(NativeUtil.macAddressFromByteArray(this.mBssid)); | |
4011 | ····························································································································break·Label_0176; | 4018 | ····························································································································break·Label_0768; |
| 4019 | ····························································································································removeFastTransitionFlags·=·this.removeFastTransitionFlags(supplicantToWifiConfigurationKeyMgmtMask(this.mKeyMgmtMask)); |
4012 | ····························································································································while·(true)·{ | 4020 | ····························································································································wifiConfiguration.allowedKeyManagement·=·removeFastTransitionFlags; |
| 4021 | ····························································································································wifiConfiguration.allowedKeyManagement·=·this.removeSha256KeyMgmtFlags(removeFastTransitionFlags); |
4013 | ································································································································wifiConfiguration.allowedProtocols·=·supplicantToWifiConfigurationProtoMask(this.mProtoMask); | |
4014 | ································································································································break·Block_8_Outer; | |
4015 | ································································································································break·Block_27; | |
4016 | ································································································································wifiConfiguration.preSharedKey·=·NativeUtil.hexStringFromByteArray(this.mPsk); | |
4017 | ································································································································break·Label_0700; | |
4018 | ································································································································++n; | |
4019 | ································································································································break·Label_0267; | |
4020 | ································································································································continue·Label_0346_Outer; | 4022 | ····························································································································continue·Block_9_Outer; |
4021 | ····························································································································} | |
4022 | ························································································································} | 4023 | ························································································································} |
4023 | ························································································································wifiConfiguration.requirePmf·=·false; | |
4024 | ························································································································break·Block_9; | |
4025 | ························································································································wifiConfiguration.wepTxKeyIndex·=·this.mWepTxKeyIdx; | |
4026 | ························································································································break·Label_0261; | |
4027 | ························································································································wifiConfiguration.preSharedKey·=·this.mPskPassphrase; | |
4028 | ························································································································break·Label_0700; | |
4029 | ························································································································map.putAll(parseNetworkExtra(this.mIdStr)); | |
4030 | ························································································································continue·Label_0768; | |
4031 | ························································································································Label_0860: | |
4032 | ························································································································return·true; | |
4033 | ························································································································wifiConfiguration.networkId·=·this.mNetworkId; | |
4034 | ························································································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID((String)null); | |
4035 | ························································································································continue·Label_0346_Outer; | 4024 | ························································································································continue·Block_14_Outer; |
4036 | ····················································································································} | 4025 | ····················································································································} |
4037 | ····················································································································wifiConfiguration.wepTxKeyIndex·=·n2; | |
4038 | ····················································································································continue·Block_21_Outer; | |
4039 | ················································································································} | 4026 | ················································································································} |
4040 | ················································································································wifiConfiguration.wepKeys[n]·=·null; | 4027 | ················································································································wifiConfiguration.wepTxKeyIndex·=·n; |
4041 | ················································································································break·Block_13; | 4028 | ················································································································break·Block_10; |
| 4029 | ················································································································break·Block_11; |
| 4030 | ················································································································wifiConfiguration.enterpriseConfig.setWapiCertSuite(this.mWapiCertSuite); |
| 4031 | ················································································································return·true; |
4042 | ················································································································Label_0630: | 4032 | ················································································································Label_0630:·{ |
4043 | ················································································································wifiConfiguration.preSharedKey·=·NativeUtil.addEnclosingQuotes(this.mPskPassphrase); | 4033 | ····················································································································wifiConfiguration.preSharedKey·=·NativeUtil.addEnclosingQuotes(this.mPskPassphrase); |
| 4034 | ················································································································} |
4044 | ················································································································break·Label_0700; | 4035 | ················································································································break·Label_0700; |
| 4036 | ················································································································Label_0652: |
| 4037 | ················································································································break·Block_24; |
| 4038 | ················································································································break·Block_27; |
| 4039 | ················································································································Label_0887: |
| 4040 | ················································································································Log.e("SupplicantStaNetworkHal",·"getId·failed"); |
| 4041 | ················································································································return·false; |
| 4042 | ················································································································wifiConfiguration.hiddenSSID·=·false; |
| 4043 | ················································································································continue·Block_14_Outer; |
4045 | ············································································································} | 4044 | ············································································································} |
4046 | ············································································································return·false; | 4045 | ············································································································n2·=·0; |
| 4046 | ············································································································continue·Block_30_Outer; |
| 4047 | ············································································································++n2; |
| 4048 | ············································································································continue·Block_30_Outer; |
| 4049 | ········································································································} |
| 4050 | ········································································································wifiConfiguration.preSharedKey·=·NativeUtil.hexStringFromByteArray(this.mPsk); |
| 4051 | ········································································································break·Label_0700; |
| 4052 | ········································································································Label_0803:·{ |
| 4053 | ············································································································wifiConfiguration.enterpriseConfig.setEapMethod(8); |
4047 | ········································································································} | 4054 | ········································································································} |
4048 | ········································································································wifiConfiguration.hiddenSSID·=·false; | |
4049 | ········································································································continue·Block_7_Outer; | 4055 | ········································································································continue·Label_0700_Outer; |
4050 | ····································································································} | 4056 | ····································································································} |
4051 | ····································································································continue·Block_8_Outer; | |
4052 | ································································································} | 4057 | ································································································} |
| 4058 | ································································································wifiConfiguration.requirePmf·=·false; |
4053 | ································································································continue·Label_0346_Outer; | 4059 | ································································································continue·Block_8_Outer; |
4054 | ····························································································} | 4060 | ····························································································} |
4055 | ····························································································wifiConfiguration.SSID·=·null; | 4061 | ····························································································wifiConfiguration.preSharedKey·=·null; |
4056 | ····························································································wifiConfiguration.SSID·=·NativeUtil.encodeSsid(this.mSsid); | |
4057 | ····························································································n2·=·-1; | |
4058 | ····························································································wifiConfiguration.networkId·=·n2; | |
4059 | ····························································································continue·Label_0232_Outer; | 4062 | ····························································································continue·Label_0407_Outer; |
4060 | ························································································} | 4063 | ························································································} |
| 4064 | ························································································wifiConfiguration.SSID·=·NativeUtil.encodeSsid(this.mSsid); |
| 4065 | ························································································n·=·-1; |
| 4066 | ························································································wifiConfiguration.networkId·=·n; |
| 4067 | ························································································break·Block_5; |
4061 | ····················································································} | 4068 | ····················································································} |
4062 | ····················································································wifiConfiguration.requirePmf·=·this.mRequirePmf; | |
4063 | ····················································································continue·Label_0527_Outer; | 4069 | ····················································································continue·Block_14_Outer; |
4064 | ················································································} | |
4065 | ················································································Label_0753:·{ | |
4066 | ····················································································Log.w("SupplicantStaNetworkHal",·"getIdStr·failed·or·empty"); | |
4067 | ················································································} | 4070 | ················································································} |
| 4071 | ················································································wifiConfiguration.networkId·=·this.mNetworkId; |
| 4072 | ················································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID((String)null); |
| 4073 | ················································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID(NativeUtil.macAddressFromByteArray(this.mBssid)); |
4068 | ················································································continue·Label_0768; | 4074 | ················································································continue·Label_0261_Outer; |
4069 | ············································································} | 4075 | ············································································} |
4070 | ············································································break·Block_18; | |
4071 | ········································································} | 4076 | ········································································} |
| 4077 | ········································································wifiConfiguration.wepTxKeyIndex·=·this.mWepTxKeyIdx; |
4072 | ········································································break·Block_21_Outer; | 4078 | ········································································continue·Label_0557_Outer; |
4073 | ····································································} | 4079 | ····································································} |
4074 | ····································································wifiConfiguration.enterpriseConfig.setWapiCertSuite(this.mWapiCertSuite); | |
4075 | ····································································return·true; | |
4076 | ································································} | 4080 | ································································} |
| 4081 | ································································return·false; |
| 4082 | ································································break·Block_19; |
4077 | ································································n·=·0; | 4083 | ····························································} |
4078 | ································································break·Label_0267; | 4084 | ····························································break·Label_0700_Outer; |
| 4085 | ····························································Label_0864:·{ |
| 4086 | ································································return·this.loadWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig); |
4079 | ····························································} | 4087 | ····························································} |
4080 | ····························································wifiConfiguration.wepKeys[n]·=·NativeUtil.bytesToHexOrQuotedString(this.mWepKey); | |
4081 | ····························································continue·Block_21_Outer; | |
4082 | ························································} | 4088 | ························································} |
| 4089 | ························································wifiConfiguration.wepKeys[n2]·=·null; |
| 4090 | ························································break·Block_13; |
4083 | ························································Label_0904:·{ | 4091 | ························································Label_0355:·{ |
4084 | ····························································Log.e("SupplicantStaNetworkHal",·"failed·to·read·ssid"); | 4092 | ····························································continue·Label_0700_Outer; |
4085 | ························································} | 4093 | ························································} |
4086 | ························································return·false; | |
4087 | ························································Label_0887: | |
4088 | ························································Log.e("SupplicantStaNetworkHal",·"getId·failed"); | |
4089 | ························································return·false; | |
4090 | ························································Label_0652: | |
4091 | ························································continue·Label_0346_Outer; | |
4092 | ····················································} | 4094 | ····················································} |
4093 | ····················································continue·Label_0527_Outer; | 4095 | ····················································continue·Block_14_Outer; |
4094 | ················································} | 4096 | ················································} |
4095 | ················································Label_0864:·{ | 4097 | ················································Label_0753:·{ |
4096 | ····················································return·this.loadWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig); | 4098 | ····················································Log.w("SupplicantStaNetworkHal",·"getIdStr·failed·or·empty"); |
4097 | ················································} | 4099 | ················································} |
| 4100 | ················································continue·Label_0768; |
4098 | ············································} | 4101 | ············································} |
4099 | ············································wifiConfiguration.allowedPairwiseCiphers·=·supplicantToWifiConfigurationPairwiseCipherMask(this.mPairwiseCipherMask); | |
4100 | ············································continue·Label_0497_Outer; | 4102 | ············································Label_0904:·{ |
| 4103 | ················································Log.e("SupplicantStaNetworkHal",·"failed·to·read·ssid"); |
| 4104 | ············································} |
| 4105 | ············································return·false; |
4101 | ········································} | 4106 | ········································} |
| 4107 | ········································wifiConfiguration.allowedGroupManagementCiphers·=·supplicantToWifiConfigurationGroupMgmtCipherMask(this.mGroupMgmtCipherMask); |
| 4108 | ········································continue·Label_0527_Outer; |
4102 | ····································} | 4109 | ····································} |
4103 | ····································wifiConfiguration.preSharedKey·=·null; | |
4104 | ····································continue·Label_0497_Outer; | |
4105 | ································} | 4110 | ································} |
| 4111 | ································wifiConfiguration.preSharedKey·=·this.mPskPassphrase; |
4106 | ································final·BitSet·removeFastTransitionFlags·=·this.removeFastTransitionFlags(supplicantToWifiConfigurationKeyMgmtMask(this.mKeyMgmtMask)); | |
4107 | ································wifiConfiguration.allowedKeyManagement·=·removeFastTransitionFlags; | |
4108 | ································wifiConfiguration.allowedKeyManagement·=·this.removeSha256KeyMgmtFlags(removeFastTransitionFlags); | |
4109 | ································continue·Label_0497_Outer; | 4112 | ································continue·Label_0700; |
4110 | ····························} | 4113 | ····························} |
4111 | ····························wifiConfiguration.allowedGroupCiphers·=·supplicantToWifiConfigurationGroupCipherMask(this.mGroupCipherMask); | 4114 | ····························wifiConfiguration.allowedProtocols·=·supplicantToWifiConfigurationProtoMask(this.mProtoMask); |
4112 | ····························continue; | 4115 | ····························continue·Label_0527_Outer; |
4113 | ························} | 4116 | ························} |
| 4117 | ························wifiConfiguration.allowedPairwiseCiphers·=·supplicantToWifiConfigurationPairwiseCipherMask(this.mPairwiseCipherMask); |
| 4118 | ························continue; |
4114 | ····················} | 4119 | ····················} |
| 4120 | ····················wifiConfiguration.wepKeys[n2]·=·NativeUtil.bytesToHexOrQuotedString(this.mWepKey); |
4115 | ····················continue; | 4121 | ····················continue·Label_0527_Outer; |
4116 | ················} | 4122 | ················} |
4117 | ············} | 4123 | ············} |
4118 | ············//·iftrue(Label_0355:,·n·>=·4) | |
4119 | ············finally·{ | 4124 | ············finally·{ |
4120 | ············} | 4125 | ············} |
4121 | ············//·monitorexit(mLock) | 4126 | ············//·monitorexit(mLock) |
4122 | ········} | 4127 | ········} |
4123 | ····} | 4128 | ····} |
4124 | ···· | 4129 | ···· |
4125 | ····public·boolean·saveWifiConfiguration(final·WifiConfiguration·wifiConfiguration)·{ | 4130 | ····public·boolean·saveWifiConfiguration(final·WifiConfiguration·wifiConfiguration)·{ |