HomeSort by relevance Sort by last modified time
    Searched refs:gatt_cb (Results 1 - 9 of 9) sorted by null

  /system/bt/service/ipc/binder/
bluetooth_gatt_server_binder_server.cc 91 auto gatt_cb = GetGattServerCallback(server_id);
92 if (!gatt_cb.get()) {
97 gatt_cb->OnServiceAdded(status, service);
155 auto gatt_cb = GetGattServerCallback(server_id);
156 if (!gatt_cb.get()) {
161 gatt_cb->OnNotificationSent(device_address, error);
182 auto gatt_cb = GetGattServerCallback(gatt_server->GetInstanceId()); local
183 if (!gatt_cb.get()) {
188 gatt_cb->OnCharacteristicReadRequest(
199 auto gatt_cb = GetGattServerCallback(gatt_server->GetInstanceId()) local
246 auto gatt_cb = GetGattServerCallback(gatt_server->GetInstanceId()); local
264 auto gatt_cb = GetGattServerCallback(gatt_server->GetInstanceId()); local
281 auto gatt_cb = GetGattServerCallback(gatt_server->GetInstanceId()); local
298 auto gatt_cb = GetGattServerCallback(gatt_server->GetInstanceId()); local
    [all...]
  /system/bt/stack/gatt/
gatt_utils.cc 115 if (gatt_cb.cb_info.p_srv_chg_callback) {
119 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_REMOVE_CLIENT,
122 osi_free(fixed_queue_try_remove_from_queue(gatt_cb.srv_chg_clt_q, p_buf));
138 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) return;
140 list_t* list = fixed_queue_get_list(gatt_cb.srv_chg_clt_q);
151 if (gatt_cb.cb_info.p_srv_chg_callback)
152 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT,
194 fixed_queue_enqueue(gatt_cb.srv_chg_clt_q, p_buf);
205 for (auto& elem : *gatt_cb.hdl_list_info) {
221 auto end_it = gatt_cb.hdl_list_info->end()
    [all...]
gatt_main.cc 86 tGATT_CB gatt_cb; variable
103 gatt_cb = tGATT_CB();
106 gatt_cb.def_mtu_size = GATT_DEF_BLE_MTU_SIZE;
107 gatt_cb.sign_op_queue = fixed_queue_new(SIZE_MAX);
108 gatt_cb.srv_chg_clt_q = fixed_queue_new(SIZE_MAX);
134 gatt_cb.hdl_cfg.gatt_start_hdl = GATT_GATT_START_HANDLE;
135 gatt_cb.hdl_cfg.gap_start_hdl = GATT_GAP_START_HANDLE;
136 gatt_cb.hdl_cfg.app_start_hdl = GATT_APP_START_HANDLE;
138 gatt_cb.hdl_list_info = new std::list<tGATT_HDL_LIST_ELEM>();
139 gatt_cb.srv_list_info = new std::list<tGATT_SRV_LIST_ELEM>()
    [all...]
gatt_attr.cc 85 GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &conn_id,
88 GATT_GetConnIdIfConnected(gatt_cb.gatt_if, remote_bda, &conn_id,
106 for (i_clcb = 0, p_clcb = gatt_cb.profile_clcb; i_clcb < GATT_MAX_APPS;
128 for (i_clcb = 0, p_clcb = gatt_cb.profile_clcb; i_clcb < GATT_MAX_APPS;
155 for (i_clcb = 0, p_clcb = gatt_cb.profile_clcb; i_clcb < GATT_MAX_APPS;
280 gatt_cb.gatt_if = GATT_Register(Uuid::From128BitBE(tmp), &gatt_profile_cback);
281 GATT_StartIf(gatt_cb.gatt_if);
294 GATTS_AddService(gatt_cb.gatt_if, service,
298 gatt_cb.handle_of_h_r = service[1].attribute_handle;
300 VLOG(1) << __func__ << ": gatt_if=" << +gatt_cb.gatt_if
    [all...]
gatt_sr.cc 295 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) {
298 << +gatt_cb.err_status;
300 gatt_send_error_rsp(tcb, gatt_cb.err_status, gatt_cb.req_op_code,
301 gatt_cb.handle, false);
366 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) {
368 << +gatt_cb.err_status;
372 gatt_send_error_rsp(tcb, gatt_cb.err_status, gatt_cb.req_op_code, handle
    [all...]
gatt_api.cc 45 auto lst_ptr = gatt_cb.hdl_list_info;
92 gatt_cb.cb_info = *p_cb_info;
130 gatt_cb.last_service_handle = 0;
132 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) {
133 gatt_cb.last_service_handle = el.s_hdl;
171 s_hdl = gatt_cb.hdl_cfg.gatt_start_hdl;
173 s_hdl = gatt_cb.hdl_cfg.gap_start_hdl;
175 if (!gatt_cb.hdl_list_info->empty()) {
176 s_hdl = gatt_cb.hdl_list_info->front().asgn_range.e_handle + 1;
179 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl
    [all...]
gatt_auth.cc 217 if (gatt_cb.cl_rcb[i].in_use && gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb) {
218 (*gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb)(gatt_cb.cl_rcb[i].gatt_if,
gatt_cl.cc 659 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) {
676 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) {
    [all...]
gatt_int.h 395 extern tGATT_CB gatt_cb;

Completed in 372 milliseconds