Home
last modified time | relevance | path

Searched refs:requestNetwork (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt290 private fun requestNetwork(request: NetworkRequest, callback: TestableNetworkCallback) { in requestNetwork() method
291 mCM.requestNetwork(request, callback) in requestNetwork()
331 requestNetwork(request, callback) in createConnectedNetworkAgent()
500 requestNetwork(request1, callback1) in testSendScore()
501 requestNetwork(request2, callback2) in testSendScore()
509 requestNetwork(request, callback) in testSendScore()
608 requestNetwork(request1, callback1) in testTemporarilyUnmeteredCapability()
616 requestNetwork(request, callback) in testTemporarilyUnmeteredCapability()
DConnectivityManagerTest.java575 mCm.requestNetwork(new NetworkRequest.Builder() in testRequestNetworkCallback()
604 mCm.requestNetwork(new NetworkRequest.Builder() in testRequestNetworkCallback_onUnavailable()
640 mCm.requestNetwork(request, callback); in testRestrictedNetworks()
646 mCm.requestNetwork(request, callback); in testRestrictedNetworks()
DConnectivityDiagnosticsManagerTest.java152 mConnectivityManager.requestNetwork(TEST_NETWORK_REQUEST, mTestNetworkCallback); in setUp()
252 () -> mConnectivityManager.requestNetwork( in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable()
DCaptivePortalTest.kt161 cm.requestNetwork(NetworkRequest.Builder().addTransportType(TRANSPORT_WIFI).build(), wifiCb) in testCaptivePortalIsNotDefaultNetwork()
DCaptivePortalApiTest.kt116 cm.requestNetwork(ethRequest, ethRequestCb) in setUp()
DIkev2VpnTest.java427 sCM.requestNetwork(nr, cb); in checkStartStopVpnProfileBuildsNetworks()
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DTestNetworkUtils.java79 connMgr.requestNetwork(nr, cb); in setupAndGetTestNetwork()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathInBandTestCase.java179 mCm.requestNetwork(nr, mNetworkCb, CALLBACK_TIMEOUT_SEC * 1000); in executeTestSubscriber()
369 mCm.requestNetwork(nr, mNetworkCb, CALLBACK_TIMEOUT_SEC * 1000); in executeTestPublisher()
DDataPathOutOfBandTestCase.java287 cm.requestNetwork(nr, networkCb, CALLBACK_TIMEOUT_SEC * 1000); in executeTestResponder()
428 cm.requestNetwork(nr, networkCb, CALLBACK_TIMEOUT_SEC * 1000); in executeTestInitiator()
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java138 mCm.requestNetwork(nr, cb); in setupAndGetTestNetwork()
354 mCm.requestNetwork(cellRequest, mCellNetworkCallback); in connectToCell()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java621 mConnectivityManager.requestNetwork(networkRequest, mWifiNetworkCallback, in legacyConnectToWifiNetwork()
639 mConnectivityManager.requestNetwork(networkRequest, mWifiNetworkCallback, in connectToWifiNetworkWithNoInternet()
650 mConnectivityManager.requestNetwork(networkRequest, mCellularNetworkCallback, in connectToCellularNetwork()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkRequestTestCase.java148 mConnectivityManager.requestNetwork(mNetworkRequest, mNetworkCallback, in executeTest()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java735 mConnectivityManager.requestNetwork(nr, networkCb); in testDataPathOpenOutOfBandFail()
768 mConnectivityManager.requestNetwork(nr, networkCb); in testDataPathPassphraseOutOfBandFail()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java331 mCm.requestNetwork(new NetworkRequest.Builder() in shouldTestThisNetworkType()