Home
last modified time | relevance | path

Searched refs:PathExists (Results 1 – 13 of 13) sorted by relevance

/system/linkerconfig/modules/
Dapex.cc47 bool PathExists(const std::string& path) { in PathExists() function
137 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()
/system/update_engine/common/
Dprefs_unittest.cc178 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 …]
Dprefs.cc300 return base::PathExists(filename); in KeyExists()
Dutils.cc108 if (!base::PathExists(temp_dir)) in GetTempName()
/system/apex/apexd/
Dapexd_test.cpp426 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 …]
Dapex_file_test.cpp261 auto exists = PathExists(decompression_file_path); in TEST()
300 auto exists = PathExists(decompression_file.path); in TEST()
Dapexd_verity.cpp168 auto exists = PathExists(hashtree_file); in PrepareHashTree()
Dapexd.cpp480 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 …]
Dapexd_utils.h142 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() function
Dapex_file_repository.cpp222 if (auto exists = PathExists("/apex/vm-payload-metadata"); in AddBlockApex()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test.cpp48 if (!base::PathExists(vbmeta_image_path)) return; in ModifyVBMetaHeaderFlags()
Davb_util_test.cpp69 if (!base::PathExists(image_path)) return; in SetVBMetaFlags()
601 if (!base::PathExists(avb_image_path)) return false; in CompareVBMeta()
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc330 return base::PathExists(base::FilePath(path)); in DeviceExists()