Home
last modified time | relevance | path

Searched refs:As16Bit (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/gd/hci/
Duuid_unittest.cc46 TEST(UuidTest, As16Bit) { in TEST() argument
48 ASSERT_EQ((uint16_t)0x1111, ONES.As16Bit()); in TEST()
49 ASSERT_EQ((uint16_t)0x4567, SEQUENTIAL.As16Bit()); in TEST()
50 ASSERT_EQ((uint16_t)0x0000, kBase.As16Bit()); in TEST()
Duuid.h83 uint16_t As16Bit() const;
Duuid.cc54 uint16_t Uuid::As16Bit() const { in As16Bit() function in bluetooth::hci::Uuid
Dle_scanning_manager.cc746 uint16_t data = uuid.As16Bit(); in update_uuid_filter()
765 uint16_t data = uuid_mask.As16Bit(); in update_uuid_filter()
/system/bt/types/test/bluetooth/
Duuid_unittest.cc49 TEST(UuidTest, As16Bit) { in TEST() argument
51 EXPECT_EQ((uint16_t)0x1111, ONES.As16Bit()); in TEST()
52 EXPECT_EQ((uint16_t)0x4567, SEQUENTIAL.As16Bit()); in TEST()
53 EXPECT_EQ((uint16_t)0x0000, kBase.As16Bit()); in TEST()
/system/bt/vendor_libs/test_vendor_lib/types/test/bluetooth/
Duuid_unittest.cc44 TEST(UuidTest, As16Bit) { in TEST() argument
46 EXPECT_EQ((uint16_t)0x1111, ONES.As16Bit()); in TEST()
47 EXPECT_EQ((uint16_t)0x4567, SEQUENTIAL.As16Bit()); in TEST()
48 EXPECT_EQ((uint16_t)0x0000, kBase.As16Bit()); in TEST()
/system/bt/bta/gatt/
Ddatabase.cc229 uint16_t value = d.uuid.As16Bit(); in Hash()
254 UINT16_TO_STREAM(p, service.uuid.As16Bit()); in Hash()
266 UINT16_TO_STREAM(p, is.uuid.As16Bit()); in Hash()
279 UINT16_TO_STREAM(p, c.uuid.As16Bit()); in Hash()
286 uint16_t value = d.uuid.As16Bit(); in Hash()
293 UINT16_TO_STREAM(p, d.uuid.As16Bit()); in Hash()
296 UINT16_TO_STREAM(p, d.uuid.As16Bit()); in Hash()
/system/bt/stack/gatt/
Dgatt_db.cc127 switch (attr.uuid.As16Bit()) { in gatts_check_attr_readability()
184 uint16_t uuid16 = attr16.uuid.As16Bit(); in read_attr_value()
206 UINT16_TO_STREAM(p, val_attr->uuid.As16Bit()); in read_attr_value()
228 UINT16_TO_STREAM(p, incl_handle.service_type.As16Bit()); in read_attr_value()
623 switch (p_attr->uuid.As16Bit()) { in gatts_write_attr_perm_check()
651 (p_attr->uuid.As16Bit() == GATT_UUID_CHAR_CLIENT_CONFIG || in gatts_write_attr_perm_check()
652 p_attr->uuid.As16Bit() == GATT_UUID_CHAR_SRVR_CONFIG)) { in gatts_write_attr_perm_check()
Dgatt_sr_hash.cc102 UINT16_TO_STREAM(p_data, attr_it->uuid.As16Bit()); in fill_database_info()
106 UINT16_TO_STREAM(p_data, attr_it->uuid.As16Bit()); in fill_database_info()
Dgatt_utils.cc475 UINT16_TO_STREAM(p, uuid.As16Bit()); in gatt_build_uuid_to_stream()
847 uint16_t tmp = uuid.As16Bit(); in gatt_add_sdp_record()
Dgatt_cl.cc118 UINT16_TO_STREAM(p, p_clcb->uuid.As16Bit()); in gatt_act_discovery()
Dgatt_sr.cc601 UINT16_TO_STREAM(p, attr.uuid.As16Bit()); in gatt_build_find_info_rsp()
/system/bt/types/bluetooth/
Duuid.h61 uint16_t As16Bit() const;
Duuid.cc55 uint16_t Uuid::As16Bit() const { return (((uint16_t)uu[2]) << 8) + uu[3]; } in As16Bit() function in bluetooth::Uuid
/system/bt/vendor_libs/test_vendor_lib/types/bluetooth/
Duuid.h61 uint16_t As16Bit() const;
Duuid.cc52 uint16_t Uuid::As16Bit() const { in As16Bit() function in bluetooth::Uuid
/system/bt/test/headless/sdp/
Dsdp.cc113 uuid.As16Bit(), nullptr); in sdp_query_uuid()
/system/bt/stack/pan/
Dpan_main.cc111 uint16_t remote_uuid16 = remote_uuid.As16Bit(); in pan_conn_ind_cb()
112 uint16_t local_uuid16 = local_uuid.As16Bit(); in pan_conn_ind_cb()
/system/bt/main/shim/
Dle_scanning_manager.cc353 bluetooth::hci::Uuid::From16Bit(apcf_command.uuid.As16Bit()); in parse_filter_command()
375 bluetooth::hci::Uuid::From16Bit(apcf_command.uuid_mask.As16Bit()); in parse_filter_command()
/system/bt/bta/hh/
Dbta_hh_le.cc669 uint16_t char_uuid = characteristic->uuid.As16Bit(); in write_rpt_ctl_cfg_cb()
1365 uint16_t uuid16 = charac.uuid.As16Bit(); in bta_hh_le_search_hid_chars()
1540 p_dev_cb, p_svc->handle, p_char->uuid.As16Bit(), p_char->value_handle); in bta_hh_le_input_rpt_notify()
1680 uint16_t char_uuid = p_char->uuid.As16Bit(); in read_report_cb()
1777 uint16_t uuid = p_char->uuid.As16Bit(); in write_report_cb()
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc536 UINT16_TO_STREAM(p, uuid.As16Bit()); in BTM_LE_PF_uuid_filter()
553 UINT16_TO_STREAM(p, uuid_mask.As16Bit()); in BTM_LE_PF_uuid_filter()
/system/bt/stack/bnep/
Dbnep_utils.cc188 UINT16_TO_BE_STREAM(p, p_bcb->dst_uuid.As16Bit()); in bnep_send_conn_req()
189 UINT16_TO_BE_STREAM(p, p_bcb->src_uuid.As16Bit()); in bnep_send_conn_req()
/system/bt/stack/sdp/
Dsdp_discovery.cc91 UINT16_TO_BE_STREAM(p_out, p_uuid_list->As16Bit()); in sdpu_build_uuid_seq()
Dsdp_utils.cc947 if (len == 2) return uuid.As16Bit() == p_attr->attr_value.v.u16; in sdpu_compare_uuid_with_attr()
/system/bt/btif/src/
Dbtif_dm.cc1272 return (uuid.As16Bit() == UUID_SERVCLASS_LE_HID || uuid == UUID_HEARING_AID || in btif_is_interesting_le_service()

12