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

/frameworks/base/packages/Osu2/src/com/android/osu/
H A DNetworkConnection.java113 mWifiManager.removeNetwork(mNetworkId);
/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/core/java/android/os/
H A DINetworkManagementService.aidl411 void removeNetwork(int netId);
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl81 boolean removeNetwork(int netId);
H A DWifiManager.java1230 public boolean removeNetwork(int netId) { method in class:WifiManager
1232 return mService.removeNetwork(netId);
1701 * and {@link #removeNetwork(int)} already persist the configurations automatically.
2906 * This function is used instead of a sequence of removeNetwork()
/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 DWifiConfigManagerTest.java448 * {@link WifiConfigManager#removeNetwork(int)}
469 * {@link WifiConfigManager#removeNetwork(int)}
489 * {@link WifiConfigManager#removeNetwork(int)}
521 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Process.WIFI_UID));
534 * {@link WifiConfigManager#removeNetwork(int)}
837 * This invokes {@link WifiConfigManager#removeNetwork(int)}.
842 assertFalse(mWifiConfigManager.removeNetwork(networkId, TEST_CREATOR_UID));
848 * This invokes {@link WifiConfigManager#removeNetwork(int)}.
858 assertFalse(mWifiConfigManager.removeNetwork(openNetwork.networkId, TEST_CREATOR_UID));
2662 * {@link WifiConfigManager#removeNetwork(in
[all...]
H A DWifiStateMachineTest.java797 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true);
803 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt());
825 when(mWifiConfigManager.removeNetwork(eq(0), anyInt())).thenReturn(true);
828 verify(mWifiConfigManager).removeNetwork(anyInt(), anyInt());
1855 when(mWifiConfigManager.removeNetwork(eq(FRAMEWORK_NETWORK_ID), anyInt()))
1859 verify(mWifiConfigManager).removeNetwork(eq(FRAMEWORK_NETWORK_ID), anyInt());
H A DWifiServiceImplTest.java303 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.java1705 public boolean removeNetwork(int networkId) { method in class:SupplicantP2pIfaceHal
1707 if (!checkSupplicantP2pIfaceAndLogFailure("removeNetwork")) return false;
1710 "removeNetwork(" + networkId + ")");
1712 result.setResult(mISupplicantP2pIface.removeNetwork(networkId));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigManager.java79 * > removeNetwork()
1141 public boolean removeNetwork(int networkId, int uid) { method in class:WifiConfigManager
1193 if (removeNetwork(config.networkId, mSystemUiUid)) {
1217 if (removeNetwork(config.networkId, mSystemUiUid)) {
1240 removeNetwork(config.networkId, mSystemUiUid);
1244 removeNetwork(config.networkId, mSystemUiUid);
H A DSupplicantStaIfaceHal.java542 removeNetwork(duplicateConfig.networkId);
576 if (!removeNetwork(id)) {
736 private boolean removeNetwork(int id) { method in class:SupplicantStaIfaceHal
738 final String methodStr = "removeNetwork";
741 SupplicantStatus status = mISupplicantStaIface.removeNetwork(id);
H A DWifiServiceImpl.java1678 * See {@link android.net.wifi.WifiManager#removeNetwork(int)}
1684 public boolean removeNetwork(int netId) { method in class:WifiServiceImpl
1686 mLog.info("removeNetwork uid=%").c(Binder.getCallingUid()).flush();
2501 removeNetwork(config.networkId);
H A DWifiStateMachine.java7187 boolean success = mWifiConfigManager.removeNetwork(message.arg1, message.sendingUid);
7202 // Remaining calls are from the removeNetwork path
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java2523 public void removeNetwork(int netId) { method in class:NetworkManagementService
H A DConnectivityService.java2320 mNetd.removeNetwork(nai.network.netId);

Completed in 1469 milliseconds