Searched refs:apConfig (Results 1 – 6 of 6) sorted by relevance
212 SoftApModeConfiguration apConfig = in startSoftApWithoutConfig() local215 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithoutConfig()224 SoftApModeConfiguration apConfig = new SoftApModeConfiguration( in startSoftApWithConfig() local227 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithConfig()240 SoftApModeConfiguration apConfig = new SoftApModeConfiguration( in startSoftApWithHiddenSsidTrueInConfig() local243 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithHiddenSsidTrueInConfig()257 SoftApModeConfiguration apConfig = new SoftApModeConfiguration( in startSoftApWithPassphraseInConfig() local260 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithPassphraseInConfig()867 SoftApModeConfiguration apConfig = in updatesMetricsOnChannelSwitchedEvent() local870 startSoftApAndVerifyEnabled(apConfig); in updatesMetricsOnChannelSwitchedEvent()[all …]
1007 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationNotSavedWithoutPermission() local1009 mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetWifiApConfigurationNotSavedWithoutPermission()1058 SoftApConfiguration apConfig = createValidSoftApConfiguration(); in testSetSoftApConfigurationNotSavedWithoutPermission() local1060 mWifiServiceImpl.setSoftApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetSoftApConfigurationNotSavedWithoutPermission()1073 SoftApConfiguration apConfig = createValidSoftApConfiguration(); in testSetSoftApConfigurationSuccess() local1075 assertTrue(mWifiServiceImpl.setSoftApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetSoftApConfigurationSuccess()1077 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetSoftApConfigurationSuccess()1078 verify(mActiveModeWarden).updateSoftApConfiguration(apConfig); in testSetSoftApConfigurationSuccess()1137 SoftApConfiguration apConfig = createValidSoftApConfiguration(); in testGetSoftApConfigurationSuccess() local1138 when(mWifiApConfigStore.getApConfiguration()).thenReturn(apConfig); in testGetSoftApConfigurationSuccess()[all …]
409 static boolean validateApWifiConfiguration(@NonNull SoftApConfiguration apConfig, in validateApWifiConfiguration() argument412 if (!validateApConfigSsid(apConfig.getSsid())) { in validateApWifiConfiguration()418 if (apConfig.getBssid() != null && !isPrivileged) { in validateApWifiConfiguration()423 String preSharedKey = apConfig.getPassphrase(); in validateApWifiConfiguration()428 authType = apConfig.getSecurityType(); in validateApWifiConfiguration()
171 @NonNull SoftApModeConfiguration apConfig, in SoftApManager() argument183 SoftApConfiguration softApConfig = apConfig.getSoftApConfiguration(); in SoftApManager()184 mCurrentSoftApCapability = apConfig.getCapability(); in SoftApManager()194 mApConfig = new SoftApModeConfiguration(apConfig.getTargetMode(), in SoftApManager()
973 private boolean startSoftApInternal(SoftApModeConfiguration apConfig) { in startSoftApInternal() argument977 .c(uid).c(apConfig.getTargetMode()).flush(); in startSoftApInternal()981 SoftApConfiguration softApConfig = apConfig.getSoftApConfiguration(); in startSoftApInternal()989 mActiveModeWarden.startSoftAp(apConfig); in startSoftApInternal()
1292 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationSuccessReturnsTrue() local1294 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationSuccessReturnsTrue()1296 assertTrue(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationSuccessReturnsTrue()1304 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationFailureReturnsFalse() local1306 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationFailureReturnsFalse()1308 assertFalse(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationFailureReturnsFalse()1329 SoftApConfiguration apConfig = generatorTestSoftApConfig(); in testSetSoftApConfigurationSuccessReturnsTrue() local1331 when(mWifiService.setSoftApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetSoftApConfigurationSuccessReturnsTrue()1333 assertTrue(mWifiManager.setSoftApConfiguration(apConfig)); in testSetSoftApConfigurationSuccessReturnsTrue()1341 SoftApConfiguration apConfig = generatorTestSoftApConfig(); in testSetSoftApConfigurationFailureReturnsFalse() local[all …]