/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/ |
D | CompatibilityBuildHelper.java | 56 private final IBuildInfo mBuildInfo; field in CompatibilityBuildHelper 62 mBuildInfo = buildInfo; in CompatibilityBuildHelper() 66 return mBuildInfo; in getBuildInfo() 70 mBuildInfo.addBuildAttribute(RETRY_COMMAND_LINE_ARGS, commandLineArgs); in setRetryCommandLineArgs() 74 if (mBuildInfo.getBuildAttributes().containsKey(RETRY_COMMAND_LINE_ARGS)) { in getCommandLineArgs() 75 return mBuildInfo.getBuildAttributes().get(RETRY_COMMAND_LINE_ARGS); in getCommandLineArgs() 79 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getCommandLineArgs() 84 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getRecentCommandLineArgs() 88 return mBuildInfo.getBuildAttributes().get(SUITE_BUILD); in getSuiteBuild() 92 return mBuildInfo.getBuildAttributes().get(SUITE_NAME); in getSuiteName() [all …]
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/ |
D | VtsCoveragePreparerTest.java | 86 @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 …]
|
D | VtsHalAdapterPreparerTest.java | 104 @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()
|
D | VtsPythonVirtualenvPreparerTest.java | 49 @Mock private IBuildInfo mBuildInfo; field in VtsPythonVirtualenvPreparerTest
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
D | DynamicConfigFileReaderTest.java | 42 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/result/ |
D | MetadataReporterTest.java | 58 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()
|
D | ChecksumReporterTest.java | 54 private IBuildInfo mBuildInfo; field in ChecksumReporterTest 88 mBuildInfo = provider.getBuild(); in setUp() 90 context.addDeviceBuildInfo("fakeDevice", mBuildInfo); in setUp()
|
D | ResultReporterTest.java | 79 private IBuildInfo mBuildInfo; field in ResultReporterTest 113 mBuildInfo = provider.getBuild(); in setUp() 114 mBuildHelper = new CompatibilityBuildHelper(mBuildInfo); in setUp() 116 mContext.addDeviceBuildInfo("fakeDevice", mBuildInfo); in setUp()
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/device/metric/ |
D | VtsCoverageCollectorTest.java | 52 @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/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTest.java | 519 private IBuildInfo mBuildInfo = null; field in VtsMultiDeviceTest 736 mBuildInfo = buildInfo; in setBuild() 737 mBuildHelper = new CompatibilityBuildHelper(mBuildInfo); in setBuild() 803 if (configReader.LoadVendorConfig(mBuildInfo)) { in updateVtsRunnerTestConfig() 853 mBuildInfo.getFile(VtsCoveragePreparer.getSancovResourceDirKey(device)); in updateVtsRunnerTestConfig() 858 File gcovDir = mBuildInfo.getFile(VtsCoveragePreparer.getGcovResourceDirKey(device)); in updateVtsRunnerTestConfig() 900 build.put(BUILD_ID, mBuildInfo.getBuildId()); in updateVtsRunnerTestConfig() 901 build.put(BUILD_TARGET, mBuildInfo.getBuildTargetName()); in updateVtsRunnerTestConfig() 906 suite.put(NAME, mBuildInfo.getTestTag()); in updateVtsRunnerTestConfig() 912 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/ |
D | RetryFactoryTest.java | 169 private IBuildInfo mBuildInfo; field in RetryFactoryTest 181 mBuildInfo = buildInfo; in setBuild() 233 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(mBuildInfo); in loadSuite() 240 helper.setBuildInfoRetryCommand(mBuildInfo); in loadSuite() 260 test.setBuild(mBuildInfo); in loadSuite()
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | MetricsReportLog.java | 31 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/ |
D | ShardableTestStub.java | 45 public IBuildInfo mBuildInfo = null; field in ShardableTestStub 54 mBuildInfo = buildInfo; in setBuild()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
D | VtsPythonVirtualenvPreparer.java | 100 private IBuildInfo mBuildInfo = null; field in VtsPythonVirtualenvPreparer 126 mBuildInfo = context.getBuildInfos().get(0); in setUp() 131 initVirtualenv(mBuildInfo); in setUp() 137 addPathToBuild(mBuildInfo); in setUp() 168 if (configReader.LoadVendorConfig(mBuildInfo)) { in setLocalPypiPath()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/ |
D | CompatibilityConsole.java | 85 private IBuildInfo mBuildInfo; field in CompatibilityConsole 486 if (mBuildInfo == null) { in getBuild() 489 mBuildInfo = buildProvider.getBuild(); in getBuild() 494 return mBuildInfo; in getBuild()
|