Searched refs:disableNetwork (Results 1 – 14 of 14) sorted by relevance
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiAPITest.java | 125 mWifiManager.disableNetwork(netid); in onPreferenceClick()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 98 boolean disableNetwork(int netId, String packageName); in disableNetwork() method
|
D | WifiManager.java | 2538 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/ |
D | BaseWifiService.java | 180 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in BaseWifiService
|
D | WifiServiceImpl.java | 2932 public boolean disableNetwork(int netId, String packageName) { in disableNetwork() method in WifiServiceImpl 2946 () -> mWifiConfigManager.disableNetwork( in disableNetwork()
|
D | WifiNative.java | 2643 public boolean disableNetwork(@NonNull String ifaceName) {
|
D | WifiConfigManager.java | 1939 public boolean disableNetwork(int networkId, int uid, String packageName) { in disableNetwork() method in WifiConfigManager
|
D | ClientModeImpl.java | 4243 mWifiNative.disableNetwork(mInterfaceName);
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2516 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/ |
D | WifiConfigManagerTest.java | 1492 assertTrue(mWifiConfigManager.disableNetwork( in testEnableDisableNetwork() 1548 assertFalse(mWifiConfigManager.disableNetwork( in testDisableNetworkFailedDueToPermissionDenied() 1661 assertFalse(mWifiConfigManager.disableNetwork( in testChangeConfigurationWithInvalidNetworkId() 3915 assertTrue(mWifiConfigManager.disableNetwork( in testLastSelectedNetwork()
|
D | ClientModeImplTest.java | 2212 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()
|
D | WifiServiceImplTest.java | 6702 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/ |
D | current.txt | 358 method @Deprecated public boolean disableNetwork(int);
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 850 Landroid/net/wifi/IWifiManager$Stub$Proxy;->disableNetwork(ILjava/lang/String;)Z 982 Landroid/net/wifi/IWifiManager;->disableNetwork(ILjava/lang/String;)Z
|