Home
last modified time | relevance | path

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

12

/ohos5.0/base/telephony/sms_mms/services/sms/
H A 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()
H A Dsms_service.cpp429 int32_t SmsService::DelSimMessage(int32_t slotId, uint32_t msgIndex) in DelSimMessage() argument
449 if (!CheckSimMessageIndexValid(slotId, msgIndex)) { in DelSimMessage()
454 return interfaceManager->DelSimMessage(msgIndex); in DelSimMessage()
457 int32_t SmsService::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, in UpdateSimMessage() argument
480 if (!CheckSimMessageIndexValid(slotId, msgIndex)) { in UpdateSimMessage()
488 return interfaceManager->UpdateSimMessage(msgIndex, newStatus, pduData, smscData); in UpdateSimMessage()
510 bool SmsService::CheckSimMessageIndexValid(int32_t slotId, uint32_t msgIndex) in CheckSimMessageIndexValid() argument
519 if (msgIndex < 0 || totalMessages.size() == 0) { in CheckSimMessageIndexValid()
524 if (message.GetIndexOnSim() == static_cast<int32_t>(msgIndex)) { in CheckSimMessageIndexValid()
H A Dsms_misc_manager.cpp411 int32_t SmsMiscManager::DelSimMessage(uint32_t msgIndex) in DelSimMessage() argument
413 TELEPHONY_LOGI("messageIndex = %{public}d", msgIndex); in DelSimMessage()
420 return CoreManagerInner::GetInstance().DelSmsIcc(slotId_, msgIndex); in DelSimMessage()
423 int32_t SmsMiscManager::UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus … in UpdateSimMessage() argument
432 slotId_, msgIndex, static_cast<int>(newStatus), const_cast<std::string &>(pdu), smscAddr); in UpdateSimMessage()
H A Dsms_interface_stub.cpp281 uint32_t msgIndex = data.ReadUint32(); in OnDelSimMessage() local
282 int32_t result = DelSimMessage(slotId, msgIndex); in OnDelSimMessage()
290 uint32_t msgIndex = data.ReadUint32(); in OnUpdateSimMessage() local
297 …int32_t result = UpdateSimMessage(slotId, msgIndex, static_cast<SimMessageStatus>(newStatus), pdu,… in OnUpdateSimMessage()
/ohos5.0/base/telephony/sms_mms/services/sms/include/
H A 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);
H A Dsms_interface_manager.h47 int32_t DelSimMessage(uint32_t msgIndex);
48 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
H A Dsms_misc_manager.h63 int32_t DelSimMessage(uint32_t msgIndex);
64 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
/ohos5.0/base/telephony/sms_mms/frameworks/native/sms/src/
H A Dsms_service_manager_client.cpp148 int32_t SmsServiceManagerClient::DelSimMessage(int32_t slotId, uint32_t msgIndex) in DelSimMessage() argument
152 return smsServiceInterface_->DelSimMessage(slotId, msgIndex); in DelSimMessage()
157 int32_t SmsServiceManagerClient::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, in UpdateSimMessage() argument
162 return smsServiceInterface_->UpdateSimMessage(slotId, msgIndex, newStatus, pdu, smsc); in UpdateSimMessage()
H A 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()
/ohos5.0/base/telephony/sms_mms/interfaces/kits/js/
H A D@ohos.telephony.sms.d.ts409 function delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback<void>): void;
431 function delSimMessage(slotId: number, msgIndex: number): Promise<void>;
2393 msgIndex: number;
/ohos5.0/base/telephony/sms_mms/interfaces/innerkits/
H A Dsms_service_manager_client.h139 int32_t DelSimMessage(int32_t slotId, uint32_t msgIndex);
152 …int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus…
H A 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,
H A 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:…
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/include/
H A Dnapi_sms.h157 int32_t msgIndex = DEFAULT_ERROR; member
163 int32_t msgIndex = DEFAULT_ERROR; member
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/
H A Djs-apis-sms-sys.md989 删除SIM卡消息,msgIndex无效时,删除报错。使用callback异步回调。
1026 let msgIndex: number = 1;
1027 sms.delSimMessage(slotId, msgIndex, (err: BusinessError) => {
1035 delSimMessage\(slotId: number, msgIndex: number\): Promise\<void\>
1037 删除SIM卡消息,msgIndex无效时,删除报错。使用Promise异步回调。
1050 | msgIndex | number | 是 | 消息索引。 |
1079 let msgIndex: number = 1;
1080 let promise = sms.delSimMessage(slotId, msgIndex);
1129 msgIndex: 1,
1186 msgIndex: 1,
[all …]
/ohos5.0/base/telephony/sms_mms/test/unittest/
H A 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()
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/
H A Djs-apis-sms-sys.md987 delSimMessage\(slotId: number, msgIndex: number, callback: AsyncCallback\<void\>\): void
1002 | msgIndex | number | Yes | Message index. |
1026 let msgIndex: number = 1;
1027 sms.delSimMessage(slotId, msgIndex, (err: BusinessError) => {
1035 delSimMessage\(slotId: number, msgIndex: number\): Promise\<void\>
1050 | msgIndex | number | Yes | Message index. |
1079 let msgIndex: number = 1;
1080 let promise = sms.delSimMessage(slotId, msgIndex);
1129 msgIndex: 1,
1186 msgIndex: 1,
[all …]
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_sms_test.cpp1690 uint32_t msgIndex = 1; variable
1691 smsServiceManagerClient->DelSimMessage(slotId, msgIndex);
1693 … slotId, msgIndex, ISmsServiceInterface::SimMessageStatus::SIM_MESSAGE_STATUS_UNREAD, smsc, smsc);
1698 smsServiceManagerClient->SetCBConfig(slotId, enable, msgIndex, msgIndex, ranType);
1973 uint32_t msgIndex = 1; variable
1974 smsService->DelSimMessage(slotId, msgIndex);
1976 …slotId, msgIndex, ISmsServiceInterface::SimMessageStatus::SIM_MESSAGE_STATUS_UNREAD, desAddr, desA…
1977 smsService->CheckSimMessageIndexValid(slotId, msgIndex);
H A 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()
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_sms.cpp1058 context->msgIndex); in NativeDelSimMessage()
1099 napi_get_value_int32(env, parameters[1], &context->msgIndex); in DelSimMessage()
1148 … context->msgIndex, static_cast<ISmsServiceInterface::SimMessageStatus>(context->newStatus), in NativeUpdateSimMessage()
1205 napi_get_value_int32(env, msgIndexValue, &context->msgIndex); in UpdateSimMessage()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.0-LTS/
H A Djs-apidiff-v3.0-lts.md166 …SimMessage(slotId: number, msgIndex: number, callback: AsyncCallback\<void>): void;<br/>delSimMess…
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
H A DMainEditor.js1747 let msgIndex = 0;
1750 this.procTouch(touch[msgIndex], touch[xIndex], touch[yIndex]);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-telephony.md178 …sage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信息:|类名:sms;<br>方法or属性:function delSi…
303msgIndex: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,8300001,8300002,8300003,…
741 …sage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信息:|类名:sms;<br>方法or属性:function delSi…
879 …|类名:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>旧版本信息:|类名:UpdateSimMessageOptions;<br>…
986 …sage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信息:|类名:sms;<br>方法or属性:function delSi…
1221 …|类名:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>旧版本信息:|类名:UpdateSimMessageOptions;<br>…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-telephony.md209 …sage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信息:|类名:sms;<br>方法or属性:function delSi…
330msgIndex: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:201,401,8300001,8300002,8300003,…
755 …sage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信息:|类名:sms;<br>方法or属性:function delSi…
893 …|类名:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>旧版本信息:|类名:UpdateSimMessageOptions;<br>…
1002 …sage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信息:|类名:sms;<br>方法or属性:function delSi…
1234 …|类名:UpdateSimMessageOptions;<br>方法or属性:msgIndex: number;<br>旧版本信息:|类名:UpdateSimMessageOptions;<br>…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-telephony.md443 …: number, msgIndex: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sms;<br>方法or属性:fun…
444 …sage(slotId: number, msgIndex: number): Promise\<void>;<br>旧版本信息:|类名:sms;<br>方法or属性:function delSi…

12