diff options
| author | Andre Eisenbach <eisenbach@google.com> | 2017-01-17 18:23:12 -0800 |
|---|---|---|
| committer | Myles Watson <mylesgw@google.com> | 2017-01-18 19:38:57 +0000 |
| commit | 9041d97812134889d0b00541d1fe517c2b23fe74 (patch) | |
| tree | 600c732759bb00a6e3aaa4c803b3b84044b10935 /bluetooth/1.0/IBluetoothHciCallbacks.hal | |
| parent | ab16b319f4484cc8e1b6078bde919b4a72e6cd00 (diff) | |
| download | android_hardware_interfaces-9041d97812134889d0b00541d1fe517c2b23fe74.tar.gz android_hardware_interfaces-9041d97812134889d0b00541d1fe517c2b23fe74.tar.bz2 android_hardware_interfaces-9041d97812134889d0b00541d1fe517c2b23fe74.zip | |
bluetooth: Add initialization completed callback
Test: bluetooth_hidl_hal_test
Bug: 31972505
Change-Id: I64c19a7fe7299079c5daf74e7b238b0d71d65db2
Diffstat (limited to 'bluetooth/1.0/IBluetoothHciCallbacks.hal')
| -rw-r--r-- | bluetooth/1.0/IBluetoothHciCallbacks.hal | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bluetooth/1.0/IBluetoothHciCallbacks.hal b/bluetooth/1.0/IBluetoothHciCallbacks.hal index afaab6cd6..15db1ceeb 100644 --- a/bluetooth/1.0/IBluetoothHciCallbacks.hal +++ b/bluetooth/1.0/IBluetoothHciCallbacks.hal @@ -19,21 +19,27 @@ package android.hardware.bluetooth@1.0; /* The interface from the Bluetooth Controller to the stack. */ interface IBluetoothHciCallbacks { /** + * Invoked when the Bluetooth controller initialization has been + * completed. + */ + initializationComplete(Status status); + + /** * This function is invoked when an HCI event is received from the * Bluetooth controller to be forwarded to the Bluetooth stack. * @param event is the HCI event to be sent to the Bluetooth stack. */ - oneway hciEventReceived(HciPacket event); + hciEventReceived(HciPacket event); /** * Send an ACL data packet form the controller to the host. * @param data the ACL HCI packet to be passed to the host stack */ - oneway aclDataReceived(HciPacket data); + aclDataReceived(HciPacket data); /** * Send a SCO data packet form the controller to the host. * @param data the SCO HCI packet to be passed to the host stack */ - oneway scoDataReceived(HciPacket data); + scoDataReceived(HciPacket data); }; |
