Home
last modified time | relevance | path

Searched refs:num_properties (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/system/test/headless/
Dinterface.h100 size_t num_properties() const { return property_queue_.size(); } in num_properties() function
104 int num_properties, in callback_params_with_properties_t()
107 for (int i = 0; i < num_properties; i++) { in callback_params_with_properties_t()
109 num_properties, fmt::ptr(&properties[i]), properties[i].type, in callback_params_with_properties_t()
176 adapter_properties_params_t(bt_status_t status, int num_properties, in adapter_properties_params_t()
180 num_properties, properties), in adapter_properties_params_t()
190 num_properties()); in ToString()
197 int num_properties, in remote_device_properties_params_t()
201 num_properties, properties), in remote_device_properties_params_t()
214 num_properties()); in ToString()
[all …]
Dheadless.cc80 void adapter_properties(bt_status_t status, int num_properties, in adapter_properties() argument
86 adapter_properties_params_t params(status, num_properties, properties); in adapter_properties()
91 num_callbacks, bt_status_text(status), num_properties, in adapter_properties()
96 int num_properties, ::bt_property_t* properties) { in remote_device_properties() argument
105 num_properties, properties); in remote_device_properties()
111 num_callbacks, bt_status_text(status), STR(*bd_addr), num_properties, in remote_device_properties()
116 void device_found(int num_properties, ::bt_property_t* properties) { in device_found() argument
122 device_found_params_t params(num_properties, properties); in device_found()
127 num_properties, fmt::ptr(properties)); in device_found()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_iot_config.cc77 int num_properties = 0; in btif_iot_update_remote_info() local
102 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], in btif_iot_update_remote_info()
105 &properties[num_properties]) == in btif_iot_update_remote_info()
114 num_properties++; in btif_iot_update_remote_info()
119 BTIF_STORAGE_FILL_PROPERTY(&properties[num_properties], in btif_iot_update_remote_info()
123 &properties[num_properties]) == in btif_iot_update_remote_info()
Dbluetooth.cc1229 bt_property_t* property_deep_copy_array(int num_properties, in property_deep_copy_array() argument
1232 if (num_properties > 0) { in property_deep_copy_array()
1234 for (int i = 0; i < num_properties; i++) { in property_deep_copy_array()
1241 copy = (bt_property_t*)osi_calloc((sizeof(bt_property_t) * num_properties) + in property_deep_copy_array()
1244 uint8_t* content = (uint8_t*)(copy + num_properties); in property_deep_copy_array()
1246 for (int i = 0; i < num_properties; i++) { in property_deep_copy_array()
1269 void invoke_adapter_properties_cb(bt_status_t status, int num_properties, in invoke_adapter_properties_cb() argument
1272 [](bt_status_t status, int num_properties, bt_property_t* properties) { in invoke_adapter_properties_cb() argument
1273 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, status, num_properties, in invoke_adapter_properties_cb()
1279 status, num_properties, in invoke_adapter_properties_cb()
[all …]
Dbtif_storage.cc772 uint32_t num_properties, in btif_storage_add_remote_device() argument
777 for (i = 0; i < num_properties; i++) { in btif_storage_add_remote_device()
Dbtif_dm.cc1445 uint32_t num_properties = 0; in btif_dm_search_devices_evt() local
/packages/modules/Bluetooth/system/test/suite/adapter/
Dbluetooth_test.cc49 void AdapterPropertiesCallback(bt_status_t status, int num_properties, in AdapterPropertiesCallback() argument
54 property_copy_array(new_properties, num_properties); in AdapterPropertiesCallback()
55 instance->properties_changed_count_ = num_properties; in AdapterPropertiesCallback()
61 int num_properties, in RemoteDevicePropertiesCallback() argument
67 property_copy_array(properties, num_properties); in RemoteDevicePropertiesCallback()
68 instance->remote_device_properties_changed_count_ = num_properties; in RemoteDevicePropertiesCallback()
Dbluetooth_test.h122 friend void AdapterPropertiesCallback(bt_status_t status, int num_properties,
128 int num_properties,
/packages/modules/Bluetooth/system/btif/test/
Dbtif_dm_test.cc167 int num_properties; in TEST_F_WITH_FLAGS() member
172 .num_properties = -1, in TEST_F_WITH_FLAGS()
178 [](bt_status_t status, RawAddress bd_addr, int num_properties, in TEST_F_WITH_FLAGS()
183 .num_properties = num_properties, in TEST_F_WITH_FLAGS()
185 properties, properties + (size_t)num_properties), in TEST_F_WITH_FLAGS()
197 ASSERT_EQ(1, invoke_remote_device_properties_cb.num_properties); in TEST_F_WITH_FLAGS()
/packages/modules/Bluetooth/system/btif/include/
Dcore_callbacks.h32 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);
Dbtif_common.h143 void invoke_adapter_properties_cb(bt_status_t status, int num_properties,
146 int num_properties,
148 void invoke_device_found_cb(int num_properties, bt_property_t* properties);
Dbtif_storage.h146 uint32_t num_properties,
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp130 static int get_properties(int num_properties, bt_property_t* properties, in get_properties() argument
132 for (int i = 0; i < num_properties; i++) { in get_properties()
148 static void adapter_properties_callback(bt_status_t status, int num_properties, in adapter_properties_callback() argument
160 num_properties); in adapter_properties_callback()
169 (jbyteArray)sCallbackEnv->NewByteArray(num_properties)); in adapter_properties_callback()
183 sCallbackEnv->NewObjectArray(num_properties, mclass.get(), NULL)); in adapter_properties_callback()
190 sCallbackEnv.get(), (jintArray)sCallbackEnv->NewIntArray(num_properties)); in adapter_properties_callback()
198 if (get_properties(num_properties, properties, &typesPtr, &propsPtr) < 0) { in adapter_properties_callback()
209 int num_properties, in remote_device_properties_callback() argument
222 num_properties); in remote_device_properties_callback()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_storage.h170 uint32_t num_properties, bt_property_t* properties)>
175 uint32_t num_properties, bt_property_t* properties) { in operator()
176 return body(remote_bd_addr, num_properties, properties); in operator()
Dmock_btif_storage.cc170 uint32_t num_properties, in btif_storage_add_remote_device() argument
174 remote_bd_addr, num_properties, properties); in btif_storage_add_remote_device()
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth.h509 int num_properties,
518 int num_properties,
524 typedef void (*device_found_callback)(int num_properties,
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs1399 num_properties: i32, in adapter_properties_changed()
1428 num_properties: i32, in remote_device_properties_changed()
1649 num_properties: i32, in adapter_properties_changed()