Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 73) sorted by relevance

123

/hardware/libhardware_legacy/include/hardware_legacy/
Drtt.h93 byte LCI_request; // 1: request LCI, 0: do not request LCI
94 byte LCR_request; // 1: request LCR, 0: do not request LCR
113 byte number_per_burst_peer; // Maximum number of "FTM frames per burst" supported by
122 byte retry_after_duration; // When status == RTT_STATUS_FAIL_BUSY_TRY_LATER,
196 byte rtt_one_sided_supported; // if 1-sided rtt data collection is supported
197 byte rtt_ftm_supported; // if ftm rtt data collection is supported
198 byte lci_support; // if initiator supports LCI request. Applies to 2-sided RTT
199 byte lcr_support; // if initiator supports LCR request. Applies to 2-sided RTT
200 byte preamble_support; // bit mask indicates what preamble is supported by initiator
201 byte bw_support; // bit mask indicates what BW is supported by initiator
[all …]
Dgscan.h72 byte id; // element identifier
73 byte len; // number of bytes to follow
74 byte data[];
143 byte report_events;
218 wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush,
361 byte flags; // WIFI_PNO_FLAG_XXX
362 byte auth_bit_field; // auth bit field for matching WPA IE
398 byte plmn[3]; // mcc/mnc combination as per rules, 0s if unspecified
407 byte *anqp // ANQP data, in the information_element format
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUtil.cpp75 int AudioUtil::getSamplingFrequencyFromEDID(unsigned char byte) { in getSamplingFrequencyFromEDID() argument
78 if (byte & BIT(6)) { in getSamplingFrequencyFromEDID()
81 } else if (byte & BIT(5)) { in getSamplingFrequencyFromEDID()
84 } else if (byte & BIT(4)) { in getSamplingFrequencyFromEDID()
87 } else if (byte & BIT(3)) { in getSamplingFrequencyFromEDID()
90 } else if (byte & BIT(2)) { in getSamplingFrequencyFromEDID()
93 } else if (byte & BIT(1)) { in getSamplingFrequencyFromEDID()
96 } else if (byte & BIT(0)) { in getSamplingFrequencyFromEDID()
103 int AudioUtil::getBitsPerSampleFromEDID(unsigned char byte, in getBitsPerSampleFromEDID() argument
107 if (byte & BIT(2)) { in getBitsPerSampleFromEDID()
[all …]
DAudioUtil.h65 static int getSamplingFrequencyFromEDID(unsigned char byte);
66 static int getBitsPerSampleFromEDID(unsigned char byte,
/hardware/google/apf/
Dapf_run.c42 char byte[3] = { input[i*2], input[i*2+1], 0 }; in parse_hex() local
44 (*output)[i] = strtol(byte, &end_ptr, 16); in parse_hex()
45 if (end_ptr != byte + 2) { in parse_hex()
46 fprintf(stderr, "Failed to parse hex %s\n", byte); in parse_hex()
Dapf_disassembler.c77 int byte; in main() local
78 while (scanf("%2x", &byte) == 1 && program_len < sizeof(program)) { in main()
79 program[program_len++] = byte; in main()
/hardware/interfaces/automotive/vehicle/2.1/default/common/src/
DObd2SensorStore.cpp40 const uint8_t byte = mStorage[byteIndex]; in set() local
41 uint8_t newValue = value ? (byte | (1 << bitIndex)) : in set()
42 (byte & ~(1 << bitIndex)); in set()
49 const uint8_t byte = mStorage[byteIndex]; in get() local
50 return (byte & (1 << bitIndex)) != 0; in get()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
Dviddec_pm_utils_bstream.h61 int32_t viddec_pm_utils_bstream_get_current_byte(viddec_pm_utils_bstream_cxt_t *cxt, uint8_t *byte);
67 …get_au_offsets(viddec_pm_utils_bstream_cxt_t *cxt, uint32_t *bit, uint32_t *byte, uint8_t *is_emul) in viddec_pm_utils_bstream_get_au_offsets() argument
72 *byte = cxt->au_pos + (cxt->bstrm_buf.buf_index - cxt->bstrm_buf.buf_st); in viddec_pm_utils_bstream_get_au_offsets()
Dviddec_parser_ops.h69 int32_t viddec_pm_get_au_pos(void *parent, uint32_t *bit, uint32_t *byte, unsigned char *is_emul);
88 uint32_t viddec_pm_get_cur_byte(void *parent, uint8_t *byte);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dviddec_pm_utils_list.c36 uint32_t viddec_pm_utils_list_getbyte_position(viddec_pm_utils_list_t *list, uint32_t byte, uint32_… in viddec_pm_utils_list_getbyte_position() argument
42 if( accumulated_size >= byte) in viddec_pm_utils_list_getbyte_position()
45 *offset = list->start_offset + byte - 1; in viddec_pm_utils_list_getbyte_position()
53 if((accumulated_size + list->sc_ibuf[index].len) >= byte) in viddec_pm_utils_list_getbyte_position()
55 *offset = byte - accumulated_size - 1; in viddec_pm_utils_list_getbyte_position()
Dviddec_pm_parser_ops.c64 int32_t viddec_pm_get_au_pos(void *parent, uint32_t *bit, uint32_t *byte, uint8_t *is_emul) in viddec_pm_get_au_pos() argument
70 viddec_pm_utils_bstream_get_au_offsets(&(cxt->getbits), bit, byte, is_emul); in viddec_pm_get_au_pos()
132 uint32_t viddec_pm_get_cur_byte(void *parent, uint8_t *byte) in viddec_pm_get_cur_byte() argument
138 ret = viddec_pm_utils_bstream_get_current_byte(&(cxt->getbits), byte); in viddec_pm_get_cur_byte()
Dviddec_pm_utils_bstream.c7 uint8_t byte[8]; member
166 data->byte[valid_bytes_read] = cur_byte; in viddec_pm_utils_getbytes()
349 int32_t viddec_pm_utils_bstream_get_current_byte(viddec_pm_utils_bstream_cxt_t *cxt, uint8_t *byte) in viddec_pm_utils_bstream_get_current_byte() argument
359 *byte = bstream->buf[bstream->buf_index]; in viddec_pm_utils_bstream_get_current_byte()
434 data.byte[0] <<= bstream->buf_bitoff; in viddec_pm_utils_bstream_peekbits()
435 data.byte[0] >>= bstream->buf_bitoff; in viddec_pm_utils_bstream_peekbits()
/hardware/intel/common/omx-components/videocodec/securevideo/moorefield/
DLogDumpHelper.h69 const uint8_t* byte = start ; in DumpBufferToString() local
72 while (byte < end && s < send) in DumpBufferToString()
74 s += snprintf(s, strSize - (s - str), "%02x ", *byte) ; in DumpBufferToString()
75 ++byte ; in DumpBufferToString()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h41 typedef unsigned char byte; /* Unsigned 8 bit value type. */ typedef
157 byte *m_dataBeginPtr;
Dqtypes.h78 typedef unsigned char byte; /* Unsigned 8 bit value type. */ typedef
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h41 typedef unsigned char byte; /* Unsigned 8 bit value type. */ typedef
157 byte *m_dataBeginPtr;
Dqtypes.h78 typedef unsigned char byte; /* Unsigned 8 bit value type. */ typedef
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dhevc_utils.cpp134 byte bFirstSliceInPic = 0; in isNewFrame()
136 byte coef1=1, coef2=0, coef3=0; in isNewFrame()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h41 typedef unsigned char byte; /* Unsigned 8 bit value type. */ typedef
157 byte *m_dataBeginPtr;
Dqtypes.h78 typedef unsigned char byte; /* Unsigned 8 bit value type. */ typedef
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dhevc_utils.cpp134 byte bFirstSliceInPic = 0; in isNewFrame()
136 byte coef1=1, coef2=0, coef3=0; in isNewFrame()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dhevc_utils.cpp134 byte bFirstSliceInPic = 0; in isNewFrame()
136 byte coef1=1, coef2=0, coef3=0; in isNewFrame()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dmp4_utils.h41 typedef unsigned char byte; /* Unsigned 8 bit value type. */ typedef
160 byte *m_dataBeginPtr;
/hardware/interfaces/bluetooth/1.0/default/test/
Dmct_protocol_unittest.cc110 char byte; in SendAndReadUartOutbound() local
111 TEMP_FAILURE_RETRY(read(outbound_fd, &byte, 1)); in SendAndReadUartOutbound()
113 EXPECT_EQ(data[i], byte); in SendAndReadUartOutbound()
Dh4_protocol_unittest.cc105 char byte; in SendAndReadUartOutbound() local
106 TEMP_FAILURE_RETRY(read(fake_uart_, &byte, 1)); in SendAndReadUartOutbound()
108 EXPECT_EQ(i == 0 ? type : data[i - 1], byte); in SendAndReadUartOutbound()

123