Searched refs:packageUid (Results 1 – 8 of 8) 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 | 274 int packageUid; in grantSystemAlertWindowPermission() local 276 packageUid = mContext.getPackageManager().getPackageUidAsUser(packageName, userId); in grantSystemAlertWindowPermission() 282 appOpsManager.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, packageUid, packageName, in grantSystemAlertWindowPermission() 285 + " 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/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppOpsSettingsTest.java | 186 final int packageUid = mPackageManager.getPackageUid(mPackageName, 0); in testSwitchToggle() local 189 mAppOpsManager.setMode(mAppOpCode, packageUid, mPackageName, fromAppOp); in testSwitchToggle() 195 mAppOpsManager.checkOpNoThrow(mAppOpCode, packageUid, in testSwitchToggle()
|
/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/apps/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | AutoRevokePermissions.kt | 491 val packageUid = pkg.uid in isPackageAutoRevokeExempt() constant 495 AppOpsManager.OPSTR_AUTO_REVOKE_PERMISSIONS_IF_UNUSED, packageUid] in isPackageAutoRevokeExempt()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 3585 final int packageUid = getContext().getPackageManager() in getSharedPackagesForPackage() local 3587 return getContext().getPackageManager().getPackagesForUid(packageUid); in getSharedPackagesForPackage()
|