• Home
  • Raw
  • Download

Lines Matching refs:p_srcb

64 const Descriptor* bta_gattc_get_descriptor_srcb(tBTA_GATTC_SERV* p_srcb,
66 const Characteristic* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV* p_srcb,
186 p_clcb->p_srcb->state = BTA_GATTC_SERV_SAVE; in bta_gattc_explore_srvc_finished()
189 bta_gattc_cache_write(p_clcb->p_srcb->server_bda, in bta_gattc_explore_srvc_finished()
190 p_clcb->p_srcb->gatt_database.Serialize()); in bta_gattc_explore_srvc_finished()
193 bta_gattc_reset_discover_st(p_clcb->p_srcb, GATT_SUCCESS); in bta_gattc_explore_srvc_finished()
403 for (const Service& service : p_clcb->p_srcb->gatt_database.Services()) { in bta_gattc_search_service()
422 const std::list<Service>* bta_gattc_get_services_srcb(tBTA_GATTC_SERV* p_srcb) { in bta_gattc_get_services_srcb() argument
423 if (!p_srcb || p_srcb->gatt_database.IsEmpty()) return NULL; in bta_gattc_get_services_srcb()
425 return &p_srcb->gatt_database.Services(); in bta_gattc_get_services_srcb()
433 tBTA_GATTC_SERV* p_srcb = p_clcb->p_srcb; in bta_gattc_get_services() local
435 return bta_gattc_get_services_srcb(p_srcb); in bta_gattc_get_services()
438 const Service* bta_gattc_get_service_for_handle_srcb(tBTA_GATTC_SERV* p_srcb, in bta_gattc_get_service_for_handle_srcb() argument
440 const std::list<Service>* services = bta_gattc_get_services_srcb(p_srcb); in bta_gattc_get_service_for_handle_srcb()
453 const Characteristic* bta_gattc_get_characteristic_srcb(tBTA_GATTC_SERV* p_srcb, in bta_gattc_get_characteristic_srcb() argument
456 bta_gattc_get_service_for_handle_srcb(p_srcb, handle); in bta_gattc_get_characteristic_srcb()
473 tBTA_GATTC_SERV* p_srcb = p_clcb->p_srcb; in bta_gattc_get_characteristic() local
474 return bta_gattc_get_characteristic_srcb(p_srcb, handle); in bta_gattc_get_characteristic()
477 const Descriptor* bta_gattc_get_descriptor_srcb(tBTA_GATTC_SERV* p_srcb, in bta_gattc_get_descriptor_srcb() argument
480 bta_gattc_get_service_for_handle_srcb(p_srcb, handle); in bta_gattc_get_descriptor_srcb()
500 tBTA_GATTC_SERV* p_srcb = p_clcb->p_srcb; in bta_gattc_get_descriptor() local
501 return bta_gattc_get_descriptor_srcb(p_srcb, handle); in bta_gattc_get_descriptor()
505 tBTA_GATTC_SERV* p_srcb, uint16_t handle) { in bta_gattc_get_owning_characteristic_srcb() argument
507 bta_gattc_get_service_for_handle_srcb(p_srcb, handle); in bta_gattc_get_owning_characteristic_srcb()
525 return bta_gattc_get_owning_characteristic_srcb(p_clcb->p_srcb, handle); in bta_gattc_get_owning_characteristic()
690 if (!p_clcb->p_srcb || p_clcb->p_srcb->pending_discovery.InProgress() || in bta_gattc_get_gatt_db()
691 p_clcb->p_srcb->gatt_database.IsEmpty()) { in bta_gattc_get_gatt_db()
696 bta_gattc_get_gatt_db_impl(p_clcb->p_srcb, start_handle, end_handle, db, in bta_gattc_get_gatt_db()
711 bool bta_gattc_cache_load(tBTA_GATTC_SERV* p_srcb) { in bta_gattc_cache_load() argument
713 bta_gattc_generate_cache_file_name(fname, sizeof(fname), p_srcb->server_bda); in bta_gattc_cache_load()
750 p_srcb->gatt_database = gatt::Database::Deserialize(attr, &success); in bta_gattc_cache_load()