Home
last modified time | relevance | path

Searched refs:IInvocationContext (Results 1 – 25 of 107) sorted by relevance

12345

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DBaseModuleController.java19 import com.android.tradefed.invoker.IInvocationContext;
49 private IInvocationContext mContext;
52 public final RunStrategy shouldRunModule(IInvocationContext context) { in shouldRunModule()
63 public abstract RunStrategy shouldRun(IInvocationContext context); in shouldRun()
DTestFailureModuleController.java18 import com.android.tradefed.invoker.IInvocationContext;
27 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun()
DIModuleController.java18 import com.android.tradefed.invoker.IInvocationContext;
39 public RunStrategy shouldRunModule(IInvocationContext context); in shouldRunModule()
/tools/tradefederation/core/src/com/android/tradefed/result/
DITestInvocationListener.java19 import com.android.tradefed.invoker.IInvocationContext;
56 public default void invocationStarted(IInvocationContext context) {} in invocationStarted()
99 public default void testModuleStarted(IInvocationContext moduleContext) {} in testModuleStarted()
DCollectingTestListener.java21 import com.android.tradefed.invoker.IInvocationContext;
45 private Map<TestRunResult, IInvocationContext> mModuleContextMap =
46 Collections.synchronizedMap(new LinkedHashMap<TestRunResult, IInvocationContext>());
48 private IInvocationContext mCurrentModuleContext = null;
61 private IInvocationContext mContext;
72 public void invocationStarted(IInvocationContext context) { in invocationStarted()
97 public IInvocationContext getInvocationContext() { in getInvocationContext()
123 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted()
250 public IInvocationContext getModuleContextForRunResult(TestRunResult res) { in getModuleContextForRunResult()
DILogSaver.java18 import com.android.tradefed.invoker.IInvocationContext;
42 public void invocationStarted(IInvocationContext context); in invocationStarted()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DIMultiTargetPreparer.java19 import com.android.tradefed.invoker.IInvocationContext;
42 public void setUp(IInvocationContext context) throws TargetSetupError, in setUp()
54 public default void tearDown(IInvocationContext context, Throwable e) in tearDown()
DStubMultiTargetPreparer.java18 import com.android.tradefed.invoker.IInvocationContext;
29 public void setUp(IInvocationContext context) throws TargetSetupError { in setUp()
DHelloWorldMultiTargetPreparer.java21 import com.android.tradefed.invoker.IInvocationContext;
35 public void setUp(IInvocationContext context) throws TargetSetupError { in setUp()
54 public void tearDown(IInvocationContext context, Throwable e) in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMasterResultForwarder.java49 private IInvocationContext mOriginalContext;
50 private List<IInvocationContext> mShardContextList;
71 public void invocationStarted(IInvocationContext context) { in invocationStarted()
183 IInvocationContext main, List<IInvocationContext> shardContexts) { in copyShardBuildInfoToMain()
184 for (IInvocationContext shard : shardContexts) { in copyShardBuildInfoToMain()
DInvocationContext.java40 public class InvocationContext implements IInvocationContext {
50 private Map<IInvocationContext.TimingEvent, Long> mInvocationTimingMetrics;
56 private IInvocationContext mModuleContext;
225 public Map<IInvocationContext.TimingEvent, Long> getInvocationTimingMetrics() { in getInvocationTimingMetrics()
233 public void addInvocationTimingMetric(IInvocationContext.TimingEvent timingEvent, in addInvocationTimingMetric()
304 public void setModuleInvocationContext(IInvocationContext invocationContext) { in setModuleInvocationContext()
310 public IInvocationContext getModuleInvocationContext() { in getModuleInvocationContext()
DIInvocationContext.java35 public interface IInvocationContext extends Serializable { interface
153 public void setModuleInvocationContext(IInvocationContext invocationContext); in setModuleInvocationContext()
158 public IInvocationContext getModuleInvocationContext(); in getModuleInvocationContext()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DSandboxedInvocationExecution.java21 import com.android.tradefed.invoker.IInvocationContext;
36 IInvocationContext context, in fetchBuild()
56 IInvocationContext context) { in resetBuildAndReschedule()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandScheduler.java25 import com.android.tradefed.invoker.IInvocationContext;
48 public default void invocationInitiated(IInvocationContext context) {} in invocationInitiated()
58 IInvocationContext context, Map<ITestDevice, FreeDeviceState> devicesStates); in invocationComplete()
138 IInvocationContext context, IScheduledInvocationListener listener, String[] args) in execCommand()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DISandbox.java20 import com.android.tradefed.invoker.IInvocationContext;
42 IInvocationContext context, in prepareEnvironment()
67 IInvocationContext context, IConfiguration nonVersionedConfig, String[] args) in getTradefedSandboxEnvironment()
DTradefedSandboxRunner.java27 import com.android.tradefed.invoker.IInvocationContext;
88 IInvocationContext context = null; in run()
99 (IInvocationContext) in run()
149 IInvocationContext metadata, Map<ITestDevice, FreeDeviceState> devicesStates) { in invocationComplete()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DIInvocationContextReceiver.java19 import com.android.tradefed.invoker.IInvocationContext;
32 public void setInvocationContext(IInvocationContext invocationContext); in setInvocationContext()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DIShardHelper.java19 import com.android.tradefed.invoker.IInvocationContext;
34 IConfiguration config, IInvocationContext context, IRescheduler rescheduler); in shardConfig()
DShardBuildCloner.java22 import com.android.tradefed.invoker.IInvocationContext;
39 IConfiguration fromConfig, IConfiguration toConfig, IInvocationContext context) { in cloneBuildInfos()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DXmlResultReporterTest.java19 import com.android.tradefed.invoker.IInvocationContext;
58 public void invocationStarted(IInvocationContext context) { in invocationStarted()
106 IInvocationContext context = new InvocationContext(); in testEmptyGeneration()
120 IInvocationContext context = new InvocationContext(); in testSinglePass()
144 IInvocationContext context = new InvocationContext(); in testSingleFail()
DMetricsXMLResultReporterTest.java24 import com.android.tradefed.invoker.IInvocationContext;
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()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultHolder.java18 import com.android.tradefed.invoker.IInvocationContext;
28 public IInvocationContext context;
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DDeviceMetricData.java19 import com.android.tradefed.invoker.IInvocationContext;
40 private final IInvocationContext mContext;
43 public DeviceMetricData(IInvocationContext context) { in DeviceMetricData()
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/
DHelloWorldMultiDevices.java21 import com.android.tradefed.invoker.IInvocationContext;
46 private IInvocationContext mContext;
54 public void setInvocationContext(IInvocationContext invocationContext) { in setInvocationContext()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DMultiDeviceStubTest.java21 import com.android.tradefed.invoker.IInvocationContext;
36 private IInvocationContext mContext;
41 public void setInvocationContext(IInvocationContext invocationContext) { in setInvocationContext()

12345