/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | NetworkCapabilitiesUtilsTest.kt | 25 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/ |
D | NetworkIdentityTest.kt | 65 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>()
|
D | NetworkTemplateTest.kt | 98 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID, in buildMobileNetworkState()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | OemWifiNetworkFactoryTest.java | 94 NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in testOemPaidHandleNetworkRequest() 113 NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in testHandleOemPaidNetworkRelease() 174 NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in testHandleOemPaidAndOemPrivateNetworkRequestAndRelease()
|
D | WifiShellCommandTest.java | 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID; 648 && (nR.hasCapability(NET_CAPABILITY_OEM_PAID)); in testAddSuggestionWithOemPaid()
|
D | WifiScoreReportTest.java | 1837 .addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID) in testClientNotNotifiedForOemPaidConnection()
|
D | ClientModeImplTest.java | 8070 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/ |
D | OemWifiNetworkFactory.java | 51 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in needNetworkFor() 71 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in releaseNetworkFor()
|
D | WifiScoreReport.java | 1053 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID) in isLocalOnlyOrRestrictedConnection()
|
D | WifiInjector.java | 134 .addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID); in makeOemNetworkCapatibilitiesFilter()
|
D | WifiShellCommand.java | 20 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID; 1143 networkRequestBuilder.addCapability(NET_CAPABILITY_OEM_PAID); in onCommand()
|
D | ClientModeImpl.java | 5210 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/ |
D | NetworkMonitorUtils.java | 23 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/ |
D | NetworkCapabilitiesUtils.java | 31 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID; 114 (1L << NET_CAPABILITY_OEM_PAID) |
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 36 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/ |
D | ManagerFragment.java | 18 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/ |
D | MetricDisplay.java | 96 if (netCapabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in scanAndPrintOemNetworksIfExist()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 450 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/ |
D | NetworkIdentity.java | 311 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PAID)) { in getOemBitfield()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsUtils.java | 387 case NetworkCapabilities.NET_CAPABILITY_OEM_PAID: in networkCapabilityToString()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1159 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PAID})}; in testMobileStatsOemManaged() 1190 NetworkCapabilities.NET_CAPABILITY_OEM_PAID})}; in testMobileStatsOemManaged()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 316 field public static final int NET_CAPABILITY_OEM_PAID = 22; // 0x16
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 39 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID; 377 .addCapability(NET_CAPABILITY_OEM_PAID)
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 119 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/ |
D | ConnectivityService.java | 88 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PAID; 13807 .addCapability(NET_CAPABILITY_OEM_PAID)
|