Searched refs:setRequestorUid (Results 1 – 9 of 9) sorted by relevance
2233 public @NonNull NetworkCapabilities setRequestorUid(int uid) { in setRequestorUid() method in NetworkCapabilities2297 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.Builder2723 mCaps.setRequestorUid(uid); in setRequestorUid()
67 mNetworkCapabilities.setRequestorUid(TEST_UID); in setUp()
3466 mNetworkCapabilities.setRequestorUid(uid); in attachWifiNetworkSpecifierAndAppInfo()
336 netCap.setRequestorUid(9304); in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()361 .setRequestorUid(9304); in createNetworkCapabilitiesWithTransportInfo()1126 .setRequestorUid(requestUid) in testBuilder()
1339 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()
358 nc.setRequestorUid(1314); in testRequestorUid()
1649 ncBuilder.setRequestorUid(nnri.uid); in configureAgentProperties()
307 …st.permission.NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorUid(int);
3980 builder.setRequestorUid(specificRequestUidAndPackageName.first);