Home
last modified time | relevance | path

Searched refs:char_uuid (Results 1 – 14 of 14) sorted by relevance

/system/bt/test/suite/gatt/
Dgatt_unittest.cpp116 bt_uuid_t char_uuid; in TEST_F() local
117 create_random_uuid(&char_uuid, -1); in TEST_F()
132 &char_uuid, 0x10 /* notification */, 0x01 /* read only */); in TEST_F()
/system/bt/service/test/
Dgatt_server_unittest.cpp542 const UUID char_uuid = UUID::GetRandom(); in TEST_F() local
543 bt_uuid_t hal_char_uuid = char_uuid.GetBlueDroid(); in TEST_F()
546 EXPECT_EQ(nullptr, gatt_server_->AddCharacteristic(char_uuid, props, perms)); in TEST_F()
556 auto char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F()
557 auto char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F()
587 EXPECT_EQ(nullptr, gatt_server_->AddCharacteristic(char_uuid, props, perms)); in TEST_F()
609 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F()
610 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F()
628 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F()
629 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F()
[all …]
/system/bt/bta/hh/
Dbta_hh_le.c1777 UINT16 char_uuid = p_char->uuid.uu.uuid16; in bta_hh_w4_le_read_char_cmpl() local
1779 if (char_uuid == GATT_UUID_BATTERY_LEVEL) in bta_hh_w4_le_read_char_cmpl()
1783 else if (char_uuid == GATT_UUID_GAP_PREF_CONN_PARAM) in bta_hh_w4_le_read_char_cmpl()
1812 switch (char_uuid) in bta_hh_w4_le_read_char_cmpl()
1828 bta_hh_uuid_to_str(char_uuid), char_uuid); in bta_hh_w4_le_read_char_cmpl()
1836 APPL_TRACE_ERROR("read uuid %s[0x%04x] error: %d", bta_hh_uuid_to_str(char_uuid), in bta_hh_w4_le_read_char_cmpl()
1837 char_uuid, p_data->status); in bta_hh_w4_le_read_char_cmpl()
1839 APPL_TRACE_ERROR("read uuid [0x%04x] error: %d", char_uuid, p_data->status); in bta_hh_w4_le_read_char_cmpl()
1861 UINT16 char_uuid = p_char->uuid.uu.uuid16; in bta_hh_le_read_char_cmpl() local
1863 switch (char_uuid) in bta_hh_le_read_char_cmpl()
[all …]
/system/bt/service/common/bluetooth/binder/
Dparcel_helpers.cpp165 auto char_uuid = CreateUUIDFromParcel(parcel); in CreateGattIdentifierFromParcel() local
175 *service_uuid, *char_uuid, *desc_uuid, in CreateGattIdentifierFromParcel()
/system/bt/bta/gatt/
Dbta_gatts_act.c432 &p_msg->api_add_char.char_uuid, in bta_gatts_add_char()
438 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char.char_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char()
474 memcpy(&cb_data.add_result.char_uuid, &p_msg->api_add_char_descr.descr_uuid, sizeof(tBT_UUID)); in bta_gatts_add_char_descr()
Dbta_gatts_int.h96 tBT_UUID char_uuid; member
Dbta_gatts_api.c212 memcpy(&p_buf->char_uuid, p_char_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AddCharacteristic()
Dbta_gattc_cache.c916 p_data->value.dclr_value.char_uuid, in bta_gattc_disc_res_cback()
/system/bt/stack/include/
Dgatt_api.h506 tBT_UUID char_uuid; /* characteristic UUID type */ member
776 extern UINT16 GATTS_AddCharacteristic (UINT16 service_handle, tBT_UUID *char_uuid,
/system/bt/btif/src/
Dbtif_gatt_test.c178 format_uuid(p_data->value.dclr_value.char_uuid, str_buf)); in btif_test_discovery_result_cback()
Dbtif_gatt_server.c232 bta_to_btif_uuid(&uuid, &p_data->add_result.char_uuid); in btapp_gatts_handle_cback()
246 bta_to_btif_uuid(&uuid, &p_data->add_result.char_uuid); in btapp_gatts_handle_cback()
/system/bt/service/
Dgatt_server.cpp865 bt_uuid_t char_uuid = next_entry->id.characteristic_uuid().GetBlueDroid(); in HandleNextEntry() local
870 &char_uuid, in HandleNextEntry()
/system/bt/stack/gatt/
Dgatt_cl.c894 … if (!gatt_parse_uuid_from_cmd(&record_value.dclr_value.char_uuid, (UINT16)(value_len - 3), &p)) in gatt_process_read_by_type_rsp()
902 if (!gatt_uuid_compare(record_value.dclr_value.char_uuid, p_clcb->uuid)) in gatt_process_read_by_type_rsp()
/system/bt/bta/include/
Dbta_gatt_api.h507 tBT_UUID char_uuid; member