• Home
  • Raw
  • Download

Lines Matching refs:devicePtnInfo

100 bool PtableManager::IsPartitionChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo,  in IsPartitionChanged()  argument
107 if (devicePtnInfo.empty()) { in IsPartitionChanged()
111 int32_t deviceIndex = GetPartitionInfoIndexByName(devicePtnInfo, partitionName); in IsPartitionChanged()
122 if (devicePtnInfo[deviceIndex].startAddr != pkgPtnInfo[updateIndex].startAddr) { in IsPartitionChanged()
125devicePtnInfo[deviceIndex].startAddr << ", in package ptable[" << updateIndex << "] startAddr is 0… in IsPartitionChanged()
129 if (devicePtnInfo[deviceIndex].partitionSize != pkgPtnInfo[updateIndex].partitionSize) { in IsPartitionChanged()
132 devicePtnInfo[deviceIndex].partitionSize << ", in package ptable[" << updateIndex << in IsPartitionChanged()
139 bool PtableManager::IsPtableChanged(const std::vector<Ptable::PtnInfo> &devicePtnInfo, in IsPtableChanged() argument
146 if (devicePtnInfo.empty() || pkgPtnInfo.size() != devicePtnInfo.size()) { in IsPtableChanged()
151 if (devicePtnInfo[i].dispName != pkgPtnInfo[i].dispName) { in IsPtableChanged()
153 LOG(WARNING) << "ptable NAME in device is " << devicePtnInfo[i].dispName << in IsPtableChanged()
157 if (devicePtnInfo[i].startAddr != pkgPtnInfo[i].startAddr) { in IsPtableChanged()
159 LOG(WARNING) << "Device ptable [" << devicePtnInfo[i].dispName << "] startAddr is 0x" << in IsPtableChanged()
160 devicePtnInfo[i].startAddr; in IsPtableChanged()
165 if (devicePtnInfo[i].partitionSize != pkgPtnInfo[i].partitionSize) { in IsPtableChanged()
167 … LOG(WARNING) << "Device ptable [" << devicePtnInfo[i].dispName << "] partitionSize is 0x" << in IsPtableChanged()
168 devicePtnInfo[i].partitionSize; in IsPtableChanged()