/base/telephony/sms_mms/services/sms/ |
D | sms_interface_manager.cpp | 119 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()
|
D | sms_service.cpp | 425 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()
|
D | sms_misc_manager.cpp | 400 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()
|
D | sms_interface_stub.cpp | 272 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/ |
D | sms_service_manager_client.cpp | 140 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()
|
D | sms_service_proxy.cpp | 194 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/ |
D | sms_interface_manager.h | 47 int32_t DelSimMessage(uint32_t msgIndex); 48 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
|
D | sms_service.h | 116 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);
|
D | sms_misc_manager.h | 63 int32_t DelSimMessage(uint32_t msgIndex); 64 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
|
/base/telephony/sms_mms/interfaces/innerkits/ |
D | sms_service_manager_client.h | 140 int32_t DelSimMessage(int32_t slotId, uint32_t msgIndex); 153 …int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus…
|
D | i_sms_service_interface.h | 197 virtual int32_t DelSimMessage(int32_t slotId, uint32_t msgIndex) = 0; 210 virtual int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus,
|
D | sms_service_proxy.h | 101 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.ts | 388 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/ |
D | napi_sms.h | 158 int32_t msgIndex = DEFAULT_ERROR; member 164 int32_t msgIndex = DEFAULT_ERROR; member
|
/base/telephony/sms_mms/test/unittest/ |
D | gsm_sms_sender_test.cpp | 268 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/ |
D | zero_branch_sms_test.cpp | 1608 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);
|
D | sms_gtest.cpp | 580 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/ |
D | napi_sms.cpp | 1054 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()
|