Home
last modified time | relevance | path

Searched refs:PtnInfo (Results 1 – 10 of 10) sorted by relevance

/base/update/updater/services/ptable_parse/
Dptable_manager.h38 …bool GetPartionInfoByName(const std::string &partitionName, Ptable::PtnInfo &ptnInfo, int32_t &ind…
39 bool GetPartionInfoByName(const std::string &partitionName, Ptable::PtnInfo &ptnInfo);
51 bool IsPartitionChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo,
52 const std::vector<Ptable::PtnInfo> &pkgPtnInfo, const std::string &partitionName);
53 bool IsPtableChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo,
54 const std::vector<Ptable::PtnInfo> &pkgPtnInfo);
55 …int32_t GetPartitionInfoIndexByName(const std::vector<Ptable::PtnInfo> &ptnInfo, const std::string…
Dptable.h32 struct PtnInfo { struct
40 std::vector<PtnInfo> GetPtablePartitionInfo() const;
45 void PrintPtableInfo(const std::vector<PtnInfo> &ptnInfo) const;
46 bool GetPartionInfoByName(const std::string &partitionName, PtnInfo &ptnInfo, int32_t &index);
47 std::vector<PtnInfo>& GetPtablePartitionInfoInstance();
48 bool LoadPtnInfo(const std::vector<PtnInfo>& ptnInfo);
140 std::vector<PtnInfo> partitionInfo_;
Dptable_manager.cpp84 int32_t PtableManager::GetPartitionInfoIndexByName(const std::vector<Ptable::PtnInfo> &ptnInfo, in GetPartitionInfoIndexByName()
100 bool PtableManager::IsPartitionChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo, in IsPartitionChanged()
101 const std::vector<Ptable::PtnInfo> &pkgPtnInfo, const std::string &partitionName) in IsPartitionChanged()
139 bool PtableManager::IsPtableChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo, in IsPtableChanged()
140 const std::vector<Ptable::PtnInfo> &pkgPtnInfo) in IsPtableChanged()
203 bool PtableManager::GetPartionInfoByName(const std::string &partitionName, Ptable::PtnInfo &ptnInfo… in GetPartionInfoByName()
219 bool PtableManager::GetPartionInfoByName(const std::string &partitionName, Ptable::PtnInfo &ptnInfo) in GetPartionInfoByName()
Dptable.cpp37 std::vector<Ptable::PtnInfo> Ptable::GetPtablePartitionInfo() const in GetPtablePartitionInfo()
47 bool Ptable::LoadPtnInfo(const std::vector<PtnInfo> &ptnInfo) in LoadPtnInfo()
57 std::vector<Ptable::PtnInfo>& Ptable::GetPtablePartitionInfoInstance() in GetPtablePartitionInfoInstance()
65 std::vector<PtnInfo>().swap(partitionInfo_); in InitPtable()
431 void Ptable::PrintPtableInfo(const std::vector<PtnInfo> &ptnInfo) const in PrintPtableInfo()
491 bool Ptable::GetPartionInfoByName(const std::string &partitionName, PtnInfo &ptnInfo, int32_t &inde… in GetPartionInfoByName()
Dufs_ptable.cpp105 PtnInfo newPtnInfo; in UfsReadGpt()
/base/update/updater/test/unittest/ptable_parse_test/
Dptable_manager_unittest.cpp33 …int32_t TestGetPartitionInfoIndexByName(const std::vector<Ptable::PtnInfo> &ptnInfo, const std::st… in TestGetPartitionInfoIndexByName()
38 bool TestIsPtableChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo, in TestIsPtableChanged()
39 const std::vector<Ptable::PtnInfo> &pkgPtnInfo) in TestIsPtableChanged()
53 bool TestIsPartitionChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo, in TestIsPartitionChanged()
54 const std::vector<Ptable::PtnInfo> &pkgPtnInfo, const std::string &partitionName) in TestIsPartitionChanged()
69 std::vector<Ptable::PtnInfo> ptnInfo; in TestGetPartitionInfoIndexByName()
70 Ptable::PtnInfo tmp; in TestGetPartitionInfoIndexByName()
93 std::vector<Ptable::PtnInfo> devicePtnInfo; in TestIsPtableChanged()
94 std::vector<Ptable::PtnInfo> pkgPtnInfo; in TestIsPtableChanged()
97 Ptable::PtnInfo tmp = {1, 1, {1}, 1, "TestIsPtableChanged"}; in TestIsPtableChanged()
[all …]
Dptable_unittest.cpp46 … bool TestGetPartionInfoByName(const std::string &partitionName, PtnInfo &ptnInfo, int32_t &index) in TestGetPartionInfoByName()
56 void ChangePartitionInfo(std::vector<PtnInfo> partitionInfo) in ChangePartitionInfo()
73 PtableTest::PtnInfo ptnInfo; in TestGetPartionInfoByName()
76 std::vector<PtableTest::PtnInfo> partionInfo; in TestGetPartionInfoByName()
/base/update/updater/services/flashd/image_writer/
Dimage_writer.cpp39 Ptable::PtnInfo ptnInfo; in GetDataWriter()
/base/update/updater/services/flow_update/update_bin/
Dcomponent_processor.cpp227 Ptable::PtnInfo ptnInfo; in GetWritePathAndOffset()
/base/update/updater/services/updater_binary/
Dupdate_processor.cpp409 Ptable::PtnInfo ptnInfo; in GetWritePathAndOffset()