Home
last modified time | relevance | path

Searched refs:getPackageInfo (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DAppPermissionsFragment.java98 PackageInfo packageInfo = getPackageInfo(activity, packageName); in onCreate()
146 bindUi(this, mAppPermissions.getPackageInfo()); in onViewCreated()
208 if (!Utils.shouldShowPermission(group, mAppPermissions.getPackageInfo().packageName)) { in loadPreferences()
333 String packageName = mAppPermissions.getPackageInfo().packageName; in logToggledGroups()
360 private static PackageInfo getPackageInfo(Activity activity, String packageName) { in getPackageInfo() method in AppPermissionsFragment
362 return activity.getPackageManager().getPackageInfo( in getPackageInfo()
390 bindUi(this, getPackageInfo(getActivity(), packageName)); in onViewCreated()
DGrantPermissionsActivity.java330 return getPackageManager().getPackageInfo(getCallingPackage(), in getCallingPackageInfo()
375 SafetyNetLogger.logPermissionsRequested(mAppPermissions.getPackageInfo(), groups); in logRequestedPermissionGroups()
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppPreference.java54 public PackageInfo getPackageInfo() { in getPackageInfo() method in AppPreference
58 return pm.getPackageInfo(mPackageName, 0 /* flags */); in getPackageInfo()
100 PackageInfo pkgInfo = pm.getPackageInfo(mPackageName, 0 /* flags */); in update()
DVpnSettings.java303 PackageInfo pkgInfo = pref.getPackageInfo(); in onPreferenceClick()
322 AppDialogFragment.show(VpnSettings.this, pref.getPackageInfo(), pref.getLabel(),
DAppDialog.java55 public final PackageInfo getPackageInfo() { in getPackageInfo() method in AppDialog
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissions.java46 mPackageInfo = getPackageInfo(packageName); in AppPermissions()
50 private PackageInfo getPackageInfo(String packageName) { in getPackageInfo() method in AppPermissions
52 return mContext.getPackageManager().getPackageInfo(packageName, in getPackageInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppLoadingTask.java91 sysPackageInfo = mPackageManager.getPackageInfo("android", in AppLoadingTask()
133 pi = mIPackageManager.getPackageInfo(packageName, in populateApps()
297 PackageInfo pi = mPackageManager.getPackageInfo(app.packageName, 0); in addNonSystemApps()
390 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in isSystemPackage()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DApplicationUtils.java58 final PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in getVersionName()
76 final PackageInfo info = context.getPackageManager().getPackageInfo(packageName, 0); in getVersionCode()
DTargetPackageInfoGetterTask.java55 final PackageInfo packageInfo = pm.getPackageInfo(packageName[0], 0 /* flags */); in doInBackground()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DAppPermissions.java69 public PackageInfo getPackageInfo() { in getPackageInfo() method in AppPermissions
93 mPackageInfo = mContext.getPackageManager().getPackageInfo( in loadPackageInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DUninstallManager.java101 final PackageInfo sys = pm.getPackageInfo("android", PackageManager.GET_SIGNATURES); in getSystemSignature()
124 packageInfo = pm.getPackageInfo(mAppInfo.getPackageName(), in canDisable()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java253 mSysPackageInfo = mPackageManager.getPackageInfo("android", in init()
395 final PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); in isSystemPackage()
543 PackageInfo pi = pm.getPackageInfo(app.packageName, 0); in fetchAndMergeApps()
652 pi = ipm.getPackageInfo(packageName, in populateApps()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DUtils.java142 pi = c.getPackageManager().getPackageInfo(mdmPackageName, in findDeviceAdmin()
257 PackageInfo packageInfo = context.getPackageManager().getPackageInfo(packageName, 0); in packageRequiresUpdate()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java278 packageInfo = mPackageManager.getPackageInfo(packageName, in scanAllPackages()
348 packageInfo = mPackageManager.getPackageInfo(packageName, in onPackageChanged()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java495 mPkgInfo = mPm.getPackageInfo(mPackageURI.getSchemeSpecificPart(),
514 PackageParser.Package parsed = PackageUtil.getPackageInfo(sourceFile);
/packages/apps/Calendar/src/com/android/calendar/
DAboutPreferences.java38 activity.getPackageManager().getPackageInfo(activity.getPackageName(), 0); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/util/
DVersionUtil.java43 PackageInfo pi = context.getPackageManager().getPackageInfo( in VersionUtil()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHelpActivity.java53 final PackageInfo pi = packageManager.getPackageInfo(getPackageName(), 0); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHelpUrl.java72 final PackageInfo pi = context.getPackageManager().getPackageInfo(packageName, 0); in getVersion()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DVoiceSearch.java96 return getContext().getPackageManager().getPackageInfo(ci.packageName, 0).versionCode; in getVersion()
/packages/apps/Contacts/src/com/android/contacts/util/
DHelpUtils.java123 PackageInfo info = context.getPackageManager().getPackageInfo( in uriWithAddedParameters()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java469 ApplicationInfo ai = pm.getPackageInfo(pkg, 0).applicationInfo; in setupHeader()
591 pi = packages != null ? pm.getPackageInfo(packages[0], 0) : null; in fillControlsSection()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherActivityInfoCompatV16.java86 PackageInfo info = mPm.getPackageInfo(mActivityInfo.packageName, 0); in getFirstInstallTime()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java96 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo() method in ContactsMockPackageManager
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java112 pi = context.getPackageManager().getPackageInfo( in getUserAgent()

123