/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_receive_handler.cpp | 177 SmsCbData::CbData sendData; in SendCBBroadcast() local 178 GetCBData(smsBaseMessage, sendData, isMergency); in SendCBBroadcast() 186 SetCBBroadcastParam(want, sendData); in SendCBBroadcast() 204 bool CdmaSmsReceiveHandler::SetCBBroadcastParam(AppExecFwk::Want &want, SmsCbData::CbData &sendData) in SetCBBroadcastParam() argument 208 want.SetParam(SmsCbData::GEO_SCOPE, static_cast<char>(sendData.geoScope)); in SetCBBroadcastParam() 209 want.SetParam(SmsCbData::CMAS_RESPONSE, static_cast<char>(sendData.cmasRes)); in SetCBBroadcastParam() 211 want.SetParam(SmsCbData::FORMAT, static_cast<char>(sendData.format)); in SetCBBroadcastParam() 212 want.SetParam(SmsCbData::CB_MSG_TYPE, static_cast<char>(sendData.msgType)); in SetCBBroadcastParam() 213 want.SetParam(SmsCbData::MSG_ID, static_cast<int>(sendData.msgId)); in SetCBBroadcastParam() 214 want.SetParam(SmsCbData::SERVICE_CATEGORY, static_cast<int>(sendData.category)); in SetCBBroadcastParam() [all …]
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_cb_handler.cpp | 309 SmsCbData::CbData sendData; in SetWantData() local 319 GetCbData(cbMessage, sendData); in SetWantData() 320 cbMessage->ConvertToUTF8(rawMsgBody, sendData.msgBody); in SetWantData() 321 want.SetParam(SmsCbData::GEO_SCOPE, static_cast<char>(sendData.geoScope)); in SetWantData() 322 want.SetParam(SmsCbData::CMAS_RESPONSE, static_cast<char>(sendData.cmasRes)); in SetWantData() 324 want.SetParam(SmsCbData::FORMAT, static_cast<char>(sendData.format)); in SetWantData() 325 want.SetParam(SmsCbData::CB_MSG_TYPE, static_cast<char>(sendData.msgType)); in SetWantData() 326 want.SetParam(SmsCbData::MSG_ID, static_cast<int>(sendData.msgId)); in SetWantData() 327 want.SetParam(SmsCbData::SERVICE_CATEGORY, static_cast<int>(sendData.category)); in SetWantData() 328 want.SetParam(SmsCbData::LANG_TYPE, static_cast<char>(sendData.langType)); in SetWantData() [all …]
|
/base/security/device_auth/services/mk_agree/src/ |
D | mk_agree_task.c | 222 static int32_t AddSelfUdidToSendData(CJson *sendData) in AddSelfUdidToSendData() argument 230 return AddStringToJson(sendData, FIELD_PEER_UDID, udid); in AddSelfUdidToSendData() 241 CJson *sendData = CreateJson(); in GeneratePakeRequestData() local 242 if (sendData == NULL) { in GeneratePakeRequestData() 247 if (AddByteToJson(sendData, FIELD_PAYLOAD, payloadData.val, payloadData.length) != HC_SUCCESS) { in GeneratePakeRequestData() 250 FreeJson(sendData); in GeneratePakeRequestData() 254 res = AddSelfUdidToSendData(sendData); in GeneratePakeRequestData() 257 FreeJson(sendData); in GeneratePakeRequestData() 260 if (AddIntToJson(sendData, MK_AGREE_MESSAGE_CODE, START_MK_AGREE_REQUEST) != HC_SUCCESS) { in GeneratePakeRequestData() 262 FreeJson(sendData); in GeneratePakeRequestData() [all …]
|
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
D | mk_agree.c | 92 static int32_t AddEventByState(const BaseCmd *cmd, CJson *sendData) in AddEventByState() argument 95 return AddIntToJson(sendData, FIELD_EVENT, START_MK_AGREE_REQUEST_EVENT); in AddEventByState() 97 return AddIntToJson(sendData, FIELD_EVENT, SEND_MK_AGREE_RESPONSE_EVENT); in AddEventByState() 107 CJson *sendData = CreateJson(); in ProcessMkAgreeTask() local 108 if (sendData == NULL) { in ProcessMkAgreeTask() 113 int32_t res = impl->task->process(impl->task, in, sendData); in ProcessMkAgreeTask() 116 FreeJson(sendData); in ProcessMkAgreeTask() 120 FreeJson(sendData); in ProcessMkAgreeTask() 123 CJson *sendToPeer = GetObjFromJson(sendData, FIELD_SEND_TO_PEER); in ProcessMkAgreeTask() 126 FreeJson(sendData); in ProcessMkAgreeTask() [all …]
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
D | compatible_bind_sub_session.c | 238 static int32_t InteractWithPeer(const CompatibleBindSubSession *session, CJson *sendData) in InteractWithPeer() argument 240 int32_t res = AddInfoToBindData(false, session, sendData); in InteractWithPeer() 245 return TransmitBindSessionData(session, sendData); in InteractWithPeer() 250 CJson *sendData = DetachItemFromJson(out, FIELD_SEND_TO_PEER); in SendBindDataToPeer() local 251 if (sendData == NULL) { in SendBindDataToPeer() 255 int32_t result = InteractWithPeer(session, sendData); in SendBindDataToPeer() 256 FreeJson(sendData); in SendBindDataToPeer() 506 CJson *sendData = GetObjFromJson(out, FIELD_SEND_TO_PEER); in OnSessionFinish() local 508 if (sendData != NULL) { in OnSessionFinish() 509 result = InteractWithPeer(session, sendData); in OnSessionFinish() [all …]
|
D | compatible_bind_sub_session_util.c | 181 int32_t TransmitBindSessionData(const CompatibleBindSubSession *session, const CJson *sendData) in TransmitBindSessionData() argument 183 char *sendDataStr = PackJsonToString(sendData); in TransmitBindSessionData()
|
/base/telephony/sms_mms/services/sms/include/cdma/ |
D | cdma_sms_receive_handler.h | 42 bool SetCBBroadcastParam(AppExecFwk::Want &want, SmsCbData::CbData &sendData); 45 …const std::shared_ptr<SmsBaseMessage> smsBaseMessage, SmsCbData::CbData &sendData, bool &isEmergen…
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/ |
D | compatible_auth_sub_session.c | 169 …tic int32_t GenerateClientFirstMsg(CompatibleAuthSubSession *session, CJson *out, CJson **sendData) in GenerateClientFirstMsg() argument 171 *sendData = DetachItemFromJson(out, FIELD_SEND_TO_PEER); in GenerateClientFirstMsg() 172 if (*sendData == NULL) { in GenerateClientFirstMsg() 176 int32_t res = AddGroupAuthTransmitData(session, *sendData); in GenerateClientFirstMsg() 178 FreeJson(*sendData); in GenerateClientFirstMsg() 179 *sendData = NULL; in GenerateClientFirstMsg() 184 static int32_t CreateAndProcessClientAuthTask(CompatibleAuthSubSession *session, CJson **sendData, … in CreateAndProcessClientAuthTask() argument 203 res = GenerateClientFirstMsg(session, out, sendData); in CreateAndProcessClientAuthTask()
|
/base/security/device_auth/services/session_manager/inc/session/v1/compatible_bind_sub_session/ |
D | compatible_bind_sub_session_util.h | 26 int32_t TransmitBindSessionData(const CompatibleBindSubSession *session, const CJson *sendData);
|
/base/usb/usb_manager/test/native/js_unittest/ |
D | UsbDevicePipeJsunit.test.js | 117 sendData: '', property 178 testParam.sendData = 'send default'; 180 testParam.sendData = parameter.getSync('test_usb', 'default'); 181 console.log('usb parameter ' + JSON.stringify(testParam.sendData)); 186 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData); 189 console.info('usb case bulk_transfer_test_02 send data: ' + testParam.sendData);
|
D | UsbDevicePipeJsunitEx.test.js | 119 sendData: '', property 151 testParam.sendData = 'send time 13213213 wzy 03'; 152 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData); 182 testParam.sendData = 'send time 13213213 wzy 04'; 183 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData); 213 testParam.sendData = 'send time 13213213 wzy 05'; 214 var tmpUint8Array = CheckEmptyUtils.str2ab(testParam.sendData);
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_cb_test.cpp | 340 SmsCbData::CbData sendData; variable 341 gsmSmsCbHandler->GetCbData(cbMessage, sendData);
|