Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 16 of 16) sorted by relevance

/system/bt/btcore/src/
Ddevice_class.c55 static bool device_class_get_major_service_(const bt_device_class_t *dc, int bitmask);
56 static void device_class_clr_major_service_(bt_device_class_t *dc, int bitmask);
57 static void device_class_set_major_service_(bt_device_class_t *dc, int bitmask);
59 void device_class_from_stream(bt_device_class_t *dc, const uint8_t *data) { in device_class_from_stream() argument
60 assert(dc != NULL); in device_class_from_stream()
62 *dc = *(bt_device_class_t *)data; in device_class_from_stream()
65 int device_class_to_stream(const bt_device_class_t *dc, uint8_t *data, size_t len) { in device_class_to_stream() argument
66 assert(dc != NULL); in device_class_to_stream()
70 data[i] = dc->_[i]; in device_class_to_stream()
75 void device_class_from_int(bt_device_class_t *dc, int data) { in device_class_from_int() argument
[all …]
Dproperty.c83 bt_property_t *property_new_device_class(const bt_device_class_t *dc) { in property_new_device_class() argument
84 assert(dc != NULL); in property_new_device_class()
85 return property_new_((void *)dc, sizeof(bt_device_class_t), BT_PROPERTY_CLASS_OF_DEVICE); in property_new_device_class()
/system/bt/btcore/include/
Ddevice_class.h35 void device_class_from_stream(bt_device_class_t *dc, const uint8_t *data);
40 int device_class_to_stream(const bt_device_class_t *dc, uint8_t *data, size_t len);
44 void device_class_from_int(bt_device_class_t *dc, int data);
47 int device_class_to_int(const bt_device_class_t *dc);
58 int device_class_get_major_device(const bt_device_class_t *dc);
59 void device_class_set_major_device(bt_device_class_t *dc, int val);
62 int device_class_get_minor_device(const bt_device_class_t *dc);
63 void device_class_set_minor_device(bt_device_class_t *dc, int val);
67 bool device_class_get_limited(const bt_device_class_t *dc);
68 void device_class_set_limited(bt_device_class_t *dc, bool set);
[all …]
Dproperty.h44 bt_property_t *property_new_device_class(const bt_device_class_t *dc);
/system/bt/btcore/test/
Ddevice_class_test.cpp68 bt_device_class_t dc; in TEST_F() local
69 device_class_from_stream(&dc, (uint8_t*)&dc_stream[i]); in TEST_F()
71 uint8_t *to_stream = (uint8_t *)&dc; in TEST_F()
80 bt_device_class_t dc; in TEST_F() local
83 device_class_from_stream(&dc, dc_stream0); in TEST_F()
86 int rc = device_class_to_stream(&dc, dc_stream1, sizeof(dc_stream1)); in TEST_F()
89 uint32_t *val = (uint32_t *)&dc; in TEST_F()
101 bt_device_class_t dc; in TEST_F() local
102 device_class_from_stream(&dc, dc_stream0); in TEST_F()
104 int rc = device_class_to_stream(&dc, dc_stream1, sizeof(dc_stream1)); in TEST_F()
[all …]
/system/bt/tools/bdtool/
Dadapter.c265 const bt_device_class_t *dc = property_as_device_class(property); in parse_properties() local
266 int dc_int = device_class_to_int(dc); in parse_properties()
/system/bt/stack/btu/
Dbtu_hcif.c545 DEV_CLASS dc; in btu_hcif_connection_request_evt() local
549 STREAM_TO_DEVCLASS (dc, p); in btu_hcif_connection_request_evt()
556 btm_sec_conn_req (bda, dc); in btu_hcif_connection_request_evt()
561 btm_sco_conn_req (bda, dc, link_type); in btu_hcif_connection_request_evt()
/system/core/libcutils/arch-arm64/
Dandroid_memset.S204 dc zva, dst
/system/bt/stack/btm/
Dbtm_inq.c1864 DEV_CLASS dc; in btm_process_inq_results() local
1891 STREAM_TO_DEVCLASS (dc, p); in btm_process_inq_results()
1986 p_cur->dev_class[0] = dc[0]; in btm_process_inq_results()
1987 p_cur->dev_class[1] = dc[1]; in btm_process_inq_results()
1988 p_cur->dev_class[2] = dc[2]; in btm_process_inq_results()
Dbtm_int.h936 extern void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn,
1056 extern void btm_sec_conn_req (UINT8 *bda, UINT8 *dc);
Dbtm_acl.c209 void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn, in btm_acl_created() argument
261 if (dc) in btm_acl_created()
262 memcpy (p->remote_dc, dc, DEV_CLASS_LEN); in btm_acl_created()
Dbtm_sec.c2724 void btm_sec_conn_req (UINT8 *bda, UINT8 *dc) in btm_sec_conn_req() argument
2777 memcpy (btm_cb.connecting_dc, dc, DEV_CLASS_LEN); in btm_sec_conn_req()
/system/bt/stack/include/
Dbtm_api.h156 typedef UINT8 (tBTM_FILTER_CB) (BD_ADDR bd_addr, DEV_CLASS dc);
1351 typedef void (tBTM_RMT_NAME_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dc,
/system/bt/bta/dm/
Dbta_dm_int.h352 DEV_CLASS dc; member
Dbta_dm_act.c51 static void bta_dm_service_search_remname_cback (BD_ADDR bd_addr, DEV_CLASS dc, BD_NAME bd_name);
744 p_dc = (UINT8 *)p_dev->dc; in bta_dm_add_device()
2547 static void bta_dm_service_search_remname_cback (BD_ADDR bd_addr, DEV_CLASS dc, BD_NAME bd_name) in bta_dm_service_search_remname_cback() argument
2551 UNUSED(dc); in bta_dm_service_search_remname_cback()
Dbta_dm_api.c537 memcpy (p_msg->dc, dev_class, DEV_CLASS_LEN); in BTA_DmAddDevice()