Commit graph

338 commits

Author SHA1 Message Date
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
Chris Göllner
242d7789a3 Merge "[Comet] Configure camera cutout protection" into main 2023-12-15 15:05:48 +00:00
Chris Göllner
0b825d89b2 [Comet] Configure camera cutout protection
Before, it was only configured for the outer screen front camera.

Fixes: 311147359
Test: Manual
Change-Id: I060819a6069d07dc550d956c1897d6fa3a3b8e08
2023-12-15 14:12:27 +00:00
Chris Göllner
e9fe17264d Merge "[Comet] Configure taskbar height" into main 2023-12-15 09:25:56 +00:00
Zheng Pan
3805b1dba4 Merge "import init.${ro.board.platform}.board.rc" into main 2023-12-13 23:40:52 +00:00
Jasmine Cha
0b5893f3d8 audio: initial aidl config
Bug: 316056633
Test: manual test

Change-Id: I610dff4963dce89378b583ca78a9d4ac82e35809
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-13 03:06:15 +00:00
Chris Göllner
2d3d8a6d5d [Comet] Configure taskbar height
- Gesture nar bar to 24dp
- Frame height to 56dp

Bug: 309606777
Bug: 297514229
Test: Manual
Change-Id: I153bf3cabd88859e5c55175f879230df575c2df0
2023-12-12 11:41:54 +00:00
Treehugger Robot
4e761e85ce Merge "audio: enable playback features" into main 2023-12-12 06:08:42 +00:00
Jasmine Cha
e1de87063f audio: enable playback features
- Playback Thermal Throttle by temperature / speaker power
- BAACL

Bug: 283051989
Test: manual test

Change-Id: Iaf77a1eff58fa6f117f6d4928145cbbb5a26579f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-12 13:33:57 +08:00
Alan Chen
e9f14ed04d Merge "Add coex tables" into main 2023-12-12 00:53:50 +00: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
Roshan Pius
94d45d78e9 Merge changes from topic "revert-25281051-nfc_apex_revert-MYIKRJSXVD" into main
* changes:
  Revert^2 "comet(nfc): Modify NFC overlays for NFC apex"
  Revert^2 "comet: Replace NFC app with NFC apex"
2023-12-06 14:57:32 +00:00
sashwinbalaji
ea590e066c thermal: Remove inner_brightness
To avoid failures related to failure in finding inner_brightness zone
remove inner_brightness tz and related virtual sensors.
Use VSKIN-CLOSED always as VSkin for the time being.

Bug: 314912609
Test: Push config and verify boot to home and any crash
Change-Id: I195a323e1a301767953f21d2a26ea6a8917ab6f9
2023-12-06 15:52:24 +08:00
Nina Chen
b0d5b2bae9 Merge "Change padding and height radio for keyboard" into main 2023-12-06 05:00:30 +00:00
Hasan Awais
2395763dcf uwb: add config entry for firmware v7.2.7
Bug: 305965326
Change-Id: I0532e6b286521626828a2376d2d384269c4be0b6
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-12-05 12:32:07 -08:00
Alan Chen
8431bf9e80 Add coex tables
Bug: 306539165
Test: manual, files are read and parsed by coex
Change-Id: Ie92f5ae0d23df336195b2a1adc26c6504fb46ff4
2023-12-05 20:52:23 +08:00
Treehugger Robot
fc50a84f29 Merge "audio: update telephony tables" into main 2023-12-05 03:09:27 +00:00
sashwinbalaji
2b2e1d64d3 thermal: Add VIRTUAL-SKIN-SPEAKER
- Add new virtual sensor for speaker
- Set usb_conn_therm trigger temp as 30.79
- Add tz maxfg_base
- Update both proto and evt onwards config

Bug: 303547367
Test: adb shell dumpsys android.hardware.thermal.IThermal/default
Test: adb shell dumpsys thermalservice
Change-Id: I17fa0f2e8c9756f58056c6ba2cdbebe7fdd555a1
2023-12-05 10:16:49 +08:00
Roshan Pius
4fc5c22105 Revert^2 "comet(nfc): Modify NFC overlays for NFC apex"
fffed73cbe

