/aosp12/system/bt/btcore/include/ |
H A D | property.h | 30 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); 49 bt_property_t* property_new_name(const char* name); 50 bt_property_t* property_new_rssi(const int8_t rssi); 55 void property_free(bt_property_t* property); 61 bool property_is_addr(const bt_property_t* property); 65 bool property_is_name(const bt_property_t* property); 66 bool property_is_rssi(const bt_property_t* property); 68 bool property_is_uuids(const bt_property_t* property); [all …]
|
/aosp12/system/bt/btcore/src/ |
H A D | property.cc | 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() 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() 106 bt_property_t* property_new_rssi(int8_t rssi) { in property_new_rssi() 120 void property_free(bt_property_t* property) { in property_free() 181 const bt_property_t* property) { in property_as_device_class() 219 bt_property_t* property = in property_new_() [all …]
|
/aosp12/system/bt/btcore/test/ |
H A D | property_test.cc | 31 bt_property_t* property = property_new_addr(&addr0); in TEST_F() 67 bt_property_t* property = property_new_device_type(dt0); 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() 166 bt_property_t* property0 = in TEST_F() 169 bt_property_t property1; in TEST_F() 193 bt_property_t* property0 = property_new_addr(&addr); in TEST_F() 194 bt_property_t* property1 = property_new_addr(&addr); in TEST_F() 217 bt_property_t* property0 = property_new_name(name0); in TEST_F() 220 bt_property_t* property1 = property_new_name(name1); in TEST_F() [all …]
|
/aosp12/system/bt/test/suite/adapter/ |
H A D | bluetooth_test.h | 54 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_;
|
H A D | bluetooth_test.cc | 88 bt_property_t* BluetoothTest::GetProperty(bt_property_type_t type) { in GetProperty() 97 bt_property_t* BluetoothTest::GetRemoteDeviceProperty(const RawAddress* addr, in GetRemoteDeviceProperty() 127 bt_property_t* new_properties) { in AdapterPropertiesCallback() 139 bt_property_t* properties) { in RemoteDevicePropertiesCallback()
|
H A D | adapter_unittest.cc | 64 bt_property_t* new_name = property_new_name("BluetoothTestName1"); in TEST_F() 80 bt_property_t* name_property = GetProperty(BT_PROPERTY_BDNAME); in TEST_F() 100 bt_property_t* old_name_property = property_new_name(old_name.c_str()); in TEST_F()
|
/aosp12/system/bt/test/mock/ |
H A D | mock_btif_core.cc | 65 bt_property_t* property_deep_copy(const bt_property_t* prop) { in property_deep_copy() 112 bt_property_t* p_props) { in btif_adapter_properties_evt() 141 uint32_t num_props, bt_property_t* p_props) { in btif_remote_properties_evt() 144 void btif_set_adapter_property(bt_property_t* property) { in btif_set_adapter_property() 148 bt_property_t* property) { in btif_set_remote_device_property()
|
H A D | mock_btif_storage.cc | 89 bt_property_t* properties) { in btif_storage_add_remote_device() 93 bt_status_t btif_storage_get_adapter_property(bt_property_t* property) { in btif_storage_get_adapter_property() 115 const RawAddress* remote_bd_addr, bt_property_t* property) { in btif_storage_get_remote_device_property() 153 bt_status_t btif_storage_set_adapter_property(bt_property_t* property) { in btif_storage_set_adapter_property() 167 const RawAddress* remote_bd_addr, bt_property_t* property) { in btif_storage_set_remote_device_property()
|
/aosp12/system/bt/btif/include/ |
H A D | btif_api.h | 142 bt_property_t* property_deep_copy(const bt_property_t* prop); 161 void btif_set_adapter_property(bt_property_t* property); 192 bt_property_t* property); 309 bt_status_t btif_dm_get_adapter_property(bt_property_t* prop);
|
H A D | btif_storage.h | 56 bt_status_t btif_storage_get_adapter_property(bt_property_t* property); 69 bt_status_t btif_storage_set_adapter_property(bt_property_t* property); 85 const RawAddress* remote_bd_addr, bt_property_t* property); 99 const RawAddress* remote_bd_addr, bt_property_t* property); 141 bt_property_t* properties);
|
H A D | btif_common.h | 184 bt_property_t* p_props); 186 uint32_t num_props, bt_property_t* p_props); 199 bt_property_t* properties); 202 bt_property_t* properties); 203 void invoke_device_found_cb(int num_properties, bt_property_t* properties);
|
/aosp12/system/bt/btif/src/ |
H A D | btif_core.cc | 286 bt_property_t prop; in btif_enable_bluetooth_evt() 392 bt_property_t properties[NUM_ADAPTER_PROPERTIES]; in btif_in_get_adapter_properties() 465 bt_property_t remote_properties[8]; in btif_in_get_remote_device_properties() 522 bt_property_t* p_props) { in btif_adapter_properties_evt() 557 bt_property_t prop; in btif_get_adapter_property() 635 bt_property_t* property_deep_copy(const bt_property_t* prop) { in property_deep_copy() 636 bt_property_t* copy = in property_deep_copy() 637 (bt_property_t*)osi_calloc(sizeof(bt_property_t) + prop->len); in property_deep_copy() 656 void btif_set_adapter_property(bt_property_t* property) { in btif_set_adapter_property() 722 bt_property_t prop; in btif_get_remote_device_property() [all …]
|
H A D | bluetooth.cc | 230 static int set_adapter_property(const bt_property_t* property) { in set_adapter_property() 246 [](bt_property_t* property) { in set_adapter_property() 272 const bt_property_t* property) { in set_remote_device_property() 620 bt_property_t* property_deep_copy_array(int num_properties, in property_deep_copy_array() 621 bt_property_t* properties) { in property_deep_copy_array() 622 bt_property_t* copy = nullptr; in property_deep_copy_array() 632 copy = (bt_property_t*)osi_calloc((sizeof(bt_property_t) * num_properties) + in property_deep_copy_array() 661 bt_property_t* properties) { in invoke_adapter_properties_cb() 665 bt_property_t* properties) { in invoke_adapter_properties_cb() 678 bt_property_t* properties) { in invoke_remote_device_properties_cb() [all …]
|
H A D | btif_storage.cc | 564 bt_property_t property; in btif_storage_get_io_cap_property() 620 bt_status_t btif_storage_get_adapter_property(bt_property_t* property) { in btif_storage_get_adapter_property() 719 bt_status_t btif_storage_set_adapter_property(bt_property_t* property) { in btif_storage_set_adapter_property() 737 const RawAddress* remote_bd_addr, bt_property_t* property) { in btif_storage_get_remote_device_property() 753 const RawAddress* remote_bd_addr, bt_property_t* property) { in btif_storage_set_remote_device_property() 772 bt_property_t* properties) { in btif_storage_add_remote_device() 783 bt_property_t addr_prop; in btif_storage_add_remote_device() 784 memcpy(&addr_prop, &properties[i], sizeof(bt_property_t)); in btif_storage_add_remote_device() 917 bt_property_t adapter_props[6]; in btif_storage_load_bonded_devices() 919 bt_property_t remote_properties[8]; in btif_storage_load_bonded_devices() [all …]
|
/aosp12/system/bt/tools/bdtool/ |
H A D | adapter.c | 26 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()
|
H A D | bdtool.c | 65 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()
|
/aosp12/system/bt/service/hal/ |
H A D | fake_bluetooth_interface.cc | 36 int FakeHALSetAdapterProperty(const bt_property_t* /* property */) { in FakeHALSetAdapterProperty() argument 102 int num_properties, bt_property_t* properties) { in NotifyAdapterPropertiesChanged() 116 bt_property_t property; in NotifyAdapterNamePropertyChanged() 126 bt_property_t property; in NotifyAdapterAddressPropertyChanged() 136 bt_property_t property; in NotifyAdapterLocalLeFeaturesPropertyChanged()
|
H A D | bluetooth_interface.cc | 79 bt_property_t* properties) { in AdapterPropertiesCallback() 91 bt_property_t* properties) { in RemoteDevicePropertiesCallback() 102 void DeviceFoundCallback(int num_properties, bt_property_t* properties) { in DeviceFoundCallback() 330 bt_property_t* /* properties */) { in AdapterPropertiesCallback() argument 336 int /* num_properties */, bt_property_t* /* properties */) { in RemoteDevicePropertiesCallback() argument 341 int /* num_properties */, bt_property_t* /* properties */) { in DeviceFoundCallback() argument
|
H A D | bluetooth_interface.h | 55 bt_property_t* properties); 59 bt_property_t* properties); 61 bt_property_t* properties);
|
/aosp12/system/bt/gd/rust/topshim/btif/ |
H A D | btif_shim.cc | 40 static ::rust::Vec<BtProperty> prop_to_vec(int num_properties, bt_property_t* properties) { in prop_to_vec() 85 static void adapter_properties_cb(bt_status_t status, int num_properties, bt_property_t* properties… in adapter_properties_cb() 91 bt_status_t status, RawAddress* bd_addr, int num_properties, bt_property_t* properties) { in remote_device_properties_cb() 98 static void device_found_cb(int num_properties, bt_property_t* properties) { in device_found_cb() 240 static bt_property_t convert_to_cprop(const BtProperty& prop) { in convert_to_cprop() 241 bt_property_t c_prop = { in convert_to_cprop() 251 bt_property_t c_prop = convert_to_cprop(prop); in SetAdapterProperty() 269 bt_property_t c_prop = convert_to_cprop(prop); in SetRemoteDeviceProperty()
|
/aosp12/hardware/libhardware/include/hardware/ |
H A D | bluetooth.h | 259 } bt_property_t; typedef 321 bt_property_t *properties); 330 bt_property_t *properties); 336 bt_property_t *properties); 486 int (*set_adapter_property)(const bt_property_t *property); 497 const bt_property_t *property);
|
/aosp12/system/bt/include/hardware/ |
H A D | bluetooth.h | 335 } bt_property_t; typedef 398 bt_property_t* properties); 407 bt_property_t* properties); 413 bt_property_t* properties); 586 int (*set_adapter_property)(const bt_property_t* property); 597 const bt_property_t* property);
|
/aosp12/system/bt/service/ |
H A D | adapter.cc | 49 bt_property_t* properties) { in ParseRemoteDeviceProps() 58 bt_property_t* property = properties + i; in ParseRemoteDeviceProps() 525 bt_property_t* properties) override { in AdapterPropertiesCallback() 532 bt_property_t* property = properties + i; in AdapterPropertiesCallback() 544 bt_property_t* property = properties + i; in AdapterPropertiesCallback() 611 bt_property_t* properties) override { in RemoteDevicePropertiesCallback() 635 bt_property_t* properties) override { in DeviceFoundCallback() 722 bt_property_t property; in SetAdapterProperty()
|
/aosp12/system/bt/btif/test/ |
H A D | btif_stack_test.cc | 58 bt_property_t* properties) { in adapter_properties() 63 int num_properties, bt_property_t* properties) { in remote_device_properties() 67 void device_found(int num_properties, bt_property_t* properties) { in device_found()
|
/aosp12/system/bt/test/suite/rfcomm/ |
H A D | rfcomm_test.cc | 42 bt_property_t* bonded_devices_prop = in SetUp() 52 bt_property_t* uuid_prop = in SetUp()
|