OSDN Git Service

Bluetooth native dumpsys logging support (1/5)
authorAndre Eisenbach <eisenbach@google.com>
Fri, 5 Dec 2014 17:35:57 +0000 (09:35 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 12 May 2015 15:56:10 +0000 (15:56 +0000)
Bug: 18508263
Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926

include/hardware/bluetooth.h

index 893f85d..6f95684 100644 (file)
@@ -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