Home
last modified time | relevance | path

Searched refs:disableNetwork (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java176 ret = mWifiManager.disableNetwork(netId); in testEnableDisableNetwork()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl89 boolean disableNetwork(int netId, String packageName); in disableNetwork() method
DWifiManager.java2250 public boolean disableNetwork(int netId) { in disableNetwork() method in WifiManager
2252 return mService.disableNetwork(netId, mContext.getOpPackageName()); in disableNetwork()
4318 boolean status = disableNetwork(netId); in disable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DBaseWifiService.java175 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in BaseWifiService
DWifiServiceImpl.java2519 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in WifiServiceImpl
2532 () -> mWifiConfigManager.disableNetwork(netId, callingUid, packageName), false); in disableNetwork()
DWifiConfigManager.java1886 public boolean disableNetwork(int networkId, int uid, String packageName) { in disableNetwork() method in WifiConfigManager
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1762 when(mWifiService.disableNetwork(anyInt(), anyString())) in testDisableNetwork()
1764 assertTrue(mWifiManager.disableNetwork(TEST_NETWORK_ID)); in testDisableNetwork()
1765 verify(mWifiService).disableNetwork(TEST_NETWORK_ID, mContext.getOpPackageName()); in testDisableNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1438 assertTrue(mWifiConfigManager.disableNetwork( in testEnableDisableNetwork()
1494 assertFalse(mWifiConfigManager.disableNetwork( in testDisableNetworkFailedDueToPermissionDenied()
1607 assertFalse(mWifiConfigManager.disableNetwork( in testChangeConfigurationWithInvalidNetworkId()
3540 assertTrue(mWifiConfigManager.disableNetwork( in testLastSelectedNetwork()
DWifiServiceImplTest.java5116 when(mWifiConfigManager.disableNetwork(anyInt(), anyInt(), anyString())).thenReturn(false); in testDisableNetworkFailureAppBelowQSdk()
5119 boolean succeeded = mWifiServiceImpl.disableNetwork(0, TEST_PACKAGE_NAME); in testDisableNetworkFailureAppBelowQSdk()
/frameworks/base/wifi/api/
Dcurrent.txt314 method @Deprecated public boolean disableNetwork(int);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18036 method public boolean disableNetwork(int);
/frameworks/base/api/
Dcurrent.txt31394 method @Deprecated public boolean disableNetwork(int);