/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 180 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/ |
D | WifiConfigManager.java | 1425 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 …]
|
D | SupplicantStaIfaceHal.java | 1150 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()
|
D | BaseWifiService.java | 165 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in BaseWifiService
|
D | WifiNetworkSuggestionsManager.java | 759 mLruConnectionTracker.removeNetwork( in removeFromScanResultMatchInfoMapAndRemoveRelatedScoreCard() 777 mLruConnectionTracker.removeNetwork( in removeFromScanResultMatchInfoMapAndRemoveRelatedScoreCard() 790 mWifiInjector.getWifiScoreCard().removeNetwork(wifiConfiguration.SSID); in removeNetworkFromScoreCard()
|
D | WifiHealthMonitor.java | 1051 mWifiScoreCard.removeNetwork(config.SSID); in onNetworkRemoved()
|
D | WifiServiceImpl.java | 2820 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);
|
D | WifiNetworkFactory.java | 946 mWifiConfigManager.removeNetwork( in disconnectAndRemoveNetworkFromWifiConfigManager()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | LruConnectionTracker.java | 55 public void removeNetwork(@NonNull WifiConfiguration config) { in removeNetwork() method in LruConnectionTracker
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | DeviceSettingBroadcastReceiver.java | 75 wifiManager.removeNetwork(wifiConfiguration.networkId); in removeWifis()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 522 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()
|
D | WifiHealthMonitorTest.java | 266 }).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()
|
D | WifiConfigManagerTest.java | 627 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 …]
|
D | WifiServiceImplTest.java | 634 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 …]
|
D | WifiNetworkFactoryTest.java | 2077 verify(mWifiConfigManager).removeNetwork( in testHandleNetworkReleaseWithSpecifierAfterConnectionStart() 2120 verify(mWifiConfigManager).removeNetwork( in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess() 2166 verify(mWifiConfigManager).removeNetwork( in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccessOnSecondaryCmm() 2257 verify(mWifiConfigManager).removeNetwork( in testMetricsUpdateForConcurrentConnections()
|
D | WifiNetworkSuggestionsManagerTest.java | 419 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/ |
D | DnsManagerTest.java | 298 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/ |
D | LruConnectionTrackerTest.java | 59 mList.removeNetwork(network); in testAddRemoveNetwork()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeTest.java | 229 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/ |
D | OsuNetworkConnection.java | 142 mWifiManager.removeNetwork(mNetworkId); in disconnectIfNeeded()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 92 boolean removeNetwork(int netId, String packageName); in removeNetwork() method
|
D | WifiManager.java | 2438 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/ |
D | WifiP2pNative.java | 313 return mSupplicantP2pIfaceHal.removeNetwork(netId); in removeP2pNetwork()
|
D | SupplicantP2pIfaceHal.java | 2020 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/ |
D | DnsManager.java | 278 public void removeNetwork(Network network) { in removeNetwork() method in DnsManager
|