Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoWifiStatePermissionTest.java187 mWifiManager.disableNetwork(TEST_NET_ID); in testDisableNetwork()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiAPITest.java148 mWifiManager.disableNetwork(netid); in onPreferenceClick()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl144 boolean disableNetwork(int netId, String packageName); in disableNetwork() method
DBaseWifiService.java205 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in BaseWifiService
DWifiManager.java3741 public boolean disableNetwork(int netId) { in disableNetwork() method in WifiManager
3743 return mService.disableNetwork(netId, mContext.getOpPackageName()); in disableNetwork()
7597 boolean status = disableNetwork(netId); in disable()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2756 when(mWifiService.disableNetwork(anyInt(), anyString())) in testDisableNetwork()
2758 assertTrue(mWifiManager.disableNetwork(TEST_NETWORK_ID)); in testDisableNetwork()
2759 verify(mWifiService).disableNetwork(TEST_NETWORK_ID, mContext.getOpPackageName()); in testDisableNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1729 assertTrue(mWifiConfigManager.disableNetwork( in testEnableDisableNetwork()
1789 assertFalse(mWifiConfigManager.disableNetwork( in testDisableNetworkFailedDueToPermissionDenied()
1910 assertFalse(mWifiConfigManager.disableNetwork( in testChangeConfigurationWithInvalidNetworkId()
4367 assertTrue(mWifiConfigManager.disableNetwork( in testLastSelectedNetwork()
DClientModeImplTest.java3148 verify(mWifiNative).disableNetwork(WIFI_IFACE_NAME); in disconnect()
7480 verify(mWifiNative, never()).disableNetwork(WIFI_IFACE_NAME); in testDisableNetworkOnExitingConnectingOrConnectedState()
7490 verify(mWifiNative).disableNetwork(WIFI_IFACE_NAME); in testDisableNetworkOnExitingConnectingOrConnectedState()
7936 verify(mWifiNative).disableNetwork(WIFI_IFACE_NAME); in testConnectionWatchdog()
DWifiServiceImplTest.java8245 when(mWifiConfigManager.disableNetwork(anyInt(), anyInt(), anyString())).thenReturn(false); in testDisableNetworkFailureAppBelowQSdk()
8248 boolean succeeded = mWifiServiceImpl.disableNetwork(0, TEST_PACKAGE_NAME); in testDisableNetworkFailureAppBelowQSdk()
11606 assertFalse(mWifiServiceImpl.disableNetwork(0, TEST_PACKAGE_NAME)); in testNotAllowedToChangeWifiOpsTargetBelowQSdkFromGuestUser()
11608 verify(mWifiConfigManager, never()).disableNetwork(anyInt(), anyInt(), anyString()); in testNotAllowedToChangeWifiOpsTargetBelowQSdkFromGuestUser()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java2323 public boolean disableNetwork(int networkId, int uid, @NonNull String packageName) { in disableNetwork() method in WifiConfigManager
DWifiNative.java3062 public boolean disableNetwork(@NonNull String ifaceName) {
DWifiServiceImpl.java4146 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in WifiServiceImpl
4161 () -> mWifiConfigManager.disableNetwork(netId, callingUid, packageName), false, in disableNetwork()
DClientModeImpl.java5615 mWifiNative.disableNetwork(mInterfaceName); in exitImpl()
/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
/packages/modules/Wifi/framework/api/
Dcurrent.txt453 method @Deprecated public boolean disableNetwork(int);