Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRequestStateStatsMetricsTest.java73 .setRequestorUid(TEST_PACKAGE_UID),
165 new NetworkCapabilities().setRequestorUid(TEST_PACKAGE_UID), in testMessageQueueSizeLimitNotExceeded()
168 new NetworkCapabilities().setRequestorUid(TEST_PACKAGE_UID), in testMessageQueueSizeLimitNotExceeded()
174 new NetworkCapabilities().setRequestorUid(TEST_PACKAGE_UID), in testMessageQueueSizeLimitNotExceeded()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOemWifiNetworkFactoryTest.java68 mNetworkCapabilities.setRequestorUid(TEST_UID); in setUp()
DMultiInternetWifiNetworkFactoryTest.java93 mNetworkCapabilities.setRequestorUid(TEST_UID); in setUp()
DWifiNetworkFactoryTest.java3940 mNetworkCapabilities.setRequestorUid(uid); in attachWifiNetworkSpecifierAndAppInfo()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java2744 public @NonNull NetworkCapabilities setRequestorUid(int uid) { in setRequestorUid() method in NetworkCapabilities
2808 return setRequestorUid(uid).setRequestorPackageName(packageName); in setRequestorUidAndPackageName()
3268 public Builder setRequestorUid(final int uid) { in setRequestorUid() method in NetworkCapabilities.Builder
3269 mCaps.setRequestorUid(uid); in setRequestorUid()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java401 netCap.setRequestorUid(9304); in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()
419 .setRequestorUid(9304); in createNetworkCapabilitiesWithTransportInfo()
1262 .setRequestorUid(requestUid) in testBuilder()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1533 nr.networkCapabilities.setRequestorUid(Process.myUid()); in testDataPathInitiatorResponderMismatchUtility()
1594 nr.networkCapabilities.setRequestorUid(0 + 1); // corruption hack in testDataPathInitiatorResponderInvalidUidUtility()
1657 nr.networkCapabilities.setRequestorUid(Process.myUid()); // corruption hack in testDataPathInitiatorResponderInvalidPackageNameUtility()
2105 nc.setRequestorUid(Process.myUid()); in getSessionNetworkRequestMore()
2157 nc.setRequestorUid(Process.myUid()); in getDirectNetworkRequestMore()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java398 nc.setRequestorUid(1314); in testRequestorUid()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1688 ncBuilder.setRequestorUid(nnri.uid); in configureAgentProperties()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt339 …st.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorUid(int);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java5276 builder.setRequestorUid(specificRequestUidAndPackageName.first); in getCapabilities()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java17855 .setRequestorUid(98765)