Home
last modified time | relevance | path

Searched refs:NET_CAPABILITY_WIFI_P2P (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java37 import static android.net.NetworkCapabilities.NET_CAPABILITY_WIFI_P2P;
126 (1L << NET_CAPABILITY_WIFI_P2P);
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java30 import static android.net.NetworkCapabilities.NET_CAPABILITY_WIFI_P2P;
215 NET_CAPABILITY_TRUSTED, NET_CAPABILITY_WIFI_P2P); in testNetworkCapabilitiesForTypeWifiP2p()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java434 NET_CAPABILITY_WIFI_P2P,
509 public static final int NET_CAPABILITY_WIFI_P2P = 6; field in NetworkCapabilities
2607 case NET_CAPABILITY_WIFI_P2P: return "WIFI_P2P"; in capabilityNameOf()
DConnectivityManager.java2207 if (netCap.hasCapability(NetworkCapabilities.NET_CAPABILITY_WIFI_P2P)) { in legacyTypeForNetworkCapabilities()
2337 sLegacyTypeToCapability.put(TYPE_WIFI_P2P, NetworkCapabilities.NET_CAPABILITY_WIFI_P2P); in sLegacyTypeToCapability.put() argument
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java45 import static android.net.NetworkCapabilities.NET_CAPABILITY_WIFI_P2P;
540 request.addForbiddenCapability(NET_CAPABILITY_WIFI_P2P); in testForbiddenCapabilities()
543 assertArrayEquals(new int[]{NET_CAPABILITY_WIFI_P2P, in testForbiddenCapabilities()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java355 case NetworkCapabilities.NET_CAPABILITY_WIFI_P2P: in networkCapabilityToString()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java279 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_WIFI_P2P, "[WIFI P2P]"); in sCapabilityNames.put() argument
/packages/modules/Connectivity/framework/api/
Dcurrent.txt354 field public static final int NET_CAPABILITY_WIFI_P2P = 6; // 0x6
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt686 Landroid/net/NetworkCapabilitiesProto;->NET_CAPABILITY_WIFI_P2P:I
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java128 import static android.net.NetworkCapabilities.NET_CAPABILITY_WIFI_P2P;
4365 tryNetworkFactoryRequests(NET_CAPABILITY_WIFI_P2P);