Searched refs:removeNetwork (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java135 boolean ret = mWifiManager.removeNetwork(netId);
230 boolean ret = mWifiManager.removeNetwork(netId);
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl78 boolean removeNetwork(int netId);
H A DWifiManager.java1198 public boolean removeNetwork(int netId) { method in class:WifiManager
1200 return mService.removeNetwork(netId);
1658 * and {@link #removeNetwork(int)} already persist the configurations automatically.
2843 * This function is used instead of a sequence of removeNetwork()
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl379 void removeNetwork(int netId);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DSupplicantStaIfaceHalTest.java288 }).when(mISupplicantStaIfaceMock).removeNetwork(eq(toRemoveNetworkId));
472 verify(mISupplicantStaIfaceMock).removeNetwork(SUPPLICANT_NETWORK_ID);
486 verify(mISupplicantStaIfaceMock, never()).removeNetwork(anyInt());
523 verify(mISupplicantStaIfaceMock, times(2)).removeNetwork(anyInt());
541 verify(mISupplicantStaIfaceMock, times(2)).removeNetwork(anyInt());
609 }).when(mISupplicantStaIfaceMock).removeNetwork(anyInt());
612 verify(mISupplicantStaIfaceMock, times(NETWORK_ID_TO_SSID.size())).removeNetwork(anyInt());
1492 }).when(mISupplicantStaIfaceMock).removeNetwork(eq(existingNetworkId));
1511 verify(mISupplicantStaIfaceMock).removeNetwork(anyInt());
H A DWifiStateMachineTest.java732 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true);
746 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true);
752 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt());
760 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true);
764 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt());
772 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true);
775 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt());
H A DWifiConfigManagerTest.java451 * {@link WifiConfigManager#removeNetwork(int)}
472 * {@link WifiConfigManager#removeNetwork(int)}
492 * {@link WifiConfigManager#removeNetwork(int)}
524 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Process.WIFI_UID));
537 * {@link WifiConfigManager#removeNetwork(int)}
840 * This invokes {@link WifiConfigManager#removeNetwork(int)}.
845 assertFalse(mWifiConfigManager.removeNetwork(networkId, TEST_CREATOR_UID));
851 * This invokes {@link WifiConfigManager#removeNetwork(int)}.
861 assertFalse(mWifiConfigManager.removeNetwork(openNetwork.networkId, TEST_CREATOR_UID));
2567 * {@link WifiConfigManager#removeNetwork(in
[all...]
H A DWifiServiceImplTest.java278 assertFalse(mWifiServiceImpl.removeNetwork(-1));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pNative.java138 return mSupplicantP2pIfaceHal.removeNetwork(netId);
H A DSupplicantP2pIfaceHal.java1704 public boolean removeNetwork(int networkId) { method in class:SupplicantP2pIfaceHal
1706 if (!checkSupplicantP2pIfaceAndLogFailure("removeNetwork")) return false;
1709 "removeNetwork(" + networkId + ")");
1711 result.setResult(mISupplicantP2pIface.removeNetwork(networkId));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaIfaceHal.java506 removeNetwork(duplicateConfig.networkId);
539 if (!removeNetwork(id)) {
681 private boolean removeNetwork(int id) { method in class:SupplicantStaIfaceHal
683 final String methodStr = "removeNetwork";
686 SupplicantStatus status = mISupplicantStaIface.removeNetwork(id);
H A DWifiConfigManager.java81 * > removeNetwork()
1107 public boolean removeNetwork(int networkId, int uid) { method in class:WifiConfigManager
1159 if (removeNetwork(config.networkId, mSystemUiUid)) {
1183 if (removeNetwork(config.networkId, mSystemUiUid)) {
H A DWifiServiceImpl.java1609 * See {@link android.net.wifi.WifiManager#removeNetwork(int)}
1615 public boolean removeNetwork(int netId) { method in class:WifiServiceImpl
1617 mLog.trace("removeNetwork uid=%").c(Binder.getCallingUid()).flush();
2429 removeNetwork(config.networkId);
H A DWifiStateMachine.java4662 mWifiConfigManager.removeNetwork(mLastNetworkId, Process.WIFI_UID);
6927 boolean success = mWifiConfigManager.removeNetwork(message.arg1, message.sendingUid);
6942 // Remaining calls are from the removeNetwork path
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java2433 public void removeNetwork(int netId) { method in class:NetworkManagementService
H A DConnectivityService.java2319 mNetd.removeNetwork(nai.network.netId);

Completed in 371 milliseconds