Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_OEM_PAID (Results 1 – 25 of 25) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetworkCapabilitiesUtilsTest.kt25 import android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID
83 nc.addCapability(NET_CAPABILITY_OEM_PAID) in testInferRestrictedCapability()
88 nc.removeCapability(NET_CAPABILITY_OEM_PAID) in testInferRestrictedCapability()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt65 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID, false) in <lambda>()
69 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID, true) in <lambda>()
73 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID, false) in <lambda>()
77 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID, true) in <lambda>()
DNetworkTemplateTest.kt98 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID, in buildMobileNetworkState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOemWifiNetworkFactoryTest.java94 NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in testOemPaidHandleNetworkRequest()
113 NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in testHandleOemPaidNetworkRelease()
174 NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in testHandleOemPaidAndOemPrivateNetworkRequestAndRelease()
DWifiShellCommandTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
648 && (nR.hasCapability(NET_CAPABILITY_OEM_PAID)); in testAddSuggestionWithOemPaid()
DWifiScoreReportTest.java1837 .addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID) in testClientNotNotifiedForOemPaidConnection()
DClientModeImplTest.java8070 assertTrue(cap.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)); in testOemPaidNetworkCapability()
8083 assertFalse(cap.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)); in testNotOemPaidNetworkCapability()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DOemWifiNetworkFactory.java51 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in needNetworkFor()
71 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in releaseNetworkFor()
DWifiScoreReport.java1053 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID) in isLocalOnlyOrRestrictedConnection()
DWifiInjector.java134 .addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in makeOemNetworkCapatibilitiesFilter()
DWifiShellCommand.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
1143 networkRequestBuilder.addCapability(NET_CAPABILITY_OEM_PAID); in onCommand()
DClientModeImpl.java5210 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in getCapabilities()
5213 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in getCapabilities()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DNetworkMonitorUtils.java23 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
74 final boolean isOemPaid = nc.hasCapability(NET_CAPABILITY_OEM_PAID) in isPrivateDnsValidationRequired()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java31 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
114 (1L << NET_CAPABILITY_OEM_PAID) |
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java36 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
456 assertFalse(nc.hasForbiddenCapability(NET_CAPABILITY_OEM_PAID)); in testOemPaid()
458 assertFalse(nc.hasCapability(NET_CAPABILITY_OEM_PAID)); in testOemPaid()
463 nc.addCapability(NET_CAPABILITY_OEM_PAID); in testOemPaid()
466 assertTrue(nc.hasCapability(NET_CAPABILITY_OEM_PAID)); in testOemPaid()
471 nr.addCapability(NET_CAPABILITY_OEM_PAID); in testOemPaid()
1460 .addCapability(NET_CAPABILITY_OEM_PAID) in testDescribeCapsDifferences()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java18 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
242 ? NET_CAPABILITY_OEM_PAID in sendNetworkRequest()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java96 if (netCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in scanAndPrintOemNetworksIfExist()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java450 NET_CAPABILITY_OEM_PAID,
618 public static final int NET_CAPABILITY_OEM_PAID = 22; field in NetworkCapabilities
2623 case NET_CAPABILITY_OEM_PAID: return "OEM_PAID"; in capabilityNameOf()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java311 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in getOemBitfield()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java387 case NetworkCapabilities.NET_CAPABILITY_OEM_PAID: in networkCapabilityToString()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java1159 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PAID})}; in testMobileStatsOemManaged()
1190 NetworkCapabilities.NET_CAPABILITY_OEM_PAID})}; in testMobileStatsOemManaged()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt316 field public static final int NET_CAPABILITY_OEM_PAID = 22; // 0x16
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java39 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
377 .addCapability(NET_CAPABILITY_OEM_PAID)
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java119 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
14069 assertTrue(mRequests.get(1).hasCapability(NET_CAPABILITY_OEM_PAID));
14099 assertTrue(mRequests.get(1).hasCapability(NET_CAPABILITY_OEM_PAID));
14123 assertTrue(mRequests.get(0).hasCapability(NET_CAPABILITY_OEM_PAID));
14148 assertFalse(mRequests.get(0).hasCapability(NET_CAPABILITY_OEM_PAID));
14386 isOemPaid ? NET_CAPABILITY_OEM_PAID : NET_CAPABILITY_OEM_PRIVATE);
14647 mEthernetAgent.addCapability(NET_CAPABILITY_OEM_PAID);
15433 .addCapability(NET_CAPABILITY_OEM_PAID)
15456 oemPaidNc.addCapability(NET_CAPABILITY_OEM_PAID);
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java88 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID;
13807 .addCapability(NET_CAPABILITY_OEM_PAID)