Home
last modified time | relevance | path

Searched refs:setRequestorPackageName (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DOemWifiNetworkFactoryTest.java69 mNetworkCapabilities.setRequestorPackageName(TEST_PACKAGE_NAME); in setUp()
DMultiInternetWifiNetworkFactoryTest.java94 mNetworkCapabilities.setRequestorPackageName(TEST_PACKAGE_NAME); in setUp()
DWifiNetworkFactoryTest.java3941 mNetworkCapabilities.setRequestorPackageName(packageName); in attachWifiNetworkSpecifierAndAppInfo()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java2776 public @NonNull NetworkCapabilities setRequestorPackageName(@NonNull String packageName) { in setRequestorPackageName() method in NetworkCapabilities
2808 return setRequestorUid(uid).setRequestorPackageName(packageName); in setRequestorUidAndPackageName()
3284 public Builder setRequestorPackageName(@Nullable final String packageName) { in setRequestorPackageName() method in NetworkCapabilities.Builder
3285 mCaps.setRequestorPackageName(packageName); in setRequestorPackageName()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java400 netCap.setRequestorPackageName("com.android.test"); in testParcelNetworkCapabilitiesWithRequestorUidAndPackageName()
418 .setRequestorPackageName("com.android.test") in createNetworkCapabilitiesWithTransportInfo()
1263 .setRequestorPackageName(packageName); in testBuilder()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1534 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()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java200 .setRequestorPackageName(pkgName) in testRequestorPackageName()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java1689 ncBuilder.setRequestorPackageName(nnri.packageName); in configureAgentProperties()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt338 ….NETWORK_FACTORY) public android.net.NetworkCapabilities.Builder setRequestorPackageName(@Nullable…
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java5277 builder.setRequestorPackageName(specificRequestUidAndPackageName.second); in getCapabilities()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java17856 .setRequestorPackageName("TestPackage")