Lines Matching refs:rcb
159 if (p_cb->rcb[i].in_use) { in bta_gatts_api_disable()
160 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_api_disable()
188 if (p_cb->rcb[i].in_use) { in bta_gatts_register()
189 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register()
199 if (first_unuse == 0xff && !p_cb->rcb[i].in_use) { in bta_gatts_register()
210 p_cb->rcb[first_unuse].in_use = true; in bta_gatts_register()
211 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register()
212 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
213 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register()
215 if (!p_cb->rcb[first_unuse].gatt_if) { in bta_gatts_register()
221 p_buf->server_if = p_cb->rcb[first_unuse].gatt_if; in bta_gatts_register()
271 if (p_cb->rcb[i].in_use && in bta_gatts_deregister()
272 p_cb->rcb[i].gatt_if == p_msg->api_dereg.server_if) { in bta_gatts_deregister()
273 p_cback = p_cb->rcb[i].p_cback; in bta_gatts_deregister()
277 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_deregister()
280 memset(&p_cb->rcb[i], 0, sizeof(tBTA_GATTS_RCB)); in bta_gatts_deregister()
304 tBTA_GATTS_RCB* p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_delete_service()
332 tBTA_GATTS_RCB* p_rcb = &bta_gatts_cb.rcb[p_srvc_cb->rcb_idx]; in bta_gatts_stop_service()
408 p_rcb && p_cb->rcb[p_srvc_cb->rcb_idx].p_cback) { in bta_gatts_indicate_handle()