Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 84) sorted by relevance

1234

/test/framework/harnesses/host_controller/build/
Dbuild_provider_test.py115 os.path.exists(self._build_provider.GetTestSuitePackage("vts")))
132 os.path.exists(self._build_provider.GetConfigPackage("prod")))
147 os.path.exists(self._build_provider.GetTestSuitePackage("vts")))
149 os.path.exists(self._build_provider.GetConfigPackage("prod")))
Dbuild_provider.py66 if not os.path.exists(tempdir_base):
127 if os.path.exists(dest_path):
164 if os.path.exists(dest_path):
Dbuild_flasher_test.py38 mock_os.path.exists.return_value = False
51 mock_os.path.exists.return_value = True
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DApkPackageNameCheck.java67 if (!testcases.exists()) { in testApkPackageNames()
98 if (!new File(testcases, path + "32").exists() in testApkPackageNames()
99 || !new File(testcases, path + "64").exists()) { in testApkPackageNames()
114 if (!new File(testcases, path).exists()) { in testApkPackageNames()
131 if (!apkFile.exists()) { in testApkPackageNames()
DValidateTestsAbi.java88 if (!testcases.exists()) { in testApksAbis()
160 if (!testcases.exists()) { in testBinariesAbis()
/test/vts/utils/python/io/
Dfile_util.py54 if os.path.exists(path):
79 if skip_if_exists and os.path.exists(path):
105 if skip_if_exists and os.path.exists(path):
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporterTest.java110 assertTrue(reportFile.exists()); in testSuiteVariant()
136 assertTrue(reportFile.exists()); in testSuiteVariantGSI()
166 assertTrue(reportFile.exists()); in testSuiteVariantGSI_R_Compatibility()
173 assertTrue(new File(mBuildHelper.getResultDir(), "test_result.html").exists()); in testSuiteVariantGSI_R_Compatibility()
200 assertTrue(reportFile.exists()); in testSuiteVariantGSI_R_Compatibility_ATS()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java209 if (dir == null || !dir.exists()) { in getRootDir()
211 if (!dir.exists()) { in getRootDir()
215 if (!dir.exists()) { in getRootDir()
230 if (!dir.exists()) { in getDir()
279 if (!subPlansDir.exists()) { in getSubPlansDir()
318 if (!testsDir.exists()) { in getTestsDir()
/test/framework/host_setup/
Dfabfile.py28 from fabric.contrib.files import exists
184 if exists(vtslab_package_path_filepath):
188 if exists(former_HC_package_adbkey_path):
193 if exists("~/run/%s.dir/android-vtslab/testcases/DATA/ak" %
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCompatibilityProtoResultReporter.java83 while (new File(mBaseProtoFile.getAbsolutePath() + index).exists()) { in processFinalProto()
101 if (!protoDir.exists()) { in getProtoResultDirectory()
114 while (new File(mBaseProtoFile.getAbsolutePath() + index).exists()) { in compactAllProtos()
DPreviousSessionFileCopier.java98 if (!newChild.exists()) { in copyRetryFiles()
131 if (!resultDir.exists()) { in getResultDirectory()
DCertificationSuiteResultReporter.java240 if (!ediFile.exists()) { in testLogDeviceInfo()
307 if (!mResultDir.exists()) { in initializeResultDirectories()
323 if (mLogDir == null || !mLogDir.exists()) { in initializeResultDirectories()
402 if (failureReport.exists()) { in postFormattingStep()
470 if (!configDir.exists() && !configDir.mkdir()) { in copyDynamicConfigFiles()
486 if (destFile.exists()) { in copyDynamicConfigFiles()
DPreviousResultLoader.java122 if (new File(protoDir, CompatibilityProtoResultReporter.PROTO_FILE_NAME).exists()) { in init()
129 .exists()) { in init()
227 while (new File(mProtoPath + index).exists()) { in loadPreviousResults()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsCoveragePreparer.java160 || !artifactFile.exists()) { in setUp()
177 || !artifactFile.exists()) { in setUp()
190 || !artifactFile.exists()) { in setUp()
198 if (!artifactFile.exists()) { in setUp()
204 if (!buildInfoArtifact.exists()) { in setUp()
DVtsPythonVirtualenvPreparer.java130 if (new File(mVenvDir, "complete").exists()) { in setUp()
210 if (!pathDir.exists() || !pathDir.isDirectory()) { in dirExistsAndHaveReadAccess()
480 if (virtualEnvDir.exists()) { in createVirtualEnvCache()
517 if (venvDir != null && new File(venvDir).exists()) { in checkTestPlanLevelVirtualenv()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DInvocationFailureHandler.java42 return (f.exists() && f.length() != 0); in hasFailed()
61 if (!f.exists()) { in setFailed()
DTestRunHandler.java45 if (!f.exists() || f.length() == 0) { in getTestRuns()
71 if (!f.exists()) { in setTestRuns()
/test/framework/harnesses/host_controller/command_processor/
Dcommand_gsispl.py91 if os.path.isabs(args.version_from_path) and os.path.exists(
100 if not os.path.exists(tempdir_base):
109 if not os.path.exists(img_path):
/test/vts-testcase/kernel/ltp/
Denvironment_requirement_checker.py162 executable_exists_results = map(os.path.exists, executables)
168 exe for exe, exists in self._executable_available.iteritems()
169 if not exists
/test/vts/utils/python/fuzzer/
Dcorpus_manager_test.py244 corpus_manager.os.path.exists = mock.MagicMock()
245 corpus_manager.os.path.exists.return_value = True
264 corpus_manager.os.path.exists = mock.MagicMock()
265 corpus_manager.os.path.exists.return_value = True
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusherTest.java214 assertTrue(res.exists()); in testResourceRead()
236 assertTrue(res.exists()); in testResourceRead_resourceFileName()
280 assertFalse(localConfig[0].exists()); in testSetUp()
282 assertTrue(dynamicFile.exists()); in testSetUp()
/test/vts/script/
Dcreate-test-project.py98 if os.path.exists(self.test_dir):
147 if not os.path.exists(target):
171 if not os.path.exists(target):
/test/vts/utils/python/gcs/
Dgcs_api_utils.py167 return blob.exists()
205 if not os.path.exists(local_dest_folder):
279 if os.path.exists(src_dir):
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsPythonRunnerHelper.java128 if (!res.exists()) { in getPythonBinDir()
155 if (pythonBinDir == null || !new File(pythonBinDir).exists()) { in activateVirtualenv()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInfoCollector.java143 if (!deviceInfoDir.exists() || deviceInfoDir.listFiles() == null) { in setUp()
147 deviceInfoDir, deviceInfoDir.exists(), deviceInfoDir.isDirectory()); in setUp()

1234