Home
last modified time | relevance | path

Searched refs:packageUid (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java54 public void addPackage(int packageUid, String packageName) { in addPackage() argument
55 mForward.put(packageUid, packageName); in addPackage()
56 mReverse.put(packageName, packageUid); in addPackage()
59 public void removePackage(int packageUid) { in removePackage() argument
60 final String packageName = mForward.remove(packageUid); in removePackage()
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java280 int packageUid; in grantSystemAlertWindowPermission() local
282 packageUid = mContext.getPackageManager().getPackageUidAsUser(packageName, userId); in grantSystemAlertWindowPermission()
288 appOpsManager.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, packageUid, packageName, in grantSystemAlertWindowPermission()
291 + " package uid:" + packageUid); in grantSystemAlertWindowPermission()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsTestStreamingService.java79 int packageUid = Binder.getCallingUid();
80 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
90 FrontendAppIdentifier appKey = new FrontendAppIdentifier(packageUid, subId);
DEmbmsSampleDownloadService.java74 int packageUid = Binder.getCallingUid();
75 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
86 FrontendAppIdentifier appKey = new FrontendAppIdentifier(packageUid, subId);
91 getPackageManager().getNameForUid(packageUid));
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java368 int packageUid = context.getPackageManager().getPackageUid(callingPackage, 0); in isPackageNameAccurate() local
369 if (packageUid != callingUid) { in isPackageNameAccurate()
371 + " is UID " + packageUid + " but caller is " + callingUid); in isPackageNameAccurate()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java404 final int packageUid; in updateProjectionStatus() local
407 packageUid = in updateProjectionStatus()
413 if (callingUid != packageUid) { in updateProjectionStatus()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt449 val packageUid = pkg.uid in isPackageHibernationExemptByUser() constant
453 AppOpsManager.OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, packageUid] in isPackageHibernationExemptByUser()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java3260 int packageUid = -1; in enforceCallingPackage() local
3264 packageUid = pm.getPackageUid(callingPackage, 0); in enforceCallingPackage()
3268 if (packageUid != callingUid) { in enforceCallingPackage()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4491 final int packageUid = getContext().getPackageManager() in getSharedPackagesForPackage() local
4493 return getContext().getPackageManager().getPackagesForUid(packageUid); in getSharedPackagesForPackage()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt939 Landroid/net/NetworkScorerAppData;->packageUid:I