Searched refs:getRequestorPackageName (Results 1 – 9 of 9) sorted by relevance
457 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 …]
517 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkRequest518 return networkCapabilities.getRequestorPackageName(); in getRequestorPackageName()
2055 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkCapabilities
927 assertEquals(packageName, nc.getRequestorPackageName()); in testBuilder()
1366 || !TextUtils.equals(request.getRequestorPackageName(), packageName)) { in processNetworkSpecifier()
6608 nc, nri.mUid, nri.request.getRequestorPackageName())); in callCallbackForRequest()6627 netCap, nri.mUid, nri.request.getRequestorPackageName())); in callCallbackForRequest()
3777 assertEquals(OP_PACKAGE_NAME, networkCapabilities.getRequestorPackageName()); in verifyNetworkCapabilitiesForSpecificRequest()
6254 method @Nullable public String getRequestorPackageName();
6306 method @Nullable public String getRequestorPackageName();