Home
last modified time | relevance | path

Searched refs:tGATT_SVC_DB (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_db.cc40 static tGATT_ATTR& allocate_attr_in_db(tGATT_SVC_DB& db, const Uuid& uuid, tGATT_PERM perm);
48 void gatts_init_service_db(tGATT_SVC_DB& db, const Uuid& service_uuid, bool is_pri, uint16_t s_hdl, in gatts_init_service_db()
65 Uuid* gatts_get_service_uuid(tGATT_SVC_DB* p_db) { in gatts_get_service_uuid()
275 tGATT_STATUS gatts_db_read_attr_value_by_type(tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db, in gatts_db_read_attr_value_by_type()
337 uint16_t gatts_add_included_service(tGATT_SVC_DB& db, uint16_t s_handle, uint16_t e_handle, in gatts_add_included_service()
374 uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm, tGATT_CHAR_PROP property, in gatts_add_characteristic()
403 uint16_t gatts_add_char_ext_prop_descr(tGATT_SVC_DB& db, uint16_t extended_properties) { in gatts_add_char_ext_prop_descr()
430 uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm, const Uuid& descr_uuid) { in gatts_add_char_descr()
442 static tGATT_ATTR* find_attr_by_handle(tGATT_SVC_DB* p_db, uint16_t handle) { in find_attr_by_handle()
478 tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db, in gatts_read_attr_value_by_handle()
[all …]
Dgatt_int.h183 } tGATT_SVC_DB; typedef
275 tGATT_SVC_DB svc_db;
283 tGATT_SVC_DB* p_db; /* pointer to the service database */
666 void gatts_init_service_db(tGATT_SVC_DB& db, const bluetooth::Uuid& service, bool is_pri,
668 uint16_t gatts_add_included_service(tGATT_SVC_DB& db, uint16_t s_handle, uint16_t e_handle,
670 uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm, tGATT_CHAR_PROP property,
672 uint16_t gatts_add_char_ext_prop_descr(tGATT_SVC_DB& db, uint16_t extended_properties);
673 uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm, const bluetooth::Uuid& dscp_uuid);
674 tGATT_STATUS gatts_db_read_attr_value_by_type(tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db,
680 tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db,
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/stack/test/
Dstack_gatt_sr_hash_test.cc28 static void add_item_to_list(std::list<tGATT_SRV_LIST_ELEM>& srv_list_info, tGATT_SVC_DB* db, in add_item_to_list()
38 tGATT_SVC_DB local_db[4]; in TEST()
40 local_db[i] = tGATT_SVC_DB(); in TEST()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/test/gatt/
Dgatt_sr_test.cc87 tGATT_SVC_DB* /*p_db*/, uint8_t /*op_code*/, in gatts_db_read_attr_value_by_type() argument
96 Uuid* gatts_get_service_uuid(tGATT_SVC_DB* /*p_db*/) { return nullptr; } in gatts_get_service_uuid() argument
101 tGATT_STATUS gatts_read_attr_perm_check(tGATT_SVC_DB* /*p_db*/, bool /*is_long*/, in gatts_read_attr_perm_check() argument
107 tGATT_SVC_DB* /*p_db*/, uint8_t /*op_code*/, in gatts_read_attr_value_by_handle() argument
114 tGATT_STATUS gatts_write_attr_perm_check(tGATT_SVC_DB* /*p_db*/, uint8_t /*op_code*/, in gatts_write_attr_perm_check() argument