Searched refs:NET_CAPABILITY_OEM_PRIVATE (Results 1 – 19 of 19) sorted by relevance
37 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()
89 setCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE, in buildMobileNetworkState()
133 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testOemPrivateHandleNetworkRequest()152 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testHandleOemPrivateNetworkRelease()175 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in testHandleOemPaidAndOemPrivateNetworkRequestAndRelease()
20 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;654 && (nR.hasCapability(NET_CAPABILITY_OEM_PRIVATE)); in testAddSuggestionWithOemPrivate()
1620 .addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE) in testClientNotNotifiedForOemPrivateConnection()
5844 assertTrue(cap.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)); in testOemPrivateNetworkCapability()5858 assertFalse(cap.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)); in testNotOemPrivateNetworkCapability()
59 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in needNetworkFor()81 if (networkRequest.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in releaseNetworkFor()
21 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;724 networkRequestBuilder.addCapability(NET_CAPABILITY_OEM_PRIVATE); in onCommand()
877 || nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in isLocalOnlyOrRestrictedConnection()
122 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE); in makeOemNetworkCapatibilitiesFilter()
3932 builder.addCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE);3935 builder.removeCapability(NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE);
34 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()
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;245 : NET_CAPABILITY_OEM_PRIVATE) in sendNetworkRequest()
105 NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE)) { in scanAndPrintOemNetworksIfExist()
259 NET_CAPABILITY_OEM_PRIVATE,450 public static final int NET_CAPABILITY_OEM_PRIVATE = 26; field in NetworkCapabilities2134 case NET_CAPABILITY_OEM_PRIVATE: return "OEM_PRIVATE"; in capabilityNameOf()
777 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE})};792 new int[]{NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE,
287 field public static final int NET_CAPABILITY_OEM_PRIVATE = 26; // 0x1a
72 import static android.net.NetworkCapabilities.NET_CAPABILITY_OEM_PRIVATE;10309 .addCapability(NET_CAPABILITY_OEM_PRIVATE) in createOemPrivateNetworkRequest()
93 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()