/art/libartservice/service/java/com/android/server/art/ |
D | PrimaryDexopter.java | 86 return Utils.isInDalvikCache(mPkgState, mInjector.getArtd()); in isInDalvikCache() 92 return PrimaryDexUtils.getDetailedDexInfo(mPkgState, mPkg); in getDexInfoList() 110 mPkgState.getPackageName(), dexInfo.dexPath()); in needsToBeShared() 158 return Utils.getAllAbis(mPkgState); in getAllAbis() 164 return PrimaryDexUtils.buildRefProfilePathAsInput(mPkgState, dexInfo); in buildRefProfilePathAsInput() 171 return PrimaryDexUtils.buildOutputProfile(mPkgState, dexInfo, Process.SYSTEM_UID, in buildOutputProfile() 178 return PrimaryDexUtils.getCurProfiles(mInjector.getUserManager(), mPkgState, dexInfo); in getCurProfiles() 188 return PackageStateModulesUtils.isLoadableInOtherProcesses(mPkgState, true /* codeOnly */); in isSharedLibrary()
|
D | SecondaryDexopter.java | 71 mPkgState.getPackageName(), true /* excludeObsoleteDexesAndLoaders */); in getDexInfoList() 115 SeContext seContext = AidlUtils.buildSeContext(mPkgState.getSeInfo(), uid); in getPermissionSettings() 122 return Utils.getAllAbisForNames(dexInfo.abiNames(), mPkgState); in getAllAbis() 154 return dexInfo.userHandle().getUid(mPkgState.getAppId()); in getUid()
|
D | Dexopter.java | 75 @NonNull protected final PackageState mPkgState; field in Dexopter 85 mPkgState = pkgState; in Dexopter() 287 mPkgState.getPackageName(), dexInfo.dexPath(), abi.isa(), in dexopt() 300 mPkgState.getPackageName(), result)); in dexopt() 350 if (mInjector.isSystemUiPackage(mPkgState.getPackageName())) { in adjustCompilerFilter() 356 } else if (mInjector.isLauncherPackage(mPkgState.getPackageName())) { in adjustCompilerFilter() 368 return callback.get().onAdjustCompilerFilter(mPkgState.getPackageName(), in adjustCompilerFilter() 432 mPkgState.getPackageName(), oldCompilerFilter, newCompilerFilter, reason)); in printAdjustCompilerFilterReason() 467 mPkgState.getPackageName(), mPkg.getVersionName(), in getDexoptOptions() 481 return mPkgState.getHiddenApiEnforcementPolicy() in isHiddenApiPolicyEnabled() [all …]
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | PrimaryDexopterTestBase.java | 68 protected PackageState mPkgState; field in PrimaryDexopterTestBase 80 mPkgState = createPackageState(); in setUp() 81 mPkg = mPkgState.getAndroidPackage(); in setUp()
|
D | PrimaryDexopterTest.java | 154 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in setUp() 412 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptMergesProfilesForceMerge() 759 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptBaseApk() 781 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptSplitApk() 804 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptStorageLow() 842 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptDexStatus() 870 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptPreRebootDexNotFound() 883 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptPreRebootSomeDexNotFound() 902 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptPreRebootArtifactsExist() 943 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in testDexoptNotAffectedByPreRebootArtifacts() [all …]
|
D | SecondaryDexopterTest.java | 111 private PackageState mPkgState; field in SecondaryDexopterTest 121 mPkgState = createPackageState(); in setUp() 122 mPkg = mPkgState.getAndroidPackage(); in setUp() 171 mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in setUp()
|
D | PrimaryDexopterParameterizedTest.java | 243 .when(mPkgState.getHiddenApiEnforcementPolicy()) in setUp() 270 lenient().when(mPkgState.getAppId()).thenReturn(-1); in setUp() 290 new PrimaryDexopter(mInjector, mPkgState, mPkg, mDexoptParams, mCancellationSignal); in setUp()
|