Home
last modified time | relevance | path

Searched refs:message (Results 1 - 25 of 581) sorted by relevance

12345678910>>...24

/base/telephony/sms_mms/test/fuzztest/gsmsmsparamcodec_fuzzer/
H A Dgsmsmsparamcodec_fuzzer.cpp50 ShortMessage *message = new ShortMessage(); in T7BitSubmitSms() local
51 if (message == nullptr) { in T7BitSubmitSms()
54 ShortMessage::CreateMessage(pdu, u"3gpp", *message); in T7BitSubmitSms()
55 delete message; in T7BitSubmitSms()
61 ShortMessage *message = new ShortMessage(); in Ucs2SubmitSms() local
62 if (message == nullptr) { in Ucs2SubmitSms()
65 ShortMessage::CreateMessage(pdu, u"3gpp", *message); in Ucs2SubmitSms()
66 delete message; in Ucs2SubmitSms()
73 ShortMessage *message = new ShortMessage(); in T7BitDeliverySms() local
74 if (message in T7BitDeliverySms()
85 ShortMessage *message = new ShortMessage(); Ucs2DeliverySms() local
98 ShortMessage *message = new ShortMessage(); StatusReportSms() local
114 ShortMessage *message = new ShortMessage(); MultiPageUcs2Sms() local
130 ShortMessage *message = new ShortMessage(); WapPushSms() local
143 ShortMessage *message = new ShortMessage(); DataSmsDeliverySms() local
155 ShortMessage *message = new ShortMessage(); Smsc00DeliverySms() local
171 ShortMessage *message = new ShortMessage(); MultiPage7bitSms() local
182 ShortMessage *message = new ShortMessage(); T7BitOtherSubmitSms() local
[all...]
/base/startup/appspawn/standard/
H A Dappspawn_msgmgr.c27 void *GetAppSpawnMsgInfo(const AppSpawnMsgNode *message, int type) in GetAppSpawnMsgInfo() argument
30 APPSPAWN_CHECK_ONLY_EXPER(message != NULL && message->buffer != NULL, return NULL); in GetAppSpawnMsgInfo()
31 APPSPAWN_CHECK_ONLY_EXPER(message->tlvOffset != NULL, return NULL); in GetAppSpawnMsgInfo()
32 APPSPAWN_CHECK_ONLY_EXPER(message->tlvOffset[type] != INVALID_OFFSET, return NULL); in GetAppSpawnMsgInfo()
33 return (void *)(message->buffer + message->tlvOffset[type] + sizeof(AppSpawnTlv)); in GetAppSpawnMsgInfo()
36 void *GetAppSpawnMsgExtInfo(const AppSpawnMsgNode *message, const char *name, uint32_t *len) in GetAppSpawnMsgExtInfo() argument
39 APPSPAWN_CHECK_ONLY_EXPER(message != NULL && message in GetAppSpawnMsgExtInfo()
63 CheckAppSpawnMsgFlag(const AppSpawnMsgNode *message, uint32_t type, uint32_t index) CheckAppSpawnMsgFlag() argument
85 SetAppSpawnMsgFlag(const AppSpawnMsgNode *message, uint32_t type, uint32_t index) SetAppSpawnMsgFlag() argument
96 AppSpawnMsgNode *message = (AppSpawnMsgNode *)calloc(1, sizeof(AppSpawnMsgNode)); CreateAppSpawnMsg() local
131 AppSpawnMsgRebuild(AppSpawnMsgNode *message, const AppSpawnMsg *msg) AppSpawnMsgRebuild() argument
152 RebuildAppSpawnMsgNode(AppSpawnMsgNode *message, AppSpawnedProcess *appInfo) RebuildAppSpawnMsgNode() argument
178 CheckAppSpawnMsg(const AppSpawnMsgNode *message) CheckAppSpawnMsg() argument
257 DecodeAppSpawnMsg(AppSpawnMsgNode *message) DecodeAppSpawnMsg() argument
301 AppSpawnMsgNode *message = *outMsg; GetAppSpawnMsgFromBuffer() local
370 DumpAppSpawnMsg(const AppSpawnMsgNode *message) DumpAppSpawnMsg() argument
[all...]
H A Dappspawn_manager.h82 AppSpawnMsgNode *message; member
98 AppSpawnMsgNode *message; member
160 void ProcessAppSpawnDumpMsg(const AppSpawnMsgNode *message);
161 int ProcessTerminationStatusMsg(const AppSpawnMsgNode *message, AppSpawnResult *result);
165 int CheckAppSpawnMsg(const AppSpawnMsgNode *message);
166 int DecodeAppSpawnMsg(AppSpawnMsgNode *message);
169 AppSpawnMsgNode *RebuildAppSpawnMsgNode(AppSpawnMsgNode *message, AppSpawnedProcess *appInfo);
175 void DumpAppSpawnMsg(const AppSpawnMsgNode *message);
176 void *GetAppSpawnMsgInfo(const AppSpawnMsgNode *message, int type);
177 void *GetAppSpawnMsgExtInfo(const AppSpawnMsgNode *message, cons
[all...]
/base/startup/init/test/systest/
H A Dloopserver_systest.c187 static int SendMessage(LoopHandle loop, TaskHandle task, const char *message) in SendMessage() argument
189 if (message == NULL) { in SendMessage()
190 printf("message is null \n"); in SendMessage()
194 uint32_t bufferSize = strlen(message) + 1; in SendMessage()
202 int ret = memcpy_s(buff, bufferSize, message, strlen(message) + 1); in SendMessage()
209 LE_STATUS status = LE_Send(loop, task, handle, strlen(message) + 1); in SendMessage()
311 static int MsgRebuild(MsgNode *message, const Message *msg) in MsgRebuild() argument
313 if (CheckMsg(&message->msgHeader) != 0) { in MsgRebuild()
316 if (msg->msgLen == sizeof(message in MsgRebuild()
348 Message *message = *outMsg; GetMsgFromBuffer() local
392 DecodeMsg(Message * message) DecodeMsg() argument
404 ProcessTerminationStatusMsg(const MsgNode *message, Result *result) ProcessTerminationStatusMsg() argument
450 CheckMsg(const MsgNode *message) CheckMsg() argument
483 ProcessReqMsg(MyTask *task, MsgNode *message) ProcessReqMsg() argument
495 GetMsgExtInfo(const MsgNode *message, const char *name, uint32_t *len) GetMsgExtInfo() argument
526 RebuildMsgNode(MsgNode *message, Process *info) RebuildMsgNode() argument
577 ProcessBegetctlMsg(MyTask *task, MsgNode *message) ProcessBegetctlMsg() argument
600 ProcessBegetMsg(MyTask *task, MsgNode *message) ProcessBegetMsg() argument
615 ProcessRecvMsg(MyTask *task, MsgNode *message) ProcessRecvMsg() argument
681 Message *message = task->ctx.incompleteMsg; // incomplete msg OnReceiveRequest() local
[all...]
/base/telephony/sms_mms/test/unittest/
H A Dsms_gsm_message_test.cpp117 ShortMessage *message = new ShortMessage(); in Test7BitSubmitSms() local
118 if (message == nullptr) { in Test7BitSubmitSms()
119 std::cout << "message is nullptr!" << std::endl; in Test7BitSubmitSms()
122 ShortMessage::CreateMessage(pdu, u"3gpp", *message); in Test7BitSubmitSms()
123 gsmMessage_ = std::unique_ptr<ShortMessage>(message); in Test7BitSubmitSms()
135 ShortMessage *message = new ShortMessage(); in TestUcs2SubmitSms() local
136 if (message == nullptr) { in TestUcs2SubmitSms()
137 std::cout << "message is nullptr!" << std::endl; in TestUcs2SubmitSms()
140 ShortMessage::CreateMessage(pdu, u"3gpp", *message); in TestUcs2SubmitSms()
141 gsmMessage_ = std::unique_ptr<ShortMessage>(message); in TestUcs2SubmitSms()
154 ShortMessage *message = new ShortMessage(); Test7BitDeliverySms() local
173 ShortMessage *message = new ShortMessage(); TestUcs2DeliverySms() local
193 ShortMessage *message = new ShortMessage(); TestStatusReportSms() local
216 ShortMessage *message = new ShortMessage(); TestMultiPageUcs2Sms() local
239 ShortMessage *message = new ShortMessage(); TestWapPushSms() local
259 ShortMessage *message = new ShortMessage(); TestDataSmsDeliverySms() local
278 ShortMessage *message = new ShortMessage(); TestSmsc00DeliverySms() local
301 ShortMessage *message = new ShortMessage(); TestMultiPage7bitSms() local
319 ShortMessage *message = new ShortMessage(); Test7BitOtherSubmitSms() local
339 ShortMessage *message = new ShortMessage(); Test7BitDeliverySms2() local
355 ShortMessage *message = new ShortMessage(); Test7BitDeliverySms3() local
371 ShortMessage *message = new ShortMessage(); Test7BitDeliverySms4() local
[all...]
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_receive_handler.cpp109 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); in HandleSmsByType() local
110 if (message->IsSpecialMessage()) { in HandleSmsByType()
127 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); in HandleAck() local
128 if (message->IsSpecialMessage()) { in HandleAck()
143 if (message->IsConcatMsg()) { in HandleAck()
144 std::shared_ptr<SmsConcat> smsConcat = message->GetConcatMsg(); in HandleAck()
159 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); in HandleRemainDataShare() local
167 if (!message->IsConcatMsg()) { in HandleRemainDataShare()
168 indexer = make_shared<SmsReceiveIndexer>(message->GetRawPdu(), message in HandleRemainDataShare()
230 GsmSmsMessage *message = (GsmSmsMessage *)smsBaseMessage.get(); HandleNormalSmsByType() local
[all...]
/base/telephony/sms_mms/services/sms/cdma/
H A Dcdma_sms_receive_handler.cpp49 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); in HandleSmsByType() local
50 if (message->IsBroadcastMsg()) { in HandleSmsByType()
54 int service = message->GetTransTeleService(); in HandleSmsByType()
58 if (message->IsStatusReport() && !cdmaSmsSender_.expired()) { in HandleSmsByType()
66 statusInfo->SetMsgRefId(message->GetMsgRef()); in HandleSmsByType()
67 statusInfo->SetPdu(message->GetRawPdu()); in HandleSmsByType()
80 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); in HandleAck() local
81 if (message->IsBroadcastMsg()) { in HandleAck()
85 int service = message->GetTransTeleService(); in HandleAck()
89 if (message in HandleAck()
118 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); HandleRemainDataShare() local
166 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); HandleSmsOtherSvcid() local
330 CdmaSmsMessage *message = static_cast<CdmaSmsMessage *>(smsBaseMessage.get()); GetCBData() local
[all...]
/base/tee/tee_client/services/teecd/src/
H A Dtee_ca_auth.c86 struct msghdr message; in RecvCaMsg() local
96 errno_t rc = memset_s(&message, sizeof(message), 0, sizeof(struct msghdr)); in RecvCaMsg()
98 tloge("message memset_s failed\n"); in RecvCaMsg()
102 message.msg_name = NULL; in RecvCaMsg()
103 message.msg_namelen = 0; in RecvCaMsg()
104 message.msg_flags = 0; in RecvCaMsg()
105 message.msg_iov = iov; in RecvCaMsg()
106 message.msg_iovlen = 1; in RecvCaMsg()
107 message in RecvCaMsg()
[all...]
/base/notification/distributed_notification_service/services/ans/src/advanced_notification_publish/
H A Dbase_publish_process.cpp43 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_2, EventBranchId::BRANCH_1); in CommonPublishCheck() local
46 message.Message("Not SystemApp"); in CommonPublishCheck()
47 message.ErrorCode(ERR_ANS_NON_SYSTEM_APP); in CommonPublishCheck()
48 NotificationAnalyticsUtil::ReportPublishFailedEvent(request, message); in CommonPublishCheck()
52 message.BranchId(EventBranchId::BRANCH_3); in CommonPublishCheck()
53 message.Message("CheckPermission denied"); in CommonPublishCheck()
54 message.ErrorCode(ERR_ANS_NON_SYSTEM_APP); in CommonPublishCheck()
55 NotificationAnalyticsUtil::ReportPublishFailedEvent(request, message); in CommonPublishCheck()
67 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_2, EventBranchId::BRANCH_5) in CommonPublishProcess() local
69 NotificationAnalyticsUtil::ReportPublishFailedEvent(request, message); in CommonPublishProcess()
[all...]
/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/include/
H A Dregex_rule.h37 std::vector<MatchedNumberInfo> Handle(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
38 PhoneNumberMatch* IsValid(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); // codes rules
45 icu::UnicodeString& message, bool isStartsWithNumber); // positive Rules
49 PhoneNumberMatch* IsValidEnd(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); // codes rules
50 PhoneNumberMatch* IsValidStart(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); // codes rules
51 PhoneNumberMatch* IsValidDefault(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); // codes rules
52 PhoneNumberMatch* IsValidPreSuf(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); // codes rules
53 PhoneNumberMatch* IsValidCode(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); // codes rules
54 PhoneNumberMatch* IsValidRawstr(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message); // codes rules
56 std::vector<MatchedNumberInfo> HandleDefault(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
[all...]
H A Dpositive_rule.h30 std::vector<MatchedNumberInfo> HandleInner(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
31 std::vector<MatchedNumberInfo> Handle(PhoneNumberMatch* match, icu::UnicodeString& message);
36 icu::UnicodeString& message, bool isStartsWithNumber);
38 std::vector<MatchedNumberInfo> HandleDefault(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
39 std::vector<MatchedNumberInfo> HandleOperator(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
40 std::vector<MatchedNumberInfo> HandleBlank(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
41 std::vector<MatchedNumberInfo> HandleSlant(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
42 std::vector<MatchedNumberInfo> HandleStartWithMobile(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
43 std::vector<MatchedNumberInfo> HandleEndWithMobile(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
45 icu::UnicodeString DealStringWithOneBracket(icu::UnicodeString& message);
[all...]
H A Dcode_rule.h29 PhoneNumberMatch* IsValid(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
30 PhoneNumberMatch* Handle(PhoneNumberMatch* phoneNumberMatch, icu::UnicodeString& message);
37 PhoneNumberMatch* IsValidEnd(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
38 PhoneNumberMatch* IsValidStart(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
39 PhoneNumberMatch* IsValidDefault(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
40 PhoneNumberMatch* IsValidPreSuf(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
41 PhoneNumberMatch* IsValidCode(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
42 PhoneNumberMatch* IsValidRawstr(PhoneNumberMatch* possibleNumber, icu::UnicodeString& message);
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_sm3_cipher.cpp90 HksBlob message = { .size = dataLen, .data = (uint8_t *)HksMalloc(dataLen) }; in HWTEST_F() local
91 ASSERT_NE(message.data, nullptr); in HWTEST_F()
93 message.data[ii] = ReadHex((const uint8_t *)&hexData[HKS_COUNT_OF_HALF * ii]); in HWTEST_F()
98 RunTestCase(&message, &hash); in HWTEST_F()
99 HKS_FREE(message.data); in HWTEST_F()
112 HksBlob message = { .size = dataLen, .data = (uint8_t *)HksMalloc(dataLen) }; in HWTEST_F() local
113 ASSERT_NE(message.data, nullptr); in HWTEST_F()
115 message.data[ii] = ReadHex((const uint8_t *)&hexData[HKS_COUNT_OF_HALF * ii]); in HWTEST_F()
120 RunTestCase(&message, &hash); in HWTEST_F()
121 HKS_FREE(message in HWTEST_F()
134 HksBlob message = { .size = dataLen, .data = (uint8_t *)HksMalloc(dataLen) }; HWTEST_F() local
[all...]
/base/security/device_security_level/test/dslm_unit_test/
H A Ddslm_rpc_process_test.cpp65 const uint8_t message[] = {'1', '2'}; in HWTEST_F() local
66 ret = OnPeerMsgReceived(&identify, message, 0); in HWTEST_F()
98 const char *message = R"({"message":1,"payload":{"version":131072,"challenge111":"0102030405060708"}})"; in HWTEST_F() local
99 uint32_t messageLen = strlen(message) + 1; in HWTEST_F()
100 int32_t ret = OnPeerMsgReceived(&identify, (const uint8_t *)message, messageLen); in HWTEST_F()
113 const char *message = R"({"message":2,"payload":{"version":131072,"challenge111":"0102030405060708"}})"; in HWTEST_F() local
114 uint32_t messageLen = strlen(message) + 1; in HWTEST_F()
115 int32_t ret = OnPeerMsgReceived(&identify, (const uint8_t *)message, messageLe in HWTEST_F()
128 const char *message = R"({"message":3,"payload":{"version":131072,"challenge111":"0102030405060708"}})"; HWTEST_F() local
[all...]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_3des.c163 void *cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in Des3CbcNoPaddingCryptUpdate()
174 if (message->size % HKS_3DES_CBC_DATA_BLOB_SIZE != 0) { in Des3CbcNoPaddingCryptUpdate()
190 message->size, in Des3CbcNoPaddingCryptUpdate()
192 message->data, in Des3CbcNoPaddingCryptUpdate()
201 cipherText->size = message->size; in Des3CbcNoPaddingCryptUpdate()
209 void **cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in Des3CbcNoPaddingCryptFinal()
221 if (message->size % HKS_3DES_CBC_DATA_BLOB_SIZE != 0) { in Des3CbcNoPaddingCryptFinal()
227 if (message->size != 0) { in Des3CbcNoPaddingCryptFinal()
237 message->size, in Des3CbcNoPaddingCryptFinal()
239 message in Des3CbcNoPaddingCryptFinal()
162 Des3CbcNoPaddingCryptUpdate( void *cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) Des3CbcNoPaddingCryptUpdate() argument
208 Des3CbcNoPaddingCryptFinal( void **cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) Des3CbcNoPaddingCryptFinal() argument
273 Des3CbcCryptUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) Des3CbcCryptUpdate() argument
287 Des3CbcCryptFinal(void **cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) Des3CbcCryptFinal() argument
377 Des3EcbNoPaddingData(mbedtls_cipher_context_t *ecbNoPadingctx, size_t blockSize, const struct HksBlob *message, struct HksBlob *cipherText, size_t *outLenTotal) Des3EcbNoPaddingData() argument
420 Get3DesEcbNoPaddingCtx(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, size_t *outLenTotal) Get3DesEcbNoPaddingCtx() argument
455 Des3EcbNoPaddingCryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) Des3EcbNoPaddingCryptUpdate() argument
465 Des3EcbNoPaddingCryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) Des3EcbNoPaddingCryptFinal() argument
509 Des3EcbCryptUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText) Des3EcbCryptUpdate() argument
523 Des3EcbCryptFinal(void **cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText) Des3EcbCryptFinal() argument
559 HksMbedtls3DesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtls3DesEncryptUpdate() argument
580 HksMbedtls3DesEncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtls3DesEncryptFinal() argument
619 HksMbedtls3DesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtls3DesDecryptUpdate() argument
637 HksMbedtls3DesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtls3DesDecryptFinal() argument
666 HksMbedtls3DesCryptoUpdate( void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) HksMbedtls3DesCryptoUpdate() argument
676 HksMbedtls3DesCryptoFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) HksMbedtls3DesCryptoFinal() argument
[all...]
H A Dhks_mbedtls_des.c152 void *cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in DesCbcNoPaddingCryptUpdate()
163 if (message->size % HKS_DES_CBC_DATA_BLOB_SIZE != 0) { in DesCbcNoPaddingCryptUpdate()
179 message->size, in DesCbcNoPaddingCryptUpdate()
181 message->data, in DesCbcNoPaddingCryptUpdate()
190 cipherText->size = message->size; in DesCbcNoPaddingCryptUpdate()
198 void **cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in DesCbcNoPaddingCryptFinal()
210 if (message->size % HKS_DES_CBC_DATA_BLOB_SIZE != 0) { in DesCbcNoPaddingCryptFinal()
216 if (message->size != 0) { in DesCbcNoPaddingCryptFinal()
226 message->size, in DesCbcNoPaddingCryptFinal()
228 message in DesCbcNoPaddingCryptFinal()
151 DesCbcNoPaddingCryptUpdate( void *cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) DesCbcNoPaddingCryptUpdate() argument
197 DesCbcNoPaddingCryptFinal( void **cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) DesCbcNoPaddingCryptFinal() argument
262 DesCbcCryptUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) DesCbcCryptUpdate() argument
276 DesCbcCryptFinal(void **cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) DesCbcCryptFinal() argument
362 DesEcbNoPaddingData(mbedtls_cipher_context_t *ecbNoPadingctx, size_t blockSize, const struct HksBlob *message, struct HksBlob *cipherText, size_t *outLenTotal) DesEcbNoPaddingData() argument
405 GetDesEcbNoPaddingCtx(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, size_t *outLenTotal) GetDesEcbNoPaddingCtx() argument
440 DesEcbNoPaddingCryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) DesEcbNoPaddingCryptUpdate() argument
450 DesEcbNoPaddingCryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) DesEcbNoPaddingCryptFinal() argument
495 DesEcbCryptUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText) DesEcbCryptUpdate() argument
509 DesEcbCryptFinal(void **cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText) DesEcbCryptFinal() argument
546 HksMbedtlsDesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsDesEncryptUpdate() argument
567 HksMbedtlsDesEncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsDesEncryptFinal() argument
606 HksMbedtlsDesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsDesDecryptUpdate() argument
624 HksMbedtlsDesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsDesDecryptFinal() argument
653 HksMbedtlsDesCryptoUpdate( void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) HksMbedtlsDesCryptoUpdate() argument
663 HksMbedtlsDesCryptoFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) HksMbedtlsDesCryptoFinal() argument
[all...]
H A Dhks_mbedtls_aes.c99 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCrypt()
126 message->size, in AesCbcNoPaddingCrypt()
128 message->data, in AesCbcNoPaddingCrypt()
136 cipherText->size = message->size; in AesCbcNoPaddingCrypt()
190 const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) in AesCbcNoPaddingCryptUpdate()
201 if (message->size % HKS_AES_CBC_DATA_BLOB_SIZE != 0) { in AesCbcNoPaddingCryptUpdate()
217 message->size, in AesCbcNoPaddingCryptUpdate()
219 message->data, in AesCbcNoPaddingCryptUpdate()
228 cipherText->size = message->size; in AesCbcNoPaddingCryptUpdate()
240 const struct HksBlob *message, cons in AesCbcNoPaddingCryptFinal()
98 AesCbcNoPaddingCrypt(const struct HksBlob *key, const struct HksCipherParam *cipherParam, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCbcNoPaddingCrypt() argument
189 AesCbcNoPaddingCryptUpdate(void *cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCbcNoPaddingCryptUpdate() argument
239 AesCbcNoPaddingCryptFinal(void **cryptoCtx, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCbcNoPaddingCryptFinal() argument
291 AesCbcPkcs7Crypt(const struct HksBlob *key, const struct HksCipherParam *cipherParam, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCbcPkcs7Crypt() argument
408 AesCbcPkcs7CryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) AesCbcPkcs7CryptUpdate() argument
426 AesCbcPkcs7CryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) AesCbcPkcs7CryptFinal() argument
474 AesCbcCrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCbcCrypt() argument
512 AesCbcCryptUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCbcCryptUpdate() argument
530 AesCbcCryptFinal(void **cryptoCtx, const uint8_t padding, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCbcCryptFinal() argument
550 AesEncryptGcm(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) AesEncryptGcm() argument
631 AesEncryptGcmUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText) AesEncryptGcmUpdate() argument
653 AesEncryptGcmFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) AesEncryptGcmFinal() argument
694 AesDecryptGcm(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText) AesDecryptGcm() argument
773 AesDecryptGcmUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) AesDecryptGcmUpdate() argument
792 AesDecryptGcmFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) AesDecryptGcmFinal() argument
851 AesEncryptCcm(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) AesEncryptCcm() argument
892 AesDecryptCcm(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText) AesDecryptCcm() argument
934 AesCtrCrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesCtrCrypt() argument
1061 AesCtrCryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) AesCtrCryptUpdate() argument
1079 AesCtrCryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) AesCtrCryptFinal() argument
1120 AesEcbNoPaddingCrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesEcbNoPaddingCrypt() argument
1237 AesEcbNoPaddingData(mbedtls_cipher_context_t *ecbNoPadingctx, size_t blockSize, const struct HksBlob *message, struct HksBlob *cipherText, size_t *olenTotal) AesEcbNoPaddingData() argument
1279 GetAesEcbNoPaddingCtx(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, size_t *olenTotal) GetAesEcbNoPaddingCtx() argument
1314 AesEcbNoPaddingCryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) AesEcbNoPaddingCryptUpdate() argument
1324 AesEcbNoPaddingCryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) AesEcbNoPaddingCryptFinal() argument
1355 AesEcbCrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, const bool encrypt, struct HksBlob *cipherText) AesEcbCrypt() argument
1387 AesEcbCryptUpdate(void *cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText) AesEcbCryptUpdate() argument
1403 AesEcbCryptFinal(void **cryptoCtx, const uint8_t padding, const struct HksBlob *message, struct HksBlob *cipherText) AesEcbCryptFinal() argument
1430 HksMbedtlsAesEncrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) HksMbedtlsAesEncrypt() argument
1497 HksMbedtlsAesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsAesEncryptUpdate() argument
1530 HksMbedtlsAesEncryptFinal(void** cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) HksMbedtlsAesEncryptFinal() argument
1562 HksMbedtlsAesDecrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsAesDecrypt() argument
1627 HksMbedtlsAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText) HksMbedtlsAesDecryptUpdate() argument
1657 HksMbedtlsAesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead) HksMbedtlsAesDecryptFinal() argument
1699 HksMbedtlsAesCryptoUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, const bool encrypt) HksMbedtlsAesCryptoUpdate() argument
1709 HksMbedtlsAesCryptoFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText, struct HksBlob *tagAead, const bool encrypt) HksMbedtlsAesCryptoFinal() argument
[all...]
/base/update/updateservice/foundations/model/include/
H A Derror_message.h32 friend void to_json(nlohmann::json &jsonObj, const ErrorMessage &message) in to_json()
34 jsonObj["errorCode"] = message.errorCode; in to_json()
35 jsonObj["errorMessage"] = message.errorMessage; in to_json()
38 friend void from_json(const nlohmann::json &jsonObj, ErrorMessage &message) in from_json()
40 JsonUtils::GetValueAndSetTo(jsonObj, "errorCode", message.errorCode); in from_json()
41 JsonUtils::GetValueAndSetTo(jsonObj, "errorMessage", message.errorMessage); in from_json()
/base/time/time_service/framework/js/napi/common/include/
H A Dnapi_utils.h30 #define NAPI_ASSERTS_BASE_RETURN(env, assertion, code, message, retVal) \
33 NapiUtils::ThrowError(env, message, code); \
38 #define NAPI_ASSERTP_RETURN(env, assertion, message) \
39 NAPI_ASSERTS_BASE_RETURN(env, assertion, ERROR, message, nullptr)
42 #define CHECK_ARGS_RETURN_VOID(module, context, condition, message, code) \
46 (context)->errMessage = std::string(message); \
53 #define CHECK_STATUS_RETURN_VOID(module, context, message, code) \
56 (context)->errMessage = std::string(message); \
65 #define CHECK_RETURN(module, condition, message, retVal) \
68 TIME_HILOGE(module, "test (" #condition ") failed: " message); \
116 std::string message; global() member
[all...]
/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp88 HaMetaMessage& HaMetaMessage::Message(const std::string& message, bool print) in Message() argument
90 message_ = message; in Message()
92 ANSR_LOGE("%{public}s, %{public}d", message.c_str(), errorCode_); in Message()
146 const HaMetaMessage& message) in ReportPublishFailedEvent()
148 CommonNotificationEvent(request, PUBLISH_ERROR_EVENT_CODE, message); in ReportPublishFailedEvent()
152 HaMetaMessage& message) in ReportDeleteFailedEvent()
154 if (request == nullptr || !message.NeedReport()) { in ReportDeleteFailedEvent()
155 ANS_LOGE("request is null %{public}d", message.NeedReport()); in ReportDeleteFailedEvent()
162 message = message in ReportDeleteFailedEvent()
145 ReportPublishFailedEvent(const sptr<NotificationRequest>& request, const HaMetaMessage& message) ReportPublishFailedEvent() argument
151 ReportDeleteFailedEvent(const sptr<NotificationRequest>& request, HaMetaMessage& message) ReportDeleteFailedEvent() argument
168 CommonNotificationEvent(const sptr<NotificationRequest>& request, int32_t eventCode, const HaMetaMessage& message) CommonNotificationEvent() argument
213 ReportModifyEvent(const HaMetaMessage& message) ReportModifyEvent() argument
227 ReportDeleteFailedEvent(const HaMetaMessage& message) ReportDeleteFailedEvent() argument
305 BuildExtraInfo(const HaMetaMessage& message) BuildExtraInfo() argument
325 BuildExtraInfoWithReq(const HaMetaMessage& message, const sptr<NotificationRequest>& request) BuildExtraInfoWithReq() argument
362 SetCommonWant(EventFwk::Want& want, const HaMetaMessage& message, std::string& extraInfo) SetCommonWant() argument
[all...]
/base/startup/appspawn/lite/
H A Dappspawn_process.c87 return prctl(PR_SET_NAME, appProperty->message.bundleName); in SetProcessName()
105 APPSPAWN_LOGE("SetUidGid %d %d", appProperty->message.uID, appProperty->message.gID); in SetUidGid()
106 if (setgid(appProperty->message.gID) != 0) { in SetUidGid()
107 APPSPAWN_LOGE("[appspawn] setgid failed, gID %u, err: %d.", appProperty->message.gID, errno); in SetUidGid()
111 if (setuid(appProperty->message.uID) != 0) { in SetUidGid()
112 APPSPAWN_LOGE("[appspawn] setuid failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid()
117 if (appProperty->message.gID >= LOWER_BOUND_GID && appProperty->message.gID <= UPPER_BOUND_GID) { in SetUidGid()
118 groups[0] = appProperty->message in SetUidGid()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_inline.cpp87 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_1, EventBranchId::BRANCH_1); in CheckPictureSize() local
91 message.ErrorCode(result).Message("Check image size failed."); in CheckPictureSize()
92 NotificationAnalyticsUtil::ReportPublishFailedEvent(request, message); in CheckPictureSize()
97 message.ErrorCode(ERR_ANS_ICON_OVER_SIZE).Message("Check little image size failed."); in CheckPictureSize()
98 NotificationAnalyticsUtil::ReportPublishFailedEvent(request, message); in CheckPictureSize()
103 message.ErrorCode(ERR_ANS_ICON_OVER_SIZE).Message("Check overlay size failed."); in CheckPictureSize()
104 NotificationAnalyticsUtil::ReportPublishFailedEvent(request, message); in CheckPictureSize()
118 std::string message) in AddInformationInMessage()
120 message += "reason:" + std::to_string(reason) + "."; in AddInformationInMessage()
124 message in AddInformationInMessage()
116 AddInformationInMessage( OHOS::Notification::HaMetaMessage haMetaMessage, const int32_t reason, std::string message) AddInformationInMessage() argument
133 ReportDeleteFailedEventPush(OHOS::Notification::HaMetaMessage haMetaMessage, const int32_t reason, std::string message) ReportDeleteFailedEventPush() argument
140 ReportDeleteFailedEventPushByNotification(const sptr<Notification> &notification, OHOS::Notification::HaMetaMessage haMetaMessage, const int32_t reason, std::string message) ReportDeleteFailedEventPushByNotification() argument
[all...]
H A Dos_account_manager_helper.cpp32 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_6, EventBranchId::BRANCH_1) in GetOsAccountLocalIdFromUid() local
34 NotificationAnalyticsUtil::ReportModifyEvent(message); in GetOsAccountLocalIdFromUid()
47 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_6, EventBranchId::BRANCH_2) in GetCurrentCallingUserId() local
50 NotificationAnalyticsUtil::ReportModifyEvent(message); in GetCurrentCallingUserId()
62 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_6, EventBranchId::BRANCH_4) in GetCurrentActiveUserId() local
64 NotificationAnalyticsUtil::ReportModifyEvent(message); in GetCurrentActiveUserId()
75 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_6, EventBranchId::BRANCH_3) in GetAllOsAccount() local
77 NotificationAnalyticsUtil::ReportModifyEvent(message); in GetAllOsAccount()
91 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_6, EventBranchId::BRANCH_4) in GetAllActiveOsAccount() local
93 NotificationAnalyticsUtil::ReportModifyEvent(message); in GetAllActiveOsAccount()
104 HaMetaMessage message = HaMetaMessage(EventSceneId::SCENE_6, EventBranchId::BRANCH_5) CheckUserExists() local
[all...]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/include/
H A Dhks_openssl_sm4.h35 int32_t HksOpensslSm4EncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText);
37 int32_t HksOpensslSm4EncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText,
42 int32_t HksOpensslSm4DecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText);
44 int32_t HksOpensslSm4DecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *cipherText,
49 const struct HksBlob *message, struct HksBlob *cipherText);
52 const struct HksBlob *message, struct HksBlob *plaintext);
/base/request/request/services/src/service/client/
H A Dmod.rs172 // for one task, only send last progress message
181 Ok(message) => message,
216 debug!("Client handle message done");
281 let mut message = Vec::<u8>::new(); variables
283 message.extend_from_slice(&REQUEST_MAGIC_NUM.to_le_bytes());
285 message.extend_from_slice(&self.message_id.to_le_bytes());
289 message.extend_from_slice(&message_type.to_le_bytes());
292 message.extend_from_slice(&message_body_size.to_le_bytes());
294 message
[all...]

Completed in 12 milliseconds

12345678910>>...24