/system/bt/stack/gatt/ |
D | gatt_sr.cc | 132 if (status == GATT_SUCCESS) { in process_read_multi_rsp() 233 tGATT_STATUS ret_code = GATT_SUCCESS; in gatt_sr_process_app_rsp() 242 return (GATT_SUCCESS); in gatt_sr_process_app_rsp() 244 if (op_code == GATT_REQ_PREPARE_WRITE && status == GATT_SUCCESS) in gatt_sr_process_app_rsp() 247 if (op_code == GATT_REQ_EXEC_WRITE && status != GATT_SUCCESS) in gatt_sr_process_app_rsp() 252 if (gatt_sr_is_cback_cnt_zero(tcb) && status == GATT_SUCCESS) { in gatt_sr_process_app_rsp() 262 if ((tcb.sr_cmd.status == GATT_SUCCESS) && (tcb.sr_cmd.p_rsp_msg)) { in gatt_sr_process_app_rsp() 358 tGATT_STATUS err = GATT_SUCCESS; in gatt_process_read_multi_req() 391 if (err != GATT_SUCCESS) { in gatt_process_read_multi_req() 409 if (err == GATT_SUCCESS) { in gatt_process_read_multi_req() [all …]
|
D | gatt_cl.cc | 86 gatt_end_operation(p_clcb, GATT_SUCCESS, NULL); in gatt_act_discovery() 125 if (st != GATT_SUCCESS && st != GATT_CMD_STARTED) { in gatt_act_discovery() 204 if (op_code == 0 || (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED)) { in gatt_act_read() 224 if (rt != GATT_SUCCESS) { in gatt_act_write() 239 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED && in gatt_act_write() 241 if (rt != GATT_SUCCESS) { in gatt_act_write() 284 if (rt != GATT_SUCCESS) { in gatt_send_queue_write_cancel() 316 p_clcb->status = GATT_SUCCESS; in gatt_check_write_long_terminate() 356 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED && rt != GATT_CONGESTED) { in gatt_send_prepare_write() 484 status = GATT_SUCCESS; in gatt_proc_disc_error_rsp() [all …]
|
D | gatt_attr.cc | 201 return GATT_SUCCESS; in read_attr_value() 214 return GATT_SUCCESS; in read_attr_value() 245 if (p_data->handle == gatt_cb.handle_cl_supported_feat) return GATT_SUCCESS; in proc_write_req() 443 if (status != GATT_SUCCESS || p_clcb->ccc_result == 0) { in gatt_disc_cmpl_cback() 480 if (status != GATT_SUCCESS) { in gatt_svc_read_cl_supp_feat_req() 500 if (status != GATT_SUCCESS) { in gatt_att_write_cl_supp_feat() 544 if (status == GATT_SUCCESS) { in gatt_cl_op_cmpl_cback() 574 if (status != GATT_SUCCESS) { in gatt_cl_op_cmpl_cback() 703 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, ¶m) != GATT_SUCCESS) { in gatt_svc_read_supp_feat_req()
|
D | gatt_db.cc | 142 return GATT_SUCCESS; in gatts_check_attr_readability() 175 if (status != GATT_SUCCESS) return status; in read_attr_value() 190 return GATT_SUCCESS; in read_attr_value() 210 return GATT_SUCCESS; in read_attr_value() 229 return GATT_SUCCESS; in read_attr_value() 282 } else if (status == GATT_SUCCESS) { in gatts_db_read_attr_value_by_type() 610 status = GATT_SUCCESS; in gatts_write_attr_perm_check() 614 status = GATT_SUCCESS; in gatts_write_attr_perm_check() 634 return GATT_SUCCESS; in gatts_write_attr_perm_check()
|
D | gatt_api.cc | 436 return GATT_SUCCESS; in GATTS_HandleValueIndication() 446 if (cmd_status == GATT_SUCCESS || cmd_status == GATT_CONGESTED) { in GATTS_HandleValueIndication() 659 return GATT_SUCCESS; in GATTC_Discover() 745 return GATT_SUCCESS; in GATTC_Read() 799 return GATT_SUCCESS; in GATTC_Write() 842 return GATT_SUCCESS; in GATTC_ExecuteWrite() 871 return GATT_SUCCESS; in GATTC_SendHandleValueConfirm() 1227 return GATT_SUCCESS; in GATT_Disconnect()
|
D | att_protocol.cc | 340 return GATT_SUCCESS; in attp_send_msg_to_l2cap() 427 if (att_ret != GATT_CONGESTED && att_ret != GATT_SUCCESS) { in attp_cl_send_cmd()
|
/system/bt/bta/gatt/ |
D | bta_gatts_act.cc | 180 tGATT_STATUS status = GATT_SUCCESS; in bta_gatts_register() 197 if (status == GATT_SUCCESS) { in bta_gatts_register() 274 status = GATT_SUCCESS; in bta_gatts_deregister() 312 cb_data.srvc_oper.status = GATT_SUCCESS; in bta_gatts_delete_service() 338 cb_data.srvc_oper.status = GATT_SUCCESS; in bta_gatts_stop_service() 356 (tGATTS_RSP*)p_msg->api_rsp.p_rsp) != GATT_SUCCESS) { in bta_gatts_send_rsp() 407 if ((status != GATT_SUCCESS || !p_msg->api_indicate.need_confirm) && in bta_gatts_indicate_handle() 440 status = GATT_SUCCESS; in bta_gatts_open() 477 status = GATT_SUCCESS; in bta_gatts_cancel_open() 507 if (GATT_Disconnect(p_msg->hdr.layer_specific) != GATT_SUCCESS) { in bta_gatts_close() [all …]
|
D | bta_gattc_act.cc | 197 status = GATT_SUCCESS; in bta_gattc_register() 333 bta_gattc_send_open_cback(p_clcb->p_rcb, GATT_SUCCESS, p_clcb->bda, in bta_gattc_open_error() 420 cb_data.status = GATT_SUCCESS; in bta_gattc_cancel_bk_conn() 437 cb_data.status = GATT_SUCCESS; in bta_gattc_cancel_open_ok() 482 bta_gattc_reset_discover_st(p_clcb->p_srcb, GATT_SUCCESS); in bta_gattc_conn() 506 bta_gattc_send_open_cback(p_clcb->p_rcb, GATT_SUCCESS, p_clcb->bda, in bta_gattc_conn() 600 bta_gattc_cb.clcb[i].status = GATT_SUCCESS; in bta_gattc_set_discover_st() 623 if (status != GATT_SUCCESS && status != GATT_CMD_STARTED) { in bta_gattc_cfg_mtu() 661 if (p_clcb->status != GATT_SUCCESS) { in bta_gattc_start_discover() 691 if (p_clcb->status != GATT_SUCCESS) { in bta_gattc_disc_cmpl() [all …]
|
D | bta_gattc_api.cc | 653 status = GATT_SUCCESS; in BTA_GATTC_RegisterForNotifications() 657 if (status != GATT_SUCCESS) { in BTA_GATTC_RegisterForNotifications() 667 status = GATT_SUCCESS; in BTA_GATTC_RegisterForNotifications() 718 return GATT_SUCCESS; in BTA_GATTC_DeregisterForNotifications()
|
D | bta_gattc_cache.cc | 193 bta_gattc_reset_discover_st(p_clcb->p_srcb, GATT_SUCCESS); in bta_gattc_explore_srvc_finished() 316 return GATT_SUCCESS; in bta_gattc_sdp_service_disc() 359 if (p_clcb && (status != GATT_SUCCESS || p_clcb->status != GATT_SUCCESS)) { in bta_gattc_disc_cmpl_cback() 360 if (status == GATT_SUCCESS) p_clcb->status = status; in bta_gattc_disc_cmpl_cback()
|
D | bta_gatts_api.cc | 149 cb.Run(GATT_SUCCESS, server_if, std::move(service)); in bta_gatts_add_service_impl()
|
D | bta_gattc_utils.cc | 136 p_clcb->status = GATT_SUCCESS; in bta_gattc_clcb_alloc()
|
/system/bt/bta/hh/ |
D | bta_hh_le.cc | 177 if (r_status == GATT_SUCCESS) { in bta_hh_le_enable() 517 if (status == GATT_SUCCESS && len == 2) { in bta_hh_le_save_report_ref() 707 if (status == GATT_SUCCESS) in write_rpt_ctl_cfg_cb() 766 cback_data.status = (status == GATT_SUCCESS) ? BTA_HH_OK : BTA_HH_ERR; in write_proto_mode_cb() 768 if (status == GATT_SUCCESS) in write_proto_mode_cb() 774 p_dev_cb->status = (status == GATT_SUCCESS) ? BTA_HH_OK : BTA_HH_ERR_PROTO; in write_proto_mode_cb() 845 if (status == GATT_SUCCESS && len) { in get_protocol_mode_cb() 1145 if (p_data->status == GATT_SUCCESS) { in bta_hh_gatt_open() 1234 if (status != GATT_SUCCESS) { in read_hid_info_cb() 1255 if (status != GATT_SUCCESS) { in read_hid_report_map_cb() [all …]
|
/system/bt/stack/include/ |
D | srvc_api.h | 26 #define DIS_SUCCESS GATT_SUCCESS
|
D | gatt_api.h | 29 #define GATT_SUCCESS 0x00 macro 61 #define GATT_ENCRYPED_MITM GATT_SUCCESS
|
/system/bt/stack/srvc/ |
D | srvc_dis.cc | 131 st = GATT_SUCCESS; in dis_read_attr_value() 232 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, ¶m) == GATT_SUCCESS) in dis_gatt_c_read_dis_req() 268 if (p_data != NULL && status == GATT_SUCCESS) { in dis_c_cmpl_cback()
|
D | srvc_eng.cc | 413 return GATT_SUCCESS; in srvc_eng_init()
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 166 return GATT_SUCCESS; in read_attr_value() 255 if (GATTC_Read(clcb.conn_id, GATT_READ_BY_TYPE, ¶m) == GATT_SUCCESS) { in send_cl_read_request() 325 if (status != GATT_SUCCESS) { in client_cmpl_cback()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid.cc | 200 if (status != GATT_SUCCESS) { in write_rpt_ctl_cfg_cb() 269 if (status != GATT_SUCCESS) { in HearingAidImpl() 361 if (status != GATT_SUCCESS) { in OnGattConnected() 616 if (status != GATT_SUCCESS) { in OnServiceSearchComplete() 855 if (status != GATT_SUCCESS) { in OnPsmRead() 938 if (register_status != GATT_SUCCESS) { in OnGapConnection()
|
/system/bt/btif/src/ |
D | btif_gatt_client.cc | 148 if (p_data->open.status == GATT_SUCCESS) in btif_gattc_upstreams_evt()
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 4116 if (status == GATT_SUCCESS) in bta_dm_gattc_register() 4213 if (status == GATT_SUCCESS && bta_dm_search_cb.uuid_to_search > 0) { in bta_dm_gatt_disc_complete() 4223 (status == GATT_SUCCESS) ? BTA_SUCCESS : BTA_FAILURE; in bta_dm_gatt_disc_complete() 4345 if (p_data->status == GATT_SUCCESS) { in bta_dm_proc_open_evt()
|