/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkAgentSpecifierTest.java | 193 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern() 222 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern() 251 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern() 283 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern() 312 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierBandMatching() 358 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDual5GHZBandMatching() 428 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierLocalOnlyMatching() 494 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern() 527 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern() 570 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createDefaultWifiConfiguration()
|
D | WifiNetworkSpecifierTest.java | 106 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern() 653 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierParcel() 685 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyNullAndAllMatch() 707 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierSatisfiesSame() 736 wifiConfiguration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent() 767 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent() 796 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenBssidDifferent() 822 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierBandMatching() 873 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testRedact()
|
D | WifiConfigurationTest.java | 460 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testGetSsidAndSecurityTypeString() 461 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WPA_PSK], in testGetSsidAndSecurityTypeString() 544 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testGetNetworkKeyString() 545 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.WPA_PSK], in testGetNetworkKeyString() 823 assertEquals(KeyMgmt.WPA_PSK, configuration.getAuthType()); in testGetAuthType() 885 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testGetProfileKeyString() 887 assertEquals(createProfileKey(mSsid, KeyMgmt.strings[KeyMgmt.WPA_PSK], TEST_PACKAGE_NAME, in testGetProfileKeyString() 891 assertEquals(createProfileKey("abcdef", KeyMgmt.strings[KeyMgmt.WPA_PSK], TEST_PACKAGE_NAME, in testGetProfileKeyString() 895 assertEquals(createProfileKey(mSsid, KeyMgmt.strings[KeyMgmt.WPA_PSK], TEST_PACKAGE_NAME, in testGetProfileKeyString() 1076 KeyMgmt.WPA_PSK, KeyMgmt.SAE, KeyMgmt.WAPI_PSK}); in testAddSecurityTypes() [all …]
|
D | SecurityParamsTest.java | 328 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.WPA_PSK}; in testWpaWpa2PersonalCreator() 350 allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testCommonSetterGetter() 367 assertTrue(params.getAllowedKeyManagement().get(KeyMgmt.WPA_PSK)); in testCommonSetterGetter()
|
D | WifiNetworkSuggestionTest.java | 105 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 136 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction() 167 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithNotMeteredAndReqUserInteraction() 1127 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsSame() 1135 configuration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsSame() 1206 configuration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsFailsWhenKeyMgmtIsDifferent()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | HalAidlUtil.java | 52 mask, KeyMgmtMask.WPA_PSK, bitset, in supplicantToWifiConfigurationKeyMgmtMask() 53 WifiConfiguration.KeyMgmt.WPA_PSK); in supplicantToWifiConfigurationKeyMgmtMask()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | WifiSecurityUtil.java | 57 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getSecurity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/ |
D | AddAppNetworksFragmentTest.java | 112 WifiConfiguration.KeyMgmt.WPA_PSK, "1234567890"); in setUp() 116 WifiConfiguration.KeyMgmt.WPA_PSK, "\"1234567890\""); in setUp() 582 case WifiConfiguration.KeyMgmt.WPA_PSK: in generateRegularWifiSuggestion()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtilsTest.java | 76 mWifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaNetworkHalAidlImplTest.java | 710 assertEquals(KeyMgmtMask.WPA_PSK, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported() 734 assertEquals(KeyMgmtMask.WPA_PSK, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK)); in testPmfDisabledWhenAutoUpgradeOffloadIsSupportedAndSaeSelected() 753 assertEquals(0, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK)); in testPmfEnabledWhenAutoUpgradeOffloadNotSupportedAndSaeSelected() 771 assertEquals(KeyMgmtMask.WPA_PSK, (mSupplicantVariables.keyMgmtMask & KeyMgmtMask.WPA_PSK)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsNotSupported()
|
D | SupplicantStaNetworkHalHidlImplTest.java | 966 assertEquals(ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK, in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported() 967 (mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsSupported() 993 assertEquals(ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK, in testAddPskSaeAkmWhenAutoUpgradeOffloadIsNotSupported() 994 (mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK)); in testAddPskSaeAkmWhenAutoUpgradeOffloadIsNotSupported() 1020 assertEquals(ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK, in testPmfDisabledWhenAutoUpgradeOffloadIsSupportedAndSaeSelected() 1021 (mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK)); in testPmfDisabledWhenAutoUpgradeOffloadIsSupportedAndSaeSelected() 1044 (mSupplicantVariables.keyMgmtMask & ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK)); in testPmfEnabledWhenAutoUpgradeOffloadNotSupportedAndSaeSelected()
|
D | WifiBackupRestoreTest.java | 1126 expectedConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey() 1341 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in writeConfigurationToWpaSupplicantConf()
|
D | WifiConfigurationUtilTest.java | 617 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testValidateNegativeCases_BadKeyMgmtOpenPsk() 697 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testValidateNegativeCases_InvalidKeyMgmtWithPreSharedKey()
|
D | WifiMonitorTest.java | 489 akm.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testBroadcastNetworkConnectionEventWithAkm()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHalAidlImpl.java | 440 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in saveWifiConfiguration() 448 if (!allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in saveWifiConfiguration() 915 case WifiConfiguration.KeyMgmt.WPA_PSK: in wifiConfigurationToSupplicantKeyMgmtMask() 916 mask |= KeyMgmtMask.WPA_PSK; in wifiConfigurationToSupplicantKeyMgmtMask() 3543 if (keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in addFastTransitionFlags() 3571 if (keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in addSha256KeyMgmtFlags() 3606 modifiedFlags.set(WifiConfiguration.KeyMgmt.WPA_PSK); in addPskSaeUpgradableTypeFlagsIfSupported() 3617 if (!keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK) in removePskSaeUpgradableTypeFlags()
|
D | SupplicantStaNetworkHalHidlImpl.java | 392 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in saveWifiConfiguration() 400 if (!allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in saveWifiConfiguration() 851 case WifiConfiguration.KeyMgmt.WPA_PSK: in wifiConfigurationToSupplicantKeyMgmtMask() 852 mask |= ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK; in wifiConfigurationToSupplicantKeyMgmtMask() 1165 mask, ISupplicantStaNetwork.KeyMgmtMask.WPA_PSK, bitset, in supplicantToWifiConfigurationKeyMgmtMask() 1166 WifiConfiguration.KeyMgmt.WPA_PSK); in supplicantToWifiConfigurationKeyMgmtMask() 3788 if (keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in addFastTransitionFlags() 3824 if (keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in addSha256KeyMgmtFlags() 3864 modifiedFlags.set(WifiConfiguration.KeyMgmt.WPA_PSK); in addPskSaeUpgradableTypeFlagsIfSupported() 3875 if (!keyManagementFlags.get(WifiConfiguration.KeyMgmt.WPA_PSK) in removePskSaeUpgradableTypeFlags()
|
D | WifiBackupRestore.java | 645 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration() 662 WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 187 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK) || in getSecurityString() 567 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getSecurityTypeFromWifiConfiguration()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcWifiProtectedSetup.java | 183 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in populateAllowedKeyManagement()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiConfiguration.java | 132 WPA_PSK, 154 public static final int WPA_PSK = 1; field in WifiConfiguration.KeyMgmt 772 } else if (allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in convertLegacyFieldsToSecurityParamsIfNeeded() 3839 if (allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getAuthType() 3840 return KeyMgmt.WPA_PSK; in getAuthType() 4580 if (allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getDefaultSecurityType() 4581 key = KeyMgmt.strings[KeyMgmt.WPA_PSK]; in getDefaultSecurityType()
|
D | SecurityParams.java | 908 params.mAllowedKeyManagement.set(KeyMgmt.WPA_PSK); in createWpaWpa2PersonalParams()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | NetworkPasswordPreferenceControllerTest.java | 201 assertThat(config.getAuthType()).isEqualTo(WifiConfiguration.KeyMgmt.WPA_PSK); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiConnected()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 239 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in updateForWPAConfiguration()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 115 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWpa()
|
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/ |
D | AddAppNetworksFragment.java | 354 case KeyMgmt.WPA_PSK: in isSavedWifiConfiguration()
|