OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb769fc
)
Bluetooth native dumpsys logging support (1/5)
author
Andre Eisenbach
<eisenbach@google.com>
Fri, 5 Dec 2014 17:35:57 +0000
(09:35 -0800)
committer
Andre Eisenbach
<eisenbach@google.com>
Tue, 12 May 2015 15:56:10 +0000
(15:56 +0000)
Bug:
18508263
Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926
include/hardware/bluetooth.h
patch
|
blob
|
history
diff --git
a/include/hardware/bluetooth.h
b/include/hardware/bluetooth.h
index
893f85d
..
6f95684
100644
(file)
--- 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