Commit graph

15 commits

Author SHA1 Message Date
Martin Liu
e0f6a5cd38 zram: add zram size property
Bug: 200899926
Test: check zram swap and backing device
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Ife748938f5e7cfb34c343a3f568c93824f33e8fe
Merged-In: Ife748938f5e7cfb34c343a3f568c93824f33e8fe
2021-10-08 00:59:54 +00:00
Martin Liu
e084e23e3c Zram: set zram size
Apply 3G zram size settings

Bug: 200899926
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I94e9390719833ae54be56ca3c2aeba4bd9cd9d27
Merged-In: I94e9390719833ae54be56ca3c2aeba4bd9cd9d27
2021-10-01 07:14:36 +00:00
Robert Lee
8dd0500a45 init.raviole.rc: remove world writable on speaker.cal am: 1d75fb3ce6 am: 81b0c41f8f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15659823

Change-Id: I59b20cc26132000ba8832dc0148799254586715d
2021-08-24 06:14:25 +00:00
Robert Lee
40b3941f80 init.raviole.rc: remove world writable on speaker.cal
Bug: 197039088
Test: do re-calibration and check the speaker.cal is updated.
adb shell crus_sp_cal -d -s -a --device 5 --ambient 27 --num-speaker 2 --verbosity 7

Change-Id: I7d8c43c5feaab4d0337590f268f0b59aa7f3e6fd
2021-08-24 03:35:33 +00:00
Robert Lee
442b0e3096 init.raviole.rc: chmod for speaker.cal am: ba0d4bea8a am: 11a4690c2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15634498

Change-Id: Ieb16dcc563d34bd632a3226a5c82b37da8b29db9
2021-08-20 12:51:07 +00:00
Robert Lee
bedf39fb89 init.raviole.rc: chmod for speaker.cal
The speaker calibration step is changed in factory and the speaker
calibration file's permission is incorrect. Then audio hal cannot read
speaker.cal file to apply it and only apply default cal value.

Correct the file mode when init.

Bug: 197039088
Test: push the script into device and check file mode after rebooting device

Signed-off-by: Robert Lee <lerobert@google.com>
Change-Id: I1339f006f4477288cb41d07cb32caba0921b6e09
2021-08-20 04:17:17 +00:00
George Chang
b256283d73 Move NFC/eSE settings
Bug: 196825539
Test: build pass
Merged-In: I590f069139f641d886e1252e3acdb19483b7fcaa
Change-Id: I590f069139f641d886e1252e3acdb19483b7fcaa
2021-08-19 06:42:29 +00:00
Andrew LeCain
8340b00c0e Revert "raviole: allow UDFPS to read mfg_data blk device"
This reverts commit 2d2e597690f3e2fc06ffeb3749599fe5b8521959.

Bug: 193549276
Test: FP app doesn't report permissions error reading cal partition.
Change-Id: I8b982dec8bd5920eac69b48d6bd1de8cfc989003
2021-07-27 21:32:11 +00:00
Andrew LeCain
b40e3550aa raviole: allow UDFPS to read mfg_data blk device
Bug: 189135413
Test: fastboot stage cal_file; fastboot oem udfps update-cal; HAL sends CAL
Change-Id: Ib9f236bb49d3aa961edcc113c6e6aaa94927f454
2021-07-19 17:46:17 +00:00
Ilya Matyukhin
a8f6e24b37 Remove access to the LHBM node from SystemUI
Bug: 183223359
Test: on device
Change-Id: I56cdc5ab4654ac523b4a80f270d5567aac16cdc7
2021-06-25 01:12:52 +00:00
Andrew LeCain
21159fdf01 Move fp app-loading to same stage as storageproxyd
Bug: 189911666
Test: R4 boot, unlock.
Change-Id: I88ec478bec27070d7d2ceb2ab7fcfe9a98fd423d
2021-06-02 19:13:22 -07:00
Kris Chen
665398800b Disable ASP only on PROTO1.0 devices
Bug: 188193525
Test: ASP is disabled on PROTO1.0.
Test: ASP is enabled on PROTO1.1 and newer.
Change-Id: Ib01547cdf27431f3c475cff3830f077b044fcea5
2021-05-17 17:06:00 +00:00
Kris Chen
74dfc0cf92 Add property for UDFPS antispoof
Bug: 187394838
Bug: 187562932
Test: Antispoof is disabled by default.
Test: Use the following adb command to manully turn on antispoof.
      "setprop persist.vendor.fingerprint.disable.fake.override 0"
Change-Id: I56d1129af7e73a901ea5f3258517e68545c38894
2021-05-12 21:45:43 +00:00
Robin Peng
7cc6cca546 raviole: fix $(ro.hardware) not works in "on property:"
use ro.vendor.factory to replace ro.build.flavor

Bug: 187391068
Change-Id: I85f880bd4ada673655afd91cd092dbd2f1f0fec3
2021-05-06 20:09:29 +08:00
Robin Peng
334022f5c6 raviole: centralize common part of init.<DEVICE>.rc into init.raviole.rc
Bug: 167996145
Change-Id: I1e12d64295ffd4f990ad97455dc8a1ab965b6133
2021-05-05 05:55:46 +00:00