Searched refs:getNetwork (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java240 Network n = mWiFiNetworkAgent.getNetwork();
259 Network n = mWiFiNetworkAgent.getNetwork();
408 if (network.equals(getNetwork()) &&
445 public Network getNetwork() { method in class:ConnectivityServiceTest.MockNetworkAgent
831 assertEquals(mCm.getActiveNetwork(), mWiFiNetworkAgent.getNetwork());
834 assertEquals(mCm.getActiveNetwork(), mCellNetworkAgent.getNetwork());
898 assertTrue(mCm.getAllNetworks()[0].equals(mWiFiNetworkAgent.getNetwork()) ||
899 mCm.getAllNetworks()[1].equals(mWiFiNetworkAgent.getNetwork()));
908 assertTrue(mCm.getAllNetworks()[0].equals(mCellNetworkAgent.getNetwork()) ||
909 mCm.getAllNetworks()[1].equals(mCellNetworkAgent.getNetwork()));
[all...]
/frameworks/base/core/java/android/net/
H A DIpSecConfig.java88 public Network getNetwork() { method in class:IpSecConfig
H A DIpSecTransform.java262 mConfig.getNetwork(),
/frameworks/base/services/core/java/com/android/server/
H A DIpSecService.java362 (c.getNetwork() != null)
363 ? c.getNetwork().getNetworkHandle()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceHalTest.java2313 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class));
2349 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class));
2356 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class));
2374 * Failure scenario for setClientList() when getNetwork returns null.
2389 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class));
2396 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class));
2420 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class));
2436 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class));
2442 * Failure scenario for getClientList() when getNetwork returns null.
2457 .getNetwork(anyIn
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceHal.java1749 private ISupplicantP2pNetwork getNetwork(int networkId) { method in class:SupplicantP2pIfaceHal
1751 if (!checkSupplicantP2pIfaceAndLogFailure("getNetwork")) return null;
1753 new SupplicantResult("getNetwork(" + networkId + ")");
1755 mISupplicantP2pIface.getNetwork(
1765 Log.e(TAG, "getNetwork got null network");
1786 ISupplicantP2pNetwork network = getNetwork(networkId);
2080 ISupplicantP2pNetwork network = getNetwork(networkId);
2113 ISupplicantP2pNetwork network = getNetwork(networkId);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DSupplicantStaIfaceHalTest.java249 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class));
315 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class));
362 * Tests the failure to load networks because of getNetwork failure.
379 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class));
404 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class));
436 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaIfaceHal.java478 SupplicantStaNetworkHal network = getNetwork(networkId);
717 private SupplicantStaNetworkHal getNetwork(int id) { method in class:SupplicantStaIfaceHal
719 final String methodStr = "getNetwork";
723 mISupplicantStaIface.getNetwork(id, (SupplicantStatus status,

Completed in 312 milliseconds