/test/framework/harnesses/host_controller/build/ |
D | build_provider_test.py | 115 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")))
|
D | build_provider.py | 66 if not os.path.exists(tempdir_base): 127 if os.path.exists(dest_path): 164 if os.path.exists(dest_path):
|
D | build_flasher_test.py | 38 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/ |
D | ApkPackageNameCheck.java | 67 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()
|
D | ValidateTestsAbi.java | 88 if (!testcases.exists()) { in testApksAbis() 160 if (!testcases.exists()) { in testBinariesAbis()
|
/test/vts/utils/python/io/ |
D | file_util.py | 54 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/ |
D | CertificationSuiteResultReporterTest.java | 110 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/ |
D | CompatibilityBuildHelper.java | 209 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/ |
D | fabfile.py | 28 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/ |
D | CompatibilityProtoResultReporter.java | 83 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()
|
D | PreviousSessionFileCopier.java | 98 if (!newChild.exists()) { in copyRetryFiles() 131 if (!resultDir.exists()) { in getResultDirectory()
|
D | CertificationSuiteResultReporter.java | 240 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()
|
D | PreviousResultLoader.java | 122 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/ |
D | VtsCoveragePreparer.java | 160 || !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()
|
D | VtsPythonVirtualenvPreparer.java | 130 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/ |
D | InvocationFailureHandler.java | 42 return (f.exists() && f.length() != 0); in hasFailed() 61 if (!f.exists()) { in setFailed()
|
D | TestRunHandler.java | 45 if (!f.exists() || f.length() == 0) { in getTestRuns() 71 if (!f.exists()) { in setTestRuns()
|
/test/framework/harnesses/host_controller/command_processor/ |
D | command_gsispl.py | 91 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/ |
D | environment_requirement_checker.py | 162 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/ |
D | corpus_manager_test.py | 244 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/ |
D | DynamicConfigPusherTest.java | 214 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/ |
D | create-test-project.py | 98 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/ |
D | gcs_api_utils.py | 167 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/ |
D | VtsPythonRunnerHelper.java | 128 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/ |
D | DeviceInfoCollector.java | 143 if (!deviceInfoDir.exists() || deviceInfoDir.listFiles() == null) { in setUp() 147 deviceInfoDir, deviceInfoDir.exists(), deviceInfoDir.isDirectory()); in setUp()
|