Snap for 9839270 from e60bfbd0a7 to udc-release

Change-Id: Iacdae064042f96845945462e327cd361f37575f3
This commit is contained in:
Android Build Coastguard Worker 2023-03-29 02:22:43 +00:00
commit 3a08c66996
4 changed files with 11 additions and 10 deletions

View file

@ -242,7 +242,6 @@ void endSection(int fd, const std::string &sectionName, timepoint_t startTime) {
Dumpstate::Dumpstate() Dumpstate::Dumpstate()
: mTextSections{ : mTextSections{
{ "power", [this](int fd) { dumpPowerSection(fd); } }, { "power", [this](int fd) { dumpPowerSection(fd); } },
{ "camera", [this](int fd) { dumpCameraSection(fd); } },
} { } {
} }
@ -491,14 +490,6 @@ void Dumpstate::dumpPowerSection(int fd) {
} }
// Dump essential camera debugging logs
void Dumpstate::dumpCameraSection(int fd) {
RunCommandToFd(fd, "Camera HAL Graph State Dump", {"/vendor/bin/sh", "-c",
"for f in $(ls -t /data/vendor/camera/hal_graph_state*.txt |head -1); do "
"echo $f ; cat $f ; done"},
CommandOptions::WithTimeout(4).Build());
}
static void *dumpModemThread(void *data) { static void *dumpModemThread(void *data) {
ATRACE_ASYNC_BEGIN("dumpModemThread", 0); ATRACE_ASYNC_BEGIN("dumpModemThread", 0);
std::string modemLogDir = MODEM_LOG_DIRECTORY; std::string modemLogDir = MODEM_LOG_DIRECTORY;

View file

@ -49,7 +49,6 @@ class Dumpstate : public BnDumpstateDevice {
// addition to being included in full dumps // addition to being included in full dumps
void dumpPowerSection(int fd); void dumpPowerSection(int fd);
void dumpMemorySection(int fd); void dumpMemorySection(int fd);
void dumpCameraSection(int fd);
}; };
} // namespace dumpstate } // namespace dumpstate

View file

@ -12,3 +12,10 @@ for d in $(ls -d /sys/kernel/pixel_stat/mm/cma/*); do
fi fi
done done
echo "------ Camera HAL Graph State Dump ------"
for f in $(ls -t /data/vendor/camera/hal_graph_state*.txt |head -1); do
echo $f
cat $f
done

View file

@ -154,4 +154,8 @@
no telephony country code and driver country code is 00. no telephony country code and driver country code is 00.
This is applied only during the setup wizard --> This is applied only during the setup wizard -->
<bool translatable="false" name ="config_wifiUpdateCountryCodeFromScanResultSetupWizard">true</bool> <bool translatable="false" name ="config_wifiUpdateCountryCodeFromScanResultSetupWizard">true</bool>
<!-- Enable the feature of adjusting link layer stats polling interval based on
device mobility state and client mode RSSI monitoring. -->
<bool translatable="false" name="config_wifiAdjustPollRssiIntervalEnabled">true</bool>
</resources> </resources>