Lines Matching refs:pPtable_
26 PtableManager::PtableManager() : pPtable_(nullptr)
69 if (pPtable_ == nullptr) {
71 pPtable_ = std::make_unique<UfsPtable>();
73 pPtable_ = std::make_unique<EmmcPtable>();
80 if (pPtable_ == nullptr) {
81 LOG(ERROR) << "pPtable_ is nullptr";
84 if (!pPtable_->InitPtable()) {
186 if (pPtable_ == nullptr) {
187 LOG(ERROR) << "Write ptable to device failed! pPtable_ is nullptr";
190 if (!pPtable_->WritePartitionTable()) {
200 if (pPtable_ != nullptr) {
202 pPtable_->PrintPtableInfo();
212 if (pPtable_ == nullptr) {
213 LOG(ERROR) << "GetPartionInfoByName failed! pPtable_ is nullptr";
222 if (pPtable_->GetPartionInfoByName(standardPtnName, ptnInfo, index)) {
271 pPtable_ = std::make_unique<CompositePtable>();
272 if (pPtable_ == nullptr) {
283 pPtable_->AddChildPtable(iter->second());
302 uint32_t imgBufSize = pPtable_->GetDefaultImageSize();
319 if (!pPtable_->ParsePartitionFromBuffer(imageBuf, imgBufSize)) {
326 pPtable_->PrintPtableInfo();
382 if (!pPtable_->LoadPtableFromDevice()) {
388 pPtable_->PrintPtableInfo();
394 if (pPtable_ == nullptr || newPtbManager.pPtable_ == nullptr) {
398 if (IsPartitionChanged(pPtable_->GetPtablePartitionInfo(),
399 newPtbManager.pPtable_->GetPtablePartitionInfo(), partitionName)) {
409 if (pPtable_ == nullptr || newPtbManager.pPtable_ == nullptr) {
413 if (IsPtableChanged(pPtable_->GetPtablePartitionInfo(),
414 newPtbManager.pPtable_->GetPtablePartitionInfo())) {