Searched refs:bt_interface (Results 1 – 9 of 9) sorted by relevance
/system/bt/tools/bdtool/ |
D | bdtool.c | 33 const bt_interface_t *bt_interface; variable 102 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 106 CALL_AND_WAIT(bt_interface->start_discovery(), discovery_state_changed); in main() 112 CALL_AND_WAIT(bt_interface->cancel_discovery(), discovery_state_changed); in main() 117 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 122 int rc = bt_interface->set_adapter_property(property); in main() 136 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 139 …int rc = bt_interface->create_bond(&bt_remote_bdaddr, 0 /* UNKNOWN; Currently not documented :( */… in main() 146 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 154 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() [all …]
|
D | adapter.c | 197 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
|
/system/bt/test/suite/cases/ |
D | adapter.c | 27 CALL_AND_WAIT(error = bt_interface->enable(), adapter_state_changed); in adapter_enable_disable() 31 CALL_AND_WAIT(error = bt_interface->disable(), adapter_state_changed); in adapter_enable_disable() 51 CALL_AND_WAIT(error = bt_interface->set_adapter_property(name), adapter_properties); in adapter_set_name() 66 CALL_AND_WAIT(bt_interface->set_adapter_property(name), adapter_properties); in adapter_get_name() 67 CALL_AND_WAIT(error = bt_interface->get_adapter_property(BT_PROPERTY_BDNAME), adapter_properties); in adapter_get_name() 80 CALL_AND_WAIT(error = bt_interface->start_discovery(), discovery_state_changed); in adapter_start_discovery() 90 CALL_AND_WAIT(bt_interface->start_discovery(), discovery_state_changed); in adapter_cancel_discovery() 91 CALL_AND_WAIT(error = bt_interface->cancel_discovery(), discovery_state_changed); in adapter_cancel_discovery()
|
/system/bt/test/suite/support/ |
D | hal.c | 54 bt_interface = bt_device->get_bluetooth_interface(); in hal_open() 55 if (!bt_interface) { in hal_open() 61 bool success = (bt_interface->init(callbacks) == BT_STATUS_SUCCESS); in hal_open() 62 success = success && (bt_interface->set_os_callouts(&callouts) == BT_STATUS_SUCCESS); in hal_open() 67 if (bt_interface) { in hal_close() 68 bt_interface->cleanup(); in hal_close() 69 bt_interface = NULL; in hal_close()
|
D | rfcomm.c | 26 socket_interface = bt_interface->get_profile_interface(BT_PROFILE_SOCKETS_ID); in btsocket_init()
|
D | pan.c | 33 pan_interface = bt_interface->get_profile_interface(BT_PROFILE_PAN_ID); in pan_init()
|
D | gatt.c | 36 gatt_interface = bt_interface->get_profile_interface(BT_PROFILE_GATT_ID); in gatt_init()
|
/system/bt/test/suite/ |
D | main.c | 40 const bt_interface_t *bt_interface; variable 231 CALL_AND_WAIT(bt_interface->enable(), adapter_state_changed); in main() 239 CALL_AND_WAIT(bt_interface->disable(), adapter_state_changed); in main()
|
D | base.h | 38 extern const bt_interface_t *bt_interface;
|