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.java290 PackageInfo callingPackageInfo = getCallingPackageInfo(); in onCreate() local
292 if (callingPackageInfo == null || callingPackageInfo.requestedPermissions == null in onCreate()
293 || callingPackageInfo.requestedPermissions.length <= 0) { in onCreate()
299 if (callingPackageInfo.applicationInfo.targetSdkVersion < Build.VERSION_CODES.M) { in onCreate()
306 mCallingUid = callingPackageInfo.applicationInfo.uid; in onCreate()
325 mAppPermissions = new AppPermissions(this, callingPackageInfo, false, in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java524 PackageInfo callingPackageInfo = mPackageManager.getPackageInfo(callingPackage, 0); in skipFactoryResetProtectionCheck() local
525 return callingPackageInfo != null in skipFactoryResetProtectionCheck()
526 && callingPackageInfo.applicationInfo != null in skipFactoryResetProtectionCheck()
527 && callingPackageInfo.applicationInfo.isSystemApp() in skipFactoryResetProtectionCheck()