/system/bt/bta/hl/ |
D | bta_hl_int.h | 70 typedef UINT8 tBTA_HL_SDP_OPER; 79 typedef UINT8 tBTA_HL_CCH_OPER; 85 typedef UINT8 tBTA_HL_CCH_CLOSE_DCH_OPER; 101 typedef UINT8 tBTA_HL_DCH_OPER; 115 typedef UINT8 tBTA_HL_ECHO_OPER; 135 UINT8 fcs; /* '0' No FCS, otherwise '1' */ 219 typedef UINT8 tBTA_HL_CCH_STATE; 228 typedef UINT8 tBTA_HL_DCH_STATE; 240 UINT8 app_id; 254 UINT8 app_id; [all …]
|
/system/bt/stack/include/ |
D | avdt_api.h | 89 typedef UINT8 AVDT_REPORT_TYPE; 217 UINT8 frag_lost; /* fraction lost since last RR */ 229 UINT8 cname[AVDT_MAX_CNAME_SIZE + 1]; 235 UINT8 ret_tout; /* AVDTP signaling retransmission timeout */ 236 UINT8 sig_tout; /* AVDTP signaling message timeout */ 237 UINT8 idle_tout; /* AVDTP idle signaling channel timeout */ 238 UINT8 sec_mask; /* Security mask for BTM_SetSecurityLevel() */ 246 UINT8 seid; /* Stream endpoint identifier */ 247 UINT8 media_type; /* Media type */ 248 UINT8 tsep; /* SEP type */ [all …]
|
D | avdtc_api.h | 49 UINT8 seid_list[AVDT_NUM_SEPS]; /* Array of SEID values */ 50 UINT8 num_seps; /* Number of values in array */ 61 typedef void tAVDTC_CTRL_CBACK(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDTC_CTRL *p_data); 90 extern void AVDTC_DiscoverRsp(BD_ADDR bd_addr, UINT8 label, 91 tAVDT_SEP_INFO sep_info[], UINT8 num_seps); 102 extern void AVDTC_GetCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap); 113 extern void AVDTC_GetAllCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap); 124 extern void AVDTC_GetConfigReq(UINT8 handle); 135 extern void AVDTC_GetConfigRsp(UINT8 handle, UINT8 label, tAVDT_CFG *p_cfg); 146 extern void AVDTC_OpenReq(UINT8 handle); [all …]
|
D | bt_types.h | 33 typedef uint8_t UINT8; typedef 224 #define HCI_GET_CMD_HDR_OPCODE(p) (UINT16)((*((UINT8 *)((p) + 1) + p->offset) + \ 225 (*((UINT8 *)((p) + 1) + p->offset + 1) << 8))) 226 #define HCI_GET_CMD_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 2)) 228 #define HCI_GET_EVT_HDR_OPCODE(p) (UINT8)(*((UINT8 *)((p) + 1) + p->offset)) 229 #define HCI_GET_EVT_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 1)) 235 …_STREAM(p, u64) {*(p)++ = (UINT8)((u64) >> 56); *(p)++ = (UINT8)((u64) >> 48); *(p)++ = (UINT8)((… 236 …*(p)++ = (UINT8)((u64) >> 24); *(p)++ = (UINT8)((u64) >> 16); *(p)++ = (UINT8)((u64) >> 8); *(p)+… 237 …32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UINT8)((u32) … 238 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… [all …]
|
D | btm_ble_api.h | 34 typedef UINT8 tBTM_BLE_CHNL_MAP[CHNL_MAP_LEN]; 51 typedef UINT8 tBTM_BLE_EVT; 52 typedef UINT8 tBTM_BLE_CONN_MODE; 59 typedef UINT8 tBLE_SCAN_MODE; 66 typedef UINT8 tBTM_BLE_BATCH_SCAN_MODE; 72 typedef UINT8 tBTM_BLE_ADV_CHNL_MAP; 85 typedef UINT8 tBTM_BLE_AFP; 102 typedef UINT8 tBTM_BLE_SFP; 204 typedef UINT8 BLE_SIGNATURE[BTM_BLE_AUTH_SIGN_LEN]; /* Device address */ 269 UINT8 status; [all …]
|
D | avrc_api.h | 151 typedef void (tAVRC_CTRL_CBACK) (UINT8 handle, UINT8 event, UINT16 result, 159 typedef void (tAVRC_MSG_CBACK) (UINT8 handle, UINT8 label, UINT8 opcode, 167 UINT8 conn; /* Connection role (Initiator/acceptor) */ 168 UINT8 control; /* Control role (Control/Target) */ 301 extern UINT16 AVRC_Open(UINT8 *p_handle, tAVRC_CONN_CB *p_ccb, 322 extern UINT16 AVRC_Close(UINT8 handle); 338 extern UINT16 AVRC_OpenBrowse(UINT8 handle, UINT8 conn_role); 352 extern UINT16 AVRC_CloseBrowse(UINT8 handle); 370 extern UINT16 AVRC_MsgReq (UINT8 handle, UINT8 label, UINT8 ctype, BT_HDR *p_pkt); 393 extern UINT16 AVRC_UnitCmd(UINT8 handle, UINT8 label); [all …]
|
D | avrc_defs.h | 251 typedef UINT8 tAVRC_STS; 288 typedef UINT8 tAVRC_BATTERY_STATUS; 313 typedef UINT8 tAVRC_PLAYSTATE; 347 typedef UINT8 tAVRC_SYSTEMSTATE; 400 typedef UINT8 tAVRC_UID[AVRC_UID_SIZE]; 760 UINT8 ctype; /* Command type. */ 761 UINT8 subunit_type; /* Subunit type. */ 762 UINT8 subunit_id; /* Subunit ID. This value is typically ignored in AVRCP, 765 UINT8 opcode; /* Op Code (passthrough, vendor, etc) */ 773 UINT8 unit_type; /* Unit type. Uses the same values as subunit type. */ [all …]
|
D | hcimsgs.h | 31 extern BOOLEAN btsnd_hcic_inquiry(const LAP inq_lap, UINT8 duration, 32 UINT8 response_cnt); 49 const LAP inq_lap, UINT8 duration, 50 UINT8 response_cnt); 67 UINT8 page_scan_rep_mode, 68 UINT8 page_scan_mode, 70 UINT8 allow_switch); 83 extern BOOLEAN btsnd_hcic_disconnect(UINT16 handle, UINT8 reason); 111 extern BOOLEAN btsnd_hcic_accept_conn (BD_ADDR bd_addr, UINT8 role); 120 extern BOOLEAN btsnd_hcic_reject_conn (BD_ADDR bd_addr, UINT8 reason); [all …]
|
D | btm_api.h | 90 typedef UINT8 tBTM_DEVICE_ROLE; 93 typedef UINT8 tBTM_BD_NAME[BTM_MAX_REM_BD_NAME_LEN + 1]; 98 UINT8 hci_version; 100 UINT8 lmp_version; 110 UINT8 *p_param_buf; 129 typedef UINT8 tBTM_DEV_STATUS; 139 typedef void (tBTM_VS_EVT_CB) (UINT8 len, UINT8 *p); 156 typedef UINT8 (tBTM_FILTER_CB) (BD_ADDR bd_addr, DEV_CLASS dc); 494 typedef UINT8 tBTM_EIR_SEARCH_RESULT; 525 typedef UINT8 tBTM_BLE_SEC_ACT; [all …]
|
/system/bt/stack/rfcomm/ |
D | rfc_int.h | 51 extern void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 52 extern void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result); 54 extern void RFCOMM_DataReq (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf); 56 extern void RFCOMM_DlcReleaseReq (tRFC_MCB *p_mcb, UINT8 dlci); 58 extern void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 59 extern void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k); 61 extern void RFCOMM_TestReq (UINT8 *p_data, UINT16 len); 66 extern void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 state); 68 extern void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars); 69 extern void RFCOMM_PortNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, UINT16 param_mask); [all …]
|
/system/bt/bta/include/ |
D | bta_av_co.h | 69 UINT8 busy_level; /* Busy level indicating the bit-rate to be used */ 70 UINT8 codec_info[AVDT_CODEC_SIZE]; 71 UINT8 codec_type; /* Codec type */ 87 extern BOOLEAN bta_av_co_audio_init(UINT8 *p_codec_type, UINT8 *p_codec_info, 88 UINT8 *p_num_protect, UINT8 *p_protect_info, UINT8 index); 102 extern void bta_av_co_audio_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, 103 UINT8 num_snk, UINT8 num_src, BD_ADDR addr, UINT16 uuid_local); 117 extern void bta_av_co_video_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, 118 UINT8 num_snk, BD_ADDR addr); 132 extern UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, [all …]
|
D | bta_hl_co.h | 53 extern BOOLEAN bta_hl_co_get_num_of_mdep(UINT8 app_id, UINT8 *p_num_of_mdep); 67 extern BOOLEAN bta_hl_co_advrtise_source_sdp(UINT8 app_id); 85 extern BOOLEAN bta_hl_co_get_mdep_config(UINT8 app_id, 86 UINT8 mdep_idx, 87 UINT8 mdep_counter, 105 extern BOOLEAN bta_hl_co_get_echo_config(UINT8 app_id, 123 extern void bta_hl_co_save_mdl(UINT8 app_id, UINT8 item_idx, tBTA_HL_MDL_CFG *p_mdl_cfg ); 137 extern void bta_hl_co_delete_mdl(UINT8 app_id, UINT8 item_idx); 154 extern BOOLEAN bta_hl_co_load_mdl_config (UINT8 app_id, UINT8 buffer_size, 174 extern void bta_hl_co_get_tx_data (UINT8 app_id, tBTA_HL_MDL_HANDLE mdl_handle, [all …]
|
D | bta_hh_co.h | 32 UINT8 rpt_id; 34 UINT8 srvc_inst_id; 35 UINT8 char_inst_id; 49 extern void bta_hh_co_data(UINT8 dev_handle, UINT8 *p_rpt, UINT16 len, 50 tBTA_HH_PROTO_MODE mode, UINT8 sub_class, 51 UINT8 ctry_code, BD_ADDR peer_addr, UINT8 app_id); 64 extern void bta_hh_co_open(UINT8 dev_handle, UINT8 sub_class, 65 UINT16 attr_mask, UINT8 app_id); 77 extern void bta_hh_co_close(UINT8 dev_handle, UINT8 app_id); 98 UINT8 app_id); [all …]
|
D | bta_av_api.h | 52 typedef UINT8 tBTA_AV_STATUS; 78 typedef UINT8 tBTA_AV_CHNL; 82 typedef UINT8 tBTA_AV_HNDL; 84 #define BTA_AV_HNDL_TO_MSK(h) ((UINT8)(1 << (h))) 87 #define BTA_AV_HNDL_TYPE_TO_MSK(h) ((UINT8)(1 << (h&BTA_AV_HNDL_MSK))) 124 typedef UINT8 tBTA_AV_CODEC; 192 typedef UINT8 tBTA_AV_RC; 198 typedef UINT8 tBTA_AV_STATE; 207 typedef UINT8 tBTA_AV_CMD; 218 typedef UINT8 tBTA_AV_CODE; [all …]
|
D | bta_hh_api.h | 94 typedef UINT8 tBTA_HH_PROTO_MODE; 101 typedef UINT8 tBTA_HH_BOOT_RPT_ID; 115 typedef UINT8 tBTA_HH_DEVT; 138 typedef UINT8 tBTA_HH_STATUS; 155 UINT8 app_id; /* corresponding application ID */ 161 UINT8 max_devt_spt; /* max number of types of devices spt */ 173 typedef UINT8 tBTA_HH_RPT_TYPE; 186 typedef UINT8 tBTA_HH_TRANS_CTRL_TYPE; 204 UINT8 ctry_code; /*Country Code.*/ 209 UINT8 flag; [all …]
|
/system/bt/stack/smp/ |
D | smp_int.h | 46 typedef UINT8 tSMP_ASSO_MODEL; 130 typedef UINT8 tSMP_EVENT; 157 typedef UINT8 tSMP_STATE; 187 typedef UINT8 tSMP_BR_EVENT; 198 typedef UINT8 tSMP_BR_STATE; 231 UINT8 key_type; 232 UINT8* p_data; 237 UINT8 *p_data; /* UINT8 type data pointer */ 272 UINT8 trace_level; 281 UINT8 failure; [all …]
|
D | smp_keys.c | 63 void smp_debug_print_nbyte_little_endian(UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_little_endian() 69 UINT8 p_buf[512]; in smp_debug_print_nbyte_little_endian() 87 void smp_debug_print_nbyte_big_endian (UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_big_endian() 90 UINT8 p_buf[512]; in smp_debug_print_nbyte_big_endian() 123 BOOLEAN smp_encrypt_data (UINT8 *key, UINT8 key_len, in smp_encrypt_data() 124 UINT8 *plain_text, UINT8 pt_len, in smp_encrypt_data() 128 UINT8 *p_start = NULL; in smp_encrypt_data() 129 UINT8 *p = NULL; in smp_encrypt_data() 130 UINT8 *p_rev_data = NULL; /* input data in big endilan format */ in smp_encrypt_data() 131 UINT8 *p_rev_key = NULL; /* input key in big endilan format */ in smp_encrypt_data() [all …]
|
/system/bt/bta/sys/ |
D | bta_sys.h | 112 typedef UINT8 tBTA_SYS_ID; 131 typedef UINT8 tBTA_SYS_CONN_STATUS; 138 typedef UINT8 tBTA_SYS_PREF_ROLES; 141 typedef void (tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer… 144 typedef void (tBTA_SYS_SSR_CFG_CBACK)(UINT8 id, UINT8 app_id, UINT16 latency, UINT16 tout); 170 extern UINT8 appl_trace_level; 209 typedef UINT8 tBTA_SYS_HW_EVT; 225 extern void bta_sys_set_trace_level(UINT8 level); 226 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg); 227 extern void bta_sys_deregister(UINT8 id); [all …]
|
/system/bt/stack/btm/ |
D | btm_ble_int.h | 81 typedef UINT8 tBTM_BLE_SEC_REQ_ACT; 111 UINT8 *p_flags; 112 UINT8 ad_data[BTM_BLE_AD_DATA_LEN]; 113 UINT8 *p_pad; 140 UINT8 scan_type; /* current scan type: active or passive */ 141 UINT8 scan_duplicate_filter; /* duplicate filter enabled for scan */ 148 UINT8 evt_type; 149 UINT8 adv_mode; 155 UINT8 adv_len; 156 UINT8 adv_data_cache[BTM_BLE_CACHE_ADV_DATA_MAX]; [all …]
|
D | btm_int.h | 93 UINT8 num_read_pages; 94 UINT8 lmp_version; 97 UINT8 link_role; 106 UINT8 switch_role_state; 112 UINT8 encrypt_state; /* overall BTM encryption state */ 117 UINT8 conn_addr_type; /* local device address type for this connection */ 119 …UINT8 active_remote_addr_type; /* local device address type for this connection … 170 UINT8 le_supported_states[BTM_LE_SUPPORT_STATE_SIZE]; 239 typedef UINT8 tBTM_INQ_TYPE; 285 …UINT8 pending_filt_complete_event; /* to take care of btm_event_filter_complete corresp… [all …]
|
/system/bt/bta/av/ |
D | bta_av_int.h | 150 …A_AV_CO_ID_TO_BE_STREAM(p, u32) {*(p)++ = (UINT8)((u32) >> 16); *(p)++ = (UINT8)((u32) >> 8); *(p)… 163 typedef BOOLEAN (*tBTA_AV_CO_INIT) (UINT8 *p_codec_type, UINT8 *p_codec_info, 164 UINT8 *p_num_protect, UINT8 *p_protect_info, UINT8 index); 165 typedef void (*tBTA_AV_CO_DISC_RES) (tBTA_AV_HNDL hndl, UINT8 num_seps, 166 UINT8 num_snk, UINT8 num_src, BD_ADDR addr, UINT16 uuid_local); 167 typedef UINT8 (*tBTA_AV_CO_GETCFG) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, 168 UINT8 *p_codec_info, UINT8 *p_sep_info_idx, UINT8 seid, 169 UINT8 *p_num_protect, UINT8 *p_protect_info); 171 UINT8 *p_codec_info, UINT8 seid, BD_ADDR addr, 172 UINT8 num_protect, UINT8 *p_protect_info, [all …]
|
/system/bt/stack/btu/ |
D | btu_hcif.c | 52 extern void btm_process_cancel_complete(UINT8 status, UINT8 mode); 53 extern void btm_ble_test_command_complete(UINT8 *p); 58 static void btu_hcif_inquiry_comp_evt (UINT8 *p); 59 static void btu_hcif_inquiry_result_evt (UINT8 *p); 60 static void btu_hcif_inquiry_rssi_result_evt (UINT8 *p); 61 static void btu_hcif_extended_inquiry_result_evt (UINT8 *p); 63 static void btu_hcif_connection_comp_evt (UINT8 *p); 64 static void btu_hcif_connection_request_evt (UINT8 *p); 65 static void btu_hcif_disconnection_comp_evt (UINT8 *p); 66 static void btu_hcif_authentication_comp_evt (UINT8 *p); [all …]
|
/system/bt/btif/include/ |
D | btif_hl.h | 115 UINT8 mdep_cfg_idx; 129 UINT8 app_idx; 136 UINT8 mdep_cfg_idx; 139 UINT8 app_idx; 140 UINT8 mcl_idx; 141 UINT8 mdl_idx; 160 UINT8 num_elems; 171 UINT8 local_mdep_cfg_idx; 183 UINT8 *p_tx_pkt; 184 UINT8 *p_rx_pkt; [all …]
|
/system/bt/stack/hcic/ |
D | hciblecmds.c | 38 BOOLEAN btsnd_hcic_ble_set_local_used_feat (UINT8 feat_set[8]) in btsnd_hcic_ble_set_local_used_feat() 41 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_local_used_feat() 56 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_random_addr() 71 UINT8 adv_type, UINT8 addr_type_own, in btsnd_hcic_ble_write_adv_params() 72 UINT8 addr_type_dir, BD_ADDR direct_bda, in btsnd_hcic_ble_write_adv_params() 73 UINT8 channel_map, UINT8 adv_filter_policy) in btsnd_hcic_ble_write_adv_params() 76 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_write_adv_params() 99 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_read_adv_chnl_tx_power() 112 BOOLEAN btsnd_hcic_ble_set_adv_data (UINT8 data_len, UINT8 *p_data) in btsnd_hcic_ble_set_adv_data() 115 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_adv_data() [all …]
|
D | hcicmds.c | 38 BOOLEAN btsnd_hcic_inquiry(const LAP inq_lap, UINT8 duration, UINT8 response_cnt) in btsnd_hcic_inquiry() 41 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_inquiry() 60 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_inq_cancel() 72 const LAP inq_lap, UINT8 duration, UINT8 response_cnt) in btsnd_hcic_per_inq_mode() 75 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_per_inq_mode() 96 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_exit_per_inq() 109 UINT8 page_scan_rep_mode, UINT8 page_scan_mode, in btsnd_hcic_create_conn() 110 UINT16 clock_offset, UINT8 allow_switch) in btsnd_hcic_create_conn() 113 UINT8 *pp = (UINT8 *)(p + 1); in btsnd_hcic_create_conn() 140 BOOLEAN btsnd_hcic_disconnect (UINT16 handle, UINT8 reason) in btsnd_hcic_disconnect() [all …]
|