Home
last modified time | relevance | path

Searched refs:packageUid (Results 1 – 6 of 6) 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.java265 int packageUid; in grantSystemAlertWindowPermission() local
267 packageUid = mContext.getPackageManager().getPackageUidAsUser(packageName, userId); in grantSystemAlertWindowPermission()
273 appOpsManager.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, packageUid, packageName, in grantSystemAlertWindowPermission()
276 + " 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.java405 final int packageUid; in updateProjectionStatus() local
408 packageUid = in updateProjectionStatus()
414 if (callingUid != packageUid) { in updateProjectionStatus()