Home
last modified time | relevance | path

Searched refs:attribute_handle (Results 1 – 16 of 16) sorted by relevance

/system/bt/service/
Dgatt_server.cc89 .attribute_handle = incl_svc.handle()}); in AddService()
303 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback()
307 Service service(svc[0].attribute_handle, true, Uuid(svc[0].uuid), {}, {}); in ServiceAddedCallback()
312 << " handle: " << curr.attribute_handle; in ServiceAddedCallback()
314 service.characteristics().push_back({curr.attribute_handle, in ServiceAddedCallback()
321 {curr.attribute_handle, Uuid(curr.uuid), curr.permissions}); in ServiceAddedCallback()
339 const RawAddress& bda, int attribute_handle, int offset, bool is_long) { in RequestReadCharacteristicCallback() argument
351 << " attribute_handle: " << attribute_handle << " offset: " << offset in RequestReadCharacteristicCallback()
354 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadCharacteristicCallback()
368 is_long, attribute_handle); in RequestReadCharacteristicCallback()
[all …]
Dgatt_server.h206 const RawAddress& bda, int attribute_handle, int offset,
211 int attribute_handle, int offset,
Dgatt_server_old.cc147 service[0].attribute_handle); in ServiceAddedCallback()
152 g_internal->service_handle = service[0].attribute_handle; in ServiceAddedCallback()
159 LOG_INFO(LOG_TAG, "%s: descr_handle:%d", __func__, el.attribute_handle); in ServiceAddedCallback()
162 uint16_t char_handle = el.attribute_handle; in ServiceAddedCallback()
/system/bt/stack/gap/
Dgap_ble.cc439 service_handle = service[0].attribute_handle; in gap_attr_db_init()
444 gatt_attr[0].handle = service[1].attribute_handle; in gap_attr_db_init()
447 gatt_attr[1].handle = service[2].attribute_handle; in gap_attr_db_init()
450 gatt_attr[2].handle = service[3].attribute_handle; in gap_attr_db_init()
461 gatt_attr[3].handle = service[4].attribute_handle; in gap_attr_db_init()
/system/bt/include/hardware/
Dbt_common_types.h59 uint16_t attribute_handle; member
Dbt_gatt_server.h165 bt_status_t (*send_indication)(int server_if, int attribute_handle,
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc87 bt_status_t FakeSendIndication(int server_if, int attribute_handle, int conn_id, in FakeSendIndication() argument
90 return g_server_handler->SendIndication(server_if, attribute_handle, in FakeSendIndication()
Dfake_bluetooth_gatt_interface.h59 virtual bt_status_t SendIndication(int server_if, int attribute_handle,
/system/bt/stack/gatt/
Dgatt_attr.cc297 service_handle = service[0].attribute_handle; in gatt_profile_db_init()
298 gatt_cb.handle_of_h_r = service[1].attribute_handle; in gatt_profile_db_init()
Dgatt_api.cc212 service->attribute_handle = s_hdl; in GATTS_AddService()
237 el->attribute_handle = gatts_add_characteristic( in GATTS_AddService()
248 el->attribute_handle = in GATTS_AddService()
252 p_incl_decl = gatt_find_hdl_buffer_by_handle(el->attribute_handle); in GATTS_AddService()
258 el->attribute_handle = gatts_add_included_service( in GATTS_AddService()
/system/bt/test/suite/gatt/
Dgatt_test.cc120 service_handle_ = service[0].attribute_handle; in ServiceAddedCallback()
/system/bt/stack/srvc/
Dsrvc_dis.cc367 dis_cb.service_handle = service[0].attribute_handle; in DIS_SrInit()
371 dis_cb.dis_attr[i].handle = service[i + 1].attribute_handle; in DIS_SrInit()
/system/bt/btif/src/
Dbtif_gatt_server.cc389 int attribute_handle, int conn_id, in btif_gatts_send_indication() argument
397 attribute_handle, std::move(value), confirm)); in btif_gatts_send_indication()
/system/bt/bta/gatt/
Dbta_gatts_api.cc146 bta_gatts_cb.srvc_cb[srvc_idx].service_id = service[0].attribute_handle; in bta_gatts_add_service_impl()
Dbta_gattc_cache.cc543 p_attr->attribute_handle = att_handle; in bta_gattc_fill_gatt_db_el()
/system/bt/service/test/
Dgatt_server_unittest.cc272 .attribute_handle = srvc_handle_}, in SetUpTestService()
275 .attribute_handle = char_handle_}, in SetUpTestService()
278 .attribute_handle = desc_handle_}, in SetUpTestService()