Home
last modified time | relevance | path

Searched refs:apConfig (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java177 SoftApModeConfiguration apConfig = in startSoftApWithoutConfig() local
179 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithoutConfig()
188 SoftApModeConfiguration apConfig = in startSoftApWithConfig() local
190 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithConfig()
203 SoftApModeConfiguration apConfig = in startSoftApWithHiddenSsidTrueInConfig() local
205 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithHiddenSsidTrueInConfig()
219 SoftApModeConfiguration apConfig = in startSoftApWithPassphraseInConfig() local
221 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithPassphraseInConfig()
787 SoftApModeConfiguration apConfig = in updatesMetricsOnChannelSwitchedEvent() local
789 startSoftApAndVerifyEnabled(apConfig); in updatesMetricsOnChannelSwitchedEvent()
[all …]
DWifiServiceImplTest.java995 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationNotSavedWithoutPermission() local
997 mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetWifiApConfigurationNotSavedWithoutPermission()
1008 WifiConfiguration apConfig = createValidSoftApConfiguration(); in testSetWifiApConfigurationSuccess() local
1010 assertTrue(mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetWifiApConfigurationSuccess()
1013 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetWifiApConfigurationSuccess()
1066 WifiConfiguration apConfig = new WifiConfiguration(); in testGetWifiApConfigurationSuccess() local
1067 when(mWifiApConfigStore.getApConfiguration()).thenReturn(apConfig); in testGetWifiApConfigurationSuccess()
1068 assertEquals(apConfig, mWifiServiceImpl.getWifiApConfiguration()); in testGetWifiApConfigurationSuccess()
3416 WifiConfiguration apConfig = new WifiConfiguration(); in createValidSoftApConfiguration() local
3417 apConfig.SSID = "TestAp"; in createValidSoftApConfiguration()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java429 static boolean validateApWifiConfiguration(@NonNull WifiConfiguration apConfig) { in validateApWifiConfiguration() argument
431 if (!validateApConfigSsid(apConfig.SSID)) { in validateApWifiConfiguration()
437 if (apConfig.allowedKeyManagement == null) { in validateApWifiConfiguration()
442 String preSharedKey = apConfig.preSharedKey; in validateApWifiConfiguration()
447 authType = apConfig.getAuthType(); in validateApWifiConfiguration()
DSoftApManager.java135 @NonNull SoftApModeConfiguration apConfig, in SoftApManager() argument
145 mMode = apConfig.getTargetMode(); in SoftApManager()
146 WifiConfiguration config = apConfig.getWifiConfiguration(); in SoftApManager()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1081 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationSuccessReturnsTrue() local
1083 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationSuccessReturnsTrue()
1085 assertTrue(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationSuccessReturnsTrue()
1093 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationFailureReturnsFalse() local
1095 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationFailureReturnsFalse()
1097 assertFalse(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationFailureReturnsFalse()