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 3933, 198 lines modifiedOffset 3933, 191 lines modified
3933 ········Label_0018:·{3933 ········Label_0018:·{
3934 ············if·(wifiConfiguration·!=·null)·{3934 ············if·(wifiConfiguration·!=·null)·{
3935 ················break·Label_0018;3935 ················break·Label_0018;
3936 ············}3936 ············}
3937 ············try·{3937 ············try·{
3938 ················//·monitorexit(mLock)3938 ················//·monitorexit(mLock)
3939 ················return·false;3939 ················return·false;
3940 ················//·iftrue(Label_0630:,·!wifiConfiguration.allowedKeyManagement.get(13)) 
3941 ················//·iftrue(Label_0437:,·!this.getProto())3940 ················//·iftrue(Label_0407:,·!this.getKeyMgmt())
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))3941 ················//·iftrue(Label_0860:,·!this.getWapiCertSuite()·||·TextUtils.isEmpty((CharSequence)this.mWapiCertSuite))
 3942 ················//·iftrue(Label_0864:,·!wifiConfiguration.allowedKeyManagement.get(14))
 3943 ················//·iftrue(Label_0437:,·!this.getProto())
3950 ················//·iftrue(Label_0232:,·!this.getRequirePmf())3944 ················//·iftrue(Label_0232:,·!this.getRequirePmf())
 3945 ················//·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()) 
3954 ················//·iftrue(Label_0176:,·!this.getBssid()·||·ArrayUtils.isEmpty(this.mBssid))3946 ················//·iftrue(Label_0176:,·!this.getBssid()·||·ArrayUtils.isEmpty(this.mBssid))
 3947 ················//·iftrue(Label_0261:,·!this.getWepTxKeyIdx())
 3948 ················//·iftrue(Label_0346:,·!this.getWepKey(n)·||·ArrayUtils.isEmpty((Collection)this.mWepKey))
3955 ················//·iftrue(Label_0803:,·wifiConfiguration.enterpriseConfig·!=·null)3949 ················//·iftrue(Label_0803:,·wifiConfiguration.enterpriseConfig·!=·null)
 3950 ················//·iftrue(Label_0204:,·!this.getScanSsid())
3956 ················//·iftrue(Label_0557:,·!this.getGroupMgmtCipher())3951 ················//·iftrue(Label_0557:,·!this.getGroupMgmtCipher())
 3952 ················//·iftrue(Label_0467:,·!this.getAuthAlg())
 3953 ················//·iftrue(Label_0904:,·!this.getSsid()·||·ArrayUtils.isEmpty((Collection)this.mSsid))
 3954 ················//·iftrue(Label_0887:,·!this.getId())
3957 ················//·iftrue(Label_0527:,·!this.getPairwiseCipher())3955 ················//·iftrue(Label_0527:,·!this.getPairwiseCipher())
3958 ················//·iftrue(Label_0346:,·!this.getWepKey(n2)·||·ArrayUtils.isEmpty((Collection)this.mWepKey)) 
3959 ················//·iftrue(Label_0407:,·!this.getKeyMgmt())3956 ················//·iftrue(Label_0497:,·!this.getGroupCipher())
 3957 ················//·iftrue(Label_0700:,·!this.getPsk()·||·ArrayUtils.isEmpty(this.mPsk))
3960 ················//·iftrue(Label_0753:,·!this.getIdStr()·||·TextUtils.isEmpty((CharSequence)this.mIdStr))3958 ················//·iftrue(Label_0753:,·!this.getIdStr()·||·TextUtils.isEmpty((CharSequence)this.mIdStr))
 3959 ················//·iftrue(Label_0652:,·!this.getPskPassphrase()·||·TextUtils.isEmpty((CharSequence)this.mPskPassphrase))
3961 ············Label_0527_Outer:3960 ············Label_0497_Outer:
3962 ················while·(true)·{3961 ················while·(true)·{
3963 ····················int·n2·=·0; 
3964 ················Block_13: 
3965 ····················while·(true)·{ 
3966 ····················Label_0700_Outer:3962 ····················Label_0267:·{
3967 ························while·(true)·{3963 ························while·(true)·{
 3964 ························Block_21_Outer:
3968 ····························BitSet·removeFastTransitionFlags; 
3969 ····························int·n; 
3970 ····························Label_0700:Label_0557_Outer: 
3971 ····························while·(true)·{3965 ····························while·(true)·{
3972 ································Block_22:·{3966 ····························Label_0527_Outer:
3973 ····································while·(true)·{3967 ································while·(true)·{
3974 ········································Block_19:·{ 
3975 ········································Label_0768:3968 ····································Label_0557:·{
3976 ············································while·(true)·{3969 ········································while·(true)·{
3977 ············································Block_14_Outer:3970 ············································Block_18:·{
3978 ················································while·(true)·{3971 ················································while·(true)·{
 3972 ····················································int·n·=·0;
 3973 ····················································int·n2;
3979 ················································Label_0261_Outer:3974 ····················································Label_0700:Label_0346_Outer:
3980 ····················································while·(true)·{3975 ····················································while·(true)·{
 3976 ························································while·(true)·{
3981 ························································Block_11:·{3977 ····························································Block_13:·{
3982 ····························································Label_0497:·{3978 ································································Label_0261:·{
3983 ································································Block_27:·{ 
3984 ····································································while·(true)·{ 
3985 ········································································Block_10:·{3979 ····································································Block_30:·{
 3980 ········································································Label_0467:·{
 3981 ············································································Label_0768:Label_0232_Outer:
3986 ············································································while·(true)·{3982 ············································································while·(true)·{
3987 ············································································Block_5: 
3988 ················································································while·(true)·{3983 ················································································while·(true)·{
3989 ····················································································Label_0467:·{3984 ····················································································Block_9:·{
3990 ························································································Label_0407_Outer:Block_9_Outer: 
3991 ························································································while·(true)·{3985 ························································································while·(true)·{
3992 ····························································································break·Block_22; 
3993 ····························································································Block_8_Outer:Block_30_Outer: 
3994 ····························································································while·(true)·{3986 ····························································································while·(true)·{
 3987 ····························································································Block_8_Outer:
 3988 ································································································while·(true)·{
 3989 ····································································································wifiConfiguration.allowedGroupManagementCiphers·=·supplicantToWifiConfigurationGroupMgmtCipherMask(this.mGroupMgmtCipherMask);
 3990 ····································································································break·Label_0557;
3995 ································································································Label_0204:·{3991 ····································································································Label_0355:·{
 3992 ········································································································break·Label_0527_Outer;
 3993 ····································································································}
 3994 ································································································Block_7_Outer:
3996 ····································································································while·(true)·{3995 ····································································································while·(true)·{
 3996 ········································································································wifiConfiguration.hiddenSSID·=·this.mScanSsid;
 3997 ········································································································Label_0176:·{
3997 ····································································································Block_24:3998 ············································································································Block_27:·{
3998 ········································································································while·(true)·{ 
3999 ············································································································while·(true)·{3999 ················································································································while·(true)·{
4000 ················································································································Label_0232:·{ 
4001 ····················································································································while·(true)·{4000 ····················································································································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; 
4010 ····························································································································Label_0860:·{4001 ························································································································Label_0204:·{
4011 ································································································································return·true; 
4012 ····························································································································} 
4013 ····························································································································wifiConfiguration.hiddenSSID·=·this.mScanSsid; 
4014 ····························································································································break·Label_0204;4002 ····························································································································break·Label_0204;
4015 ····························································································································wifiConfiguration.allowedAuthAlgorithms·=·supplicantToWifiConfigurationAuthAlgMask(this.mAuthAlgMask);4003 ····························································································································wifiConfiguration.allowedAuthAlgorithms·=·supplicantToWifiConfigurationAuthAlgMask(this.mAuthAlgMask);
4016 ····························································································································break·Label_0467;4004 ····························································································································break·Label_0467;
 4005 ····························································································································Label_0803:
 4006 ····························································································································wifiConfiguration.enterpriseConfig.setEapMethod(8);
4017 ····························································································································map.putAll(parseNetworkExtra(this.mIdStr));4007 ····························································································································break·Block_30;
 4008 ····························································································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID(NativeUtil.macAddressFromByteArray(this.mBssid));
4018 ····························································································································break·Label_0768;4009 ····························································································································break·Label_0176;
4019 ····························································································································removeFastTransitionFlags·=·this.removeFastTransitionFlags(supplicantToWifiConfigurationKeyMgmtMask(this.mKeyMgmtMask)); 
4020 ····························································································································wifiConfiguration.allowedKeyManagement·=·removeFastTransitionFlags;4010 ····························································································································while·(true)·{
4021 ····························································································································wifiConfiguration.allowedKeyManagement·=·this.removeSha256KeyMgmtFlags(removeFastTransitionFlags);4011 ································································································································wifiConfiguration.allowedProtocols·=·supplicantToWifiConfigurationProtoMask(this.mProtoMask);
 4012 ································································································································break·Block_8_Outer;
 4013 ································································································································break·Block_27;
 4014 ································································································································wifiConfiguration.preSharedKey·=·NativeUtil.hexStringFromByteArray(this.mPsk);
 4015 ································································································································break·Label_0700;
 4016 ································································································································++n;
 4017 ································································································································break·Label_0267;
4022 ····························································································································continue·Block_9_Outer;4018 ································································································································continue·Label_0346_Outer;
 4019 ····························································································································}
4023 ························································································································}4020 ························································································································}
 4021 ························································································································wifiConfiguration.requirePmf·=·false;
 4022 ························································································································break·Block_9;
 4023 ························································································································wifiConfiguration.wepTxKeyIndex·=·this.mWepTxKeyIdx;
 4024 ························································································································break·Label_0261;
 4025 ························································································································wifiConfiguration.preSharedKey·=·this.mPskPassphrase;
 4026 ························································································································break·Label_0700;
 4027 ························································································································map.putAll(parseNetworkExtra(this.mIdStr));
 4028 ························································································································continue·Label_0768;
 4029 ························································································································Label_0860:
 4030 ························································································································return·true;
 4031 ························································································································wifiConfiguration.networkId·=·this.mNetworkId;
 4032 ························································································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID((String)null);
4024 ························································································································continue·Block_14_Outer;4033 ························································································································continue·Label_0346_Outer;
4025 ····················································································································}4034 ····················································································································}
 4035 ····················································································································wifiConfiguration.wepTxKeyIndex·=·n2;
 4036 ····················································································································continue·Block_21_Outer;
4026 ················································································································}4037 ················································································································}
4027 ················································································································wifiConfiguration.wepTxKeyIndex·=·n;4038 ················································································································wifiConfiguration.wepKeys[n]·=·null;
4028 ················································································································break·Block_10;4039 ················································································································break·Block_13;
4029 ················································································································break·Block_11; 
4030 ················································································································wifiConfiguration.enterpriseConfig.setWapiCertSuite(this.mWapiCertSuite); 
4031 ················································································································return·true; 
4032 ················································································································Label_0630:·{4040 ················································································································Label_0630:
4033 ····················································································································wifiConfiguration.preSharedKey·=·NativeUtil.addEnclosingQuotes(this.mPskPassphrase);4041 ················································································································wifiConfiguration.preSharedKey·=·NativeUtil.addEnclosingQuotes(this.mPskPassphrase);
4034 ················································································································} 
4035 ················································································································break·Label_0700;4042 ················································································································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; 
4044 ············································································································}4043 ············································································································}
4045 ············································································································n2·=·0;4044 ············································································································return·false;
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); 
4054 ········································································································}4045 ········································································································}
 4046 ········································································································wifiConfiguration.hiddenSSID·=·false;
4055 ········································································································continue·Label_0700_Outer;4047 ········································································································continue·Block_7_Outer;
4056 ····································································································}4048 ····································································································}
 4049 ····································································································continue·Block_8_Outer;
4057 ································································································}4050 ································································································}
4058 ································································································wifiConfiguration.requirePmf·=·false; 
4059 ································································································continue·Block_8_Outer;4051 ································································································continue·Label_0346_Outer;
4060 ····························································································}4052 ····························································································}
4061 ····························································································wifiConfiguration.preSharedKey·=·null;4053 ····························································································wifiConfiguration.SSID·=·null;
 4054 ····························································································wifiConfiguration.SSID·=·NativeUtil.encodeSsid(this.mSsid);
 4055 ····························································································n2·=·-1;
 4056 ····························································································wifiConfiguration.networkId·=·n2;
4062 ····························································································continue·Label_0407_Outer;4057 ····························································································continue·Label_0232_Outer;
4063 ························································································}4058 ························································································}
4064 ························································································wifiConfiguration.SSID·=·NativeUtil.encodeSsid(this.mSsid); 
4065 ························································································n·=·-1; 
4066 ························································································wifiConfiguration.networkId·=·n; 
4067 ························································································break·Block_5; 
4068 ····················································································}4059 ····················································································}
 4060 ····················································································wifiConfiguration.requirePmf·=·this.mRequirePmf;
4069 ····················································································continue·Block_14_Outer;4061 ····················································································continue·Label_0527_Outer;
4070 ················································································}4062 ················································································}
 4063 ················································································Label_0753:·{
 4064 ····················································································Log.w("SupplicantStaNetworkHal",·"getIdStr·failed·or·empty");
4071 ················································································wifiConfiguration.networkId·=·this.mNetworkId;4065 ················································································}
4072 ················································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID((String)null); 
4073 ················································································wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionBSSID(NativeUtil.macAddressFromByteArray(this.mBssid)); 
4074 ················································································continue·Label_0261_Outer;4066 ················································································continue·Label_0768;
4075 ············································································}4067 ············································································}
 4068 ············································································break·Block_18;
4076 ········································································}4069 ········································································}
4077 ········································································wifiConfiguration.wepTxKeyIndex·=·this.mWepTxKeyIdx; 
4078 ········································································continue·Label_0557_Outer;4070 ········································································break·Block_21_Outer;
4079 ····································································}4071 ····································································}
 4072 ····································································wifiConfiguration.enterpriseConfig.setWapiCertSuite(this.mWapiCertSuite);
 4073 ····································································return·true;
4080 ································································}4074 ································································}
4081 ································································return·false; 
4082 ································································break·Block_19; 
4083 ····························································}4075 ································································n·=·0;
4084 ····························································break·Label_0700_Outer;4076 ································································break·Label_0267;
4085 ····························································Label_0864:·{ 
4086 ································································return·this.loadWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig); 
4087 ····························································}4077 ····························································}
 4078 ····························································wifiConfiguration.wepKeys[n]·=·NativeUtil.bytesToHexOrQuotedString(this.mWepKey);
 4079 ····························································continue·Block_21_Outer;
4088 ························································}4080 ························································}
4089 ························································wifiConfiguration.wepKeys[n2]·=·null; 
4090 ························································break·Block_13; 
4091 ························································Label_0355:·{4081 ························································Label_0904:·{
4092 ····························································continue·Label_0700_Outer;4082 ····························································Log.e("SupplicantStaNetworkHal",·"failed·to·read·ssid");
4093 ························································}4083 ························································}
 4084 ························································return·false;
 4085 ························································Label_0887:
 4086 ························································Log.e("SupplicantStaNetworkHal",·"getId·failed");
 4087 ························································return·false;
 4088 ························································Label_0652:
 4089 ························································continue·Label_0346_Outer;
4094 ····················································}4090 ····················································}
4095 ····················································continue·Block_14_Outer;4091 ····················································continue·Label_0527_Outer;
4096 ················································}4092 ················································}
4097 ················································Label_0753:·{4093 ················································Label_0864:·{
4098 ····················································Log.w("SupplicantStaNetworkHal",·"getIdStr·failed·or·empty");4094 ····················································return·this.loadWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig);
4099 ················································}4095 ················································}
4100 ················································continue·Label_0768; 
4101 ············································} 
4102 ············································Label_0904:·{ 
4103 ················································Log.e("SupplicantStaNetworkHal",·"failed·to·read·ssid"); 
4104 ············································}4096 ············································}
4105 ············································return·false;4097 ············································wifiConfiguration.allowedPairwiseCiphers·=·supplicantToWifiConfigurationPairwiseCipherMask(this.mPairwiseCipherMask);
 4098 ············································continue·Label_0497_Outer;
4106 ········································}4099 ········································}
4107 ········································wifiConfiguration.allowedGroupManagementCiphers·=·supplicantToWifiConfigurationGroupMgmtCipherMask(this.mGroupMgmtCipherMask); 
4108 ········································continue·Label_0527_Outer; 
4109 ····································}4100 ····································}
 4101 ····································wifiConfiguration.preSharedKey·=·null;
 4102 ····································continue·Label_0497_Outer;
4110 ································}4103 ································}
4111 ································wifiConfiguration.preSharedKey·=·this.mPskPassphrase;4104 ································final·BitSet·removeFastTransitionFlags·=·this.removeFastTransitionFlags(supplicantToWifiConfigurationKeyMgmtMask(this.mKeyMgmtMask));
 4105 ································wifiConfiguration.allowedKeyManagement·=·removeFastTransitionFlags;
 4106 ································wifiConfiguration.allowedKeyManagement·=·this.removeSha256KeyMgmtFlags(removeFastTransitionFlags);
4112 ································continue·Label_0700;4107 ································continue·Label_0497_Outer;
4113 ····························}4108 ····························}
4114 ····························wifiConfiguration.allowedProtocols·=·supplicantToWifiConfigurationProtoMask(this.mProtoMask);4109 ····························wifiConfiguration.allowedGroupCiphers·=·supplicantToWifiConfigurationGroupCipherMask(this.mGroupCipherMask);
4115 ····························continue·Label_0527_Outer;4110 ····························continue;
4116 ························}4111 ························}
4117 ························wifiConfiguration.allowedPairwiseCiphers·=·supplicantToWifiConfigurationPairwiseCipherMask(this.mPairwiseCipherMask); 
4118 ························continue; 
4119 ····················}4112 ····················}
4120 ····················wifiConfiguration.wepKeys[n2]·=·NativeUtil.bytesToHexOrQuotedString(this.mWepKey); 
4121 ····················continue·Label_0527_Outer;4113 ····················continue;
4122 ················}4114 ················}
4123 ············}4115 ············}
 4116 ············//·iftrue(Label_0355:,·n·>=·4)
