Home
last modified time | relevance | path

Searched refs:setSoftApConfiguration (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java196 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/
DWifiTetherAutoOffPreferenceControllerTest.java120 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/
DWifiHotspotRepository.java188 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/
DConnectivityMultiDevicesSnippet.kt155 wifiManager.setSoftApConfiguration(softApConfig) in startHotspot()
173 wifiManager.setSoftApConfiguration(it) in stopAllTethering()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherViewModel.java143 public void setSoftApConfiguration(SoftApConfiguration config) { in setSoftApConfiguration() method in WifiTetherViewModel
144 mWifiHotspotRepository.setSoftApConfiguration(config); in setSoftApConfiguration()
DWifiTetherAutoOffPreferenceController.java72 return mWifiManager.setSoftApConfiguration(configBuilder.build()); in onPreferenceChange()
DWifiTetherSettings.java295 mWifiTetherViewModel.setSoftApConfiguration(config); in onTetherConfigUpdated()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherViewModelTest.java123 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/
DCarProjectionController.java27 void setSoftApConfiguration(SoftApConfiguration softApConfiguration); in setSoftApConfiguration() method
DFakeCarProjectionService.java193 public void setSoftApConfiguration(SoftApConfiguration softApConfiguration) { in setSoftApConfiguration() method in FakeCarProjectionService
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherAutoOffPreferenceController.java63 return mWifiManager.setSoftApConfiguration(newSoftApConfiguration); in handlePreferenceChanged()
DCarWifiManager.java187 mWifiManager.setSoftApConfiguration(config); in setSoftApConfig()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java567 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/
DCarProjectionManagerTest.java100 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/
DWifiTetherAutoOffPreferenceControllerTest.java107 verify(mWifiManager).setSoftApConfiguration(softApConfigCaptor.capture()); in getAutoOffSetting()
/packages/modules/Connectivity/common/
Dflags.aconfig43 … access for the parcelable TetheringRequest with getSoftApConfiguration/setSoftApConfiguration API"
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceController.java168 mWifiManager.setSoftApConfiguration( in setTetherSsidName()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceControllerTest.java163 verify(mWifiManager).setSoftApConfiguration(captor.capture()); in setDeviceName_wifiTetherNameUpdatedWhenDeviceNameUpdated()
/packages/services/Car/service/src/com/android/car/wifi/
DCarWifiService.java308 mWifiManager.setSoftApConfiguration(config); in setSoftApAutoShutdownEnabled()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/wifi/
DCarWifiServiceUnitTest.java286 verify(mWifiManager).setSoftApConfiguration(captor.capture()); in getApConfig()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java1075 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/
DWifiManagerTest.java2156 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/
DIWifiManager.aidl272 boolean setSoftApConfiguration(in SoftApConfiguration softApConfig, String packageName); in setSoftApConfiguration() method
DBaseWifiService.java565 public boolean setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName) { in setSoftApConfiguration() method in BaseWifiService
DWifiManager.java6286 public boolean setSoftApConfiguration(@NonNull SoftApConfiguration softApConfig) { in setSoftApConfiguration() method in WifiManager
6288 return mService.setSoftApConfiguration( in setSoftApConfiguration()

12