Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl92 boolean disableNetwork(int netId, String packageName); in disableNetwork() method
DWifiManager.java1981 public boolean disableNetwork(int netId) {
1983 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.java1498 when(mWifiService.disableNetwork(anyInt(), anyString())) in testDisableNetwork()
1500 assertTrue(mWifiManager.disableNetwork(TEST_NETWORK_ID)); in testDisableNetwork()
1501 verify(mWifiService).disableNetwork(TEST_NETWORK_ID, mContext.getOpPackageName()); in testDisableNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1211 assertTrue(mWifiConfigManager.disableNetwork(result.getNetworkId(), TEST_CREATOR_UID)); in testEnableDisableNetwork()
1266 assertFalse(mWifiConfigManager.disableNetwork(result.getNetworkId(), TEST_UPDATE_UID)); in testDisableNetworkFailedDueToPermissionDenied()
1351 assertFalse(mWifiConfigManager.disableNetwork(result.getNetworkId() + 1, TEST_CREATOR_UID)); in testChangeConfigurationWithInvalidNetworkId()
2111 assertTrue(mWifiConfigManager.disableNetwork(network3.networkId, TEST_CREATOR_UID)); in testRetrievePnoList()
3644 assertTrue(mWifiConfigManager.disableNetwork(result.getNetworkId(), TEST_CREATOR_UID)); in testLastSelectedNetwork()
DClientModeImplTest.java2328 when(mWifiConfigManager.disableNetwork(anyInt(), anyInt())).thenReturn(false); in testSyncDisableNetwork_failure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1841 public boolean disableNetwork(int networkId, int uid) { in disableNetwork() method in WifiConfigManager
DWifiServiceImpl.java2207 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in WifiServiceImpl
DClientModeImpl.java4148 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.txt46365 Landroid/net/wifi/IWifiManager$Stub$Proxy;->disableNetwork(ILjava/lang/String;)Z
46497 Landroid/net/wifi/IWifiManager;->disableNetwork(ILjava/lang/String;)Z
/frameworks/base/non-updatable-api/
Dcurrent.txt30072 method @Deprecated public boolean disableNetwork(int);
/frameworks/base/api/
Dcurrent.txt30216 method @Deprecated public boolean disableNetwork(int);