Commit graph

488 commits

Author SHA1 Message Date
Beverly
058774bc73 By default, face-auth is non-bypass
Test: manual
Fixes: 225374807
Change-Id: I082de931940e9a6803e7bcc49a1a663f1e28a8f3
2022-03-21 13:53:34 +00:00
Darren Hsu
3413a13921 powerstats: update TPU-DVFS frequencies
Bug: 225290987
Test: dump power stats and see frequencies updated
Change-Id: If516f115e1a3f3c06c04deadcea56b97f5a24ccd
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-21 15:23:24 +08:00
Lucas Dupin
2964ee6020 Enable blurs
This was somehow disabled

Test: forrest build
Fixes: 225015208
Change-Id: I4ed97dfaf8362ace933b6d5e08408ee35d54ee13
2022-03-18 18:26:02 +00:00
Darren Hsu
1d6fa6d79e powerstats: add devfreq state residency for BO
Bug: 216600952
Test: dump power stats and see the state residencies appear
Test: verified that the string buffer is enough
Change-Id: Ic2c7c29c9b6408018ba9c98578e5a32d4e082ef1
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-18 11:19:13 +00:00
Shinru Han
f943e9a4f3 gps: Add MCU crash dump to bugreport
- Add MCU (ESW) crash dump
- Add tmp log
- Reduce log number to 20

Bug: 223741583
Test: bugreport gps log test
Change-Id: I157d93bd0a3ede4e547df193d2808c4338c8c405
2022-03-18 03:21:36 +00:00
Long Ling
d0795a2321 remove hwc-2.4 from manifest
hwc3 is in use.

Bug: 216532282
Change-Id: Iccce473319d7e48cb25e3719ca17092b97d9b07a
2022-03-17 20:39:59 +00:00
Alex Hong
6ede91b25e Remove the RenderScript HAL from the vendor manifest
"android.hardware.renderscript@1.0-impl.so" is already removed.
Remove the declaration of corresponding passthrough HAL from the
vendor manifest as well.

Test: run vts -m vts_treble_vintf_vendor_test
Bug: 207076973
Change-Id: Id362529acfdfc3d5eb66d79efabbc8edeefc1dea
2022-03-17 14:06:02 +00:00
Alex Hong
b7d761b443 Upgrade VINTF Target FCM level from 6 to 7
Target FCM level 7 requires the newer version of the following HALs.
1. android.hardware.biometrics.face
2. android.hardware.biometrics.fingerprint
3. android.hardware.dumpstate
4. android.hardware.gnss
5. android.hardware.radio.config

Temporarily add the older version of these HALs into the customized product FCM
to claim we are still using the older version and bypass the build breakage.
We will check about how to handle these HALs later.

Test: m check-vintf-all
      run vts -m vts_treble_vintf_vendor_test
Bug: 207076973
Change-Id: I4582385b4d0588ce7310d6ecf59ce0834b7c95c2
2022-03-17 14:06:02 +00:00
SalmaxChang
602c38c63f conf: support to mount modem erofs image
- Create fstab.modem for modem as flexibility.
- Add and support both erofs and ext4 images for compatibility.

Bug: 201348703
Change-Id: Idc6dd8ef8f044c764f2811469806ee9e6defb87f
2022-03-17 05:56:33 +00:00
Wayne Lin
ad680c7138 gps: update gps driver 129.20.23.529478
- Fix NI control plane issue
 - Add NFW IPC between AP and CP
 - Ignore RTI in cold start
 - Fix OnChip logging issue

Bug: 221337679
Bug: 216098015
Bug: 219856838
Bug: 213009701

Verify test: 224691558
Test: Build pass and GNSS verify test pass

Change-Id: Ice69000357d07ad95d2070c277bcc7848f9d8f5f
2022-03-17 05:37:54 +00:00
Jaegeuk Kim
6d4913e3c7 Remove discard command tuning
This is done by rootdir/init.rc.

Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I939c97aa2cd2ee271f05053eea0af006f6c9b8a1
2022-03-17 03:22:07 +00:00
SalmaxChang
dd1cd8388f dumpstate: add timeout for AoC memory dump
AoC memory dumps will take too long time and cause dumpstate board
timeout. Add 2s timeout for the memory dumps.

