Home
last modified time | relevance | path

Searched refs:msgIndex (Results 1 – 18 of 18) sorted by relevance

/base/telephony/sms_mms/services/sms/
Dsms_interface_manager.cpp119 int32_t SmsInterfaceManager::DelSimMessage(uint32_t msgIndex) in DelSimMessage() argument
125 return smsMiscManager_->DelSimMessage(msgIndex); in DelSimMessage()
128 int32_t SmsInterfaceManager::UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageSt… in UpdateSimMessage() argument
135 return smsMiscManager_->UpdateSimMessage(msgIndex, newStatus, pdu, smsc); in UpdateSimMessage()
Dsms_service.cpp425 int32_t SmsService::DelSimMessage(int32_t slotId, uint32_t msgIndex) in DelSimMessage() argument
445 if (!CheckSimMessageIndexValid(slotId, msgIndex)) { in DelSimMessage()
450 return interfaceManager->DelSimMessage(msgIndex); in DelSimMessage()
453 int32_t SmsService::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, in UpdateSimMessage() argument
476 if (!CheckSimMessageIndexValid(slotId, msgIndex)) { in UpdateSimMessage()
484 return interfaceManager->UpdateSimMessage(msgIndex, newStatus, pduData, smscData); in UpdateSimMessage()
506 bool SmsService::CheckSimMessageIndexValid(int32_t slotId, uint32_t msgIndex) in CheckSimMessageIndexValid() argument
515 if (msgIndex < 0 || totalMessages.size() == 0) { in CheckSimMessageIndexValid()
520 if (message.GetIndexOnSim() == static_cast<int32_t>(msgIndex)) { in CheckSimMessageIndexValid()
Dsms_misc_manager.cpp400 int32_t SmsMiscManager::DelSimMessage(uint32_t msgIndex) in DelSimMessage() argument
402 TELEPHONY_LOGI("messageIndex = %{public}d", msgIndex); in DelSimMessage()
409 return CoreManagerInner::GetInstance().DelSmsIcc(slotId_, msgIndex); in DelSimMessage()
412 int32_t SmsMiscManager::UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus … in UpdateSimMessage() argument
421 slotId_, msgIndex, static_cast<int>(newStatus), const_cast<std::string &>(pdu), smscAddr); in UpdateSimMessage()
Dsms_interface_stub.cpp272 uint32_t msgIndex = data.ReadUint32(); in OnDelSimMessage() local
273 int32_t result = DelSimMessage(slotId, msgIndex); in OnDelSimMessage()
281 uint32_t msgIndex = data.ReadUint32(); in OnUpdateSimMessage() local
288 …int32_t result = UpdateSimMessage(slotId, msgIndex, static_cast<SimMessageStatus>(newStatus), pdu,… in OnUpdateSimMessage()
/base/telephony/sms_mms/frameworks/native/sms/src/
Dsms_service_manager_client.cpp140 int32_t SmsServiceManagerClient::DelSimMessage(int32_t slotId, uint32_t msgIndex) in DelSimMessage() argument
143 return smsServiceInterface_->DelSimMessage(slotId, msgIndex); in DelSimMessage()
148 int32_t SmsServiceManagerClient::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, in UpdateSimMessage() argument
152 return smsServiceInterface_->UpdateSimMessage(slotId, msgIndex, newStatus, pdu, smsc); in UpdateSimMessage()
Dsms_service_proxy.cpp194 int32_t SmsServiceProxy::DelSimMessage(int32_t slotId, uint32_t msgIndex) in DelSimMessage() argument
205 dataParcel.WriteUint32(msgIndex); in DelSimMessage()
216 int32_t SmsServiceProxy::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newSt… in UpdateSimMessage() argument
228 dataParcel.WriteUint32(msgIndex); in UpdateSimMessage()
/base/telephony/sms_mms/services/sms/include/
Dsms_interface_manager.h47 int32_t DelSimMessage(uint32_t msgIndex);
48 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
Dsms_service.h116 int32_t DelSimMessage(int32_t slotId, uint32_t msgIndex) override;
129 …int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, const std:…
325 bool CheckSimMessageIndexValid(int32_t slotId, uint32_t msgIndex);
Dsms_misc_manager.h63 int32_t DelSimMessage(uint32_t msgIndex);
64 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
/base/telephony/sms_mms/interfaces/innerkits/
Dsms_service_manager_client.h140 int32_t DelSimMessage(int32_t slotId, uint32_t msgIndex);
153 …int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus…
Di_sms_service_interface.h197 virtual int32_t DelSimMessage(int32_t slotId, uint32_t msgIndex) = 0;
210 virtual int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus,
Dsms_service_proxy.h101 int32_t DelSimMessage(int32_t slotId, uint32_t msgIndex) override;
113 …int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, const std:…
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts388 function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback<void>): void;
409 function delSimMessage(slotId: number, msgIndex: number): Promise<void>;
2445 msgIndex: number; property
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_sms.h158 int32_t msgIndex = DEFAULT_ERROR; member
164 int32_t msgIndex = DEFAULT_ERROR; member
/base/telephony/sms_mms/test/unittest/
Dgsm_sms_sender_test.cpp268 uint32_t msgIndex = std::atoi(input.c_str()); in TestDelSimMessage() local
269 result = smsService->DelSimMessage(slotIdTesth, msgIndex); in TestDelSimMessage()
294 uint32_t msgIndex = std::atoi(input.c_str()); in TestUpdateSimMessage() local
307 …slotIdTesti, msgIndex, static_cast<ISmsServiceInterface::SimMessageStatus>(status), pduData, smscD… in TestUpdateSimMessage()
/base/telephony/sms_mms/test/gtest/
Dzero_branch_sms_test.cpp1608 uint32_t msgIndex = 1; variable
1609 smsServiceManagerClient->DelSimMessage(slotId, msgIndex);
1611 … slotId, msgIndex, ISmsServiceInterface::SimMessageStatus::SIM_MESSAGE_STATUS_UNREAD, smsc, smsc);
1616 smsServiceManagerClient->SetCBConfig(slotId, enable, msgIndex, msgIndex, ranType);
1888 uint32_t msgIndex = 1; variable
1889 smsService->DelSimMessage(slotId, msgIndex);
1891 …slotId, msgIndex, ISmsServiceInterface::SimMessageStatus::SIM_MESSAGE_STATUS_UNREAD, desAddr, desA…
1892 smsService->CheckSimMessageIndexValid(slotId, msgIndex);
Dsms_gtest.cpp580 uint32_t msgIndex = 0; in UpdateSimMessageTestFuc() local
586 …helper.slotId, msgIndex, static_cast<ISmsServiceInterface::SimMessageStatus>(status), pduData, sms… in UpdateSimMessageTestFuc()
669 uint32_t msgIndex = 1; in DelSimMessageTestFuc() local
670 …= DelayedSingleton<SmsServiceManagerClient>::GetInstance()->DelSimMessage(helper.slotId, msgIndex); in DelSimMessageTestFuc()
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp1054 context->msgIndex); in NativeDelSimMessage()
1095 napi_get_value_int32(env, parameters[1], &context->msgIndex); in DelSimMessage()
1144 … context->msgIndex, static_cast<ISmsServiceInterface::SimMessageStatus>(context->newStatus), in NativeUpdateSimMessage()
1201 napi_get_value_int32(env, msgIndexValue, &context->msgIndex); in UpdateSimMessage()