4124 ············finally·{4117 ············finally·{
4125 ············}4118 ············}
4126 ············//·monitorexit(mLock)4119 ············//·monitorexit(mLock)
4127 ········}4120 ········}
4128 ····}4121 ····}
4129 ····4122 ····
4130 ····public·boolean·saveWifiConfiguration(final·WifiConfiguration·wifiConfiguration)·{4123 ····public·boolean·saveWifiConfiguration(final·WifiConfiguration·wifiConfiguration)·{
Offset 4133, 288 lines modifiedOffset 4126, 300 lines modified
4133 ········Label_0015:·{4126 ········Label_0015:·{
4134 ············if·(wifiConfiguration·!=·null)·{4127 ············if·(wifiConfiguration·!=·null)·{
4135 ················break·Label_0015;4128 ················break·Label_0015;
4136 ············}4129 ············}
4137 ············try·{4130 ············try·{
4138 ················//·monitorexit(mLock)4131 ················//·monitorexit(mLock)
4139 ················return·false;4132 ················return·false;
 4133 ················//·iftrue(Label_1069:,·this.setWepKey(i,·NativeUtil.hexOrQuotedStringToBytes(wifiConfiguration.wepKeys[i])))
 4134 ················//·iftrue(Label_1082:,·wepKeys·==·null)
4140 ················Label_1069:·{ 
4141 ····················final·boolean·b2; 
4142 ····················final·boolean·b·=·b2; 
4143 ················} 
4144 ················//·iftrue(Label_1088:,·i·>=·wifiConfiguration.wepKeys.length) 
4145 ················//·iftrue(Label_1517:,·this.saveWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig)) 
4146 ················//·iftrue(Label_0453:,·wifiConfiguration.allowedKeyManagement.cardinality()·==·0) 
4147 ················//·iftrue(Label_0930:,·this.setPskPassphrase(wifiConfiguration.preSharedKey)) 
4148 ················//·iftrue(Label_0869:,·!wifiConfiguration.preSharedKey.startsWith("\"")) 
4149 ················//·iftrue(Label_1488:,·wifiConfiguration.enterpriseConfig.getEapMethod()·!=·n)4135 ················//·iftrue(Label_1488:,·wifiConfiguration.enterpriseConfig.getEapMethod()·!=·n)
4150 ················//·iftrue(Label_0830:,·!wifiConfiguration.allowedKeyManagement.get(n)) 
4151 ················//·iftrue(Label_0930:,·this.setSaePassword(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey))) 
4152 ················//·iftrue(Label_1336:,·wifiConfiguration.updateIdentifier·==·null·||·this.setUpdateIdentifier(Integer.parseInt(wifiConfiguration.updateIdentifier))) 
4153 ················//·iftrue(Label_0338:,·this.setRequirePmf(wifiConfiguration.requirePmf))4136 ················//·iftrue(Label_0338:,·this.setRequirePmf(wifiConfiguration.requirePmf))
 4137 ················//·iftrue(Label_1574:,·this.registerCallback((ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback))
 4138 ················//·iftrue(Label_0930:,·preSharedKey·==·null)
 4139 ················//·iftrue(Label_0930:,·this.setPskPassphrase(wifiConfiguration.preSharedKey))
4154 ················//·iftrue(Label_0891:,·!wifiConfiguration.allowedKeyManagement.get(n))4140 ················//·iftrue(Label_0830:,·!wifiConfiguration.allowedKeyManagement.get(n))
4155 ················//·iftrue(Label_0095:,·wifiConfiguration.SSID·==·null·||·this.setSsid(NativeUtil.decodeSsid(wifiConfiguration.SSID)))4141 ················//·iftrue(Label_0869:,·!wifiConfiguration.preSharedKey.startsWith("\""))
 4142 ················//·iftrue(Label_1286:,·this.setIdStr(createNetworkExtra((Map)hashMap)))
 4143 ················//·iftrue(Label_0255:,·this.setScanSsid(wifiConfiguration.hiddenSSID))
4156 ················//·iftrue(Label_0750:,·!wifiConfiguration.allowedKeyManagement.get(13))4144 ················//·iftrue(Label_0750:,·!wifiConfiguration.allowedKeyManagement.get(13))
 4145 ················//·iftrue(Label_1483:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setWapiCertSuite(fieldValue))
4157 ················//·iftrue(Label_0930:,·this.setPsk(NativeUtil.hexStringToByteArray(wifiConfiguration.preSharedKey)))4146 ················//·iftrue(Label_0930:,·this.setPskPassphrase(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey)))
 4147 ················//·iftrue(Label_0891:,·!wifiConfiguration.allowedKeyManagement.get(n))
 4148 ················//·iftrue(Label_1088:,·i·>=·wifiConfiguration.wepKeys.length)
4158 ················//·iftrue(Label_1163:,·!b·||·this.setWepTxKeyIdx(wifiConfiguration.wepTxKeyIndex))4149 ················//·iftrue(Label_1163:,·!b2·||·this.setWepTxKeyIdx(wifiConfiguration.wepTxKeyIndex))
4159 ················//·iftrue(Label_1069:,·this.setWepKey(i,·NativeUtil.hexOrQuotedStringToBytes(wifiConfiguration.wepKeys[i]))) 
4160 ················//·iftrue(Label_1203:,·!wifiConfiguration.isPasspoint())4150 ················//·iftrue(Label_1203:,·!wifiConfiguration.isPasspoint())
 4151 ················//·iftrue(Label_0095:,·wifiConfiguration.SSID·==·null·||·this.setSsid(NativeUtil.decodeSsid(wifiConfiguration.SSID)))
 4152 ················//·iftrue(Label_1336:,·wifiConfiguration.updateIdentifier·==·null·||·this.setUpdateIdentifier(Integer.parseInt(wifiConfiguration.updateIdentifier)))
4161 ················//·iftrue(Label_1286:,·this.setIdStr(createNetworkExtra((Map)hashMap))) 
4162 ················//·iftrue(Label_0172:,·networkSelectionBSSID·==·null·||·this.setBssid(NativeUtil.macAddressToByteArray(networkSelectionBSSID))) 
4163 ················//·iftrue(Label_1517:,·wifiConfiguration.enterpriseConfig·==·null·||·wifiConfiguration.enterpriseConfig.getEapMethod()·==·-1) 
4164 ················//·iftrue(Label_0567:,·wifiConfiguration.allowedAuthAlgorithms.cardinality()·==·0·||·this.setAuthAlg(wifiConfigurationToSupplicantAuthAlgMask(wifiConfiguration.allowedAuthAlgorithms))) 
4165 ················//·iftrue(Label_0930:,·preSharedKey·==·null) 
4166 ················//·iftrue(Label_0681:,·wifiConfiguration.allowedPairwiseCiphers.cardinality()·==·0·||·this.setPairwiseCipher(wifiConfigurationToSupplicantPairwiseCipherMask(wifiConfiguration.allowedPairwiseCiphers))) 
4167 ················//·iftrue(Label_0510:,·wifiConfiguration.allowedProtocols.cardinality()·==·0·||·this.setProto(wifiConfigurationToSupplicantProtoMask(wifiConfiguration.allowedProtocols)))4153 ················//·iftrue(Label_0510:,·wifiConfiguration.allowedProtocols.cardinality()·==·0·||·this.setProto(wifiConfigurationToSupplicantProtoMask(wifiConfiguration.allowedProtocols)))
 4154 ················//·iftrue(Label_0681:,·wifiConfiguration.allowedPairwiseCiphers.cardinality()·==·0·||·this.setPairwiseCipher(wifiConfigurationToSupplicantPairwiseCipherMask(wifiConfiguration.allowedPairwiseCiphers)))
 4155 ················//·iftrue(Label_0624:,·wifiConfiguration.allowedGroupCiphers.cardinality()·==·0·||·this.setGroupCipher(wifiConfigurationToSupplicantGroupCipherMask(wifiConfiguration.allowedGroupCiphers)))
4168 ················//·iftrue(Label_0453:,·!addSha256KeyMgmtFlags.get(10)·||·this.saveSuiteBConfig(wifiConfiguration))4156 ················//·iftrue(Label_0453:,·!addSha256KeyMgmtFlags.get(10)·||·this.saveSuiteBConfig(wifiConfiguration))
4169 ················//·iftrue(Label_0255:,·this.setScanSsid(wifiConfiguration.hiddenSSID)) 
4170 ················//·iftrue(Label_1082:,·wepKeys·==·null) 
4171 ················//·iftrue(Label_0930:,·this.setPskPassphrase(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey))) 
4172 ················//·iftrue(Label_1483:,·TextUtils.isEmpty((CharSequence)fieldValue)·||·this.setWapiCertSuite(fieldValue)) 
4173 ················//·iftrue(Label_0407:,·this.setKeyMgmt(wifiConfigurationToSupplicantKeyMgmtMask(addSha256KeyMgmtFlags)))4157 ················//·iftrue(Label_0407:,·this.setKeyMgmt(wifiConfigurationToSupplicantKeyMgmtMask(addSha256KeyMgmtFlags)))
4174 ················//·iftrue(Label_0624:,·wifiConfiguration.allowedGroupCiphers.cardinality()·==·0·||·this.setGroupCipher(wifiConfigurationToSupplicantGroupCipherMask(wifiConfiguration.allowedGroupCiphers)))4158 ················//·iftrue(Label_0172:,·networkSelectionBSSID·==·null·||·this.setBssid(NativeUtil.macAddressToByteArray(networkSelectionBSSID)))
 4159 ················//·iftrue(Label_0453:,·wifiConfiguration.allowedKeyManagement.cardinality()·==·0)
 4160 ················//·iftrue(Label_0930:,·this.setPsk(NativeUtil.hexStringToByteArray(wifiConfiguration.preSharedKey)))
 4161 ················//·iftrue(Label_0930:,·this.setSaePassword(NativeUtil.removeEnclosingQuotes(wifiConfiguration.preSharedKey)))
 4162 ················//·iftrue(Label_1517:,·wifiConfiguration.enterpriseConfig·==·null·||·wifiConfiguration.enterpriseConfig.getEapMethod()·==·-1)
4175 ················//·iftrue(Label_1073:,·wifiConfiguration.wepKeys[i]·==·null)4163 ················//·iftrue(Label_1073:,·wifiConfiguration.wepKeys[i]·==·null)
4176 ················//·iftrue(Label_1574:,·this.registerCallback((ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback)) 
4177 ················Block_4:·{4164 ················//·iftrue(Label_0567:,·wifiConfiguration.allowedAuthAlgorithms.cardinality()·==·0·||·this.setAuthAlg(wifiConfigurationToSupplicantAuthAlgMask(wifiConfiguration.allowedAuthAlgorithms)))
 4165 ················while·(true)·{
4178 ····················Block_35:·{4166 ····················Block_14:·{
4179 ························Block_16:·{ 
4180 ························Block_32_Outer:4167 ························String·networkSelectionBSSID·=·null;
 4168 ····················Label_0953:
4181 ····························while·(true)·{4169 ························while·(true)·{
4182 ····························Block_7:4170 ····························Block_30:·{
4183 ································while·(true)·{4171 ································Block_46:·{
4184 ····································Block_31:·{4172 ····································Block_4:·{
4185 ········································String·networkSelectionBSSID·=·null; 
4186 ········································Block_6:·{4173 ····································Block_18:
4187 ············································boolean·b2; 
4188 ············································boolean·b; 
4189 ············································int·i·=·0; 
4190 ············································String·s;4174 ········································while·(true)·{
4191 ············································StringBuilder·sb; 
4192 ············································String·fieldValue; 
4193 ············································int·n; 
4194 ············································HashMap<String,·String>·hashMap; 
4195 ············································String·preSharedKey; 
4196 ············································BitSet·addSha256KeyMgmtFlags; 
4197 ············································String·s2; 
4198 ············································StringBuilder·sb2; 
4199 ············································String[]·wepKeys; 
4200 ············································String·s3; 
4201 ············································StringBuilder·sb3; 
4202 ············································Block_20:Block_10_Outer:4175 ········································Block_41_Outer:
4203 ············································while·(true)·{4176 ············································while·(true)·{
 4177 ················································int·i·=·0;
 4178 ················································String[]·wepKeys;
 4179 ················································boolean·b;
4204 ················································Block_29:·{4180 ················································int·n;
 4181 ················································String·s;
 4182 ················································StringBuilder·sb;
 4183 ················································String·fieldValue;
 4184 ················································SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback·miSupplicantStaNetworkCallback;
 4185 ················································String·preSharedKey;
 4186 ················································String·s2;
 4187 ················································StringBuilder·sb2;
 4188 ················································HashMap<String,·String>·hashMap;
 4189 ················································String·s3;
 4190 ················································StringBuilder·sb3;
 4191 ················································boolean·b2;
 4192 ················································BitSet·addSha256KeyMgmtFlags;
 4193 ················································String·s4;
 4194 ················································StringBuilder·sb4;
 4195 ················································Block_44_Outer:Block_12_Outer:Block_29_Outer:
 4196 ················································while·(true)·{
 4197 ····················································Block_10_Outer:Block_9_Outer:
4205 ····················································while·(true)·{4198 ····················································while·(true)·{
4206 ························································Block_9:·{4199 ························································while·(true)·{
4207 ····························································Block_33:·{4200 ····························································Block_7:·{
4208 ································································Block_14_Outer:Block_30_Outer: 
4209 ································································while·(true)·{4201 ································································while·(true)·{
4210 ····································································Block_42:·{ 
4211 ····································································Block_12_Outer:4202 ····································································Block_27_Outer:Block_39_Outer:
 4203 ····································································while·(true)·{
4212 ········································································while·(true)·{4204 ········································································while·(true)·{
 4205 ············································································Label_1203_Outer:Label_1073_Outer:
4213 ············································································Block_8:·{4206 ············································································while·(true)·{
4214 ················································································while·(true)·{4207 ················································································while·(true)·{
4215 ····················································································Block_22_Outer:Block_41_Outer: 
4216 ····················································································while·(true)·{4208 ····················································································Block_37:·{
4217 ························································································while·(true)·{4209 ························································································while·(true)·{
4218 ························································································Label_1088_Outer: 
4219 ····························································································while·(true)·{4210 ····························································································while·(true)·{
4220 ································································································while·(true)·{4211 ································································································while·(true)·{
4221 ····································································································Block_39:·{4212 ····································································································while·(true)·{
4222 ········································································································while·(true)·{4213 ········································································································while·(true)·{
4223 ············································································································Block_23:·{4214 ············································································································Block_42:·{
4224 ················································································································while·(true)·{4215 ················································································································while·(true)·{
4225 ····················································································································Block_24:·{4216 ····················································································································Block_21:·{
4226 ························································································································Label_1073:·{4217 ························································································································Block_23:·{
4227 ····························································································································break·Label_1073;4218 ····························································································································Block_33:·{
4228 ····························································································································break·Block_31;4219 ································································································································break·Block_33;
 4220 ································································································································Label_0930:·{
 4221 ····································································································································wepKeys·=·wifiConfiguration.wepKeys;
 4222 ································································································································}
 4223 ································································································································b·=·true;
 4224 ································································································································break·Block_30;
 4225 ································································································································break·Block_42;
 4226 ································································································································s·=·"SupplicantStaNetworkHal";
 4227 ································································································································sb·=·new·StringBuilder();
 4228 ································································································································sb.append(wifiConfiguration.SSID);
 4229 ································································································································sb.append(":·failed·to·set·WAPI·certificate·suite:·");
 4230 ································································································································sb.append(fieldValue);
 4231 ································································································································Log.e(s,·sb.toString());
 4232 ································································································································return·false;
 4233 ································································································································Label_0255:
 4234 ································································································································break·Block_41_Outer;
 4235 ································································································································Log.e("SupplicantStaNetworkHal",·"Failed·to·set·Suite-B-192·configuration");
 4236 ································································································································return·false;
 4237 ································································································································Label_1517:
 4238 ································································································································miSupplicantStaNetworkCallback·=·new·SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback(this,·wifiConfiguration.networkId,·wifiConfiguration.SSID);
 4239 ································································································································this.mISupplicantStaNetworkCallback·=·(ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback;
 4240 ································································································································break·Block_46;
 4241 ································································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·AuthAlgorithm");
 4242 ································································································································return·false;
 4243 ································································································································Label_0681:
 4244 ································································································································preSharedKey·=·wifiConfiguration.preSharedKey;
 4245 ································································································································n·=·8;
 4246 ································································································································break·Block_21;
 4247 ································································································································break·Block_23;
 4248 ····························································································································}
4229 ····························································································································s·=·"SupplicantStaNetworkHal";4249 ····························································································································s2·=·"SupplicantStaNetworkHal";
4230 ····························································································································sb·=·new·StringBuilder();4250 ····························································································································sb2·=·new·StringBuilder();
4231 ····························································································································sb.append(wifiConfiguration.SSID); 
4232 ····························································································································sb.append(":·failed·to·set·WAPI·certificate·suite:·");4251 ····························································································································sb2.append("failed·to·set·wep_key·");
4233 ····························································································································sb.append(fieldValue);4252 ····························································································································sb2.append(i);
4234 ····························································································································Log.e(s,·sb.toString());4253 ····························································································································Log.e(s2,·sb2.toString());
4235 ····························································································································return·false; 
4236 ····························································································································Label_1488: 
4237 ····························································································································return·false;4254 ····························································································································return·false;
4238 ····························································································································Label_0338: 
4239 ····························································································································break·Block_9; 
4240 ····························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Security·Protocol");4255 ····························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk·passphrase");
4241 ····························································································································return·false;4256 ····························································································································return·false;
4242 ····························································································································Label_1574: 
4243 ····························································································································return·b2; 
4244 ····························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Group·Cipher");4257 ····························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·update·identifier");
4245 ····························································································································return·false;4258 ····························································································································return·false;
4246 ····························································································································break·Block_23; 
4247 ····························································································································Label_0750: 
4248 ····························································································································break·Block_24; 
4249 ························································································································}4259 ························································································································}
 4260 ························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·wapi·psk·passphrase");
 4261 ························································································································return·false;
 4262 ························································································································while·(true)·{
 4263 ····························································································································break·Block_10_Outer;
 4264 ····························································································································Label_0750:·{
 4265 ································································································································continue·Label_1203_Outer;
 4266 ····························································································································}
4250 ························································································································++i;4267 ························································································································}
4251 ························································································································continue·Block_14_Outer;4268 ························································································································hashMap.put("configKey",·wifiConfiguration.getKey());
 4269 ························································································································hashMap.put("creatorUid",·Integer.toString(wifiConfiguration.creatorUid));
4252 ························································································································break·Block_42;4270 ························································································································break·Block_37;
 4271 ························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk");
4253 ····················································································································}4272 ························································································································return·false;
4254 ····················································································································while·(true)·{ 
4255 ························································································································Block_25:·{4273 ························································································································Label_0172:·{
4256 ····························································································································break·Block_25;4274 ····························································································································break·Block_7;
4257 ····························································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·sae·password"); 
4258 ····························································································································return·false; 
4259 ························································································································}4275 ························································································································}
4260 ························································································································continue·Block_30_Outer; 
4261 ····················································································································}4276 ····················································································································}
4262 ····················································································································Label_1286: 
4263 ····················································································································break·Block_39; 
4264 ····················································································································Log.e("SupplicantStaNetworkHal",·"Failed·to·register·callback"); 
4265 ····················································································································return·false; 
4266 ····················································································································i·=·0; 
4267 ····················································································································b·=·false; 
4268 ····················································································································continue·Block_14_Outer;4277 ····················································································································continue·Block_27_Outer;
4269 ················································································································}4278 ················································································································}
4270 ················································································································Label_0255: 
4271 ················································································································break·Block_8; 
4272 ············································································································} 
4273 ············································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·wapi·psk·passphrase"); 
4274 ············································································································return·false; 
4275 ············································································································Label_1483: 
4276 ············································································································return·b2; 
4277 ············································································································Label_0869: 
4278 ············································································································return·false; 
4279 ············································································································break·Block_4; 
4280 ············································································································continue·Block_41_Outer; 
4281 ········································································································} 
4282 ········································································································Label_0891: 
4283 ········································································································break·Block_29; 
4284 ········································································································while·(true)·{ 
4285 ········································································································Label_1203: 
4286 ············································································································while·(true)·{ 
4287 ················································································································hashMap.put("fqdn",·wifiConfiguration.FQDN); 
4288 ················································································································break·Label_1203; 
4289 ················································································································break·Block_35; 
4290 ················································································································break·Block_33; 
4291 ················································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·id·string"); 
4292 ················································································································return·false; 
4293 ················································································································Log.e("SupplicantStaNetworkHal",·"Failed·to·set·Suite-B-192·configuration"); 
4294 ················································································································return·false; 
4295 ················································································································Label_1163: 
4296 ················································································································hashMap·=·new·HashMap<String,·String>(); 
4297 ················································································································continue·Label_1088_Outer; 
4298 ············································································································}4279 ············································································································}
4299 ············································································································hashMap.put("configKey",·wifiConfiguration.getKey());4280 ············································································································fieldValue·=·wifiConfiguration.enterpriseConfig.getFieldValue("wapi_cert_suite");
4300 ············································································································hashMap.put("creatorUid",·Integer.toString(wifiConfiguration.creatorUid)); 
4301 ············································································································continue·Block_12_Outer;4281 ············································································································continue·Block_12_Outer;
4302 ········································································································}4282 ········································································································}
 4283 ········································································································Label_0830:·{
 4284 ············································································································continue·Block_39_Outer;
 4285 ········································································································}
 4286 ····································································································}
 4287 ····································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·PairwiseCipher");
 4288 ····································································································return·false;
 4289 ····································································································Label_0869:·{
 4290 ········································································································return·false;
4303 ····································································································}4291 ····································································································}
4304 ····································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·update·identifier");4292 ····································································································s3·=·"SupplicantStaNetworkHal";
 4293 ····································································································sb3·=·new·StringBuilder();
 4294 ····································································································sb3.append("failed·to·set·wep_tx_keyidx:·");
 4295 ····································································································sb3.append(wifiConfiguration.wepTxKeyIndex);
 4296 ····································································································Log.e(s3,·sb3.toString());
4305 ····································································································return·false;4297 ····································································································return·false;
4306 ····································································································Label_0095:4298 ····································································································Label_1574:
4307 ····································································································networkSelectionBSSID·=·wifiConfiguration.getNetworkSelectionStatus().getNetworkSelectionBSSID();4299 ····································································································return·b;
 4300 ····································································································++i;
4308 ····································································································break·Block_6;4301 ····································································································break·Label_0953;
4309 ····································································································Label_1082:4302 ····································································································Label_1483:
4310 ····································································································b·=·false;4303 ····································································································return·b;
 4304 ····································································································break·Block_44_Outer;
 4305 ····································································································hashMap.put("fqdn",·wifiConfiguration.FQDN);
4311 ····································································································continue·Block_32_Outer;4306 ····································································································continue·Block_29_Outer;
4312 ································································································}4307 ································································································}
 4308 ································································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Key·Management");
4313 ································································································Label_1336:4309 ································································································return·false;
4314 ································································································continue·Block_30_Outer;4310 ································································································continue·Label_1073_Outer;
4315 ····························································································}4311 ····························································································}
4316 ····························································································Label_0510:4312 ····························································································Label_1163:·{
4317 ····························································································break·Block_16; 
4318 ····························································································Label_0681:4313 ································································································hashMap·=·new·HashMap<String,·String>();
4319 ····························································································preSharedKey·=·wifiConfiguration.preSharedKey; 
4320 ····························································································n·=·8;4314 ····························································································}
4321 ····························································································continue·Block_32_Outer;4315 ····························································································continue·Block_10_Outer;
4322 ························································································}4316 ························································································}
4323 ························································································Label_0624: 
4324 ························································································break·Block_20; 
4325 ························································································Label_0453: 
4326 ························································································continue·Block_22_Outer; 
4327 ····················································································}4317 ····················································································}
 4318 ····················································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·id·string");
 4319 ····················································································return·false;
 4320 ····················································································break·Block_4;
4328 ····················································································Label_0407:4321 ····················································································Label_1069:·{
 4322 ························································································b2·=·b;
 4323 ····················································································}
4329 ····················································································continue·Block_10_Outer;4324 ····················································································continue·Block_10_Outer;
4330 ················································································}4325 ················································································}
 4326 ················································································Label_1286:·{
 4327 ····················································································continue·Label_1203_Outer;
 4328 ················································································}
4331 ············································································}4329 ············································································}
4332 ············································································s2·=·"SupplicantStaNetworkHal"; 
4333 ············································································sb2·=·new·StringBuilder(); 
4334 ············································································sb2.append(wifiConfiguration.SSID); 
4335 ············································································sb2.append(":·failed·to·set·requirePMF:·"); 
4336 ············································································sb2.append(wifiConfiguration.requirePmf); 
4337 ············································································Log.e(s2,·sb2.toString());4330 ············································································Label_0453:·{
 4331 ················································································break·Block_14;
4338 ············································································return·false;4332 ············································································}
4339 ············································································Label_0172:4333 ············································································Label_0624:
4340 ············································································break·Block_7; 
4341 ············································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Key·Management"); 
4342 ············································································return·false; 
4343 ············································································Label_0930: 
4344 ············································································wepKeys·=·wifiConfiguration.wepKeys; 
4345 ············································································b2·=·true; 
4346 ············································································continue·Block_32_Outer;4334 ············································································continue·Block_10_Outer;
4347 ········································································}4335 ········································································}
 4336 ········································································Label_0567:·{
 4337 ············································································break·Block_18;
 4338 ········································································}
4348 ········································································Label_0830:4339 ········································································Label_0407:
4349 ········································································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk·passphrase"); 
4350 ········································································return·false;4340 ········································································continue·Block_27_Outer;
4351 ····································································}4341 ····································································}
4352 ····································································fieldValue·=·wifiConfiguration.enterpriseConfig.getFieldValue("wapi_cert_suite");4342 ····································································addSha256KeyMgmtFlags·=·this.addSha256KeyMgmtFlags(this.addFastTransitionFlags(wifiConfiguration.allowedKeyManagement));
4353 ····································································continue·Block_14_Outer;4343 ····································································continue·Block_9_Outer;
4354 ································································}4344 ································································}
4355 ····························································}4345 ····························································}
4356 ····························································s3·=·"SupplicantStaNetworkHal";4346 ····························································s4·=·"SupplicantStaNetworkHal";
4357 ····························································sb3·=·new·StringBuilder();4347 ····························································sb4·=·new·StringBuilder();
 4348 ····························································sb4.append(wifiConfiguration.SSID);
4358 ····························································sb3.append("failed·to·set·wep_key·");4349 ····························································sb4.append(":·failed·to·set·hiddenSSID:·");
4359 ····························································sb3.append(i);4350 ····························································sb4.append(wifiConfiguration.hiddenSSID);
4360 ····························································Log.e(s3,·sb3.toString());4351 ····························································Log.e(s4,·sb4.toString());
4361 ····························································return·false;4352 ····························································return·false;
 4353 ····························································Label_0095:·{
 4354 ································································networkSelectionBSSID·=·wifiConfiguration.getNetworkSelectionStatus().getNetworkSelectionBSSID();
 4355 ····························································}
 4356 ····························································break·Label_0953;
 4357 ····························································Label_0338:
 4358 ····························································continue;
 4359 ························································}
 4360 ························································Label_0891:·{
 4361 ····························································continue·Block_9_Outer;
4362 ························································}4362 ························································}
4363 ························································addSha256KeyMgmtFlags·=·this.addSha256KeyMgmtFlags(this.addFastTransitionFlags(wifiConfiguration.allowedKeyManagement));4363 ····················································}
 4364 ····················································Log.e("SupplicantStaNetworkHal",·"failed·to·set·sae·password");
 4365 ····················································return·false;
 4366 ····················································Label_1336:·{
4364 ························································continue;4367 ························································continue·Block_44_Outer;
4365 ····················································}4368 ····················································}
4366 ················································}4369 ················································}
4367 ················································Log.e("SupplicantStaNetworkHal",·"failed·to·set·psk"); 
4368 ················································return·false; 
4369 ················································Label_0567: 
4370 ················································continue·Block_32_Outer;4370 ················································continue·Block_41_Outer;
4371 ············································}4371 ············································}
4372 ············································Log.e("SupplicantStaNetworkHal",·"failed·to·set·PairwiseCipher");4372 ············································final·String·s5·=·"SupplicantStaNetworkHal";
 4373 ············································final·StringBuilder·sb5·=·new·StringBuilder();
 4374 ············································sb5.append(wifiConfiguration.SSID);
 4375 ············································sb5.append(":·failed·to·set·requirePMF:·");
 4376 ············································sb5.append(wifiConfiguration.requirePmf);
 4377 ············································Log.e(s5,·sb5.toString());
4373 ············································return·false;4378 ············································return·false;
 4379 ············································Label_0510:·{
 4380 ················································continue;
 4381 ············································}
4374 ········································}4382 ········································}
 4383 ········································Log.e("SupplicantStaNetworkHal",·"failed·to·set·Group·Cipher");
4375 ········································final·String·s4·=·"SupplicantStaNetworkHal"; 
4376 ········································final·StringBuilder·sb4·=·new·StringBuilder(); 
4377 ········································sb4.append("failed·to·set·BSSID:·"); 
4378 ········································sb4.append(networkSelectionBSSID); 
4379 ········································Log.e(s4,·sb4.toString()); 
4380 ········································return·false;4384 ········································return·false;
4381 ····································}4385 ····································}
 4386 ····································final·String·s6·=·"SupplicantStaNetworkHal";
 4387 ····································final·StringBuilder·sb6·=·new·StringBuilder();
 4388 ····································sb6.append("failed·to·set·SSID:·");
 4389 ····································sb6.append(wifiConfiguration.SSID);
 4390 ····································Log.e(s6,·sb6.toString());
4382 ····································continue;4391 ····································return·false;
4383 ································}4392 ································}
 4393 ································Log.e("SupplicantStaNetworkHal",·"Failed·to·register·callback");
4384 ································final·String·s5·=·"SupplicantStaNetworkHal"; 
4385 ································final·StringBuilder·sb5·=·new·StringBuilder(); 
4386 ································sb5.append(wifiConfiguration.SSID); 
4387 ································sb5.append(":·failed·to·set·hiddenSSID:·"); 
4388 ································sb5.append(wifiConfiguration.hiddenSSID); 
4389 ································Log.e(s5,·sb5.toString()); 
4390 ································return·false;4394 ································return·false;
4391 ································Label_1517: 
4392 ································final·SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback·miSupplicantStaNetworkCallback·=·new·SupplicantStaNetworkHal$SupplicantStaNetworkHalCallback(this,·wifiConfiguration.networkId,·wifiConfiguration.SSID); 
4393 ································this.mISupplicantStaNetworkCallback·=·(ISupplicantStaNetworkCallback)miSupplicantStaNetworkCallback; 
4394 ································continue·Block_32_Outer; 
4395 ····························}4395 ····························}
 4396 ····························int·i·=·0;
 4397 ····························boolean·b2·=·false;
 4398 ····························continue·Label_0953;
4396 ························}4399 ························}
4397 ························Log.e("SupplicantStaNetworkHal",·"failed·to·set·AuthAlgorithm");4400 ························final·String·s7·=·"SupplicantStaNetworkHal";
 4401 ························final·StringBuilder·sb7·=·new·StringBuilder();
 4402 ························sb7.append("failed·to·set·BSSID:·");
 4403 ························sb7.append(networkSelectionBSSID);
 4404 ························Log.e(s7,·sb7.toString());
4398 ························return·false;4405 ························return·false;
 4406 ························Label_1488:·{
 4407 ····························return·false;
 4408 ························}
4399 ····················}4409 ····················}
 4410 ····················Log.e("SupplicantStaNetworkHal",·"failed·to·set·Security·Protocol");
4400 ····················final·String·s6·=·"SupplicantStaNetworkHal"; 
4401 ····················final·StringBuilder·sb6·=·new·StringBuilder(); 
4402 ····················sb6.append("failed·to·set·wep_tx_keyidx:·"); 
4403 ····················sb6.append(wifiConfiguration.wepTxKeyIndex); 
4404 ····················Log.e(s6,·sb6.toString()); 
4405 ····················return·false;4411 ····················return·false;
 4412 ····················Label_1082:·{
 4413 ························final·boolean·b2·=·false;
 4414 ····················}
 4415 ····················continue;
4406 ················}4416 ················}
4407 ················final·String·s7·=·"SupplicantStaNetworkHal"; 
4408 ················final·StringBuilder·sb7·=·new·StringBuilder(); 
4409 ················sb7.append("failed·to·set·SSID:·"); 
4410 ················sb7.append(wifiConfiguration.SSID); 
4411 ················Log.e(s7,·sb7.toString()); 
4412 ················return·false; 
4413 ············}4417 ············}
 4418 ············//·iftrue(Label_1517:,·this.saveWifiEnterpriseConfig(wifiConfiguration.SSID,·wifiConfiguration.enterpriseConfig))
4414 ············finally·{4419 ············finally·{
4415 ············}4420 ············}
4416 ············//·monitorexit(mLock)4421 ············//·monitorexit(mLock)
4417 ········}4422 ········}
4418 ····}4423 ····}
4419 ····4424 ····
4420 ····public·boolean·select()·{4425 ····public·boolean·select()·{