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.java145 SoftApModeConfiguration apConfig = in startSoftApWithoutConfig() local
147 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithoutConfig()
156 SoftApModeConfiguration apConfig = in startSoftApWithConfig() local
158 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithConfig()
171 SoftApModeConfiguration apConfig = in startSoftApWithHiddenSsidTrueInConfig() local
173 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithHiddenSsidTrueInConfig()
187 SoftApModeConfiguration apConfig = in startSoftApWithPassphraseInConfig() local
189 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithPassphraseInConfig()
585 SoftApModeConfiguration apConfig = in updatesMetricsOnChannelSwitchedEvent() local
587 startSoftApAndVerifyEnabled(apConfig); in updatesMetricsOnChannelSwitchedEvent()
[all …]
DWifiServiceImplTest.java794 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationNotSavedWithoutPermission() local
796 mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetWifiApConfigurationNotSavedWithoutPermission()
807 WifiConfiguration apConfig = createValidSoftApConfiguration(); in testSetWifiApConfigurationSuccess() local
809 assertTrue(mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetWifiApConfigurationSuccess()
812 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetWifiApConfigurationSuccess()
865 WifiConfiguration apConfig = new WifiConfiguration(); in testGetWifiApConfigurationSuccess() local
866 when(mWifiApConfigStore.getApConfiguration()).thenReturn(apConfig); in testGetWifiApConfigurationSuccess()
867 assertEquals(apConfig, mWifiServiceImpl.getWifiApConfiguration()); in testGetWifiApConfigurationSuccess()
2815 WifiConfiguration apConfig = new WifiConfiguration(); in createValidSoftApConfiguration() local
2816 apConfig.SSID = "TestAp"; in createValidSoftApConfiguration()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java340 static boolean validateApWifiConfiguration(@NonNull WifiConfiguration apConfig) { in validateApWifiConfiguration() argument
342 if (!validateApConfigSsid(apConfig.SSID)) { in validateApWifiConfiguration()
348 if (apConfig.allowedKeyManagement == null) { in validateApWifiConfiguration()
353 String preSharedKey = apConfig.preSharedKey; in validateApWifiConfiguration()
358 authType = apConfig.getAuthType(); in validateApWifiConfiguration()
DSoftApManager.java120 @NonNull SoftApModeConfiguration apConfig, in SoftApManager() argument
128 mMode = apConfig.getTargetMode(); in SoftApManager()
129 WifiConfiguration config = apConfig.getWifiConfiguration(); in SoftApManager()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1042 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationSuccessReturnsTrue() local
1044 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationSuccessReturnsTrue()
1046 assertTrue(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationSuccessReturnsTrue()
1054 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationFailureReturnsFalse() local
1056 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationFailureReturnsFalse()
1058 assertFalse(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationFailureReturnsFalse()