Home
last modified time | relevance | path

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

/system/bt/bta/gatt/
Ddatabase_builder.cc30 void DatabaseBuilder::AddService(uint16_t handle, uint16_t end_handle, in AddService() argument
34 database.services.back().end_handle < handle) { in AddService()
36 .end_handle = end_handle, in AddService()
45 [](Service s, uint16_t handle) { return s.end_handle < handle; }); in AddService()
49 .end_handle = end_handle, in AddService()
54 services_to_discover.insert({handle, end_handle}); in AddService()
59 uint16_t end_handle) { in AddIncludedService() argument
69 AddService(start_handle, end_handle, uuid, false /* not primary */); in AddIncludedService()
76 .end_handle = end_handle, in AddIncludedService()
88 if (service->end_handle < value_handle) in AddCharacteristic()
[all …]
Ddatabase.cc39 return handle >= svc.handle && handle <= svc.end_handle; in HandleInRange()
45 if (handle >= service.handle && handle <= service.end_handle) in FindService()
57 << ", end_handle=" << loghex(service.end_handle) in ToString()
63 << ", end_handle=" << loghex(is.end_handle) << ", uuid=" << is.uuid in ToString()
92 .end_handle = service.end_handle}}}); in Serialize()
100 .end_handle = p_isvc.end_handle, in Serialize()
132 .end_handle = attr.value.service.end_handle, in Deserialize()
144 current_service_it->end_handle < attr.handle) { in Deserialize()
168 .end_handle = attr.value.included_service.end_handle, in Deserialize()
Ddatabase.h42 uint16_t end_handle; member
48 uint16_t end_handle; member
71 uint16_t end_handle; member
80 uint16_t end_handle; /* end handle of included service */ member
Dbta_gattc_cache.cc125 if (handle >= service.handle && handle <= service.end_handle) in bta_gattc_find_matching_service()
254 uint16_t end_handle = (uint16_t)pe.params[1]; in bta_gattc_sdp_callback() local
259 << ", e_handle=" << loghex(end_handle); in bta_gattc_sdp_callback()
263 !GATT_HANDLE_IS_VALID(end_handle)) { in bta_gattc_sdp_callback()
265 << ", end_handle=" << loghex(end_handle); in bta_gattc_sdp_callback()
270 p_srvc_cb->pending_discovery.AddService(start_handle, end_handle, in bta_gattc_sdp_callback()
545 p_attr->end_handle = e_handle; in bta_gattc_fill_gatt_db_el()
560 uint16_t end_handle) { in bta_gattc_get_db_size() argument
568 if (service.end_handle > end_handle) break; in bta_gattc_get_db_size()
601 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.h414 uint16_t end_handle);
443 uint16_t end_handle, btgatt_db_element_t** db,
Dbta_gattc_utils.cc367 uint16_t end_handle) { in bta_gattc_clear_notif_registration() argument
385 if (handle >= start_handle && handle <= end_handle) in bta_gattc_clear_notif_registration()
Dbta_gattc_api.cc339 uint16_t end_handle, btgatt_db_element_t** db, in BTA_GATTC_GetGattDb() argument
341 bta_gattc_get_gatt_db(conn_id, start_handle, end_handle, db, count); in BTA_GATTC_GetGattDb()
/system/bt/bta/test/gatt/
Ddatabase_test.cc60 EXPECT_EQ(serialized[0].value.service.end_handle, 0x000f); in TEST()
66 EXPECT_EQ(serialized[1].value.service.end_handle, 0x001f); in TEST()
72 EXPECT_EQ(serialized[2].value.included_service.end_handle, 0x001f); in TEST()
99 .end_handle = 0x001c}}, in TEST()
131 .end_handle = 0x001f, in TEST()
Ddatabase_builder_test.cc65 EXPECT_EQ(service->end_handle, 0x0001); in TEST()
86 EXPECT_EQ(service->end_handle, 0x000f); in TEST()
150 EXPECT_EQ(service->end_handle, 0x002f); in TEST()
156 EXPECT_EQ(service->end_handle, 0x003f); in TEST()
/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.cc619 uint16_t start_handle, uint16_t end_handle, in GATTC_Discover() argument
635 << ", e_handle=" << loghex(end_handle); in GATTC_Discover()
638 !GATT_HANDLE_IS_VALID(end_handle) || in GATTC_Discover()
655 p_clcb->e_handle = end_handle; in GATTC_Discover()
663 uint16_t start_handle, uint16_t end_handle) { in GATTC_Discover() argument
664 return GATTC_Discover(conn_id, disc_type, start_handle, end_handle, in GATTC_Discover()
Dgatt_db.cc61 db.end_handle = s_hdl + num_handle; in gatts_init_service_db()
655 if (db.next_handle >= db.end_handle) { in allocate_attr_in_db()
657 << " wrong number of handles! handle_max = " << +db.end_handle in allocate_attr_in_db()
Dgatt_int.h181 uint16_t end_handle; /* Last handle number */ member
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc206 uint16_t end_handle) { in ServicesRemovedCallback() argument
209 << " start_handle: " << start_handle << " end_handle: " << end_handle; in ServicesRemovedCallback()
213 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.h828 uint16_t start_handle, uint16_t end_handle,
831 uint16_t start_handle, uint16_t end_handle);
/system/bt/bta/include/
Dbta_gatt_api.h551 uint16_t end_handle, btgatt_db_element_t** db,