Commit graph

133 commits

Author SHA1 Message Date
Cheng Chang
31aeb8e05c gps: update gps driver 147.20.23.550494
Add NavIC factory test to improve the time of L5 CW test
Fix millisecond error in receivedSvTimeNanos and the corresponding pseudoranges
Add protection code when gpsd call sensor API
Fix invalid sensor availability status report in the PGLOR msg

Bug: 235192024
Bug: 236572839
Bug: 240389454
Bug: 244118456
Test: Verified at 247455369 by cherry-pick the patch
Change-Id: Iba791de4e95395be8dec13272bc12931648d4155
2022-09-27 04:40:11 +00:00
Lei Ju
207b766670 Merge "update namespace for generic hal" 2022-09-24 00:04:17 +00:00
Yifan Hong
a706eddca4 Merge "Delete HALs that are already in VINTF fragments (google_battery)" 2022-09-23 20:50:22 +00:00
Yifan Hong
02ce256ef4 Delete HALs that are already in VINTF fragments (google_battery)
These HALs are already included in VINTF fragments, so
there's no need to be specified here.

Test: TH
Bug: 148808037
Fixes: 248556785
Change-Id: I64403f18dfc6e206384c1675440cc622a357d0db
2022-09-23 13:19:46 -07:00
Lei Ju
e6442cca94 update namespace for generic hal
Bug: 248279570
Test: manual test by 1) compiling and installing the hal; 2) CHQTS.
Change-Id: I66759bc778f3045fa6091e07b25608b18fb6de6d
2022-09-22 16:22:16 +00:00
halleywang
1edb3dff04 gaf/debug: ignore gyro in factory rom by default
Gyro sensor readout is not applicable in factory rom. Ignores gyro value in AF side by default to prevent unexpected behavior.

Bug: 248155410
Test: Manual
Change-Id: I41a399847b608022707d4e964924f4fbfe5467fc
2022-09-22 09:32:58 +00:00
JJ Lee
2959f5c451 dumpstate: corrected sysfs paths for aoc
Bug: 247448885
Test: build pass
Change-Id: Ie6eae294c080b125f4b042dc6e808773fc2f3fa5
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 14:37:18 +00:00
JJ Lee
70f65d36c6 dumpstate: Add aoc memory vote dump
Bug: 247024476
Test: Boot test, taking bugreport is not blocked
Change-Id: I487daa367af8dade3bca2a52d2c6099fcbf684dc
Signed-off-by: JJ Lee <leejj@google.com>
2022-09-19 15:11:14 +08:00
TreeHugger Robot
2c11dd2440 Merge "init.zuma.rc: change owner of panel operation speed sysfs node" 2022-09-15 21:09:24 +00:00
Adam Shih
0431b09ac6 Merge "get bt permission xml to gs-common" 2022-09-15 01:18:10 +00:00
Shiyong Li
c54cc21010 init.zuma.rc: change owner of panel operation speed sysfs node
Bug: 202181466
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: I074d783ebdb0b2f5fc6a685f0dfee0379dcca3b1
2022-09-14 19:10:07 +00:00
Siddharth Kapoor
54d08df2ac Merge "init.zuma.rc: Remove unused mali sysfs node" 2022-09-12 17:20:26 +00:00
TreeHugger Robot
fbccd3059e Merge "powerstats: update GPU sysfs path for state residency" 2022-09-12 06:26:54 +00:00
Adam Shih
e0767f2b4e Merge "use gs-common insert module script" 2022-09-12 05:40:56 +00:00
Darren Hsu
d45112c2e2 powerstats: update GPU sysfs path for state residency
Bug: 244520099
Bug: 243096772
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If801c99b3eeeb9ca4a396612bd59f7dbebf17cc9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-12 10:59:16 +08:00
Siddharth Kapoor
7526ad185c init.zuma.rc: Remove unused mali sysfs node
Change-Id: I3add4ca927ee8ac253e1d489bd30362d23ef962c
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2022-09-09 13:58:36 -07:00
Mike McTernan
309d915204 Merge "Start storageproxyd earlier, but after /dev/sg1 has arrived." 2022-09-08 15:28:03 +00:00
Mike McTernan
27fc7b2c2d Start storageproxyd earlier, but after /dev/sg1 has arrived.
Background:
* Sometimes /dev/sg1 isn't ready when storageproxy attempts to start.
  Add a trigger to wait for the device.

