Searched refs:packageUid (Results 1 – 10 of 10) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockPackageManager.java | 54 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/ |
D | CarUserNoticeService.java | 280 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/ |
D | EmbmsTestStreamingService.java | 79 int packageUid = Binder.getCallingUid(); 80 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); 90 FrontendAppIdentifier appKey = new FrontendAppIdentifier(packageUid, subId);
|
D | EmbmsSampleDownloadService.java | 74 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/ |
D | Utils.java | 368 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/ |
D | CarProjectionService.java | 404 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/ |
D | HibernationPolicy.kt | 449 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/ |
D | PhoneInterfaceManager.java | 3260 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/ |
D | MediaProvider.java | 4491 final int packageUid = getContext().getPackageManager() in getSharedPackagesForPackage() local 4493 return getContext().getPackageManager().getPackagesForUid(packageUid); in getSharedPackagesForPackage()
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 939 Landroid/net/NetworkScorerAppData;->packageUid:I
|