Home
last modified time | relevance | path

Searched refs:mPackageInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java35 private final ShortcutPackageInfo mPackageInfo; field in ShortcutPackageItem
45 mPackageInfo = Preconditions.checkNotNull(packageInfo); in ShortcutPackageItem()
69 return mPackageInfo; in getPackageInfo()
73 if (mPackageInfo.isShadow()) { in refreshPackageInfoAndSave()
76 mPackageInfo.refresh(s, this); in refreshPackageInfoAndSave()
81 if (!mPackageInfo.isShadow()) { in attemptToRestoreIfNeededAndSave()
91 if (!mPackageInfo.hasSignatures()) { in attemptToRestoreIfNeededAndSave()
99 if (!mPackageInfo.canRestoreTo(s, pi)) { in attemptToRestoreIfNeededAndSave()
112 mPackageInfo.setShadow(false); in attemptToRestoreIfNeededAndSave()
/frameworks/base/core/java/android/app/
DContextImpl.java150 final LoadedApk mPackageInfo; field in ContextImpl
246 return (mPackageInfo != null) ? in getApplicationContext()
247 mPackageInfo.getApplication() : mMainThread.getApplication(); in getApplicationContext()
285 return mPackageInfo != null ? in getClassLoader()
286 mPackageInfo.getClassLoader() : ClassLoader.getSystemClassLoader(); in getClassLoader()
291 if (mPackageInfo != null) { in getPackageName()
292 return mPackageInfo.getPackageName(); in getPackageName()
313 if (mPackageInfo != null) { in getApplicationInfo()
314 return mPackageInfo.getApplicationInfo(); in getApplicationInfo()
321 if (mPackageInfo != null) { in getPackageResourcePath()
[all …]
DApplication.java190 mLoadedApk = ContextImpl.getImpl(context).mPackageInfo; in attach()
DActivityThread.java1981 getSystemContext().mPackageInfo.getClassLoader()); in getPackageInfo()
5937 this, getSystemContext().mPackageInfo); in attach()
5938 mInitialApplication = context.mPackageInfo.makeApplication(true, null); in attach()
DApplicationPackageManager.java1253 mContext.mPackageInfo); in getResourcesForApplication()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java167 protected PackageInfo mPackageInfo; field in TelephonyTest
448 doReturn(mPackageInfo).when(mockPackageManager).getPackageInfo(eq(TAG), anyInt()); in setupMockPackagePermissionChecks()