Home
last modified time | relevance | path

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

/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DLongevityClassRunnerTest.java121 invocation -> { in testBeforeClassMethodsAddedAsBeforeMethods()
122 Statement returnedStatement = (Statement) invocation.callRealMethod(); in testBeforeClassMethodsAddedAsBeforeMethods()
127 invocation.getArgument(0)); in testBeforeClassMethodsAddedAsBeforeMethods()
135 invocation -> { in testBeforeClassMethodsAddedAsBeforeMethods()
137 (List<FrameworkMethod>) invocation.getArgument(1); in testBeforeClassMethodsAddedAsBeforeMethods()
152 return invocation.callRealMethod(); in testBeforeClassMethodsAddedAsBeforeMethods()
175 invocation -> { in testAfterClassMethodsAddedAsAfterMethods()
176 Statement returnedStatement = (Statement) invocation.callRealMethod(); in testAfterClassMethodsAddedAsAfterMethods()
190 invocation -> { in testAfterClassMethodsAddedAsAfterMethods()
191 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.java195 invocation -> { in testTimestampScheduling_respectsSchedule()
197 invocation.callRealMethod(); in testTimestampScheduling_respectsSchedule()
203 invocation -> { in testTimestampScheduling_respectsSchedule()
208 invocation.callRealMethod(); in testTimestampScheduling_respectsSchedule()
220 invocation -> { in testTimestampScheduling_respectsSchedule()
228 invocation.callRealMethod(); in testTimestampScheduling_respectsSchedule()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultHandler.java174 IInvocationResult invocation = new InvocationResult(); in getResultFromDir() local
175 invocation.setRetryDirectory(resultDir); in getResultFromDir()
180 invocation.setRetryChecksumStatus(RetryChecksumStatus.RetryWithChecksum); in getResultFromDir()
183 invocation.setRetryChecksumStatus(RetryChecksumStatus.RetryWithoutChecksum); in getResultFromDir()
193 invocation.setStartTime(Long.valueOf( in getResultFromDir()
195 invocation.setTestPlan(parser.getAttributeValue(NS, SUITE_PLAN_ATTR)); in getResultFromDir()
196 invocation.setCommandLineArgs(parser.getAttributeValue(NS, COMMAND_LINE_ARGS)); in getResultFromDir()
199 invocation.addDeviceSerial(device); in getResultFromDir()
204 invocation.addInvocationInfo(BUILD_ID, parser.getAttributeValue(NS, BUILD_ID)); in getResultFromDir()
205 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.java140 (invocation -> { in capture_callsStopOnSessionWhenCanceled()
142 streamObserverReference.set(invocation.getArgument(0)); in capture_callsStopOnSessionWhenCanceled()
147 (invocation) -> { in capture_callsStopOnSessionWhenCanceled() argument
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoListenerTest.java89 invocation -> { in setUp()
90 Runnable 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()