Searched refs:disableNetwork (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 92 boolean disableNetwork(int netId, String packageName); in disableNetwork() method
|
D | WifiManager.java | 1948 public boolean disableNetwork(int netId) { 1950 return mService.disableNetwork(netId, mContext.getOpPackageName());
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 176 ret = mWifiManager.disableNetwork(netId); in testEnableDisableNetwork()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 162 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in BaseWifiService
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1504 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/ |
D | WifiConfigManagerTest.java | 1196 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()
|
D | ClientModeImplTest.java | 2205 when(mWifiConfigManager.disableNetwork(anyInt(), anyInt())).thenReturn(false); in testSyncDisableNetwork_failure()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 1802 public boolean disableNetwork(int networkId, int uid) { in disableNetwork() method in WifiConfigManager
|
D | WifiServiceImpl.java | 2160 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in WifiServiceImpl
|
D | ClientModeImpl.java | 4127 if (mWifiConfigManager.disableNetwork(netId, message.sendingUid)) { in processMessage()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18036 method public boolean disableNetwork(int);
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 49724 Landroid/net/wifi/IWifiManager$Stub$Proxy;->disableNetwork(ILjava/lang/String;)Z 49858 Landroid/net/wifi/IWifiManager;->disableNetwork(ILjava/lang/String;)Z
|
/frameworks/base/api/ |
D | current.txt | 29787 method @Deprecated public boolean disableNetwork(int);
|