Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 103) sorted by relevance

12345

/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_data_injection_test.c109 uint16_t *header = (uint16_t *)data; in frame_data_validate() local
117 if (header[OSLO_HEADER_INDEX_SYNC_0] != SYNC_WORD || in frame_data_validate()
118 header[OSLO_HEADER_INDEX_SYNC_1] != SYNC_WORD || in frame_data_validate()
119 header[OSLO_HEADER_INDEX_SHAPE_GROUP_COUNT] != 0) { in frame_data_validate()
121 header[0], header[1], header[2], header[3], header[4], header[5]); in frame_data_validate()
123 header[0], header[1], header[2], header[3], header[4], header[5]); in frame_data_validate()
126 frame_cnt = header[OSLO_HEADER_INDEX_FRAME_COUNT]; in frame_data_validate()
127 shape_group_count = header[OSLO_HEADER_INDEX_SHAPE_GROUP_COUNT]; in frame_data_validate()
128 chirp_len = header[OSLO_HEADER_INDEX_CHIRP_LENGTH]; in frame_data_validate()
146 if (header[OSLO_HEADER_INDEX_SYNC_0] != SYNC_WORD || in frame_data_validate()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
Dqemu_pipe.cpp70 char header[5]; in qemu_pipe_frame_send() local
71 snprintf(header, sizeof(header), "%04zx", len); in qemu_pipe_frame_send()
72 if (!WriteFully(fd, header, 4)) { in qemu_pipe_frame_send()
84 char header[5]; in qemu_pipe_frame_recv() local
85 if (!ReadFully(fd, header, 4)) { in qemu_pipe_frame_recv()
89 header[4] = '\0'; in qemu_pipe_frame_recv()
91 if (sscanf(header, "%04zx", &size) != 1) { in qemu_pipe_frame_recv()
92 QEMU_PIPE_DEBUG("Malformed qemud frame header: [%.*s]", 4, header); in qemu_pipe_frame_recv()
/hardware/qcom/audio/hal/audio_extn/
Dcirrus_playback.c208 struct crus_sp_ioctl_header header; in audio_extn_cirrus_run_calibration() local
249 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
250 header.module_id = CRUS_MODULE_ID_RX; in audio_extn_cirrus_run_calibration()
251 header.param_id = CRUS_PARAM_RX_SET_CALIB; in audio_extn_cirrus_run_calibration()
252 header.data_length = sizeof(option); in audio_extn_cirrus_run_calibration()
253 header.data = &option; in audio_extn_cirrus_run_calibration()
255 ret = ioctl(dev_file, CRUS_SP_IOCTL_SET, &header); in audio_extn_cirrus_run_calibration()
263 header.size = sizeof(header); in audio_extn_cirrus_run_calibration()
264 header.module_id = CRUS_MODULE_ID_TX; in audio_extn_cirrus_run_calibration()
265 header.param_id = CRUS_PARAM_TX_SET_CALIB; in audio_extn_cirrus_run_calibration()
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
DMessageFactory.h45 nlmsghdr header; member
58 : header(mMessage.header), data(mMessage.data) { in MessageFactory()
59 mMessage.header.nlmsg_len = offsetof(Message, attributesBuffer); in MessageFactory()
60 mMessage.header.nlmsg_type = type; in MessageFactory()
61 mMessage.header.nlmsg_flags = flags; in MessageFactory()
69 nlmsghdr& header; variable
93 return {{&mMessage.header, mMessage.header.nlmsg_len}}; in build()
121 ~NestedGuard() { closeNested(&mReq.mMessage.header, mAttr); } in ~NestedGuard()
159 auto attr = MessageFactoryBase::add(&mMessage.header, sizeof(mMessage), type, data, len);
Dbits.h50 constexpr D* data(H* header, size_t offset = 0) {
51 return reinterpret_cast<D*>(uintptr_t(header) + space<H>(offset));
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dts_parser.cpp127 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
130 if (!reorder_ts || error || !header) { in insert_timestamp()
131 if (error || !header) in insert_timestamp()
132 DEBUG("\n Invalid condition in insert_timestamp %p", header); in insert_timestamp()
144 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
147 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) in insert_timestamp()
168 *table_entry = header->nTimeStamp; in insert_timestamp()
170 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
211 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp148 bool omx_time_stamp_reorder::insert_timestamp(OMX_BUFFERHEADERTYPE *header) in insert_timestamp() argument
153 if (!reorder_ts || error || !header) { in insert_timestamp()
154 if (error || !header) in insert_timestamp()
155 DEBUG("Invalid condition in insert_timestamp %p", header); in insert_timestamp()
171 if (header->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { in insert_timestamp()
175 if ((header->nFlags & OMX_BUFFERFLAG_EOS) && !header->nFilledLen) { in insert_timestamp()
200 *table_entry = header->nTimeStamp; in insert_timestamp()
203 DEBUG("Time stamp inserted %lld", header->nTimeStamp); in insert_timestamp()
205 if (header->nFlags & OMX_BUFFERFLAG_EOS) { in insert_timestamp()
254 bool omx_time_stamp_reorder::get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced) in get_next_timestamp() argument
[all …]
/hardware/interfaces/confirmationui/support/src/
Dcbor.cpp60 uint8_t& header = *wState.data_; in writeHeader() local
62 header = static_cast<uint8_t>(type) << 5; in writeHeader()
64 header |= static_cast<uint8_t>(value); in writeHeader()
66 header |= 24; in writeHeader()
69 header |= 25; in writeHeader()
72 header |= 26; in writeHeader()
75 header |= 27; in writeHeader()
/hardware/interfaces/sensors/common/default/2.X/multihal/
DAndroid.bp28 "android.hardware.sensors@2.X-multihal.header",
51 name: "android.hardware.sensors@2.0-multihal.header",
58 name: "android.hardware.sensors@2.1-multihal.header",
65 name: "android.hardware.sensors@2.X-multihal.header",
82 "android.hardware.sensors@2.X-multihal.header",
96 "android.hardware.sensors@2.0-multihal.header",
100 "android.hardware.sensors@2.0-multihal.header",
115 "android.hardware.sensors@2.0-multihal.header",
118 "android.hardware.sensors@2.0-multihal.header",
/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.cpp105 V2_0::ISoundTriggerHw::SoundModel soundModel_2_0(soundModel.header); in loadSoundModel_2_1()
123 soundModel_2_0.common = soundModel.common.header; in loadPhraseSoundModel_2_1()
143 V2_0::ISoundTriggerHw::RecognitionConfig config_2_0(config.header); in startRecognition_2_1()
161 event.common.header = event_2_0.common; in recognitionCallback()
166 convertRecognitionEventFromHal(&event.header, halEvent); in recognitionCallback()
167 event.header.model = mId; in recognitionCallback()
168 auto result = moveVectorToMemory(&event.header.data, &event.data); in recognitionCallback()
178 convertSoundModelEventFromHal(&event.header, halEvent); in soundModelCallback()
179 event.header.model = mId; in soundModelCallback()
180 auto result = moveVectorToMemory(&event.header.data, &event.data); in soundModelCallback()
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/
DKbuild1 header-y += wcd9xxx_registers.h
2 header-y += wcd9310_registers.h
/hardware/interfaces/soundtrigger/2.1/
DISoundTriggerHwCallback.hal31 /** Event header. Any data contained in the 'header.data' field
33 @2.0::ISoundTriggerHwCallback.RecognitionEvent header;
52 /** Event header. Any data contained in the 'header.data' field
54 @2.0::ISoundTriggerHwCallback.ModelEvent header;
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp353 V2_3::Properties* properties, const struct sound_trigger_properties_header* header) { in convertPropertiesFromHal() argument
354 if (header->version >= SOUND_TRIGGER_DEVICE_API_VERSION_1_3) { in convertPropertiesFromHal()
356 (const struct sound_trigger_properties_extended_1_3*)header; in convertPropertiesFromHal()
467 const V2_0::ISoundTriggerHw::RecognitionConfig* config_2_0 = &config_2_1->header; in convertRecognitionConfigToHalHeader()
476 halConfigExtended->header.version = SOUND_TRIGGER_DEVICE_API_VERSION_1_3; in convertRecognitionConfigToHalHeader()
477 halConfigExtended->header.size = allocSize; in convertRecognitionConfigToHalHeader()
508 return &halConfigExtended->header; in convertRecognitionConfigToHalHeader()
664 V2_0::ISoundTriggerHw::SoundModel soundModel_2_0(soundModel.header); in loadSoundModel_2_1()
682 soundModel_2_0.common = soundModel.common.header; in loadPhraseSoundModel_2_1()
703 V2_0::ISoundTriggerHw::RecognitionConfig config_2_0(config.header); in startRecognition_2_1()
[all …]
/hardware/samsung/nfc/halimpl/src/
Ddevice.cc236 uint8_t header[NCI_HDR_SIZE]; in read_thread() local
298 ret = device_read(header, NCI_HDR_SIZE); in read_thread()
316 memcpy((void*)msg->param, (void*)header, NCI_HDR_SIZE); in read_thread()
333 int i = 0, header; in data_trace() local
336 header = (dev_state == NFC_DEV_MODE_BOOTLOADER) ? 4 : 3; in data_trace()
338 if (i < header) in data_trace()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DGenericStateResidencyDataProvider.h31 std::string header; variable
49 PowerEntityConfig(const std::string &header,
51 PowerEntityConfig(const uint32_t start_id, const std::string &header,
/hardware/google/pixel/powerstats/include/dataproviders/
DGenericStateResidencyDataProvider.h32 std::string header; variable
50 const std::string &name, const std::string &header = "")
53 mHeader(std::move(header)) {} in mStateResidencyConfigs()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dts_parser.h54 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
55 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h70 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
71 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h71 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
72 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h71 bool insert_timestamp(OMX_BUFFERHEADERTYPE *header);
72 bool get_next_timestamp(OMX_BUFFERHEADERTYPE *header, bool is_interlaced);

12345