/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 190 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/ |
D | WifiClientTest.java | 135 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/ |
D | SupplicantStaIfaceHalTest.java | 496 }).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()
|
D | WifiConfigManagerTest.java | 493 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 …]
|
D | ClientModeImplTest.java | 687 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()
|
D | WifiNetworkFactoryTest.java | 1618 verify(mWifiConfigManager).removeNetwork(TEST_NETWORK_ID_1, TEST_UID_1); in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
|
D | WifiServiceImplTest.java | 463 assertFalse(mWifiServiceImpl.removeNetwork(-1, TEST_PACKAGE_NAME)); in testRemoveNetworkUnknown()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 141 mWifiManager.removeNetwork(mNetworkId); in disconnectIfNeeded()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 88 boolean removeNetwork(int netId, String packageName); in removeNetwork() method
|
D | WifiManager.java | 1890 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/ |
D | WifiConfigManager.java | 1321 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()
|
D | SupplicantStaIfaceHal.java | 981 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()
|
D | WifiNetworkFactory.java | 738 mWifiConfigManager.removeNetwork(wcmNetwork.networkId, wcmNetwork.creatorUid); in disconnectAndRemoveNetworkFromWifiConfigManager()
|
D | WifiServiceImpl.java | 2147 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in WifiServiceImpl 2998 removeNetwork(config.networkId, packageName); in factoryReset()
|
D | ClientModeImpl.java | 6249 boolean success = mWifiConfigManager.removeNetwork(message.arg1, message.sendingUid); in deleteNetworkConfigAndSendReply()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 284 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/ |
D | WifiP2pNativeTest.java | 211 when(mSupplicantP2pIfaceHalMock.removeNetwork(anyInt())).thenReturn(true); in testP2pRemoveNetwork() 213 verify(mSupplicantP2pIfaceHalMock).removeNetwork(eq(1)); in testP2pRemoveNetwork()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 152 public boolean removeNetwork(int netId, String packageName) { in removeNetwork() method in BaseWifiService
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 339 return mSupplicantP2pIfaceHal.removeNetwork(netId); in removeP2pNetwork()
|
D | SupplicantP2pIfaceHal.java | 1909 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/ |
D | DnsManager.java | 272 public void removeNetwork(Network network) { in removeNetwork() method in DnsManager
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 3382 mDnsManager.removeNetwork(nai.network); in disconnectAndDestroyNetwork()
|
/frameworks/base/services/ |
D | art-profile | 1461 PLcom/android/server/NetworkManagementService;->removeNetwork(I)V 5379 PLcom/android/server/connectivity/DnsManager;->removeNetwork(Landroid/net/Network;)V
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 46405 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/ |
D | android-22.txt | 18055 method public boolean removeNetwork(int);
|