/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/ |
D | DeviceInteractionHelperInstallerTest.java | 112 File testsDir = FileUtil.createTempDir("tests_dir"); in testNoOptionsNoDeviceProperty() local 116 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsNoDeviceProperty() 125 FileUtil.recursiveDelete(testsDir); in testNoOptionsNoDeviceProperty() 132 File testsDir = FileUtil.createTempDir("tests_dir"); in testNoOptionsEmptyDeviceProperty() local 136 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsEmptyDeviceProperty() 145 FileUtil.recursiveDelete(testsDir); in testNoOptionsEmptyDeviceProperty() 153 File testsDir = FileUtil.createTempDir("tests_dir"); in testNoOptionsValidDeviceProperty() local 157 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsValidDeviceProperty() 160 File extraApk = createFindableFile(testsDir, "com.helper1.apk", testInfo); in testNoOptionsValidDeviceProperty() 162 File extraApk2 = createFindableFile(testsDir, "com.helper2.apk", testInfo); in testNoOptionsValidDeviceProperty() [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/ |
D | CompatibilityBuildHelper.java | 298 File testsDir = null; in getTestsDir() local 300 testsDir = new File(getDir(), "testcases"); in getTestsDir() 303 testsDir = null; in getTestsDir() 306 if (testsDir == null) { in getTestsDir() 308 testsDir = ((IDeviceBuildInfo) mBuildInfo).getTestsDir(); in getTestsDir() 313 if (testsDir == null) { in getTestsDir() 318 if (!testsDir.exists()) { in getTestsDir() 321 testsDir.getAbsolutePath())); in getTestsDir() 324 return testsDir; in getTestsDir() 340 File testsDir = getTestsDir(); in getTestFile() local [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepoTest.java | 156 File testsDir = FileUtil.createTempDir("testcases"); in setUpConfigs() local 157 createConfig(testsDir, MODULE_NAME_A, null); in setUpConfigs() 158 createConfig(testsDir, MODULE_NAME_B, null); in setUpConfigs() 159 createConfig(testsDir, MODULE_NAME_C, FOOBAR_TOKEN); in setUpConfigs() 160 return testsDir; in setUpConfigs() 163 private void createConfig(File testsDir, String name, String token) throws IOException { in createConfig() argument 164 createConfig(testsDir, name, token, TEST_STUB); in createConfig() 167 private void createConfig(File testsDir, String name, String token, String moduleClass) in createConfig() argument 169 File config = new File(testsDir, String.format(FILENAME, name)); in createConfig() 187 private void tearDownConfigs(File testsDir) { in tearDownConfigs() argument [all …]
|
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | VtsFilePusher.java | 96 private Collection<String> loadFilePushGroup(String specFileName, String testsDir, in loadFilePushGroup() argument 105 specFile = new File(testsDir, relativePath); in loadFilePushGroup() 119 result.addAll(loadFilePushGroup(spec, testsDir, stack)); in loadFilePushGroup()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | IModuleRepo.java | 43 void initialize(int shards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument
|
D | ModuleRepo.java | 172 public void initialize(int totalShards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument 180 totalShards, testsDir.getAbsolutePath(), abis, deviceTokens, testArgs, moduleArgs, in initialize() 215 File[] configFiles = testsDir.listFiles(new ConfigFilter()); in initialize() 218 String.format("No config files found in %s", testsDir.getAbsolutePath())); in initialize()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | IntegrationTest.java | 161 private void createConfig(File testsDir, String name, String moduleClass, boolean reportTest, in createConfig() argument 164 createConfig(testsDir, name, moduleClass, reportTest, runComplete, doesOneTestFail, in createConfig() 181 private void createConfig(File testsDir, String name, String moduleClass, boolean reportTest, in createConfig() argument 184 File config = new File(testsDir, String.format(FILENAME, name)); in createConfig()
|