Home
last modified time | relevance | path

Searched refs:dexopt (Results 1 – 16 of 16) sorted by relevance

/art/libartservice/service/javatests/com/android/server/art/
DPrimaryDexopterTest.java138 .when(mArtd.dexopt(any(), any(), any(), any(), any(), any(), any(), any(), anyInt(), in setUp()
168 .dexopt(any(), eq(mDexPath), eq("arm64"), any(), any(), any(), isNull(), any(), in testDexoptInputVdex()
177 .dexopt(any(), eq(mDexPath), eq("arm"), any(), any(), any(), in testDexoptInputVdex()
188 .dexopt(any(), eq(mSplit0DexPath), eq("arm64"), any(), any(), any(), in testDexoptInputVdex()
199 .dexopt(any(), eq(mSplit0DexPath), eq("arm"), any(), any(), any(), isNull(), any(), in testDexoptInputVdex()
202 List<DexContainerFileDexoptResult> results = mPrimaryDexopter.dexopt(); in testDexoptInputVdex()
211 List<DexContainerFileDexoptResult> results = mPrimaryDexopter.dexopt(); in testDexoptDm()
215 .dexopt(any(), eq(mDexPath), any(), any(), any(), any(), any(), deepEq(mDmFile), in testDexoptDm()
221 .dexopt(any(), eq(mSplit0DexPath), any(), any(), any(), any(), any(), isNull(), in testDexoptDm()
238 List<DexContainerFileDexoptResult> results = mPrimaryDexopter.dexopt(); in testDexoptUsesRefProfile()
[all …]
DDexoptHelperTest.java142 lenient().when(mPrimaryDexopter.dexopt()).thenReturn(mPrimaryResults); in setUp()
147 lenient().when(mSecondaryDexopter.dexopt()).thenReturn(mSecondaryResults); in setUp()
175 lenient().when(failingPrimaryDexopter.dexopt()).thenReturn(partialFailureResults); in testDexopt()
179 DexoptResult result = mDexoptHelper.dexopt( in testDexopt()
242 DexoptResult result = mDexoptHelper.dexopt( in testDexoptNoDependencies()
265 DexoptResult result = mDexoptHelper.dexopt( in testDexoptPrimaryOnly()
294 DexoptResult result = mDexoptHelper.dexopt( in testDexoptPrimaryOnlyNoDependencies()
310 when(mPrimaryDexopter.dexopt()).thenAnswer(invocation -> { in testDexoptCancelledBetweenDex2oatInvocations()
315 DexoptResult result = mDexoptHelper.dexopt( in testDexoptCancelledBetweenDex2oatInvocations()
352 when(dexopter.dexopt()).thenAnswer(innerInvocation -> { in testDexoptCancelledDuringDex2oatInvocationsMultiThreaded()
[all …]
DArtManagerLocalTest.java529 when(mDexoptHelper.dexopt(any(), deepEq(List.of(PKG_NAME_1)), same(params), in testDexoptPackage()
543 when(mDexoptHelper.dexopt( in testResetDexoptStatus()
595 .dexopt(any(), deepEq(List.of(PKG_NAME_2, PKG_NAME_1)), in testDexoptPackages()
605 .dexopt(any(), any(), argThat(params -> params.getReason().equals("inactive")), in testDexoptPackages()
623 .dexopt(any(), inAnyOrder(PKG_NAME_1, PKG_NAME_2), in testDexoptPackagesRecentlyInstalled()
632 .dexopt(any(), any(), argThat(params -> params.getReason().equals("inactive")), in testDexoptPackagesRecentlyInstalled()
651 .dexopt(any(), deepEq(List.of(PKG_NAME_2)), in testDexoptPackagesInactive()
658 .dexopt(any(), deepEq(List.of(PKG_NAME_1)), in testDexoptPackagesInactive()
681 .dexopt(any(), deepEq(List.of(PKG_NAME_2)), in testDexoptPackagesInactiveStorageNotLow()
690 .dexopt(any(), any(), argThat(params -> params.getReason().equals("inactive")), in testDexoptPackagesInactiveStorageNotLow()
[all …]
DPrimaryDexopterParameterizedTest.java334 .dexopt(deepEq(buildOutputArtifacts("/somewhere/app/foo/base.apk", "arm64", in testDexopt()
349 .dexopt(deepEq(buildOutputArtifacts("/somewhere/app/foo/base.apk", "arm", in testDexopt()
371 .dexopt(deepEq(buildOutputArtifacts("/somewhere/app/foo/split_0.apk", "arm", in testDexopt()
390 assertThat(mPrimaryDexopter.dexopt()) in testDexopt()
415 .dexopt(any(), any(), any(), any(), any(), any(), any(), any(), anyInt(), any(), in testDexopt()
DSecondaryDexopterTest.java162 .when(mArtd.dexopt(any(), any(), any(), any(), any(), any(), any(), any(), anyInt(), in setUp()
176 assertThat(mSecondaryDexopter.dexopt()) in testDexopt()
331 artd.dexopt(deepEq(outputArtifacts), eq(dexPath), eq(isa), eq(classLoaderContext), in checkDexoptWithPrivateProfile()
341 artd.dexopt(deepEq(outputArtifacts), eq(dexPath), eq(isa), eq(classLoaderContext), in checkDexoptWithNoProfile()
/art/libartservice/service/
DREADME.md5 ART Service manages dexopt artifacts of apps. With ART Service, you can dexopt
6 apps, query their dexopt status (the compiler filter, the compilation reason,
7 whether the dexopt artifacts are up-to-date, etc.), and delete dexopt artifacts.
9 Note: ART Service is introduced in Android U. Prior to ART Service, dexopt
78 [dexopt scenarios](#dexopt-scenarios).
85 to `dex2oat` during dexopt for **app install**.
88 as background dexopt, but for compatibility reasons, the `-dm` suffix is not
107 - the device is idle and charging (Compilation reason: `bg-dexopt` /
112 that the list of apps to dexopt and the compiler filter, as well as other
120 If `pm.dexopt.downgrade_after_inactive_days` is set, during the first boot after
[all …]
/art/libartservice/service/java/com/android/server/art/
DDexoptHelper.java88 public DexoptResult dexopt(@NonNull PackageManagerLocal.FilteredSnapshot snapshot, in dexopt() method in DexoptHelper
91 return dexopt(snapshot, packageNames, params, cancellationSignal, dexoptExecutor, in dexopt()
100 public DexoptResult dexopt(@NonNull PackageManagerLocal.FilteredSnapshot snapshot, in dexopt() method in DexoptHelper
239 .dexopt()); in dexoptPackage()
249 .dexopt()); in dexoptPackage()
DArtManagerLocal.java379 return mInjector.getDexoptHelper().dexopt( in dexoptPackage()
505 DexoptResult mainResult = mInjector.getDexoptHelper().dexopt(snapshot, in dexoptPackages()
1212 return mInjector.getDexoptHelper().dexopt(snapshot, packages, params, in maybeDowngradePackages()
1270 return mInjector.getDexoptHelper().dexopt(snapshot, packageNames, dexoptParams, in maybeDexoptPackagesSupplementaryPass()
DDexopter.java97 public final List<DexContainerFileDexoptResult> dexopt() throws RemoteException { in dexopt() method in Dexopter
564 ArtdDexoptResult result = mInjector.getArtd().dexopt(outputArtifacts, in dexoptFile()
/art/dexopt_chroot_setup/
DREADME.md4 environment for Pre-reboot Dexopt, to dexopt apps on a best-effort basis before
/art/build/apex/
Dart.rc15 # A service that handles dexopt. See art/artd/README.md. It's a lazy service
/art/artd/binder/com/android/server/art/
DIArtd.aidl160 com.android.server.art.ArtdDexoptResult dexopt( in dexopt() method
/art/artd/
Dartd.h181 ndk::ScopedAStatus dexopt(
Dartd_test.cc430 ndk::ScopedAStatus status = artd_->dexopt(output_artifacts_, in RunDexopt()
681 TEST_F(ArtdTest, dexopt) { in TEST_F() argument
2871 TEST_F(ArtdPreRebootTest, dexopt) { in TEST_F() argument
Dartd.cc984 ndk::ScopedAStatus Artd::dexopt( in dexopt() function in art::artd::Artd
/art/libartservice/service/api/
Dsystem-server-current.txt67 field public static final String REASON_BG_DEXOPT = "bg-dexopt";