/system/apex/apexd/ |
D | apexd_private.cpp | 37 bool exists; in BindMount() local 43 exists = false; in BindMount() 48 exists = true; in BindMount() 52 exists = true; in BindMount() 58 if (exists && !is_dir) { in BindMount() 64 exists = false; in BindMount() 67 if (!exists) { in BindMount() 75 if (exists) { in BindMount()
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | FileUtilsTest.java | 131 File exists = new File(dir, "exists"); in testEnsureDirectoryExists() local 132 assertTrue(exists.mkdir()); in testEnsureDirectoryExists() 133 assertTrue(exists.setReadable(true /* readable */, true /* ownerOnly */)); in testEnsureDirectoryExists() 134 assertTrue(exists.setExecutable(true /* readable */, true /* ownerOnly */)); in testEnsureDirectoryExists() 135 FileUtils.ensureDirectoriesExist(exists, true /* makeWorldReadable */); in testEnsureDirectoryExists() 136 assertDirExistsAndIsAccessible(exists, false /* requireWorldReadable */); in testEnsureDirectoryExists() 139 assertFalse(subDir.exists()); in testEnsureDirectoryExists() 169 assertFalse(toCreate.exists()); in testEnsureDirectoriesExist_noPermissions() 178 assertTrue(exists1.exists()); in testEnsureFileDoesNotExist() 180 assertFalse(exists1.exists()); in testEnsureFileDoesNotExist() [all …]
|
D | TimeZoneDistroTest.java | 178 assertTrue(f + " file expected to exist", f.exists() && f.isFile()); in assertFilesExist() 184 assertTrue(dir + " directory expected to exist", dir.exists() && dir.isDirectory()); in assertDirsExist()
|
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstaller.java | 158 if (oldStagedDataDir.exists()) { in stageInstallWithErrorCode() 161 if (workingDir.exists()) { in stageInstallWithErrorCode() 226 if (!tzLookupFile.exists()) { in stageInstallWithErrorCode() 246 if (!stagedTzDataDir.exists()) { in stageInstallWithErrorCode() 281 if (oldStagedDataDir.exists()) { in stageUninstall() 285 if (workingDir.exists()) { in stageUninstall() 291 if (!stagedTzDataDir.exists()) { in stageUninstall() 302 if (!currentTzDataDir.exists()) { in stageUninstall() 331 if (!currentTzDataDir.exists()) { in getInstalledDistroVersion() 345 if (!stagedTzDataDir.exists()) { in getStagedDistroOperation() [all …]
|
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstallerTest.java | 102 if (tempDir.exists()) { in tearDown() 497 assertFalse(workingDir.exists()); in testStageUninstall_oldDirsAlreadyExists() 498 assertFalse(oldStagedDataDir.exists()); in testStageUninstall_oldDirsAlreadyExists() 619 assertTrue(testInstallDir.exists()); in assertInstallDistroStaged() 622 assertTrue(stagedTzDataDir.exists()); in assertInstallDistroStaged() 626 assertTrue(distroVersionFile.exists()); in assertInstallDistroStaged() 629 assertTrue(tzdataFile.exists()); in assertInstallDistroStaged() 632 assertTrue(icuFile.exists()); in assertInstallDistroStaged() 635 assertTrue(tzLookupFile.exists()); in assertInstallDistroStaged() 663 assertFalse(workingDir.exists()); in assertInstallDistroStaged() [all …]
|
/system/sepolicy/build/ |
D | file_utils.py | 25 if os.path.exists(file_path): 29 if parent_dir and not os.path.exists(parent_dir):
|
/system/extras/systrace_analysis/ |
D | analyze_trace.py | 34 if not os.path.exists(chromium_trace_path): 38 if not os.path.exists(vinn_path):
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | FileUtils.java | 72 if (!dirToCheck.exists()) { in ensureDirectoriesExist() 109 if (file.exists()) { in ensureFileDoesNotExist() 154 if (!file.exists()) { in filesExist()
|
D | TimeZoneDistro.java | 148 if (!entryFile.getParentFile().exists()) { in extractZipSafely()
|
/system/bt/tools/scripts/ |
D | dump_metrics_ascii.py | 30 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']): 44 if not os.path.exists(proto_path): 48 if not os.path.exists(output_dir):
|
/system/sepolicy/tests/ |
D | sepolicy_tests.py | 83 if not os.path.exists(options.libpath): 89 if not os.path.exists(options.policy): 96 if not os.path.exists(f):
|
D | treble_sepolicy_tests.py | 352 if not os.path.exists(options.libpath): 357 if not os.path.exists(options.policy): 363 if not os.path.exists(f):
|
D | FcSort.py | 113 if not os.path.exists(f):
|
/system/timezone/ |
D | update-tzdata.py | 62 if not os.path.exists(zic_input_file): 119 if not os.path.exists(dir): 145 if not os.path.exists(zic_binary_file):
|
D | download-iana-data.py | 112 if os.path.exists(local_signature_file):
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/ |
D | CreateTimeZoneDistro.java | 78 if (!f.exists()) { in main() 128 if (!file.exists()) { in getMandatoryPropertyFile()
|
/system/apex/apexer/ |
D | apexer.py | 88 if os.path.exists(binary_path): 149 if not os.path.exists(args.manifest): 158 if not os.path.exists(args.android_manifest): 166 if not os.path.exists(args.input_dir): 174 if not args.force and os.path.exists(args.output):
|
/system/bt/build/toolchain/clang/ |
D | get_clang_suffix.py | 9 if os.path.exists(clang_path):
|
/system/tools/hidl/docs/src/writer/files/ |
D | resources.kt | 45 if (!dir.exists()) dir.mkdirs() in copyToFile()
|
D | AbstractFileWriter.kt | 49 if (!dir.exists()) dir.mkdirs() in writeToFile()
|
/system/extras/simpleperf/scripts/ |
D | update.py | 120 if os.path.exists(install_dir): 126 if os.path.exists(install_dir):
|
/system/update_engine/update_manager/ |
D | update_manager.conf.example | 9 # and use it if it exists. If it doesn't exist, we fall back to
|
/system/ca-certificates/google/ |
D | extract_from_pem.py | 36 while os.path.exists(file_path):
|
/system/libvintf/test/ |
D | vintf_object_tests.cpp | 1484 void expectSystemManifest(bool exists) { in expectSystemManifest() argument 1485 if (exists) { in expectSystemManifest() 1493 void expectSystemManifestFragment(bool exists) { in expectSystemManifestFragment() argument 1494 if (exists) { in expectSystemManifestFragment() 1511 void expectProductManifest(bool exists) { in expectProductManifest() argument 1512 if (exists) { in expectProductManifest() 1519 void expectProductManifestFragment(bool exists) { in expectProductManifestFragment() argument 1520 if (exists) { in expectProductManifestFragment()
|
/system/core/mkbootimg/ |
D | unpack_bootimg.py | 29 if not os.path.exists(dir_path):
|