Home
last modified time | relevance | path

Searched refs:uint8_t (Results 1 – 25 of 1683) sorted by relevance

12345678910>>...68

/system/nfc/src/nfc/include/
Dnci_hmsgs.h42 uint8_t nci_snd_core_reset(uint8_t reset_type);
43 uint8_t nci_snd_core_init(uint8_t nci_version);
44 uint8_t nci_snd_core_get_config(uint8_t* param_ids, uint8_t num_ids);
45 uint8_t nci_snd_core_set_config(uint8_t* p_param_tlvs, uint8_t tlv_size);
47 uint8_t nci_snd_core_conn_create(uint8_t dest_type, uint8_t num_tlv,
48 uint8_t tlv_size, uint8_t* p_param_tlvs);
49 uint8_t nci_snd_core_conn_close(uint8_t conn_id);
51 uint8_t nci_snd_discover_cmd(uint8_t num, tNCI_DISCOVER_PARAMS* p_param);
53 uint8_t nci_snd_discover_select_cmd(uint8_t rf_disc_id, uint8_t protocol,
54 uint8_t rf_interface);
[all …]
Dllcp_api.h41 typedef uint8_t tLLCP_STATUS;
55 uint8_t max_payload_size; /* 64, 128, 192 or 254 */
56 uint8_t waiting_time;
57 uint8_t* p_gen_bytes;
58 uint8_t gen_bytes_len;
63 uint8_t rw; /* Local receiving window */
102 typedef void(tLLCP_LINK_CBACK)(uint8_t event, uint8_t reason);
131 uint8_t event; /* LLCP_SAP_EVT_DATA_IND */
132 uint8_t local_sap; /* SAP of local device */
133 uint8_t remote_sap; /* SAP of remote device */
[all …]
Dndef_utils.h69 typedef uint8_t tNDEF_STATUS;
82 extern tNDEF_STATUS NDEF_MsgValidate(uint8_t* p_msg, uint32_t msg_len,
95 extern int32_t NDEF_MsgGetNumRecs(uint8_t* p_msg);
107 extern uint32_t NDEF_MsgGetRecLength(uint8_t* p_cur_rec);
119 extern uint8_t* NDEF_MsgGetNextRec(uint8_t* p_cur_rec);
131 extern uint8_t* NDEF_MsgGetRecByIndex(uint8_t* p_msg, int32_t index);
144 extern uint8_t* NDEF_MsgGetLastRecInMsg(uint8_t* p_msg);
156 extern uint8_t* NDEF_MsgGetFirstRecByType(uint8_t* p_msg, uint8_t tnf,
157 uint8_t* p_type, uint8_t tlen);
169 extern uint8_t* NDEF_MsgGetNextRecByType(uint8_t* p_cur_rec, uint8_t tnf,
[all …]
Drw_int.h66 typedef uint8_t tRW_T1T_LOCK_STATUS;
136 uint8_t num_bits; /* Number of lock bits in the lock byte */
137 uint8_t bytes_locked_per_bit; /* No. of tag bytes gets locked by a bit in this
143 uint8_t num_bytes; /* Number of reserved bytes as per the TLV */
147 uint8_t tlv_index; /* Index of Lock control tlv that points to this address*/
148 uint8_t byte_index; /* Index of Lock byte pointed by the TLV */
149 uint8_t lock_byte; /* Value in the lock byte */
156 uint8_t addr; /* ADD/ADD8/ADDS field value */
157 uint8_t op_code; /* Command sent */
158 uint8_t rsp_len; /* expected length of the response */
[all …]
Dllcp_int.h39 typedef uint8_t tLLCP_LINK_STATE;
65 uint8_t flags; /* LLCP internal flags */
68 uint8_t agreed_major_version; /* llcp major version used in activated state */
69 uint8_t agreed_minor_version; /* llcp minor version used in activated state */
71 uint8_t peer_version; /* llcp version of peer device */
75 uint8_t peer_opt; /* Option field of peer device */
79 uint8_t symm_state; /* state of symmectric procedure */
81 uint8_t ll_idx; /* for scheduler of logical link connection */
82 uint8_t dl_idx; /* for scheduler of data link connection */
87 uint8_t link_deact_reason; /* reason of LLCP link deactivated */
[all …]
Dtags_int.h34 uint8_t opcode;
35 uint8_t cmd_len;
36 uint8_t uid_offset;
37 uint8_t rsp_len;
41 uint8_t tag_model;
42 uint8_t tms;
43 uint8_t b_dynamic;
44 uint8_t lock_tlv[3];
45 uint8_t mem_tlv[3];
49 uint8_t manufacturer_id;
[all …]
Dnfc_int.h81 typedef uint8_t tNFC_STATE;
128 uint8_t id; /* NFCEE ID or RF Discovery ID or NFC_TEST_ID */
129 uint8_t act_protocol; /* the active protocol on this logical connection */
130 uint8_t act_interface; /* the active interface on this logical connection */
131 uint8_t conn_id; /* the connection id assigned by NFCC for this conn */
132 uint8_t buff_size; /* the max buffer size for this connection. . */
133 uint8_t num_buff; /* num of buffers left to send on this connection */
134 uint8_t init_credits; /* initial num of buffer credits */
146 uint8_t hal_evt; /* HAL event code */
147 uint8_t status; /* tHAL_NFC_STATUS */
[all …]
Dnfc_api.h110 typedef uint8_t tNFC_STATUS;
215 uint8_t nci_version; /* the NCI version of NFCC */
216 uint8_t max_conn; /* max number of connections by NFCC*/
221 uint8_t manufacture_id; /* the Manufacture ID for NFCC */
222 uint8_t nfcc_info[NFC_NFCC_INFO_LEN]; /* the Manufacture Info for NFCC */
223 uint8_t vs_interface
225 uint8_t hci_packet_size; /*HCI payload size*/
226 uint8_t hci_conn_credits; /*max number of HCI credits*/
234 uint8_t num_param_id; /* Number of rejected NCI Param ID */
235 uint8_t param_ids[NFC_MAX_NUM_IDS]; /* NCI Param ID */
[all …]
/system/bt/packet/tests/avrcp/
Davrcp_test_packets.h25 std::vector<uint8_t> get_capabilities_request = {
29 std::vector<uint8_t> get_capabilities_request_company_id = {
33 std::vector<uint8_t> get_capabilities_request_unknown = {
37 std::vector<uint8_t> get_capabilities_response_company_id = {
42 std::vector<uint8_t> get_capabilities_response_events_supported = {
48 std::vector<uint8_t> get_element_attributes_request_partial = {
55 std::vector<uint8_t> get_element_attributes_request_full = {
69 std::vector<uint8_t> get_elements_attributes_response_full = {
82 std::vector<uint8_t> get_play_status_request = {0x01, 0x48, 0x00, 0x00, 0x19,
86 std::vector<uint8_t> get_play_status_response = {
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_int.h31 extern uint8_t HCI_LOOPBACK_DEBUG;
80 typedef uint8_t tNFA_HCI_STATE;
86 typedef uint8_t tNFA_HCI_COMMAND;
87 typedef uint8_t tNFA_HCI_RESPONSE;
151 uint8_t gate;
158 uint8_t gate;
172 uint8_t pipe;
173 uint8_t reg_inx;
180 uint8_t pipe;
181 uint8_t reg_inx;
[all …]
Dnfa_hci_api.h88 typedef uint8_t tNFA_HCI_EVT;
105 typedef uint8_t tNFA_HCI_PIPE_STATE;
108 uint8_t pipe_id; /* Pipe ID */
110 uint8_t local_gate; /* local gate id */
111 uint8_t dest_host; /* Peer host to which this pipe is connected */
112 uint8_t dest_gate; /* Peer gate to which this pipe is connected */
119 uint8_t num_pipes; /* Number of dynamic pipes exist for the application */
120 uint8_t num_gates; /* Number of generic gates exist for the application */
131 uint8_t num_pipes; /* Number of dynamic pipes exist for the application */
134 uint8_t num_gates; /* Number of generic gates exist for the application */
[all …]
Dnfa_rw_api.h39 typedef uint8_t tNFA_RW_PRES_CHK_OPTION;
131 extern tNFA_STATUS NFA_RwWriteNDef(uint8_t* p_data, uint32_t len);
207 extern tNFA_STATUS NFA_RwLocateTlv(uint8_t tlv_type);
283 extern tNFA_STATUS NFA_RwT1tRead(uint8_t block_number, uint8_t index);
302 extern tNFA_STATUS NFA_RwT1tWrite(uint8_t block_number, uint8_t index,
303 uint8_t data, bool b_erase);
322 extern tNFA_STATUS NFA_RwT1tReadSeg(uint8_t segment_number);
341 extern tNFA_STATUS NFA_RwT1tRead8(uint8_t block_number);
360 extern tNFA_STATUS NFA_RwT1tWrite8(uint8_t block_number, uint8_t* p_data,
380 extern tNFA_STATUS NFA_RwT2tRead(uint8_t block_number);
[all …]
Dnfa_api.h78 typedef uint8_t tNFA_STATUS;
101 typedef uint8_t tNFA_PMID;
118 typedef uint8_t tNFA_TECHNOLOGY_MASK;
134 typedef uint8_t tNFA_NFC_PROTOCOL;
142 typedef uint8_t tNFA_PROTOCOL_MASK;
179 typedef uint8_t tNFA_RW_NDEF_FLAG;
184 uint8_t num_param_id; /* Number of rejected Param ID */
192 uint8_t* param_tlvs; /* TLV (Parameter ID-Len-Value byte stream) */
218 typedef uint8_t tNFA_DM_PWR_MODE;
234 uint8_t rf_field_status;
[all …]
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test_utils.cc31 uint8_t GetDlci(bool on_originator_side, uint8_t scn) { in GetDlci()
32 return static_cast<uint8_t>((scn << 1) + (on_originator_side ? 1 : 0)); in GetDlci()
35 uint8_t GetAddressField(bool ea, bool cr, uint8_t dlci) { in GetAddressField()
47 return static_cast<uint8_t>(address.to_ulong()); in GetAddressField()
50 uint8_t GetControlField(bool pf, uint8_t frame_type) { in GetControlField()
54 return static_cast<uint8_t>(control.to_ulong()); in GetControlField()
57 uint8_t GetFrameTypeFromControlField(uint8_t control_field) { in GetFrameTypeFromControlField()
58 return static_cast<uint8_t>(control_field & ~(0b10000)); in GetFrameTypeFromControlField()
61 std::vector<uint8_t> CreateMccPnFrame(uint8_t dlci, uint8_t i_bits, in CreateMccPnFrame()
62 uint8_t cl_bits, uint8_t priority, in CreateMccPnFrame()
[all …]
Dstack_rfcomm_test_utils.h53 uint8_t GetDlci(bool on_originator_side, uint8_t scn);
64 uint8_t GetAddressField(bool ea, bool cr, uint8_t dlci);
73 uint8_t GetControlField(bool pf, uint8_t frame_type);
88 std::vector<uint8_t> CreateMccPnFrame(uint8_t dlci, uint8_t i_bits,
89 uint8_t cl_bits, uint8_t priority,
90 uint8_t timer_value, uint16_t rfcomm_mtu,
91 uint8_t max_num_retransmission,
92 uint8_t err_recovery_window_k);
104 std::vector<uint8_t> CreateMccMscFrame(uint8_t dlci, bool fc, bool rtc,
116 std::vector<uint8_t> CreateMultiplexerControlFrame(
[all …]
/system/bt/stack/btm/
Dble_advertiser_hci_interface.h33 using status_cb = base::Callback<void(uint8_t /* status */)>;
35 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
47 uint8_t status, uint8_t advertising_handle, uint16_t connection_handle,
48 uint8_t num_completed_extended_adv_events) = 0;
54 base::Callback<void(uint8_t /* inst_cnt*/)> cb) = 0;
56 uint8_t handle, uint16_t properties, uint32_t adv_int_min,
57 uint32_t adv_int_max, uint8_t channel_map, uint8_t own_address_type,
58 const RawAddress& own_address, uint8_t peer_address_type,
59 const RawAddress& peer_address, uint8_t filter_policy, int8_t tx_power,
60 uint8_t primary_phy, uint8_t secondary_max_skip, uint8_t secondary_phy,
[all …]
/system/bt/stack/include/
Davdt_api.h96 typedef uint8_t AVDT_REPORT_TYPE;
255 uint8_t frag_lost; /* fraction lost since last RR */
267 uint8_t cname[AVDT_MAX_CNAME_SIZE + 1];
294 uint8_t ret_tout; /* AVDTP signaling retransmission timeout */
295 uint8_t sig_tout; /* AVDTP signaling message timeout */
296 uint8_t idle_tout; /* AVDTP idle signaling channel timeout */
297 uint8_t sec_mask; /* Security mask for BTM_SetSecurityLevel() */
298 uint8_t scb_index; /* The Stream Control Block index */
306 uint8_t seid; /* Stream endpoint identifier */
307 uint8_t media_type; /* Media type: AVDT_MEDIA_TYPE_* */
[all …]
Davdtc_api.h60 uint8_t seid_list[AVDT_NUM_SEPS]; /* Array of SEID values */
61 uint8_t num_seps; /* Number of values in array */
72 typedef void tAVDTC_CTRL_CBACK(uint8_t handle, const RawAddress& bd_addr,
73 uint8_t event, tAVDTC_CTRL* p_data);
97 extern void AVDTC_DiscoverRsp(const RawAddress& bd_addr, uint8_t label,
98 tAVDT_SEP_INFO sep_info[], uint8_t num_seps);
109 extern void AVDTC_GetCapRsp(const RawAddress& bd_addr, uint8_t label,
121 extern void AVDTC_GetAllCapRsp(const RawAddress& bd_addr, uint8_t label,
133 extern void AVDTC_GetConfigReq(uint8_t handle);
144 extern void AVDTC_GetConfigRsp(uint8_t handle, uint8_t label,
[all …]
Da2dp_vendor.h42 bool A2DP_IsVendorSourceCodecValid(const uint8_t* p_codec_info);
49 bool A2DP_IsVendorSinkCodecValid(const uint8_t* p_codec_info);
56 bool A2DP_IsVendorPeerSourceCodecValid(const uint8_t* p_codec_info);
63 bool A2DP_IsVendorPeerSinkCodecValid(const uint8_t* p_codec_info);
69 bool A2DP_IsVendorSinkCodecSupported(const uint8_t* p_codec_info);
77 bool A2DP_IsVendorPeerSourceCodecSupported(const uint8_t* p_codec_info);
82 uint32_t A2DP_VendorCodecGetVendorId(const uint8_t* p_codec_info);
87 uint16_t A2DP_VendorCodecGetCodecId(const uint8_t* p_codec_info);
95 const uint8_t* p_codec_info);
98 const char* A2DP_VendorCodecName(const uint8_t* p_codec_info);
[all …]
Dbt_types.h220 uint8_t data[];
243 (uint16_t)((*((uint8_t*)((p) + 1) + (p)->offset) + \
244 (*((uint8_t*)((p) + 1) + (p)->offset + 1) << 8)))
246 (uint8_t)(*((uint8_t*)((p) + 1) + (p)->offset + 2))
249 (uint8_t)(*((uint8_t*)((p) + 1) + (p)->offset))
251 (uint8_t)(*((uint8_t*)((p) + 1) + (p)->offset + 1))
258 *(p)++ = (uint8_t)((u64) >> 56); \
259 *(p)++ = (uint8_t)((u64) >> 48); \
260 *(p)++ = (uint8_t)((u64) >> 40); \
261 *(p)++ = (uint8_t)((u64) >> 32); \
[all …]
Da2dp_sbc.h36 bool setCodecConfig(const uint8_t* p_peer_codec_info, bool is_capability,
37 uint8_t* p_result_codec_config) override;
39 const uint8_t* p_peer_codec_capabilities) override;
84 bool A2DP_IsSourceCodecValidSbc(const uint8_t* p_codec_info);
90 bool A2DP_IsSinkCodecValidSbc(const uint8_t* p_codec_info);
97 bool A2DP_IsPeerSourceCodecValidSbc(const uint8_t* p_codec_info);
104 bool A2DP_IsPeerSinkCodecValidSbc(const uint8_t* p_codec_info);
109 bool A2DP_IsSinkCodecSupportedSbc(const uint8_t* p_codec_info);
117 bool A2DP_IsPeerSourceCodecSupportedSbc(const uint8_t* p_codec_info);
122 void A2DP_InitDefaultCodecSbc(uint8_t* p_codec_info);
[all …]
/system/bt/stack/rfcomm/
Drfc_int.h51 extern void RFCOMM_DlcEstablishReq(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu);
52 extern void RFCOMM_DlcEstablishRsp(tRFC_MCB* p_mcb, uint8_t dlci, uint16_t mtu,
55 extern void RFCOMM_DataReq(tRFC_MCB* p_mcb, uint8_t dlci, BT_HDR* p_buf);
57 extern void RFCOMM_DlcReleaseReq(tRFC_MCB* p_mcb, uint8_t dlci);
59 extern void RFCOMM_ParameterNegotiationRequest(tRFC_MCB* p_mcb, uint8_t dlci,
61 extern void RFCOMM_ParameterNegotiationResponse(tRFC_MCB* p_mcb, uint8_t dlci,
62 uint16_t mtu, uint8_t cl,
63 uint8_t k);
65 extern void RFCOMM_TestReq(uint8_t* p_data, uint16_t len);
67 extern void RFCOMM_FlowReq(tRFC_MCB* p_mcb, uint8_t dlci, bool state);
[all …]
/system/bt/bta/include/
Dbta_hh_co.h31 uint8_t rpt_id;
33 uint8_t srvc_inst_id;
34 uint8_t char_inst_id;
49 extern void bta_hh_co_data(uint8_t dev_handle, uint8_t* p_rpt, uint16_t len,
50 tBTA_HH_PROTO_MODE mode, uint8_t sub_class,
51 uint8_t ctry_code, const RawAddress& peer_addr,
52 uint8_t app_id);
65 extern void bta_hh_co_open(uint8_t dev_handle, uint8_t sub_class,
66 uint16_t attr_mask, uint8_t app_id);
78 extern void bta_hh_co_close(uint8_t dev_handle, uint8_t app_id);
[all …]
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h79 inline int32_t MessageVersion(uint8_t major_ver, uint8_t minor_ver, uint8_t /* subminor_ver */) { in MessageVersion() argument
121 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
122 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override;
125 virtual uint8_t* NonErrorSerialize(uint8_t* buf, const uint8_t* end) const = 0;
126 virtual bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0;
136 uint8_t* Serialize(uint8_t* buf, const uint8_t* /* end */) const override { return buf; } in Serialize()
137 bool Deserialize(const uint8_t** /* buf_ptr */, const uint8_t* /* end */) override { in Deserialize()
146 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize()
149 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize()
171 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize()
[all …]
/system/bt/bta/sys/
Dbta_sys.h112 typedef uint8_t tBTA_SYS_ID;
130 typedef uint8_t tBTA_SYS_CONN_STATUS;
137 typedef uint8_t tBTA_SYS_PREF_ROLES;
140 typedef void(tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status, uint8_t id,
141 uint8_t app_id, const RawAddress& peer_addr);
144 typedef void(tBTA_SYS_SSR_CFG_CBACK)(uint8_t id, uint8_t app_id,
164 typedef void (*tBTA_SYS_REGISTER)(uint8_t id, const tBTA_SYS_REG* p_reg);
171 extern uint8_t appl_trace_level;
207 typedef uint8_t tBTA_SYS_HW_EVT;
219 extern void bta_sys_set_trace_level(uint8_t level);
[all …]

12345678910>>...68