mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Fix file paths for DumpstateUtil calls in 1.0" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3b491b4812
@@ -51,9 +51,8 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
|
||||
ALOGI("Dumpstate HIDL not provided by device\n");
|
||||
dprintf(fd, "Dumpstate HIDL not provided by device; providing bogus data.\n");
|
||||
|
||||
// Shows some examples on how to use the libdumpstateutil API.
|
||||
RunCommandToFd(fd, "DATE", {"/vendor/bin/date"});
|
||||
DumpFileToFd(fd, "HOSTS", "/system/etc/hosts");
|
||||
// Shows an example on how to use the libdumpstateutil API.
|
||||
DumpFileToFd(fd, "cmdline", "/proc/self/cmdline");
|
||||
|
||||
return Void();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user