/system/bt/bta/gatt/ |
D | database_builder.cc | 37 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 …]
|
D | database.cc | 42 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()
|
D | database.h | 43 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
|
D | bta_gattc_cache.cc | 126 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 …]
|
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 | 438 uint16_t end_handle); 468 uint16_t end_handle, btgatt_db_element_t** db,
|
D | bta_gattc_utils.cc | 375 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()
|
D | bta_gattc_api.cc | 346 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/ |
D | database_builder_test.cc | 65 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()
|
D | database_test.cc | 66 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/ |
D | mock_stack_gatt.cc | 95 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
|
D | mock_bta_gattc_api.cc | 107 uint16_t end_handle, btgatt_db_element_t** db, in BTA_GATTC_GetGattDb() argument
|
/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 | 664 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()
|
D | gatt_db.cc | 63 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()
|
D | gatt_int.h | 180 uint16_t end_handle; /* Last handle number */ member
|
/system/bt/service/hal/ |
D | bluetooth_gatt_interface.cc | 207 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()
|
D | bluetooth_gatt_interface.h | 108 uint16_t end_handle);
|
/system/bt/stack/include/ |
D | gatt_api.h | 927 uint16_t start_handle, uint16_t end_handle, 930 uint16_t start_handle, uint16_t end_handle);
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 580 uint16_t end_handle, btgatt_db_element_t** db,
|
/system/bt/bta/vc/ |
D | devices_test.cc | 240 if (service.handle <= handle && service.end_handle >= handle) { in SetUp()
|
D | vc_test.cc | 191 if (service.handle <= handle && service.end_handle >= handle) { in SetUp()
|