Home
last modified time | relevance | path

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

/aosp12/system/bt/service/
H A 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
354 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadCharacteristicCallback()
368 is_long, attribute_handle); in RequestReadCharacteristicCallback()
387 conn->request_id_to_handle[trans_id] = attribute_handle; in RequestReadDescriptorCallback()
[all …]
H A Dgatt_server.h206 const RawAddress& bda, int attribute_handle, int offset,
211 int attribute_handle, int offset,
H A 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()
/aosp12/system/bt/stack/gap/
H A 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()
/aosp12/system/bt/stack/gatt/
H A 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()
H A 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()
/aosp12/system/bt/include/hardware/
H A Dbt_common_types.h59 uint16_t attribute_handle; member
H A Dbt_gatt_server.h166 bt_status_t (*send_indication)(int server_if, int attribute_handle,
/aosp12/system/bt/service/hal/
H A 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()
H A Dfake_bluetooth_gatt_interface.h62 virtual bt_status_t SendIndication(int server_if, int attribute_handle,
/aosp12/system/bt/stack/srvc/
H A 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()
/aosp12/system/bt/test/suite/gatt/
H A Dgatt_test.cc120 service_handle_ = service[0].attribute_handle; in ServiceAddedCallback()
/aosp12/system/bt/btif/src/
H A 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()
/aosp12/system/bt/service/test/
H A Dgatt_server_unittest.cc273 .attribute_handle = srvc_handle_}, in SetUpTestService()
276 .attribute_handle = char_handle_}, in SetUpTestService()
279 .attribute_handle = desc_handle_}, in SetUpTestService()
/aosp12/system/bt/bta/gatt/
H A Dbta_gatts_api.cc152 bta_gatts_cb.srvc_cb[srvc_idx].service_id = service[0].attribute_handle; in bta_gatts_add_service_impl()
H A Dbta_gattc_cache.cc760 p_attr->attribute_handle = att_handle; in bta_gattc_fill_gatt_db_el()
/aosp12/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_gatt.cpp471 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray()
483 env->SetIntField(element.get(), fid, curr.attribute_handle); in fillGattDbElementArray()
1797 curr.attribute_handle = env->GetIntField(element.get(), fid); in gattServerAddServiceNative()