Searched refs:PathExists (Results 1 – 16 of 16) 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()151 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 …]
211 return base::PathExists(filename); in KeyExists()
105 if (!base::PathExists(temp_dir)) in GetTempName()
47 if ((requisition.empty() || !vpd_retval) && base::PathExists(local_state)) { in ReadDeviceRequisition()
345 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 …]
243 auto exists = PathExists(decompression_file_path); in TEST()277 auto exists = PathExists(decompression_file.path); in TEST()
185 inline android::base::Result<bool> PathExists(const std::string& path) { in PathExists() function266 auto exist = PathExists(path); in FindApexes()
166 auto exists = PathExists(hashtree_file); in PrepareHashTree()
444 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 …]
1231 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()
48 if (!base::PathExists(vbmeta_image_path)) return; in ModifyVBMetaHeaderFlags()
68 if (!base::PathExists(image_path)) return; in SetVBMetaFlags()600 if (!base::PathExists(avb_image_path)) return false; in CompareVBMeta()
274 EXPECT_TRUE(base::PathExists(file_path)); in TEST_F()
119 if (!base::PathExists(path)) { in checksum_read()
309 return base::PathExists(base::FilePath(path)); in DeviceExists()