Home
last modified time | relevance | path

Searched refs:ReadMetadata (Results 1 – 19 of 19) sorted by relevance

/system/core/fs_mgr/liblp/
Dio_test.cpp137 ASSERT_EQ(ReadMetadata(opener, "super", 1), nullptr); in TEST_F()
178 unique_ptr<LpMetadata> imported = ReadMetadata(opener, "super", 0); in TEST_F()
215 unique_ptr<LpMetadata> imported = ReadMetadata(opener, "super", 0); in TEST_F()
225 imported = ReadMetadata(opener, "super", 0); in TEST_F()
231 imported = ReadMetadata(opener, "super", 1); in TEST_F()
261 unique_ptr<LpMetadata> metadata = ReadMetadata(opener, "super", 0); in TEST_F()
268 EXPECT_EQ(ReadMetadata(opener, "super", kMetadataSlots), nullptr); in TEST_F()
279 unique_ptr<LpMetadata> imported = ReadMetadata(opener, "super", 0); in TEST_F()
286 imported = ReadMetadata(opener, "super", 0); in TEST_F()
291 imported = ReadMetadata(opener, "super", 0); in TEST_F()
[all …]
Ddevice_test.cpp65 auto metadata = ReadMetadata(super_name, slot_number); in TEST_F()
82 auto other_metadata = ReadMetadata(other_super_name, other_slot_number); in TEST_F()
Dreader.cpp439 std::unique_ptr<LpMetadata> ReadMetadata(const IPartitionOpener& opener, in ReadMetadata() function
477 std::unique_ptr<LpMetadata> ReadMetadata(const std::string& super_partition, uint32_t slot_number) { in ReadMetadata() function
478 return ReadMetadata(PartitionOpener(), super_partition, slot_number); in ReadMetadata()
Dbuilder.cpp145 std::unique_ptr<LpMetadata> metadata = ReadMetadata(opener, super_partition, slot_number); in New()
190 auto metadata = ReadMetadata(opener, source_partition, source_slot_number); in NewForUpdate()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h64 std::unique_ptr<LpMetadata> ReadMetadata(const IPartitionOpener& opener,
71 std::unique_ptr<LpMetadata> ReadMetadata(const std::string& super_partition, uint32_t slot_number);
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp141 auto metadata = ReadMetadata(block_device.c_str(), slot); in CreateLogicalPartitions()
151 return ReadMetadata(block_device.c_str(), slot); in ReadCurrentMetadata()
198 if (owned->metadata = ReadMetadata(*partition_opener, block_device, slot); in InitDefaults()
Dfs_mgr_overlayfs.cpp1090 auto metadata = ReadMetadata(super_device, slot_number); in CanUseSuperPartition()
/system/update_engine/
Dmetrics_reporter_android.cc37 using android::fs_mgr::ReadMetadata;
81 std::unique_ptr<LpMetadata> metadata = ReadMetadata(super_device, slot); in ReportUpdateAttemptMetrics()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.h58 std::string ReadMetadata(Location loc) const;
Dapk_archive.cpp99 dump.set_cd(ReadMetadata(cdLoc)); in ExtractMetadata()
103 dump.set_signature(ReadMetadata(sigLoc)); in ExtractMetadata()
204 std::string ApkArchive::ReadMetadata(Location loc) const { in ReadMetadata() function in ApkArchive
/system/core/fastboot/device/
Dutility.cpp131 std::unique_ptr<LpMetadata> metadata = ReadMetadata(path->c_str(), slot_number); in LogicalPartitionExists()
179 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions()
186 if (auto metadata = ReadMetadata(other_super, other_slot)) { in ListPartitions()
Dflashing.cpp190 std::unique_ptr<LpMetadata> old_metadata = ReadMetadata(super_name, slot_number); in UpdateSuper()
/system/extras/partition_tools/
Dlpadd.cc32 using android::fs_mgr::ReadMetadata;
146 metadata_ = android::fs_mgr::ReadMetadata(abs_super_path_, 0); in Open()
Dlpunpack.cc155 auto metadata = ReadMetadata(abs_super_path, slot_num); in main()
Dlpdump.cc387 return ReadMetadata(path, slot); in ReadDeviceOrFile()
/system/vold/model/
DPrivateVolume.cpp59 status_t res = ReadMetadata(mDmDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata()
/system/vold/
DUtils.h97 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid,
DUtils.cpp657 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid, in ReadMetadata() function
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1240 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, slot); in ReadCurrentMetadata()
1309 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, target_slot); in GetSnapshotFlashingStatus()
1547 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, slot); in CreateLogicalAndSnapshotPartitions()
2443 auto metadata = android::fs_mgr::ReadMetadata(opener, super_device, slot); in UnmapAllPartitions()