Bug: 245194332
Bug: 245724566
Test: manual
Change-Id: I23300b7f1a0170dc1b73c5e3b5b2c7e2b1ecba2b
2022-09-08 13:18:46 +00:00
Adam Shih
a59fecc6a3 get bt permission xml to gs-common
Bug: 242661555
Test: connect to bluetooth
Change-Id: I0ecc6c3bdc18c283e43360e165cc6d95da38c631
2022-09-08 05:13:25 +00:00
Adam Shih
a89fbf4892 use gs-common insert module script
Bug: 243763292
Test: boot to home
Change-Id: I077ee2287b60f243e2440ad3f3a55c02d8ad52ad
2022-09-08 09:52:39 +08:00
TreeHugger Robot
7649ca0327 Merge "dumpstate: add HWC fence state, error log, and debug dump files" 2022-09-07 12:28:32 +00:00
TreeHugger Robot
a96703d13d Merge "zuma: disable dimming mode in factory build" 2022-09-07 11:37:13 +00:00
Ken Huang
d28e21fcdf zuma: disable dimming mode in factory build
Bug: 245240121
Test: cat /sys/class/backlight/panel0-backlight/dimming_on
Signed-off-by: Ken Huang <kenbshuang@google.com>
Change-Id: I5a6b81d284226712fbb61a2db58fc4307244d183
2022-09-07 13:32:10 +08:00
TreeHugger Robot
22f83ce4da Merge "powerstats: update sysfs path for AoC, GPU and PCIe" 2022-09-06 07:08:40 +00:00
Adam Shih
bac56c2be1 remove empty files
Bug: 243763292
Test: build pass
Change-Id: I4f143dfb06c2c3e7917cba2069a983881ef07ae4
2022-09-06 11:16:18 +08:00
Darren Hsu
dde4bdd7f9 powerstats: update sysfs path for AoC, GPU and PCIe
Bug: 244408938
Bug: 242243692
Bug: 244520099
Bug: 244540752
Bug: 244540747
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Id781bc0514eb1b95f7d4d7c2c953cb810f0629c0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-09-05 19:01:20 +08:00
Woody Lin
34db41727d Enable hanging-recovering features
These features were disabled to speed up bring-up process. The system is
stable now so they can be re-enabled.

Bug: 241050412
Change-Id: Idb4ab81dc9493c91b7d59d2093bab587a630f6ff
2022-09-05 17:22:23 +08:00
Jaegeuk Kim
be913ec40e Enable HW encryption w/ Trusty
Bug: 214136017
Bug: 214135924
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Id38edc06ad58de8eefee7619077ddd753d9804cb
2022-08-31 21:48:44 -07:00
Adam Shih
7949921501 Move dauntless settings to gs-common
Bug: 242479757
Test: build pass on all Gchip devices

Change-Id: Ib5ffd35f2e434f3f9c06e942d3569463efaffebd
2022-08-31 12:54:52 +08:00
Evgenii Stepanov
a9806c6050 Merge "Set arm64.memtag.bootctl_supported on non-fullmte products." 2022-08-30 20:02:01 +00:00
Kenny Root
31e146620b Merge "Re-enable GSC" 2022-08-30 16:49:33 +00:00
TreeHugger Robot
996bec0fe9 Merge "gps: raise gps service priority" 2022-08-30 03:39:34 +00:00
Cheng Chang
c648929f6d gps: raise gps service priority
Raise gps service priority to avoid resource issue

Bug: 243346625
Test: test by production tool
Change-Id: I647271d6622b7b2e636ce17800265b5c2d5f38d2
2022-08-30 01:46:41 +00:00
Evgenii Stepanov
705c2f2a6e Set arm64.memtag.bootctl_supported on non-fullmte products.
This will enable the "Reboot with MTE" developer options button as
described in
https://source.android.com/docs/security/memory-safety/bootloader-support

Bug: 242244112
Test: * all _fullmte products define arm64.memtag.bootctl_supported.
      * other products do not define arm64.memtag.bootctl_supported.
      * non-fullmte products support "Reboot with MTE" flow as per the
        link above.
Change-Id: Ic0e301755fb6745be55b2fb502b530495bef4ca0
2022-08-29 16:26:57 -07:00
Kenny Root
5387e3d277 Re-enable GSC
GSA should be available for use to speak to GSC and the GSC should be in
a state in which in can be talked to for citadel_updater, et al.

Bug: 241817670
Test: boot with changes
Test: /vendor/bin/hw/citadel_updater -v
Signed-off-by: Kenny Root <kroot@google.com>
Change-Id: I6603a9cf54569cd1dbe11a78636adb4a79121b48
2022-08-29 13:33:37 -07:00
Badhri Jagan Sridharan
26f4504f16 Enable USB HAL
Fix up i2c address for typec and enable USB HAL.

