Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java125 mWifiManager.disableNetwork(netid); in onPreferenceClick()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl98 boolean disableNetwork(int netId, String packageName); in disableNetwork() method
DWifiManager.java2538 public boolean disableNetwork(int netId) { in disableNetwork() method in WifiManager
2540 return mService.disableNetwork(netId, mContext.getOpPackageName()); in disableNetwork()
5472 boolean status = disableNetwork(netId); in disable()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DBaseWifiService.java180 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in BaseWifiService
DWifiServiceImpl.java2932 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in WifiServiceImpl
2946 () -> mWifiConfigManager.disableNetwork( in disableNetwork()
DWifiNative.java2643 public boolean disableNetwork(@NonNull String ifaceName) {
DWifiConfigManager.java1939 public boolean disableNetwork(int networkId, int uid, String packageName) { in disableNetwork() method in WifiConfigManager
DClientModeImpl.java4243 mWifiNative.disableNetwork(mInterfaceName);
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2516 when(mWifiService.disableNetwork(anyInt(), anyString())) in testDisableNetwork()
2518 assertTrue(mWifiManager.disableNetwork(TEST_NETWORK_ID)); in testDisableNetwork()
2519 verify(mWifiService).disableNetwork(TEST_NETWORK_ID, mContext.getOpPackageName()); in testDisableNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1492 assertTrue(mWifiConfigManager.disableNetwork( in testEnableDisableNetwork()
1548 assertFalse(mWifiConfigManager.disableNetwork( in testDisableNetworkFailedDueToPermissionDenied()
1661 assertFalse(mWifiConfigManager.disableNetwork( in testChangeConfigurationWithInvalidNetworkId()
3915 assertTrue(mWifiConfigManager.disableNetwork( in testLastSelectedNetwork()
DClientModeImplTest.java2212 verify(mWifiNative).disableNetwork(WIFI_IFACE_NAME); in disconnect()
5614 verify(mWifiNative, never()).disableNetwork(WIFI_IFACE_NAME); in testDisableNetworkOnExitingConnectingOrConnectedState()
5624 verify(mWifiNative).disableNetwork(WIFI_IFACE_NAME); in testDisableNetworkOnExitingConnectingOrConnectedState()
5694 verify(mWifiNative).disableNetwork(WIFI_IFACE_NAME); in testConnectionWatchdog()
DWifiServiceImplTest.java6702 when(mWifiConfigManager.disableNetwork(anyInt(), anyInt(), anyString())).thenReturn(false); in testDisableNetworkFailureAppBelowQSdk()
6705 boolean succeeded = mWifiServiceImpl.disableNetwork(0, TEST_PACKAGE_NAME); in testDisableNetworkFailureAppBelowQSdk()
/packages/modules/Wifi/framework/api/
Dcurrent.txt358 method @Deprecated public boolean disableNetwork(int);
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt850 Landroid/net/wifi/IWifiManager$Stub$Proxy;->disableNetwork(ILjava/lang/String;)Z
982 Landroid/net/wifi/IWifiManager;->disableNetwork(ILjava/lang/String;)Z