Commit graph

37 commits

Author SHA1 Message Date
sashwinbalaji
d406d43bcb thermal: Update init_thermal_config
- Validate for display panel availability only in userdebug builds.

- Add check to fall back to wingboard config for charging mode as well.

- Move fallback to backup config for proto and wingboard to init rc
  file.

Bug: 338295174
Flag: EXEMPT NDK
Test: Local build and verify init_thermal_config and property
Change-Id: I4b2db92df1d74be4038e256ab6e25ee616c5feb6
2024-07-26 07:33:03 +00:00
Meng Wang
65acbd0996 Enable bootstrap for DVT for convenient testing
Bug: 343731008
Flag: NONE init.rc change limited to DVT hardwares
Change-Id: I2084852ed3b0af5a1d7fca86fa116918a2900c3c
2024-06-24 21:11:25 +00:00
Kiwon Park
97fea625a1 Enable bootstrap for only t mobile and verizon devices
Bug: 339918070
Test: manual
Change-Id: I0eca7442433177ff9fce572364aca8afb7403af9
2024-05-17 23:34:45 +00:00
Robin Peng
18c9e5ded8 Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option

Bug: 340734471
Change-Id: I24d3c20c1116d679c426862b28f5defa7e786ff2
2024-05-15 09:52:44 +00:00
Shiyong Li
f5fbd34ecb Merge "Allow HWC access to power_state node" into 24D1-dev 2024-05-09 05:16:16 +00:00
Darren Hsu
82e60fe15c odpm: support 2 random mappings to iio device
VSYS_PWR_MMWAVE will be replaced with S12S_VDD_AUR on SUB6
only sku. The replacement failed sometimes because there are
2 random mappings to iio device.

Mapping 1
iio:device0 -> s2mpg14-odpm
iio:device1 -> s2mpg15-odpm

Mapping 2
iio:device0 -> s2mpg15-odpm
iio:device1 -> s2mpg14-odpm

Bug: 337665886
Bug: 338416918
Bug: 338316877
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I0f469f663ca25dce86f4e9e44442723627fbb724
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-05-03 01:47:11 +00:00
Kevin Ying
b15c8951e6 Allow HWC access to power_state node
Bug: 329703995
Test: manual - used camera
Change-Id: I9ca4c107c81257e87aee20d096c02b31b517b213
Signed-off-by: Kevin Ying <kevinying@google.com>
2024-04-23 22:00:24 +00:00
Darren Hsu
ca111715d9 odpm: correct device index of s2mpg15 for ZumaPro
Bug: 332504591
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I570643e7408a93504cf5955b6d433ed14c448988
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-04-09 09:31:23 +00:00
sashwinbalaji
80c9fb7020 thermal: Update VIRTUAL-SKIN equation
Update the trigger sensors and equation for virtual-skin.

Bug: 303547449
Test: Local build, verify no thermal error logs and lshal.
Change-Id: I72677b58a4c4e29f4cd5e95b98691e4e1efb0fdc
2024-03-28 15:30:36 +08:00
Darren Hsu
b5e8a3766d odpm: replace MMWAVE rail with AUR rail for SUB6 only sku
Bug: 323103160
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ifa208396d7c9e6a8772743e94004292a981d1a28
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-02-01 02:00:56 +00:00
Treehugger Robot
f85950f745 Merge "hall_sensor: Disable hall sensor input when bootmode is unknown" into main 2024-01-30 06:55:25 +00:00
emilchung
c579744e36 hall_sensor: Disable hall sensor input when bootmode is unknown
Fix: 322899718
Test: 1. No hall sensor in getevent.
      2. Inner/outer screen can be switched in offmode charging,
      recovery, fastboot mode.
Change-Id: Ie61216a201b31a320b423460fe6694d21838b973
Signed-off-by: emilchung <emilchung@google.com>
2024-01-30 06:53:18 +00:00
Midas Chien
a4ceb05681 display: allow hwcomposer to access allow_wakeup_by_state_change
Bug: 311495944
Test: check permission
Change-Id: If7e2e8e386bbce2091aa883188d9bcafef687ba1
2024-01-17 07:56:00 +00:00
Wendly Li
a4b19b8d8c support touch sensitivity mode switching
Bug: 273158518
Bug: 273162591
Test: toggle the touch sensitivity button in Settings and check log.
Change-Id: Ic02876217e16c6b22510b2ef956d65980afbd9d6
Signed-off-by: Wendly Li <wendlyli@google.com>
2024-01-16 05:58:28 +00:00
Wendly Li
4827f9dc06 init: modify touch offload permission for twoshay
Bug: 273163806
Test: twoshay launched successfully.
Change-Id: I16ca4d79ae833f4d85aba2ac922b1fd3d62530d1
Signed-off-by: Wendly Li <wendlyli@google.com>
2024-01-12 09:40:26 +00:00
Mark Chang
768314f7a7 init: start twoshay on boot.
Bug: 273163806
Test: twoshay launched successfully.

Change-Id: I443f8a6105145595f0bc7fbbc20536f0e3994d92
Signed-off-by: Mark Chang <changmark@google.com>
2024-01-10 07:57:00 +00:00
sashwinbalaji
edb8b488e5 thermal: Dynamically decide thermal config to use
Add service which will device thermal config on basis of following
conditions:

- No display panel / proto, use thermal_info_config_proto

Bug: 315096213
Test: Build and verify on all device variations
Change-Id: Ic1f652dcf38888150200bb80b35aad740058e85f
2023-12-18 19:28:00 +08:00
Zheng Pan
4fa855d1cb import init.${ro.board.platform}.board.rc
init.zumapro.board.rc contains configurations for zumapro board
use ro.board.platform to get device board type

