Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_OEM_PRIVATE (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt66 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, false) in <lambda>()
70 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, false) in <lambda>()
74 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, true) in <lambda>()
78 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, true) in <lambda>()
119 addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE) in <lambda>()
DNetworkTemplateTest.kt100 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, in buildMobileNetworkState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOemWifiNetworkFactoryTest.java134 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testOemPrivateHandleNetworkRequest()
153 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testHandleOemPrivateNetworkRelease()
176 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testHandleOemPaidAndOemPrivateNetworkRequestAndRelease()
DWifiShellCommandTest.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
683 && (nR.hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testAddSuggestionWithOemPrivate()
DWifiScoreReportTest.java1857 .addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE) in testClientNotNotifiedForOemPrivateConnection()
DClientModeImplTest.java8110 assertTrue(cap.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivateNetworkCapability()
8124 assertFalse(cap.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)); in testNotOemPrivateNetworkCapability()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DOemWifiNetworkFactory.java59 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in needNetworkFor()
81 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in releaseNetworkFor()
DWifiScoreReport.java1054 || nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in isLocalOnlyOrRestrictedConnection()
DWifiInjector.java137 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in makeOemNetworkCapatibilitiesFilter()
DWifiShellCommand.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
1146 networkRequestBuilder.addCapability(NET_CAPABILITY_OEM_PRIVATE); in onCommand()
DClientModeImpl.java5216 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in getCapabilities()
5219 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in getCapabilities()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java32 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
115 (1L << NET_CAPABILITY_OEM_PRIVATE);
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
243 : NET_CAPABILITY_OEM_PRIVATE) in sendNetworkRequest()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java37 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
509 assertFalse(nc.hasForbiddenCapability(NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivate()
510 assertFalse(nc.hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivate()
515 nc.addCapability(NET_CAPABILITY_OEM_PRIVATE); in testOemPrivate()
518 assertTrue(nc.hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivate()
523 nr.addCapability(NET_CAPABILITY_OEM_PRIVATE); in testOemPrivate()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java99 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in scanAndPrintOemNetworksIfExist()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java454 NET_CAPABILITY_OEM_PRIVATE,
650 public static final int NET_CAPABILITY_OEM_PRIVATE = 26; field in NetworkCapabilities
2627 case NET_CAPABILITY_OEM_PRIVATE: return "OEM_PRIVATE"; in capabilityNameOf()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java314 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in getOemBitfield()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java395 case NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE: in networkCapabilityToString()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java1174 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE})}; in testMobileStatsOemManaged()
1189 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, in testMobileStatsOemManaged()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt317 field public static final int NET_CAPABILITY_OEM_PRIVATE = 26; // 0x1a
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java89 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
13815 .addCapability(NET_CAPABILITY_OEM_PRIVATE)
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java120 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
14147 assertTrue(mRequests.get(0).hasCapability(NET_CAPABILITY_OEM_PRIVATE));
14386 isOemPaid ? NET_CAPABILITY_OEM_PAID : NET_CAPABILITY_OEM_PRIVATE);