/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/ |
D | WifiHotspotRepositoryTest.java | 196 mRepository.setSoftApConfiguration(mSoftApConfiguration); in setSoftApConfiguration_setConfigToWifiManager() 198 verify(mWifiManager).setSoftApConfiguration(mSoftApConfiguration); in setSoftApConfiguration_setConfigToWifiManager() 205 mRepository.setSoftApConfiguration(mSoftApConfiguration); in setSoftApConfiguration_isRestarting_doNotSetConfig() 207 verify(mWifiManager, never()).setSoftApConfiguration(mSoftApConfiguration); in setSoftApConfiguration_isRestarting_doNotSetConfig() 301 verify(mWifiManager, never()).setSoftApConfiguration(any()); in setSecurityType_sameValue_doNotSetConfig() 310 verify(mWifiManager).setSoftApConfiguration(mSoftApConfigCaptor.capture()); in setSecurityType_wpa3ToWpa2Wpa3_setConfigCorrectly() 321 verify(mWifiManager).setSoftApConfiguration(mSoftApConfigCaptor.capture()); in setSecurityType_Wpa2Wpa3ToWpa2_setConfigCorrectly() 332 verify(mWifiManager).setSoftApConfiguration(mSoftApConfigCaptor.capture()); in setSecurityType_Wpa2ToOpen_setConfigCorrectly() 343 verify(mWifiManager).setSoftApConfiguration(mSoftApConfigCaptor.capture()); in setSecurityType_OpenToWpa3_setConfigCorrectly() 465 verify(mWifiManager, never()).setSoftApConfiguration(any()); in setSpeedType_sameValue_doNotSetConfig() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherAutoOffPreferenceControllerTest.java | 120 verify(mWifiManager).setSoftApConfiguration(config.capture()); in onPreferenceChange_needShutdownSecondarySap_setSecondarySap() 133 verify(mWifiManager).setSoftApConfiguration(config.capture()); in onPreferenceChange_noNeedShutdownSecondarySap_doNotSetSecondarySap() 140 verify(mWifiManager).setSoftApConfiguration(softApConfigCaptor.capture()); in getAutoOffSetting()
|
/packages/apps/Settings/src/com/android/settings/wifi/repository/ |
D | WifiHotspotRepository.java | 188 public void setSoftApConfiguration(@NonNull SoftApConfiguration config) { in setSoftApConfiguration() method in WifiHotspotRepository 193 mWifiManager.setSoftApConfiguration(config); in setSoftApConfiguration() 268 setSoftApConfiguration(configBuilder.build()); in setSecurityType() 365 setSoftApConfiguration(configBuilder.build()); in setSpeedType()
|
/packages/modules/Connectivity/tests/cts/multidevices/snippet/ |
D | ConnectivityMultiDevicesSnippet.kt | 155 wifiManager.setSoftApConfiguration(softApConfig) in startHotspot() 173 wifiManager.setSoftApConfiguration(it) in stopAllTethering()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherViewModel.java | 143 public void setSoftApConfiguration(SoftApConfiguration config) { in setSoftApConfiguration() method in WifiTetherViewModel 144 mWifiHotspotRepository.setSoftApConfiguration(config); in setSoftApConfiguration()
|
D | WifiTetherAutoOffPreferenceController.java | 72 return mWifiManager.setSoftApConfiguration(configBuilder.build()); in onPreferenceChange()
|
D | WifiTetherSettings.java | 295 mWifiTetherViewModel.setSoftApConfiguration(config); in onTetherConfigUpdated()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | WifiTetherViewModelTest.java | 123 mViewModel.setSoftApConfiguration(config); in setSoftApConfiguration_setConfigByRepository() 125 verify(mWifiHotspotRepository).setSoftApConfiguration(config); in setSoftApConfiguration_setConfigByRepository()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | CarProjectionController.java | 27 void setSoftApConfiguration(SoftApConfiguration softApConfiguration); in setSoftApConfiguration() method
|
D | FakeCarProjectionService.java | 193 public void setSoftApConfiguration(SoftApConfiguration softApConfiguration) { in setSoftApConfiguration() method in FakeCarProjectionService
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherAutoOffPreferenceController.java | 63 return mWifiManager.setSoftApConfiguration(newSoftApConfiguration); in handlePreferenceChanged()
|
D | CarWifiManager.java | 187 mWifiManager.setSoftApConfiguration(config); in setSoftApConfig()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarProjectionServiceTest.java | 567 verify(mWifiManager).setSoftApConfiguration(eq(softApConfig_2g5g)); in startProjectionTetheredAccessPoint_ensure2GhzAnd5GhzAdded() 594 verify(mWifiManager, never()).setSoftApConfiguration(any(SoftApConfiguration.class)); in startProjectionTetheredAccessPoint_ensureNotCalled2Ghz5Ghz() 620 verify(mWifiManager, never()).setSoftApConfiguration(eq(softApConfig_5g)); in startProjectionTetheredAccessPoint_ensureNotCalled5Ghz() 656 verify(mWifiManager, never()).setSoftApConfiguration(eq(softApConfig_5g)); in startProjectionTetheredAccessPoint_ensure5GhzOnlyNoConcurrency()
|
/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarProjectionManagerTest.java | 100 mController.setSoftApConfiguration(null); in startAp_fail() 116 mController.setSoftApConfiguration(config); in startAp_success()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiTetherAutoOffPreferenceControllerTest.java | 107 verify(mWifiManager).setSoftApConfiguration(softApConfigCaptor.capture()); in getAutoOffSetting()
|
/packages/modules/Connectivity/common/ |
D | flags.aconfig | 43 … access for the parcelable TetheringRequest with getSoftApConfiguration/setSoftApConfiguration API"
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceController.java | 168 mWifiManager.setSoftApConfiguration( in setTetherSsidName()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceControllerTest.java | 163 verify(mWifiManager).setSoftApConfiguration(captor.capture()); in setDeviceName_wifiTetherNameUpdatedWhenDeviceNameUpdated()
|
/packages/services/Car/service/src/com/android/car/wifi/ |
D | CarWifiService.java | 308 mWifiManager.setSoftApConfiguration(config); in setSoftApAutoShutdownEnabled()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/wifi/ |
D | CarWifiServiceUnitTest.java | 286 verify(mWifiManager).setSoftApConfiguration(captor.capture()); in getApConfig()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 1075 mWifiManager.setSoftApConfiguration(new SoftApConfiguration.Builder(apConfig) in ensureApConfiguration() 1080 mWifiManager.setSoftApConfiguration(new SoftApConfiguration.Builder(apConfig) in ensureApConfiguration()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2156 when(mWifiService.setSoftApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetSoftApConfigurationSuccessReturnsTrue() 2158 assertTrue(mWifiManager.setSoftApConfiguration(apConfig)); in testSetSoftApConfigurationSuccessReturnsTrue() 2168 when(mWifiService.setSoftApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetSoftApConfigurationFailureReturnsFalse() 2170 assertFalse(mWifiManager.setSoftApConfiguration(apConfig)); in testSetSoftApConfigurationFailureReturnsFalse() 2178 doThrow(new SecurityException()).when(mWifiService).setSoftApConfiguration(any(), any()); in testSetSoftApConfigurationRethrowsException() 2181 mWifiManager.setSoftApConfiguration(generatorTestSoftApConfig()); in testSetSoftApConfigurationRethrowsException()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 272 boolean setSoftApConfiguration(in SoftApConfiguration softApConfig, String packageName); in setSoftApConfiguration() method
|
D | BaseWifiService.java | 565 public boolean setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName) { in setSoftApConfiguration() method in BaseWifiService
|
D | WifiManager.java | 6286 public boolean setSoftApConfiguration(@NonNull SoftApConfiguration softApConfig) { in setSoftApConfiguration() method in WifiManager 6288 return mService.setSoftApConfiguration( in setSoftApConfiguration()
|