diff options
author | Marie Janssen <jamuraa@google.com> | 2016-01-08 11:16:29 -0800 |
---|---|---|
committer | Marie Janssen <jamuraa@google.com> | 2016-01-27 17:49:32 +0000 |
commit | 32d45dd020556874e90e749d80038955e216784f (patch) | |
tree | 05f64932313c81b10b9c62e3d324359316410ccf | |
parent | 0c5612db385d359a7caef385fd1815aad2de7a46 (diff) | |
download | libhardware-32d45dd020556874e90e749d80038955e216784f.tar.gz |
Add arguments to native dumpsys support
Arguments are passed through in order to support metrics logging and
future support for other dumpsys support in the native daemon.
Change-Id: Icaa75b9f36cca7e2dd2ceb5f94b27dec657d34e4
-rw-r--r-- | include/hardware/bluetooth.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 8ddc2517..93aa8e52 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -567,8 +567,10 @@ typedef struct { /** * Native support for dumpsys function * Function is synchronous and |fd| is owned by caller. + * |arguments| are arguments which may affect the output, encoded as + * UTF-8 strings. */ - void (*dump)(int fd); + void (*dump)(int fd, const char **arguments); /** * Clear /data/misc/bt_config.conf and erase all stored connections |