Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt37 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, false) in testGetOemBitfield()
41 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, false) in testGetOemBitfield()
45 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, true) in testGetOemBitfield()
49 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, true) in testGetOemBitfield()
DNetworkTemplateTest.kt89 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, in buildMobileNetworkState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOemWifiNetworkFactoryTest.java133 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testOemPrivateHandleNetworkRequest()
152 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testHandleOemPrivateNetworkRelease()
175 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testHandleOemPaidAndOemPrivateNetworkRequestAndRelease()
DWifiShellCommandTest.java20 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
654 && (nR.hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testAddSuggestionWithOemPrivate()
DWifiScoreReportTest.java1620 .addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE) in testClientNotNotifiedForOemPrivateConnection()
DClientModeImplTest.java5844 assertTrue(cap.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivateNetworkCapability()
5858 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()
DWifiShellCommand.java21 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
724 networkRequestBuilder.addCapability(NET_CAPABILITY_OEM_PRIVATE); in onCommand()
DWifiScoreReport.java877 || nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in isLocalOnlyOrRestrictedConnection()
DWifiInjector.java122 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in makeOemNetworkCapatibilitiesFilter()
DClientModeImpl.java3932 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE);
3935 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE);
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java34 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
426 assertFalse(nc.hasForbiddenCapability(NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivate()
427 assertFalse(nc.hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivate()
432 nc.addCapability(NET_CAPABILITY_OEM_PRIVATE); in testOemPrivate()
435 assertTrue(nc.hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivate()
440 nr.addCapability(NET_CAPABILITY_OEM_PRIVATE); in testOemPrivate()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java19 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
245 : NET_CAPABILITY_OEM_PRIVATE) in sendNetworkRequest()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java105 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in scanAndPrintOemNetworksIfExist()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java259 NET_CAPABILITY_OEM_PRIVATE,
450 public static final int NET_CAPABILITY_OEM_PRIVATE = 26; field in NetworkCapabilities
2134 case NET_CAPABILITY_OEM_PRIVATE: return "OEM_PRIVATE"; in capabilityNameOf()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java777 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE})};
792 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE,
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt287 field public static final int NET_CAPABILITY_OEM_PRIVATE = 26; // 0x1a
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java72 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
10309 .addCapability(NET_CAPABILITY_OEM_PRIVATE) in createOemPrivateNetworkRequest()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java93 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;
11214 assertTrue(mRequests.get(0).hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testOemNetworkRequestFactoryPreferenceOemPrivateOnly()
11453 isOemPaid ? NET_CAPABILITY_OEM_PAID : NET_CAPABILITY_OEM_PRIVATE); in startOemManagedNetwork()