Home
last modified time | relevance | path

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

1234

/test/vts-testcase/kernel/syscall/
Dsyscall_exists.cpp33 bool exists = !(ret == -1 && errno == ENOSYS); in main() local
34 ALOGI("syscall [%d] is %s", syscall_id, exists ? "enabled" : "disabled"); in main()
35 std::cout << (exists ? 'y' : 'n'); in main()
/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/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/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java210 if (dir == null || !dir.exists()) { in getRootDir()
212 if (!dir.exists()) { in getRootDir()
216 if (!dir.exists()) { in getRootDir()
231 if (!dir.exists()) { in getDir()
270 if (!subPlansDir.exists()) { in getSubPlansDir()
309 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/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()
/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.java207 assertTrue(res.exists()); in testResourceRead()
229 assertTrue(res.exists()); in testResourceRead_resourceFileName()
273 assertFalse(localConfig[0].exists()); in testSetUp()
275 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/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousSessionFileCopier.java96 if (!newChild.exists()) { in copyRetryFiles()
129 if (!resultDir.exists()) { in getResultDirectory()
DCertificationSuiteResultReporter.java186 if (!ediFile.exists()) { in testLogDeviceInfo()
262 if (!mResultDir.exists()) { in initializeResultDirectories()
279 if (mLogDir == null || !mLogDir.exists()) { in initializeResultDirectories()
339 if (failureReport.exists()) { in postFormattingStep()
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsPythonRunnerHelper.java133 if (!res.exists()) { in getPythonBinDir()
160 if (pythonBinDir == null || !new File(pythonBinDir).exists()) { in activateVirtualenv()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DApkPackageNameCheck.java65 if (!testcases.exists()) { in testApkPackageNames()
96 if (!apkFile.exists()) { in testApkPackageNames()
DValidateTestsAbi.java78 if (!testcases.exists()) { in testApksAbis()
150 if (!testcases.exists()) { in testBinariesAbis()
/test/vts/utils/python/systrace/
Dsystrace_controller.py53 self.is_valid = os.path.exists(self._path_systrace_script)
238 if not os.path.exists(parent_dir):
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestTest.java275 newTest.getVtsRunnerLogDir().exists());
320 newTest.getVtsRunnerLogDir().exists());
368 newTest.getVtsRunnerLogDir().exists());
/test/vts-testcase/hal/script/configure/
Dtest_case_creator.py129 if not os.path.exists(test_script_file):
137 if not os.path.exists(test_binary_file):
143 if os.path.exists(self._test_dir):
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DPackageUtil.java29 public static boolean exists(ITestDevice device, String packageName) in exists() method in PackageUtil

1234