Home
last modified time | relevance | path

Searched refs:bt_property_t (Results 1 – 23 of 23) sorted by relevance

/system/bt/btcore/include/
Dproperty.h29 bt_property_t* property_copy_array(const bt_property_t* properties,
34 bt_property_t* property_copy(bt_property_t* dest, const bt_property_t* src);
38 bool property_equals(const bt_property_t* p1, const bt_property_t* p2);
44 bt_property_t* property_new_addr(const bt_bdaddr_t* addr);
45 bt_property_t* property_new_device_class(const bt_device_class_t* dc);
46 bt_property_t* property_new_device_type(bt_device_type_t device_type);
47 bt_property_t* property_new_discovery_timeout(const uint32_t timeout);
48 bt_property_t* property_new_name(const char* name);
49 bt_property_t* property_new_rssi(const int8_t rssi);
50 bt_property_t* property_new_scan_mode(bt_scan_mode_t scan_mode);
[all …]
/system/bt/btcore/src/
Dproperty.cc27 static bt_property_t* property_new_(void* val, size_t len,
30 bt_property_t* property_copy_array(const bt_property_t* properties, in property_copy_array()
33 bt_property_t* clone = in property_copy_array()
34 static_cast<bt_property_t*>(osi_calloc(sizeof(bt_property_t) * count)); in property_copy_array()
36 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); in property_copy_array()
45 bt_property_t* property_copy(bt_property_t* dest, const bt_property_t* src) { in property_copy()
48 return (bt_property_t*)memcpy(dest, src, sizeof(bt_property_t)); in property_copy()
51 bool property_equals(const bt_property_t* p1, const bt_property_t* p2) { in property_equals()
67 const bt_property_t *shorter = p1, *longer = p2; in property_equals()
79 bt_property_t* property_new_addr(const bt_bdaddr_t* addr) { in property_new_addr()
[all …]
/system/bt/btcore/test/
Dproperty_test.cc29 bt_property_t* property = property_new_addr(&addr0); in TEST_F()
48 bt_property_t* property = property_new_device_class(&dc0); in TEST_F()
65 bt_property_t* property = property_new_device_type(dt0); in TEST_F()
79 bt_property_t* property = property_new_discovery_timeout(timeout0); in TEST_F()
93 bt_property_t* property = property_new_name(name0); in TEST_F()
107 bt_property_t* property = property_new_rssi(rssi0); in TEST_F()
121 bt_property_t* property = property_new_scan_mode(mode0); in TEST_F()
138 bt_property_t* property = property_new_uuids(&uuid0, 1); in TEST_F()
164 bt_property_t* property0 = in TEST_F()
167 bt_property_t property1; in TEST_F()
[all …]
/system/bt/test/suite/adapter/
Dbluetooth_test.h55 bt_property_t* GetProperty(bt_property_type_t type);
58 bt_property_t* GetRemoteDeviceProperty(const bt_bdaddr_t* addr,
82 bt_property_t* properties) override;
88 bt_property_t* properties) override;
109 bt_property_t* last_changed_properties_;
112 bt_property_t* remote_device_last_changed_properties_;
Dbluetooth_test.cc83 bt_property_t* BluetoothTest::GetProperty(bt_property_type_t type) { in GetProperty()
92 bt_property_t* BluetoothTest::GetRemoteDeviceProperty(const bt_bdaddr_t* addr, in GetRemoteDeviceProperty()
122 bt_property_t* new_properties) { in AdapterPropertiesCallback()
134 bt_property_t* properties) { in RemoteDevicePropertiesCallback()
Dadapter_unittest.cc63 bt_property_t* new_name = property_new_name("BluetoothTestName1"); in TEST_F()
79 bt_property_t* name_property = GetProperty(BT_PROPERTY_BDNAME); in TEST_F()
98 bt_property_t* old_name_property = property_new_name(old_name.c_str()); in TEST_F()
/system/bt/btif/include/
Dbtif_storage.h54 bt_status_t btif_storage_get_adapter_property(bt_property_t* property);
67 bt_status_t btif_storage_set_adapter_property(bt_property_t* property);
83 bt_property_t* property);
97 bt_property_t* property);
113 bt_property_t* properties);
Dbtif_api.h138 bt_status_t btif_set_adapter_property(const bt_property_t* property);
175 const bt_property_t* property);
321 bt_status_t btif_dm_get_adapter_property(bt_property_t* prop);
Dbtif_common.h237 bt_property_t* p_props);
239 uint32_t num_props, bt_property_t* p_props);
/system/bt/tools/bdtool/
Dadapter.c27 static bt_property_t* properties = NULL;
32 static void parse_properties(int num_properties, bt_property_t* property);
41 bt_property_t* adapter_get_property(bt_property_type_t type) { in adapter_get_property()
69 bt_property_t* new_properties) { in adapter_properties()
112 void device_found(int num_properties, bt_property_t* property) { in device_found()
142 int num_properties, bt_property_t* properties) { in remote_device_properties()
192 static void parse_properties(int num_properties, bt_property_t* property) { in parse_properties()
Dbdtool.c66 bt_property_t* adapter_get_property(bt_property_type_t type);
119 bt_property_t* property = in main()
168 bt_property_t* property = adapter_get_property(BT_PROPERTY_BDNAME); in main()
180 bt_property_t* property = property_new_name(bd_name); in main()
206 bt_property_t* property = in main()
/system/bt/service/hal/
Dfake_bluetooth_interface.cc36 int FakeHALSetAdapterProperty(const bt_property_t* /* property */) { in FakeHALSetAdapterProperty() argument
94 int num_properties, bt_property_t* properties) { in NotifyAdapterPropertiesChanged()
107 bt_property_t property; in NotifyAdapterNamePropertyChanged()
117 bt_property_t property; in NotifyAdapterAddressPropertyChanged()
127 bt_property_t property; in NotifyAdapterLocalLeFeaturesPropertyChanged()
Dbluetooth_interface.h55 bt_property_t* properties);
59 bt_property_t* properties);
Dbluetooth_interface.cc76 bt_property_t* properties) { in AdapterPropertiesCallback()
88 bt_property_t* properties) { in RemoteDevicePropertiesCallback()
318 bt_property_t* /* properties */) { in AdapterPropertiesCallback() argument
324 int /* num_properties */, bt_property_t* /* properties */) { in RemoteDevicePropertiesCallback() argument
Dfake_bluetooth_interface.h52 bt_property_t* properties);
/system/bt/btif/src/
Dbtif_core.cc97 bt_property_t prop;
401 bt_property_t prop; in btif_enable_bluetooth_evt()
593 bt_property_t properties[6]; in btif_in_get_adapter_properties()
654 bt_property_t remote_properties[8]; in btif_in_get_remote_device_properties()
718 bt_property_t* p_prop = &(p_req->write_req.prop); in execute_storage_request()
729 bt_property_t prop; in execute_storage_request()
785 bt_property_t prop; in execute_storage_remote_request()
815 bt_property_t* p_props) { in btif_adapter_properties_evt()
819 uint32_t num_props, bt_property_t* p_props) { in btif_remote_properties_evt()
916 bt_status_t btif_set_adapter_property(const bt_property_t* property) { in btif_set_adapter_property()
[all …]
Dbtif_storage.cc181 static int prop2cfg(bt_bdaddr_t* remote_bd_addr, bt_property_t* prop) { in prop2cfg()
267 static int cfg2prop(bt_bdaddr_t* remote_bd_addr, bt_property_t* prop) { in cfg2prop()
546 bt_status_t btif_storage_get_adapter_property(bt_property_t* property) { in btif_storage_get_adapter_property()
642 bt_status_t btif_storage_set_adapter_property(bt_property_t* property) { in btif_storage_set_adapter_property()
660 bt_property_t* property) { in btif_storage_get_remote_device_property()
676 bt_property_t* property) { in btif_storage_set_remote_device_property()
695 bt_property_t* properties) { in btif_storage_add_remote_device()
706 bt_property_t addr_prop; in btif_storage_add_remote_device()
707 memcpy(&addr_prop, &properties[i], sizeof(bt_property_t)); in btif_storage_add_remote_device()
794 bt_property_t adapter_props[6]; in btif_storage_load_bonded_devices()
[all …]
Dbtif_dm.cc390 bt_property_t prop_name; in check_cached_remote_name()
410 bt_property_t prop_name; in get_cod()
434 bt_property_t prop_name; in check_hid_le()
465 bt_property_t prop_name; in check_sdp_bl()
525 bt_property_t property; in btif_update_remote_version_property()
559 bt_property_t properties[3]; in btif_update_remote_properties()
605 bt_property_t prop_name; in btif_update_remote_properties()
1108 bt_property_t prop; in btif_dm_auth_cmpl_evt()
1225 bt_property_t properties[1]; in btif_dm_search_devices_evt()
1274 bt_property_t properties[5]; in btif_dm_search_devices_evt()
[all …]
Dbluetooth.cc185 static int set_adapter_property(const bt_property_t* property) { in set_adapter_property()
208 const bt_property_t* property) { in set_remote_device_property()
Dbtif_ble_scanner.cc150 bt_property_t properties; in bta_scan_results_cb_impl()
Dbtif_hh.cc967 bt_property_t prop_name; in btif_hh_upstreams_evt()
/system/bt/test/suite/rfcomm/
Drfcomm_test.cc46 bt_property_t* bonded_devices_prop = in SetUp()
57 bt_property_t* uuid_prop = in SetUp()
/system/bt/service/
Dadapter.cc255 bt_property_t* properties) override { in AdapterPropertiesCallback()
264 bt_property_t* property = properties + i; in AdapterPropertiesCallback()
343 bt_property_t property; in SetAdapterProperty()