Home
last modified time | relevance | path

Searched refs:getApplicationInfo (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java328 mAppInfo = mPm.getApplicationInfo(pkgName,
411 mSourceInfo = mPm.getApplicationInfo(callerPackage, 0);
451 return mPm.getApplicationInfo(callingPackage, 0);
501 mPm.getApplicationInfo(packageName, 0);
DPackageUtil.java51 public static ApplicationInfo getApplicationInfo(File sourcePath) { in getApplicationInfo() method in PackageUtil
DUninstallerActivity.java134 mAppInfo = mPm.getApplicationInfo(packageName, PackageManager.GET_UNINSTALLED_PACKAGES);
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainServiceTest.java133 Log.d(TAG, "test_KeyChainService uid=" + getApplicationInfo().uid); in test_KeyChainService()
204 mSupport.grantAppPermission(getApplicationInfo().uid, alias1); in test_KeyChainService()
216 mSupport.revokeAppPermission(getApplicationInfo().uid, alias2); in test_KeyChainService()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java242 mApp = getActivity().getPackageManager().getApplicationInfo( in createDetails()
455 ApplicationInfo info = mPm.getApplicationInfo(mPackages[i], 0); in checkForceStop()
518 ApplicationInfo ai = pm.getApplicationInfo(mPackages[i], 0); in fillPackagesSection()
DBatterySipper.java154 ApplicationInfo ai = pm.getApplicationInfo(packageLabels[i], 0); in getNameIcon()
/packages/apps/Settings/src/com/android/settings/net/
DUidDetailProvider.java134 final ApplicationInfo info = pm.getApplicationInfo(packageNames[0], 0); in buildUidDetail()
142 final ApplicationInfo appInfo = pm.getApplicationInfo(packageName, 0); in buildUidDetail()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java304 values.put(Directory.PACKAGE_NAME, mContext.getApplicationInfo().packageName); in insertDefaultDirectory()
318 values.put(Directory.PACKAGE_NAME, mContext.getApplicationInfo().packageName); in insertLocalInvisibleDirectory()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java211 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in AppOpsState.AppEntry
442 appInfo = mPm.getApplicationInfo(packageName, in getAppEntry()
DRunningState.java382 ApplicationInfo ai = pm.getApplicationInfo(mProcessName, in ensureLabel()
400 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], in ensureLabel()
442 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], in ensureLabel()
DInstalledAppDetails.java524 ApplicationInfo ainfo = getActivity().getPackageManager().getApplicationInfo( in onActivityResult()
783 ApplicationInfo ainfo = mPm.getApplicationInfo(pkg, 0); in refreshUi()
827 ApplicationInfo ainfo = getActivity().getPackageManager().getApplicationInfo( in refreshUi()
/packages/apps/Settings/tests/src/com/android/settings/
DSettingsHookTests.java77 ApplicationInfo applicationInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); in testSettingsHookTestAppAvailable()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java97 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid; in userOwnsPackage()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java69 public ApplicationInfo getApplicationInfo(String packageName, int flags) { in getApplicationInfo() method in ContactsMockPackageManager
/packages/apps/Launcher2/src/com/android/launcher2/
DApplicationInfo.java75 int appFlags = pm.getApplicationInfo(packageName, 0).flags; in ApplicationInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFactory.java104 final String sourceDir = context.getApplicationInfo().sourceDir; in createBinaryDictionary()
DBinaryDictionaryGetter.java100 context.getApplicationInfo().sourceDir, afd.getStartOffset(), afd.getLength()); in loadFallbackResource()
/packages/experimental/NotificationLog/src/com/android/notificationlog/
DNotificationLogActivity.java100 appInfo = mPM.getApplicationInfo(pkg, 0); in bindView()
/packages/apps/Settings/src/com/android/settings/
DAllowBindAppWidgetActivity.java94 ApplicationInfo ai = pm.getApplicationInfo(mCallingPackage, 0); in onCreate()
DUsageStats.java133 ApplicationInfo appInfo = mPm.getApplicationInfo(ps.packageName, 0); in UsageStatsAdapter()
/packages/apps/Email/src/com/android/email/
DVendorPolicyLoader.java133 ApplicationInfo ai = context.getPackageManager().getApplicationInfo(packageName, 0); in isSystemPackage()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePickerDialog.java111 this(context, context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB in DatePickerDialog()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java367 ApplicationInfo info = ipm.getApplicationInfo(packageName, 0, userId); in updateUserAppList()
379 ApplicationInfo info = ipm.getApplicationInfo(packageName, 0, userId); in updateUserAppList()
/packages/inputmethods/LatinIME/tools/maketext/res/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSet.tmpl64 final int referenceId = context.getApplicationInfo().labelRes;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DScroller.java118 context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB); in Scroller()

12