/system/apex/apexd/ |
D | apexd_private.cpp | 40 bool exists; in BindMount() local 46 exists = false; in BindMount() 51 exists = true; in BindMount() 55 exists = true; in BindMount() 61 if (exists && !is_dir) { in BindMount() 67 exists = false; in BindMount() 70 if (!exists) { in BindMount() 77 if (exists) { in BindMount()
|
D | apexd_verity.cpp | 156 auto exists = PathExists(hashtree_file); in PrepareHashTree() local 157 if (!exists.ok()) { in PrepareHashTree() 158 return exists.error(); in PrepareHashTree() 160 if (*exists) { in PrepareHashTree()
|
/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 | 160 if (oldStagedDataDir.exists()) { in stageInstallWithErrorCode() 163 if (workingDir.exists()) { in stageInstallWithErrorCode() 228 if (!tzLookupFile.exists()) { in stageInstallWithErrorCode() 244 if (!telephonyLookupFile.exists()) { in stageInstallWithErrorCode() 265 if (!stagedTzDataDir.exists()) { in stageInstallWithErrorCode() 300 if (oldStagedDataDir.exists()) { in stageUninstall() 304 if (workingDir.exists()) { in stageUninstall() 310 if (!stagedTzDataDir.exists()) { in stageUninstall() 321 if (!currentTzDataDir.exists()) { in stageUninstall() 350 if (!currentTzDataDir.exists()) { in getInstalledDistroVersion() [all …]
|
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstallerTest.java | 102 if (tempDir.exists()) { in tearDown() 535 assertFalse(workingDir.exists()); in testStageUninstall_oldDirsAlreadyExists() 536 assertFalse(oldStagedDataDir.exists()); in testStageUninstall_oldDirsAlreadyExists() 662 assertTrue(testInstallDir.exists()); in assertInstallDistroStaged() 665 assertTrue(stagedTzDataDir.exists()); in assertInstallDistroStaged() 669 assertTrue(distroVersionFile.exists()); in assertInstallDistroStaged() 672 assertTrue(tzdataFile.exists()); in assertInstallDistroStaged() 675 assertTrue(icuFile.exists()); in assertInstallDistroStaged() 678 assertTrue(tzLookupFile.exists()); in assertInstallDistroStaged() 682 assertTrue(telephonyLookupFile.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/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 35 static bool exists(std::string_view path) { in exists() function 52 ASSERT_TRUE(exists(image_dir_path_)); in SetUp() 53 ASSERT_TRUE(exists(mount_dir_path_)); in SetUp() 83 EXPECT_FALSE(exists(image_dir_path_)); in TearDown() 84 EXPECT_FALSE(exists(mount_dir_path_)); in TearDown() 260 ASSERT_FALSE(exists(dir_path)); in TEST_F() 262 ASSERT_TRUE(exists(dir_path)); in TEST_F() 267 ASSERT_FALSE(exists(dir_path)); in TEST_F() 269 ASSERT_TRUE(exists(dir_path)); in TEST_F() 273 ASSERT_TRUE(exists(nested)); in TEST_F() [all …]
|
/system/bt/tools/scripts/ |
D | dump_metrics_ascii.py | 31 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']): 45 if not os.path.exists(proto_path): 49 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):
|
/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 | 151 if (!entryFile.getParentFile().exists()) { in extractZipSafely()
|
/system/timezone/debug_tools/host/ |
D | dump-tzdata.py | 73 if not os.path.exists(output_dir): 86 if not os.path.exists(csvs_dir):
|
/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):
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/ |
D | CreateTimeZoneDistro.java | 80 if (!f.exists()) { in main() 132 if (!file.exists()) { in getMandatoryPropertyFile()
|
/system/bt/build/toolchain/clang/ |
D | get_clang_suffix.py | 10 if os.path.exists(clang_path):
|
/system/extras/simpleperf/scripts/ |
D | update.py | 135 if os.path.exists(install_dir): 141 if os.path.exists(install_dir):
|
/system/security/fsverity_init/ |
D | fsverity_init.cpp | 41 if (!std::filesystem::exists(dir)) { in LoadKeyFromDirectory()
|
/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/timezone/debug_tools/host/main/java/ |
D | ZoneSplitter.java | 53 if (!(tzData.exists() && tzData.isFile() && tzData.canRead())) { in execute() 56 if (!(outputDir.exists() && outputDir.isDirectory())) { in execute()
|
/system/apex/apexer/ |
D | apexer.py | 179 if os.path.exists(binary_path): 255 if not os.path.exists(args.build_info): 262 if not os.path.exists(args.manifest): 271 if not os.path.exists(args.android_manifest): 285 if not os.path.exists(args.input_dir): 293 if not args.force and os.path.exists(args.output):
|
D | apexer_test.py | 187 if os.path.exists(file_path): 210 if os.path.exists(os.path.join(dir_name, i)): 224 if os.path.exists(os.path.join(dir_name, i)):
|
/system/ca-certificates/google/ |
D | extract_from_pem.py | 36 while os.path.exists(file_path):
|