Home
last modified time | relevance | path

Searched refs:mBuildInfo (Results 1 – 16 of 16) sorted by relevance

/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java55 private final IBuildInfo mBuildInfo; field in CompatibilityBuildHelper
61 mBuildInfo = buildInfo; in CompatibilityBuildHelper()
65 return mBuildInfo; in getBuildInfo()
69 mBuildInfo.addBuildAttribute(RETRY_COMMAND_LINE_ARGS, commandLineArgs); in setRetryCommandLineArgs()
73 if (mBuildInfo.getBuildAttributes().containsKey(RETRY_COMMAND_LINE_ARGS)) { in getCommandLineArgs()
74 return mBuildInfo.getBuildAttributes().get(RETRY_COMMAND_LINE_ARGS); in getCommandLineArgs()
78 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getCommandLineArgs()
83 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getRecentCommandLineArgs()
87 return mBuildInfo.getBuildAttributes().get(SUITE_BUILD); in getSuiteBuild()
91 return mBuildInfo.getBuildAttributes().get(SUITE_NAME); in getSuiteName()
[all …]
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsCoveragePreparerTest.java86 @Mock private IBuildInfo mBuildInfo; field in VtsCoveragePreparerTest
95 mMockHelper = new CompatibilityBuildHelper(mBuildInfo) { in setUp()
108 doReturn("build_id").when(mBuildInfo).getBuildId(); in setUp()
124 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpCoverageDisabled()
125 verify(mBuildInfo, never()).setFile((String) any(), any(), any()); in testOnSetUpCoverageDisabled()
134 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpSancovEnabled()
135 verify(mBuildInfo, times(1)) in testOnSetUpSancovEnabled()
146 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpGcovEnabled()
147 verify(mBuildInfo, times(1)) in testOnSetUpGcovEnabled()
161 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpLocalArtifectsNormal()
[all …]
DVtsHalAdapterPreparerTest.java104 @Mock private IBuildInfo mBuildInfo; field in VtsHalAdapterPreparerTest
140 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpAdapterSingleInstance()
158 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpAdapterMultipleInstance()
178 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetupAdapterNotFound()
191 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetupServiceNotAvailable()
202 mPreparer.setUp(mDevice, mBuildInfo); in testOnSetUpAdapterFailed()
215 mPreparer.tearDown(mDevice, mBuildInfo, null); in testOnTearDownRestoreFailed()
DVtsPythonVirtualenvPreparerTest.java50 @Mock private IBuildInfo mBuildInfo; field in VtsPythonVirtualenvPreparerTest
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DDynamicConfigFileReaderTest.java42 private IBuildInfo mBuildInfo; field in DynamicConfigFileReaderTest
48 mBuildInfo = new BuildInfo(); in setUp()
49 CompatibilityBuildHelper helper = new CompatibilityBuildHelper(mBuildInfo); in setUp()
56 mBuildInfo.cleanUp(); in tearDown()
111 mBuildInfo, MODULE_NAME, "media_files_url"); in testGetValueFromBuild()
122 mBuildInfo, "NOT_A_MODULE", "media_files_url"); in testGetValueFromBuild_moduleNotFound()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInfoCollectorTest.java48 private IBuildInfo mBuildInfo; field in DeviceInfoCollectorTest
55 mBuildInfo = new BuildInfo(); in setUp()
57 context.addDeviceBuildInfo("device", mBuildInfo); in setUp()
66 mBuildInfo.cleanUp(); in tearDown()
88 assertNull(mBuildInfo.getFile(DeviceInfoCollector.DEVICE_INFO_DIR)); in pullDeviceInfo_fail()
102 File infoDir = mBuildInfo.getFile(DeviceInfoCollector.DEVICE_INFO_DIR); in pullDeviceInfo()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/device/metric/
DVtsCoverageCollectorTest.java52 @Mock IBuildInfo mBuildInfo; field in VtsCoverageCollectorTest
74 mBuildInfos.add(mBuildInfo); in setUp()
83 doReturn(mBuildAttributes).when(mBuildInfo).getBuildAttributes(); in testOnTestRunEndBasic()
104 doReturn(mBuildAttributes).when(mBuildInfo).getBuildAttributes(); in testOnTestRunEndReportDirMissing()
107 verify(mBuildInfo).getBuildAttributes(); in testOnTestRunEndReportDirMissing()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DMetadataReporterTest.java58 private IBuildInfo mBuildInfo; field in MetadataReporterTest
75 mBuildInfo = new BuildInfo(BUILD_NUMBER, ""); in setUp()
76 mBuildInfo.addBuildAttribute(CompatibilityBuildHelper.ROOT_DIR, mRoot.getAbsolutePath()); in setUp()
77 mBuildInfo.addBuildAttribute(CompatibilityBuildHelper.SUITE_NAME, "tests"); in setUp()
78 mBuildInfo.addBuildAttribute(CompatibilityBuildHelper.START_TIME_MS, "0"); in setUp()
80 mContext.addDeviceBuildInfo("fakeDevice", mBuildInfo); in setUp()
DChecksumReporterTest.java54 private IBuildInfo mBuildInfo; field in ChecksumReporterTest
88 mBuildInfo = provider.getBuild(); in setUp()
90 context.addDeviceBuildInfo("fakeDevice", mBuildInfo); in setUp()
DResultReporterTest.java78 private IBuildInfo mBuildInfo; field in ResultReporterTest
112 mBuildInfo = provider.getBuild(); in setUp()
113 mBuildHelper = new CompatibilityBuildHelper(mBuildInfo); in setUp()
115 mContext.addDeviceBuildInfo("fakeDevice", mBuildInfo); in setUp()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java517 private IBuildInfo mBuildInfo = null; field in VtsMultiDeviceTest
734 mBuildInfo = buildInfo; in setBuild()
735 mBuildHelper = new CompatibilityBuildHelper(mBuildInfo); in setBuild()
801 if (configReader.LoadVendorConfig(mBuildInfo)) { in updateVtsRunnerTestConfig()
851 mBuildInfo.getFile(VtsCoveragePreparer.getSancovResourceDirKey(device)); in updateVtsRunnerTestConfig()
856 File gcovDir = mBuildInfo.getFile(VtsCoveragePreparer.getGcovResourceDirKey(device)); in updateVtsRunnerTestConfig()
898 build.put(BUILD_ID, mBuildInfo.getBuildId()); in updateVtsRunnerTestConfig()
899 build.put(BUILD_TARGET, mBuildInfo.getBuildTargetName()); in updateVtsRunnerTestConfig()
904 suite.put(NAME, mBuildInfo.getTestTag()); in updateVtsRunnerTestConfig()
910 String coverageReportPath = mBuildInfo.getBuildAttributes().get("coverage_report_path"); in updateVtsRunnerTestConfig()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/retry/
DRetryFactoryTest.java177 private IBuildInfo mBuildInfo; field in RetryFactoryTest
189 mBuildInfo = buildInfo; in setBuild()
240 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuildInfo); in loadSuite()
247 helper.setBuildInfoRetryCommand(mBuildInfo); in loadSuite()
267 test.setBuild(mBuildInfo); in loadSuite()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparer.java101 private IBuildInfo mBuildInfo = null; field in VtsPythonVirtualenvPreparer
118 mBuildInfo = context.getBuildInfos().get(0); in setUp()
125 mVenvDir = checkTestPlanLevelVirtualenv(mBuildInfo); in setUp()
127 mVenvDir = createVirtualEnvCache(mBuildInfo); in setUp()
153 addPathToBuild(mBuildInfo, mVenvDir); in setUp()
172 if (configReader.LoadVendorConfig(mBuildInfo)) { in setLocalPypiPath()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DMetricsReportLog.java31 private final IBuildInfo mBuildInfo; field in MetricsReportLog
63 mBuildInfo = buildInfo; in MetricsReportLog()
276 MetricsStore.storeResult(mBuildInfo, mAbi, mClassMethodName, this); in submit()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DShardableTestStub.java45 public IBuildInfo mBuildInfo = null; field in ShardableTestStub
54 mBuildInfo = buildInfo; in setBuild()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java86 private IBuildInfo mBuildInfo; field in CompatibilityConsole
523 if (mBuildInfo == null) { in getBuild()
526 mBuildInfo = buildProvider.getBuild(); in getBuild()
531 return mBuildInfo; in getBuild()