Home
last modified time | relevance | path

Searched defs:netCap (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java107 NetworkCapabilities netCap = new NetworkCapabilities(); in testMaybeMarkCapabilitiesRestricted() local
230 final NetworkCapabilities netCap = new NetworkCapabilities(); in testSetUids() local
311 final NetworkCapabilities netCap = new NetworkCapabilities() in testParcelNetworkCapabilities() local
330 final NetworkCapabilities netCap = new NetworkCapabilities() in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName() local
368 final NetworkCapabilities netCap = createNetworkCapabilitiesWithTransportInfo(); in testNetworkCapabilitiesCopyWithNoRedactions() local
382 final NetworkCapabilities netCap = createNetworkCapabilitiesWithTransportInfo(); in testNetworkCapabilitiesCopyWithoutLocationSensitiveFields() local
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java83 final NetworkCapabilities netCap = in createDualStackUpstream() local
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java1622 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature); in startUsingNetworkFeature() local
1679 NetworkCapabilities netCap = networkCapabilitiesForFeature(networkType, feature); in stopUsingNetworkFeature() local
1720 private int legacyTypeForNetworkCapabilities(NetworkCapabilities netCap) { in legacyTypeForNetworkCapabilities()
1782 private NetworkRequest findRequestForFeature(NetworkCapabilities netCap) { in findRequestForFeature()
1796 private void expireRequest(NetworkCapabilities netCap, int sequenceNum) { in expireRequest()
1808 private NetworkRequest requestNetworkForFeatureLocked(NetworkCapabilities netCap) { in requestNetworkForFeatureLocked()
1828 private void sendExpireMsgForFeature(NetworkCapabilities netCap, int seqNum, int delay) { in sendExpireMsgForFeature()
1838 private boolean removeRequestForFeature(NetworkCapabilities netCap) { in removeRequestForFeature()
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/
DTetheringManagerTest.java455 final NetworkCapabilities netCap = mCm.getNetworkCapabilities(network); in testTetheringUpstream() local
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java646 private static boolean hasCapability(UpstreamNetworkState ns, int netCap) { in hasCapability()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1496 final NetworkCapabilities netCap = new NetworkCapabilities(); in createDefaultNetworkCapabilitiesForUidRange() local
1511 final NetworkCapabilities netCap = new NetworkCapabilities(); in createDefaultInternetRequestForTransport() local
1522 NetworkRequest.Type type, NetworkCapabilities netCap) { in createNetworkRequest()
1528 final NetworkCapabilities netCap = new NetworkCapabilities(); in createAlwaysOnRequestForCapability() local
6574 final NetworkCapabilities netCap = new NetworkCapabilities(netCapToCopy); in copyDefaultNetworkCapabilitiesForUid() local
7721 final NetworkCapabilities netCap = in callCallbackForRequest() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java9669 final NetworkCapabilities netCap = new NetworkCapabilities().setOwnerUid(ownerUid); in getOwnerUidNetCapsPermission() local
9682 final NetworkCapabilities netCap = in verifyTransportInfoCopyNetCapsPermission() local
9840 final NetworkCapabilities netCap = in testCreateForCallerWithLocalMacAddressSanitizedWithLocalMacAddressPermission() local
9859 final NetworkCapabilities netCap = in testCreateForCallerWithLocalMacAddressSanitizedWithoutLocalMacAddressPermission() local
9879 final NetworkCapabilities netCap = in testCreateForCallerWithLocalMacAddressSanitizedWithSettingsPermission() local
9898 final NetworkCapabilities netCap = in testCreateForCallerWithLocalMacAddressSanitizedWithoutSettingsPermission() local