Bug: 216422700
Test: Triggered bugreport and checked dumpstate file.

Change-Id: Iedb49fa78caf7c5c54a9a1f69191d7441b7308ee
2022-03-17 02:03:12 +00:00
Devika Krishnadas
cf0372dc8b Increase Max framebuffer count to 3
Bug: 220804307
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I5b21d077e2c8f1ee0a22d19bfeb1e3afd29789d3
2022-03-17 02:01:10 +00:00
Jaegeuk Kim
975370904a Enable COMPRESS CACHE in f2fs
Bug: 222321709
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ia10007c678ea640d00c2fe0438218707d5fd7ce8
2022-03-16 18:24:09 +00:00
Randall Huang
3bec1149e8 UFS: enable UFS clock gating when off mode charging
Avoid high UFS power consumption

Bug: 224888044
Test: check clkgate_enable in uart console
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: Ie5504a259621a8661133eebd8f574d5af2809abb
2022-03-16 16:50:46 +00:00
Ryan Chu
1f95aca935 factory: update owner and group for root
Update the exec root owner and group for factory_post_boot

Bug: 222226268
Test: pidx=`adb shell pidof adbd` && adb shell cat proc/$pidx/task/$pidx/sched | grep "adbd \|effective uclamp.min"
Change-Id: I7ad3fc9f2db8bd4d6f4c3d2fdf1de1abc0ddcb16
2022-03-16 06:56:14 +00:00
Martin Liu
1c697c5df3 Enable page pinner
Enable page pinner to catch long pin pages' history so
we can root cause issues.

Bug: 224771748
Test: check kernel cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I3b384d427ac0ba48841d9a13e8f5565d9a83fb72
2022-03-16 05:44:23 +00:00
GOOGLE\huangaustin
a581e2420c [PixelLogger][P22] Update P22 Pixel_default.nprf
bug: 214351205
Change-Id: I5f5006711618e82bb1a65fe869200fdeed7dda81
2022-03-16 04:29:10 +00:00
Martin Liu
66fe1adedd sync RCU settings
sync RCU settings to improve overall RCU latency

Bug: 224756824
Test: check cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I1d320a308009111a0598bbda3f5c5da9e447e17e
2022-03-16 01:00:26 +00:00
Jaegeuk Kim
46d2ff83a6 Remove android.hardware.renderscript to fix vts
Bug: 221171447
Bug: 213121817
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ia9426fc34fea6494a810515dc102bd610cc6447d
2022-03-15 17:47:48 +00:00
Denny cy Lee
f9c2f03287 Pixelstats: porting from p21
Bug: 222019890
Bug: 222657999
Test: check debug logcat in pixelstat, HardwareInfo
Change-Id: I110a2b2713b6c27e23418569bb8d1b726af07b95
2022-03-15 03:09:18 +00:00
Martin Liu
e00a9b2099 Disable memcg
Pixel kernel don't use MEMCG, let's disable it to
minimize the overhead.

Bug: 224521042
Test: check cmdline
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I60681fb04e4f9a41814eda5988b6c1a0d4fb127c
2022-03-15 01:05:11 +00:00
Midas Chien
93fdc4704e display: make early wakeup node is readable
Bug: 221384860
Test: cat node
Change-Id: I69fe93f467c12e009e97d6f953ba404bec558834
2022-03-14 18:30:42 +00:00
Roshan Pius
5105ef7148 gs(uwb): rename uwb HAL
Bug: 186585880
Test: Manual Tests
Change-Id: Ib534ee5dd27d41bdc0c386281044ed1a596d33d2
2022-03-14 16:09:02 +00:00
Jinting Lin
d34bde9355 Revert "Increase the default log file size and number"
This reverts commit 06a6fc0401.

Reason for revert: unexpected parsing failure

