diff --git a/android/android-tester.c b/android/android-tester.c
index 3d8b603..9e8aa7d 100644
--- a/android/android-tester.c
+++ b/android/android-tester.c
}
static const struct generic_data bluetooth_enable_success_test = {
- .expected_hal_callbacks = {ADAPTER_PROPS, ADAPTER_STATE_CHANGED_ON,
- ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_PROPS, ADAPTER_STATE_CHANGED_ON,
+ ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_SUCCESS
};
static const struct generic_data bluetooth_enable_done_test = {
- .expected_hal_callbacks = {ADAPTER_PROPS, ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_PROPS, ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_DONE
};
static const struct generic_data bluetooth_disable_success_test = {
- .expected_hal_callbacks = {ADAPTER_STATE_CHANGED_OFF, ADAPTER_TEST_END}
+ .expected_hal_callbacks = { ADAPTER_STATE_CHANGED_OFF,
+ ADAPTER_TEST_END }
};
static const struct generic_data bluetooth_setprop_bdname_success_test = {
- .expected_hal_callbacks = {ADAPTER_PROP_BDNAME, ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_PROP_BDNAME, ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_SUCCESS,
.expected_property.type = BT_PROPERTY_BDNAME,
.expected_property.val = "test_bdname",
};
static const struct generic_data bluetooth_setprop_scanmode_success_test = {
- .expected_hal_callbacks = {ADAPTER_PROP_SCAN_MODE,
- ADAPTER_PROP_SCAN_MODE, ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_PROP_SCAN_MODE,
+ ADAPTER_PROP_SCAN_MODE,
+ ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_SUCCESS,
.expected_property.type = BT_PROPERTY_ADAPTER_SCAN_MODE,
.expected_property.val = &test_setprop_scanmode_val,
};
static const struct generic_data bluetooth_setprop_disctimeout_success_test = {
- .expected_hal_callbacks = {ADAPTER_PROP_DISC_TIMEOUT, ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_PROP_DISC_TIMEOUT, ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_SUCCESS,
.expected_property.type = BT_PROPERTY_ADAPTER_DISCOVERY_TIMEOUT,
.expected_property.val = &test_setprop_disctimeout_val,
};
static const struct generic_data bluetooth_getprop_bdaddr_success_test = {
- .expected_hal_callbacks = {ADAPTER_PROP_BDADDR, ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_PROP_BDADDR, ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_SUCCESS,
.expected_property.type = BT_PROPERTY_BDADDR,
.expected_property.val = NULL,
};
static const struct generic_data bluetooth_getprop_bdname_success_test = {
- .expected_hal_callbacks = {ADAPTER_PROP_BDNAME, ADAPTER_PROP_BDNAME,
- ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_PROP_BDNAME, ADAPTER_PROP_BDNAME,
+ ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_SUCCESS,
.expected_property.type = BT_PROPERTY_BDNAME,
.expected_property.val = "test_bdname_setget",
0x00, 0x00 };
static const struct generic_data bluetooth_setprop_uuid_invalid_test = {
- .expected_hal_callbacks = {ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_FAIL,
.expected_property.type = BT_PROPERTY_UUIDS,
.expected_property.val = &setprop_uuids,
static uint32_t setprop_class_of_device = 0;
static const struct generic_data bluetooth_setprop_cod_invalid_test = {
- .expected_hal_callbacks = {ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_FAIL,
.expected_property.type = BT_PROPERTY_CLASS_OF_DEVICE,
.expected_property.val = &setprop_class_of_device,
static bt_device_type_t setprop_type_of_device = BT_DEVICE_DEVTYPE_BREDR;
static const struct generic_data bluetooth_setprop_tod_invalid_test = {
- .expected_hal_callbacks = {ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_FAIL,
.expected_property.type = BT_PROPERTY_TYPE_OF_DEVICE,
.expected_property.val = &setprop_type_of_device,
static int32_t setprop_remote_rssi = 0;
static const struct generic_data bluetooth_setprop_remote_rssi_invalid_test = {
- .expected_hal_callbacks = {ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_FAIL,
.expected_property.type = BT_PROPERTY_REMOTE_RSSI,
.expected_property.val = &setprop_remote_rssi,
static const struct generic_data
bluetooth_setprop_service_record_invalid_test = {
- .expected_hal_callbacks = {ADAPTER_TEST_END},
+ .expected_hal_callbacks = { ADAPTER_TEST_END },
.expected_adapter_status = BT_STATUS_FAIL,
.expected_property.type = BT_PROPERTY_SERVICE_RECORD,
.expected_property.val = &setprop_remote_service,