Several different services need to be able to set the output directory
for copying modem logs, as well as how many files should be copied.
Test: N/A just defining constants
Bug: 302435001
Change-Id: I3e9f2462a42e3b074810e6fb0a925a8ca026f89d
A lot of different modem related processes require reading / writing to
the same android system properties. This CL solifies them all into
one place to avoid duplication.
Test: build
Bug: 302435001
Change-Id: I113f43bb68833224f45ad91668cd327587e1649b
A lot of modem code requires sleeping while vendor services do some
background processing. Since we don't want to actually sleep for unit
tests, an interface is provided here so that a fake sleep can be
injected.
Test: N/A. Directly forwards methods or does nothing.
Bug: 302435001
Change-Id: I3bcf0307156d93756d69cd9f749c88b508ba9466
android_property_manager is moved to its own folder in the root of the
modem folder. This is so that libeomservice proxy has a specific build
target to include.
Test: build, flash, check modem logs in bugreport
Bug: 302435001
Change-Id: Ifc4a0c888717f5c28cf9b642d0b978b495be29d0
Since radioext has already moved to this folder, it doesn't make sense
for the base folder to be dump_modemlog. This change moves it to its
own subfolder so that we can also add more in the future.
Test: build and flash, trigger bugreport and check modem logs are there
Bug: 302435001
Change-Id: Ia83378074068526023f591d63b1e5ac4700b8103
Note: This is copy of the reverted commit
cbc4b64bd1bff8211ef43f8d32856bb342dafa52 (ag/24799507) plus the fix to
the problem that caused the revert which is to mark the radio_ext
service as optional in the compatibility matrix.
Bug: 285459428
Test: manually verified dumpsys and logs that service starts without
errors
Change-Id: Ibcd427c501633a95e74e392837b41b0ef513a4a8
This was missed in the porting over from gs201/.../dumpstate.cpp.
Test: Manually trigger bugreport and ensure that LoggingHistory.csv and
LoggingMaskHistory.csv are included
Bug:284275049
Change-Id: Ia630f3f1883b338fa879cfd6ea6bdd4c2a00437c
We have a new syfs file to track the retries for PCIe linkdowns
and CPL timeouts. We are adding it to the dump_modem script to
export it as part of the bugreport.
Bug: 284947288
Change-Id: I42d06ab1e479db0a7cf7b553191bf8407b3bd32f
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
The dump_modem script requires access to wakeup_events sysfs file.
Fixing a typo that caused permission error on accessing that file.
Bug: 281815537
Change-Id: I2f225e73b8515a478b597308b8726bffe6db3a76
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
Adding /dev/logbuffer_cpif and wakeup_events sysfs attribute
under cpif to the modem bugreport.
Test: Tested bugreport on P23
Bug: 278501642
Change-Id: Ic4fcc5d637a59245f966442294e180d19de27f00
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
Bug: 240530709
Test: adb bugreport
and the following file got to dumpstate_board.bin:
extended_log_uim.txt
extended_log_os.txt
nv_normal.bin
nv_protected.bin
Change-Id: Ie6439c7487b11c564cd6c0d1266928e6b9b384ee