/system/bt/btcore/include/ |
D | property.h | 29 bt_property_t *property_copy_array(const bt_property_t *properties, size_t count); 33 bt_property_t *property_copy(bt_property_t *dest, const bt_property_t *src); 37 bool property_equals(const bt_property_t *p1, const bt_property_t *p2); 43 bt_property_t *property_new_addr(const bt_bdaddr_t *addr); 44 bt_property_t *property_new_device_class(const bt_device_class_t *dc); 45 bt_property_t *property_new_device_type(bt_device_type_t device_type); 46 bt_property_t *property_new_discovery_timeout(const uint32_t timeout); 47 bt_property_t *property_new_name(const char *name); 48 bt_property_t *property_new_rssi(const int8_t rssi); 49 bt_property_t *property_new_scan_mode(bt_scan_mode_t scan_mode); [all …]
|
/system/bt/btcore/src/ |
D | property.c | 27 static bt_property_t *property_new_(void *val, size_t len, bt_property_type_t type); 29 bt_property_t *property_copy_array(const bt_property_t *properties, size_t count) { in property_copy_array() 31 bt_property_t *clone = osi_calloc(sizeof(bt_property_t) * count); in property_copy_array() 33 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); in property_copy_array() 42 bt_property_t *property_copy(bt_property_t *dest, const bt_property_t *src) { in property_copy() 45 return (bt_property_t *)memcpy(dest, src, sizeof(bt_property_t)); in property_copy() 48 bool property_equals(const bt_property_t *p1, const bt_property_t *p2) { in property_equals() 64 const bt_property_t *shorter = p1, *longer = p2; in property_equals() 75 bt_property_t *property_new_addr(const bt_bdaddr_t *addr) { in property_new_addr() 80 bt_property_t *property_new_device_class(const bt_device_class_t *dc) { in property_new_device_class() [all …]
|
/system/bt/btcore/test/ |
D | property_test.cpp | 31 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() 144 bt_property_t *property = property_new_uuids(&uuid0, 1); in TEST_F() 174 bt_property_t *property0 = property_new_uuids(uuids, sizeof(bt_uuid_t)/sizeof(uuids)); in TEST_F() 176 bt_property_t property1; in TEST_F() [all …]
|
/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); 45 bt_property_t *adapter_get_property(bt_property_type_t type) { in adapter_get_property() 79 bt_property_t *new_properties) { in adapter_properties() 122 void device_found(int num_properties, bt_property_t *property) { in device_found() 154 bt_property_t *properties) { in remote_device_properties() 207 static void parse_properties(int num_properties, bt_property_t *property) { in parse_properties()
|
D | bdtool.c | 69 bt_property_t *adapter_get_property(bt_property_type_t type); 120 bt_property_t *property = property_new_scan_mode(BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE); in main() 162 bt_property_t *property = adapter_get_property(BT_PROPERTY_BDNAME); in main() 174 bt_property_t *property = property_new_name(bd_name); in main() 197 bt_property_t *property = property_new_scan_mode(BT_SCAN_MODE_CONNECTABLE_DISCOVERABLE); in main()
|
/system/bt/btif/include/ |
D | btif_storage.h | 50 bt_status_t btif_storage_get_adapter_property(bt_property_t *property); 63 bt_status_t btif_storage_set_adapter_property(bt_property_t *property); 79 bt_property_t *property); 93 bt_property_t *property); 109 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); 320 bt_status_t btif_dm_get_adapter_property(bt_property_t *prop);
|
D | btif_common.h | 213 void btif_adapter_properties_evt(bt_status_t status, uint32_t num_props, bt_property_t *p_props); 215 uint32_t num_props, bt_property_t *p_props);
|
/system/bt/service/hal/ |
D | fake_bluetooth_interface.cpp | 38 int FakeHALSetAdapterProperty(const bt_property_t* /* property */) { in FakeHALSetAdapterProperty() argument 99 bt_property_t* properties) { in NotifyAdapterPropertiesChanged() 113 bt_property_t property; in NotifyAdapterNamePropertyChanged() 123 bt_property_t property; in NotifyAdapterAddressPropertyChanged() 133 bt_property_t property; in NotifyAdapterLocalLeFeaturesPropertyChanged()
|
D | bluetooth_interface.h | 55 bt_property_t* properties); 59 bt_property_t* properties);
|
D | bluetooth_interface.cpp | 77 bt_property_t* properties) { in AdapterPropertiesCallback() 89 bt_property_t* properties) { in RemoteDevicePropertiesCallback() 336 bt_property_t* /* properties */) { in AdapterPropertiesCallback() argument 344 bt_property_t* /* properties */) { in RemoteDevicePropertiesCallback() argument
|
D | fake_bluetooth_interface.h | 52 bt_property_t* properties);
|
/system/bt/test/suite/adapter/ |
D | bluetooth_test.h | 60 bt_property_t* GetProperty(bt_property_type_t type); 85 bt_property_t *properties); 105 bt_property_t *last_changed_properties_;
|
D | adapter_unittest.cpp | 66 bt_property_t *new_name = property_new_name("BluetoothTestName1"); in TEST_F() 82 bt_property_t *name_property = GetProperty(BT_PROPERTY_BDNAME); in TEST_F() 102 bt_property_t *old_name_property = property_new_name(old_name.c_str()); in TEST_F()
|
D | bluetooth_test.cpp | 85 bt_property_t* BluetoothTest::GetProperty(bt_property_type_t type) { in GetProperty() 117 bt_property_t* new_properties) { in AdapterPropertiesCallback()
|
/system/bt/btif/src/ |
D | btif_core.c | 93 bt_property_t prop; 480 bt_property_t prop; in btif_enable_bluetooth_evt() 703 bt_property_t properties[6]; in btif_in_get_adapter_properties() 758 bt_property_t remote_properties[8]; in btif_in_get_remote_device_properties() 824 bt_property_t *p_prop = &(p_req->write_req.prop); in execute_storage_request() 836 bt_property_t prop; in execute_storage_request() 895 bt_property_t prop; in execute_storage_remote_request() 929 bt_property_t *p_props) in btif_adapter_properties_evt() 936 uint32_t num_props, bt_property_t *p_props) in btif_remote_properties_evt() 1037 bt_status_t btif_set_adapter_property(const bt_property_t *property) in btif_set_adapter_property() [all …]
|
D | btif_storage.c | 174 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() 579 bt_status_t btif_storage_get_adapter_property(bt_property_t *property) in btif_storage_get_adapter_property() 682 bt_status_t btif_storage_set_adapter_property(bt_property_t *property) in btif_storage_set_adapter_property() 701 bt_property_t *property) in btif_storage_get_remote_device_property() 717 bt_property_t *property) in btif_storage_set_remote_device_property() 736 bt_property_t *properties) in btif_storage_add_remote_device() 750 bt_property_t addr_prop; in btif_storage_add_remote_device() 751 memcpy(&addr_prop, &properties[i], sizeof(bt_property_t)); in btif_storage_add_remote_device() 848 bt_property_t adapter_props[6]; in btif_storage_load_bonded_devices() [all …]
|
D | btif_dm.c | 415 bt_property_t prop_name; in check_cached_remote_name() 437 bt_property_t prop_name; in get_cod() 464 bt_property_t prop_name; in check_hid_le() 499 bt_property_t prop_name; in check_sdp_bl() 569 bt_property_t property; in btif_update_remote_version_property() 602 bt_property_t properties[3]; in btif_update_remote_properties() 644 bt_property_t prop_name; in btif_update_remote_properties() 1173 bt_property_t prop; in btif_dm_auth_cmpl_evt() 1306 bt_property_t properties[1]; in btif_dm_search_devices_evt() 1364 bt_property_t properties[5]; in btif_dm_search_devices_evt() [all …]
|
D | bluetooth.c | 190 static int set_adapter_property(const bt_property_t *property) in set_adapter_property() 217 int set_remote_device_property(bt_bdaddr_t *remote_addr, const bt_property_t *property) in set_remote_device_property()
|
D | btif_hh.c | 915 bt_property_t prop_name; in btif_hh_upstreams_evt()
|
D | btif_gatt_client.c | 578 bt_property_t properties; in btif_gattc_upstreams_evt()
|
/system/bt/service/ |
D | adapter.cpp | 252 bt_property_t* properties) override { in AdapterPropertiesCallback() 261 bt_property_t* property = properties + i; in AdapterPropertiesCallback() 335 bt_property_t property; in SetAdapterProperty()
|