Home
last modified time | relevance | path

Searched refs:getNetworkCapabilities (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsRadioPowerStateTest.java69 final NetworkCapabilities activeNc = mCm.getNetworkCapabilities(mCm.getActiveNetwork()); in testReportMobileRadioPowerState()
98 final NetworkCapabilities activeNc = mCm.getNetworkCapabilities(mCm.getActiveNetwork()); in testReportWifiRadioPowerState()
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DTestNetworkWrapper.java138 context, Looper.getMainLooper(), policy.getNetworkCapabilities(), lp); in TestNetworkWrapper()
318 private NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in TestNetworkWrapper.TestNetworkAgent
339 mTestNetworkAgent.getNetworkCapabilities(), in onPolicyChanged()
347 updateNetworkCapabilities(policy.getNetworkCapabilities()); in onPolicyChanged()
DVcnManagerTest.java535 if (mConnectivityManager.getNetworkCapabilities(vcnNetwork) != null) { in clearVcnConfigsAndVerifyNetworkTeardown()
546 assertNull(mConnectivityManager.getNetworkCapabilities(vcnNetwork)); in clearVcnConfigsAndVerifyNetworkTeardown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkSuggestionTestCase.java189 if (!mNetworkCallback.getNetworkCapabilities() in waitForNetworkToBeMetered()
194 + mNetworkCallback.getNetworkCapabilities()); in waitForNetworkToBeMetered()
395 if (!mNetworkCallback.getNetworkCapabilities() in executeTest()
398 + mNetworkCallback.getNetworkCapabilities()); in executeTest()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java574 .getNetworkCapabilities(params.getNetwork()); in testJobParametersNetwork()
826 if (mCm.getNetworkCapabilities(network) in checkDeviceSupportsMobileData()
956 final NetworkCapabilities networkCapabilities = cm.getNetworkCapabilities(network); in isWiFiConnected()
1079 mCm.getNetworkCapabilities(activeNetwork))) { in checkActiveNetwork()
1087 mCm.getNetworkCapabilities(activeNetwork))) { in checkActiveNetwork()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DCallbackUtils.java92 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in CallbackUtils.NetworkCallback
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSignalStrengthTest.java152 cm.getNetworkCapabilities(activeNetwork) in assertDeviceIsOnCellDataOrNoData()
DSubscriptionManagerTest.java309 assertTrue(cm.getNetworkCapabilities(net).hasCapability(NET_CAPABILITY_NOT_CONGESTED));
372 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansOverrideUnmetered()
414 assertFalse(cm.getNetworkCapabilities(net).hasCapability( in testSubscriptionPlansUnmetered()
1138 final NetworkCapabilities caps = cm.getNetworkCapabilities(net); in findCellularNetwork()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java179 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java379 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet()
763 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isExpectedTransportForActiveNetwork()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DTestHelper.java775 mConnectivityManager.getNetworkCapabilities(n).hasTransport(TRANSPORT_WIFI)) in getNumWifiConnections()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java311 metered = !mCm.getNetworkCapabilities(network) in onAvailable()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java1132 NetworkCapabilities caps = connManager.getNetworkCapabilities(network); in isWifiConnected()