/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PermissionHelperTest.java | 23 import static android.content.pm.PackageManager.GET_PERMISSIONS; 133 when(mPackageManager.getInstalledPackages(eq((long) GET_PERMISSIONS), anyInt())) in testGetAppsRequestingPermission() 151 when(mPackageManager.getPackageInfo(packageName, GET_PERMISSIONS, 0)).thenReturn(info); in testHasRequestedPermission_otherPermission() 166 when(mPackageManager.getPackageInfo(packageName, GET_PERMISSIONS, 0)).thenReturn(info); in testHasRequestedPermission_noPermissions() 182 when(mPackageManager.getPackageInfo(packageName, GET_PERMISSIONS, 0)).thenReturn(info); in testHasRequestedPermission_singlePermissions() 198 when(mPackageManager.getPackageInfo(packageName, GET_PERMISSIONS, 0)).thenReturn(info); in testHasRequestedPermission_twoPermissions() 441 when(mPackageManager.getInstalledPackages(eq((long) GET_PERMISSIONS), anyInt())) in testGetNotificationPermissionValues()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | PackageManagers.kt | 76 getPackageInfoAsUser(packageName, PackageManager.GET_PERMISSIONS.toLong(), userId) in getPackageInfoAsUserCached() 84 getPackageInfoAsUser(packageName, PackageManager.GET_PERMISSIONS.toLong(), userId) in getPackageInfoAsUserCached()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PermissionHelper.java | 21 import static android.content.pm.PackageManager.GET_PERMISSIONS; 87 PackageInfo pi = mPackageManager.getPackageInfo(pkg, GET_PERMISSIONS, userId); in hasRequestedPermission() 131 parceledList = mPackageManager.getInstalledPackages(GET_PERMISSIONS, userId); in getInstalledPackages() 290 PackageInfo pi = mPackageManager.getPackageInfo(packageName, GET_PERMISSIONS, userId); in packageRequestsNotificationPermission()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UnarchiveActivity.java | 20 import static android.content.pm.PackageManager.GET_PERMISSIONS; 131 .getPackageInfo(callingPackage, GET_PERMISSIONS).requestedPermissions; in getRequestedPermissions()
|
D | InstallStart.java | 245 PackageManager.GET_PERMISSIONS); in isUidRequestingPermission()
|
D | PackageInstallerActivity.java | 614 PackageManager.GET_PERMISSIONS in processPackageUri() 636 PackageManager.GET_PERMISSIONS); in processPackageUri()
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PackageUtils.java | 21 import static android.content.pm.PackageManager.GET_PERMISSIONS; 81 final PackageInfoFlags flags = PackageInfoFlags.of(GET_PERMISSIONS | GET_CONFIGURATIONS); in getPackageInfo()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 238 PackageManager.MATCH_ANY_USER | PackageManager.GET_PERMISSIONS); in installPackage() 263 PackageManager.GET_PERMISSIONS | PackageManager.GET_CONFIGURATIONS); in installPackage()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | WallpaperManagerServiceTests.java | 357 PackageManager.GET_META_DATA | PackageManager.GET_PERMISSIONS, 0); in testSwitchMultipleUsers() 389 PackageManager.GET_META_DATA | PackageManager.GET_PERMISSIONS, 0); in testSwitchThenUnlockMultipleUsers()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | PackageUtil.kt | 186 pm.getPackageInfo(packageName!!, PackageManager.GET_PERMISSIONS) in isUidRequestingPermission()
|
D | InstallRepository.kt | 577 PackageManager.GET_PERMISSIONS in <lambda>() 607 getPackageInfo(context, it, PackageManager.GET_PERMISSIONS) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 32 import static android.content.pm.PackageManager.GET_PERMISSIONS; 741 packageInfo = userPackageManager.getPackageInfo(packageName, GET_PERMISSIONS); in resetAppOpPermissionsIfNotRequestedForUid() 1058 pkgInfo = mPackageManager.getPackageInfo(pkgName, GET_PERMISSIONS); in addPackage()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageManagerTests.java | 633 PackageManager.GET_PERMISSIONS in assertPermissions() 2814 | PackageManager.GET_PERMISSIONS | PackageManager.GET_PROVIDERS in testGetInstalledPackagesAll() 2859 | PackageManager.GET_PERMISSIONS | PackageManager.GET_PROVIDERS in testGetUnInstalledPackagesAll()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionUsageHelper.java | 428 PackageManager.GET_PERMISSIONS | PackageManager.GET_ATTRIBUTIONS_LONG)); in getSubattributionLabelsForPackage()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 139 if ((flags & PackageManager.GET_PERMISSIONS) != 0) { in generate()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 1105 packageName, PackageManager.GET_PERMISSIONS, in start()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 180 if ((flags & PackageManager.GET_PERMISSIONS) != 0) { in generateWithComponents()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 826 GET_PERMISSIONS, 1063 public static final int GET_PERMISSIONS = 0x00001000; field in PackageManager
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ComputerEngine.java | 1513 final Set<String> installedPermissions = ((flags & PackageManager.GET_PERMISSIONS) == 0 in generatePackageInfo() 1517 final Set<String> grantedPermissions = ((flags & PackageManager.GET_PERMISSIONS) == 0 in generatePackageInfo() 4638 if ((flags & PackageManager.GET_PERMISSIONS) == 0) { in addPackageHoldingPermissions()
|
D | PackageManagerShellCommand.java | 2670 packageInfos = pm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in runGrantRevokePermission() 2674 PackageManager.GET_PERMISSIONS)); in runGrantRevokePermission()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 119 | PackageManager.GET_PERMISSIONS;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskSupervisor.java | 1359 .getPackageInfoAsUser(callingPackage, PackageManager.GET_PERMISSIONS, in getActionRestrictionForCallingPackage()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1041 PackageManager.GET_PERMISSIONS, Process.myUid(), 6918 PackageManager.GET_PERMISSIONS, Process.myUid(), mContext.getUserId());
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 3285 PackageManager.GET_META_DATA | PackageManager.GET_PERMISSIONS, serviceUserId); in bindWallpaperComponentLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 126 | PackageManager.GET_PERMISSIONS | PackageManager.MATCH_KNOWN_PACKAGES;
|