Searched refs:apConfig (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 350 SoftApModeConfiguration apConfig = in startSoftApWithoutConfig() local 353 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithoutConfig() 362 SoftApModeConfiguration apConfig = new SoftApModeConfiguration( in startSoftApWithConfig() local 365 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithConfig() 378 SoftApModeConfiguration apConfig = new SoftApModeConfiguration( in startSoftApWithHiddenSsidTrueInConfig() local 381 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithHiddenSsidTrueInConfig() 395 SoftApModeConfiguration apConfig = new SoftApModeConfiguration( in startSoftApWithPassphraseInConfig() local 398 startSoftApAndVerifyEnabled(apConfig); in startSoftApWithPassphraseInConfig() 866 SoftApModeConfiguration apConfig = in updatesMetricsOnChannelSwitchedEvent() local 869 startSoftApAndVerifyEnabled(apConfig); in updatesMetricsOnChannelSwitchedEvent() [all …]
|
D | WifiServiceImplTest.java | 1221 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationNotSavedWithoutPermission() local 1223 mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetWifiApConfigurationNotSavedWithoutPermission() 1269 SoftApConfiguration apConfig = createValidSoftApConfiguration(); in testSetSoftApConfigurationNotSavedWithoutPermission() local 1271 mWifiServiceImpl.setSoftApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetSoftApConfigurationNotSavedWithoutPermission() 1282 SoftApConfiguration apConfig = createValidSoftApConfiguration(); in testSetSoftApConfigurationSuccessWithSettingPermission() local 1284 assertTrue(mWifiServiceImpl.setSoftApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetSoftApConfigurationSuccessWithSettingPermission() 1286 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetSoftApConfigurationSuccessWithSettingPermission() 1287 verify(mActiveModeWarden).updateSoftApConfiguration(apConfig); in testSetSoftApConfigurationSuccessWithSettingPermission() 1297 SoftApConfiguration apConfig = createValidSoftApConfiguration(); in testSetSoftApConfigurationSuccessWithOverridePermission() local 1299 assertTrue(mWifiServiceImpl.setSoftApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetSoftApConfigurationSuccessWithOverridePermission() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiApConfigStore.java | 516 static boolean validateApWifiConfiguration(@NonNull SoftApConfiguration apConfig, in validateApWifiConfiguration() argument 519 if (!validateApConfigSsid(apConfig.getSsid())) { in validateApWifiConfiguration() 525 if (apConfig.getBssid() != null && !isPrivileged) { in validateApWifiConfiguration() 530 String preSharedKey = apConfig.getPassphrase(); in validateApWifiConfiguration() 535 authType = apConfig.getSecurityType(); in validateApWifiConfiguration() 577 if (!isBandsSupported(apConfig.getBands(), context)) { in validateApWifiConfiguration() 581 if (!ApConfigUtil.isBandSupported(apConfig.getBand(), context)) { in validateApWifiConfiguration()
|
D | SoftApManager.java | 310 @NonNull SoftApModeConfiguration apConfig, in SoftApManager() argument 330 mCurrentSoftApConfiguration = apConfig.getSoftApConfiguration(); in SoftApManager() 331 mCurrentSoftApCapability = apConfig.getCapability(); in SoftApManager() 338 mOriginalModeConfiguration = new SoftApModeConfiguration(apConfig.getTargetMode(), in SoftApManager()
|
D | WifiServiceImpl.java | 1210 private boolean startSoftApInternal(SoftApModeConfiguration apConfig, WorkSource requestorWs) { in startSoftApInternal() argument 1214 .c(uid).c(apConfig.getTargetMode()).flush(); in startSoftApInternal() 1218 SoftApConfiguration softApConfig = apConfig.getSoftApConfiguration(); in startSoftApInternal() 1226 mActiveModeWarden.startSoftAp(apConfig, requestorWs); in startSoftApInternal()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 941 SoftApConfiguration apConfig = mWifiManager.getSoftApConfiguration(); in ensureApConfiguration() local 942 if (apConfig != null && apConfig.getBand() != SoftApConfiguration.BAND_5GHZ in ensureApConfiguration() 944 mWifiManager.setSoftApConfiguration(new SoftApConfiguration.Builder(apConfig) in ensureApConfiguration()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1936 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationSuccessReturnsTrue() local 1938 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationSuccessReturnsTrue() 1940 assertTrue(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationSuccessReturnsTrue() 1948 WifiConfiguration apConfig = new WifiConfiguration(); in testSetWifiApConfigurationFailureReturnsFalse() local 1950 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationFailureReturnsFalse() 1952 assertFalse(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationFailureReturnsFalse() 1973 SoftApConfiguration apConfig = generatorTestSoftApConfig(); in testSetSoftApConfigurationSuccessReturnsTrue() local 1975 when(mWifiService.setSoftApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetSoftApConfigurationSuccessReturnsTrue() 1977 assertTrue(mWifiManager.setSoftApConfiguration(apConfig)); in testSetSoftApConfigurationSuccessReturnsTrue() 1985 SoftApConfiguration apConfig = generatorTestSoftApConfig(); in testSetSoftApConfigurationFailureReturnsFalse() local [all …]
|