Home
last modified time | relevance | path

Searched refs:end_handle (Results 1 – 23 of 23) sorted by relevance

/system/bt/bta/gatt/
Ddatabase_builder.cc37 void DatabaseBuilder::AddService(uint16_t handle, uint16_t end_handle, in AddService() argument
41 database.services.back().end_handle < handle) { in AddService()
46 .end_handle = end_handle, in AddService()
54 [](Service s, uint16_t handle) { return s.end_handle < handle; }); in AddService()
61 .end_handle = end_handle, in AddService()
65 services_to_discover.insert({handle, end_handle}); in AddService()
70 uint16_t end_handle) { in AddIncludedService() argument
80 AddService(start_handle, end_handle, uuid, false /* not primary */); in AddIncludedService()
87 .end_handle = end_handle, in AddIncludedService()
99 if (service->end_handle < value_handle) in AddCharacteristic()
[all …]
Ddatabase.cc42 return handle >= svc.handle && handle <= svc.end_handle; in HandleInRange()
53 if (handle >= service.handle && handle <= service.end_handle) in FindService()
65 << ", end_handle=" << loghex(service.end_handle) in ToString()
71 << ", end_handle=" << loghex(is.end_handle) << ", uuid=" << is.uuid in ToString()
100 .end_handle = service.end_handle}}}); in Serialize()
108 .end_handle = p_isvc.end_handle, in Serialize()
149 .end_handle = attr.value.service.end_handle, in Deserialize()
160 current_service_it->end_handle < attr.handle) { in Deserialize()
184 .end_handle = attr.value.included_service.end_handle, in Deserialize()
263 UINT16_TO_STREAM(p, is.end_handle); in Hash()
Ddatabase.h43 uint16_t end_handle; member
49 uint16_t end_handle; member
74 uint16_t end_handle; member
83 uint16_t end_handle; /* end handle of included service */ member
Dbta_gattc_cache.cc126 if (handle >= service.handle && handle <= service.end_handle) in bta_gattc_find_matching_service()
303 uint16_t end_handle = (uint16_t)pe.params[1]; in bta_gattc_sdp_callback() local
308 << ", e_handle=" << loghex(end_handle); in bta_gattc_sdp_callback()
312 !GATT_HANDLE_IS_VALID(end_handle)) { in bta_gattc_sdp_callback()
314 << ", end_handle=" << loghex(end_handle); in bta_gattc_sdp_callback()
319 p_srvc_cb->pending_discovery.AddService(start_handle, end_handle, in bta_gattc_sdp_callback()
762 p_attr->end_handle = e_handle; in bta_gattc_fill_gatt_db_el()
777 uint16_t end_handle) { in bta_gattc_get_db_size() argument
785 if (service.end_handle > end_handle) break; in bta_gattc_get_db_size()
818 uint16_t end_handle, in bta_gattc_get_gatt_db_impl() argument
[all …]
Ddatabase_builder.h32 void AddService(uint16_t handle, uint16_t end_handle,
35 uint16_t start_handle, uint16_t end_handle);
Dbta_gattc_int.h438 uint16_t end_handle);
468 uint16_t end_handle, btgatt_db_element_t** db,
Dbta_gattc_utils.cc375 uint16_t end_handle) { in bta_gattc_clear_notif_registration() argument
393 if (handle >= start_handle && handle <= end_handle) in bta_gattc_clear_notif_registration()
Dbta_gattc_api.cc346 uint16_t end_handle, btgatt_db_element_t** db, in BTA_GATTC_GetGattDb() argument
348 bta_gattc_get_gatt_db(conn_id, start_handle, end_handle, db, count); in BTA_GATTC_GetGattDb()
/system/bt/bta/test/gatt/
Ddatabase_builder_test.cc65 ASSERT_EQ(service->end_handle, 0x0001); in TEST()
86 ASSERT_EQ(service->end_handle, 0x000f); in TEST()
150 ASSERT_EQ(service->end_handle, 0x002f); in TEST()
156 ASSERT_EQ(service->end_handle, 0x003f); in TEST()
161 ASSERT_EQ(service->included_services[0].end_handle, 0x004f); in TEST()
163 ASSERT_EQ(service->included_services[1].end_handle, 0x002f); in TEST()
Ddatabase_test.cc66 EXPECT_EQ(serialized[0].value.service.end_handle, 0x000f); in TEST()
72 EXPECT_EQ(serialized[1].value.service.end_handle, 0x001f); in TEST()
78 EXPECT_EQ(serialized[2].value.included_service.end_handle, 0x001f); in TEST()
110 .end_handle = 0x001c}}, in TEST()
142 .end_handle = 0x001f, in TEST()
/system/bt/test/mock/
Dmock_stack_gatt.cc95 uint16_t start_handle, uint16_t end_handle) { in GATTC_Discover() argument
100 uint16_t start_handle, uint16_t end_handle, in GATTC_Discover() argument
Dmock_bta_gattc_api.cc107 uint16_t end_handle, btgatt_db_element_t** db, in BTA_GATTC_GetGattDb() argument
/system/bt/include/hardware/
Dbt_common_types.h67 uint16_t end_handle; member
Dbt_gatt_client.h167 uint16_t end_handle);
/system/bt/stack/gatt/
Dgatt_api.cc664 uint16_t start_handle, uint16_t end_handle, in GATTC_Discover() argument
678 !GATT_HANDLE_IS_VALID(end_handle) || in GATTC_Discover()
684 << ", e_handle=" << loghex(end_handle); in GATTC_Discover()
698 << ", e_handle=" << loghex(end_handle); in GATTC_Discover()
705 p_clcb->e_handle = end_handle; in GATTC_Discover()
711 << ", e_handle=" << loghex(end_handle); in GATTC_Discover()
718 uint16_t start_handle, uint16_t end_handle) { in GATTC_Discover() argument
719 return GATTC_Discover(conn_id, disc_type, start_handle, end_handle, in GATTC_Discover()
Dgatt_db.cc63 db.end_handle = s_hdl + num_handle; in gatts_init_service_db()
683 if (db.next_handle >= db.end_handle) { in allocate_attr_in_db()
685 << " wrong number of handles! handle_max = " << +db.end_handle in allocate_attr_in_db()
Dgatt_int.h180 uint16_t end_handle; /* Last handle number */ member
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc207 uint16_t end_handle) { in ServicesRemovedCallback() argument
210 << " start_handle: " << start_handle << " end_handle: " << end_handle; in ServicesRemovedCallback()
214 ServicesRemovedCallback(g_interface, conn_id, start_handle, end_handle)); in ServicesRemovedCallback()
Dbluetooth_gatt_interface.h108 uint16_t end_handle);
/system/bt/stack/include/
Dgatt_api.h927 uint16_t start_handle, uint16_t end_handle,
930 uint16_t start_handle, uint16_t end_handle);
/system/bt/bta/include/
Dbta_gatt_api.h580 uint16_t end_handle, btgatt_db_element_t** db,
/system/bt/bta/vc/
Ddevices_test.cc240 if (service.handle <= handle && service.end_handle >= handle) { in SetUp()
Dvc_test.cc191 if (service.handle <= handle && service.end_handle >= handle) { in SetUp()