Home
last modified time | relevance | path

Searched refs:buildInfo (Results 1 – 25 of 72) sorted by relevance

123

/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/
DCtsFilePusher.java33 protected CtsBuildHelper getCtsBuildHelper(IBuildInfo buildInfo) { in getCtsBuildHelper() argument
35 mBuildHelper = CtsBuildHelper.createBuildHelper(buildInfo); in getCtsBuildHelper()
44 public File resolveRelativeFilePath(IBuildInfo buildInfo, String fileName) { in resolveRelativeFilePath() argument
45 return new File(getCtsBuildHelper(buildInfo).getTestCasesDir(), fileName); in resolveRelativeFilePath()
DCtsApkInstaller.java35 protected CtsBuildHelper getCtsBuildHelper(IBuildInfo buildInfo) { in getCtsBuildHelper() argument
37 mBuildHelper = CtsBuildHelper.createBuildHelper(buildInfo); in getCtsBuildHelper()
46 protected File getLocalPathForFilename(IBuildInfo buildInfo, String apkFileName) in getLocalPathForFilename() argument
49 return getCtsBuildHelper(buildInfo).getTestApp(apkFileName); in getLocalPathForFilename()
DCtsRootDeviceSetup.java50 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp() argument
52 if (!(buildInfo instanceof IFolderBuildInfo)) { in setUp()
57 IFolderBuildInfo ctsBuild = (IFolderBuildInfo)buildInfo; in setUp()
/cts/common/host-side/util/src/com/android/compatibility/common/util/
DMetricsStore.java46 public static void storeResult(IBuildInfo buildInfo, String abi, String classMethodName, in storeResult() argument
48 String startTime = buildInfo.getBuildAttributes().get(START_TIME_TAG); in storeResult()
56 public static ReportLog removeResult(IBuildInfo buildInfo, String abi, String classMethodName) { in removeResult() argument
57 String startTime = buildInfo.getBuildAttributes().get(START_TIME_TAG); in removeResult()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstaller.java35 protected File getTestsDir(IBuildInfo buildInfo) throws FileNotFoundException { in getTestsDir() argument
37 mBuildHelper = new CompatibilityBuildHelper(buildInfo); in getTestsDir()
46 protected File getLocalPathForFilename(IBuildInfo buildInfo, String apkFileName) in getLocalPathForFilename() argument
50 apkFile = new File(getTestsDir(buildInfo), apkFileName); in getLocalPathForFilename()
DFilePusher.java45 protected File getTestsDir(IBuildInfo buildInfo) throws FileNotFoundException { in getTestsDir() argument
47 mBuildHelper = new CompatibilityBuildHelper(buildInfo); in getTestsDir()
64 public File resolveRelativeFilePath(IBuildInfo buildInfo, String fileName) { in resolveRelativeFilePath() argument
66 File f = new File(getTestsDir(buildInfo), in resolveRelativeFilePath()
DDeviceInfoCollector.java82 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp() argument
85 buildInfo.addBuildAttribute(entry.getKey(), in setUp()
91 run(device, buildInfo); in setUp()
92 getDeviceInfoFiles(device, buildInfo); in setUp()
95 private void getDeviceInfoFiles(ITestDevice device, IBuildInfo buildInfo) { in getDeviceInfoFiles() argument
96 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(buildInfo); in getDeviceInfoFiles()
DApkInstrumentationPreparer.java68 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run() argument
74 if (instrument(device, buildInfo)) { in run()
88 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() argument
97 instrument(device, buildInfo); in tearDown()
104 private boolean instrument(ITestDevice device, IBuildInfo buildInfo) in instrument() argument
107 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(buildInfo); in instrument()
DReportLogCollector.java61 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp() argument
63 prepareReportLogContainers(device, buildInfo); in setUp()
66 private void addBuildInfo(ITestDevice device, IBuildInfo buildInfo, String key, String value) in addBuildInfo() argument
70 private void prepareReportLogContainers(ITestDevice device, IBuildInfo buildInfo) { in prepareReportLogContainers() argument
71 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(buildInfo); in prepareReportLogContainers()
88 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) { in tearDown() argument
90 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(buildInfo); in tearDown()
DPreconditionPreparer.java44 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp() argument
47 run(device, buildInfo); in setUp()
51 public abstract void run(ITestDevice device, IBuildInfo buildInfo) in run() argument
DStayAwakePreparer.java48 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run() argument
57 super.run(device, buildInfo); in run()
DSystemStatusChecker.java43 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() argument
57 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable t) in tearDown() argument
DResultFilePuller.java56 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, BuildError, in setUp() argument
76 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() argument
78 CompatibilityBuildHelper buildHelper = new CompatibilityBuildHelper(buildInfo); in tearDown()
DLocationCheck.java47 public void run(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in run() argument
63 super.run(device, buildInfo); in run()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/
DDeviceInfoCollector.java87 ITestInvocationListener listener, IBuildInfo buildInfo) in collectExtendedDeviceInfo() argument
95 pullExtendedDeviceInfoResults(device, buildInfo); in collectExtendedDeviceInfo()
119 private static void pullExtendedDeviceInfoResults(ITestDevice device, IBuildInfo buildInfo) in pullExtendedDeviceInfoResults() argument
121 if (!(buildInfo instanceof IFolderBuildInfo)) { in pullExtendedDeviceInfoResults()
125 File localResultDir = new File(buildInfo.getBuildAttributes().get( in pullExtendedDeviceInfoResults()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/util/
DReportLogUtil.java41 public static void prepareReportLogContainers(ITestDevice device, IBuildInfo buildInfo) { in prepareReportLogContainers() argument
55 File resultDir = new File(buildInfo.getBuildAttributes().get( in prepareReportLogContainers()
70 public static void collectReportLogs(ITestDevice device, IBuildInfo buildInfo) { in collectReportLogs() argument
73 File resultDir = new File(buildInfo.getBuildAttributes().get( in collectReportLogs()
/cts/suite/cts/utils/
Dget_csv_report.py100 buildInfo = buildInfos[0]
101 buildId = buildInfo.getAttribute("buildID")
102 deviceId = buildInfo.getAttribute("deviceID")
103 deviceName = buildInfo.getAttribute("build_device")
104 boardName = buildInfo.getAttribute("build_board")
105 partitions = buildInfo.getAttribute("partitions")
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java48 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() argument
50 CompatibilityBuildHelper helper = new CompatibilityBuildHelper(buildInfo); in setUp()
62 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() argument
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DDocumentsTestCase.java43 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
44 mCtsBuild = buildInfo; in setBuild()
DUsesLibraryHostTest.java46 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
47 mCtsBuild = buildInfo; in setBuild()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java151 public void invocationStarted(IBuildInfo buildInfo) { in invocationStarted() argument
154 mBuildHelper = new CompatibilityBuildHelper(buildInfo); in invocationStarted()
156 if (mDeviceSerial == null && buildInfo.getDeviceSerial() != null) { in invocationStarted()
157 mDeviceSerial = buildInfo.getDeviceSerial(); in invocationStarted()
163 mMasterResultReporter.invocationStarted(buildInfo); in invocationStarted()
170 if (buildInfo.getDeviceSerial() != null) { in invocationStarted()
173 mMasterDeviceSerials.add(buildInfo.getDeviceSerial()); in invocationStarted()
177 mMasterBuildInfos.add(buildInfo); in invocationStarted()
420 for (IBuildInfo buildInfo : mMasterBuildInfos) { in finalizeResults()
421 for (Map.Entry<String, String> entry : buildInfo.getBuildAttributes().entrySet()) { in finalizeResults()
DModuleListener.java52 public void invocationStarted(IBuildInfo buildInfo) { in invocationStarted() argument
53 CLog.d("ModuleListener.invocationStarted(%s)", buildInfo.toString()); in invocationStarted()
54 mListener.invocationStarted(buildInfo); in invocationStarted()
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java66 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
67 mBuild = buildInfo; in setBuild()
/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DAbstractMonkeyTest.java35 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
36 mBuild = buildInfo; in setBuild()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java42 public void setBuild(IBuildInfo buildInfo) { in setBuild() argument
43 mBuildInfo = buildInfo; in setBuild()

123