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
143 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()
/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.cc213 return base::PathExists(filename); in KeyExists()
Dutils.cc105 if (!base::PathExists(temp_dir)) in GetTempName()
/system/apex/apexd/
Dapexd_test.cpp447 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 …]
Dapexd_utils.h142 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() function
228 auto exist = PathExists(path); in FindApexes()
Dapex_file_test.cpp261 auto exists = PathExists(decompression_file_path); in TEST()
295 auto exists = PathExists(decompression_file.path); in TEST()
Dapexd_verity.cpp169 auto exists = PathExists(hashtree_file); in PrepareHashTree()
Dapexd.cpp489 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 …]
Dapex_file_repository.cpp221 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.cc325 return base::PathExists(base::FilePath(path)); in DeviceExists()