Home
last modified time | relevance | path

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

/system/bt/service/
Dgatt_server.cc90 .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.cc148 status, server_if, service.size(), service[0].attribute_handle); in ServiceAddedCallback()
153 g_internal->service_handle = service[0].attribute_handle; in ServiceAddedCallback()
160 LOG_INFO("%s: descr_handle:%d", __func__, el.attribute_handle); in ServiceAddedCallback()
163 uint16_t char_handle = el.attribute_handle; in ServiceAddedCallback()
/system/bt/stack/gap/
Dgap_ble.cc453 service_handle = service[0].attribute_handle; in gap_attr_db_init()
458 gatt_attr[0].handle = service[1].attribute_handle; in gap_attr_db_init()
461 gatt_attr[1].handle = service[2].attribute_handle; in gap_attr_db_init()
464 gatt_attr[2].handle = service[3].attribute_handle; in gap_attr_db_init()
475 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.h166 bt_status_t (*send_indication)(int server_if, int attribute_handle,
/system/bt/stack/gatt/
Dgatt_attr.cc419 service_handle = service[0].attribute_handle; in gatt_profile_db_init()
420 gatt_cb.handle_of_h_r = service[1].attribute_handle; in gatt_profile_db_init()
421 gatt_cb.handle_sr_supported_feat = service[2].attribute_handle; in gatt_profile_db_init()
422 gatt_cb.handle_cl_supported_feat = service[3].attribute_handle; in gatt_profile_db_init()
423 gatt_cb.handle_of_database_hash = service[4].attribute_handle; in gatt_profile_db_init()
Dgatt_api.cc230 service->attribute_handle = s_hdl; in GATTS_AddService()
255 el->attribute_handle = gatts_add_characteristic( in GATTS_AddService()
272 el->attribute_handle = in GATTS_AddService()
276 p_incl_decl = gatt_find_hdl_buffer_by_handle(el->attribute_handle); in GATTS_AddService()
282 el->attribute_handle = gatts_add_included_service( in GATTS_AddService()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc91 bt_status_t FakeSendIndication(int server_if, int attribute_handle, int conn_id, in FakeSendIndication() argument
94 return g_server_handler->SendIndication(server_if, attribute_handle, in FakeSendIndication()
Dfake_bluetooth_gatt_interface.h62 virtual bt_status_t SendIndication(int server_if, int attribute_handle,
/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.cc391 int attribute_handle, int conn_id, in btif_gatts_send_indication() argument
399 attribute_handle, std::move(value), confirm)); in btif_gatts_send_indication()
/system/bt/bta/gatt/
Dbta_gatts_api.cc152 bta_gatts_cb.srvc_cb[srvc_idx].service_id = service[0].attribute_handle; in bta_gatts_add_service_impl()
Dbta_gattc_cache.cc760 p_attr->attribute_handle = att_handle; in bta_gattc_fill_gatt_db_el()
/system/bt/service/test/
Dgatt_server_unittest.cc273 .attribute_handle = srvc_handle_}, in SetUpTestService()
276 .attribute_handle = char_handle_}, in SetUpTestService()
279 .attribute_handle = desc_handle_}, in SetUpTestService()