Bug: 311016628
Test: None
Change-Id: I90f7f01646aee8ea44ffe2a94980826b20d989ea
2023-12-06 17:56:45 -08:00
George Chang
7b869d7d0c Merge "[NFC] Disable SE_CHIP_EN for P1.0" into main 2023-12-04 10:12:46 +00:00
sashwinbalaji
06a07b8216 thermal: Separate thermal config on basis of hardware revision.
Due to change in power rail naming b/297343909 split the thermal info
config for proto separately from later hardware versions.

Bug: 314047297
Test: Build and verify thermal logs on proto and evt devices.
Change-Id: I9cc4570f7d983dd9b3554aea636fc50a00eefd62
2023-12-04 11:35:32 +08:00
George Chang
b3795423a4 [NFC] Disable SE_CHIP_EN for P1.0
Bug: 298424645
Test: manual
Change-Id: I16e3d6c5ab167ad0d12711b1ec9a1cec85131920
2023-11-28 08:21:43 +00:00
sashwinbalaji
7534e2b0ab thermal: Bringup initial VIRTUAL-SKIN thermal policy
Bug: 303547234
Test: Update config and run burn8 to verify thermal logs.
Change-Id: Id2a9caac0bb044bfb28d3c3f5acb4550c979fd87
2023-11-20 10:04:23 +08:00
George Chang
4c51ba132a [eSE/eSIM] Setup STResetTool lib name
Bug: 287568687
Test: SecureElement/SecureElementAidl#reset/2_android_hardware_secure_element_ISecureElement_eSE1
Change-Id: I449de5ae0b5ed464b3335d292a80cd2cf1f75c98
2023-09-11 06:35:29 +00:00
Tai Kuo
e10b2d699e conf: Move haptics init rc to a common folder
Bug: 285343932
Test: No permission error logs on the HAL init.
Change-Id: Ia672e0d97f8e8fc498d4e73dcba228ecfd979a24
2023-09-05 17:49:08 +08:00
Weizhung Ding
3e92bed40f Merge "Add permission for secondary display" into udc-qpr-dev 2023-06-26 07:47:18 +00:00
Weizhung Ding
808d2ec022 Add permission for secondary display
Bug: 287392044
Test: adjust brightness
Change-Id: I6750605c0b223df10b64a229365be7f88ff70656
2023-06-15 07:16:02 +00:00
Robin Peng
e5d2a88616 Migrate comet to P24 zumapro codebase
Bug: 287173316
Change-Id: Id03e526ff8ca67d8d9ee83a9d3bacfb1473e9a25
2023-06-15 06:39:59 +00:00
Treehugger Robot
65d6f1fbba Merge "conf: Load 1540.app for FPS" into udc-d1-dev 2023-04-19 08:32:59 +00:00
George
e54ac5dc1a [NFC] Add overlay and update configuration settings
Bug: 278155583
Test: manual
Change-Id: I76f48c597504fa36cf65df5384079baeefb94812
2023-04-18 21:42:27 +08:00
eddielan
8a8feee935 conf: Load 1540.app for FPS
Bug: 277843284
Test: Build pass
Change-Id: I4046ab96c30b5e559db7f168ad2cb642108f0e72
2023-04-12 14:03:02 +08:00
chenkris
22fd1bb40c Move udfps antispoof property to common g7 folder am: 363f625203
Original change: https://googleplex-android-review.googlesource.com/c/device/google/comet/+/22214407

Change-Id: I73389bc29ff36b823f7ccf65588a50507428cf3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 03:53:40 +00:00
chenkris
363f625203 Move udfps antispoof property to common g7 folder
Bug: 270657514
Test: authenticate fake finger
Change-Id: I7e75a949c630a251ade4612dc5ea0bd682829017
2023-03-23 07:45:24 +00:00
emilchung
3dcad0dec3 Disable hall sensor in normal & factory mode.
Bug: 270639066
Test: Set ro.bootmode=normal and see hall sensor is disabled.
Test: Set ro.bootmode=factory and see hall sensor is disabled.
Change-Id: Id5666e2e74fdaebd2c79ad65046251f025f54afb
Signed-off-by: emilchung <emilchung@google.com>
2023-03-21 14:59:02 +08:00
Zheng Pan
a0405c88dc Comet: Move init.insmod.cfg from vendor to vendor_dlkm
To decouple init.insmod.${device}.cfg from HLOS,
it is moved to kernel repo and built in vendor_dlkm.img.
Also make init.rc to load it from vendor_dlkm/

Bug: 270603150
Test: Build image and check vendor_dlkm.img
Change-Id: Iebef45abfa310cc231f5a62a55746f3a055940fc
2023-03-08 14:06:07 -08:00
Kris Chen
33e9d9d4e6 Remove the redundant g7 ta loading in init.xxx.rc
Bug: 264646112
Test: fingerprint works fine after device reboot
Change-Id: I3814e46e128cb7c0e73a09158a2eb9b328c03ff5
2023-02-21 15:38:45 +08:00
Tai Kuo
eb840a95d8 conf: setup vibrator permission and init cs40l26 HAL
Bug: 264625320
Test: Check sysfs permission.
Change-Id: I034841463723511a44896e2a074853ff5312a597
2023-02-04 15:26:39 +08:00
Cyan_Hsieh
919f3e1cb5 Initial device comet
based on 84d60a2e19d4ad09086067994d2f683ff86f6231

Bug: 263919239
Change-Id: I7be43786325116baddd35e182f87ad15fbe1a6ce
2023-01-18 18:34:03 +08:00