/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | MockTestDeviceHelper.java | 44 invocation -> { in injectShellResponse() 45 IShellOutputReceiver receiver = invocation.getArgument(1); in injectShellResponse() 55 invocation -> { in injectShellResponse() 56 IShellOutputReceiver receiver = invocation.getArgument(1); in injectShellResponse() 89 invocation -> { in injectShellResponse() 90 IShellOutputReceiver receiver = invocation.getArgument(1); in injectShellResponse() 106 invocation -> { in injectShellResponse() 107 IShellOutputReceiver receiver = invocation.getArgument(1); in injectShellResponse()
|
/tools/asuite/atest/logstorage/ |
D | logstorage_utils.py | 206 invocation = { 228 return self.client.invocation().insert(body=invocation).execute() 230 def update_invocation(self, invocation): argument 245 self.client.invocation() 246 .list(invocationId=invocation['invocationId'], maxResults=10) 262 invocation['revision'] = latest_revision 264 self.client.invocation() 265 .update(resourceId=invocation['invocationId'], body=invocation)
|
/tools/tradefederation/core/proto/invocation/ |
D | invocation_manager.proto | 18 package tradefed.invocation.server; 20 option java_package = "com.proto.tradefed.invocation"; 26 // The Tradefed invocation service provides TF test lifecycle management. 30 // Query the invocation detail info of a specific test command. 32 // Request an invocation to be stopped, non-blocking. 55 // Request the invocation to stop 64 // Type of invocation status 93 // Type of invocation status 106 // Reason for the status of the invocation 110 // Query invocation detail request. [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryHostTest.java | 162 for (Invocation invocation : invocations) { in runSingleRustFile() 163 boolean success = countTests(invocation, foundTests); in runSingleRustFile() 180 for (Invocation invocation : invocations) { in runSingleRustFile() 182 runTest(listener, invocation, file.getName()); in runSingleRustFile() 195 private boolean countTests(Invocation invocation, Set<String> foundTests) { in countTests() argument 196 CommandResult listResult = runInvocation(invocation, "--list"); in countTests() 207 String.join(" ", invocation.command) + " --list", in countTests() 214 private CommandResult runInvocation(final Invocation invocation, final String... extraArgs) { in runInvocation() argument 216 runUtil.setWorkingDir(invocation.workingDir); in runInvocation() 220 for (EnvPair envPair : invocation.env) { in runInvocation() [all …]
|
D | RustBinaryTest.java | 161 final Invocation invocation, IShellOutputReceiver receiver, final String... extraArgs) in runInvocation() argument 166 commandBuilder.append(invocation.workingDir); in runInvocation() 169 for (EnvPair envPair : invocation.env) { in runInvocation() 177 for (String arg : invocation.command) { in runInvocation() 216 for (Invocation invocation : invocations) { in runTest() 219 runInvocation(invocation, receiver, "--list"); in runTest() 231 for (Invocation invocation : invocations) { in runTest() 234 invocation.env.add(new EnvPair("GCOV_PREFIX", "/data/misc/trace")); in runTest() 239 runInvocation(invocation, resultParser); in runTest()
|
/tools/tradefederation/core/javatests/com/android/tradefed/service/management/ |
D | TestInvocationManagementServerTest.java | 32 import com.proto.tradefed.invocation.InvocationDetailRequest; 33 import com.proto.tradefed.invocation.InvocationDetailResponse; 34 import com.proto.tradefed.invocation.InvocationStatus; 35 import com.proto.tradefed.invocation.NewTestCommandRequest; 36 import com.proto.tradefed.invocation.NewTestCommandResponse; 37 import com.proto.tradefed.invocation.StopInvocationRequest; 38 import com.proto.tradefed.invocation.StopInvocationResponse; 83 invocation -> { in testSubmitTestCommand_andDetails() 84 Object listeners = invocation.getArgument(0); in testSubmitTestCommand_andDetails() 138 invocation -> { in testSubmitTestCommand_reservedDevice() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/logger/ |
D | InvocationLocalTest.java | 43 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/javatests/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTestTest.java | 140 invocation -> { in testRun_withPythonBinariesOption() 146 invocation -> { in testRun_withPythonBinariesOption() 181 invocation -> { in testRun_withParFileNameOption() 187 invocation -> { in testRun_withParFileNameOption() 227 invocation -> { in testRun_withStdLogOption() 236 invocation -> { in testRun_withStdLogOption() 255 invocation -> { in testRun_testResultIsMissing() 261 invocation -> { in testRun_testResultIsMissing() 277 invocation -> { in testRun_shouldActivateVenvAndCleanUp_whenVenvIsSet() 287 invocation -> { in testRun_shouldActivateVenvAndCleanUp_whenVenvIsSet() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/service/management/ |
D | TestInvocationManagementServer.java | 31 import com.proto.tradefed.invocation.CommandErrorInfo; 32 import com.proto.tradefed.invocation.InvocationDetailRequest; 33 import com.proto.tradefed.invocation.InvocationDetailResponse; 34 import com.proto.tradefed.invocation.InvocationStatus; 35 import com.proto.tradefed.invocation.InvocationStatus.Status; 36 import com.proto.tradefed.invocation.NewTestCommandRequest; 37 import com.proto.tradefed.invocation.NewTestCommandResponse; 38 import com.proto.tradefed.invocation.ShutdownTradefedRequest; 39 import com.proto.tradefed.invocation.ShutdownTradefedResponse; 40 import com.proto.tradefed.invocation.StopInvocationRequest; [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/helper/ |
D | TelephonyHelperTest.java | 62 invocation -> { in testGetSimInfo() 64 (ITestInvocationListener) invocation.getArguments()[1]; in testGetSimInfo() 101 invocation -> { in testGetSimInfo_instrumentationFailed() 103 (ITestInvocationListener) invocation.getArguments()[1]; in testGetSimInfo_instrumentationFailed() 121 invocation -> { in testGetSimInfo_simTest_not_run() 123 (ITestInvocationListener) invocation.getArguments()[1]; in testGetSimInfo_simTest_not_run() 140 invocation -> { in testGetSimInfo_simTest_failed() 142 (ITestInvocationListener) invocation.getArguments()[1]; in testGetSimInfo_simTest_failed()
|
/tools/asuite/atest/ |
D | test_runner_handler_unittest.py | 135 for invocation in invocations: 136 build_targets |= invocation.get_test_runner_reqs() 145 invocation = test_runner_handler.TestRunnerInvocation( 151 exit_code = invocation.run_all_tests(mock.MagicMock()) 160 invocation = test_runner_handler.TestRunnerInvocation( 166 exit_code = invocation.run_all_tests(mock.MagicMock())
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/host/ |
D | CoverageMeasurementForwarderTest.java | 98 invocation -> { in setUp() 99 Object[] args = invocation.getArguments(); in setUp() 110 invocation -> { in setUp() 111 Object[] args = invocation.getArguments(); in setUp() 122 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT1)) in setUp() 125 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT2)) in setUp() 128 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT3)) in setUp() 131 doAnswer(invocation -> mockBuildArtifact(MEASUREMENT4)) in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 146 invocation -> { in testRun() 147 OutputStream stream = (OutputStream) invocation.getArguments()[2]; in testRun() 201 invocation -> { in testRun_failWithIncludeFilters() 258 invocation -> { in testRun_withIncludeFilters() 259 OutputStream stream = (OutputStream) invocation.getArguments()[2]; in testRun_withIncludeFilters() 327 invocation -> { in testRun_withExcludeFilters() 328 OutputStream stream = (OutputStream) invocation.getArguments()[2]; in testRun_withExcludeFilters() 390 invocation -> { in testRun_withAdbPath() 391 OutputStream stream = (OutputStream) invocation.getArguments()[2]; in testRun_withAdbPath() 448 invocation -> { in testRun_withSharedLibInHostTestsDir() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/remote/ |
D | GcsRemoteFileResolverTest.java | 132 invocation -> { in testResolve_unzip() 133 File destFile = (File) invocation.getArgument(0); in testResolve_unzip() 173 invocation -> { in testResolve_notZip() 174 File destFile = (File) invocation.getArgument(0); in testResolve_notZip() 208 invocation -> { in testResolve_notZip_parallel() 209 File destFile = (File) invocation.getArgument(0); in testResolve_notZip_parallel()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | RemoteZipTest.java | 67 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/tradefederation/core/javatests/com/android/tradefed/build/ |
D | FileDownloadCacheFuncTest.java | 41 import org.mockito.invocation.InvocationOnMock; 88 invocation -> { in testFetchRemoteFile_concurrent() 90 File fileArg = (File) invocation.getArguments()[1]; in testFetchRemoteFile_concurrent() 143 public Void answer(InvocationOnMock invocation) throws Throwable { in testFetchRemoteFile_multiConcurrent() 150 File fileArg = (File) invocation.getArguments()[1]; in testFetchRemoteFile_multiConcurrent() 212 invocation -> { in testFetchRemoteFile_concurrentFail() 221 File fileArg = (File) invocation.getArguments()[1]; in testFetchRemoteFile_concurrentFail()
|
D | DeviceFolderBuildInfoTest.java | 35 import org.mockito.invocation.InvocationOnMock; 59 public Object answer(InvocationOnMock invocation) throws Throwable { in setUp() 60 File mountDir = (File) invocation.getArgument(0); in setUp()
|
/tools/tradefederation/core/aoa_helper/javatests/com/android/helper/aoa/ |
D | UsbHelperTest.java | 66 invocation -> { in setUp() 68 (PointerByReference) invocation.getArguments()[0]; in setUp() 75 invocation -> { in setUp() 77 (PointerByReference) invocation.getArguments()[1]; in setUp()
|
D | UsbDeviceTest.java | 60 invocation -> { in setUp() 62 (PointerByReference) invocation.getArguments()[1]; in setUp()
|
/tools/asuite/atest/tf_proto/ |
D | invocation_context.proto | 28 // 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/proto/ |
D | invocation_context.proto | 28 // 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/javatests/com/android/tradefed/targetprep/ |
D | TestFilePushSetupTest.java | 113 invocation -> { in testSetup() 114 return mDeviceLocationList.remove(invocation.getArguments()[1]); in testSetup() 118 invocation -> { in testSetup() 119 return mDeviceLocationList.remove(invocation.getArguments()[1]); in testSetup()
|
D | DynamicSystemPreparerTest.java | 43 import org.mockito.invocation.InvocationOnMock; 130 public Object answer(InvocationOnMock invocation) { in mockGsiToolStatus() 132 ((CollectingOutputReceiver) invocation.getArguments()[1]) in mockGsiToolStatus() 268 public Boolean answer(InvocationOnMock invocation) in testImageSetup() 270 File dsuZip = (File) invocation.getArguments()[0]; in testImageSetup()
|
/tools/asuite/atest/test_runners/ |
D | mobly_test_runner.py | 208 def invocation(self): member in MoblyResultUploader 321 buildId=self.invocation['primaryBuild']['buildId'], 322 target=self.invocation['primaryBuild']['buildTarget'], 342 self.invocation['runner'] = 'mobly' 343 self.invocation['schedulerState'] = 'completed' 344 logging.debug('Finalizing invocation: %s', self.invocation) 345 self._build_client.update_invocation(self.invocation) 896 'invocationId': uploader.invocation['invocationId'],
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatter.java | 505 SuiteResultHolder invocation = new SuiteResultHolder(); in parseResults() local 514 invocation.startTime = Long.valueOf(parser.getAttributeValue(NS, START_TIME_ATTR)); in parseResults() 515 invocation.endTime = Long.valueOf(parser.getAttributeValue(NS, END_TIME_ATTR)); in parseResults() 516 invocation.hostName = parser.getAttributeValue(NS, HOST_NAME_ATTR); in parseResults() 556 invocation.completeModules = in parseResults() 558 invocation.totalModules = in parseResults() 560 invocation.passedTests = Integer.parseInt(parser.getAttributeValue(NS, PASS_ATTR)); in parseResults() 561 invocation.failedTests = Integer.parseInt(parser.getAttributeValue(NS, FAILED_ATTR)); in parseResults() 572 invocation.runResults = results; in parseResults() 573 invocation.modulesAbi = moduleAbis; in parseResults() [all …]
|