Home
last modified time | relevance | path

Searched refs:InvocationContext (Results 1 – 25 of 75) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java28 import com.android.tradefed.invoker.proto.InvocationContext.Context;
48 private InvocationContext mContext;
52 mContext = new InvocationContext(); in setUp()
134 InvocationContext deserialized = in testSerialize()
135 (InvocationContext) SerializationUtil.deserialize(ser, true); in testSerialize()
154 InvocationContext context = new InvocationContext(); in testProtoSerialize()
167 InvocationContext deserialized = InvocationContext.fromProto(protoContext); in testProtoSerialize()
175 InvocationContext context = new InvocationContext(); in testProtoSerialize_moduleContext()
180 InvocationContext moduleContext = new InvocationContext(); in testProtoSerialize_moduleContext()
189 InvocationContext deserialized = InvocationContext.fromProto(protoContext); in testProtoSerialize_moduleContext()
DShardMasterResultForwarderTest.java66 IInvocationContext main = new InvocationContext(); in testForwardBuildInfo()
72 InvocationContext shard1 = new InvocationContext(); in testForwardBuildInfo()
78 InvocationContext shard2 = new InvocationContext(); in testForwardBuildInfo()
100 IInvocationContext main = new InvocationContext(); in testForwardBuildInfo_multiDevice()
111 InvocationContext shard1 = new InvocationContext(); in testForwardBuildInfo_multiDevice()
122 InvocationContext shard2 = new InvocationContext(); in testForwardBuildInfo_multiDevice()
160 IInvocationContext main = new InvocationContext(); in testForward_Sharded()
DShardListenerTest.java55 mContext = new InvocationContext(); in setUp()
99 IInvocationContext module1 = new InvocationContext(); in testBufferAndReplay_withModule()
100 IInvocationContext module2 = new InvocationContext(); in testBufferAndReplay_withModule()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java26 import com.android.tradefed.invoker.InvocationContext;
116 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_randomEvents()
154 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_invalidEventOrder()
179 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_testNotStarted()
214 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_noTimeStamp()
249 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_invocationFailed()
286 new SubprocessTestResultsParser(mockRunListener, true, new InvocationContext()); in testParser_receiveFromSocket()
321 new SubprocessTestResultsParser(mockRunListener, true, new InvocationContext()); in testParser_failToJoin()
333 InvocationContext context = new InvocationContext(); in testParse_testTag()
361 InvocationContext context = new InvocationContext(); in testParse_testInvocationEndedWithoutBuildInfo()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/monitor/
DInvocationsMonitorTest.java21 import com.android.tradefed.invoker.InvocationContext;
42 IInvocationContext initialContext = new InvocationContext(); in testTrackInvocation()
53 IInvocationContext initialContext = new InvocationContext(); in testTrackInvocation_sharding()
60 IInvocationContext shard1 = new InvocationContext(); in testTrackInvocation_sharding()
63 IInvocationContext shard2 = new InvocationContext(); in testTrackInvocation_sharding()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java26 import com.android.tradefed.invoker.proto.InvocationContext.Context;
43 public class InvocationContext implements IInvocationContext { class
71 public InvocationContext() { in InvocationContext() method in InvocationContext
410 public static InvocationContext fromProto(Context protoContext) { in fromProto()
411 InvocationContext context = new InvocationContext(); in fromProto()
431 context.mModuleContext = InvocationContext.fromProto(protoContext.getModuleContext()); in fromProto()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DMetricsXMLResultReporterTest.java25 import com.android.tradefed.invoker.InvocationContext;
60 IInvocationContext context = new InvocationContext(); in testEmptyGeneration()
77 IInvocationContext context = new InvocationContext(); in testRunMetrics()
104 IInvocationContext context = new InvocationContext(); in testTestMetrics()
129 IInvocationContext context = new InvocationContext(); in testTestFailMetrics()
DEmailResultReporterTest.java21 import com.android.tradefed.invoker.InvocationContext;
52 IInvocationContext context = new InvocationContext(); in testInvocationEnded()
71 IInvocationContext context = new InvocationContext(); in testInvocationEnded_multiBuild()
93 IInvocationContext context = new InvocationContext(); in testNullFlavorAndBranch()
DXmlResultReporterTest.java20 import com.android.tradefed.invoker.InvocationContext;
106 IInvocationContext context = new InvocationContext(); in testEmptyGeneration()
120 IInvocationContext context = new InvocationContext(); in testSinglePass()
144 IInvocationContext context = new InvocationContext(); in testSingleFail()
DSubprocessResultsReporterTest.java22 import com.android.tradefed.invoker.InvocationContext;
114 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket()
151 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext())) { in testTestLog() argument
179 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext())) { in testTestLog_disabled() argument
DLegacySubprocessResultsReporterTest.java20 import com.android.tradefed.invoker.InvocationContext;
68 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket()
99 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_legacyMethodCalls()
DDeviceUnavailEmailResultReporterTest.java23 import com.android.tradefed.invoker.InvocationContext;
51 IInvocationContext context = new InvocationContext(); in testGenerateEmailSubject()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DFileProtoResultReporterTest.java23 import com.android.tradefed.invoker.InvocationContext;
24 import com.android.tradefed.invoker.proto.InvocationContext.Context;
61 IInvocationContext context = new InvocationContext(); in testWriteResults()
75 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in testWriteResults()
DStreamProtoResultReporterTest.java23 import com.android.tradefed.invoker.InvocationContext;
54 mInvocationContext = new InvocationContext(); in setUp()
55 mMainInvocationContext = new InvocationContext(); in setUp()
192 IInvocationContext context = new InvocationContext(); in createModuleContext()
DProtoResultReporterTest.java23 import com.android.tradefed.invoker.InvocationContext;
59 mInvocationContext = new InvocationContext(); in setUp()
148 IInvocationContext context = new InvocationContext(); in createModuleContext()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java20 import com.android.tradefed.invoker.InvocationContext;
21 import com.android.tradefed.invoker.proto.InvocationContext.Context;
191 receivedProto = InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleInvocationStart()
216 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleInvocationEnded()
256 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleModuleStart()
431 Method unlock = InvocationContext.class.getDeclaredMethod("unlock"); in mergeInvocationContext()
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DMetricsXmlParserTest.java30 import com.android.tradefed.invoker.InvocationContext;
88 IInvocationContext context = new InvocationContext(); in testSimpleParse()
116 IInvocationContext context = new InvocationContext(); in testParse()
151 IInvocationContext context = new InvocationContext(); in testParseBlacklist()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandboxRunner.java28 import com.android.tradefed.invoker.InvocationContext;
29 import com.android.tradefed.invoker.proto.InvocationContext.Context;
103 context = InvocationContext.fromProto(c); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java24 import com.android.tradefed.invoker.InvocationContext;
52 mContext = new InvocationContext(); in setUp()
93 IInvocationContext module1 = new InvocationContext(); in testReplayModules()
95 IInvocationContext module2 = new InvocationContext(); in testReplayModules()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporterTest.java22 import com.android.tradefed.invoker.InvocationContext;
50 mContext = new InvocationContext(); in setUp()
147 IInvocationContext moduleContext = new InvocationContext(); in testFinalizeResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java37 import com.android.tradefed.invoker.InvocationContext;
154 mContext = new InvocationContext(); in setUp()
502 mContext = new InvocationContext(); in testRun_sharding_firstModuleRunsAll()
542 mContext = new InvocationContext(); in testRun_sharding_parallelRun()
589 mContext = new InvocationContext(); in testRun_sharding_withIndex()
668 mContext = new InvocationContext(); in helperTestShardIndex()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java39 import com.android.tradefed.invoker.InvocationContext;
81 mContext = new InvocationContext(); in setUp()
192 mContext = new InvocationContext(); in testParentSandbox_NotTestMode()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxedInvocationExecutionTest.java26 import com.android.tradefed.invoker.InvocationContext;
45 mContext = new InvocationContext(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBugreportzOnFailureCollectorTest.java21 import com.android.tradefed.invoker.InvocationContext;
49 mContext = new InvocationContext(); in setUp()
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DMetricSummaryTest.java27 import com.android.tradefed.invoker.InvocationContext;
71 IInvocationContext context = new InvocationContext(); in testConversion()

123