Home | History | Annotate | Download | only in libril

Lines Matching refs:payload

66         if (request->curr->payload) {
67 free(request->curr->payload);
292 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id);
294 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest);
309 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len);
310 if (!rsp.payload) {
314 memcpy(rsp.payload->bytes, response, response_len);
315 rsp.payload->size = response_len;
317 rsp.payload->size = 0;
323 free(rsp.payload);
386 pb_bytes_array_t *payload = (pb_bytes_array_t *)calloc(1,
388 if (!payload) {
392 memcpy(payload->bytes, data, datalen);
393 payload->size = datalen;
395 rsp.payload = payload;
400 free(payload);
414 log_hex("BtSapTest-Payload", (const uint8_t*)p_record, recordlen);
459 pb_bytes_array_t *payload = (pb_bytes_array_t *)calloc(1,
461 if (!payload) {
465 memcpy(payload->bytes, buffer, written_size);
466 payload->size = written_size;
471 free(payload);
474 hdr->payload = payload;
493 free(req->payload);
505 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id);
507 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest);