Home
last modified time | relevance | path

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

123456789

/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DInvocationContextTest.java29 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()
DShardMainResultForwarderTest.java66 private InvocationContext createContext(int shardIndex) { in createContext()
67 InvocationContext main = new InvocationContext(); in createContext()
79 IInvocationContext main = new InvocationContext(); in testForwardBuildInfo()
85 InvocationContext shard1 = createContext(0); in testForwardBuildInfo()
91 InvocationContext shard2 = createContext(1); in testForwardBuildInfo()
113 IInvocationContext main = new InvocationContext(); in testForwardBuildInfo_multiDevice()
124 InvocationContext shard1 = createContext(0); in testForwardBuildInfo_multiDevice()
135 InvocationContext shard2 = createContext(1); in testForwardBuildInfo_multiDevice()
176 IInvocationContext main = new InvocationContext(); in testForward_Sharded()
201 IInvocationContext main = new InvocationContext(); in testForward_contextAttributes()
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java29 import com.android.tradefed.invoker.InvocationContext;
98 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_randomEvents()
137 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_invalidEventOrder()
173 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_testNotStarted()
211 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_noTimeStamp()
254 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_invocationFailed()
285 new SubprocessTestResultsParser(mockRunListener, true, new InvocationContext()); in testParser_receiveFromSocket()
329 new SubprocessTestResultsParser(mockRunListener, true, new InvocationContext()); in testParser_failToJoin()
342 new SubprocessTestResultsParser(listener, true, new InvocationContext())) { in testParser_noConnection() argument
352 InvocationContext context = new InvocationContext(); in testParse_testTag()
[all …]
/aosp_15_r20/external/pigweed/pw_rpc/public/pw_rpc/internal/
H A Dtest_method_context.h30 class InvocationContext {
32 InvocationContext(const InvocationContext&) = delete;
33 InvocationContext(InvocationContext&&) = delete;
35 InvocationContext& operator=(const InvocationContext&) = delete;
36 InvocationContext& operator=(InvocationContext&&) = delete;
103 InvocationContext(const Method& method, in InvocationContext() function
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/result/
DXmlResultReporterTest.java23 import com.android.tradefed.invoker.InvocationContext;
100 IInvocationContext context = new InvocationContext(); in testEmptyGeneration()
115 IInvocationContext context = new InvocationContext(); in testSinglePass()
140 IInvocationContext context = new InvocationContext(); in testSingleFail()
167 IInvocationContext context = new InvocationContext(); in testSingleIgnored()
198 IInvocationContext context = new InvocationContext(); in testSingleAssumptionFailure()
DMetricsXMLResultReporterTest.java25 import com.android.tradefed.invoker.InvocationContext;
63 IInvocationContext context = new InvocationContext(); in testEmptyGeneration()
80 IInvocationContext context = new InvocationContext(); in testRunMetrics()
107 IInvocationContext context = new InvocationContext(); in testTestMetrics()
132 IInvocationContext context = new InvocationContext(); in testTestFailMetrics()
DATestFileSystemLogSaverTest.java23 import com.android.tradefed.invoker.InvocationContext;
41 private InvocationContext mContext;
47 mContext = new InvocationContext(); in setUp()
DSubprocessResultsReporterTest.java28 import com.android.tradefed.invoker.InvocationContext;
119 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket()
156 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket_StructuredFailures()
231 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext())) { in testTestLog() argument
260 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext())) { in testTestLog_disabled() argument
DLegacySubprocessResultsReporterTest.java23 import com.android.tradefed.invoker.InvocationContext;
72 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_printToSocket()
104 new SubprocessTestResultsParser(mMockListener, true, new InvocationContext()); in testPrintEvent_legacyMethodCalls()
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java28 import com.android.tradefed.invoker.proto.InvocationContext.Context;
49 public class InvocationContext implements IInvocationContext { class
77 public InvocationContext() { in InvocationContext() method in InvocationContext
432 public static InvocationContext fromProto(Context protoContext) { in fromProto()
433 InvocationContext context = new InvocationContext(); in fromProto()
453 context.mModuleContext = InvocationContext.fromProto(protoContext.getModuleContext()); in fromProto()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DProtoResultParserTest.java31 import com.android.tradefed.invoker.InvocationContext;
136 mMainInvocationContext = new InvocationContext(); in setUp()
140 mInvocationContext = new InvocationContext(); in setUp()
756 InvocationContext moduleContext = new InvocationContext(); in testContextMergingEnabled()
773 InvocationContext moduleContext = new InvocationContext(); in testContextMergingDisabled()
795 InvocationContext moduleContext = new InvocationContext(); in testProcessFinalizedProtoAllowsInvocationAttributeUpdates()
803 ((InvocationContext) mInvocationContext).lockAttributes(); in testProcessFinalizedProtoAllowsInvocationAttributeUpdates()
819 InvocationContext moduleContext = new InvocationContext(); in test_when_processMergingDisabled_the_context_remains_locked()
827 ((InvocationContext) mInvocationContext).lockAttributes(); in test_when_processMergingDisabled_the_context_remains_locked()
837 IInvocationContext context = new InvocationContext(); in createModuleContext()
DFileProtoResultReporterTest.java27 import com.android.tradefed.invoker.InvocationContext;
28 import com.android.tradefed.invoker.proto.InvocationContext.Context;
85 IInvocationContext context = new InvocationContext(); in testWriteResults()
99 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in testWriteResults()
109 IInvocationContext context = new InvocationContext(); in testWriteResults_periodic()
172 IInvocationContext context = new InvocationContext(); in createModuleContext()
DModuleProtoResultReporterTest.java26 import com.android.tradefed.invoker.InvocationContext;
70 IInvocationContext context = new InvocationContext(); in testModuleReporting()
103 IInvocationContext context = new InvocationContext(); in testModuleReporting_metadata()
126 IInvocationContext context = new InvocationContext(); in createModuleContext()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterLogSaverTest.java26 import com.android.tradefed.invoker.InvocationContext;
219 final InvocationContext invocationContext = new InvocationContext(); in testInvocationEnded()
265 final InvocationContext invocationContext = new InvocationContext(); in testInvocationEnded_uploadError()
311 InvocationContext invocationContext = new InvocationContext(); in testInvocationEnded_duplicateUpload()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java27 import com.android.tradefed.invoker.InvocationContext;
93 InvocationContext context = new InvocationContext(); in setUp()
168 InvocationContext context = new InvocationContext(); in testNoAdb()
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DModuleProtoResultReporter.java19 import com.android.tradefed.invoker.InvocationContext;
20 import com.android.tradefed.invoker.proto.InvocationContext.Context;
59 IInvocationContext stubContext = new InvocationContext(); in beforeModuleStart()
124 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in parseResultsMetadata()
DProtoResultParser.java20 import com.android.tradefed.invoker.InvocationContext;
25 import com.android.tradefed.invoker.proto.InvocationContext.Context;
335 receivedContext = InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleInvocationStart()
368 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleInvocationEnded()
441 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleModuleStart()
471 InvocationContext.fromProto(anyDescription.unpack(Context.class)); in handleModuleEnded()
718 Method unlock = InvocationContext.class.getDeclaredMethod("unlock"); in mergeInvocationContext()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DTestFilePushSetupTest.java33 import com.android.tradefed.invoker.InvocationContext;
127 IInvocationContext context = new InvocationContext(); in testSetup()
141 IInvocationContext context = new InvocationContext(); in testSetup_notDeviceBuildInfo()
164 IInvocationContext context = new InvocationContext(); in testThrowIfNotFound()
191 IInvocationContext context = new InvocationContext(); in testThrowIfNotFound_false()
/aosp_15_r20/external/pigweed/pw_rpc/raw/public/pw_rpc/raw/
H A Dserver_reader_writer.h38 class InvocationContext; variable
116 friend class internal::test::InvocationContext;
170 friend class internal::test::InvocationContext;
222 friend class internal::test::InvocationContext;
284 friend class internal::test::InvocationContext;
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/app/
DNoApkTestSkipperTest.java26 import com.android.tradefed.invoker.InvocationContext;
54 InvocationContext context = new InvocationContext(); in setUp()
/aosp_15_r20/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DMetricsXmlParserTest.java31 import com.android.tradefed.invoker.InvocationContext;
89 IInvocationContext context = new InvocationContext(); in testSimpleParse()
117 IInvocationContext context = new InvocationContext(); in testParse()
152 IInvocationContext context = new InvocationContext(); in testParseBlacklist()
/aosp_15_r20/external/pigweed/pw_rpc/nanopb/public/pw_rpc/nanopb/
H A Dserver_reader_writer.h38 class InvocationContext; variable
217 friend class internal::test::InvocationContext;
283 friend class internal::test::InvocationContext;
356 friend class internal::test::InvocationContext;
415 friend class internal::test::InvocationContext;
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DRemoteTestTimeOutEnforcerTest.java25 import com.android.tradefed.invoker.InvocationContext;
45 private InvocationContext mModuleInvocationContext;
59 mModuleInvocationContext = new InvocationContext(); in setUp()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/
DDynamicShardHelperTest.java30 import com.android.tradefed.invoker.InvocationContext;
64 InvocationContext ctx = new InvocationContext(); in testBailoutNoITestSuite()
/aosp_15_r20/external/pigweed/pw_rpc/pwpb/public/pw_rpc/pwpb/
H A Dserver_reader_writer.h37 class InvocationContext; variable
281 friend class internal::test::InvocationContext;
357 friend class internal::test::InvocationContext;
433 friend class internal::test::InvocationContext;
502 friend class internal::test::InvocationContext;

123456789