Home
last modified time | relevance | path

Searched refs:getNetwork (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java327 Network n = mWiFiNetworkAgent.getNetwork(); in testWaitForIdle()
347 Network n = mWiFiNetworkAgent.getNetwork(); in verifyThatNotWaitingForIdleCausesRaceConditions()
526 if (network.equals(getNetwork()) && in connect()
570 public Network getNetwork() { in getNetwork() method in ConnectivityServiceTest.MockNetworkAgent
783 return mMockNetworkAgent.getNetwork().netId; in getNetId()
1099 assertEquals(mCm.getActiveNetwork(), mWiFiNetworkAgent.getNetwork()); in verifyActiveNetwork()
1102 assertEquals(mCm.getActiveNetwork(), mCellNetworkAgent.getNetwork()); in verifyActiveNetwork()
1176 assertTrue(mCm.getAllNetworks()[0].equals(mWiFiNetworkAgent.getNetwork()) || in testLingering()
1177 mCm.getAllNetworks()[1].equals(mWiFiNetworkAgent.getNetwork())); in testLingering()
1186 assertTrue(mCm.getAllNetworks()[0].equals(mCellNetworkAgent.getNetwork()) || in testLingering()
[all …]
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobServiceTest.java246 when(mockParams.getNetwork()).thenReturn(mockNetwork); in testStartJob_passesNetwork()
297 sNetwork = getNetwork(); in doWork()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DWorker.java146 public final @Nullable Network getNetwork() { in getNetwork() method in Worker
/frameworks/base/tests/net/java/android/net/
DIpSecConfigTest.java42 assertNull(c.getNetwork()); in testDefaults()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobService.java102 runtimeExtras.network = params.getNetwork(); in onStartJob()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2394 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testLoadGroups()
2430 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testSetClientList()
2437 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testSetClientList()
2470 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testSetClientListFailureDueToGetNetwork()
2477 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testSetClientListFailureDueToGetNetwork()
2501 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testGetClientList()
2517 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testGetClientList()
2538 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testGetClientListFailureDueToGetNetwork()
2553 .getNetwork(anyInt(), any(ISupplicantP2pIface.getNetworkCallback.class)); in testGetClientListFailureDueToGetNetwork()
/frameworks/base/core/java/android/app/job/
DJobParameters.java204 public @Nullable Network getNetwork() { in getNetwork() method in JobParameters
/frameworks/base/core/java/android/net/
DIpSecConfig.java165 public Network getNetwork() { in getNetwork() method in IpSecConfig
DIpSecTransform.java314 mConfig.getNetwork(), intervalSeconds, mKeepaliveCallback, in startNattKeepalive()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java1883 private ISupplicantP2pNetwork getNetwork(int networkId) { in getNetwork() method in SupplicantP2pIfaceHal
1889 mISupplicantP2pIface.getNetwork( in getNetwork()
1920 ISupplicantP2pNetwork network = getNetwork(networkId); in loadGroups()
2214 ISupplicantP2pNetwork network = getNetwork(networkId); in setClientList()
2247 ISupplicantP2pNetwork network = getNetwork(networkId); in getClientList()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java390 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class)); in testLoadNetworks()
456 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class)); in testLoadNetworksRemovesDuplicates()
520 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class)); in testLoadNetworksFailedDueToGetNetwork()
545 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class)); in testLoadNetworksFailedDueToLoadWifiConfiguration()
577 .getNetwork(anyInt(), any(ISupplicantStaIface.getNetworkCallback.class)); in testLoadNetworksFailedDueToExceptionInLoadWifiConfiguration()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1528 (c.getNetwork() != null) ? c.getNetwork().netId : 0, in createOrUpdateTransform()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java763 SupplicantStaNetworkHal network = getNetwork(ifaceName, networkId); in loadNetworks()
1071 private SupplicantStaNetworkHal getNetwork(@NonNull String ifaceName, int id) { in getNetwork() method in SupplicantStaIfaceHal
1078 iface.getNetwork(id, (SupplicantStatus status, ISupplicantNetwork network) -> { in getNetwork()
/frameworks/base/config/
Dhiddenapi-public-dex.txt3225 Landroid/app/job/JobParameters;->getNetwork()Landroid/net/Network;
/frameworks/base/api/
Dcurrent.txt7151 method public android.net.Network getNetwork();