Searched refs:pInfo (Results 1 – 6 of 6) sorted by relevance
58 PackageInfo pInfo = pm.getPackageInfo(mPackage, 0); in getVersion() local59 String version = pInfo.versionName; in getVersion()
415 PackageInfo pInfo = pm.getPackageInfo(pkg, 0); in getVersion() local416 String version = pInfo.versionName; in getVersion()617 PackageInfo pInfo; in packageNeedsNotificationPermission() local619 pInfo = pm.getPackageInfo(pkg, PackageManager.GET_PERMISSIONS); in packageNeedsNotificationPermission()625 if (pInfo.applicationInfo == null) { in packageNeedsNotificationPermission()633 if (pInfo.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.S_V2) { in packageNeedsNotificationPermission()639 if (pInfo.requestedPermissions == null) { in packageNeedsNotificationPermission()643 for (String perm : pInfo.requestedPermissions) { in packageNeedsNotificationPermission()
456 PackageInfo pInfo = pm.getPackageInfo(pkg, 0); in getVersion() local457 String version = pInfo.versionName; in getVersion()654 PackageInfo pInfo; in packageNeedsNotificationPermission() local656 pInfo = pm.getPackageInfo(pkg, PackageManager.GET_PERMISSIONS); in packageNeedsNotificationPermission()662 if (pInfo.applicationInfo == null) { in packageNeedsNotificationPermission()670 if (pInfo.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.S_V2) { in packageNeedsNotificationPermission()676 if (pInfo.requestedPermissions == null) { in packageNeedsNotificationPermission()680 for (String perm : pInfo.requestedPermissions) { in packageNeedsNotificationPermission()
176 PackageInfo pInfo = pm.getPackageInfo(packageName, 0); in getPackageVersion() local177 String version = pInfo.versionName; in getPackageVersion()
234 PackageInfo pInfo = null; in getVersionCode() local236 pInfo = pm.getPackageInfo(pkg, 0); in getVersionCode()237 return pInfo.versionCode; in getVersionCode()
248 PackageInfo pInfo = null; in getVersionCode() local250 pInfo = pm.getPackageInfo(pkg, 0); in getVersionCode()251 return pInfo.versionCode; in getVersionCode()