Lines Matching refs:hdr
301 MsgHeader *hdr = request->curr; in onRequestComplete() local
319 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete()
326 if(!pendingResponseQueue.checkAndDequeue(hdr->id, hdr->token)) { in onRequestComplete()
327 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete()
332 free(hdr); in onRequestComplete()
335 void RilSapSocket::sendResponse(MsgHeader* hdr) { in sendResponse() argument
345 hdr)) && encoded_size <= INT32_MAX && commandFd != -1) { in sendResponse()
351 success = pb_encode(&ostream, MsgHeader_fields, hdr); in sendResponse()
358 hdr->token, hdr->type, hdr->id,hdr->error ); in sendResponse()
367 hdr->type, hdr->id, buffer_size, PB_GET_ERROR(&ostream)); in sendResponse()
371 hdr->type, encoded_size, commandFd, success); in sendResponse()
457 MsgHeader *hdr = (MsgHeader *)malloc(sizeof(MsgHeader)); in sendDisconnect() local
458 if (!hdr) { in sendDisconnect()
463 hdr->payload = payload; in sendDisconnect()
464 hdr->type = MsgType_REQUEST; in sendDisconnect()
465 hdr->id = MsgId_RIL_SIM_SAP_DISCONNECT; in sendDisconnect()
466 hdr->error = Error_RIL_E_SUCCESS; in sendDisconnect()
467 dispatchDisconnect(hdr); in sendDisconnect()