Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1294 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationSuccessReturnsTrue()
1296 assertTrue(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationSuccessReturnsTrue()
1306 when(mWifiService.setWifiApConfiguration(eq(apConfig), eq(TEST_PACKAGE_NAME))) in testSetWifiApConfigurationFailureReturnsFalse()
1308 assertFalse(mWifiManager.setWifiApConfiguration(apConfig)); in testSetWifiApConfigurationFailureReturnsFalse()
1316 doThrow(new SecurityException()).when(mWifiService).setWifiApConfiguration(any(), any()); in testSetWifiApConfigurationRethrowsException()
1319 mWifiManager.setWifiApConfiguration(new WifiConfiguration()); in testSetWifiApConfigurationRethrowsException()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl170 boolean setWifiApConfiguration(in WifiConfiguration wifiConfig, String packageName); in setWifiApConfiguration() method
DWifiManager.java3415 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig) { in setWifiApConfiguration() method in WifiManager
3417 return mService.setWifiApConfiguration(wifiConfig, mContext.getOpPackageName()); in setWifiApConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DBaseWifiService.java389 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName) { in setWifiApConfiguration() method in BaseWifiService
DWifiServiceImpl.java1900 public boolean setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName) { in setWifiApConfiguration() method in WifiServiceImpl
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1009 mWifiServiceImpl.setWifiApConfiguration(apConfig, TEST_PACKAGE_NAME); in testSetWifiApConfigurationNotSavedWithoutPermission()
1022 assertTrue(mWifiServiceImpl.setWifiApConfiguration(wifiApConfig, TEST_PACKAGE_NAME)); in testSetWifiApConfigurationSuccess()
1035 assertFalse(mWifiServiceImpl.setWifiApConfiguration(null, TEST_PACKAGE_NAME)); in testSetWifiApConfigurationNullConfigNotSaved()
1045 assertFalse(mWifiServiceImpl.setWifiApConfiguration(new WifiConfiguration(), in testSetWifiApConfigurationWithInvalidConfigNotSaved()
/frameworks/base/wifi/api/
Dsystem-current.txt469 …on(android.Manifest.permission.CHANGE_WIFI_STATE) public boolean setWifiApConfiguration(android.ne…
/frameworks/base/api/
Dsystem-current.txt7266 …on(android.Manifest.permission.CHANGE_WIFI_STATE) public boolean setWifiApConfiguration(android.ne…