Home
last modified time | relevance | path

Searched refs:specification (Results 1 – 17 of 17) sorted by relevance

/base/telephony/sms_mms/frameworks/native/sms/src/
Dshort_message.cpp189 std::vector<unsigned char> &pdu, std::u16string specification, ShortMessage &messageObj) in CreateMessage() argument
195 std::string indicates = StringUtils::ToUtf8(specification); in CreateMessage()
205 …essage::CreateIccMessage(std::vector<unsigned char> &pdu, std::string specification, int32_t index) in CreateIccMessage() argument
220 …int32_t errorCode = client->CreateMessage(StringUtils::StringToHex(pduTemp), specification, messag… in CreateIccMessage()
Dsms_service_manager_client.cpp241 int32_t SmsServiceManagerClient::CreateMessage(std::string pdu, std::string specification, ShortMes… in CreateMessage() argument
244 return smsServiceInterface_->CreateMessage(pdu, specification, message); in CreateMessage()
Dsms_service_proxy.cpp572 int32_t SmsServiceProxy::CreateMessage(std::string pdu, std::string specification, ShortMessage &me… in CreateMessage() argument
574 if (pdu.empty() || specification.empty()) { in CreateMessage()
587 dataParcel.WriteString(specification); in CreateMessage()
/base/telephony/sms_mms/
DREADME_zh.md68 | function createMessage(pdu: Array\<number>, specification: string, callback: AsyncCallback、\<Shor…
69 | function createMessage(pdu: Array\<number>, specification: string): Promise\<ShortMessage> | 根据协议…
119 | specification | string | 协议类型(3gpp或3gpp2) |
215 let specification = "3gpp";
218 sms.createMessage(pdu, specification, (err, value) => {
229 let promise = sms.createMessage(pdu, specification);
DREADME.md71 …try167mcpsimpp0"></a>function createMessage(pdu: Array&lt;number&gt;, specification: string, callb…
276 …><p id="p2293820143020"><a name="p2293820143020"></a><a name="p2293820143020"></a>specification</p>
331 let specification = "3gpp";
334 sms.createMessage(pdu, specification, (err, value) => {
345 let promise = sms.createMessage(pdu, specification);
/base/telephony/sms_mms/interfaces/innerkits/
Dshort_message.h183 std::vector<unsigned char> &pdu, std::u16string specification, ShortMessage &messageObj);
195 …static ShortMessage CreateIccMessage(std::vector<unsigned char> &pdu, std::string specification, i…
Dsms_service_manager_client.h245 int32_t CreateMessage(std::string pdu, std::string specification, ShortMessage &message);
Dsms_service_proxy.h220 … int32_t CreateMessage(std::string pdu, std::string specification, ShortMessage &message) override;
Di_sms_service_interface.h327 …virtual int32_t CreateMessage(std::string pdu, std::string specification, ShortMessage &message) =…
/base/telephony/sms_mms/services/sms/
Dsms_misc_manager.cpp368 std::string specification; in GetAllSimMessages() local
370 specification = "3gpp"; in GetAllSimMessages()
372 specification = "3gpp2"; in GetAllSimMessages()
383 ShortMessage item = ShortMessage::CreateIccMessage(pdu, specification, index); in GetAllSimMessages()
Dsms_service.cpp689 int32_t SmsService::CreateMessage(std::string pdu, std::string specification, ShortMessage &message) in CreateMessage() argument
692 if (specification == "3gpp") { in CreateMessage()
694 } else if (specification == "3gpp2") { in CreateMessage()
Dsms_interface_stub.cpp440 std::string specification = data.ReadString(); in OnCreateMessage() local
442 int32_t result = CreateMessage(pdu, specification, message); in OnCreateMessage()
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts92 …function createMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMes…
113 function createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>;
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_sms.h115 std::string specification = ""; member
/base/telephony/sms_mms/services/sms/include/
Dsms_service.h261 … int32_t CreateMessage(std::string pdu, std::string specification, ShortMessage &message) override;
/base/telephony/sms_mms/test/gtest/
Dzero_branch_sms_test.cpp179 std::u16string specification = u" "; variable
181 …EXPECT_TRUE(shortMessage->CreateMessage(pdu, specification, ShortMessageObj) != TELEPHONY_ERR_SUCC…
1152 std::string specification = ""; variable
1154 EXPECT_GT(smsService->CreateMessage(scAddr, specification, messages), TELEPHONY_ERR_SUCCESS);
1155 specification = "3gpp";
1156 EXPECT_GE(smsService->CreateMessage(scAddr, specification, messages), TELEPHONY_ERR_SUCCESS);
1157 specification = "3gpp2";
1158 EXPECT_GE(smsService->CreateMessage(scAddr, specification, messages), TELEPHONY_ERR_SUCCESS);
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp418 if (asyncContext->specification.empty() || asyncContext->pdu.empty()) { in NativeCreateMessage()
423 std::u16string specification16 = NapiUtil::ToUtf16(asyncContext->specification); in NativeCreateMessage()
524 asyncContext->specification = Get64StringFromValue(env, parameters[1]); in CreateMessage()
525 TELEPHONY_LOGI("CreateMessage specification = %s", asyncContext->specification.c_str()); in CreateMessage()