Home
last modified time | relevance | path

Searched refs:getRequestorUid (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMultiInternetWifiNetworkFactory.java142 final int uid = networkRequest.getRequestorUid(); in acceptRequest()
170 networkRequest.getRequestorUid()); in needNetworkFor()
193 WorkSource workSource = new WorkSource(networkRequest.getRequestorUid()); in needNetworkFor()
199 localLog("Need network : Uid " + networkRequest.getRequestorUid() + " PackageName " in needNetworkFor()
205 new WorkSource(networkRequest.getRequestorUid(), in needNetworkFor()
214 networkRequest.getRequestorUid()); in releaseNetworkFor()
243 + " Uid " + state.networkRequest.getRequestorUid() in dump()
DRestrictedWifiNetworkFactory.java69 if (mRequestUids.add(networkRequest.getRequestorUid())) { in needNetworkFor()
71 .getRequestorUid()); in needNetworkFor()
83 if (mRequestUids.remove(networkRequest.getRequestorUid())) { in releaseNetworkFor()
85 .getRequestorUid()); in releaseNetworkFor()
DWifiNetworkFactory.java704 if (mWifiPermissionsUtil.checkNetworkSettingsPermission(newRequest.getRequestorUid())) { in canNewRequestOverrideExistingRequest()
731 if (networkRequest.getRequestorUid() == Process.INVALID_UID) { in isRequestWithWifiNetworkSpecifierValid()
742 networkRequest.getRequestorUid(), networkRequest.getRequestorPackageName()); in isRequestWithWifiNetworkSpecifierValid()
744 Log.e(TAG, "Invalid uid/package name " + networkRequest.getRequestorUid() + ", " in isRequestWithWifiNetworkSpecifierValid()
775 networkRequest.getRequestorUid()); in acceptRequest()
808 networkRequest.getRequestorUid()) in acceptRequest()
857 networkRequest.getRequestorUid()); in needNetworkFor()
920 mActiveSpecificNetworkRequest.getRequestorUid()) in needNetworkFor()
923 new WorkSource(mActiveSpecificNetworkRequest.getRequestorUid(), in needNetworkFor()
1023 return Pair.create(mConnectedSpecificNetworkRequest.getRequestorUid(), in getSpecificNetworkRequestUidAndPackageName()
[all …]
DOemWifiNetworkFactory.java55 true, new WorkSource(networkRequest.getRequestorUid(), in needNetworkFor()
63 true, new WorkSource(networkRequest.getRequestorUid(), in needNetworkFor()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRequestStateInfo.java81 return mNetworkRequest.networkCapabilities.getRequestorUid(); in getPackageUid()
DNetworkRequestStateStatsMetrics.java91 + ", package_uid = " + networkRequest.networkCapabilities.getRequestorUid()); in onNetworkRequestReceived()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java774 public int getRequestorUid() { in getRequestorUid() method in NetworkRequest
775 return networkCapabilities.getRequestorUid(); in getRequestorUid()
DNetworkCapabilities.java2760 public int getRequestorUid() { in getRequestorUid() method in NetworkCapabilities
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java396 .setCapabilities(nc).build().getRequestorUid()); in testRequestorUid()
400 assertEquals(1314, nr.getRequestorUid()); in testRequestorUid()
403 .clearCapabilities().build().getRequestorUid()); in testRequestorUid()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java1286 assertEquals(requestUid, nc.getRequestorUid()); in testBuilder()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1557 if (request.getRequestorUid() != uid in processNetworkSpecifier()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt370 method public int getRequestorUid();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java8081 asUid, nr.getRequestorUid(), nr.getRequestorPackageName());
9617 && nr.getRequestorUid() == uid
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java5916 assertEquals(TEST_UID, networkCapabilities.getRequestorUid()); in verifyNetworkCapabilitiesForSpecificRequestWithInternet()
5969 assertEquals(TEST_UID, networkCapabilities.getRequestorUid()); in verifyNetworkCapabilitiesForSpecificRequest()