commit | 01972c73bb8fbe2307e2a0f91910d44dee08919f | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 18 11:37:30 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Mar 18 11:43:35 2019 -0700 |
tree | cfd65f82fb10f518903a56fea694f344680cbb98 | |
parent | ffc13a48fb46b509266bb897e0397be6c706bb47 [diff] |
Host DeviceInfo: allow to write to file directly. This allows implementations to write JSON string to file directly instead of using HostInfoStore. This is useful for cases where the output of a shell command is in formatted JSON, for example. Test: run and examine output Bug: 126233777 Change-Id: I62aea2d8904e65936ddb1d77a919b45e230d625c