Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java2233 public @NonNull NetworkCapabilities setRequestorUid(int uid) { in setRequestorUid() method in NetworkCapabilities
2297 return setRequestorUid(uid).setRequestorPackageName(packageName); in setRequestorUidAndPackageName()
2340 setRequestorUid(nc.mRequestorUid); in combineRequestor()
2722 public Builder setRequestorUid(final int uid) { in setRequestorUid() method in NetworkCapabilities.Builder
2723 mCaps.setRequestorUid(uid); in setRequestorUid()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOemWifiNetworkFactoryTest.java67 mNetworkCapabilities.setRequestorUid(TEST_UID); in setUp()
DWifiNetworkFactoryTest.java3466 mNetworkCapabilities.setRequestorUid(uid); in attachWifiNetworkSpecifierAndAppInfo()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java336 netCap.setRequestorUid(9304); in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()
361 .setRequestorUid(9304); in createNetworkCapabilitiesWithTransportInfo()
1126 .setRequestorUid(requestUid) in testBuilder()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1339 nr.networkCapabilities.setRequestorUid(Process.myUid()); in testDataPathInitiatorResponderMismatchUtility()
1400 nr.networkCapabilities.setRequestorUid(0 + 1); // corruption hack in testDataPathInitiatorResponderInvalidUidUtility()
1463 nr.networkCapabilities.setRequestorUid(Process.myUid()); // corruption hack in testDataPathInitiatorResponderInvalidPackageNameUtility()
1872 nc.setRequestorUid(Process.myUid()); in getSessionNetworkRequestMore()
1924 nc.setRequestorUid(Process.myUid()); in getDirectNetworkRequestMore()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java358 nc.setRequestorUid(1314); in testRequestorUid()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1649 ncBuilder.setRequestorUid(nnri.uid); in configureAgentProperties()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt307 …st.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorUid(int);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3980 builder.setRequestorUid(specificRequestUidAndPackageName.first);