diff options
author | Yifan Hong <elsk@google.com> | 2019-03-25 18:09:35 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-03-26 15:51:55 -0700 |
commit | dc9c08b9001e2b892ccbc7dc2c86a53ab5964b63 (patch) | |
tree | cae42c19ed00a23d0552cf2920c1e5a12baae95a /libutils/Mutex_test.cpp | |
parent | f959fffc1c8ce9fcf1665a2e39ab6add986d9e6e (diff) |
charger: android_get_control_file on last_kmsg
Call android_get_control_file on last_kmsg files if the file
descriptor is provided by init.
Also, uses base::Read(File|Fd)ToString functions to read the
files (because load_file doesn't support fd arguments).
Test: charger mode
Test: manual kernel panic, then start charger; seen last kmsg.
Bug: 129138950
Change-Id: Idd3376e349f29586a1e66faab2c0f1bf73e0eda5
Diffstat (limited to 'libutils/Mutex_test.cpp')
0 files changed, 0 insertions, 0 deletions