Home
last modified time | relevance | path

Searched refs:packageUid (Results 1 – 8 of 8) 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.java274 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/
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/Settings/tests/unit/src/com/android/settings/applications/
DAppOpsSettingsTest.java186 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/
DCarProjectionService.java404 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/
DAutoRevokePermissions.kt491 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/
DMediaProvider.java3585 final int packageUid = getContext().getPackageManager() in getSharedPackagesForPackage() local
3587 return getContext().getPackageManager().getPackagesForUid(packageUid); in getSharedPackagesForPackage()