/test/vts-testcase/kernel/ltp/shell_environment/definitions/base_definitions/ |
D | check_setup_cleanup.py | 43 self.context = None 55 def context(self): member in CheckSetupCleanup 58 @context.setter 59 def context(self, context): member in CheckSetupCleanup 60 self._context = context 73 if self.context is None: 88 self.context.AddCleanupJob(self.InternalCall, self.Cleanup) 215 return self.context.shell
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationResultXml.java | 94 public void parseSuiteAttributes(XmlPullParser parser, IInvocationContext context) in parseSuiteAttributes() argument 97 context.addInvocationAttribute(SUITE_NAME_ATTR, mSuiteName); in parseSuiteAttributes() 100 context.addInvocationAttribute(SUITE_VERSION_ATTR, mSuiteVersion); in parseSuiteAttributes() 103 context.addInvocationAttribute(SUITE_PLAN_ATTR, mSuitePlan); in parseSuiteAttributes() 106 context.addInvocationAttribute(SUITE_BUILD_ATTR, mSuiteBuild); in parseSuiteAttributes() 110 context.addInvocationAttribute(REFERENCE_URL_ATTR, mReferenceUrl); in parseSuiteAttributes() 114 context.addInvocationAttribute(LOG_URL_ATTR, mLogUrl); in parseSuiteAttributes() 124 for (IBuildInfo build : holder.context.getBuildInfos()) { in addBuildInfoAttributes() 138 public void parseBuildInfoAttributes(XmlPullParser parser, IInvocationContext context) in parseBuildInfoAttributes() argument 143 context.addInvocationAttribute(key, value); in parseBuildInfoAttributes()
|
D | PreviousSessionFileCopier.java | 59 public void invocationStarted(IInvocationContext context) { in invocationStarted() argument 61 mBuildHelper = createCompatibilityHelper(context.getBuildInfos().get(0)); in invocationStarted()
|
D | PreviousResultLoader.java | 148 mExpectedFingerprint = holder.context.getAttributes() in init() 158 holder.context.getAttributes().getUniqueMap().get(BUILD_VENDOR_FINGERPRINT); in init() 167 holder.context.getAttributes().getUniqueMap().get(BUILD_FINGERPRINT_UNALTERED); in init()
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
D | LocalDatastoreExtension.java | 39 public void beforeAll(final ExtensionContext context) throws Exception { in beforeAll() argument 40 if (getHelper(context) == null) { in beforeAll() 44 context.getRoot().getStore(Namespace.GLOBAL).put(LocalDatastoreHelper.class, helper); in beforeAll() 50 public void beforeEach(final ExtensionContext context) throws Exception { in beforeEach() argument 51 final LocalDatastoreHelper helper = getHelper(context); in beforeEach() 56 public static LocalDatastoreHelper getHelper(final ExtensionContext context) { in getHelper() argument 57 return context.getRoot() in getHelper()
|
D | ObjectifyExtension.java | 34 public void beforeEach(final ExtensionContext context) throws Exception { in beforeEach() argument 36 LocalDatastoreExtension.getHelper(context).getOptions().getService(); in beforeEach() 42 context.getStore(NAMESPACE).put(Closeable.class, rootService); in beforeEach() 46 public void afterEach(final ExtensionContext context) throws Exception { in afterEach() argument 48 context.getStore(NAMESPACE).get(Closeable.class, Closeable.class); in afterEach()
|
D | MockitoExtension.java | 29 public void beforeEach(final ExtensionContext context) throws Exception { in beforeEach() argument 30 final Object testInstance = context.getTestInstance().get(); in beforeEach()
|
/test/vti/test_serving/gae/frontend/src/ |
D | test.ts | 18 const context = require.context('./', true, /\.spec\.ts$/); constant 20 context.keys().map(context);
|
/test/vts/runners/host/ |
D | asserts.py | 94 context = _AssertRaisesContext(expected_exception, extras=extras) 95 return context 120 context = _AssertRaisesContext( 122 return context
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
D | VtsTestPlanResultReporter.java | 122 public void setUp(IInvocationContext context) in setUp() argument 124 setUp(context.getDevices().get(0), context.getBuildInfos().get(0)); in setUp() 177 public void tearDown(IInvocationContext context, Throwable e) in tearDown() argument 179 tearDown(context.getDevices().get(0), context.getBuildInfos().get(0), e); in tearDown()
|
D | VtsPythonVirtualenvPreparer.java | 123 public synchronized void setUp(IInvocationContext context) in setUp() argument 126 mBuildInfo = context.getBuildInfos().get(0); in setUp() 129 ITestDevice device = context.getDevices().get(0); in setUp() 144 public synchronized void tearDown(IInvocationContext context, Throwable e) in tearDown() argument
|
/test/vti/dashboard/src/test/java/com/android/vts/api/ |
D | VtsSpreadSheetSyncServletTest.java | 60 @Mock private ServletContext context; field in VtsSpreadSheetSyncServletTest 94 when(request.getServletContext()).thenReturn(context); in setUpExtra() 100 when(servletConfig.getServletContext()).thenReturn(context); in setUpExtra()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ModuleListener.java | 55 public void invocationStarted(IInvocationContext context) { in invocationStarted() argument 56 CLog.d("ModuleListener.invocationStarted(%s)", context.getBuildInfos()); in invocationStarted() 57 mListener.invocationStarted(context); in invocationStarted()
|
D | ConsoleReporter.java | 59 public void invocationStarted(IInvocationContext context) { in invocationStarted() argument 60 if (context == null) { in invocationStarted() 64 ITestDevice primaryDevice = context.getDevices().get(0); in invocationStarted()
|
D | MetadataReporter.java | 75 public void invocationStarted(IInvocationContext context) { in invocationStarted() argument 76 IBuildInfo buildInfo = context.getBuildInfos().get(0); in invocationStarted()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/module/ |
D | VtsHalAdapterModuleController.java | 45 public RunStrategy shouldRun(IInvocationContext context) { in shouldRun() argument 46 ITestDevice device = context.getDevices().get(0); in shouldRun()
|
/test/vts/utils/python/coverage/ |
D | sancov_parser_test.py | 48 with self.assertRaises(parser.FileFormatError) as context: 50 self.assertTrue('Invalid magic' in str(context.exception))
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/ |
D | ChecksumReporterTest.java | 89 IInvocationContext context = new InvocationContext(); in setUp() local 90 context.addDeviceBuildInfo("fakeDevice", mBuildInfo); in setUp() 92 resultReporter.invocationStarted(context); in setUp()
|
/test/vts-testcase/hal/usb/gadget/V1_0/host/ |
D | VtsHalUsbGadgetV1_0HostTest.py | 61 with usb1.USBContext() as context: 62 for device in context.getDeviceIterator(skip_on_error=True):
|
/test/framework/harnesses/host_controller/command_processor/ |
D | command_config.py | 144 context = fd.read() 146 text_format.Merge(context, sched_cfg_msg) 151 context = fd.read() 153 text_format.Merge(context, lab_cfg_msg)
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/ |
D | CompatibilityConsole.java | 409 holder.context in listResults() 413 Joiner.on(", ").join(holder.context.getShardsSerials().values()), in listResults() 414 printAttributes(holder.context.getAttributes(), "build_id"), in listResults() 415 printAttributes(holder.context.getAttributes(), "build_product"))); in listResults()
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | GraphSerializer.java | 27 public JsonElement serialize(Graph src, Type typeOfSrc, JsonSerializationContext context) { in serialize() argument
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | IntegrationTest.java | 246 public void invocationStarted(IInvocationContext context) { in testSingleModuleRun_checkMetadata() 247 myContext = context; in testSingleModuleRun_checkMetadata() 521 ITestDevice device, IInvocationContext context) { in ShardThread() argument 526 mShardContext = context; in ShardThread()
|
/test/vts-testcase/kernel/ltp/shell_environment/ |
D | shell_environment.py | 66 definition.context = self
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTest.java | 533 public void setInvocationContext(IInvocationContext context) { in setInvocationContext() argument 534 mInvocationContext = context; in setInvocationContext() 535 setDevice(context.getDevices().get(0)); in setInvocationContext() 536 setBuild(context.getBuildInfos().get(0)); in setInvocationContext()
|