/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 94 final int ownerUid = getPackageUid(context, ownerPackageName); in buildViewIntentForMediaStoreDownload() local 95 if (ownerUid > 0) { in buildViewIntentForMediaStoreDownload() 96 intent.putExtra(Intent.EXTRA_ORIGINATING_UID, ownerUid); in buildViewIntentForMediaStoreDownload()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | AbstractZenModeAutomaticRulePreferenceController.java | 143 int ownerUid = pm.getPackageUid(owner, 0); in getSettingsActivity() local 145 if (ownerUid == configActivityOwnerUid) { in getSettingsActivity()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 741 final int ownerUid = Process.SYSTEM_UID; in testMigrateTun_platformVpn() local 751 .insertEntry(tunIface, ownerUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun_platformVpn() 757 delta.migrateTun(ownerUid, tunIface, Arrays.asList(underlyingIface)); in testMigrateTun_platformVpn() 765 assertValues(delta, 2, tunIface, ownerUid, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testMigrateTun_platformVpn() 773 assertContains(delta, underlyingIface, ownerUid, SET_DEFAULT, TAG_NONE, METERED_NO, in testMigrateTun_platformVpn() 783 assertContains(delta, underlyingIface, ownerUid, SET_DBG_VPN_IN, TAG_NONE, METERED_NO, in testMigrateTun_platformVpn()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkCapabilitiesTest.java | 1103 final int ownerUid = 1001; in testBuilder() local 1106 final int[] administratorUids = {ownerUid, 10001}; in testBuilder() 1119 .setOwnerUid(ownerUid) in testBuilder() 1134 assertEquals(ownerUid, nc.getOwnerUid()); in testBuilder()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 2556 public Builder setOwnerUid(final int ownerUid) { in setOwnerUid() argument 2557 mCaps.setOwnerUid(ownerUid); in setOwnerUid()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 6460 final int ownerUid = 10042; in testNonVpnUnderlyingNetworks() local 6462 .setOwnerUid(ownerUid) in testNonVpnUnderlyingNetworks() 6463 .setAdministratorUids(new int[]{ownerUid}) in testNonVpnUnderlyingNetworks() 6482 expectNotifyNetworkStatus(onlyVcn, vcnIface, ownerUid, vcnIface, List.of(WIFI_IFNAME)); in testNonVpnUnderlyingNetworks() 6505 expectNotifyNetworkStatus(onlyVcn, vcnIface, ownerUid, vcnIface, List.of(MOBILE_IFNAME)); in testNonVpnUnderlyingNetworks() 9667 private int getOwnerUidNetCapsPermission(int ownerUid, int callerUid, in getOwnerUidNetCapsPermission() argument 9669 final NetworkCapabilities netCap = new NetworkCapabilities().setOwnerUid(ownerUid); in getOwnerUidNetCapsPermission() 10013 final int ownerUid = Process.myUid(); in testVerifyLocationDataIsNotIncludedWhenInclFlagNotSet() local 10025 wifiNetworkCallack, ownerUid, transportInfo, INVALID_UID, sanitizedTransportInfo); in testVerifyLocationDataIsNotIncludedWhenInclFlagNotSet()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 5355 private Network[] underlyingNetworksOrDefault(final int ownerUid, in underlyingNetworksOrDefault() argument 5357 final Network defaultNetwork = getNetwork(getDefaultNetworkForUid(ownerUid)); in underlyingNetworksOrDefault()
|