Home
last modified time | relevance | path

Searched refs:pb_ostream_t (Results 1 – 16 of 16) sorted by relevance

/system/chre/apps/nearby/third_party/nanopb/
Dpb_encode.h37 bool (*callback)(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
66 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[],
72 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[],
79 bool pb_encode_nullterminated(pb_ostream_t *stream, const pb_field_t fields[],
98 pb_ostream_t pb_ostream_from_buffer(pb_byte_t *buf, size_t bufsize);
120 bool pb_write(pb_ostream_t *stream, const pb_byte_t *buf, size_t count);
128 bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field);
132 bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype,
138 bool pb_encode_varint(pb_ostream_t *stream, uint64_t value);
140 bool pb_encode_varint(pb_ostream_t *stream, uint32_t value);
[all …]
Dpb.h305 typedef struct pb_ostream_s pb_ostream_t; typedef
312 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field,
319 bool (*encode)(pb_ostream_t *stream, const pb_field_t *field,
360 bool (*encode)(pb_ostream_t *stream, const pb_extension_t *extension);
/system/chre/apps/test/common/chre_cross_validator_sensor/inc/
Dchre_cross_validator_sensor_manager.h117 bool (*encodeFunc)(pb_ostream_t *, const pb_field_t *, void *const *),
129 static bool encodeThreeAxisSensorDatapointValues(pb_ostream_t *stream,
141 static bool encodeThreeAxisSensorDatapoints(pb_ostream_t *stream,
153 static bool encodeFloatSensorDatapoints(pb_ostream_t *stream,
165 static bool encodeProximitySensorDatapoints(pb_ostream_t *stream,
177 static bool encodeStepCounterSensorDatapoints(pb_ostream_t *stream,
189 static bool encodeFloatSensorDatapointValue(pb_ostream_t *stream,
203 static bool encodeProximitySensorDatapointValue(pb_ostream_t *stream,
216 static bool encodeStepCounterSensorDatapointValue(pb_ostream_t *stream,
/system/chre/apps/test/common/chre_cross_validator_sensor/src/
Dchre_cross_validator_sensor_manager.cc132 bool Manager::encodeThreeAxisSensorDatapointValues(pb_ostream_t *stream, in encodeThreeAxisSensorDatapointValues()
154 bool (*encodeFunc)(pb_ostream_t *, const pb_field_t *, void *const *), in makeDatapoint() argument
163 bool Manager::encodeFloatSensorDatapointValue(pb_ostream_t *stream, in encodeFloatSensorDatapointValue()
180 bool Manager::encodeProximitySensorDatapointValue(pb_ostream_t *stream, in encodeProximitySensorDatapointValue()
198 bool Manager::encodeStepCounterSensorDatapointValue(pb_ostream_t *stream, in encodeStepCounterSensorDatapointValue()
221 bool Manager::encodeThreeAxisSensorDatapoints(pb_ostream_t *stream, in encodeThreeAxisSensorDatapoints()
249 bool Manager::encodeFloatSensorDatapoints(pb_ostream_t *stream, in encodeFloatSensorDatapoints()
276 bool Manager::encodeProximitySensorDatapoints(pb_ostream_t *stream, in encodeProximitySensorDatapoints()
304 bool Manager::encodeStepCounterSensorDatapoints(pb_ostream_t *stream, in encodeStepCounterSensorDatapoints()
/system/chre/apps/test/common/shared/src/
Dsend_message.cc35 bool encodeErrorMessage(pb_ostream_t *stream, const pb_field_t * /*field*/, in encodeErrorMessage()
106 pb_ostream_t stream = pb_ostream_from_buffer(bytes, size); in sendMessageToHost()
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dapp_manager.h94 pb_ostream_t *stream, size_t *msg_size);
99 pb_ostream_t *stream, size_t *msg_size);
Dfilter_extension.cc163 pb_ostream_t ostream = pb_ostream_from_buffer(data_buf.data, data_buf.length); in EncodeConfigResponse()
217 pb_ostream_t ostream = pb_ostream_from_buffer(data_buf.data, data_buf.length); in Encode()
269 pb_ostream_t ostream = pb_ostream_from_buffer(data_buf.data, data_buf.length); in EncodeAdvReport()
Dapp_manager.cc367 static bool EncodeFilterResultCallback(pb_ostream_t *stream, in EncodeFilterResultCallback()
410 pb_ostream_t *stream, size_t *msg_size) { in EncodeFilterResults()
433 pb_ostream_t *stream, size_t *msg_size) { in EncodeFilterResult()
Dtracker_filter.cc133 pb_ostream_t ostream = pb_ostream_from_buffer(data_buf.data, data_buf.length); in EncodeTrackerReport()
/system/chre/apps/test/common/chre_cross_validator_wifi/inc/
Dchre_cross_validator_wifi_manager.h174 static bool encodeErrorMessage(pb_ostream_t *stream,
/system/chre/apps/test/pts/audio_enable_disable_test/src/
Daudio_enable_disable_test.cc79 pb_ostream_t stream = pb_ostream_from_buffer(bytes, size); in sendTestResult()
/system/chre/core/
Dtelemetry_manager.cc60 pb_ostream_t stream = pb_ostream_from_buffer(bytes, size); in sendMetricToHost()
/system/chre/platform/slpi/see/
Dsns_qmi_client.c216 pb_ostream_t stream; in sns_client_send()
Dsee_helper.cc144 bool copyPayload(pb_ostream_t *stream, const pb_field_t *field, in copyPayload()
188 pb_ostream_t stream = pb_ostream_from_buffer(msg->get(), *msgLen); in encodeSnsStdAttrReq()
235 pb_ostream_t stream = pb_ostream_from_buffer(msg->get(), *msgLen); in encodeSnsSuidReq()
284 pb_ostream_t stream = pb_ostream_from_buffer(msg->get(), *msgLen); in encodeSnsResamplerConfig()
326 pb_ostream_t stream = pb_ostream_from_buffer(msg->get(), *msgLen); in encodeSnsStdSensorConfig()
347 pb_ostream_t stream = pb_ostream_from_buffer(msgBuffer, msgBufferSize); in encodeSnsRemoteProcSensorConfig()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc294 bool Manager::encodeErrorMessage(pb_ostream_t *stream, in encodeErrorMessage()
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc969 pb_ostream_t stream = pb_ostream_from_buffer(bytes, size); in sendCapabilitiesMessage()