/packages/modules/Bluetooth/system/tools/bdtool/ |
D | adapter.c | 34 static void parse_properties(int num_properties, bt_property_t* property); 70 void adapter_properties(bt_status_t status, int num_properties, in adapter_properties() argument 73 properties = property_copy_array(new_properties, num_properties); in adapter_properties() 74 property_count = num_properties; in adapter_properties() 114 void device_found(int num_properties, bt_property_t* property) { in device_found() argument 115 fprintf(stdout, "Device found num_properties:%d\n", num_properties); in device_found() 116 parse_properties(num_properties, property); in device_found() 144 int num_properties, bt_property_t* properties) { in remote_device_properties() argument 147 bdaddr_to_string(bdaddr, buf, sizeof(buf)), num_properties); in remote_device_properties() 149 parse_properties(num_properties, properties); in remote_device_properties() [all …]
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_iot_config.cc | 72 int num_properties = 0; in btif_iot_update_remote_info() local 97 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], in btif_iot_update_remote_info() 100 &properties[num_properties]) == in btif_iot_update_remote_info() 109 num_properties++; in btif_iot_update_remote_info() 114 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], in btif_iot_update_remote_info() 118 &properties[num_properties]) == in btif_iot_update_remote_info()
|
D | bluetooth.cc | 1141 bt_property_t* property_deep_copy_array(int num_properties, in property_deep_copy_array() argument 1144 if (num_properties > 0) { in property_deep_copy_array() 1146 for (int i = 0; i < num_properties; i++) { in property_deep_copy_array() 1153 copy = (bt_property_t*)osi_calloc((sizeof(bt_property_t) * num_properties) + in property_deep_copy_array() 1156 uint8_t* content = (uint8_t*)(copy + num_properties); in property_deep_copy_array() 1158 for (int i = 0; i < num_properties; i++) { in property_deep_copy_array() 1182 void invoke_adapter_properties_cb(bt_status_t status, int num_properties, in invoke_adapter_properties_cb() argument 1186 [](bt_status_t status, int num_properties, in invoke_adapter_properties_cb() 1189 num_properties, properties); in invoke_adapter_properties_cb() 1194 status, num_properties, in invoke_adapter_properties_cb() [all …]
|
D | btif_dm.cc | 660 int num_properties = 0; in btif_update_remote_properties() local 670 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], BT_PROPERTY_BDNAME, in btif_update_remote_properties() 673 &bdaddr, &properties[num_properties]); in btif_update_remote_properties() 676 num_properties++; in btif_update_remote_properties() 684 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], in btif_update_remote_properties() 687 &bdaddr, &properties[num_properties]); in btif_update_remote_properties() 697 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], in btif_update_remote_properties() 701 &properties[num_properties]); in btif_update_remote_properties() 704 num_properties++; in btif_update_remote_properties() 718 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], in btif_update_remote_properties() [all …]
|
D | btif_storage.cc | 791 uint32_t num_properties, in btif_storage_add_remote_device() argument 796 for (i = 0; i < num_properties; i++) { in btif_storage_add_remote_device()
|
/packages/modules/Bluetooth/system/test/suite/adapter/ |
D | bluetooth_test.cc | 50 void AdapterPropertiesCallback(bt_status_t status, int num_properties, in AdapterPropertiesCallback() argument 55 property_copy_array(new_properties, num_properties); in AdapterPropertiesCallback() 56 instance->properties_changed_count_ = num_properties; in AdapterPropertiesCallback() 62 int num_properties, in RemoteDevicePropertiesCallback() argument 68 property_copy_array(properties, num_properties); in RemoteDevicePropertiesCallback() 69 instance->remote_device_properties_changed_count_ = num_properties; in RemoteDevicePropertiesCallback()
|
D | bluetooth_test.h | 122 friend void AdapterPropertiesCallback(bt_status_t status, int num_properties, 128 int num_properties,
|
/packages/modules/Bluetooth/system/test/headless/ |
D | interface.h | 93 int num_properties, in remote_device_properties_params_t() 98 num_properties(num_properties), in remote_device_properties_params_t() 106 int num_properties; member 112 num_properties, properties); in ToString()
|
D | headless.cc | 79 [[maybe_unused]] int num_properties, in adapter_properties() argument 85 int num_properties, ::bt_property_t* properties) { in remote_device_properties() argument 94 num_properties, properties); in remote_device_properties() 102 num_properties, properties); in remote_device_properties() 105 void device_found([[maybe_unused]] int num_properties, in device_found() argument
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_bluetooth_interface.cc | 26 void invoke_adapter_properties_cb(bt_status_t status, int num_properties, in invoke_adapter_properties_cb() argument 29 int num_properties, in invoke_remote_device_properties_cb() argument 31 void invoke_device_found_cb(int num_properties, bt_property_t* properties) {} in invoke_device_found_cb() argument
|
D | mock_btif_storage.cc | 88 uint32_t num_properties, in btif_storage_add_remote_device() argument
|
/packages/modules/Bluetooth/system/test/headless/discovery/ |
D | discovery.cc | 78 for (int i = 0; i < params.num_properties; i++) { in start_discovery() 112 for (int i = 0; i < params.num_properties; i++) { in start_discovery() 147 for (int i = 0; i < params.num_properties; i++) { in start_discovery()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | core_callbacks.h | 32 void (*invoke_adapter_properties_cb)(bt_status_t status, int num_properties, 36 int num_properties, 38 void (*invoke_device_found_cb)(int num_properties, bt_property_t* properties);
|
D | btif_common.h | 204 void invoke_adapter_properties_cb(bt_status_t status, int num_properties, 207 int num_properties, 209 void invoke_device_found_cb(int num_properties, bt_property_t* properties);
|
D | btif_storage.h | 160 uint32_t num_properties,
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 114 static int get_properties(int num_properties, bt_property_t* properties, in get_properties() argument 116 for (int i = 0; i < num_properties; i++) { in get_properties() 132 static void adapter_properties_callback(bt_status_t status, int num_properties, in adapter_properties_callback() argument 143 ALOGV("%s: Status is: %d, Properties: %d", __func__, status, num_properties); in adapter_properties_callback() 152 (jbyteArray)sCallbackEnv->NewByteArray(num_properties)); in adapter_properties_callback() 166 sCallbackEnv->NewObjectArray(num_properties, mclass.get(), NULL)); in adapter_properties_callback() 173 sCallbackEnv.get(), (jintArray)sCallbackEnv->NewIntArray(num_properties)); in adapter_properties_callback() 181 if (get_properties(num_properties, properties, &typesPtr, &propsPtr) < 0) { in adapter_properties_callback() 192 int num_properties, in remote_device_properties_callback() argument 203 ALOGV("%s: Status is: %d, Properties: %d", __func__, status, num_properties); in remote_device_properties_callback() [all …]
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bluetooth.h | 478 int num_properties, 487 int num_properties, 493 typedef void (*device_found_callback)(int num_properties,
|
/packages/modules/Bluetooth/system/test/headless/scan/ |
D | scan.cc | 87 for (int i = 0; i < params.num_properties; ++i, prop++) { in start_scan()
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_core_test.cc | 60 void adapter_properties_callback(bt_status_t status, int num_properties, in adapter_properties_callback() argument 63 int num_properties, in remote_device_properties_callback() argument 65 void device_found_callback(int num_properties, bt_property_t* properties) {} in device_found_callback() argument
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 1042 num_properties: i32, in adapter_properties_changed() 1079 num_properties: i32, in remote_device_properties_changed() 1223 num_properties: i32, in adapter_properties_changed()
|