/system/bt/btcore/include/ |
D | property.h | 29 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/ |
D | property.cc | 27 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/ |
D | property_test.cc | 29 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/ |
D | bluetooth_test.h | 55 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_;
|
D | bluetooth_test.cc | 83 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()
|
D | adapter_unittest.cc | 63 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/ |
D | btif_storage.h | 54 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);
|
D | btif_api.h | 138 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);
|
D | btif_common.h | 237 bt_property_t* p_props); 239 uint32_t num_props, bt_property_t* p_props);
|
/system/bt/tools/bdtool/ |
D | adapter.c | 27 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()
|
D | bdtool.c | 66 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/ |
D | fake_bluetooth_interface.cc | 36 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()
|
D | bluetooth_interface.h | 55 bt_property_t* properties); 59 bt_property_t* properties);
|
D | bluetooth_interface.cc | 76 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
|
D | fake_bluetooth_interface.h | 52 bt_property_t* properties);
|
/system/bt/btif/src/ |
D | btif_core.cc | 97 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 …]
|
D | btif_storage.cc | 181 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 …]
|
D | btif_dm.cc | 390 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 …]
|
D | bluetooth.cc | 185 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()
|
D | btif_ble_scanner.cc | 150 bt_property_t properties; in bta_scan_results_cb_impl()
|
D | btif_hh.cc | 967 bt_property_t prop_name; in btif_hh_upstreams_evt()
|
/system/bt/test/suite/rfcomm/ |
D | rfcomm_test.cc | 46 bt_property_t* bonded_devices_prop = in SetUp() 57 bt_property_t* uuid_prop = in SetUp()
|
/system/bt/service/ |
D | adapter.cc | 255 bt_property_t* properties) override { in AdapterPropertiesCallback() 264 bt_property_t* property = properties + i; in AdapterPropertiesCallback() 343 bt_property_t property; in SetAdapterProperty()
|