Bug: 303286040
Test: Compiles

Change-Id: Ia9533b0e3c85c36266d1299e78dffb7f8d651486
2023-12-04 13:52:56 -08:00
Roshan Pius
67f4f2b94c Revert^2 "comet: Replace NFC app with NFC apex"
838f3ff3f2

Bug: 303286040
Test: Compiles

Change-Id: Ie0af88f46ca731bbde14be57656b33ea5661c9f3
2023-12-04 11:57:07 -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
stevenzlliu
beb34e606e Remove TTS voice packs from factory ROM
For factory ROM UPH concern, we did not need TTS voice packs.
Hence, we remove them and then it could reduce super image size
and increase flash station speed.

Bug: 314245991
Test: Check super image size
Change-Id: I4ba9746c8a07c5452791d673335d07eb89abd6df
2023-12-01 08:18:44 +00:00
Nina Chen
e807b36823 Change padding and height radio for keyboard
Bug: 308156830
Change-Id: I36b29dad796b78c1138ba985312a7af51de52b0a
2023-12-01 13:38:38 +08:00
juyuchen
15057b9f48 audio: update telephony tables
Bug: 312637435
Test: see the bug

Change-Id: Ib87b9f76945ad2cfb404c9ca7d9fe530bb7c515a
Signed-off-by: juyuchen <juyuchen@google.com>
2023-11-30 11:35:24 +08:00
Beverly Tai
a66b47f5ee Merge "Update device-specific config for AOD gestures" into main 2023-11-29 15:24:40 +00:00
sashwinbalaji
a854de2c08 thermal: bringup charging thermal throttling V0.1
- Use Vskin equation as Vskin-Charge equation.
- Add thermal_info_config_charge
- Port wired and wireless throttling config from previous devices.

Bug: 303547723
Test: verified by emul_temp
Change-Id: I656e876d16192ec81792fd2753cdb656300687e1
2023-11-29 00:48:19 +00:00
Beverly
8a61ce96ad Update device-specific config for AOD gestures
To support wake gestures on the inner display.
Also remove the lockIconLongpress config since it should
not be configured for this device.

Flag: NONE
Test: manual
Fixes: 309605698
Change-Id: I9554b3c312a2e8d417280c61b227aa716d83bc22
2023-11-28 21:07:08 +00: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
Cyan_Hsieh
52e23f0a05 make VINTF target level specify by device manifest
Bug: 310792617
Change-Id: I72f4524d1f310471f48e712f88f59c737f0b74ca
2023-11-23 14:36:32 +08:00
Treehugger Robot
a09c396923 Merge "audio: disable 96k playback" into main 2023-11-21 07:37:34 +00:00
sashwinbalaji
c93c90a8bf thermal: Port latest powerhints.
Bug: 303547234
Test: Load on and device and boot.
      use emul_temp to verify various nodes
Change-Id: I876792cb052d52993e25b03d5d179af7632dad51
2023-11-20 10:04:28 +08: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
Treehugger Robot
4f29e5d7b2 Merge "[Comet] Tweak cutout rect approximation to be 56p in width and height" into main 2023-11-17 14:53:20 +00:00
Chris Göllner
41e3874d72 [Comet] Tweak cutout rect approximation to be 56p in width and height
The specs say that the status bar and nav bar should be 56dp tall when
they contain the cutout. For the status bar this is when the cutout is
at the top (rotation 0 and rotation 90). For the nav bar this is when
the cutout is at the bottom (rotation 180 and rotation 270).

The status bar and nav bar have logic to make their height to be at
least as tall as the cutout rect approximation.

