Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMultiInternetWifiNetworkFactory.java157 + " Rejecting request from " + networkRequest.getRequestorPackageName()); in acceptRequest()
178 networkRequest.getRequestorPackageName()); in needNetworkFor()
181 networkRequest.getRequestorPackageName()); in needNetworkFor()
200 + networkRequest.getRequestorPackageName() + " for band " + band in needNetworkFor()
206 networkRequest.getRequestorPackageName())); in needNetworkFor()
244 + " PackageName " + state.networkRequest.getRequestorPackageName()); in dump()
DWifiNetworkFactory.java708 if (mFacade.isRequestFromForegroundApp(mContext, newRequest.getRequestorPackageName())) { in canNewRequestOverrideExistingRequest()
713 existingRequest.getRequestorPackageName())) { in canNewRequestOverrideExistingRequest()
717 + existingRequest.getRequestorPackageName() + ". Rejecting request from " in canNewRequestOverrideExistingRequest()
718 + newRequest.getRequestorPackageName()); in canNewRequestOverrideExistingRequest()
735 if (TextUtils.isEmpty(networkRequest.getRequestorPackageName())) { in isRequestWithWifiNetworkSpecifierValid()
742 networkRequest.getRequestorUid(), networkRequest.getRequestorPackageName()); in isRequestWithWifiNetworkSpecifierValid()
745 + networkRequest.getRequestorPackageName() + ". Rejecting", e); in isRequestWithWifiNetworkSpecifierValid()
810 networkRequest.getRequestorPackageName())) { in acceptRequest()
812 + " Rejecting request from " + networkRequest.getRequestorPackageName()); in acceptRequest()
821 + " Rejecting request from " + networkRequest.getRequestorPackageName()); in acceptRequest()
[all …]
DOemWifiNetworkFactory.java56 networkRequest.getRequestorPackageName())); in needNetworkFor()
64 networkRequest.getRequestorPackageName())); in needNetworkFor()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java787 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkRequest
788 return networkCapabilities.getRequestorPackageName(); in getRequestorPackageName()
DNetworkCapabilities.java2793 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkCapabilities
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java197 assertNull(new NetworkRequest.Builder().build().getRequestorPackageName()); in testRequestorPackageName()
205 assertEquals(pkgName, nr.getRequestorPackageName()); in testRequestorPackageName()
209 .getRequestorPackageName()); in testRequestorPackageName()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java1287 assertEquals(packageName, nc.getRequestorPackageName()); in testBuilder()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1558 || !TextUtils.equals(request.getRequestorPackageName(), packageName)) { in processNetworkSpecifier()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt369 method @Nullable public String getRequestorPackageName();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java8081 asUid, nr.getRequestorUid(), nr.getRequestorPackageName());
10229 nrForCallback.getRequestorPackageName(),
10255 nrForCallback.getRequestorPackageName(),
13682 callbackRequest.mUid, request.getRequestorPackageName())));
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java5917 assertEquals(OP_PACKAGE_NAME, networkCapabilities.getRequestorPackageName()); in verifyNetworkCapabilitiesForSpecificRequestWithInternet()
5970 assertEquals(OP_PACKAGE_NAME, networkCapabilities.getRequestorPackageName()); in verifyNetworkCapabilitiesForSpecificRequest()