Change-Id: Ie4b42e085ee5677bb8e15ca716edf5ae1b976f72
2022-03-11 15:02:47 +00:00
George Lee
5d2540b63c bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221070649
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If130d477f617c0e62efa5f35effa122b60253107
2022-03-10 20:17:32 +00:00
Nishok Kumar S
37c514bbcf ueventd: Add gxp device with system group read write permission
Test: adb shell setprop persist.vendor.camera.blur_refine.enable_dsp 1
      adb shell pkill -f camera
Bug: 223088240
Change-Id: I87e714e03320ae30ab885c4713d1031ffa6b2ae1
2022-03-10 06:34:06 +00:00
Andrew Chant
2f2f7fd3de factory: add factory_post_boot.sh/boost adbd
Add factory_post_boot.sh for factory targets to boost
adbd on boot.

Bug: 222226268
Change-Id: If20455705e2632eda95297952cfd770a4e8ff6f7
2022-03-09 10:15:36 +00:00
wenchangliu
dced35e5c5 Update correct max block counts
Fix incorrcet video resolution capability report from
media_codecs_aosp_c2.xml.

Bug: 222095724
Test: demo-transformer HEVC 2160p transcoding
Change-Id: Ie0bb25c88440f7806b01bcaa49b23980d7f4e45f
2022-03-09 08:29:01 +00:00
Jesse Hall
6581005c3c gpu: use hwui vulkan backend
The Vulkan backend is the intended production configuration and what we
shipped gs101 with.

Also checked remaining gpu configuration and minimized textual
differences from the gs101 device.mk for easier comparison.

Bug: 223406172
Test: Launcher, YouTube video playback, Pixel Camera preview & shot
Change-Id: I85e3c34ef424f7cef97bcfb6f5a10746fc0b9804
2022-03-08 11:34:55 -08:00
Jimmy Shiu
477bf34e81 powerhint: remove powerhint.json for separating configs
Remove the old common powerhint.json file.

Test: build and manually check
Bug: 207573241
Change-Id: Idcebb479cb52b536ffd8d1f79f00293d3c0c4131
2022-03-08 19:34:50 +08:00
GOOGLE\huangaustin
872fcc3e95 [PixelLogger][P22] Update P22 default.cfg for L1 team
bug: 222409590
Change-Id: I368088bc46f44ee40dd0759ed0d5b296948c81f2
2022-03-08 09:44:31 +00:00
Tommy Chiu
548aa0c030 KM: Add Device ID attestation support
Reference: ag/14623068

Bug: 222635310
Test:
android.keystore.cts.KeyAttestationTest#testMandatoryDeviceidAttestation

Change-Id: I4acfaf0d82e5805c84b36d0750d7e013de8a83ea
2022-03-08 07:07:49 +00:00
Ray Chi
f363704a92 tune usb irq (dwc3) in usb gadget hal
Since affinity permission is changed from root to system, original
permission change by script can't be used. Therefore, this patch
will move the functionality to usb gadget hal.

Bug: 220996010
Test: dwc3 irq could be located in medium/big cores after USB function switch
Change-Id: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
2022-03-07 07:45:50 +00:00
Ray Chi
b30924e359 usb: move the permission change to usb rc
Since permission change in hal rc may be late, gadget
hal would enable USB function failed. The solution will
change the permission before USB gadget hal starts.

Bug: 206902205
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
2022-03-07 07:45:50 +00:00
Jinting Lin
06a6fc0401 Increase the default log file size and number
Bug: 223071809
Change-Id: I355648b8a83ebaea00d6144dfa29ef252b849ca4
2022-03-07 05:59:15 +00:00
Kris Chen
997787e3f7 Set owner for mfg_data partiton.
Bug: 197780765
Test: UDFPS HAL can access mfg_data
Change-Id: Ib68fd0ff2f7717000b918c580e459309e088cde2
2022-03-07 01:44:16 +00:00
Midas Chien
a7b2be93d0 display: allow composer to access panel idle handle exit node
Bug: 202182467
Test: composer can access panel idle handle exit node
Change-Id: I1d117ba50871e633d044b4c8bb25da14df506b66
2022-03-04 06:55:04 +00:00
Ramji Jiyani
f53de92c92 Pixel T launch devices: Enable system_dlkm
Set flags to enable system_dlkm dynmaic partition
for GKI Modules for T launch pixel devices.

