Searched refs:getNetworkCapabilities (Results 1 – 13 of 13) sorted by relevance
69 final NetworkCapabilities activeNc = mCm.getNetworkCapabilities(mCm.getActiveNetwork()); in testReportMobileRadioPowerState()98 final NetworkCapabilities activeNc = mCm.getNetworkCapabilities(mCm.getActiveNetwork()); in testReportWifiRadioPowerState()
138 context, Looper.getMainLooper(), policy.getNetworkCapabilities(), lp); in TestNetworkWrapper()318 private NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in TestNetworkWrapper.TestNetworkAgent339 mTestNetworkAgent.getNetworkCapabilities(), in onPolicyChanged()347 updateNetworkCapabilities(policy.getNetworkCapabilities()); in onPolicyChanged()
535 if (mConnectivityManager.getNetworkCapabilities(vcnNetwork) != null) { in clearVcnConfigsAndVerifyNetworkTeardown()546 assertNull(mConnectivityManager.getNetworkCapabilities(vcnNetwork)); in clearVcnConfigsAndVerifyNetworkTeardown()
189 if (!mNetworkCallback.getNetworkCapabilities() in waitForNetworkToBeMetered()194 + mNetworkCallback.getNetworkCapabilities()); in waitForNetworkToBeMetered()395 if (!mNetworkCallback.getNetworkCapabilities() in executeTest()398 + mNetworkCallback.getNetworkCapabilities()); in executeTest()
574 .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()
92 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in CallbackUtils.NetworkCallback
152 cm.getNetworkCapabilities(activeNetwork) in assertDeviceIsOnCellDataOrNoData()
309 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()
179 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
379 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet()763 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isExpectedTransportForActiveNetwork()
775 mConnectivityManager.getNetworkCapabilities(n).hasTransport(TRANSPORT_WIFI)) in getNumWifiConnections()
311 metered = !mCm.getNetworkCapabilities(network) in onAvailable()
1132 NetworkCapabilities caps = connManager.getNetworkCapabilities(network); in isWifiConnected()