Home
last modified time | relevance | path

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

12

/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.java493 assertTrue(mWifiConfigManager.removeNetwork(openNetwork.networkId, TEST_CREATOR_UID)); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore()
705 .removeNetwork(suggestionNetwork.networkId, TEST_CREATOR_UID)); in testAddSingleSuggestionNetwork()
947 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Process.WIFI_UID)); in testRemovePasspointNetworkAddedByOther()
1316 assertFalse(mWifiConfigManager.removeNetwork(networkId, TEST_CREATOR_UID)); in testRemoveNetworkWithEmptyConfigStore()
1332 assertFalse(mWifiConfigManager.removeNetwork(openNetwork.networkId, TEST_CREATOR_UID)); in testRemoveNetworkWithInvalidNetworkId()
3654 assertTrue(mWifiConfigManager.removeNetwork(result.getNetworkId(), TEST_CREATOR_UID)); in testLastSelectedNetwork()
3725 assertTrue(mWifiConfigManager.removeNetwork(network3.networkId, TEST_CREATOR_UID)); in testRemoveNetworkRemovesConnectChoice()
3732 assertTrue(mWifiConfigManager.removeNetwork(network2.networkId, TEST_CREATOR_UID)); in testRemoveNetworkRemovesConnectChoice()
5132 assertTrue(mWifiConfigManager.removeNetwork(configuration.networkId, TEST_CREATOR_UID)); in verifyRemoveNetworkFromWifiConfigManager()
5144 assertTrue(mWifiConfigManager.removeNetwork(configuration.networkId, TEST_CREATOR_UID)); in verifyRemoveEphemeralNetworkFromWifiConfigManager()
[all …]
DClientModeImplTest.java687 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true); in canRemoveNetwork()
693 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt()); in canRemoveNetwork()
715 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true); in canForgetNetwork()
718 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt()); in canForgetNetwork()
2069 when(mWifiConfigManager.removeNetwork(eq(FRAMEWORK_NETWORK_ID), anyInt())) in disconnectFromNetworkWhenRemovedWhileObtainingIpAddr()
2073 verify(mWifiConfigManager).removeNetwork(eq(FRAMEWORK_NETWORK_ID), anyInt()); in disconnectFromNetworkWhenRemovedWhileObtainingIpAddr()
DWifiNetworkFactoryTest.java1618 verify(mWifiConfigManager).removeNetwork(TEST_NETWORK_ID_1, TEST_UID_1); in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
DWifiServiceImplTest.java463 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.java1890 public boolean removeNetwork(int netId) { in removeNetwork() method in WifiManager
1892 return mService.removeNetwork(netId, mContext.getOpPackageName()); in removeNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1321 removeNetwork(existingConfig.networkId, mSystemUiUid); in addOrUpdateNetwork()
1403 public boolean removeNetwork(int networkId, int uid) { in removeNetwork() method in WifiConfigManager
1467 if (removeNetwork(config.networkId, mSystemUiUid)) { in removeNetworksForApp()
1491 if (removeNetwork(config.networkId, mSystemUiUid)) { in removeNetworksForUser()
1514 removeNetwork(config.networkId, mSystemUiUid); in removeAllEphemeralOrPasspointConfiguredNetworks()
1518 removeNetwork(config.networkId, mSystemUiUid); in removeAllEphemeralOrPasspointConfiguredNetworks()
1537 removeNetwork(config.networkId, mSystemUiUid); in removePasspointConfiguredNetwork()
DSupplicantStaIfaceHal.java981 removeNetwork(ifaceName, duplicateConfig.networkId); in loadNetworks()
1018 if (!removeNetwork(ifaceName, id)) { in removeAllNetworks()
1220 private boolean removeNetwork(@NonNull String ifaceName, int id) { in removeNetwork() method in SupplicantStaIfaceHal
1226 SupplicantStatus status = iface.removeNetwork(id); in removeNetwork()
DWifiNetworkFactory.java738 mWifiConfigManager.removeNetwork(wcmNetwork.networkId, wcmNetwork.creatorUid); in disconnectAndRemoveNetworkFromWifiConfigManager()
DWifiServiceImpl.java2147 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in WifiServiceImpl
2998 removeNetwork(config.networkId, packageName); in factoryReset()
DClientModeImpl.java6249 boolean success = mWifiConfigManager.removeNetwork(message.arg1, message.sendingUid); in deleteNetworkConfigAndSendReply()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java284 mDnsManager.removeNetwork(new Network(TEST_NETID)); in testIgnoreUntrackedValidationUpdates()
424 mDnsManager.removeNetwork(network); in testGetPrivateDnsConfigForNetwork()
/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/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java152 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in BaseWifiService
/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.java272 public void removeNetwork(Network network) { in removeNetwork() method in DnsManager
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3382 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/config/
Dhiddenapi-greylist-max-o.txt46405 Landroid/net/wifi/IWifiManager$Stub$Proxy;->removeNetwork(ILjava/lang/String;)Z
46532 Landroid/net/wifi/IWifiManager;->removeNetwork(ILjava/lang/String;)Z
50496 Landroid/os/INetworkManagementService$Stub$Proxy;->removeNetwork(I)V
50661 Landroid/os/INetworkManagementService;->removeNetwork(I)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18055 method public boolean removeNetwork(int);

12