Home
last modified time | relevance | path

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

/art/libartservice/service/javatests/com/android/server/art/
DPreRebootDexoptJobTest.java102 invocation -> new PreRebootStatsReporter(mPreRebootStatsReporterInjector)); in setUp()
110 lenient().when(mJobScheduler.schedule(any())).thenAnswer(invocation -> { in setUp()
111 mJobInfo = invocation.<JobInfo>getArgument(0); in setUp()
119 .doAnswer(invocation -> { in setUp()
127 lenient().when(mJobScheduler.getPendingJob(JOB_ID)).thenAnswer(invocation -> { in setUp()
237 .thenAnswer(invocation -> { in testStart()
243 .thenAnswer(invocation -> { in testStart()
274 when(mPreRebootDriver.run(any(), anyBoolean(), any())).thenAnswer(invocation -> { in testCancel()
275 var cancellationSignal = invocation.<CancellationSignal>getArgument(2); in testCancel()
295 when(mPreRebootDriver.run(any(), anyBoolean(), any())).thenAnswer(invocation -> { in testSyncCancel()
[all …]
DArtdRefCacheTest.java63 .thenAnswer(invocation -> mMockClock.createScheduledExecutor()); in setUp()
161 doAnswer(invocation -> null) in testBinderDied()
184 doAnswer(invocation -> null) in testComplex()
DBackgroundDexoptJobTest.java110 .doAnswer(invocation -> { in setUp()
141 .thenAnswer(invocation -> { in testStartAlreadyRunning()
195 .thenAnswer(invocation -> { in testCancel()
197 var cancellationSignal = invocation.<CancellationSignal>getArgument(2); in testCancel()
DPrimaryDexopterTest.java683 doAnswer(invocation -> { in testDexoptCancelledBeforeDexopt()
715 doAnswer(invocation -> { in testDexoptCancelledDuringDexopt()
723 doAnswer(invocation -> { in testDexoptCancelledDuringDexopt()
981 lenient().when(mArtd.isProfileUsable(deepEq(profile), any())).thenAnswer(invocation -> { in makeProfileUsable()
982 mUsedProfiles.add(invocation.<ProfilePath>getArgument(0)); in makeProfileUsable()
987 .thenAnswer(invocation -> { in makeProfileUsable()
988 mUsedProfiles.add(invocation.<ProfilePath>getArgument(0)); in makeProfileUsable()
996 .thenAnswer(invocation -> { in makeEmbeddedProfileUsable()
997 mUsedEmbeddedProfiles.add(invocation.<String>getArgument(1)); in makeEmbeddedProfileUsable()
DDexoptHelperTest.java310 when(mPrimaryDexopter.dexopt()).thenAnswer(invocation -> { in testDexoptCancelledBetweenDex2oatInvocations()
349 when(mInjector.getPrimaryDexopter(any(), any(), any(), any())).thenAnswer(invocation -> { in testDexoptCancelledDuringDex2oatInvocationsMultiThreaded()
350 var cancellationSignal = invocation.<CancellationSignal>getArgument(3); in testDexoptCancelledDuringDex2oatInvocationsMultiThreaded()
398 when(mInjector.getPrimaryDexopter(any(), any(), any(), any())).thenAnswer(invocation -> { in testDexoptCancelledDuringDex2oatInvocationsOnCurrentThread()
399 var cancellationSignal = invocation.<CancellationSignal>getArgument(3); in testDexoptCancelledDuringDex2oatInvocationsOnCurrentThread()
DArtManagerLocalTest.java190 invocation -> new PreRebootStatsReporter(mPreRebootStatsReporterInjector)); in setUp()
882 .thenAnswer(invocation -> { in testSnapshotAppProfile()
888 var output = invocation.<OutputProfile>getArgument(2); in testSnapshotAppProfile()
922 .thenAnswer(invocation -> { in testSnapshotAppProfileFromDm()
923 var output = invocation.<OutputProfile>getArgument(1); in testSnapshotAppProfileFromDm()
936 .thenAnswer(invocation -> { in testSnapshotAppProfileFromDm()
937 var output = invocation.<OutputProfile>getArgument(2); in testSnapshotAppProfileFromDm()
DDexUseManagerTest.java168 .thenAnswer(invocation -> mMockClock.createScheduledExecutor()); in setUp()
/art/test/713-varhandle-invokers/
Dinfo.txt1 Tests invocation of VarHandles wrapped with MethodHandles.
/art/test/530-regression-lse/
Dinfo.txt1 Regression test (b/72440777) for load store elimination across invocation
/art/test/2000-virtual-list-structural/
DAbstractCollection.patch4 * Sole constructor. (For invocation by subclass constructors, typically
/art/tools/bisection_search/
DREADME.md18 There are two supported invocation modes:
20 1. Regular invocation, dalvikvm command is constructed internally:
24 2. Raw-cmd invocation, dalvikvm command is accepted as an argument.
/art/test/656-annotation-lookup-generic-jni/
Dinfo.txt1 Non-regression test for b/38454151, where the invocation of a native
/art/test/954-invoke-polymorphic-verifier/
Dexpected-stdout.txt4 …oid TooFewArguments.<init>(): void TooFewArguments.<init>(): Rejecting invocation, expected 2 argu…
5 …d TooManyArguments.<init>(): void TooManyArguments.<init>(): Rejecting invocation, expected 4 argu…
/art/test/044-proxy/
Dexpected-stdout.txt98 Proxy narrowed invocation return type passed
/art/test/
DREADME.md52 To see the invocation options supported by `run-test` and `testrunner.py`, run
/art/dex2oat/
Ddex2oat.cc987 std::string invocation(oss.str()); in InsertCompileOptions() local
989 invocation.c_str(), in InsertCompileOptions()
990 invocation.size())) == -1) { in InsertCompileOptions()