Home
last modified time | relevance | path

Searched refs:PathExists (Results 1 – 16 of 16) 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()
151 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.cc211 return base::PathExists(filename); in KeyExists()
Dutils.cc105 if (!base::PathExists(temp_dir)) in GetTempName()
/system/update_engine/cros/
Drequisition_util.cc47 if ((requisition.empty() || !vpd_retval) && base::PathExists(local_state)) { in ReadDeviceRequisition()
/system/apex/apexd/
Dapexd_test.cpp345 auto exists = PathExists(decompressed_file_path); in TEST_F()
466 auto exists = PathExists(decompressed_file_path); in TEST_F()
513 ASSERT_FALSE(*PathExists(ota_apex_path)); in TEST_F()
705 auto path_exists = PathExists(ota_apex_path); in TEST_F()
712 auto path_exists = PathExists(ota_apex_path); in TEST_F()
717 path_exists = PathExists(ota_apex_path); in TEST_F()
723 path_exists = PathExists(ota_apex_path); in TEST_F()
1412 ASSERT_TRUE(*PathExists(active_decompressed_apex)); in TEST_F()
1413 ASSERT_TRUE(*PathExists(active_data_apex)); in TEST_F()
1414 ASSERT_TRUE(*PathExists(decompressed_different_suffix)); in TEST_F()
[all …]
Dapex_file_test.cpp243 auto exists = PathExists(decompression_file_path); in TEST()
277 auto exists = PathExists(decompression_file.path); in TEST()
Dapexd_utils.h185 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() function
266 auto exist = PathExists(path); in FindApexes()
Dapexd_verity.cpp166 auto exists = PathExists(hashtree_file); in PrepareHashTree()
Dapexd.cpp444 auto exists = PathExists(mount_point); in MountPackageImpl()
881 auto exists = PathExists(std::string(kApexBackupDir)); in DeleteBackup()
903 PathExists(std::string(gConfig->active_apex_data_dir)); in BackupActivePackages()
957 auto backup_exists = PathExists(std::string(kApexBackupDir)); in RestoreActivePackages()
1134 auto lib_dir = PathExists(apex_lib_path); in ActivateSharedLibsPackage()
1158 auto symlink_dir = PathExists(library_symlink_dir); in ActivateSharedLibsPackage()
1176 auto hash_dir = PathExists(library_symlink_hash); in ActivateSharedLibsPackage()
1891 if (PathExists(pre_restore_snapshot_path).ok()) { in RestorePreRestoreSnapshotsIfPresent()
2325 auto dir_exists = PathExists(shared_libs_sub_dir); in CreateSharedLibsApexDir()
2337 auto lib_dir_exists = PathExists(apex_lib_path); in CreateSharedLibsApexDir()
[all …]
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()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test.cpp48 if (!base::PathExists(vbmeta_image_path)) return; in ModifyVBMetaHeaderFlags()
Davb_util_test.cpp68 if (!base::PathExists(image_path)) return; in SetVBMetaFlags()
600 if (!base::PathExists(avb_image_path)) return false; in CompareVBMeta()
/system/bt/osi/test/
Dconfig_test.cc274 EXPECT_TRUE(base::PathExists(file_path)); in TEST_F()
/system/bt/osi/src/
Dconfig.cc119 if (!base::PathExists(path)) { in checksum_read()
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc309 return base::PathExists(base::FilePath(path)); in DeviceExists()