Home
last modified time | relevance | path

Searched refs:callingPackageInfo (Results 1 – 2 of 2) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java288 PackageInfo callingPackageInfo = getCallingPackageInfo(); in onCreate() local
290 if (callingPackageInfo == null || callingPackageInfo.requestedPermissions == null in onCreate()
291 || callingPackageInfo.requestedPermissions.length <= 0) { in onCreate()
297 if (callingPackageInfo.applicationInfo.targetSdkVersion < Build.VERSION_CODES.M) { in onCreate()
304 mCallingUid = callingPackageInfo.applicationInfo.uid; in onCreate()
323 mAppPermissions = new AppPermissions(this, callingPackageInfo, false, in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java538 PackageInfo callingPackageInfo = mPackageManager.getPackageInfo(callingPackage, 0); in skipFactoryResetProtectionCheck() local
539 return callingPackageInfo != null in skipFactoryResetProtectionCheck()
540 && callingPackageInfo.applicationInfo != null in skipFactoryResetProtectionCheck()
541 && callingPackageInfo.applicationInfo.isSystemApp() in skipFactoryResetProtectionCheck()