Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1331 when(mWifiService.setSoftApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetSoftApConfigurationSuccessReturnsTrue()
1333 assertTrue(mWifiManager.setSoftApConfiguration(apConfig)); in testSetSoftApConfigurationSuccessReturnsTrue()
1343 when(mWifiService.setSoftApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetSoftApConfigurationFailureReturnsFalse()
1345 assertFalse(mWifiManager.setSoftApConfiguration(apConfig)); in testSetSoftApConfigurationFailureReturnsFalse()
1353 doThrow(new SecurityException()).when(mWifiService).setSoftApConfiguration(any(), any()); in testSetSoftApConfigurationRethrowsException()
1356 mWifiManager.setSoftApConfiguration(generatorTestSoftApConfig()); in testSetSoftApConfigurationRethrowsException()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl172 boolean setSoftApConfiguration(in SoftApConfiguration softApConfig, String packageName); in setSoftApConfiguration() method
DWifiManager.java3444 public boolean setSoftApConfiguration(@NonNull SoftApConfiguration softApConfig) { in setSoftApConfiguration() method in WifiManager
3446 return mService.setSoftApConfiguration( in setSoftApConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DBaseWifiService.java394 public boolean setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName) { in setSoftApConfiguration() method in BaseWifiService
DWifiServiceImpl.java1933 public boolean setSoftApConfiguration( in setSoftApConfiguration() method in WifiServiceImpl
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1060 mWifiServiceImpl.setSoftApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetSoftApConfigurationNotSavedWithoutPermission()
1075 assertTrue(mWifiServiceImpl.setSoftApConfiguration(apConfig, TEST_PACKAGE_NAME)); in testSetSoftApConfigurationSuccess()
1091 assertFalse(mWifiServiceImpl.setSoftApConfiguration(null, TEST_PACKAGE_NAME)); in testSetSoftApConfigurationNullConfigNotSaved()
1106 assertFalse(mWifiServiceImpl.setSoftApConfiguration( in testSetSoftApConfigurationWithInvalidConfigNotSaved()
/frameworks/base/wifi/api/
Dsystem-current.txt467 …ion(android.Manifest.permission.NETWORK_SETTINGS) public boolean setSoftApConfiguration(@NonNull a…
/frameworks/base/api/
Dsystem-current.txt7264 …ion(android.Manifest.permission.NETWORK_SETTINGS) public boolean setSoftApConfiguration(@NonNull a…