Searched refs:setSoftApConfiguration (Results 1 – 8 of 8) sorted by relevance
1331 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()
172 boolean setSoftApConfiguration(in SoftApConfiguration softApConfig, String packageName); in setSoftApConfiguration() method
3444 public boolean setSoftApConfiguration(@NonNull SoftApConfiguration softApConfig) { in setSoftApConfiguration() method in WifiManager3446 return mService.setSoftApConfiguration( in setSoftApConfiguration()
394 public boolean setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName) { in setSoftApConfiguration() method in BaseWifiService
1933 public boolean setSoftApConfiguration( in setSoftApConfiguration() method in WifiServiceImpl
1060 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()
467 …ion(android.Manifest.permission.NETWORK_SETTINGS) public boolean setSoftApConfiguration(@NonNull a…
7264 …ion(android.Manifest.permission.NETWORK_SETTINGS) public boolean setSoftApConfiguration(@NonNull a…