Home
last modified time | relevance | path

Searched refs:getRequestorPackageName (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java457 if (isRequestFromForegroundApp(newRequest.getRequestorPackageName())) return true; in canNewRequestOverrideExistingRequest()
459 if (!isRequestFromForegroundApp(existingRequest.getRequestorPackageName())) return true; in canNewRequestOverrideExistingRequest()
461 + existingRequest.getRequestorPackageName() + ". Rejecting request from " in canNewRequestOverrideExistingRequest()
462 + newRequest.getRequestorPackageName()); in canNewRequestOverrideExistingRequest()
484 if (TextUtils.isEmpty(networkRequest.getRequestorPackageName())) { in isRequestWithNetworkSpecifierValid()
491 networkRequest.getRequestorUid(), networkRequest.getRequestorPackageName()); in isRequestWithNetworkSpecifierValid()
494 + networkRequest.getRequestorPackageName() + ". Rejecting", e); in isRequestWithNetworkSpecifierValid()
531 networkRequest.getRequestorPackageName())) { in acceptRequest()
533 + " Rejecting request from " + networkRequest.getRequestorPackageName()); in acceptRequest()
542 + " Rejecting request from " + networkRequest.getRequestorPackageName()); in acceptRequest()
[all …]
/frameworks/base/core/java/android/net/
DNetworkRequest.java517 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkRequest
518 return networkCapabilities.getRequestorPackageName(); in getRequestorPackageName()
DNetworkCapabilities.java2055 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkCapabilities
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java927 assertEquals(packageName, nc.getRequestorPackageName()); in testBuilder()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1366 || !TextUtils.equals(request.getRequestorPackageName(), packageName)) { in processNetworkSpecifier()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6608 nc, nri.mUid, nri.request.getRequestorPackageName())); in callCallbackForRequest()
6627 netCap, nri.mUid, nri.request.getRequestorPackageName())); in callCallbackForRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3777 assertEquals(OP_PACKAGE_NAME, networkCapabilities.getRequestorPackageName()); in verifyNetworkCapabilitiesForSpecificRequest()
/frameworks/base/non-updatable-api/
Dsystem-current.txt6254 method @Nullable public String getRequestorPackageName();
/frameworks/base/api/
Dsystem-current.txt6306 method @Nullable public String getRequestorPackageName();