Home
last modified time | relevance | path

Searched refs:mBuildHelper (Results 1 – 14 of 14) sorted by relevance

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporterTest.java45 private CompatibilityBuildHelper mBuildHelper; field in CertificationSuiteResultReporterTest
62 mBuildHelper = in setUp()
101 return mBuildHelper; in testSuiteVariant()
109 File reportFile = new File(mBuildHelper.getResultDir(), "test_result.xml"); in testSuiteVariant()
127 return mBuildHelper; in testSuiteVariantGSI()
135 File reportFile = new File(mBuildHelper.getResultDir(), "test_result.xml"); in testSuiteVariantGSI()
155 return mBuildHelper; in testSuiteVariantGSI_R_Compatibility()
165 File reportFile = new File(mBuildHelper.getResultDir(), "test_result.xml"); in testSuiteVariantGSI_R_Compatibility()
173 assertTrue(new File(mBuildHelper.getResultDir(), "test_result.html").exists()); in testSuiteVariantGSI_R_Compatibility()
189 return mBuildHelper; in testSuiteVariantGSI_R_Compatibility_ATS()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstaller.java34 private CompatibilityBuildHelper mBuildHelper = null; field in ApkInstaller
37 if (mBuildHelper == null) { in setBuildHelper()
38 mBuildHelper = new CompatibilityBuildHelper(buildInfo); in setBuildHelper()
44 return mBuildHelper.getTestsDir(); in getTestsDir()
49 return mBuildHelper.getTestFile(filename); in getTestFile()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java161 private CompatibilityBuildHelper mBuildHelper; field in ResultReporter
234 if (mBuildHelper == null) { in invocationStarted()
235 mBuildHelper = new CompatibilityBuildHelper(primaryBuild); in invocationStarted()
240 mCanMarkDone = canMarkDone(mBuildHelper.getRecentCommandLineArgs()); in invocationStarted()
282 mResult = ResultHandler.findResult(mBuildHelper.getResultsDir(), mRetrySessionId); in initializeResultDirectories()
284 mResult.setStartTime(mBuildHelper.getStartTime()); in initializeResultDirectories()
285 mResultDir = mBuildHelper.getResultDir(); in initializeResultDirectories()
303 mUploader = new ResultUploader(mResultServer, mBuildHelper.getSuiteName()); in initializeResultDirectories()
305 mLogDir = new File(mBuildHelper.getLogsDir(), in initializeResultDirectories()
306 CompatibilityBuildHelper.getDirSuffix(mBuildHelper.getStartTime())); in initializeResultDirectories()
[all …]
DMetadataReporter.java54 private CompatibilityBuildHelper mBuildHelper; field in MetadataReporter
78 if (mBuildHelper == null) { in invocationStarted()
79 mBuildHelper = new CompatibilityBuildHelper(buildInfo); in invocationStarted()
81 mMetadataDir = new File(mBuildHelper.getResultDir(), METADATA_DIR); in invocationStarted()
164 tryWriteToFile(mBuildHelper, mCurrentModule, mMetadataDir, mTestMetadata); in testRunEnded()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCompatibilityProtoResultReporter.java43 private CompatibilityBuildHelper mBuildHelper; field in CompatibilityProtoResultReporter
53 if (mBuildHelper == null) { in processStartInvocation()
54 mBuildHelper = new CompatibilityBuildHelper(invocationContext.getBuildInfos().get(0)); in processStartInvocation()
92 File resultDir = mBuildHelper.getResultDir(); in getProtoResultDirectory()
DPreviousSessionFileCopier.java52 private CompatibilityBuildHelper mBuildHelper; field in PreviousSessionFileCopier
62 if (mBuildHelper == null) { in invocationStarted()
63 mBuildHelper = createCompatibilityHelper(context.getBuildInfos().get(0)); in invocationStarted()
121 resultDir = mBuildHelper.getResultDir(); in getResultDirectory()
DCertificationSuiteResultReporter.java149 private CompatibilityBuildHelper mBuildHelper; field in CertificationSuiteResultReporter
187 if (mBuildHelper == null) { in invocationStarted()
188 mBuildHelper = createBuildHelper(); in invocationStarted()
296 mResultDir = mBuildHelper.getResultDir(); in initializeResultDirectories()
314 mUploader = new ResultUploader(mResultServer, mBuildHelper.getSuiteName()); in initializeResultDirectories()
316 mLogDir = mBuildHelper.getInvocationLogDir(); in initializeResultDirectories()
344 createSuiteName(mBuildHelper.getSuiteName()), in createFormatter()
345 mBuildHelper.getSuiteVersion(), in createFormatter()
347 mBuildHelper.getSuitePlan(), in createFormatter()
348 mBuildHelper.getSuiteBuild(), in createFormatter()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/
DCompatibilityTestSuite.java66 private CompatibilityBuildHelper mBuildHelper; field in CompatibilityTestSuite
84 mBuildHelper = new CompatibilityBuildHelper(buildInfo); in setBuild()
89 return mBuildHelper.getTestsDir(); in getTestsDir()
121 File subPlanFile = new File(mBuildHelper.getSubPlansDir(), mSubPlan + ".xml"); in setupFilters()
/test/vts/harnesses/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DVtsRetryFilterHelperTest.java45 private CompatibilityBuildHelper mBuildHelper; field in VtsRetryFilterHelperTest
57 mBuildHelper = new CompatibilityBuildHelper(null) { in setUp()
63 mHelper = new VtsRetryFilterHelper(mBuildHelper, 0, "SUB_PLAN", new HashSet<String>(), in setUp()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java301 private CompatibilityBuildHelper mBuildHelper; field in CompatibilityTest
353 mBuildHelper = new CompatibilityBuildHelper(buildInfo); in setBuild()
419 module.setBuild(mBuildHelper.getBuildInfo()); in run()
438 InvocationFailureHandler.hasFailed(mBuildHelper)) { in run()
551 mModuleRepo.initialize(mTotalShards, mShardIndex, mBuildHelper.getTestsDir(), in initializeModuleRepo()
554 mBuildHelper.getBuildInfo()); in initializeModuleRepo()
557 mBuildHelper.setModuleIds(mModuleRepo.getModuleIds()); in initializeModuleRepo()
723 result = ResultHandler.findResult(mBuildHelper.getResultsDir(), sessionId); in loadRetryCommandLineArgs()
736 mBuildHelper.setRetryCommandLineArgs(retryCommandLineArgs); in loadRetryCommandLineArgs()
756 ISubPlan subPlan = SubPlanHelper.getSubPlanByName(mBuildHelper, mSubPlan); in setupFilters()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java80 private CompatibilityBuildHelper mBuildHelper; field in ResultReporterTest
113 mBuildHelper = new CompatibilityBuildHelper(mBuildInfo); in setUp()
127 File[] children = mBuildHelper.getLogsDir().listFiles(); in testSetup()
130 children = mBuildHelper.getResultsDir().listFiles(); in testSetup()
134 children = mBuildHelper.getResultsDir().listFiles(new FileFilter() { in testSetup()
447 File resultDir = new File(mBuildHelper.getResultsDir(), RESULT_DIR); in testCopyFormattingFiles()
466 assertEquals(1, mBuildHelper.getLogsDir().list().length); in testTestLog()
468 assertEquals(1, mBuildHelper.getLogsDir().listFiles()[0].list().length); in testTestLog()
470 assertEquals(1, mBuildHelper.getLogsDir().listFiles()[0].listFiles()[0].list().length); in testTestLog()
473 assertEquals(1, mBuildHelper.getLogsDir().list().length); in testTestLog()
[all …]
DSubPlanHelperTest.java80 private CompatibilityBuildHelper mBuildHelper; field in SubPlanHelperTest
92 mBuildHelper = new SpctMockCompatibilityBuildHelper(new BuildInfo("0", "")); in setUp()
115 ISubPlan plan = mSubPlanHelper.createSubPlan(mBuildHelper); in testCreateSubPlan()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java85 private CompatibilityBuildHelper mBuildHelper; field in CompatibilityConsole
512 if (mBuildHelper == null) { in getBuildHelper()
517 mBuildHelper = new CompatibilityBuildHelper(build); in getBuildHelper()
519 return mBuildHelper; in getBuildHelper()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java525 protected CompatibilityBuildHelper mBuildHelper = null; field in VtsMultiDeviceTest
735 mBuildHelper = new CompatibilityBuildHelper(mBuildInfo); in setBuild()
1503 mTestCaseDir = mBuildHelper.getTestsDir().getAbsolutePath(); in setTestCaseDir()