Home
last modified time | relevance | path

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

/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java181 invocation -> { in testBeforeClassMethodsAddedAsBeforeMethods()
182 Statement returnedStatement = (Statement) invocation.callRealMethod(); in testBeforeClassMethodsAddedAsBeforeMethods()
187 invocation.getArgument(0)); in testBeforeClassMethodsAddedAsBeforeMethods()
195 invocation -> { in testBeforeClassMethodsAddedAsBeforeMethods()
197 (List<FrameworkMethod>) invocation.getArgument(1); in testBeforeClassMethodsAddedAsBeforeMethods()
212 return invocation.callRealMethod(); in testBeforeClassMethodsAddedAsBeforeMethods()
235 invocation -> { in testAfterClassMethodsAddedAsAfterMethods()
236 Statement returnedStatement = (Statement) invocation.callRealMethod(); in testAfterClassMethodsAddedAsAfterMethods()
250 invocation -> { in testAfterClassMethodsAddedAsAfterMethods()
251 Statement returnedStatement = (Statement) invocation.callRealMethod(); in testAfterClassMethodsAddedAsAfterMethods()
[all …]
DLongevitySuiteTest.java125 invocation -> { in testReportingIteration_notSet()
127 (LongevityClassRunner) invocation.callRealMethod(); in testReportingIteration_notSet()
161 invocation -> { in testReportingIteration_set()
163 (LongevityClassRunner) invocation.callRealMethod(); in testReportingIteration_set()
204 invocation -> { in testAdditionalRunners()
206 (LongevityClassRunner) invocation.callRealMethod(); in testAdditionalRunners()
DProfileSuiteTest.java197 invocation -> { in testTimestampScheduling_respectsSchedule()
199 invocation.callRealMethod(); in testTimestampScheduling_respectsSchedule()
205 invocation -> { in testTimestampScheduling_respectsSchedule()
210 invocation.callRealMethod(); in testTimestampScheduling_respectsSchedule()
222 invocation -> { in testTimestampScheduling_respectsSchedule()
230 invocation.callRealMethod(); in testTimestampScheduling_respectsSchedule()
/platform_testing/libraries/rdroidtest/macro/
Dlib.rs47 let invocation = match (param_gen, ignore_if) { in rdroidtest() localVariable
55 stream.extend([invocation]); in rdroidtest()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultHandler.java179 IInvocationResult invocation = new InvocationResult(); in getResultFromDir() local
180 invocation.setRetryDirectory(resultDir); in getResultFromDir()
185 invocation.setRetryChecksumStatus(RetryChecksumStatus.RetryWithChecksum); in getResultFromDir()
188 invocation.setRetryChecksumStatus(RetryChecksumStatus.RetryWithoutChecksum); in getResultFromDir()
198 invocation.setStartTime(Long.valueOf( in getResultFromDir()
200 invocation.setTestPlan(parser.getAttributeValue(NS, SUITE_PLAN_ATTR)); in getResultFromDir()
201 invocation.setCommandLineArgs(parser.getAttributeValue(NS, COMMAND_LINE_ARGS)); in getResultFromDir()
204 invocation.addDeviceSerial(device); in getResultFromDir()
209 invocation.addInvocationInfo(BUILD_ID, parser.getAttributeValue(NS, BUILD_ID)); in getResultFromDir()
210 invocation.addInvocationInfo(BUILD_PRODUCT, parser.getAttributeValue(NS, in getResultFromDir()
[all …]
DChecksumReporter.java372 private static int countTestResults(IInvocationResult invocation) { in countTestResults() argument
374 for (IModuleResult module : invocation.getModules()) { in countTestResults()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioCapturerTests.java128 invocation -> { in attachOutput_attachesOutputSuccessfully_outputStream()
129 byte[] buffer = (byte[]) invocation.getArgument(0); in attachOutput_attachesOutputSuccessfully_outputStream()
169 invocation -> { in attachOutput_attachesOutputSuccessfully_file()
170 byte[] buffer = (byte[]) invocation.getArgument(0); in attachOutput_attachesOutputSuccessfully_file()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DDex2oatPressureRuleTest.java81 invocation -> { in setUp()
83 String pkg = invocation.getArgument(0); in setUp()
139 invocation -> { in testSchedulesCompilationUntilTestEnds()
141 invocation.callRealMethod(); in testSchedulesCompilationUntilTestEnds()
165 invocation -> { in testNoAdditionalCompilationIsTriggeredAfterTestFinishes()
166 invocation.callRealMethod(); in testNoAdditionalCompilationIsTriggeredAfterTestFinishes()
DCoolDownRuleTest.java33 import org.mockito.invocation.InvocationOnMock;
289 invocation -> { in getUiDevice()
295 invocation -> { in getUiDevice()
392 public Double answer(InvocationOnMock invocation) {
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DAudioTestHarnessImplTests.java145 (invocation -> { in capture_callsStopOnSessionWhenCanceled()
147 streamObserverReference.set(invocation.getArgument(0)); in capture_callsStopOnSessionWhenCanceled()
152 (invocation) -> { in capture_callsStopOnSessionWhenCanceled() argument
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoTracingPerRunStrategyTest.java75 invocation -> { in setUp()
76 Runnable runnable = invocation.getArgument(0); in setUp()
DPerfettoTracingPerTestStrategyTest.java80 invocation -> { in setUp()
81 Runnable runnable = invocation.getArgument(0); in setUp()
DPerfettoTracingPerClassStrategyTest.java74 invocation -> { in setUp()
75 Runnable runnable = invocation.getArgument(0); in setUp()
DPerfettoListenerTest.java90 invocation -> { in setUp()
91 Runnable runnable = invocation.getArgument(0); in setUp()
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java126 doAnswer(invocation -> invocation.getArgument(0)).when(mListener).writeToFile(any(), any()); in setUp()