Home
last modified time | relevance | path

Searched refs:securityType (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/app/WifiConfigCreator/src/com/android/cts/deviceowner/wificonfigcreator/
DWifiConfigCreatorActivity.java50 int securityType = intent.getIntExtra(EXTRA_SECURITY_TYPE, SECURITY_TYPE_NONE); in onCreate() local
52 configCreator.addNetwork(ssid, false, securityType, password); in onCreate()
56 int securityType = intent.getIntExtra(EXTRA_SECURITY_TYPE, SECURITY_TYPE_NONE); in onCreate() local
58 configCreator.updateNetwork(netId, ssid, false, securityType, password); in onCreate()
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java96 OemSecurityType securityType = new OemSecurityType( in testOemSecurityTypeConstructor() local
102 assertThat(securityType.protocol).isEqualTo(ScanResult.PROTOCOL_WPA); in testOemSecurityTypeConstructor()
103 assertThat(securityType.keyManagement) in testOemSecurityTypeConstructor()
105 assertThat(securityType.pairwiseCipher) in testOemSecurityTypeConstructor()
107 assertThat(securityType.groupCipher).isEqualTo(ScanResult.CIPHER_CCMP); in testOemSecurityTypeConstructor()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DWifiConfigLockdownTest.java190 private void startRegularActivity(String action, int netId, String ssid, int securityType, in startRegularActivity() argument
195 createRegularConfig.putExtra(EXTRA_SECURITY_TYPE, securityType); in startRegularActivity()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java1018 int securityType = softApConfig.getSecurityType(); in startLocalOnlyHotspot() local
1019 if (securityType == SoftApConfiguration.SECURITY_TYPE_OPEN in startLocalOnlyHotspot()
1020 || securityType == SoftApConfiguration.SECURITY_TYPE_WPA2_PSK in startLocalOnlyHotspot()
1021 || securityType == SoftApConfiguration.SECURITY_TYPE_WPA3_SAE_TRANSITION) { in startLocalOnlyHotspot()