Remove obsolete led dump
Bug: 240530709 Test: adb bugreport Change-Id: Ie018b028c6819fb263d39826fd462e232291df6a
This commit is contained in:
parent
6fe621f1a5
commit
0584dcc4b5
2 changed files with 0 additions and 17 deletions
|
@ -213,7 +213,6 @@ Dumpstate::Dumpstate()
|
|||
{ "memory", [this](int fd) { dumpMemorySection(fd); } },
|
||||
{ "Devfreq", [this](int fd) { dumpDevfreqSection(fd); } },
|
||||
{ "display", [this](int fd) { dumpDisplaySection(fd); } },
|
||||
{ "led", [this](int fd) { dumpLEDSection(fd); } },
|
||||
},
|
||||
mLogSections{
|
||||
{ "modem", [this](int fd, const std::string &destDir) { dumpModemLogs(fd, destDir); } },
|
||||
|
@ -370,21 +369,6 @@ void Dumpstate::dumpDisplaySection(int fd) {
|
|||
}
|
||||
}
|
||||
|
||||
// Dump items related to LED
|
||||
void Dumpstate::dumpLEDSection(int fd) {
|
||||
struct stat buffer;
|
||||
|
||||
if (!PropertiesHelper::IsUserBuild()) {
|
||||
if (!stat("/sys/class/leds/green", &buffer)) {
|
||||
DumpFileToFd(fd, "Green LED Brightness", "/sys/class/leds/green/brightness");
|
||||
DumpFileToFd(fd, "Green LED Max Brightness", "/sys/class/leds/green/max_brightness");
|
||||
}
|
||||
if (!stat("/mnt/vendor/persist/led/led_calibration_LUT.txt", &buffer)) {
|
||||
DumpFileToFd(fd, "LED Calibration Data", "/mnt/vendor/persist/led/led_calibration_LUT.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Dumpstate::dumpModemLogs(int fd, const std::string &destDir) {
|
||||
std::string extendedLogDir = MODEM_EXTENDED_LOG_DIRECTORY;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue