Home
last modified time | relevance | path

Searched refs:testInfo (Results 1 – 25 of 27) sorted by relevance

12

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInteractionHelperInstallerTest.java85 private File createFindableFile(File dir, String name, TestInformation testInfo) in createFindableFile() argument
89 if (testInfo != null) { in createFindableFile()
90 testInfo.executionFiles().put(name, f); in createFindableFile()
114 TestInformation testInfo = makeTestInfo(mMockDevice); in testNoOptionsNoDeviceProperty() local
116 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsNoDeviceProperty()
122 mPreparer.setUp(testInfo); in testNoOptionsNoDeviceProperty()
134 TestInformation testInfo = makeTestInfo(mMockDevice); in testNoOptionsEmptyDeviceProperty() local
136 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsEmptyDeviceProperty()
142 mPreparer.setUp(testInfo); in testNoOptionsEmptyDeviceProperty()
155 TestInformation testInfo = makeTestInfo(mMockDevice); in testNoOptionsValidDeviceProperty() local
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstrumentationPreparer.java72 public void run(TestInformation testInfo) in run() argument
77 ITestDevice device = testInfo.getDevice(); in run()
79 if (instrument(testInfo)) { in run()
93 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument
101 instrument(testInfo); in tearDown()
108 private boolean instrument(TestInformation testInfo) in instrument() argument
111 new CompatibilityBuildHelper(testInfo.getBuildInfo()); in instrument()
118 ITestDevice device = testInfo.getDevice(); in instrument()
135 instrTest.run(testInfo, listener); in instrument()
DDeviceInteractionHelperInstaller.java80 TestInformation testInfo = in setUp() local
82 setUp(testInfo); in setUp()
87 public void setUp(TestInformation testInfo) in setUp() argument
89 ITestDevice device = testInfo.getDevice(); in setUp()
94 File defaultHelpers = testInfo.getDependencyFile(defaultHelperName, true); in setUp()
125 File apkFile = testInfo.getDependencyFile(apkName, true); in setUp()
136 public void tearDown(TestInformation testInfo, Throwable t) throws DeviceNotAvailableException { in tearDown() argument
137 ITestDevice device = testInfo.getDevice(); in tearDown()
DDeviceInfoCollector.java96 public void setUp(TestInformation testInfo) in setUp() argument
98 if (testInfo.getBuildInfo().getFile(DEVICE_INFO_DIR) != null) { in setUp()
102 ITestDevice device = testInfo.getDevice(); in setUp()
103 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
139 run(testInfo); in setUp()
171 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument
173 super.tearDown(testInfo, e); in tearDown()
DReportLogCollector.java57 public void setUp(TestInformation testInfo) in setUp() argument
59 prepareReportLogContainers(testInfo.getBuildInfo()); in setUp()
80 public void tearDown(TestInformation testInfo, Throwable e) { in tearDown() argument
85 ITestDevice device = testInfo.getDevice(); in tearDown()
86 IBuildInfo buildInfo = testInfo.getBuildInfo(); in tearDown()
DPreconditionPreparer.java64 public void setUp(TestInformation testInfo) in setUp() argument
76 run(testInfo); in setUp()
93 public void run(TestInformation testInfo) in run() argument
96 run(testInfo.getDevice(), testInfo.getBuildInfo()); in run()
DLocationCheck.java43 public void run(TestInformation testInfo) in run() argument
46 if (!hasLocationFeature(testInfo.getDevice())) { in run()
57 super.run(testInfo); in run()
DApkInstaller.java54 protected File getLocalPathForFilename(TestInformation testInfo, String apkFileName) in getLocalPathForFilename() argument
58 apkFile = getTestFile(testInfo.getBuildInfo(), apkFileName); in getLocalPathForFilename()
66 testInfo.getDevice().getDeviceDescriptor()); in getLocalPathForFilename()
DMediaPreparer.java389 public void setUp(TestInformation testInfo) in setUp() argument
391 ITestDevice device = testInfo.getDevice(); in setUp()
392 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
405 setMaxRes(testInfo); // max resolution only applies to video files in setUp()
425 private void setMaxRes(TestInformation testInfo) throws DeviceNotAvailableException { in setMaxRes() argument
427 ITestDevice device = testInfo.getDevice(); in setMaxRes()
428 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setMaxRes()
455 instrTest.run(testInfo, listener); in setMaxRes()
DDynamicConfigPusher.java116 public void setUp(TestInformation testInfo) in setUp() argument
118 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
119 ITestDevice device = testInfo.getDevice(); in setUp()
171 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument
175 testInfo.getDevice().deleteFile(mDeviceFilePushed); in tearDown()
DDeviceFileCollector.java65 public void run(TestInformation testInfo) { in run() argument
69 ITestDevice device = testInfo.getDevice(); in run()
73 createResultDir(testInfo.getBuildInfo()); in run()
DStayAwakePreparer.java45 public void run(TestInformation testInfo) in run() argument
54 super.run(testInfo); in run()
DPackageDisabler.java38 public void run(TestInformation testInfo) in run() argument
40 ITestDevice device = testInfo.getDevice(); in run()
DVtsDeviceInfoCollector.java90 public void setUp(TestInformation testInfo) in setUp() argument
92 ITestDevice device = testInfo.getDevice(); in setUp()
93 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
DCrashReporter.java78 public void setUp(TestInformation testInfo) { in setUp() argument
79 ITestDevice device = testInfo.getDevice(); in setUp()
102 public void tearDown(TestInformation testInfo, Throwable e) { in tearDown() argument
DWifiCheck.java55 public void run(TestInformation testInfo) in run() argument
57 ITestDevice device = testInfo.getDevice(); in run()
DPropertyCheck.java54 public void run(TestInformation testInfo) in run() argument
56 ITestDevice device = testInfo.getDevice(); in run()
DBuildFingerPrintPreparer.java52 public void setUp(TestInformation testInfo) in setUp() argument
54 ITestDevice device = testInfo.getDevice(); in setUp()
DSettingsPreparer.java63 public void run(TestInformation testInfo) in run() argument
65 ITestDevice device = testInfo.getDevice(); in run()
DBusinessLogicPreparer.java167 public void setUp(TestInformation testInfo) in setUp() argument
169 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
170 ITestDevice device = testInfo.getDevice(); in setUp()
506 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument
512 removeDeviceFile(testInfo.getDevice()); in tearDown()
DTokenRequirement.java47 public void setUp(TestInformation testInfo) in setUp() argument
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DVtsFilePusher.java186 public void setUp(TestInformation testInfo) in setUp() argument
188 ITestDevice device = testInfo.getDevice(); in setUp()
189 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
194 super.setUp(testInfo); in setUp()
201 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument
202 ITestDevice device = testInfo.getDevice(); in tearDown()
213 super.tearDown(testInfo, e); in tearDown()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTest.java37 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() argument
40 setTestInformation(testInfo); in run()
55 super.run(testInfo, hostListener); in run()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DBenchmarkResult.java67 float sumOfMSEs, float maxSingleError, String testInfo, in BenchmarkResult() argument
73 mTestInfo = testInfo; in BenchmarkResult()
327 String testInfo, in fromInferenceResults() argument
378 testInfo, evaluatorKeys, evaluatorResults, backendType, testSetSize, in fromInferenceResults()
/test/vts/testcases/host/fastboot_test/src/com/android/tests/
DFastbootVerifyUserspaceTest.java86 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument
87 testInfo.getDevice().reboot(); in tearDownClass()

12