Home
last modified time | relevance | path

Searched refs:tGATT_STATUS (Results 1 – 25 of 32) sorted by relevance

12

/system/bt/bta/include/
Dbta_gatt_api.h104 tGATT_STATUS status;
110 tGATT_STATUS status;
118 tGATT_STATUS status;
124 tGATT_STATUS status;
129 tGATT_STATUS status;
139 tGATT_STATUS status;
144 tGATT_STATUS status;
153 tGATT_STATUS status;
176 tGATT_STATUS status;
192 tGATT_STATUS status;
[all …]
Dbta_gatt_queue.h68 static void gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status,
71 static void gatt_write_op_finished(uint16_t conn_id, tGATT_STATUS status,
/system/bt/stack/include/
Dgatt_api.h77 typedef uint8_t tGATT_STATUS; typedef
550 tGATT_STATUS status);
555 tGATT_STATUS status, tGATT_CL_COMPLETE* p_data);
750 extern tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id,
770 extern tGATT_STATUS GATTS_HandleValueNotification(uint16_t conn_id,
789 extern tGATT_STATUS GATTS_SendRsp(uint16_t conn_id, uint32_t trans_id,
790 tGATT_STATUS status, tGATTS_RSP* p_msg);
809 extern tGATT_STATUS GATTC_ConfigureMTU(uint16_t conn_id, uint16_t mtu);
827 extern tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type,
830 extern tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type,
[all …]
Dsrvc_api.h131 extern tGATT_STATUS srvc_eng_init(void);
/system/bt/stack/srvc/
Dsrvc_dis_int.h59 tGATT_STATUS* p_status);
61 tGATT_STATUS* p_status);
64 tGATT_STATUS status, tGATT_CL_COMPLETE* p_data);
Dsrvc_eng.cc36 tGATT_STATUS status,
50 tGATT_STATUS status,
204 tGATTS_RSP* p_rsp, tGATT_STATUS* p_status) { in srvc_eng_process_read_req()
205 tGATT_STATUS status = GATT_NOT_FOUND; in srvc_eng_process_read_req()
224 tGATT_STATUS* p_status) { in srvc_eng_process_write_req()
302 tGATT_STATUS status, in srvc_eng_c_cmpl_cback()
395 tGATT_STATUS srvc_eng_init(void) { in srvc_eng_init()
416 void srvc_sr_rsp(uint8_t clcb_idx, tGATT_STATUS st, tGATTS_RSP* p_rsp) { in srvc_sr_rsp()
Dsrvc_dis.cc107 tGATT_STATUS* p_status) { in dis_write_attr_value()
116 tGATT_STATUS* p_status) { in dis_read_attr_value()
121 tGATT_STATUS st = GATT_NOT_FOUND; in dis_read_attr_value()
256 void dis_c_cmpl_cback(tSRVC_CLCB* p_clcb, tGATTC_OPTYPE op, tGATT_STATUS status, in dis_c_cmpl_cback()
329 tGATT_STATUS status; in DIS_SrInit()
Dsrvc_eng_int.h66 extern void srvc_sr_rsp(uint8_t clcb_idx, tGATT_STATUS st, tGATTS_RSP* p_rsp);
/system/bt/stack/gatt/
Dgatt_db.cc45 static tGATT_STATUS gatts_send_app_read_request(
81 static tGATT_STATUS gatts_check_attr_readability(const tGATT_ATTR& attr, in gatts_check_attr_readability()
163 static tGATT_STATUS read_attr_value(tGATT_ATTR& attr16, uint16_t offset, in read_attr_value()
173 tGATT_STATUS status = gatts_check_attr_readability(attr16, offset, read_long, in read_attr_value()
254 tGATT_STATUS gatts_db_read_attr_value_by_type( in gatts_db_read_attr_value_by_type()
259 tGATT_STATUS status = GATT_NOT_FOUND; in gatts_db_read_attr_value_by_type()
442 tGATT_STATUS gatts_read_attr_value_by_handle( in gatts_read_attr_value_by_handle()
450 tGATT_STATUS status = read_attr_value(*p_attr, offset, &pp, in gatts_read_attr_value_by_handle()
480 tGATT_STATUS gatts_read_attr_perm_check(tGATT_SVC_DB* p_db, bool is_long, in gatts_read_attr_perm_check()
508 tGATT_STATUS gatts_write_attr_perm_check(tGATT_SVC_DB* p_db, uint8_t op_code, in gatts_write_attr_perm_check()
[all …]
Dgatt_int.h420 extern tGATT_STATUS attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb,
424 extern tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, BT_HDR* p_msg);
425 extern tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB& tcb, BT_HDR* p_toL2CAP);
445 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB& tcb, uint8_t err_code,
476 extern tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if,
478 tGATT_STATUS status,
524 extern void gatt_end_operation(tGATT_CLCB* p_clcb, tGATT_STATUS status,
541 extern tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB& tcb);
557 extern tGATT_STATUS gatts_db_read_attr_value_by_type(
562 extern tGATT_STATUS gatts_read_attr_value_by_handle(
[all …]
Dgatt_api.cc411 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication()
421 return (tGATT_STATUS)GATT_INVALID_CONN_ID; in GATTS_HandleValueIndication()
445 tGATT_STATUS cmd_status = attp_send_sr_msg(*p_tcb, p_msg); in GATTS_HandleValueIndication()
468 tGATT_STATUS GATTS_HandleValueNotification(uint16_t conn_id, in GATTS_HandleValueNotification()
481 return (tGATT_STATUS)GATT_INVALID_CONN_ID; in GATTS_HandleValueNotification()
493 tGATT_STATUS cmd_sent; in GATTS_HandleValueNotification()
519 tGATT_STATUS GATTS_SendRsp(uint16_t conn_id, uint32_t trans_id, in GATTS_SendRsp()
520 tGATT_STATUS status, tGATTS_RSP* p_msg) { in GATTS_SendRsp()
521 tGATT_STATUS cmd_sent = GATT_ILLEGAL_PARAMETER; in GATTS_SendRsp()
532 return (tGATT_STATUS)GATT_INVALID_CONN_ID; in GATTS_SendRsp()
[all …]
Dgatt_sr.cc115 static bool process_read_multi_rsp(tGATT_SR_CMD* p_cmd, tGATT_STATUS status, in process_read_multi_rsp()
229 tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if, in gatt_sr_process_app_rsp()
231 uint8_t op_code, tGATT_STATUS status, in gatt_sr_process_app_rsp()
233 tGATT_STATUS ret_code = GATT_SUCCESS; in gatt_sr_process_app_rsp()
358 tGATT_STATUS err = GATT_SUCCESS; in gatt_process_read_multi_req()
453 static tGATT_STATUS gatt_build_primary_service_rsp( in gatt_build_primary_service_rsp()
456 tGATT_STATUS status = GATT_NOT_FOUND; in gatt_build_primary_service_rsp()
520 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SRV_LIST_ELEM& el, in gatt_build_find_info_rsp()
568 static tGATT_STATUS read_handles(uint16_t& len, uint8_t*& p, uint16_t& s_hdl, in read_handles()
585 static tGATT_STATUS gatts_validate_packet_format(uint8_t op_code, uint16_t& len, in gatts_validate_packet_format()
[all …]
Dgatt_attr.cc56 tGATT_STATUS status);
59 UNUSED_ATTR tGATT_STATUS status,
348 tGATT_STATUS status) { in gatt_disc_cmpl_cback()
375 UNUSED_ATTR tGATT_STATUS status, in gatt_cl_op_cmpl_cback()
Datt_protocol.cc325 tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB& tcb, BT_HDR* p_toL2CAP) { in attp_send_msg_to_l2cap()
397 tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, BT_HDR* p_msg) { in attp_send_sr_msg()
416 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in attp_cl_send_cmd()
426 tGATT_STATUS att_ret = attp_send_msg_to_l2cap(tcb, p_cmd); in attp_cl_send_cmd()
457 tGATT_STATUS attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in attp_send_cl_msg()
Dgatt_cl.cc124 tGATT_STATUS st = attp_send_cl_msg(*p_clcb->p_tcb, p_clcb, op_code, &cl_req); in gatt_act_discovery()
473 tGATT_STATUS status = (tGATT_STATUS)reason; in gatt_proc_disc_error_rsp()
613 tGATT_STATUS encrypt_status; in gatt_process_notification()
997 tGATT_STATUS status = GATT_SUCCESS; in gatt_process_mtu_rsp()
1038 tGATT_STATUS att_ret = attp_send_msg_to_l2cap(tcb, cmd.p_cmd); in gatt_cl_send_next_cmd_inq()
/system/bt/bta/gatt/
Dbta_gattc_int.h144 tGATT_STATUS status;
260 tGATT_STATUS status;
373 tGATT_STATUS status,
423 tGATT_STATUS status);
424 extern tGATT_STATUS bta_gattc_discover_pri_service(uint16_t conn_id,
447 tGATT_STATUS status);
Dbta_gatts_act.cc180 tGATT_STATUS status = GATT_SUCCESS; in bta_gatts_register()
262 tGATT_STATUS status = GATT_ERROR; in bta_gatts_deregister()
372 tGATT_STATUS status = GATT_ILLEGAL_PARAMETER; in bta_gatts_indicate_handle()
431 tGATT_STATUS status = GATT_ERROR; in bta_gatts_open()
469 tGATT_STATUS status = GATT_ERROR; in bta_gatts_cancel_open()
500 tGATT_STATUS status = GATT_ERROR; in bta_gatts_close()
Dbta_gattc_act.cc59 tGATT_STATUS status,
62 tGATT_STATUS status,
110 void bta_gattc_reset_discover_st(tBTA_GATTC_SERV* p_srcb, tGATT_STATUS status);
172 tGATT_STATUS status = GATT_NO_RESOURCES; in bta_gattc_register()
566 void bta_gattc_reset_discover_st(tBTA_GATTC_SERV* p_srcb, tGATT_STATUS status) { in bta_gattc_reset_discover_st()
620 tGATT_STATUS status = in bta_gattc_cfg_mtu()
737 tGATT_STATUS status; in bta_gattc_read()
777 tGATT_STATUS status = in bta_gattc_read_multi()
793 tGATT_STATUS status = GATT_SUCCESS; in bta_gattc_write()
822 tGATT_STATUS status = in bta_gattc_execute()
[all …]
Dbta_gattc_api.cc254 base::IgnoreResult<tGATT_STATUS (*)(uint16_t, tGATT_DISC_TYPE, in BTA_GATTC_DiscoverServiceByUuid()
634 tGATT_STATUS BTA_GATTC_RegisterForNotifications(tGATT_IF client_if, in BTA_GATTC_RegisterForNotifications()
638 tGATT_STATUS status = GATT_ILLEGAL_PARAMETER; in BTA_GATTC_RegisterForNotifications()
697 tGATT_STATUS BTA_GATTC_DeregisterForNotifications(tGATT_IF client_if, in BTA_GATTC_DeregisterForNotifications()
Dbta_gattc_queue.cc43 void BtaGattQueue::gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_read_op_finished()
66 void BtaGattQueue::gatt_write_op_finished(uint16_t conn_id, tGATT_STATUS status, in gatt_write_op_finished()
/system/bt/btif/src/
Dbtif_gatt_client.cc377 void read_char_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in read_char_cb()
399 void read_using_char_uuid_cb(uint16_t conn_id, tGATT_STATUS status, in read_using_char_uuid_cb()
425 void read_desc_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in read_desc_cb()
445 void write_char_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in write_char_cb()
461 void write_descr_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in write_descr_cb()
486 tGATT_STATUS status = in btif_gattc_reg_for_notification_impl()
507 tGATT_STATUS status = in btif_gattc_dereg_for_notification_impl()
Dbtif_gatt_test.cc78 tGATT_STATUS status, in btif_test_command_complete_cback()
158 tGATT_STATUS status) { in btif_test_discovery_complete_cback()
/system/bt/stack/gap/
Dgap_ble.cc57 void client_cmpl_cback(uint16_t, tGATTC_OPTYPE, tGATT_STATUS,
117 tGATT_STATUS read_attr_value(uint16_t handle, tGATT_VALUE* p_value, in read_attr_value()
173 tGATT_STATUS proc_read(tGATTS_REQ_TYPE, tGATT_READ_REQ* p_data, in proc_read()
307 void client_cmpl_cback(uint16_t conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, in client_cmpl_cback()
/system/bt/bta/hh/
Dbta_hh_le.cc507 tGATT_STATUS status, uint8_t* value, in bta_hh_le_save_report_ref()
689 static void write_rpt_ctl_cfg_cb(uint16_t conn_id, tGATT_STATUS status, in write_rpt_ctl_cfg_cb()
754 static void write_proto_mode_cb(uint16_t conn_id, tGATT_STATUS status, in write_proto_mode_cb()
836 static void get_protocol_mode_cb(uint16_t conn_id, tGATT_STATUS status, in get_protocol_mode_cb()
1234 static void read_hid_info_cb(uint16_t conn_id, tGATT_STATUS status, in read_hid_info_cb()
1255 static void read_hid_report_map_cb(uint16_t conn_id, tGATT_STATUS status, in read_hid_report_map_cb()
1278 static void read_ext_rpt_ref_desc_cb(uint16_t conn_id, tGATT_STATUS status, in read_ext_rpt_ref_desc_cb()
1304 static void read_report_ref_desc_cb(uint16_t conn_id, tGATT_STATUS status, in read_report_ref_desc_cb()
1332 void read_pref_conn_params_cb(uint16_t conn_id, tGATT_STATUS status, in read_pref_conn_params_cb()
1718 static void read_report_cb(uint16_t conn_id, tGATT_STATUS status, in read_report_cb()
[all …]
/system/bt/bta/hearing_aid/
Dhearing_aid.cc198 static void write_rpt_ctl_cfg_cb(uint16_t conn_id, tGATT_STATUS status, in write_rpt_ctl_cfg_cb()
346 void OnGattConnected(tGATT_STATUS status, uint16_t conn_id, in OnGattConnected()
599 void OnServiceSearchComplete(uint16_t conn_id, tGATT_STATUS status) { in OnServiceSearchComplete()
729 void OnReadOnlyPropertiesRead(uint16_t conn_id, tGATT_STATUS status, in OnReadOnlyPropertiesRead()
835 void OnAudioStatus(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in OnAudioStatus()
840 void OnPsmRead(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in OnPsmRead()
887 tGATT_STATUS status, in OnReadOnlyPropertiesReadStatic()
894 static void OnAudioStatusStatic(uint16_t conn_id, tGATT_STATUS status, in OnAudioStatusStatic()
901 static void OnPsmReadStatic(uint16_t conn_id, tGATT_STATUS status, in OnPsmReadStatic()
931 tGATT_STATUS register_status; in OnGapConnection()
[all …]

12