Searched refs:PathExists (Results 1 – 13 of 13) sorted by relevance
47 bool PathExists(const std::string& path) { in PathExists() function143 bool has_bin = PathExists(path + "/bin"); in ScanActiveApexes()144 bool has_lib = PathExists(path + "/lib") || PathExists(path + "/lib64"); in ScanActiveApexes()152 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 …]
213 return base::PathExists(filename); in KeyExists()
105 if (!base::PathExists(temp_dir)) in GetTempName()
447 auto exists = PathExists(decompressed_file_path); in TEST_F()564 auto exists = PathExists(decompressed_file_path); in TEST_F()610 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()814 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()820 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()824 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()829 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()1696 ASSERT_THAT(PathExists(hashtree_path), HasValue(true)) in TEST_F()1703 ASSERT_THAT(PathExists(hashtree_path), HasValue(true)) in TEST_F()1750 ASSERT_THAT(PathExists(hashtree_path), HasValue(true)); in TEST_F()[all …]
142 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() function228 auto exist = PathExists(path); in FindApexes()
261 auto exists = PathExists(decompression_file_path); in TEST()295 auto exists = PathExists(decompression_file.path); in TEST()
169 auto exists = PathExists(hashtree_file); in PrepareHashTree()
489 auto exists = PathExists(mount_point); in MountPackageImpl()981 auto exists = PathExists(std::string(kApexBackupDir)); in DeleteBackup()1003 PathExists(std::string(gConfig->active_apex_data_dir)); in BackupActivePackages()1057 auto backup_exists = PathExists(std::string(kApexBackupDir)); in RestoreActivePackages()1245 auto lib_dir = PathExists(apex_lib_path); in ActivateSharedLibsPackage()1269 auto symlink_dir = PathExists(library_symlink_dir); in ActivateSharedLibsPackage()1287 auto hash_dir = PathExists(library_symlink_hash); in ActivateSharedLibsPackage()2086 if (PathExists(pre_restore_snapshot_path).ok()) { in RestorePreRestoreSnapshotsIfPresent()2495 auto dir_exists = PathExists(shared_libs_sub_dir); in CreateSharedLibsApexDir()2507 auto lib_dir_exists = PathExists(apex_lib_path); in CreateSharedLibsApexDir()[all …]
221 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()
325 return base::PathExists(base::FilePath(path)); in DeviceExists()