/system/bt/test/mock/ |
D | mock_stack_gatt.cc | 92 return GATT_SUCCESS; in GATTC_ConfigureMTU() 97 return GATT_SUCCESS; in GATTC_Discover() 103 return GATT_SUCCESS; in GATTC_Discover() 107 return GATT_SUCCESS; in GATTC_ExecuteWrite() 112 return GATT_SUCCESS; in GATTC_Read() 116 return GATT_SUCCESS; in GATTC_SendHandleValueConfirm() 121 return GATT_SUCCESS; in GATTC_Write() 126 return GATT_SUCCESS; in GATTS_AddService() 131 return GATT_SUCCESS; in GATTS_HandleValueIndication() 137 return GATT_SUCCESS; in GATTS_HandleValueNotification() [all …]
|
D | mock_stack_gatt_attr.cc | 59 return GATT_SUCCESS; in proc_read_req() 64 return GATT_SUCCESS; in proc_write_req() 69 return GATT_SUCCESS; in read_attr_value()
|
D | mock_stack_gatt_auth.cc | 48 return GATT_SUCCESS; in gatt_get_link_encrypt_status()
|
D | mock_bta_gattc_api.cc | 72 return GATT_SUCCESS; in BTA_GATTC_DeregisterForNotifications() 78 return GATT_SUCCESS; in BTA_GATTC_RegisterForNotifications()
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 245 if (status == GATT_SUCCESS) { in process_read_multi_rsp() 279 tGATT_STATUS ret_code = GATT_SUCCESS; in gatt_sr_process_app_rsp() 290 return (GATT_SUCCESS); in gatt_sr_process_app_rsp() 292 if (op_code == GATT_REQ_PREPARE_WRITE && status == GATT_SUCCESS) in gatt_sr_process_app_rsp() 295 if (op_code == GATT_REQ_EXEC_WRITE && status != GATT_SUCCESS) in gatt_sr_process_app_rsp() 300 if (gatt_sr_is_cback_cnt_zero(tcb) && status == GATT_SUCCESS) { in gatt_sr_process_app_rsp() 310 if ((sr_res_p->status == GATT_SUCCESS) && (sr_res_p->p_rsp_msg)) { in gatt_sr_process_app_rsp() 407 tGATT_STATUS err = GATT_SUCCESS; in gatt_process_read_multi_req() 441 if (err != GATT_SUCCESS) { in gatt_process_read_multi_req() 459 if (err == GATT_SUCCESS) { in gatt_process_read_multi_req() [all …]
|
D | gatt_cl.cc | 91 gatt_end_operation(p_clcb, GATT_SUCCESS, NULL); in gatt_act_discovery() 130 if (st != GATT_SUCCESS && st != GATT_CMD_STARTED) { in gatt_act_discovery() 210 if (op_code == 0 || (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED)) { in gatt_act_read() 232 if (rt != GATT_SUCCESS) { in gatt_act_write() 247 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED && in gatt_act_write() 249 if (rt != GATT_SUCCESS) { in gatt_act_write() 292 if (rt != GATT_SUCCESS) { in gatt_send_queue_write_cancel() 324 p_clcb->status = GATT_SUCCESS; in gatt_check_write_long_terminate() 365 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED && rt != GATT_CONGESTED) { in gatt_send_prepare_write() 495 status = GATT_SUCCESS; in gatt_proc_disc_error_rsp() [all …]
|
D | gatt_db.cc | 144 return GATT_SUCCESS; in gatts_check_attr_readability() 177 if (status != GATT_SUCCESS) return status; in read_attr_value() 192 return GATT_SUCCESS; in read_attr_value() 212 return GATT_SUCCESS; in read_attr_value() 231 return GATT_SUCCESS; in read_attr_value() 242 return GATT_SUCCESS; in read_attr_value() 295 } else if (status == GATT_SUCCESS) { in gatts_db_read_attr_value_by_type() 638 status = GATT_SUCCESS; in gatts_write_attr_perm_check() 642 status = GATT_SUCCESS; in gatts_write_attr_perm_check() 662 return GATT_SUCCESS; in gatts_write_attr_perm_check()
|
D | gatt_attr.cc | 218 return GATT_SUCCESS; in read_attr_value() 492 if (status != GATT_SUCCESS) { in gatt_disc_cmpl_cback() 520 if (status != GATT_SUCCESS) { in gatt_svc_read_cl_supp_feat_req() 541 if (status != GATT_SUCCESS) { in gatt_att_write_cl_supp_feat() 589 if (status == GATT_SUCCESS) { in gatt_cl_op_cmpl_cback() 618 if (status != GATT_SUCCESS) { in gatt_cl_op_cmpl_cback() 774 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, ¶m) != GATT_SUCCESS) { in gatt_cl_read_sr_supp_feat_req() 926 return GATT_SUCCESS; in gatt_sr_read_db_hash() 940 return GATT_SUCCESS; in gatt_sr_read_cl_supp_feat() 1020 return GATT_SUCCESS; in gatt_sr_write_cl_supp_feat()
|
D | gatt_api.cc | 466 return GATT_SUCCESS; in GATTS_HandleValueIndication() 476 if (cmd_status == GATT_SUCCESS || cmd_status == GATT_CONGESTED) { in GATTS_HandleValueIndication() 714 return GATT_SUCCESS; in GATTC_Discover() 801 return GATT_SUCCESS; in GATTC_Read() 855 return GATT_SUCCESS; in GATTC_Write() 898 return GATT_SUCCESS; in GATTC_ExecuteWrite() 927 return GATT_SUCCESS; in GATTC_SendHandleValueConfirm() 1294 return GATT_SUCCESS; in GATT_Disconnect()
|
D | att_protocol.cc | 347 return GATT_SUCCESS; in attp_send_msg_to_l2cap() 442 if (att_ret != GATT_CONGESTED && att_ret != GATT_SUCCESS) { in attp_cl_send_cmd() 479 if (att_ret != GATT_CONGESTED && att_ret != GATT_SUCCESS) { in attp_send_cl_confirmation_msg()
|
/system/bt/stack/test/gatt/ |
D | mock_gatt_utils_ref.cc | 47 return GATT_SUCCESS; in attp_send_cl_confirmation_msg() 51 return GATT_SUCCESS; in attp_send_cl_msg() 54 return GATT_SUCCESS; in attp_send_sr_msg()
|
D | gatt_sr_test.cc | 50 tGATT_STATUS return_status_{GATT_SUCCESS}; 72 return GATT_SUCCESS; in attp_send_cl_confirmation_msg() 76 return GATT_SUCCESS; in attp_send_cl_msg() 79 return GATT_SUCCESS; in attp_send_sr_msg() 100 return GATT_SUCCESS; in gatts_db_read_attr_value_by_type() 106 return GATT_SUCCESS; in GATTS_HandleValueIndication() 112 return GATT_SUCCESS; in gatts_read_attr_perm_check() 119 return GATT_SUCCESS; in gatts_read_attr_value_by_handle()
|
/system/bt/bta/gatt/ |
D | bta_gatts_act.cc | 178 tGATT_STATUS status = GATT_SUCCESS; in bta_gatts_register() 195 if (status == GATT_SUCCESS) { in bta_gatts_register() 273 status = GATT_SUCCESS; in bta_gatts_deregister() 311 cb_data.srvc_oper.status = GATT_SUCCESS; in bta_gatts_delete_service() 337 cb_data.srvc_oper.status = GATT_SUCCESS; in bta_gatts_stop_service() 355 (tGATTS_RSP*)p_msg->api_rsp.p_rsp) != GATT_SUCCESS) { in bta_gatts_send_rsp() 406 if ((status != GATT_SUCCESS || !p_msg->api_indicate.need_confirm) && in bta_gatts_indicate_handle() 439 status = GATT_SUCCESS; in bta_gatts_open() 476 status = GATT_SUCCESS; in bta_gatts_cancel_open() 506 if (GATT_Disconnect(p_msg->hdr.layer_specific) != GATT_SUCCESS) { in bta_gatts_close() [all …]
|
D | bta_gattc_act.cc | 194 status = GATT_SUCCESS; in bta_gattc_register() 339 bta_gattc_send_open_cback(p_clcb->p_rcb, GATT_SUCCESS, p_clcb->bda, in bta_gattc_open_error() 427 cb_data.status = GATT_SUCCESS; in bta_gattc_cancel_bk_conn() 444 cb_data.status = GATT_SUCCESS; in bta_gattc_cancel_open_ok() 490 bta_gattc_reset_discover_st(p_clcb->p_srcb, GATT_SUCCESS); in bta_gattc_conn() 520 bta_gattc_send_open_cback(p_clcb->p_rcb, GATT_SUCCESS, p_clcb->bda, in bta_gattc_conn() 556 .status = GATT_SUCCESS, in bta_gattc_close() 625 bta_gattc_cb.clcb[i].status = GATT_SUCCESS; in bta_gattc_set_discover_st() 650 if (status != GATT_SUCCESS && status != GATT_CMD_STARTED) { in bta_gattc_cfg_mtu() 666 if (p_clcb->status != GATT_SUCCESS) { in bta_gattc_start_discover_internal() [all …]
|
D | bta_gattc_cache.cc | 242 bta_gattc_reset_discover_st(p_clcb->p_srcb, GATT_SUCCESS); in bta_gattc_explore_srvc_finished() 365 return GATT_SUCCESS; in bta_gattc_sdp_service_disc() 438 if (p_clcb && (status != GATT_SUCCESS || p_clcb->status != GATT_SUCCESS)) { in bta_gattc_disc_cmpl_cback() 439 if (status == GATT_SUCCESS) p_clcb->status = status; in bta_gattc_disc_cmpl_cback() 638 if (status != GATT_SUCCESS) return false; in bta_gattc_read_db_hash() 656 if (p_data->status == GATT_SUCCESS) { in bta_gattc_read_db_hash_cmpl() 675 bta_gattc_reset_discover_st(p_clcb->p_srcb, GATT_SUCCESS); in bta_gattc_read_db_hash_cmpl() 708 if (status != GATT_SUCCESS) { in bta_gattc_read_ext_prop_desc_cmpl()
|
D | bta_gattc_api.cc | 660 status = GATT_SUCCESS; in BTA_GATTC_RegisterForNotifications() 664 if (status != GATT_SUCCESS) { in BTA_GATTC_RegisterForNotifications() 674 status = GATT_SUCCESS; in BTA_GATTC_RegisterForNotifications() 725 return GATT_SUCCESS; in BTA_GATTC_DeregisterForNotifications()
|
D | bta_gatts_api.cc | 155 cb.Run(GATT_SUCCESS, server_if, std::move(service)); in bta_gatts_add_service_impl()
|
/system/bt/bta/vc/ |
D | vc_test.cc | 156 cb(conn_id, GATT_SUCCESS, handle, value.size(), value.data(), in set_sample_database() 208 .WillByDefault(Return(GATT_SUCCESS)); in SetUp() 212 .WillByDefault(Return(GATT_SUCCESS)); in SetUp() 220 if (cb) cb(conn_id, GATT_SUCCESS, handle, cb_data); in SetUp() 240 app_register_callback.Run(gatt_if, GATT_SUCCESS); in TestAppRegister() 330 .status = GATT_SUCCESS, in GetConnectedEvent() 343 .status = GATT_SUCCESS, in GetDisconnectedEvent() 355 .status = GATT_SUCCESS, in GetSearchCompleteEvent()
|
D | vc.cc | 69 if (status != GATT_SUCCESS) { in VolumeControlImpl() 117 if (status != GATT_SUCCESS) { in OnGattConnected() 207 if (status != GATT_SUCCESS) { in OnServiceSearchComplete() 234 if (status != GATT_SUCCESS) { in OnCharacteristicValueChanged() 256 OnCharacteristicValueChanged(conn_id, GATT_SUCCESS, handle, len, value, in OnNotificationEvent() 307 if (status != GATT_SUCCESS) { in OnGattWriteCcc()
|
D | device.cc | 161 if (status != GATT_SUCCESS) { in subscribe_for_notifications()
|
/system/bt/bta/hh/ |
D | bta_hh_le.cc | 174 if (r_status == GATT_SUCCESS) { in bta_hh_le_enable() 498 if (status == GATT_SUCCESS && len == 2) { in bta_hh_le_save_report_ref() 681 if (status == GATT_SUCCESS) in write_rpt_ctl_cfg_cb() 740 cback_data.status = (status == GATT_SUCCESS) ? BTA_HH_OK : BTA_HH_ERR; in write_proto_mode_cb() 742 if (status == GATT_SUCCESS) in write_proto_mode_cb() 748 p_dev_cb->status = (status == GATT_SUCCESS) ? BTA_HH_OK : BTA_HH_ERR_PROTO; in write_proto_mode_cb() 819 if (status == GATT_SUCCESS && len) { in get_protocol_mode_cb() 1102 if (p_data->status == GATT_SUCCESS) { in bta_hh_gatt_open() 1198 if (status != GATT_SUCCESS) { in read_hid_info_cb() 1219 if (status != GATT_SUCCESS) { in read_hid_report_map_cb() [all …]
|
/system/bt/stack/include/ |
D | srvc_api.h | 27 #define DIS_SUCCESS GATT_SUCCESS
|
D | gatt_api.h | 34 GATT_SUCCESS = 0x00, enumerator 68 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()
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 171 return GATT_SUCCESS; in read_attr_value() 260 if (GATTC_Read(clcb.conn_id, GATT_READ_BY_TYPE, ¶m) == GATT_SUCCESS) { in send_cl_read_request() 336 if (status != GATT_SUCCESS) { in client_cmpl_cback()
|