Searched refs:PathExists (Results 1 – 13 of 13) sorted by relevance
47 bool PathExists(const std::string& path) { in PathExists() function137 if (!PathExists(filepath)) { in ReadPublicLibrariesOpt()158 bool has_bin = PathExists(path + "/bin"); in ScanActiveApexes()159 bool has_lib = PathExists(path + "/lib") || PathExists(path + "/lib64"); in ScanActiveApexes()166 if (PathExists(linker_config_path)) { in ScanActiveApexes()
178 EXPECT_TRUE(base::PathExists(ns2B_path)); in TEST()181 EXPECT_TRUE(base::PathExists(sub_pref_path)); in TEST()183 EXPECT_TRUE(base::PathExists(ns1_path)); in TEST()185 EXPECT_FALSE(base::PathExists(ns1_path)); in TEST()247 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithDots))); in TEST_F()324 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithSpaces))); in TEST_F()396 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKey))); in TEST_F()431 EXPECT_TRUE(base::PathExists(sub_pref_path.Append(sub_key1))); in TEST_F()432 EXPECT_TRUE(base::PathExists(sub_pref_path.Append(sub_key2))); in TEST_F()435 EXPECT_FALSE(base::PathExists(sub_pref_path.Append(sub_key1))); in TEST_F()[all …]
300 return base::PathExists(filename); in KeyExists()
108 if (!base::PathExists(temp_dir)) in GetTempName()
426 auto exists = PathExists(decompressed_file_path); in TEST_F()536 auto exists = PathExists(decompressed_file_path); in TEST_F()574 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()781 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()787 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()791 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()796 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()1777 ASSERT_THAT(PathExists(hashtree_path), HasValue(true)) in TEST_F()1784 ASSERT_THAT(PathExists(hashtree_path), HasValue(true)) in TEST_F()1831 ASSERT_THAT(PathExists(hashtree_path), HasValue(true)); in TEST_F()[all …]
261 auto exists = PathExists(decompression_file_path); in TEST()300 auto exists = PathExists(decompression_file.path); in TEST()
168 auto exists = PathExists(hashtree_file); in PrepareHashTree()
480 auto exists = PathExists(mount_point); in MountPackageImpl()980 auto exists = PathExists(std::string(kApexBackupDir)); in DeleteBackup()1002 PathExists(std::string(gConfig->active_apex_data_dir)); in BackupActivePackages()1056 auto backup_exists = PathExists(std::string(kApexBackupDir)); in RestoreActivePackages()1241 auto lib_dir = PathExists(apex_lib_path); in ContributeToSharedLibs()1265 auto symlink_dir = PathExists(library_symlink_dir); in ContributeToSharedLibs()1283 auto hash_dir = PathExists(library_symlink_hash); in ContributeToSharedLibs()2078 if (PathExists(pre_restore_snapshot_path).ok()) { in RestorePreRestoreSnapshotsIfPresent()2486 auto dir_exists = PathExists(shared_libs_sub_dir); in CreateSharedLibsApexDir()2498 auto lib_dir_exists = PathExists(apex_lib_path); in CreateSharedLibsApexDir()[all …]
142 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() function
222 if (auto exists = PathExists("/apex/vm-payload-metadata"); in AddBlockApex()
48 if (!base::PathExists(vbmeta_image_path)) return; in ModifyVBMetaHeaderFlags()
69 if (!base::PathExists(image_path)) return; in SetVBMetaFlags()601 if (!base::PathExists(avb_image_path)) return false; in CompareVBMeta()
330 return base::PathExists(base::FilePath(path)); in DeviceExists()