Partition will be empty as of now but this adds
enough support to pass the vts for feature.

Bug: 222334390
Test: TH, manual build, Code testing gs101 & R6
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Ic56dd711ab97f3ae993cc5c543fabc8cbe3f347c
Merged-In: Ic56dd711ab97f3ae993cc5c543fabc8cbe3f347c
2022-03-04 01:42:47 +00:00
Bob Badour
e3710a9f34 [LSC] Add LOCAL_LICENSE_KINDS
Added SPDX-license-identifier-Apache-2.0 to:
  usb/gadget/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Change-Id: Idea66093348d8c7e4a63b35e5f25a6d8bab9439a
2022-03-03 11:19:46 -08:00
SongFerngWang
00c06569c6 copy the overlay from gs101
Bug: 221846447
Test: build pass
Change-Id: Ia977d59492d00bb5499523ca17cde92fd932292e
(cherry picked from commit 9e3dae6628)
2022-03-03 09:29:38 +00:00
Jenny Ho
60fde324e3 device-common: set testing_battery_profile default 2
set 2 to prevent limit battery level in unexpected testing situation

Bug: 180511460
Bug: 220679025
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I9f0e66cf92b26c6946af162003378dcf0fd749f9
(cherry picked from commit f9ae6c981a)
2022-03-02 21:53:36 +00:00
Josh Wu
e8aabb124f Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I9668afb6549491c65ec193f707ef936c3bb519ae
Merged-In: I9668afb6549491c65ec193f707ef936c3bb519ae
2022-03-02 13:08:41 +00:00
Tim Lin
5357ce3a42 enable IRadio 2.0
Bug: 206348419
Test: make
Change-Id: Iae1093aa6f7e9014fe47ae05e023922725885d03
2022-03-02 09:12:13 +00:00
Ankit Goyal
9e4f342440 Include allocator AIDL service in the build
Bug: 220910504
Test: Boots to home
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: Ie169b059d401ce58b217765dbac76b4de9eb2c96
2022-03-02 01:56:58 +00:00
Ankit Goyal
205a0a4851 Remove stale gralloc3 configs
Bug: 220910504
Test: Boots to home
Change-Id: I30a68849413b6927365773a52f543e3a032f18fa
2022-03-02 01:56:58 +00:00
Ray Chi
ef1c863453 Revert "usb: modify the permission of USB gadget hal"
This reverts commit bdd4728a17.

Reason for revert: original issue is fixed.

Bug: 206902205
Test: adb work without the error of gadget hal.
Change-Id: I3b7ab36f93e8bb7d6c23d53d4a12ed95d441fede
2022-03-01 18:33:17 +08:00
Rick Yiu
34cad67219 Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
2022-03-01 04:32:22 +00:00
Wayne Lin
ec6aba8e3f gps: update gps driver 129.20.23.528102
- Rescale DBH accuracy and add timestamp
 - Enable runtime LTE filter control feature
 - Pick newest FLP location for LPPe DBH
 - Not to request DBH location for the non-emergency NI
 - Keep reqporting PPS in duty-cycle
 - Release SUPL wakelock while framework restart
 - Fix NI AGPS accuracy and hot start accuracy issue
 - Fix cts testRequestFlush issue
 - Fix gps crash issue
 - Fix re-calibration on the fly issue
 - Fix OnChip mode TTFF issue
 - Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220724315
Test: build pass and GPS verify test pass

Change-Id: Id5f1680c9b935e8955991f87ee8c317b0a4d17aa
2022-03-01 04:20:23 +00:00
Badhri Jagan Sridharan
a1deb18dfb Migrate IUsb implementation to AIDL
Cherry-pick of <775523d1eb>

This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Bug: 200993386
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
Merged-In: I02753af4a41916b77ce110f9531504bf8c6a4691
2022-03-01 03:32:23 +00:00