HomeSort by relevance Sort by last modified time
    Searched refs:bt_device_class_t (Results 1 - 7 of 7) sorted by null

  /system/bt/btcore/include/
device_class.h 29 typedef struct bt_device_class_t { struct
31 } bt_device_class_t; typedef in typeref:struct:bt_device_class_t
35 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);
51 bool device_class_equals(const bt_device_class_t *p1, const bt_device_class_t *p2);
55 bool device_class_copy(bt_device_class_t *dest, const bt_device_class_t *src)
    [all...]
property.h 44 bt_property_t *property_new_device_class(const bt_device_class_t *dc);
71 const bt_device_class_t *property_as_device_class(const bt_property_t *property);
  /system/bt/btcore/src/
device_class.c 38 COMPILE_ASSERT(sizeof(_bt_device_class_t) == sizeof(bt_device_class_t));
55 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) {
62 *dc = *(bt_device_class_t *)data;
65 int device_class_to_stream(const bt_device_class_t *dc, uint8_t *data, size_t len) {
68 assert(len >= sizeof(bt_device_class_t));
69 for (size_t i = 0; i < sizeof(bt_device_class_t); ++i) {
72 return sizeof(bt_device_class_t);
    [all...]
property.c 80 bt_property_t *property_new_device_class(const bt_device_class_t *dc) {
82 return property_new_((void *)dc, sizeof(bt_device_class_t), BT_PROPERTY_CLASS_OF_DEVICE);
172 const bt_device_class_t *property_as_device_class(const bt_property_t *property) {
174 return (const bt_device_class_t *)property->val;
  /system/bt/btcore/test/
device_class_test.cpp 53 bt_device_class_t dc0;
59 uint8_t dc_stream[][sizeof(bt_device_class_t)] = {
67 for (size_t i = 0; i < sizeof(dc_stream)/sizeof(bt_device_class_t); i++) {
68 bt_device_class_t dc;
80 bt_device_class_t dc;
101 bt_device_class_t dc;
118 bt_device_class_t dc;
134 bt_device_class_t dc;
160 bt_device_class_t dc0;
162 bt_device_class_t dc1
    [all...]
property_test.cpp 49 bt_device_class_t dc0 = {{ 0x01, 0x23, 0x45 }};
56 EXPECT_EQ((int)sizeof(bt_device_class_t), property->len);
58 const bt_device_class_t *dc1 = property_as_device_class(property);
189 bt_device_class_t dc0 = {{ 0x01, 0x23, 0x45 }};
  /system/bt/tools/bdtool/
adapter.c 265 const bt_device_class_t *dc = property_as_device_class(property);

Completed in 402 milliseconds