Searched refs:setRequestorPackageName (Results 1 – 11 of 11) sorted by relevance
69 mNetworkCapabilities.setRequestorPackageName(TEST_PACKAGE_NAME); in setUp()
94 mNetworkCapabilities.setRequestorPackageName(TEST_PACKAGE_NAME); in setUp()
3941 mNetworkCapabilities.setRequestorPackageName(packageName); in attachWifiNetworkSpecifierAndAppInfo()
2776 public @NonNull NetworkCapabilities setRequestorPackageName(@NonNull String packageName) { in setRequestorPackageName() method in NetworkCapabilities2808 return setRequestorUid(uid).setRequestorPackageName(packageName); in setRequestorUidAndPackageName()3284 public Builder setRequestorPackageName(@Nullable final String packageName) { in setRequestorPackageName() method in NetworkCapabilities.Builder3285 mCaps.setRequestorPackageName(packageName); in setRequestorPackageName()
400 netCap.setRequestorPackageName("com.android.test"); in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()418 .setRequestorPackageName("com.android.test") in createNetworkCapabilitiesWithTransportInfo()1263 .setRequestorPackageName(packageName); in testBuilder()
1534 nr.networkCapabilities.setRequestorPackageName(TEST_PACKAGE_NAME); in testDataPathInitiatorResponderMismatchUtility()1595 nr.networkCapabilities.setRequestorPackageName(TEST_PACKAGE_NAME); in testDataPathInitiatorResponderInvalidUidUtility()1658 nr.networkCapabilities.setRequestorPackageName(TEST_PACKAGE_NAME + "h"); // corruption hack in testDataPathInitiatorResponderInvalidPackageNameUtility()2106 nc.setRequestorPackageName(TEST_PACKAGE_NAME); in getSessionNetworkRequestMore()2158 nc.setRequestorPackageName(TEST_PACKAGE_NAME); in getDirectNetworkRequestMore()
200 .setRequestorPackageName(pkgName) in testRequestorPackageName()
1689 ncBuilder.setRequestorPackageName(nnri.packageName); in configureAgentProperties()
338 ….NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorPackageName(@Nullable…
5277 builder.setRequestorPackageName(specificRequestUidAndPackageName.second); in getCapabilities()
17856 .setRequestorPackageName("TestPackage")