Searched refs:getRequestorPackageName (Results 1 – 11 of 11) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | MultiInternetWifiNetworkFactory.java | 157 + " 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()
|
D | WifiNetworkFactory.java | 708 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 …]
|
D | OemWifiNetworkFactory.java | 56 networkRequest.getRequestorPackageName())); in needNetworkFor() 64 networkRequest.getRequestorPackageName())); in needNetworkFor()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 787 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkRequest 788 return networkCapabilities.getRequestorPackageName(); in getRequestorPackageName()
|
D | NetworkCapabilities.java | 2793 public String getRequestorPackageName() { in getRequestorPackageName() method in NetworkCapabilities
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkRequestTest.java | 197 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/ |
D | NetworkCapabilitiesTest.java | 1287 assertEquals(packageName, nc.getRequestorPackageName()); in testBuilder()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 1558 || !TextUtils.equals(request.getRequestorPackageName(), packageName)) { in processNetworkSpecifier()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 369 method @Nullable public String getRequestorPackageName();
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 8081 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/ |
D | ClientModeImplTest.java | 5917 assertEquals(OP_PACKAGE_NAME, networkCapabilities.getRequestorPackageName()); in verifyNetworkCapabilitiesForSpecificRequestWithInternet() 5970 assertEquals(OP_PACKAGE_NAME, networkCapabilities.getRequestorPackageName()); in verifyNetworkCapabilitiesForSpecificRequest()
|