/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 35 private final PackageInfo mPackageInfo; field in UserPackage 41 this.mPackageInfo = packageInfo; in UserPackage() 69 if (mPackageInfo == null) return false; in isEnabledPackage() 70 return mPackageInfo.applicationInfo.enabled; in isEnabledPackage() 77 if (mPackageInfo == null) return false; in isInstalledPackage() 78 return (((mPackageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage() 79 && ((mPackageInfo.applicationInfo.privateFlags in isInstalledPackage() 96 return mPackageInfo; in getPackageInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 42 private final ShortcutPackageInfo mPackageInfo; field in ShortcutPackageItem 52 mPackageInfo = Preconditions.checkNotNull(packageInfo); in ShortcutPackageItem() 86 return mPackageInfo; in getPackageInfo() 90 if (mPackageInfo.isShadow()) { in refreshPackageSignatureAndSave() 94 mPackageInfo.refreshSignature(s, this); in refreshPackageSignatureAndSave() 99 if (!mPackageInfo.isShadow()) { in attemptToRestoreIfNeededAndSave() 113 if (!mPackageInfo.hasSignatures()) { in attemptToRestoreIfNeededAndSave() 120 restoreBlockReason = mPackageInfo.canRestoreTo(s, pi, canRestoreAnyVersion()); in attemptToRestoreIfNeededAndSave() 133 mPackageInfo.setShadow(false); in attemptToRestoreIfNeededAndSave()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 117 existingPackages.put(mUser0, Arrays.asList(mFooUser0.mPackageInfo, mBarUser0.mPackageInfo)); in setup() 118 existingPackages.put(mUser1, Arrays.asList(mBarUser1.mPackageInfo)); in setup() 294 mDexManager.notifyPackageInstalled(newPackage.mPackageInfo, mUser0); in testNotifyPackageInstallUsedByOther() 334 mBarUser0.mPackageInfo.applicationInfo.sourceDir, in testNotifyPackageUpdated() 335 mBarUser0.mPackageInfo.applicationInfo.splitSourceDirs); in testNotifyPackageUpdated() 356 mBarUser0.mPackageInfo.applicationInfo.sourceDir, in testNotifyPackageUpdatedCodeLocations() 357 mBarUser0.mPackageInfo.applicationInfo.splitSourceDirs); in testNotifyPackageUpdatedCodeLocations() 652 mDexManager.notifyDexLoadInternal(testData.mPackageInfo.applicationInfo, dexPathMapping, in notifyDexLoad() 743 private final PackageInfo mPackageInfo; field in DexManagerTests.TestData 749 mPackageInfo = getMockPackageInfo(packageName, userId); in TestData() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 198 final @NonNull LoadedApk mPackageInfo; field in ContextImpl 334 return (mPackageInfo != null) ? in getApplicationContext() 335 mPackageInfo.getApplication() : mMainThread.getApplication(); in getApplicationContext() 379 …return mClassLoader != null ? mClassLoader : (mPackageInfo != null ? mPackageInfo.getClassLoader()… in getClassLoader() 384 if (mPackageInfo != null) { in getPackageName() 385 return mPackageInfo.getPackageName(); in getPackageName() 406 if (mPackageInfo != null) { in getApplicationInfo() 407 return mPackageInfo.getApplicationInfo(); in getApplicationInfo() 414 if (mPackageInfo != null) { in getPackageResourcePath() 415 return mPackageInfo.getResDir(); in getPackageResourcePath() [all …]
|
D | Application.java | 352 mLoadedApk = ContextImpl.getImpl(context).mPackageInfo; in attach()
|
D | Instrumentation.java | 1265 if (apk == null) apk = mThread.getSystemContext().mPackageInfo; in getFactory()
|
D | ActivityThread.java | 2335 getSystemContext().mPackageInfo.getClassLoader()); in getPackageInfo() 7009 packageInfo = getSystemContext().mPackageInfo; in installProvider() 7155 this, getSystemContext().mPackageInfo); in attach() 7156 mInitialApplication = context.mPackageInfo.makeApplication(true, null); in attach()
|
D | ApplicationPackageManager.java | 1533 mContext.mPackageInfo); in getResourcesForApplication()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 600 private final PackageInfo mPackageInfo = mock(PackageInfo.class); field in ContextFixture 634 doReturn(mPackageInfo).when(mPackageManager).getPackageInfo(nullable(String.class), in ContextFixture()
|
D | TelephonyTest.java | 233 protected PackageInfo mPackageInfo; field in TelephonyTest 761 doReturn(mPackageInfo).when(mPackageManager).getPackageInfo(eq(TAG), anyInt()); in setupMockPackagePermissionChecks()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 127 private PackageInfo mPackageInfo; field in AccountManagerServiceTest 143 mPackageInfo = new PackageInfo(); in setUp() 144 mPackageInfo.signatures = new Signature[1]; in setUp() 145 mPackageInfo.signatures[0] = new Signature(new byte[] {'a', 'b', 'c', 'd'}); in setUp() 146 mPackageInfo.applicationInfo = new ApplicationInfo(); in setUp() 147 mPackageInfo.applicationInfo.privateFlags = ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in setUp() 148 when(mMockPackageManager.getPackageInfo(anyString(), anyInt())).thenReturn(mPackageInfo); in setUp()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 79953 Landroid/webkit/UserPackage;->mPackageInfo:Landroid/content/pm/PackageInfo;
|