Commit graph

310 commits

Author SHA1 Message Date
Cathy Hsu
0b93ade1bc display: ct3d: update non linear brighness profile
Bug: 296639856
Test: log shows correct message
Change-Id: I8a3ec571bfb28cf36db02e7674b9ed3d04225cdf
Signed-off-by: Cathy Hsu <cathsu@google.com>
2023-11-24 07:40:15 +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
Robert Lee
aa713e43d0 audio: disable 96k playback
Bug: 307247694
Test: builds
Change-Id: I703cb23e7ea94e148bf86316e59cddbb0c8e5079
Signed-off-by: Robert Lee <lerobert@google.com>
2023-11-08 14:59:35 +08:00
Derick Hong
9092e56682 Merge "Comet: change display density to 360" into main 2023-11-08 05:29:40 +00:00
Ted Wang
6538c4fa28 bt: update BT HAL configuration file for CT3
Bug: 309721598
Test: make
Change-Id: Ia6ef29d3ba5b5a5348dc35caef87f660d7193bc2
2023-11-08 05:27:38 +00:00
derickhong
693717cbbb Comet: change display density to 360
Bug: 284857612
Test: adb shell getprop ro.sf.lcd_density
Change-Id: Ida0a97f3d987ef025b4ee2b7f9827ff5c9e0a0ed
2023-11-08 10:38:21 +08:00
Roshan Pius
8f086f9019 Merge "Revert "comet(nfc): Modify NFC overlays for NFC apex"" into main 2023-11-06 14:31:02 +00:00
Roshan Pius
eb7d5f38cc Merge "Revert "comet: Replace NFC app with NFC apex"" into main 2023-11-06 14:31:02 +00:00
Roshan Pius
fffed73cbe Revert "comet(nfc): Modify NFC overlays for NFC apex"
Revert submission 25189355-nfc_overlay

Reason for revert: Causing bootloop with signed builds

Reverted changes: /q/submissionid:25189355-nfc_overlay

Bug: 309117462
Change-Id: I36d4ce1897b400644fd06b7a20112d5bbc374238
Test: Compiles, device boots up
2023-11-04 19:01:10 +00:00
Roshan Pius
838f3ff3f2 Revert "comet: Replace NFC app with NFC apex"
Revert submission 24993894-cherrypicker-L80100000963393177:N49200001411943056

Reason for revert: Causing bootloop with signed builds

Reverted changes: /q/submissionid:24993894-cherrypicker-L80100000963393177:N49200001411943056

Bug: 309117462
Change-Id: I32ef277c8b37f7258a07340a06dbf5a73b5f947a
Test: Compiles, device boots up
2023-11-04 14:59:13 +00:00
Hasan Awais
ac6c949c85 uwb: update uwb calibration
Bug: 308683676
Change-Id: Iff0880ad224d95ccf5d167e04d83e178e9c59be7
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-11-02 21:07:18 +00:00
Peter Lin
3f85fc50a2 update darkening light debounce to 2s
Bug: 298742079
test: check dumpsys display
Change-Id: Icae83917aefa6b52faac54b72d8af30d80de0660
2023-11-02 02:31:24 +00:00
Treehugger Robot
fcdb6f3a52 Merge "Enable NFC firmware logging" into main 2023-11-01 13:39:04 +00:00
Jack Yu
814a752148 Enable NFC firmware logging
Enable NFC firmware logging by default for better debuggability.

Bug: 307999188
Test: manual
Change-Id: I996fcd2ad13718341ea817bff302690f8d77ff15
2023-10-31 12:08:26 +00:00
Darren Hsu
b50e598270 powerstats: update display state residency configs
Bug: 291861112
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I242666ccdd116891ebf34671afb67d1f504ee79e
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-10-31 16:52:50 +08:00
Wayne Lin
d11bf74374 Merge "gps: refine gps build system" into main 2023-10-31 05:35:19 +00:00
YoonKyung Kim
8122072d1e Merge "Delete Comet media_profiles from device/google" into main 2023-10-31 05:17:16 +00:00
Weizhung Ding
ea55918cca Merge "display: enable smooth display" into main 2023-10-31 02:26:47 +00:00
Shin-Yu Wang
d6dc1e3e0c Merge "Update Doze brightness mapping" into main 2023-10-30 04:49:19 +00:00
Weizhung Ding
752f81e6b6 display: enable smooth display
Bug: 284856707
Test: build and check smooth display is enable
Change-Id: Icfdeb1d88f643f6c31127d2fa5ed1dd924b0c1ed
2023-10-30 03:42:16 +00:00
Will Song
6dea0185b9 PREUPLOAD: Enforce jsonlint in preupload
Checks syntax and simple brace balances for all JSON files.

Test: Edit any json file and try upload
Bug: 127794899
Change-Id: Iebacfabc26a9ef4e3b31875ca46ff3537d7c4c3a
2023-10-29 02:13:23 +00:00
Treehugger Robot
22f016683a Merge "uwb: move calibrations to device specific folder" into main 2023-10-27 17:55:32 +00:00
Hasan Awais
287b73f251 uwb: move calibrations to device specific folder
The UWB calibration files were previously copied from the Qorvo
area. They are now copied from the device specific folder.

Bug: 307692986
Change-Id: I18e38abb7ee6e1e44f967f755b22bd3db50720e6
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-10-27 16:57:36 +00:00
Wayne Lin
3087d9a54b gps: refine gps build system
- remove override directive
 - separate gps configuration files for each device

Bug: 291186485
Test: build pass and configuration files are correct
Change-Id: I907d5e04c267753ce25e5de5f5080536df7e7041
2023-10-27 22:23:11 +08:00
yoonkyungkim
e753e81922 Delete Comet media_profiles from device/google
media_profile contain potentially sensitive data.
These files should not be located in device/google, since this folder
history is visible in AOSP.

Test: build success(source build/envsetup.sh && lunch comet-trunk_staging-userdebug && m)
Bug: 305170657
Change-Id: Ic8fe4d439a74bc88f537dcb047b5b8d10fae355a
2023-10-27 13:48:14 +00:00
Treehugger Robot
29c51e3c90 Merge "comet: Enable Lbe" into main 2023-10-27 08:31:47 +00:00
Treehugger Robot
c976b63230 Merge "comet(nfc): Modify NFC overlays for NFC apex" into main 2023-10-27 03:38:12 +00:00
Derick Hong
a58a6e0c3d Merge "display: Add CT3 outer display color data" into main 2023-10-27 02:14:58 +00:00
Roshan Pius
22df671c5d comet(nfc): Modify NFC overlays for NFC apex
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: Ie18d902c949b1307547eb7fdcfd93213ab8c0561
2023-10-26 10:00:14 -07:00
Shin-Yu Wang
31d6680e27 Update Doze brightness mapping
Bug: 284857992
Test: check lp_state in different lux
Change-Id: I67f6c5477673074ca5336a42cc3886dbde6b8b29
2023-10-26 05:57:48 +00:00