Home
last modified time | relevance | path

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

/system/bt/btcore/include/
Dproperty.h30 bt_property_t* property_copy_array(const bt_property_t* properties,
35 bt_property_t* property_copy(bt_property_t* dest, const bt_property_t* src);
39 bool property_equals(const bt_property_t* p1, const bt_property_t* p2);
45 bt_property_t* property_new_addr(const RawAddress* addr);
46 bt_property_t* property_new_device_class(const bt_device_class_t* dc);
47 bt_property_t* property_new_device_type(bt_device_type_t device_type);
48 bt_property_t* property_new_discovery_timeout(const uint32_t timeout);
49 bt_property_t* property_new_name(const char* name);
50 bt_property_t* property_new_rssi(const int8_t rssi);
51 bt_property_t* property_new_scan_mode(bt_scan_mode_t scan_mode);
[all …]
/system/bt/btcore/src/
Dproperty.cc28 static bt_property_t* property_new_(void* val, size_t len,
31 bt_property_t* property_copy_array(const bt_property_t* properties, in property_copy_array()
34 bt_property_t* clone = in property_copy_array()
35 static_cast<bt_property_t*>(osi_calloc(sizeof(bt_property_t) * count)); in property_copy_array()
37 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); in property_copy_array()
46 bt_property_t* property_copy(bt_property_t* dest, const bt_property_t* src) { in property_copy()
49 return (bt_property_t*)memcpy(dest, src, sizeof(bt_property_t)); in property_copy()
52 bool property_equals(const bt_property_t* p1, const bt_property_t* p2) { in property_equals()
68 const bt_property_t *shorter = p1, *longer = p2; in property_equals()
80 bt_property_t* property_new_addr(const RawAddress* addr) { in property_new_addr()
[all …]
/system/bt/btcore/test/
Dproperty_test.cc31 bt_property_t* property = property_new_addr(&addr0); in TEST_F()
50 bt_property_t* property = property_new_device_class(&dc0); in TEST_F()
67 bt_property_t* property = property_new_device_type(dt0); in TEST_F()
81 bt_property_t* property = property_new_discovery_timeout(timeout0); in TEST_F()
95 bt_property_t* property = property_new_name(name0); in TEST_F()
109 bt_property_t* property = property_new_rssi(rssi0); in TEST_F()
123 bt_property_t* property = property_new_scan_mode(mode0); in TEST_F()
140 bt_property_t* property = property_new_uuids(&uuid0, 1); in TEST_F()
166 bt_property_t* property0 = in TEST_F()
169 bt_property_t property1; in TEST_F()
[all …]
/system/bt/test/suite/adapter/
Dbluetooth_test.h54 bt_property_t* GetProperty(bt_property_type_t type);
57 bt_property_t* GetRemoteDeviceProperty(const RawAddress* addr,
81 bt_property_t* properties) override;
87 bt_property_t* properties) override;
108 bt_property_t* last_changed_properties_;
111 bt_property_t* remote_device_last_changed_properties_;
Dbluetooth_test.cc82 bt_property_t* BluetoothTest::GetProperty(bt_property_type_t type) { in GetProperty()
91 bt_property_t* BluetoothTest::GetRemoteDeviceProperty(const RawAddress* addr, in GetRemoteDeviceProperty()
121 bt_property_t* new_properties) { in AdapterPropertiesCallback()
133 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()
99 bt_property_t* old_name_property = property_new_name(old_name.c_str()); in TEST_F()
/system/bt/btif/include/
Dbtif_storage.h55 bt_status_t btif_storage_get_adapter_property(bt_property_t* property);
68 bt_status_t btif_storage_set_adapter_property(bt_property_t* property);
84 const RawAddress* remote_bd_addr, bt_property_t* property);
98 const RawAddress* remote_bd_addr, bt_property_t* property);
114 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.h209 bt_property_t* p_props);
211 uint32_t num_props, bt_property_t* p_props);
/system/bt/tools/bdtool/
Dadapter.c26 static bt_property_t* properties = NULL;
31 static void parse_properties(int num_properties, bt_property_t* property);
40 bt_property_t* adapter_get_property(bt_property_type_t type) { in adapter_get_property()
68 bt_property_t* new_properties) { in adapter_properties()
111 void device_found(int num_properties, bt_property_t* property) { in device_found()
141 int num_properties, bt_property_t* properties) { in remote_device_properties()
190 static void parse_properties(int num_properties, bt_property_t* property) { in parse_properties()
Dbdtool.c65 bt_property_t* adapter_get_property(bt_property_type_t type);
118 bt_property_t* property = in main()
167 bt_property_t* property = adapter_get_property(BT_PROPERTY_BDNAME); in main()
179 bt_property_t* property = property_new_name(bd_name); in main()
205 bt_property_t* property = in main()
/system/bt/service/hal/
Dfake_bluetooth_interface.cc36 int FakeHALSetAdapterProperty(const bt_property_t* /* property */) { in FakeHALSetAdapterProperty() argument
98 int num_properties, bt_property_t* properties) { in NotifyAdapterPropertiesChanged()
112 bt_property_t property; in NotifyAdapterNamePropertyChanged()
122 bt_property_t property; in NotifyAdapterAddressPropertyChanged()
132 bt_property_t property; in NotifyAdapterLocalLeFeaturesPropertyChanged()
Dbluetooth_interface.h55 bt_property_t* properties);
59 bt_property_t* properties);
Dbluetooth_interface.cc78 bt_property_t* properties) { in AdapterPropertiesCallback()
90 bt_property_t* properties) { in RemoteDevicePropertiesCallback()
302 bt_property_t* /* properties */) { in AdapterPropertiesCallback() argument
308 int /* num_properties */, bt_property_t* /* properties */) { in RemoteDevicePropertiesCallback() argument
Dfake_bluetooth_interface.h52 bt_property_t* properties);
/system/bt/include/hardware/
Dbluetooth.h251 } bt_property_t; typedef
304 bt_property_t* properties);
313 bt_property_t* properties);
319 bt_property_t* properties);
469 int (*set_adapter_property)(const bt_property_t* property);
480 const bt_property_t* property);
/system/bt/btif/src/
Dbtif_core.cc102 bt_property_t prop;
425 bt_property_t prop; in btif_enable_bluetooth_evt()
623 bt_property_t properties[6]; in btif_in_get_adapter_properties()
684 bt_property_t remote_properties[8]; in btif_in_get_remote_device_properties()
748 bt_property_t* p_prop = &(p_req->write_req.prop); in execute_storage_request()
759 bt_property_t prop; in execute_storage_request()
815 bt_property_t prop; in execute_storage_remote_request()
845 bt_property_t* p_props) { in btif_adapter_properties_evt()
849 uint32_t num_props, bt_property_t* p_props) { in btif_remote_properties_evt()
945 bt_status_t btif_set_adapter_property(const bt_property_t* property) { in btif_set_adapter_property()
[all …]
Dbtif_storage.cc186 static int prop2cfg(const RawAddress* remote_bd_addr, bt_property_t* prop) { in prop2cfg()
275 static int cfg2prop(const RawAddress* remote_bd_addr, bt_property_t* prop) { in cfg2prop()
559 bt_status_t btif_storage_get_adapter_property(bt_property_t* property) { in btif_storage_get_adapter_property()
658 bt_status_t btif_storage_set_adapter_property(bt_property_t* property) { in btif_storage_set_adapter_property()
676 const RawAddress* remote_bd_addr, bt_property_t* property) { in btif_storage_get_remote_device_property()
692 const RawAddress* remote_bd_addr, bt_property_t* property) { in btif_storage_set_remote_device_property()
711 bt_property_t* properties) { in btif_storage_add_remote_device()
722 bt_property_t addr_prop; in btif_storage_add_remote_device()
723 memcpy(&addr_prop, &properties[i], sizeof(bt_property_t)); in btif_storage_add_remote_device()
851 bt_property_t adapter_props[6]; in btif_storage_load_bonded_devices()
[all …]
Dbtif_dm.cc389 bt_property_t prop_name; in check_cached_remote_name()
409 bt_property_t prop_name; in get_cod()
433 bt_property_t prop_name; in check_hid_le()
463 bt_property_t prop_name; in check_sdp_bl()
521 bt_property_t property; in btif_update_remote_version_property()
552 bt_property_t properties[3]; in btif_update_remote_properties()
596 bt_property_t prop_name; in btif_update_remote_properties()
1102 bt_property_t prop; in btif_dm_auth_cmpl_evt()
1227 bt_property_t properties[1]; in btif_dm_search_devices_evt()
1273 bt_property_t properties[5]; in btif_dm_search_devices_evt()
[all …]
Dbluetooth.cc192 static int set_adapter_property(const bt_property_t* property) { in set_adapter_property()
215 const bt_property_t* property) { in set_remote_device_property()
Dbtif_ble_scanner.cc113 bt_property_t properties; in bta_scan_results_cb_impl()
Dbtif_hh.cc950 bt_property_t prop_name; in btif_hh_upstreams_evt()
/system/bt/test/suite/rfcomm/
Drfcomm_test.cc42 bt_property_t* bonded_devices_prop = in SetUp()
52 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()
/system/bt/tools/mcap_tool/
Dmcap_tool.cc396 bt_property_t property = {BT_PROPERTY_ADAPTER_DISCOVERY_TIMEOUT, 4, &V1}; in adapter_state_changed()
397 bt_property_t property1 = {BT_PROPERTY_ADAPTER_SCAN_MODE, 2, &V2}; in adapter_state_changed()
398 bt_property_t property2 = {BT_PROPERTY_BDNAME, 6, (void*)"Fluoride_Test"}; in adapter_state_changed()
413 bt_property_t* properties) { in adapter_properties_changed()