Searched refs:apConfig (Results 1 – 5 of 5) sorted by relevance
177 SoftApModeConfiguration apConfig = in startSoftApWithoutConfig() local179 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithoutConfig()188 SoftApModeConfiguration apConfig = in startSoftApWithConfig() local190 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithConfig()203 SoftApModeConfiguration apConfig = in startSoftApWithHiddenSsidTrueInConfig() local205 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithHiddenSsidTrueInConfig()219 SoftApModeConfiguration apConfig = in startSoftApWithPassphraseInConfig() local221 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithPassphraseInConfig()787 SoftApModeConfiguration apConfig = in updatesMetricsOnChannelSwitchedEvent() local789 startSoftApAndVerifyEnabled(apConfig); in updatesMetricsOnChannelSwitchedEvent()[all …]
995 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationNotSavedWithoutPermission() local997 mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetWifiApConfigurationNotSavedWithoutPermission()1008 WifiConfiguration apConfig = createValidSoftApConfiguration(); in testSetWifiApConfigurationSuccess() local1010 assertTrue(mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetWifiApConfigurationSuccess()1013 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetWifiApConfigurationSuccess()1066 WifiConfiguration apConfig = new WifiConfiguration(); in testGetWifiApConfigurationSuccess() local1067 when(mWifiApConfigStore.getApConfiguration()).thenReturn(apConfig); in testGetWifiApConfigurationSuccess()1068 assertEquals(apConfig, mWifiServiceImpl.getWifiApConfiguration()); in testGetWifiApConfigurationSuccess()3416 WifiConfiguration apConfig = new WifiConfiguration(); in createValidSoftApConfiguration() local3417 apConfig.SSID = "TestAp"; in createValidSoftApConfiguration()[all …]
429 static boolean validateApWifiConfiguration(@NonNull WifiConfiguration apConfig) { in validateApWifiConfiguration() argument431 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()
135 @NonNull SoftApModeConfiguration apConfig, in SoftApManager() argument145 mMode = apConfig.getTargetMode(); in SoftApManager()146 WifiConfiguration config = apConfig.getWifiConfiguration(); in SoftApManager()
1081 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationSuccessReturnsTrue() local1083 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() local1095 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationFailureReturnsFalse()1097 assertFalse(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationFailureReturnsFalse()