/system/bt/bta/gatt/ |
D | database_builder.cc | 30 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 …]
|
D | database.cc | 39 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()
|
D | database.h | 42 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
|
D | bta_gattc_cache.cc | 125 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 …]
|
D | database_builder.h | 32 void AddService(uint16_t handle, uint16_t end_handle, 35 uint16_t start_handle, uint16_t end_handle);
|
D | bta_gattc_int.h | 414 uint16_t end_handle); 443 uint16_t end_handle, btgatt_db_element_t** db,
|
D | bta_gattc_utils.cc | 367 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()
|
D | bta_gattc_api.cc | 339 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/ |
D | database_test.cc | 60 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()
|
D | database_builder_test.cc | 65 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/ |
D | bt_common_types.h | 67 uint16_t end_handle; member
|
D | bt_gatt_client.h | 167 uint16_t end_handle);
|
/system/bt/stack/gatt/ |
D | gatt_api.cc | 619 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()
|
D | gatt_db.cc | 61 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()
|
D | gatt_int.h | 181 uint16_t end_handle; /* Last handle number */ member
|
/system/bt/service/hal/ |
D | bluetooth_gatt_interface.cc | 206 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()
|
D | bluetooth_gatt_interface.h | 108 uint16_t end_handle);
|
/system/bt/stack/include/ |
D | gatt_api.h | 828 uint16_t start_handle, uint16_t end_handle, 831 uint16_t start_handle, uint16_t end_handle);
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 551 uint16_t end_handle, btgatt_db_element_t** db,
|