Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl92 boolean disableNetwork(int netId, String packageName); in disableNetwork() method
DWifiManager.java1948 public boolean disableNetwork(int netId) {
1950 return mService.disableNetwork(netId, mContext.getOpPackageName());
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java176 ret = mWifiManager.disableNetwork(netId); in testEnableDisableNetwork()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java162 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in BaseWifiService
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1504 when(mWifiService.disableNetwork(anyInt(), anyString())) in testDisableNetwork()
1506 assertTrue(mWifiManager.disableNetwork(TEST_NETWORK_ID)); in testDisableNetwork()
1507 verify(mWifiService).disableNetwork(TEST_NETWORK_ID, mContext.getOpPackageName()); in testDisableNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1196 assertTrue(mWifiConfigManager.disableNetwork(result.getNetworkId(), TEST_CREATOR_UID)); in testEnableDisableNetwork()
1251 assertFalse(mWifiConfigManager.disableNetwork(result.getNetworkId(), TEST_UPDATE_UID)); in testDisableNetworkFailedDueToPermissionDenied()
1336 assertFalse(mWifiConfigManager.disableNetwork(result.getNetworkId() + 1, TEST_CREATOR_UID)); in testChangeConfigurationWithInvalidNetworkId()
2058 assertTrue(mWifiConfigManager.disableNetwork(network3.networkId, TEST_CREATOR_UID)); in testRetrievePnoList()
3591 assertTrue(mWifiConfigManager.disableNetwork(result.getNetworkId(), TEST_CREATOR_UID)); in testLastSelectedNetwork()
DClientModeImplTest.java2205 when(mWifiConfigManager.disableNetwork(anyInt(), anyInt())).thenReturn(false); in testSyncDisableNetwork_failure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1802 public boolean disableNetwork(int networkId, int uid) { in disableNetwork() method in WifiConfigManager
DWifiServiceImpl.java2160 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in WifiServiceImpl
DClientModeImpl.java4127 if (mWifiConfigManager.disableNetwork(netId, message.sendingUid)) { in processMessage()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18036 method public boolean disableNetwork(int);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt49724 Landroid/net/wifi/IWifiManager$Stub$Proxy;->disableNetwork(ILjava/lang/String;)Z
49858 Landroid/net/wifi/IWifiManager;->disableNetwork(ILjava/lang/String;)Z
/frameworks/base/api/
Dcurrent.txt29787 method @Deprecated public boolean disableNetwork(int);