Lines Matching refs:msgIndex
455 int32_t SmsService::DelSimMessage(int32_t slotId, uint32_t msgIndex)
475 if (!CheckSimMessageIndexValid(slotId, msgIndex)) {
476 TELEPHONY_LOGE("SmsService::DelSimMessage msgIndex inValid");
480 return interfaceManager->DelSimMessage(msgIndex);
483 int32_t SmsService::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus,
506 if (!CheckSimMessageIndexValid(slotId, msgIndex)) {
507 TELEPHONY_LOGE("SmsService::UpdateSimMessage msgIndex inValid");
514 return interfaceManager->UpdateSimMessage(msgIndex, newStatus, pduData, smscData);
536 bool SmsService::CheckSimMessageIndexValid(int32_t slotId, uint32_t msgIndex)
545 if (msgIndex < 0 || totalMessages.size() == 0) {
546 TELEPHONY_LOGE("SmsService::CheckSimMessageIndexValid msgIndex error");
550 if (message.GetIndexOnSim() == static_cast<int32_t>(msgIndex)) {
554 TELEPHONY_LOGI("SmsService::CheckSimMessageIndexValid msgIndex not founded");