summaryrefslogtreecommitdiffstats
path: root/include/hardware/bluetooth.h
diff options
context:
space:
mode:
authorAndre Eisenbach <eisenbach@google.com>2014-12-05 09:35:57 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-05-12 15:56:10 +0000
commit34ab95a36953f847f4b399a798f93edb5e92f585 (patch)
treedce55c5df7daeac4d33101451b7267c3d401e389 /include/hardware/bluetooth.h
parentfb769fc3125d2939683f2f5bff2cf25816e5838c (diff)
downloadreplicant_libhardware-34ab95a36953f847f4b399a798f93edb5e92f585.zip
replicant_libhardware-34ab95a36953f847f4b399a798f93edb5e92f585.tar.gz
replicant_libhardware-34ab95a36953f847f4b399a798f93edb5e92f585.tar.bz2
Bluetooth native dumpsys logging support (1/5)
Bug: 18508263 Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926
Diffstat (limited to 'include/hardware/bluetooth.h')
-rw-r--r--include/hardware/bluetooth.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index 893f85d..6f95684 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -536,6 +536,12 @@ typedef struct {
* Success indicates that the VSC command was sent to controller
*/
int (*read_energy_info)();
+
+ /**
+ * Native support for dumpsys function
+ * Function is synchronous and |fd| is owned by caller.
+ */
+ void (*dump)(int fd);
} bt_interface_t;
/** TODO: Need to add APIs for Service Discovery, Service authorization and