Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/tools/bdtool/
Dadapter.c34 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/
Dbtif_iot_config.cc72 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()
Dbluetooth.cc1141 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 …]
Dbtif_dm.cc660 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 …]
Dbtif_storage.cc791 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/
Dbluetooth_test.cc50 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()
Dbluetooth_test.h122 friend void AdapterPropertiesCallback(bt_status_t status, int num_properties,
128 int num_properties,
/packages/modules/Bluetooth/system/test/headless/
Dinterface.h93 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()
Dheadless.cc79 [[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/
Dmock_bluetooth_interface.cc26 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
Dmock_btif_storage.cc88 uint32_t num_properties, in btif_storage_add_remote_device() argument
/packages/modules/Bluetooth/system/test/headless/discovery/
Ddiscovery.cc78 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/
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.h204 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);
Dbtif_storage.h160 uint32_t num_properties,
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp114 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/
Dbluetooth.h478 int num_properties,
487 int num_properties,
493 typedef void (*device_found_callback)(int num_properties,
/packages/modules/Bluetooth/system/test/headless/scan/
Dscan.cc87 for (int i = 0; i < params.num_properties; ++i, prop++) { in start_scan()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc60 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/
Dbluetooth.rs1042 num_properties: i32, in adapter_properties_changed()
1079 num_properties: i32, in remote_device_properties_changed()
1223 num_properties: i32, in adapter_properties_changed()