Lines Matching refs:encodedSize
201 size_t encodedSize = 0; in connectReq() local
202 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
208 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq()
214 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in connectReq()
241 size_t encodedSize = 0; in disconnectReq() local
242 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
248 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq()
255 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in disconnectReq()
294 size_t encodedSize = 0; in apduReq() local
295 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_APDU_REQ_fields, &req)) { in apduReq()
301 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq()
308 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in apduReq()
335 size_t encodedSize = 0; in transferAtrReq() local
336 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_TRANSFER_ATR_REQ_fields, &req)) { in transferAtrReq()
343 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq()
350 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferAtrReq()
378 size_t encodedSize = 0; in powerReq() local
379 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_POWER_REQ_fields, &req)) { in powerReq()
385 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq()
392 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in powerReq()
419 size_t encodedSize = 0; in resetSimReq() local
420 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_RESET_SIM_REQ_fields, &req)) { in resetSimReq()
426 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq()
433 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in resetSimReq()
460 size_t encodedSize = 0; in transferCardReaderStatusReq() local
461 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_TRANSFER_CARD_READER_STATUS_REQ_fields, in transferCardReaderStatusReq()
469 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq()
476 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferCardReaderStatusReq()
505 size_t encodedSize = 0; in setTransferProtocolReq() local
506 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_SET_TRANSFER_PROTOCOL_REQ_fields, &req)) { in setTransferProtocolReq()
513 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in setTransferProtocolReq()
520 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in setTransferProtocolReq()