Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java467 SuiteResultHolder invocation = new SuiteResultHolder(); in parseResults() local
476 invocation.startTime = Long.valueOf(parser.getAttributeValue(NS, START_TIME_ATTR)); in parseResults()
477 invocation.endTime = Long.valueOf(parser.getAttributeValue(NS, END_TIME_ATTR)); in parseResults()
478 invocation.hostName = parser.getAttributeValue(NS, HOST_NAME_ATTR); in parseResults()
518 invocation.completeModules = in parseResults()
520 invocation.totalModules = in parseResults()
522 invocation.passedTests = Integer.parseInt(parser.getAttributeValue(NS, PASS_ATTR)); in parseResults()
523 invocation.failedTests = Integer.parseInt(parser.getAttributeValue(NS, FAILED_ATTR)); in parseResults()
534 invocation.runResults = results; in parseResults()
535 invocation.modulesAbi = moduleAbis; in parseResults()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarderTest.java96 invocation -> { in setUp()
97 Object[] args = invocation.getArguments(); in setUp()
108 invocation -> { in setUp()
109 Object[] args = invocation.getArguments(); in setUp()
120 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT1)) in setUp()
123 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT2)) in setUp()
126 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT3)) in setUp()
129 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT4)) in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/
DInvocationLocalTest.java43 Object actual = invocation(() -> local.get()); in getInitialValueDefaultsToNull()
59 String actual = invocation(() -> local.get()); in getReturnsCustomInitialValue()
74 ImmutableSet<Object> values = invocation(() -> ImmutableSet.of(local.get(), local.get())); in getReturnsSameInitialValue()
89 Object value0 = invocation(() -> local.get()); in getReturnsDifferentValuePerInvocation()
90 Object value1 = invocation(() -> local.get()); in getReturnsDifferentValuePerInvocation()
99 private <T> T invocation(Callable<T> callable) { in invocation() method in InvocationLocalTest
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java52 import org.mockito.invocation.InvocationOnMock;
303 public CommandResult answer(InvocationOnMock invocation) in testRunHostExecutable_failure()
305 OutputStream outputStream = invocation.getArgument(1); in testRunHostExecutable_failure()
349 public CommandResult answer(InvocationOnMock invocation) in testRunHostExecutable_timeout()
351 OutputStream outputStream = invocation.getArgument(1); in testRunHostExecutable_timeout()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRemoteZipTest.java67 invocation -> { in setUp()
68 File destFile = (File) invocation.getArgument(1); in setUp()
69 long startOffset = (long) invocation.getArgument(2); in setUp()
70 long size = (long) invocation.getArgument(3); in setUp()
/tools/asuite/atest/unittest_data/
Dtest_record.proto.testonly29 v1�/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir1684182268134399163…
31 v1�/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir1684182268134399163…
33 1^/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir168418226813439916382…
69 v1�/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir1684182268134399163…
71 v1�/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir1684182268134399163…
73 1^/tmp/tradefed-invocation-workfolder11786903975647270050/bootstrap-test-dir168418226813439916382…
76 invocation-id1
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTestTest.java54 import org.mockito.invocation.InvocationOnMock;
114 public CommandResult answer(InvocationOnMock invocation) in testRun_withPythonBinariesOption()
151 public CommandResult answer(InvocationOnMock invocation) in testRun_withParFileNameOption()
197 public CommandResult answer(InvocationOnMock invocation) in testRun_testResultIsMissing()
/tools/tradefederation/core/proto/
Dinvocation_context.proto28 // The invocation test tag to identify it.
33 // A list of Metadata representing the invocation attributes
37 // Optional, a context under the invocation representing a module.
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDynamicSystemPreparerTest.java40 import org.mockito.invocation.InvocationOnMock;
105 public Object answer(InvocationOnMock invocation) { in testSetUp()
107 ((CollectingOutputReceiver) invocation.getArguments()[1]) in testSetUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/statsd/
DMetricUtilTest.java47 import org.mockito.invocation.InvocationOnMock;
146 public Object answer(InvocationOnMock invocation) { in answer() argument
147 ((CollectingByteOutputReceiver) invocation.getArguments()[1]) in answer()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java37 import org.mockito.invocation.InvocationOnMock;
139 public Void answer(InvocationOnMock invocation) throws Throwable { in testFetchRemoteFile_multiConcurrent()
146 File fileArg = (File) invocation.getArguments()[1]; in testFetchRemoteFile_multiConcurrent()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java58 import org.mockito.invocation.InvocationOnMock;
212 public CommandResult answer(InvocationOnMock invocation) throws Throwable { in setUpDeviceWithSuper()
213 Assert.assertTrue(invocation.getArguments().length >= 10); in setUpDeviceWithSuper()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DDebugHostLogOnFailureCollectorTest.java94 invocation -> { in testCollect()
96 (InputStreamSource) invocation.getArgument(2); in testCollect()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestTest.java79 import org.mockito.invocation.InvocationOnMock;
126 default Boolean answer(InvocationOnMock invocation) throws Exception { in answer() argument
127 Object[] args = invocation.getArguments(); in answer()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1966 public synchronized boolean stopInvocation(ITestInvocation invocation) { in stopInvocation() argument
1968 if (thread.getInvocation() == invocation) { in stopInvocation()
DICommandScheduler.java238 public boolean stopInvocation(ITestInvocation invocation) throws UnsupportedOperationException; in stopInvocation() argument
/tools/tradefederation/core/invocation_interfaces/
DAndroid.bp16 name: "tradefed-invocation-interfaces",
/tools/tradefederation/core/
DAndroid.bp142 "tradefed-invocation-interfaces",
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileNotificationTest.java404 Mockito.doAnswer((invocation) -> { in notifyTwiceEntriesWrittenIfCdChanged() argument
/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md128 Open dex file function invocation
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dplugin.proto137 // inserts into it must both run as part of a single invocation of protoc.
/tools/repohooks/tools/
Dspelling.txt667 invokation||invocation