Home
last modified time | relevance | path

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

/aosp12/system/linkerconfig/modules/
H A 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()
151 if (PathExists(linker_config_path)) { in ScanActiveApexes()
/aosp12/system/update_engine/common/
H A 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()
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()
436 EXPECT_TRUE(base::PathExists(sub_pref_path.Append(sub_key2))); in TEST_F()
[all …]
H A Dprefs.cc211 return base::PathExists(filename); in KeyExists()
H A Dutils.cc105 if (!base::PathExists(temp_dir)) in GetTempName()
/aosp12/system/update_engine/cros/
H A Drequisition_util.cc47 if ((requisition.empty() || !vpd_retval) && base::PathExists(local_state)) { in ReadDeviceRequisition()
/aosp12/system/apex/apexd/
H A Dapexd_test.cpp347 auto exists = PathExists(decompressed_file_path); in TEST_F()
515 ASSERT_FALSE(*PathExists(ota_apex_path)); in TEST_F()
707 auto path_exists = PathExists(ota_apex_path); in TEST_F()
714 auto path_exists = PathExists(ota_apex_path); in TEST_F()
719 path_exists = PathExists(ota_apex_path); in TEST_F()
725 path_exists = PathExists(ota_apex_path); in TEST_F()
1415 ASSERT_TRUE(*PathExists(active_data_apex)); in TEST_F()
1417 ASSERT_FALSE(*PathExists(decompressed_apex)); in TEST_F()
1418 ASSERT_FALSE(*PathExists(data_apex)); in TEST_F()
3225 auto path_exists = PathExists(ota_apex_path); in TEST_F()
[all …]
H A Dapex_file_test.cpp243 auto exists = PathExists(decompression_file_path); in TEST()
277 auto exists = PathExists(decompression_file.path); in TEST()
H A Dapexd_utils.h185 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() function
266 auto exist = PathExists(path); in FindApexes()
H A Dapexd.cpp477 auto exists = PathExists(mount_point); in MountPackageImpl()
915 auto exists = PathExists(std::string(kApexBackupDir)); in DeleteBackup()
937 PathExists(std::string(gConfig->active_apex_data_dir)); in BackupActivePackages()
991 auto backup_exists = PathExists(std::string(kApexBackupDir)); in RestoreActivePackages()
1168 auto lib_dir = PathExists(apex_lib_path); in ActivateSharedLibsPackage()
1192 auto symlink_dir = PathExists(library_symlink_dir); in ActivateSharedLibsPackage()
1210 auto hash_dir = PathExists(library_symlink_hash); in ActivateSharedLibsPackage()
1906 if (PathExists(pre_restore_snapshot_path).ok()) { in RestorePreRestoreSnapshotsIfPresent()
2339 auto dir_exists = PathExists(shared_libs_sub_dir); in CreateSharedLibsApexDir()
2351 auto lib_dir_exists = PathExists(apex_lib_path); in CreateSharedLibsApexDir()
[all …]
H A Dapexd_verity.cpp166 auto exists = PathExists(hashtree_file); in PrepareHashTree()
H A Dapexservice_test.cpp1231 auto exists = PathExists(hashtree_path); in TEST_F()
1272 auto exists = PathExists(hashtree_path); in TEST_F()
1280 auto exists = PathExists(hashtree_path); in TEST_F()
1391 auto exists = PathExists(hashtree_path); in TEST_F()
1402 auto exists = PathExists(hashtree_path); in TEST_F()
1409 auto exists = PathExists(hashtree_path); in TEST_F()
/aosp12/system/core/fs_mgr/libfs_avb/tests/
H A Dfs_avb_test.cpp48 if (!base::PathExists(vbmeta_image_path)) return; in ModifyVBMetaHeaderFlags()
H A Davb_util_test.cpp68 if (!base::PathExists(image_path)) return; in SetVBMetaFlags()
600 if (!base::PathExists(avb_image_path)) return false; in CompareVBMeta()
/aosp12/system/bt/osi/test/
H A Dconfig_test.cc274 EXPECT_TRUE(base::PathExists(file_path)); in TEST_F()
/aosp12/system/bt/osi/src/
H A Dconfig.cc119 if (!base::PathExists(path)) { in checksum_read()
/aosp12/system/update_engine/aosp/
H A Ddynamic_partition_control_android.cc309 return base::PathExists(base::FilePath(path)); in DeviceExists()
/aosp12/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp315 static bool PathExists(const std::string& path) { in PathExists() function
326 else if (PathExists(output_file)) { in CopyFileToFile()