/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/ |
D | DeviceInteractionHelperInstallerTest.java | 85 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/ |
D | ApkInstrumentationPreparer.java | 72 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()
|
D | DeviceInteractionHelperInstaller.java | 80 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()
|
D | DeviceInfoCollector.java | 96 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()
|
D | ReportLogCollector.java | 57 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()
|
D | PreconditionPreparer.java | 64 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()
|
D | LocationCheck.java | 43 public void run(TestInformation testInfo) in run() argument 46 if (!hasLocationFeature(testInfo.getDevice())) { in run() 57 super.run(testInfo); in run()
|
D | ApkInstaller.java | 54 protected File getLocalPathForFilename(TestInformation testInfo, String apkFileName) in getLocalPathForFilename() argument 58 apkFile = getTestFile(testInfo.getBuildInfo(), apkFileName); in getLocalPathForFilename() 66 testInfo.getDevice().getDeviceDescriptor()); in getLocalPathForFilename()
|
D | MediaPreparer.java | 389 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()
|
D | DynamicConfigPusher.java | 116 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()
|
D | DeviceFileCollector.java | 65 public void run(TestInformation testInfo) { in run() argument 69 ITestDevice device = testInfo.getDevice(); in run() 73 createResultDir(testInfo.getBuildInfo()); in run()
|
D | StayAwakePreparer.java | 45 public void run(TestInformation testInfo) in run() argument 54 super.run(testInfo); in run()
|
D | PackageDisabler.java | 38 public void run(TestInformation testInfo) in run() argument 40 ITestDevice device = testInfo.getDevice(); in run()
|
D | VtsDeviceInfoCollector.java | 90 public void setUp(TestInformation testInfo) in setUp() argument 92 ITestDevice device = testInfo.getDevice(); in setUp() 93 IBuildInfo buildInfo = testInfo.getBuildInfo(); in setUp()
|
D | CrashReporter.java | 78 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
|
D | WifiCheck.java | 55 public void run(TestInformation testInfo) in run() argument 57 ITestDevice device = testInfo.getDevice(); in run()
|
D | PropertyCheck.java | 54 public void run(TestInformation testInfo) in run() argument 56 ITestDevice device = testInfo.getDevice(); in run()
|
D | BuildFingerPrintPreparer.java | 52 public void setUp(TestInformation testInfo) in setUp() argument 54 ITestDevice device = testInfo.getDevice(); in setUp()
|
D | SettingsPreparer.java | 63 public void run(TestInformation testInfo) in run() argument 65 ITestDevice device = testInfo.getDevice(); in run()
|
D | BusinessLogicPreparer.java | 167 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()
|
D | TokenRequirement.java | 47 public void setUp(TestInformation testInfo) in setUp() argument
|
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | VtsFilePusher.java | 186 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/ |
D | JarHostTest.java | 37 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/ |
D | BenchmarkResult.java | 67 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/ |
D | FastbootVerifyUserspaceTest.java | 86 public static void tearDownClass(TestInformation testInfo) throws Exception { in tearDownClass() argument 87 testInfo.getDevice().reboot(); in tearDownClass()
|