Collect PCIe link statistics in dumpstate.
DO NOT MERGE because the same functionality is already
implemented in dump_pcie.sh in upstream branches.
Test: adb bugreport && unzip bugreport*.zip &&
grep link_stats dumpstate_board.txt
Bug: 266561593
Change-Id: I5b530b68f8c8cd6ed2bc5016d5aef55c3caafbd8
Signed-off-by: Doug Zobel <zobel@google.com>
USE_ANGLE can be overridden. If the parent mk files don't define
USE_ANGLE, then we treat it as not-using-angle.
Test: build by cmd: `lunch panther_angle-userdebug` and then manual
download the build to test on a Pixel device.
Change-Id: I19d38ba98b5e1adc87d71643c733ce91e178d6a0
Bug: 266433747
Bug: 267670142
Monitorffs needs to check the state of usb extcon and gadget state
to pull up USB gadget. Therefore, this patch provide extcon and gadget
state to monitorffs.
Bug: 263435622
Test: verified pass
Change-Id: Iceaade6ed0060e4006405a29a81af3c5a1ab1b8b
(cherry picked from commit bf79debcb2)
Merged-In: Iceaade6ed0060e4006405a29a81af3c5a1ab1b8b
Currently, config_networkAvoidBadWifi is customized in aosp
for only 2 Verizon mccmncs: 310-004 and 311-480.
However, from TAM feedback, there are few mccmncs
which are not customized yet. Explicitly add them for gs201 devices.
Test: manual
Bug: 267489867
Change-Id: I46ec45354ae72a6a758aba2c2a31af92f1da4038
Merged-In: I46ec45354ae72a6a758aba2c2a31af92f1da4038
(cherry picked from commit cc270214ed)
(cherry picked from commit b6ad359353)
Merged-In: I46ec45354ae72a6a758aba2c2a31af92f1da4038
This flag will not take effect if the system is configured to
avoid bad wifis. Set it to 1 globally. Then it will sprint
into effect for all mcc/mncs where config_networkAvoidBadWifi is 0.
For carriers that don't need this behavior change but
config_networkAvoidBadWifi is 0, set activelyPreferBadwifi
to 0 for their mccmncs.
Test: manual
Bug: 267489867
Change-Id: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
Merged-In: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
(cherry picked from commit 3357b8cf94)
(cherry picked from commit 2a3281dc86)
Merged-In: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
Currently, config_networkAvoidBadWifi is customized in aosp
for only 2 Verizon mccmncs: 310-004 and 311-480.
However, from TAM feedback, there are few mccmncs
which are not customized yet. Explicitly add them for gs201 devices.
Test: manual
Bug: 267489867
Change-Id: I46ec45354ae72a6a758aba2c2a31af92f1da4038
Merged-In: I46ec45354ae72a6a758aba2c2a31af92f1da4038
(cherry picked from commit cc270214ed)
This flag will not take effect if the system is configured to
avoid bad wifis. Set it to 1 globally. Then it will sprint
into effect for all mcc/mncs where config_networkAvoidBadWifi is 0.
For carriers that don't need this behavior change but
config_networkAvoidBadWifi is 0, set activelyPreferBadwifi
to 0 for their mccmncs.
Test: manual
Bug: 267489867
Change-Id: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
Merged-In: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3
(cherry picked from commit 3357b8cf94)
Currently, config_networkAvoidBadWifi is customized in aosp
for only 2 Verizon mccmncs: 310-004 and 311-480.
However, from TAM feedback, there are few mccmncs
which are not customized yet. Explicitly add them for gs201 devices.
Test: manual
Bug: 267489867
Change-Id: I46ec45354ae72a6a758aba2c2a31af92f1da4038
1. Remove unused group "wakelock".
2. Correct the right return value on setCurrentUsbFunctions.
Bug: 266694076
Test: Boot to home and function work
Change-Id: If0925a61e481e4deca560dc8dfc1be80a76c148f
Bug: 260915419
Test: Verified the existence of atom
adb shell cmd stats print-stats | grep 105045
Change-Id: I9475be95b8223ee8fe62037e0e4898eedee6c5fe
Signed-off-by: Ziyi Cui <ziyic@google.com>
The UVC gadget requires some setup in configfs before it can be used by
the gadget HAL. This CL adds that setup to usb specific init.rc file.
Currently, UVC is setup to advertise mjpeg streams at 720p and 1080p at
60, 30, 24, and 15 fps each.
Bug: 242344221
Test: Manually tested that UVC is correctly set up on boot.
Change-Id: Id0536ded1035f371adb01ed50bbfbff47914cc6a
UVC is a new USB function supported in Android. This CL adds UVC as a
valid function and gives it a new pid of 0x4ee[de]. UVC function is
guarded by the property `ro.usb.uvc.enabled`. When this property is set
to false, UVC won't be considered as a valid gadget function.
Bug: 242344221
Test: Manually tested that the UVC function is successfully configured
Change-Id: I7ce1cc192c09b5f3cd7c73405fe54426a1311dfb
Monitorffs needs to check the state of usb extcon and gadget state
to pull up USB gadget. Therefore, this patch provide extcon and gadget
state to monitorffs.
Bug: 263435622
Test: verified pass
Change-Id: Iceaade6ed0060e4006405a29a81af3c5a1ab1b8b
Bug: 240346564
Test: Build for Cheetah device with user build,
check bugreport for decon_counters content
Merged-In: I0026378d81f5de5ac48b658861a2d8a85c817820
Change-Id: Ia20e1e985d3d83b58e4dce28d7537b49b545e243
Signed-off-by: Taylor Nelms <tknelms@google.com>
This flag will not take effect if the system is configured to
avoid bad wifis. Set it to 1 globally. Then it will sprint
into effect for all mcc/mncs where config_networkAvoidBadWifi is 0.
For carriers that don't need this behavior change but
config_networkAvoidBadWifi is 0, set activelyPreferBadwifi
to 0 for their mccmncs.
Test: manual
Bug: 267489867
Change-Id: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3