Home
last modified time | relevance | path

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

12

/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/net/
DUidDetailProvider.java110 final ApplicationInfo info = pm.getApplicationInfo(packageNames[0], 0); in buildUidDetail()
118 final ApplicationInfo appInfo = pm.getApplicationInfo(packageName, 0); in buildUidDetail()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DTargetApplicationGetter.java58 pm.getApplicationInfo(packageName[0], 0 /* flags */); in doInBackground()
DDictionaryFactory.java107 final String sourceDir = context.getApplicationInfo().sourceDir; in createBinaryDictionary()
DBinaryDictionaryGetter.java168 context.getApplicationInfo().sourceDir, afd.getStartOffset(), afd.getLength()); in loadFallbackResource()
/packages/apps/Settings/tests/src/com/android/settings/
DSettingsHookTests.java77 ApplicationInfo applicationInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); in testSettingsHookTestAppAvailable()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java69 public ApplicationInfo getApplicationInfo(String packageName, int flags) { in getApplicationInfo() method in ContactsMockPackageManager
DContactsActor.java287 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() method in ContactsActor.RestrictionMockContext
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java84 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid; in userOwnsPackage()
/packages/apps/Launcher2/src/com/android/launcher2/
DApplicationInfo.java80 int appFlags = pm.getApplicationInfo(packageName, 0).flags; in ApplicationInfo()
/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/experimental/NotificationLog/src/com/android/notificationlog/
DNotificationLogActivity.java100 appInfo = mPM.getApplicationInfo(pkg, 0); in bindView()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java233 mApp = getActivity().getPackageManager().getApplicationInfo( in createDetails()
444 ApplicationInfo info = mPm.getApplicationInfo(mPackages[i], 0); in checkForceStop()
506 ApplicationInfo ai = pm.getApplicationInfo(mPackages[i], 0); in fillPackagesSection()
DBatterySipper.java154 ApplicationInfo ai = pm.getApplicationInfo(packageLabels[i], 0); in getNameIcon()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java259 mAppInfo = mPm.getApplicationInfo(pkgName,
318 mSourceInfo = mPm.getApplicationInfo(callerPackage, 0);
DPackageUtil.java51 public static ApplicationInfo getApplicationInfo(File sourcePath) { in getApplicationInfo() method in PackageUtil
DUninstallerActivity.java130 mAppInfo = mPm.getApplicationInfo(packageName, PackageManager.GET_UNINSTALLED_PACKAGES);
/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.java108 this(context, context.getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.HONEYCOMB in DatePickerDialog()
/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/
DRunningState.java287 ApplicationInfo ai = pm.getApplicationInfo(mProcessName, 0); in ensureLabel()
304 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], 0); in ensureLabel()
344 ApplicationInfo ai = pm.getApplicationInfo(pkgs[0], 0); in ensureLabel()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java226 applicationLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); in displayCertChooserDialog()
/packages/apps/Phone/src/com/android/phone/sip/
DSipSettings.java134 mPackageManager.getApplicationInfo(pkgs[0], 0); in getPackageNameFromUid()
/packages/apps/Nfc/src/com/android/nfc/
DP2pLinkManager.java320 ApplicationInfo ai = mPackageManager.getApplicationInfo(pkgName, in beamDefaultDisabled()

12