/system/bt/bta/hl/ |
D | bta_hl_int.h | 73 typedef UINT8 tBTA_HL_SDP_OPER; 82 typedef UINT8 tBTA_HL_CCH_OPER; 88 typedef UINT8 tBTA_HL_CCH_CLOSE_DCH_OPER; 104 typedef UINT8 tBTA_HL_DCH_OPER; 118 typedef UINT8 tBTA_HL_ECHO_OPER; 138 UINT8 fcs; /* '0' No FCS, otherwise '1' */ 222 typedef UINT8 tBTA_HL_CCH_STATE; 231 typedef UINT8 tBTA_HL_DCH_STATE; 243 UINT8 app_id; 257 UINT8 app_id; [all …]
|
/system/bt/stack/include/ |
D | avdt_api.h | 94 typedef UINT8 AVDT_REPORT_TYPE; 222 UINT8 frag_lost; /* fraction lost since last RR */ 234 UINT8 cname[AVDT_MAX_CNAME_SIZE + 1]; 240 UINT8 ret_tout; /* AVDTP signaling retransmission timeout */ 241 UINT8 sig_tout; /* AVDTP signaling message timeout */ 242 UINT8 idle_tout; /* AVDTP idle signaling channel timeout */ 243 UINT8 sec_mask; /* Security mask for BTM_SetSecurityLevel() */ 251 UINT8 seid; /* Stream endpoint identifier */ 252 UINT8 media_type; /* Media type */ 253 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 230 #define HCI_GET_CMD_HDR_OPCODE(p) (UINT16)((*((UINT8 *)((p) + 1) + p->offset) + \ 231 (*((UINT8 *)((p) + 1) + p->offset + 1) << 8))) 232 #define HCI_GET_CMD_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 2)) 234 #define HCI_GET_EVT_HDR_OPCODE(p) (UINT8)(*((UINT8 *)((p) + 1) + p->offset)) 235 #define HCI_GET_EVT_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 1)) 241 …32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UINT8)((u32) … 242 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… 243 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} 244 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} [all …]
|
D | btm_ble_api.h | 33 typedef UINT8 tBTM_BLE_CHNL_MAP[CHNL_MAP_LEN]; 50 typedef UINT8 tBTM_BLE_EVT; 51 typedef UINT8 tBTM_BLE_CONN_MODE; 58 typedef UINT8 tBLE_SCAN_MODE; 65 typedef UINT8 tBTM_BLE_BATCH_SCAN_MODE; 71 typedef UINT8 tBTM_BLE_ADV_CHNL_MAP; 84 typedef UINT8 tBTM_BLE_AFP; 101 typedef UINT8 tBTM_BLE_SFP; 198 typedef UINT8 BLE_SIGNATURE[BTM_BLE_AUTH_SIGN_LEN]; /* Device address */ 263 UINT8 status; [all …]
|
D | avrc_api.h | 145 typedef void (tAVRC_CTRL_CBACK) (UINT8 handle, UINT8 event, UINT16 result, 153 typedef void (tAVRC_MSG_CBACK) (UINT8 handle, UINT8 label, UINT8 opcode, 161 UINT8 conn; /* Connection role (Initiator/acceptor) */ 162 UINT8 control; /* Control role (Control/Target) */ 294 extern UINT16 AVRC_Open(UINT8 *p_handle, tAVRC_CONN_CB *p_ccb, 315 extern UINT16 AVRC_Close(UINT8 handle); 331 extern UINT16 AVRC_OpenBrowse(UINT8 handle, UINT8 conn_role); 345 extern UINT16 AVRC_CloseBrowse(UINT8 handle); 363 extern UINT16 AVRC_MsgReq (UINT8 handle, UINT8 label, UINT8 ctype, BT_HDR *p_pkt); 386 extern UINT16 AVRC_UnitCmd(UINT8 handle, UINT8 label); [all …]
|
D | avrc_defs.h | 249 typedef UINT8 tAVRC_STS; 287 typedef UINT8 tAVRC_BATTERY_STATUS; 312 typedef UINT8 tAVRC_PLAYSTATE; 346 typedef UINT8 tAVRC_SYSTEMSTATE; 399 typedef UINT8 tAVRC_UID[AVRC_UID_SIZE]; 759 UINT8 ctype; /* Command type. */ 760 UINT8 subunit_type; /* Subunit type. */ 761 UINT8 subunit_id; /* Subunit ID. This value is typically ignored in AVRCP, 764 UINT8 opcode; /* Op Code (passthrough, vendor, etc) */ 772 UINT8 unit_type; /* Unit type. Uses the same values as subunit type. */ [all …]
|
D | uipc_msg.h | 49 typedef UINT8 tUIPC_STATUS; 60 UINT8 opcode; /* UIPC_OPEN_REQ */ 67 UINT8 opcode; /* UIPC_OPEN_RESP */ 71 …UINT8 num_streams; /* Number of simultaneous streams supported by the light stack… 78 UINT8 opcode; /* UIPC_CLOSE_REQ */ 85 UINT8 opcode; /* UIPC_CLOSE_RSP */ 92 UINT8 opcode; 104 UINT8 msg[IPC_LOG_MSG_LEN]; 110 UINT8 opcode; /* A2DP_START_REQ */ 117 UINT8 opcode; /* A2DP_STOP_REQ */ [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 | a2d_sbc.h | 79 UINT8 samp_freq; /* Sampling frequency */ 80 UINT8 ch_mode; /* Channel mode */ 81 UINT8 block_len; /* Block length */ 82 UINT8 num_subbands; /* Number of subbands */ 83 UINT8 alloc_mthd; /* Allocation method */ 84 UINT8 max_bitpool; /* Maximum bitpool */ 85 UINT8 min_bitpool; /* Minimum bitpool */ 104 extern void A2D_SbcChkFrInit(UINT8 *p_pkt); 114 extern void A2D_SbcDescramble(UINT8 *p_pkt, UINT16 len); 134 extern tA2D_STATUS A2D_BldSbcInfo(UINT8 media_type, tA2D_SBC_CIE *p_ie, [all …]
|
D | avct_api.h | 103 typedef void (tAVCT_CTRL_CBACK)(UINT8 handle, UINT8 event, UINT16 result, 108 typedef void (tAVCT_MSG_CBACK)(UINT8 handle, UINT8 label, UINT8 cr, 116 UINT8 role; /* Initiator/acceptor role */ 117 UINT8 control; /* Control role (Control/Target) */ 142 extern void AVCT_Register(UINT16 mtu, UINT16 mtu_br, UINT8 sec_mask); 176 extern UINT16 AVCT_CreateConn(UINT8 *p_handle, tAVCT_CC *p_cc, 192 extern UINT16 AVCT_RemoveConn(UINT8 handle); 210 extern UINT16 AVCT_CreateBrowse(UINT8 handle, UINT8 role); 225 extern UINT16 AVCT_RemoveBrowse(UINT8 handle); 237 extern UINT16 AVCT_GetBrowseMtu (UINT8 handle); [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 inst_id; 35 UINT8 prop; 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; 77 typedef UINT8 tBTA_AV_CHNL; 81 typedef UINT8 tBTA_AV_HNDL; 83 #define BTA_AV_HNDL_TO_MSK(h) ((UINT8)(1 << (h))) 86 #define BTA_AV_HNDL_TYPE_TO_MSK(h) ((UINT8)(1 << (h&BTA_AV_HNDL_MSK))) 123 typedef UINT8 tBTA_AV_CODEC; 191 typedef UINT8 tBTA_AV_RC; 197 typedef UINT8 tBTA_AV_STATE; 206 typedef UINT8 tBTA_AV_CMD; 217 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 | 77 void smp_debug_print_nbyte_little_endian(UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_little_endian() 83 UINT8 p_buf[512]; in smp_debug_print_nbyte_little_endian() 101 void smp_debug_print_nbyte_big_endian (UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_big_endian() 104 UINT8 p_buf[512]; in smp_debug_print_nbyte_big_endian() 137 BOOLEAN smp_encrypt_data (UINT8 *key, UINT8 key_len, in smp_encrypt_data() 138 UINT8 *plain_text, UINT8 pt_len, in smp_encrypt_data() 142 UINT8 *p_start = NULL; in smp_encrypt_data() 143 UINT8 *p = NULL; in smp_encrypt_data() 144 UINT8 *p_rev_data = NULL; /* input data in big endilan format */ in smp_encrypt_data() 145 UINT8 *p_rev_key = NULL; /* input key in big endilan format */ in smp_encrypt_data() [all …]
|
/system/bt/bta/sys/ |
D | bta_sys.h | 111 typedef UINT8 tBTA_SYS_ID; 130 typedef UINT8 tBTA_SYS_CONN_STATUS; 137 typedef UINT8 tBTA_SYS_PREF_ROLES; 140 typedef void (tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status,UINT8 id, UINT8 app_id, BD_ADDR peer… 143 typedef void (tBTA_SYS_SSR_CFG_CBACK)(UINT8 id, UINT8 app_id, UINT16 latency, UINT16 tout); 169 extern UINT8 appl_trace_level; 208 typedef UINT8 tBTA_SYS_HW_EVT; 224 extern void bta_sys_set_trace_level(UINT8 level); 225 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg); 226 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; 107 UINT8 *p_flags; 108 UINT8 ad_data[BTM_BLE_AD_DATA_LEN]; 109 UINT8 *p_pad; 135 UINT8 scan_type; /* current scan type: active or passive */ 136 UINT8 scan_duplicate_filter; /* duplicate filter enabled for scan */ 143 UINT8 evt_type; 144 UINT8 adv_mode; 150 UINT8 adv_len; 151 UINT8 adv_data_cache[BTM_BLE_CACHE_ADV_DATA_MAX]; [all …]
|
D | btm_int.h | 90 UINT8 num_read_pages; 91 UINT8 lmp_version; 94 UINT8 link_role; 103 UINT8 switch_role_state; 109 UINT8 encrypt_state; /* overall BTM encryption state */ 114 UINT8 conn_addr_type; /* local device address type for this connection */ 116 …UINT8 active_remote_addr_type; /* local device address type for this connection … 175 UINT8 le_supported_states[BTM_LE_SUPPORT_STATE_SIZE]; 244 typedef UINT8 tBTM_INQ_TYPE; 291 …UINT8 pending_filt_complete_event; /* to take care of btm_event_filter_complete corresp… [all …]
|
/system/bt/bta/av/ |
D | bta_av_int.h | 148 …A_AV_CO_ID_TO_BE_STREAM(p, u32) {*(p)++ = (UINT8)((u32) >> 16); *(p)++ = (UINT8)((u32) >> 8); *(p)… 161 typedef BOOLEAN (*tBTA_AV_CO_INIT) (UINT8 *p_codec_type, UINT8 *p_codec_info, 162 UINT8 *p_num_protect, UINT8 *p_protect_info, UINT8 index); 163 typedef void (*tBTA_AV_CO_DISC_RES) (tBTA_AV_HNDL hndl, UINT8 num_seps, 164 UINT8 num_snk, UINT8 num_src, BD_ADDR addr, UINT16 uuid_local); 165 typedef UINT8 (*tBTA_AV_CO_GETCFG) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, 166 UINT8 *p_codec_info, UINT8 *p_sep_info_idx, UINT8 seid, 167 UINT8 *p_num_protect, UINT8 *p_protect_info); 169 UINT8 *p_codec_info, UINT8 seid, BD_ADDR addr, 170 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 | 111 UINT8 mdep_cfg_idx; 125 UINT8 app_idx; 132 UINT8 mdep_cfg_idx; 135 UINT8 app_idx; 136 UINT8 mcl_idx; 137 UINT8 mdl_idx; 156 UINT8 num_elems; 167 UINT8 local_mdep_cfg_idx; 179 UINT8 *p_tx_pkt; 180 UINT8 *p_rx_pkt; [all …]
|