Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java180 verify(mWifiManager, never()).removeNetwork(TEST_NETWORK_ID); in verifyNetworkConnectionWhenAddNetworkFails()
192 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkConnectionWhenEnableNetworkFails()
223 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkCallbackInvokedWhenConnected()
275 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkConnectionTimeout()
291 verify(mWifiManager).removeNetwork(TEST_NETWORK_ID); in verifyNetworkDisconnect()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1425 removeNetwork( in addOrUpdateNetwork()
1586 public boolean removeNetwork(int networkId, int uid, String packageName) { in removeNetwork() method in WifiConfigManager
1608 mLruConnectionTracker.removeNetwork(config); in removeNetwork()
1656 if (removeNetwork(config.networkId, config.creatorUid, config.creatorName)) { in removeNetworksForApp()
1680 if (removeNetwork(config.networkId, config.creatorUid, config.creatorName)) { in removeNetworksForUser()
1703 removeNetwork(config.networkId, config.creatorUid, config.creatorName); in removeAllEphemeralOrPasspointConfiguredNetworks()
1707 removeNetwork(config.networkId, config.creatorUid, config.creatorName); in removeAllEphemeralOrPasspointConfiguredNetworks()
1724 return removeNetwork(config.networkId, suggestion.creatorUid, suggestion.creatorName); in removeSuggestionConfiguredNetwork()
1739 return removeNetwork(config.networkId, config.creatorUid, config.creatorName); in removePasspointConfiguredNetwork()
1760 removeNetwork(config.networkId, config.creatorUid, config.creatorName); in removeNonCallerConfiguredNetwork()
[all …]
DSupplicantStaIfaceHal.java1150 if (!removeNetwork(ifaceName, id)) { in removeAllNetworks()
1367 private boolean removeNetwork(@NonNull String ifaceName, int id) { in removeNetwork() method in SupplicantStaIfaceHal
1373 SupplicantStatus status = iface.removeNetwork(id); in removeNetwork()
3829 if (!removeNetwork(ifaceName, id)) { in removeAllNetworksExcept()
DBaseWifiService.java165 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in BaseWifiService
DWifiNetworkSuggestionsManager.java759 mLruConnectionTracker.removeNetwork( in removeFromScanResultMatchInfoMapAndRemoveRelatedScoreCard()
777 mLruConnectionTracker.removeNetwork( in removeFromScanResultMatchInfoMapAndRemoveRelatedScoreCard()
790 mWifiInjector.getWifiScoreCard().removeNetwork(wifiConfiguration.SSID); in removeNetworkFromScoreCard()
DWifiHealthMonitor.java1051 mWifiScoreCard.removeNetwork(config.SSID); in onNetworkRemoved()
DWifiServiceImpl.java2820 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in WifiServiceImpl
2834 () -> mWifiConfigManager.removeNetwork(internalNetId, callingUid, packageName), in removeNetwork()
4092 removeNetwork(network.networkId, packageName);
5015 boolean success = mWifiConfigManager.removeNetwork(internalNetId, uid, null);
DWifiNetworkFactory.java946 mWifiConfigManager.removeNetwork( in disconnectAndRemoveNetworkFromWifiConfigManager()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DLruConnectionTracker.java55 public void removeNetwork(@NonNull WifiConfiguration config) { in removeNetwork() method in LruConnectionTracker
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DDeviceSettingBroadcastReceiver.java75 wifiManager.removeNetwork(wifiConfiguration.networkId); in removeWifis()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java522 verify(mISupplicantStaIfaceMock).removeNetwork(SUPPLICANT_NETWORK_ID); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant()
536 verify(mISupplicantStaIfaceMock, never()).removeNetwork(anyInt()); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant()
558 verify(mISupplicantStaIfaceMock, never()).removeNetwork(anyInt()); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
595 verify(mISupplicantStaIfaceMock, times(2)).removeNetwork(anyInt()); in testConnectFailureDueToNetworkSaveFailure()
613 verify(mISupplicantStaIfaceMock, times(2)).removeNetwork(anyInt()); in testConnectFailureDueToNetworkSaveException()
690 }).when(mISupplicantStaIfaceMock).removeNetwork(anyInt()); in testRemoveAllNetworks()
693 verify(mISupplicantStaIfaceMock, times(NETWORK_ID_TO_SSID.size())).removeNetwork(anyInt()); in testRemoveAllNetworks()
2881 }).when(mISupplicantStaIfaceMock).removeNetwork(eq(existingNetworkId)); in setupMocksForConnectSequence()
2900 verify(mISupplicantStaIfaceMock).removeNetwork(anyInt()); in validateConnectSequence()
3000 verify(mISupplicantStaIfaceMock, never()).removeNetwork(anyInt()); in executeAndValidateRoamSequence()
DWifiHealthMonitorTest.java266 }).when(wifiConfigManager).removeNetwork(anyInt(), anyInt(), anyString()); in mockConfigManager()
804 mWifiConfigManager.removeNetwork(1, 1, "some package"); in testRemoveSavedNetwork()
820 mWifiConfigManager.removeNetwork(1, 1, "some package"); in testRemoveSuggestionNetwork()
DWifiConfigManagerTest.java627 assertTrue(mWifiConfigManager.removeNetwork( in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore()
1031 .removeNetwork(suggestionNetwork.networkId, TEST_CREATOR_UID, TEST_CREATOR_NAME)); in testAddSingleSuggestionNetwork()
1288 assertTrue(mWifiConfigManager.removeNetwork( in testRemovePasspointNetworkAddedByOther()
1624 assertFalse(mWifiConfigManager.removeNetwork( in testRemoveNetworkWithEmptyConfigStore()
1641 assertFalse(mWifiConfigManager.removeNetwork( in testRemoveNetworkWithInvalidNetworkId()
3927 assertTrue(mWifiConfigManager.removeNetwork( in testLastSelectedNetwork()
4009 assertTrue(mWifiConfigManager.removeNetwork( in testRemoveNetworkRemovesConnectChoice()
4017 assertTrue(mWifiConfigManager.removeNetwork( in testRemoveNetworkRemovesConnectChoice()
5771 assertTrue(mWifiConfigManager.removeNetwork( in verifyRemoveNetworkFromWifiConfigManager()
5785 assertTrue(mWifiConfigManager.removeNetwork( in verifyRemoveEphemeralNetworkFromWifiConfigManager()
[all …]
DWifiServiceImplTest.java634 when(mWifiConfigManager.removeNetwork(anyInt(), anyInt(), anyString())).thenReturn(false); in testRemoveNetworkFailureAppBelowQSdk()
637 boolean succeeded = mWifiServiceImpl.removeNetwork(0, TEST_PACKAGE_NAME); in testRemoveNetworkFailureAppBelowQSdk()
4616 verify(mWifiConfigManager, never()).removeNetwork(anyInt(), anyInt(), any()); in testForgetNetworkWithoutPrivilegedPermission()
4878 when(mWifiConfigManager.removeNetwork(anyInt(), anyInt(), any())).thenReturn(true); in testForgetNetworkWithPrivilegedPermission()
4886 inOrder.verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt(), any()); in testForgetNetworkWithPrivilegedPermission()
4894 when(mWifiConfigManager.removeNetwork(eq(TEST_NETWORK_ID), anyInt(), any())) in forgetNetwork_success()
4901 verify(mWifiConfigManager).removeNetwork(eq(TEST_NETWORK_ID), anyInt(), any()); in forgetNetwork_success()
4927 when(mWifiConfigManager.removeNetwork(eq(TEST_NETWORK_ID), anyInt(), any())) in forgetNetwork_successNoLocation_dontBroadcastSsid()
4933 verify(mWifiConfigManager).removeNetwork(eq(TEST_NETWORK_ID), anyInt(), any()); in forgetNetwork_successNoLocation_dontBroadcastSsid()
4956 when(mWifiConfigManager.removeNetwork(eq(TEST_NETWORK_ID), anyInt(), any())) in forgetNetwork_failed()
[all …]
DWifiNetworkFactoryTest.java2077 verify(mWifiConfigManager).removeNetwork( in testHandleNetworkReleaseWithSpecifierAfterConnectionStart()
2120 verify(mWifiConfigManager).removeNetwork( in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
2166 verify(mWifiConfigManager).removeNetwork( in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccessOnSecondaryCmm()
2257 verify(mWifiConfigManager).removeNetwork( in testMetricsUpdateForConcurrentConnections()
DWifiNetworkSuggestionsManagerTest.java419 verify(mWifiScoreCard).removeNetwork(anyString()); in testRemoveNetworkSuggestionsSuccess()
420 verify(mLruConnectionTracker).removeNetwork(any()); in testRemoveNetworkSuggestionsSuccess()
491 verify(mLruConnectionTracker).removeNetwork(any()); in testAddRemoveEnterpriseNetworkSuggestion()
650 verify(mLruConnectionTracker).removeNetwork(any()); in testRemoveAllNetworkSuggestionsSuccess()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DDnsManagerTest.java298 mDnsManager.removeNetwork(new Network(TEST_NETID)); in testIgnoreUntrackedValidationUpdates()
437 mDnsManager.removeNetwork(network); in testGetPrivateDnsConfigForNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DLruConnectionTrackerTest.java59 mList.removeNetwork(network); in testAddRemoveNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java229 when(mSupplicantP2pIfaceHalMock.removeNetwork(anyInt())).thenReturn(true); in testP2pRemoveNetwork()
231 verify(mSupplicantP2pIfaceHalMock).removeNetwork(eq(1)); in testP2pRemoveNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java142 mWifiManager.removeNetwork(mNetworkId); in disconnectIfNeeded()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl92 boolean removeNetwork(int netId, String packageName); in removeNetwork() method
DWifiManager.java2438 public boolean removeNetwork(int netId) { in removeNetwork() method in WifiManager
2440 return mService.removeNetwork(netId, mContext.getOpPackageName()); in removeNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java313 return mSupplicantP2pIfaceHal.removeNetwork(netId); in removeP2pNetwork()
DSupplicantP2pIfaceHal.java2020 public boolean removeNetwork(int networkId) { in removeNetwork() method in SupplicantP2pIfaceHal
2027 result.setResult(mISupplicantP2pIface.removeNetwork(networkId)); in removeNetwork()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDnsManager.java278 public void removeNetwork(Network network) { in removeNetwork() method in DnsManager

12