Home
last modified time | relevance | path

Searched refs:BTA_API (Results 1 – 25 of 38) sorted by relevance

12

/external/bluetooth/bluedroid/bta/include/
Dbta_fs_co.h177 BTA_API extern void bta_fs_co_init(void);
202 BTA_API extern void bta_fs_co_open(const char *p_path, int oflags, UINT32 size,
221 BTA_API extern void bta_fs_co_session_info(BD_ADDR bd_addr, UINT8 *p_sess_info, UINT8 ssn,
240 BTA_API extern void bta_fs_co_resume_op(UINT32 offset, UINT16 evt, UINT8 app_id);
260 BTA_API extern void bta_fs_co_suspend(BD_ADDR bd_addr, UINT8 *p_sess_info, UINT8 ssn,
282 BTA_API extern void bta_fs_co_resume(UINT16 evt, UINT8 app_id);
301 BTA_API extern void bta_fs_co_sess_ssn(int fd, UINT8 ssn, UINT8 app_id);
318 BTA_API extern void bta_fs_co_setdir(const char *p_path, UINT8 app_id);
337 BTA_API extern tBTA_FS_CO_STATUS bta_fs_co_close(int fd, UINT8 app_id);
366 BTA_API extern void bta_fs_co_read(int fd, UINT8 *p_buf, UINT16 nbytes, UINT16 evt,
[all …]
Dbta_jv_api.h488 BTA_API extern tBTA_JV_STATUS BTA_JvEnable(tBTA_JV_DM_CBACK *p_cback);
499 BTA_API extern void BTA_JvDisable(void);
510 BTA_API extern BOOLEAN BTA_JvIsEnable(void);
527 BTA_API extern tBTA_JV_STATUS BTA_JvSetDiscoverability(tBTA_JV_DISC disc_mode);
539 BTA_API extern tBTA_JV_DISC BTA_JvGetDiscoverability(void);
553 BTA_API extern tBTA_JV_STATUS BTA_JvGetLocalDeviceAddr(void);
567 BTA_API extern tBTA_JV_STATUS BTA_JvGetLocalDeviceName(void);
581 BTA_API extern tBTA_JV_STATUS BTA_JvGetRemoteDeviceName(BD_ADDR bd_addr);
595 BTA_API extern INT32 BTA_JvGetPreknownDevice(UINT8 * p_bd_addr, UINT32 index);
608 BTA_API extern UINT8 * BTA_JvGetDeviceClass(void);
[all …]
Dbta_av_co.h87 BTA_API extern BOOLEAN bta_av_co_audio_init(UINT8 *p_codec_type, UINT8 *p_codec_info,
102 BTA_API extern void bta_av_co_audio_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps,
117 BTA_API extern void bta_av_co_video_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps,
132 BTA_API extern UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
148 BTA_API extern UINT8 bta_av_co_video_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
163 BTA_API extern void bta_av_co_audio_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
178 BTA_API extern void bta_av_co_video_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
195 BTA_API extern void bta_av_co_audio_open(tBTA_AV_HNDL hndl,
210 BTA_API extern void bta_av_co_video_open(tBTA_AV_HNDL hndl,
228 BTA_API extern void bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
[all …]
Dbta_dm_co.h72 BTA_API extern void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap,
91 BTA_API extern void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap,
107 BTA_API extern void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade );
123 BTA_API extern void bta_dm_co_loc_oob(BOOLEAN valid, BT_OCTET16 c, BT_OCTET16 r);
137 BTA_API extern void bta_dm_co_rmt_oob(BD_ADDR bd_addr);
154 BTA_API extern tBTA_DM_SCO_ROUTE_TYPE bta_dm_sco_co_init(UINT32 rx_bw, UINT32 tx_bw,
168 BTA_API extern void bta_dm_sco_co_open(UINT16 handle, UINT8 pkt_size, UINT16 event);
180 BTA_API extern void bta_dm_sco_co_close(void);
191 BTA_API extern void bta_dm_sco_co_out_data(BT_HDR **p_buf);
202 BTA_API extern void bta_dm_sco_co_in_data(BT_HDR *p_buf, tBTM_SCO_DATA_FLAG status);
[all …]
Dbta_api.h1382 BTA_API extern tBTA_STATUS BTA_EnableBluetooth(tBTA_DM_SEC_CBACK *p_cback);
1396 BTA_API extern tBTA_STATUS BTA_DisableBluetooth(void);
1408 BTA_API extern tBTA_STATUS BTA_EnableTestMode(void);
1420 BTA_API extern void BTA_DisableTestMode(void);
1435 BTA_API extern BOOLEAN BTA_DmIsDeviceUp(void);
1447 BTA_API extern void BTA_DmSetDeviceName(char *p_name);
1462 BTA_API extern void BTA_DmSetVisibility(tBTA_DM_DISC disc_mode, tBTA_DM_CONN conn_mode, UINT8 paira…
1475 BTA_API extern void BTA_DmSetScanParam (UINT16 page_scan_interval, UINT16 page_scan_window,
1491 BTA_API extern void BTA_DmSetAfhChannels(UINT8 first, UINT8 last);
1505 BTA_API extern tBTA_STATUS BTA_DmVendorSpecificCommand (UINT16 opcode, UINT8 param_len,UINT8 *p_par…
[all …]
Dbta_gatt_api.h651 BTA_API extern void BTA_GATTC_Disable(void);
666 BTA_API extern void BTA_GATTC_AppRegister(tBT_UUID *p_app_uuid, tBTA_GATTC_CBACK *p_client_cb);
680 BTA_API extern void BTA_GATTC_AppDeregister (tBTA_GATTC_IF client_if);
696 BTA_API extern void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda,
713 BTA_API extern void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_di…
726 BTA_API extern void BTA_GATTC_Close(UINT16 conn_id);
744 BTA_API extern void BTA_GATTC_ServiceSearchRequest(UINT16 conn_id, tBT_UUID *p_srvc_uuid);
764 BTA_API extern tBTA_GATT_STATUS BTA_GATTC_GetFirstChar (UINT16 conn_id,
789 BTA_API extern tBTA_GATT_STATUS BTA_GATTC_GetNextChar (UINT16 conn_id,
812 BTA_API extern tBTA_GATT_STATUS BTA_GATTC_GetFirstCharDescr (UINT16 conn_id, tBTA_GATTC_CHAR_ID *p…
[all …]
Dbta_hh_api.h333 BTA_API extern void BTA_HhEnable(tBTA_SEC sec_mask, tBTA_HH_CBACK *p_cback);
344 BTA_API extern void BTA_HhDisable(void);
357 BTA_API extern void BTA_HhOpen (BD_ADDR dev_bda, tBTA_HH_PROTO_MODE mode,
369 BTA_API extern void BTA_HhClose(UINT8 dev_handle);
380 BTA_API extern void BTA_HhSetProtoMode(UINT8 handle, tBTA_HH_PROTO_MODE t_type);
391 BTA_API extern void BTA_HhGetProtoMode(UINT8 dev_handle);
401 BTA_API extern void BTA_HhSetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type,
413 BTA_API extern void BTA_HhGetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type,
424 BTA_API extern void BTA_HhSetIdle(UINT8 dev_handle, UINT16 idle_rate);
435 BTA_API extern void BTA_HhGetIdle(UINT8 dev_handle);
[all …]
Dbta_hl_co.h53 BTA_API extern BOOLEAN bta_hl_co_get_num_of_mdep(UINT8 app_id, UINT8 *p_num_of_mdep);
67 BTA_API extern BOOLEAN bta_hl_co_advrtise_source_sdp(UINT8 app_id);
85 BTA_API extern BOOLEAN bta_hl_co_get_mdep_config(UINT8 app_id,
105 BTA_API extern BOOLEAN bta_hl_co_get_echo_config(UINT8 app_id,
123 BTA_API extern void bta_hl_co_save_mdl(UINT8 app_id, UINT8 item_idx, tBTA_HL_MDL_CFG *p_mdl_cfg );
137 BTA_API extern void bta_hl_co_delete_mdl(UINT8 app_id, UINT8 item_idx);
154 BTA_API extern BOOLEAN bta_hl_co_load_mdl_config (UINT8 app_id, UINT8 buffer_size,
174 BTA_API extern void bta_hl_co_get_tx_data (UINT8 app_id, tBTA_HL_MDL_HANDLE mdl_handle,
194 BTA_API extern void bta_hl_co_put_rx_data (UINT8 app_id, tBTA_HL_MDL_HANDLE mdl_handle,
212 BTA_API extern void bta_hl_co_get_echo_data (UINT8 app_id, tBTA_HL_MCL_HANDLE mcl_handle,
[all …]
Dbta_pan_co.h67 BTA_API extern UINT8 bta_pan_co_init(UINT8 *q_level);
81 BTA_API extern void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, tBTA_PAN…
94 BTA_API extern void bta_pan_co_close(UINT16 handle, UINT8 app_id);
109 BTA_API extern void bta_pan_co_tx_path(UINT16 handle, UINT8 app_id);
124 BTA_API extern void bta_pan_co_rx_path(UINT16 handle, UINT8 app_id);
139 BTA_API extern void bta_pan_co_tx_write(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, UINT…
155 BTA_API extern void bta_pan_co_tx_writebuf(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, U…
173 BTA_API extern void bta_pan_co_rx_flow(UINT16 handle, UINT8 app_id, BOOLEAN enable);
185 BTA_API extern void bta_pan_co_pfilt_ind(UINT16 handle, BOOLEAN indication, tBTA_PAN_STATUS result,
197 BTA_API extern void bta_pan_co_mfilt_ind(UINT16 handle, BOOLEAN indication, tBTA_PAN_STATUS result,
Dbta_pan_ci.h50 BTA_API extern void bta_pan_ci_tx_ready(UINT16 handle);
65 BTA_API extern void bta_pan_ci_rx_ready(UINT16 handle);
82 BTA_API extern void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable);
99 BTA_API extern void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol…
114 BTA_API extern BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_proto…
127 BTA_API extern void bta_pan_ci_set_pfilters(UINT16 handle, UINT16 num_filters, UINT16 *p_start_arra…
140 BTA_API extern void bta_pan_ci_set_mfilters(UINT16 handle, UINT16 num_mcast_filters, UINT8 *p_start…
Dbta_ag_co.h48 BTA_API extern void bta_ag_co_init(void);
72 BTA_API extern void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state,
76 BTA_API extern void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state);
92 BTA_API extern void bta_ag_co_data_open(UINT16 handle, tBTA_SERVICE_ID service);
105 BTA_API extern void bta_ag_co_data_close(UINT16 handle);
119 BTA_API extern void bta_ag_co_tx_write(UINT16 handle, UINT8 *p_data, UINT16 len);
Dbta_fs_ci.h116 BTA_API extern void bta_fs_ci_write(int fd, tBTA_FS_CO_STATUS status, UINT16 evt);
141 BTA_API extern void bta_fs_ci_read(int fd, UINT16 num_bytes_read,
165 BTA_API extern void bta_fs_ci_open(int fd, tBTA_FS_CO_STATUS status,
184 BTA_API extern void bta_fs_ci_direntry(tBTA_FS_CO_STATUS status, UINT16 evt);
204 BTA_API extern void bta_fs_ci_resume (BD_ADDR_PTR p_addr, UINT8 *p_sess_info,
224 BTA_API extern void bta_fs_ci_action(tBTA_FS_CO_STATUS status, UINT16 evt);
248 BTA_API extern void bta_fs_ci_resume_op(int fd, tBTA_FS_CO_STATUS status, const char *p_file,
Dbta_av_api.h534 BTA_API void BTA_AvEnable(tBTA_SEC sec_mask, tBTA_AV_FEAT features,
547 BTA_API void BTA_AvDisable(void);
562 BTA_API void BTA_AvRegister(tBTA_AV_CHNL chnl, const char *p_service_name,
574 BTA_API void BTA_AvDeregister(tBTA_AV_HNDL hndl);
587 BTA_API void BTA_AvOpen(BD_ADDR bd_addr, tBTA_AV_HNDL handle,
599 BTA_API void BTA_AvClose(tBTA_AV_HNDL handle);
610 BTA_API void BTA_AvDisconnect(BD_ADDR bd_addr);
632 BTA_API void BTA_AvStart(void);
645 BTA_API void BTA_AvStop(BOOLEAN suspend);
660 BTA_API void BTA_AvReconfig(tBTA_AV_HNDL hndl, BOOLEAN suspend, UINT8 sep_info_idx,
[all …]
Dbta_hh_co.h49 BTA_API extern void bta_hh_co_data(UINT8 dev_handle, UINT8 *p_rpt, UINT16 len,
64 BTA_API extern void bta_hh_co_open(UINT8 dev_handle, UINT8 sub_class,
77 BTA_API extern void bta_hh_co_close(UINT8 dev_handle, UINT8 app_id);
96 BTA_API extern void bta_hh_le_co_rpt_info(BD_ADDR remote_bda,
115 BTA_API extern tBTA_HH_RPT_CACHE_ENTRY *bta_hh_le_co_cache_load (BD_ADDR remote_bda,
130 BTA_API extern void bta_hh_le_co_reset_rpt_cache (BD_ADDR remote_bda, UINT8 app_id);
Dbta_hf_client_api.h273 BTA_API tBTA_STATUS BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK *p_cback);
285 BTA_API void BTA_HfClientDisable(void);
297 BTA_API void BTA_HfClientRegister(tBTA_SEC sec_mask, tBTA_HF_CLIENT_FEAT features,
310 BTA_API void BTA_HfClientDeregister(UINT16 handle);
325 BTA_API void BTA_HfClientOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask);
338 BTA_API void BTA_HfClientClose(UINT16 handle);
351 BTA_API void BTA_HfClientAudioOpen(UINT16 handle);
364 BTA_API void BTA_HfClientAudioClose(UINT16 handle);
376 BTA_API void BTA_HfClientSendAT(UINT16 handle, tBTA_HF_CLIENT_AT_CMD_TYPE at, UINT32 val1, UINT32 v…
Dbta_gattc_co.h44 BTA_API extern void bta_gattc_co_cache_open(BD_ADDR server_bda, UINT16 evt,
60 BTA_API extern void bta_gattc_co_cache_close(BD_ADDR server_bda, UINT16 conn_id);
78 BTA_API extern void bta_gattc_co_cache_save(BD_ADDR server_bda, UINT16 evt,
97 BTA_API extern void bta_gattc_co_cache_load(BD_ADDR server_bda, UINT16 evt,
112 BTA_API extern void bta_gattc_co_cache_reset(BD_ADDR server_bda);
Dbta_hl_api.h653 BTA_API extern void BTA_HlEnable(tBTA_HL_CTRL_CBACK *p_ctrl_cback);
663 BTA_API extern void BTA_HlDisable(void);
679 BTA_API extern void BTA_HlUpdate(UINT8 app_id,
698 BTA_API extern void BTA_HlRegister(UINT8 app_id,
713 BTA_API extern void BTA_HlDeregister(UINT8 app_id,tBTA_HL_APP_HANDLE app_handle);
733 BTA_API extern void BTA_HlCchOpen(UINT8 app_id, tBTA_HL_APP_HANDLE app_handle,
748 BTA_API extern void BTA_HlCchClose(tBTA_HL_MCL_HANDLE mcl_handle);
762 BTA_API extern void BTA_HlDchOpen(tBTA_HL_MCL_HANDLE mcl_handle,
776 BTA_API extern void BTA_HlDchReconnect(tBTA_HL_MCL_HANDLE mcl_handle,
789 BTA_API extern void BTA_HlDchClose(tBTA_HL_MDL_HANDLE mdl_handle);
[all …]
Dbta_ag_api.h400 BTA_API tBTA_STATUS BTA_AgEnable(tBTA_AG_PARSE_MODE parse_mode, tBTA_AG_CBACK *p_cback);
412 BTA_API void BTA_AgDisable(void);
424 BTA_API void BTA_AgRegister(tBTA_SERVICE_MASK services, tBTA_SEC sec_mask,
437 BTA_API void BTA_AgDeregister(UINT16 handle);
452 BTA_API void BTA_AgOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask, tBTA_SERVICE_MASK servic…
465 BTA_API void BTA_AgClose(UINT16 handle);
478 BTA_API void BTA_AgAudioOpen(UINT16 handle);
491 BTA_API void BTA_AgAudioClose(UINT16 handle);
505 BTA_API void BTA_AgResult(UINT16 handle, tBTA_AG_RES result, tBTA_AG_RES_DATA *p_data);
519 BTA_API void BTA_AgSetCodec(UINT16 handle, tBTA_AG_PEER_CODEC codec);
Dbta_hl_ci.h60 BTA_API extern void bta_hl_ci_get_tx_data( tBTA_HL_MDL_HANDLE mdl_handle,
79 BTA_API extern void bta_hl_ci_put_rx_data( tBTA_HL_MDL_HANDLE mdl_handle,
100 BTA_API extern void bta_hl_ci_get_echo_data( tBTA_HL_MCL_HANDLE mcl_handle,
120 BTA_API extern void bta_hl_ci_put_echo_data( tBTA_HL_MCL_HANDLE mcl_handle,
Dbta_pan_api.h139 BTA_API extern void BTA_PanEnable(tBTA_PAN_CBACK p_cback);
150 BTA_API extern void BTA_PanDisable(void);
163 BTA_API void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO *p_user_info, tBTA_PAN_ROLE_INFO…
179 BTA_API void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role);
193 BTA_API extern void BTA_PanClose(UINT16 handle);
Dbta_jv_co.h45 BTA_API extern int bta_co_rfc_data_incoming(void *user_data, BT_HDR *p_buf);
46 BTA_API extern int bta_co_rfc_data_outgoing_size(void *user_data, int *size);
47 BTA_API extern int bta_co_rfc_data_outgoing(void *user_data, UINT8* buf, UINT16 size);
Dbta_ag_ci.h48 BTA_API extern void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len);
61 BTA_API extern void bta_ag_ci_slc_ready(UINT16 handle);
74 BTA_API extern void bta_ag_ci_wbs_command (UINT16 handle, char *p_data, UINT16 len);
Dbta_gatts_co.h42 BTA_API extern void bta_gatts_co_update_handle_range(BOOLEAN is_add, tBTA_GATTS_HNDL_RANGE *p_hndl_…
61 BTA_API extern BOOLEAN bta_gatts_co_srv_chg(tBTA_GATTS_SRV_CHG_CMD cmd,
77 BTA_API extern BOOLEAN bta_gatts_co_load_handle_range(UINT8 index,
Dbta_dm_ci.h48 BTA_API extern void bta_dm_ci_io_req(BD_ADDR bd_addr, tBTA_IO_CAP io_cap,
62 BTA_API extern void bta_dm_ci_rmt_oob(BOOLEAN accept, BD_ADDR bd_addr,
74 BTA_API extern void bta_dm_sco_ci_data_ready(UINT16 event, UINT16 sco_handle);
/external/bluetooth/bluedroid/bta/hf_client/
Dbta_hf_client_api.c59 BTA_API tBTA_STATUS BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK *p_cback) in BTA_HfClientEnable()
93 BTA_API void BTA_HfClientDisable(void) in BTA_HfClientDisable()
114 BTA_API void BTA_HfClientRegister(tBTA_SEC sec_mask, tBTA_HF_CLIENT_FEAT features, in BTA_HfClientRegister()
147 BTA_API void BTA_HfClientDeregister(UINT16 handle) in BTA_HfClientDeregister()
172 BTA_API void BTA_HfClientOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask) in BTA_HfClientOpen()
197 BTA_API void BTA_HfClientClose(UINT16 handle) in BTA_HfClientClose()
220 BTA_API void BTA_HfClientAudioOpen(UINT16 handle) in BTA_HfClientAudioOpen()
243 BTA_API void BTA_HfClientAudioClose(UINT16 handle) in BTA_HfClientAudioClose()
265 BTA_API void BTA_HfClientSendAT(UINT16 handle, tBTA_HF_CLIENT_AT_CMD_TYPE at, UINT32 val1, UINT32 v… in BTA_HfClientSendAT()

12