Home
last modified time | relevance | path

Searched refs:removeNetwork (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java190 verify(mWifiManager, never()).removeNetwork(TEST_NETWORK_ID); in verifyNetworkConnectionWhenAddNetworkFails()
202 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkConnectionWhenEnableNetworkFails()
233 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkCallbackInvokedWhenConnected()
285 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkConnectionTimeout()
301 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkDisconnect()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java135 boolean ret = mWifiManager.removeNetwork(netId); in testAddRemoveNetwork()
230 boolean ret = mWifiManager.removeNetwork(netId); in testSaveConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java496 }).when(mISupplicantStaIfaceMock).removeNetwork(eq(toRemoveNetworkId)); in testLoadNetworksRemovesDuplicates()
680 verify(mISupplicantStaIfaceMock).removeNetwork(SUPPLICANT_NETWORK_ID); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant()
694 verify(mISupplicantStaIfaceMock, never()).removeNetwork(anyInt()); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant()
716 verify(mISupplicantStaIfaceMock, never()).removeNetwork(anyInt()); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
753 verify(mISupplicantStaIfaceMock, times(2)).removeNetwork(anyInt()); in testConnectFailureDueToNetworkSaveFailure()
771 verify(mISupplicantStaIfaceMock, times(2)).removeNetwork(anyInt()); in testConnectFailureDueToNetworkSaveException()
839 }).when(mISupplicantStaIfaceMock).removeNetwork(anyInt()); in testRemoveAllNetworks()
842 verify(mISupplicantStaIfaceMock, times(NETWORK_ID_TO_SSID.size())).removeNetwork(anyInt()); in testRemoveAllNetworks()
2259 }).when(mISupplicantStaIfaceMock).removeNetwork(eq(existingNetworkId)); in setupMocksForConnectSequence()
2278 verify(mISupplicantStaIfaceMock).removeNetwork(anyInt()); in validateConnectSequence()
DWifiConfigManagerTest.java440 assertTrue(mWifiConfigManager.removeNetwork(openNetwork.networkId, TEST_CREATOR_UID)); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore()
890 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Process.WIFI_UID)); in testRemovePasspointNetworkAddedByOther()
1259 assertFalse(mWifiConfigManager.removeNetwork(networkId, TEST_CREATOR_UID)); in testRemoveNetworkWithEmptyConfigStore()
1275 assertFalse(mWifiConfigManager.removeNetwork(openNetwork.networkId, TEST_CREATOR_UID)); in testRemoveNetworkWithInvalidNetworkId()
3559 assertTrue(mWifiConfigManager.removeNetwork(result.getNetworkId(), TEST_CREATOR_UID)); in testLastSelectedNetwork()
3630 assertTrue(mWifiConfigManager.removeNetwork(network3.networkId, TEST_CREATOR_UID)); in testRemoveNetworkRemovesConnectChoice()
3637 assertTrue(mWifiConfigManager.removeNetwork(network2.networkId, TEST_CREATOR_UID)); in testRemoveNetworkRemovesConnectChoice()
5037 assertTrue(mWifiConfigManager.removeNetwork(configuration.networkId, TEST_CREATOR_UID)); in verifyRemoveNetworkFromWifiConfigManager()
5049 assertTrue(mWifiConfigManager.removeNetwork(configuration.networkId, TEST_CREATOR_UID)); in verifyRemoveEphemeralNetworkFromWifiConfigManager()
5061 assertTrue(mWifiConfigManager.removeNetwork(configuration.networkId, TEST_CREATOR_UID)); in verifyRemovePasspointNetworkFromWifiConfigManager()
DClientModeImplTest.java676 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true); in canRemoveNetwork()
682 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt()); in canRemoveNetwork()
704 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true); in canForgetNetwork()
707 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt()); in canForgetNetwork()
1948 when(mWifiConfigManager.removeNetwork(eq(FRAMEWORK_NETWORK_ID), anyInt())) in disconnectFromNetworkWhenRemovedWhileObtainingIpAddr()
1952 verify(mWifiConfigManager).removeNetwork(eq(FRAMEWORK_NETWORK_ID), anyInt()); in disconnectFromNetworkWhenRemovedWhileObtainingIpAddr()
DWifiServiceImplTest.java456 assertFalse(mWifiServiceImpl.removeNetwork(-1, TEST_PACKAGE_NAME)); in testRemoveNetworkUnknown()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java141 mWifiManager.removeNetwork(mNetworkId); in disconnectIfNeeded()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl88 boolean removeNetwork(int netId, String packageName); in removeNetwork() method
DWifiManager.java1857 public boolean removeNetwork(int netId) { in removeNetwork() method in WifiManager
1859 return mService.removeNetwork(netId, mContext.getOpPackageName()); in removeNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java211 when(mSupplicantP2pIfaceHalMock.removeNetwork(anyInt())).thenReturn(true); in testP2pRemoveNetwork()
213 verify(mSupplicantP2pIfaceHalMock).removeNetwork(eq(1)); in testP2pRemoveNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1259 removeNetwork(existingConfig.networkId, mSystemUiUid); in addOrUpdateNetwork()
1340 public boolean removeNetwork(int networkId, int uid) { in removeNetwork() method in WifiConfigManager
1404 if (removeNetwork(config.networkId, mSystemUiUid)) { in removeNetworksForApp()
1428 if (removeNetwork(config.networkId, mSystemUiUid)) { in removeNetworksForUser()
1451 removeNetwork(config.networkId, mSystemUiUid); in removeAllEphemeralOrPasspointConfiguredNetworks()
1455 removeNetwork(config.networkId, mSystemUiUid); in removeAllEphemeralOrPasspointConfiguredNetworks()
1474 removeNetwork(config.networkId, mSystemUiUid); in removePasspointConfiguredNetwork()
DSupplicantStaIfaceHal.java957 removeNetwork(ifaceName, duplicateConfig.networkId); in loadNetworks()
994 if (!removeNetwork(ifaceName, id)) { in removeAllNetworks()
1196 private boolean removeNetwork(@NonNull String ifaceName, int id) { in removeNetwork() method in SupplicantStaIfaceHal
1202 SupplicantStatus status = iface.removeNetwork(id); in removeNetwork()
DWifiServiceImpl.java2100 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in WifiServiceImpl
2950 removeNetwork(config.networkId, packageName); in factoryReset()
DClientModeImpl.java6157 boolean success = mWifiConfigManager.removeNetwork(message.arg1, message.sendingUid); in deleteNetworkConfigAndSendReply()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java152 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in BaseWifiService
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java216 mDnsManager.removeNetwork(new Network(TEST_NETID)); in testIgnoreUntrackedValidationUpdates()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java339 return mSupplicantP2pIfaceHal.removeNetwork(netId); in removeP2pNetwork()
DSupplicantP2pIfaceHal.java1909 public boolean removeNetwork(int networkId) { in removeNetwork() method in SupplicantP2pIfaceHal
1916 result.setResult(mISupplicantP2pIface.removeNetwork(networkId)); in removeNetwork()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java265 public void removeNetwork(Network network) { in removeNetwork() method in DnsManager
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3073 mDnsManager.removeNetwork(nai.network); in disconnectAndDestroyNetwork()
/frameworks/base/services/
Dart-profile1461 PLcom/android/server/NetworkManagementService;->removeNetwork(I)V
5379 PLcom/android/server/connectivity/DnsManager;->removeNetwork(Landroid/net/Network;)V
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...