Fixes: 309773362
Bug: 299908906
Test: Manual
Change-Id: I1c01280558b145280449a8c199f680c1e4304ee6
2023-11-17 10:43:27 +00:00
Treehugger Robot
9702e95959 Merge "Bluetooth: CT3 SAR table for Proto pre-DF" into main 2023-11-17 02:40:28 +00:00
Derick Hong
c8045ac143 Merge "Revert "Comet: change display density to 360"" into main 2023-11-17 02:37:04 +00:00
Treehugger Robot
975b32010d Merge "uwb: update uwb calibration" into main 2023-11-16 23:33:33 +00:00
Chris Göllner
11aa4f51ef Merge "[Comet] Set status bar height to match specs and tweak cutout rect" into main 2023-11-16 10:20:38 +00:00
Derick Hong
70150cedb3 Revert "Comet: change display density to 360"
Revert submission 25284659-COMET_DISPLAY_DENSITY

Reason for revert: change density back to 390 as discussed

Reverted changes: /q/submissionid:25284659-COMET_DISPLAY_DENSITY

Change-Id: I59c1c2dcda8bf9c25fb4cb41b61e23a6930b202c
2023-11-16 07:22:05 +00:00
Chris Göllner
5e2daa3db3 [Comet] Set status bar height to match specs and tweak cutout rect
The height specs of the status bar are 56dp when the camera is at the
top and 36dp when the camera is at the bottom.
To achieve this, we set the status bar height config to 36dp, which will
be used when the camera is at the bottom.
Then to achieve 56dp when the camera is at the top, we use the cutout
rect approximation, and make it 56dp in height. The height of the
status bar is adjusted to be at least as tall as the cutout rect.

+ Tweak the cutout rect, to make it be in the corner and intersect with
  the top and right of the screen, which is needed for status bar inset
  calculations. Before, it had a vertical offset, and was offscreen to
  the right.
  Now it is a rect that starts from the top right of the screen and goes
  to 56dp in height and until the end of the camera in width.

Test: Manual
Fixes: 309773362
Change-Id: I9425364bab2e1413c02674cb2ae2c5be411f70c3
2023-11-15 14:06:53 +00:00
Wei Wang
68405e701d Merge "comet: powerhint: update vendor_sched procfs paths" into main 2023-11-15 05:54:06 +00:00
Ted Wang
242cb038c1 Bluetooth: CT3 SAR table for Proto pre-DF
Bug: 311086416
Test: make
Change-Id: I153ced06d2780dc66c55e0afa772f4362ba884fb
2023-11-15 03:29:09 +00:00
guibing
63cf915ede comet: powerhint: update vendor_sched procfs paths
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in powerhint json file to match the change.

Bug: 289151587
Test: Manual check the paths in device
Change-Id: I2c1e79c62d7e9dcd29321983e3f2a4755e916fb0
2023-11-14 20:58:40 +00:00
Carter Hsu
9b426cd068 audio: cca to default off
Bug: 310485392
Test: build pass
Change-Id: Ifb2047950e0306a748f77ba83e04de2be39d1664
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-11-13 16:11:03 +08:00
Carter Hsu
8e1a722e62 Merge "audio: enable CCA HAL module" into main 2023-11-13 07:34:04 +00:00
Carter Hsu
6792866f8c audio: enable CCA HAL module
Bug: 310485392
Test: build pass
Change-Id: I561dbaa8424da0017e2e4aa6e46c42cc3c6799f2
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-11-13 00:41:43 +00:00
Yunfan Chen
4dc015fee8 Comet: decouple status bar and cutout from config
Override the config value for the comet device to make it happen.

Bug: 291870756
Test: m
Test: override the feature flag and observe
Change-Id: I887faf95391aaac268550e693bd1c38a5d290f68
2023-11-10 17:54:50 +09:00
Treehugger Robot
82d0c1cc9f Merge "bt: update BT HAL configuration file for CT3" into main 2023-11-10 08:07:06 +00:00
Treehugger Robot
daf0aa8a8b Merge "update darkening light debounce to 2s" into main 2023-11-09 04:59:08 +00:00