Bug: 241871290
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I87ce763e350bfaec05dbe83ee040eda7d252e7a2
2022-08-27 02:42:21 +00:00
NISCHAL JAIN
872f5b8d58 Merge "Modify GXP coredump naming signature" 2022-08-26 06:22:46 +00:00
Kyle Tso
63d79db02c Dumpstate: Add new path of default tcpm log
Old default path: /sys/kernel/debug/usb/tcpm*
New default path: /sys/kernel/debug/usb/tcpm*/log

Bug: 242682649
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I19efe1b0cf202af132f7598434e13c18c869ae7d
2022-08-25 07:41:22 +00:00
Jeffrey Carlyle
819e3d11cd dck: pick up recovery mode library for digital car key wiping
This is done by optionally including a Makefile (-include) so that
aosp builds in which the library is not present will pass.

Bug: 203234558
Test: build only
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Ibc4967cbc115959a71ee04c2116ce8ab21575e24
2022-08-24 18:07:01 -07:00
nischaljain
281e1ffab8 Modify GXP coredump naming signature
Currently its "coredump_gxp_platform*" & "crashinfo_gxp_platform*"
Update it to "coredump_gxp_*" & "crashinfo_gxp_*" to incorporate both
Amalthea and Callisto dumps.

Its a modification over CL ag/16787185.

Test: adb root; adb remount -R; adb bugreport
Bug: 236046046
Signed-off-by: nischaljain <nischaljain@google.com>
Change-Id: I1173cca0a8200039f76f2f1dc94e51ecccf3a97e
2022-08-24 12:20:42 +00:00
Wiwit Rifa'i
b8307a286f dumpstate: add HWC fence state, error log, and debug dump files
Add some HWC log files in /data/vendor/log/hwc to dumpstate, i.e.

[1] hwc_fence_state.txt: contains the dump of fence state when there's
a fence leak warning. We can also execute `vndservice call
Exynos.HWCService 11 i32 0 i32 308 i32 1` to trigger the dump to this
file. The size of this file is limited to about 1 MB.

[2] hwc_error_log.txt: contains some early logs of ALOGE() from HWC.
The size of this file is limited to about 1 MB.

[3] {display_name}_hwc_debug0.dump - {display_name}_hwc_debug9.dump:
contain the debug dumps when there are some failures in HWC (e.g.
failures in validateDisplay() or presentDisplay()). HWC will only limit
up to first 10 debug dumps per display to be saved in separated files.

Bug: 230361290
Test: adb bugreport
Change-Id: I8621aeffd2bb7edb46314437d06338e0d0954b7c
2022-08-24 05:31:54 +00:00
Taehwan Kim
4307f59c9e uses Codec2 HIDL 1.2 service
Bug: 238360304
Test: Build PASS
Test: Boot to home
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I1d24fab86807b0260c2f57717867eb0dba10d0a1
2022-08-22 06:50:37 +00:00
Wen Chang Liu
758c0151ea Merge "modify device.mk for exposing supported pool type" 2022-08-22 06:48:26 +00:00
TreeHugger Robot
a622aa4ceb Merge "Dumpstate: get fsck log" 2022-08-22 04:41:18 +00:00
Lucas Wei
018ede2943 Merge "Enable vendor_kernel_boot partition for zuma" 2022-08-18 22:54:54 +00:00
Kyle Tso
852a50a151 Dumpstate: Correct max77759tcpc path
Bug: 242705378
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I1a8264528c74eb38ba47c37afe9a5cffdfda61aa
2022-08-17 00:47:30 +08:00
Taehwan Kim
30e5f5f668 modify device.mk for exposing supported pool type
default : ION(1 << 16) | BUFFERQUEUE(1 << 18)
add : GRALLOC(1 << 17)

Bug: 227283773
Bug: 238360304
Test: Build PASS
Test: CtsMediaV2TestCases
Change-Id: Iab38bc7818e95c032552ed9bf79d68b50f8eadcd
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
2022-08-15 11:02:07 +00:00
Andrew Chant
7492410b33 remove securedpud.slider
securedpud.slider is crashlooping, remove
and let trusty team evaluate.

Bug: 242472681
Change-Id: I84778c6b4f8844b0208ac5c957f52e1609bdd830
2022-08-14 20:00:53 -07:00
Jinting Lin
a6206bd756 Merge "Add ModemDiagnosticSystem app into factory ROM" 2022-08-12 07:58:15 +00:00
TreeHugger Robot
72c3386af3 Merge "fstab: add back inlinecrypt for hw encryption" 2022-08-11 17:07:32 +00:00