Searched refs:apConfig (Results 1 – 5 of 5) sorted by relevance
145 SoftApModeConfiguration apConfig = in startSoftApWithoutConfig() local147 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithoutConfig()156 SoftApModeConfiguration apConfig = in startSoftApWithConfig() local158 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithConfig()171 SoftApModeConfiguration apConfig = in startSoftApWithHiddenSsidTrueInConfig() local173 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithHiddenSsidTrueInConfig()187 SoftApModeConfiguration apConfig = in startSoftApWithPassphraseInConfig() local189 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithPassphraseInConfig()585 SoftApModeConfiguration apConfig = in updatesMetricsOnChannelSwitchedEvent() local587 startSoftApAndVerifyEnabled(apConfig); in updatesMetricsOnChannelSwitchedEvent()[all …]
794 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationNotSavedWithoutPermission() local796 mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetWifiApConfigurationNotSavedWithoutPermission()807 WifiConfiguration apConfig = createValidSoftApConfiguration(); in testSetWifiApConfigurationSuccess() local809 assertTrue(mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetWifiApConfigurationSuccess()812 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetWifiApConfigurationSuccess()865 WifiConfiguration apConfig = new WifiConfiguration(); in testGetWifiApConfigurationSuccess() local866 when(mWifiApConfigStore.getApConfiguration()).thenReturn(apConfig); in testGetWifiApConfigurationSuccess()867 assertEquals(apConfig, mWifiServiceImpl.getWifiApConfiguration()); in testGetWifiApConfigurationSuccess()2815 WifiConfiguration apConfig = new WifiConfiguration(); in createValidSoftApConfiguration() local2816 apConfig.SSID = "TestAp"; in createValidSoftApConfiguration()[all …]
340 static boolean validateApWifiConfiguration(@NonNull WifiConfiguration apConfig) { in validateApWifiConfiguration() argument342 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()
120 @NonNull SoftApModeConfiguration apConfig, in SoftApManager() argument128 mMode = apConfig.getTargetMode(); in SoftApManager()129 WifiConfiguration config = apConfig.getWifiConfiguration(); in SoftApManager()
1042 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationSuccessReturnsTrue() local1044 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() local1056 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationFailureReturnsFalse()1058 assertFalse(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationFailureReturnsFalse()