Searched refs:pkgPtnInfo (Results 1 – 3 of 3) sorted by relevance
/base/update/updater/test/unittest/ptable_parse_test/ |
D | ptable_manager_unittest.cpp | 39 const std::vector<Ptable::PtnInfo> &pkgPtnInfo) in TestIsPtableChanged() argument 41 return IsPtableChanged(devicePtnInfo, pkgPtnInfo); in TestIsPtableChanged() 54 const std::vector<Ptable::PtnInfo> &pkgPtnInfo, const std::string &partitionName) in TestIsPartitionChanged() argument 56 return IsPartitionChanged(devicePtnInfo, pkgPtnInfo, partitionName); in TestIsPartitionChanged() 94 std::vector<Ptable::PtnInfo> pkgPtnInfo; in TestIsPtableChanged() local 95 bool ret = context.TestIsPtableChanged(devicePtnInfo, pkgPtnInfo); in TestIsPtableChanged() 98 pkgPtnInfo.push_back(tmp); in TestIsPtableChanged() 99 ret = context.TestIsPtableChanged(devicePtnInfo, pkgPtnInfo); in TestIsPtableChanged() 102 ret = context.TestIsPtableChanged(devicePtnInfo, pkgPtnInfo); in TestIsPtableChanged() 105 ret = context.TestIsPtableChanged(devicePtnInfo, pkgPtnInfo); in TestIsPtableChanged() [all …]
|
/base/update/updater/services/ptable_parse/ |
D | ptable_manager.cpp | 101 const std::vector<Ptable::PtnInfo> &pkgPtnInfo, const std::string &partitionName) in IsPartitionChanged() argument 103 if (pkgPtnInfo.empty()) { in IsPartitionChanged() 116 int32_t updateIndex = GetPartitionInfoIndexByName(pkgPtnInfo, partitionName); in IsPartitionChanged() 122 if (devicePtnInfo[deviceIndex].startAddr != pkgPtnInfo[updateIndex].startAddr) { in IsPartitionChanged() 126 pkgPtnInfo[updateIndex].startAddr; in IsPartitionChanged() 129 if (devicePtnInfo[deviceIndex].partitionSize != pkgPtnInfo[updateIndex].partitionSize) { in IsPartitionChanged() 133 "] partitionSize is 0x" << pkgPtnInfo[updateIndex].partitionSize; in IsPartitionChanged() 140 const std::vector<Ptable::PtnInfo> &pkgPtnInfo) in IsPtableChanged() argument 142 if (pkgPtnInfo.empty()) { in IsPtableChanged() 146 if (devicePtnInfo.empty() || pkgPtnInfo.size() != devicePtnInfo.size()) { in IsPtableChanged() [all …]
|
D | ptable_manager.h | 52 const std::vector<Ptable::PtnInfo> &pkgPtnInfo, const std::string &partitionName); 54 const std::vector<Ptable::PtnInfo> &pkgPtnInfo);
|