Commit graph

105 commits

Author SHA1 Message Date
Andy Hung
7d81772064 Merge "Disable transaural spatialization by default" into tm-qpr-dev 2023-03-21 17:53:51 +00:00
Andy Hung
3fd0902831 Disable transaural spatialization by default
Test: see bug
Bug: 270980127
Change-Id: I9b5d1ef66f7740c986f7bc037db2ef516719c7c1
2023-03-16 22:01:48 -07:00
Mao Lee
e6c84ed36e Camera: Add the property to raise the thermal severity to moderate for CPU throttling.
Bug: 269029244
Test: GCA, CTS
Change-Id: Iad53f94f55c8cd4998339fb8e1103dd9d1a9fc90
Merged-In: Iad53f94f55c8cd4998339fb8e1103dd9d1a9fc90
2023-03-15 08:08:48 +00:00
TreeHugger Robot
2ab0eff806 Merge "Camera: Force front camera always binning for 720P or less" into tm-qpr-dev 2023-03-08 10:05:49 +00:00
timothywang
0277cb2ad3 Do not use sensor output ratio in itp output
Add a property to avoid using sensor output ratio as the itp output
ratio.

Bug: 263851685
Test: GCA, CTS
Change-Id: Ie511989e934fd033e6f375c85675ad9b26de55d4
Merged-In: Ie511989e934fd033e6f375c85675ad9b26de55d4
(cherry picked from commit d5b8e01365)
2023-03-07 09:21:03 +00:00
pointerkung
d7ee05dd79 Camera: Force front camera always binning for 720P or less
Bug: 271241073
Test: Build pass
Change-Id: I519925dd475283d1d5938e26c3b5389a4e9ee03c
2023-03-03 17:30:07 +08:00
MingChe Chiang
1dc9def84d Reveal model/make name in camera EXIF
Bug: 261536897
Test: Check EXIF data from JPEG image, CTS
Change-Id: I142b0460b3c6a489e068e23a91f4b3a3f1a77ba9
2023-02-21 07:34:15 +00:00
Weizhung Ding
e64606ae07 Merge "disable dimming on display1" into tm-qpr-dev 2023-02-21 07:20:27 +00:00
TreeHugger Robot
ce86ce1e91 Merge "Revert "Revert "audio: enable speaker spatializer""" into tm-qpr-dev 2023-02-20 17:48:50 +00:00
Andy Hung
28b152002c Revert "Revert "audio: enable speaker spatializer""
This reverts commit dd8978fef5.

Reason for revert:  Was disabled for Device release, now reenabling for QPR3 release

Change-Id: I6d627cffad8b2201b33d1c2ea4479a12ee778551
Test: Treehugger
Bug: 269911166
2023-02-19 21:50:19 +00:00
Andy Hung
a1ec076e3b Merge "Revert "audio: enable speaker spatializer"" into tm-qpr-dev 2023-02-17 16:53:25 +00:00
Weizhung Ding
b6f3abe702 disable dimming on display1
Bug: 268291542
Test: switch between NBM and HBM
Change-Id: I115b268e4506d7f20852dc1e0b48c3ded6559a1e
2023-02-17 16:39:12 +08:00
Chase Wu
876c33ffe6 cs40l26: change property tag to vendor
PRODUCT_PRODUCT_PROPERTIES was defined in system scope, so
it would be replaced when device was flashed to another
system image.

Bug: 263065317
Test: flash GSI image and test haptics
Change-Id: Ib466e66bddd6f38cbefe280198e27edb8140c62c
2023-02-17 15:02:15 +08:00
Andy Hung
dd8978fef5 Revert "audio: enable speaker spatializer"
This reverts commit f573970502.

Reason for revert: Disable for device launch.

Test: Transaural spatialization removed from settings.
Test: 5.1 audio on speaker goes through regular downmix / MixerThread.
Test: Binaural spatialization works, enabled on HBO Max and 5.1 file playback.
Test: Regular audio playback works as expected.
Bug: 269650006
Change-Id: Ib5a086d752a85f59c22e164a142e782f76883936
2023-02-16 22:44:54 +00:00
Speth Chang
f8d83a789f Merge "Don't crash camera when received csis link error interrupt" into tm-qpr-dev 2023-02-16 08:10:45 +00:00
Blossom Chiang
244881df4e Revert "Obsecure camera EXIF information for AOSP camera."
This reverts commit 0cfb27ef87.

Reason for revert: the change is not necessary because GCA is built in-ROM.

Bug: 267970295
Test: check SELINUX
Change-Id: I21ed659914a347cad43ae381ab95debe24c7a529
Merged-In: I0ec02d6942cf40b5905dd05f5b609113b46063e2
2023-02-06 11:33:13 +00:00
Speth Chang
d92f2caa8f Don't crash camera when received csis link error interrupt
Bug: 261822531
Test: build pass
Change-Id: Idee02357e59d2d1920a75452a44350160bab1014
2023-01-31 16:18:17 +08:00
Jasmine Cha
f573970502 audio: enable speaker spatializer
Bug: 260779305
Test: manaul test

Change-Id: Ifbcee9faebb7607ec08db947e69d1d2d31d9eaab
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-28 07:05:56 +00:00
TeYuan Wang
fd349fa42c thermal: update experimental thermal config
Bug: 261933386
Test: switch property and check thermal log
Change-Id: Iad5ad7aecc7957a489ed8a1afb1da8e148b46ea7
2022-12-23 15:55:18 +08:00
Andy Hung
afef0c1a32 Spatializer: Add tuning to reduce glitches and power.
Test: Instrumented
Test: adb shell 'uclampset -a -p $(pgrep -of android.hardware.audio.service)'
Bug: 261228892
Bug: 261686532
Bug: 262803152
Change-Id: I8c1e63c29a323d1dd9281d562fca703467b67b06
2022-12-16 17:10:45 -08:00
TreeHugger Robot
0f36cb2ecf Merge "Rename frequency table for foldable camera" into tm-qpr-dev 2022-12-14 03:58:29 +00:00
TreeHugger Robot
f2c9437512 Merge "Add MIPI Coex tables for felix camera and display" into tm-qpr-dev 2022-12-14 03:55:04 +00:00
Chase Wu
62fde00943 Merge "[DO NOT MERGE] cs40l26: single HAL for dual haptics" into tm-qpr-dev 2022-12-13 10:29:36 +00:00
Chase Wu
07468b074a [DO NOT MERGE] cs40l26: single HAL for dual haptics
We need to sync both haptics on the single HAL
architecture to reduce the time overhead and prevent the
mismatch behavior from vibrator manager HAL implementation.

Bug: 260090235
Bug: 261687849
Bug: 261841035
Bug: 261832151
Test: atest PtsVibratorHalTestSuite \
PtsHapticsTestCases \
PtsHapticsFeatureTestCases \
VibratorHalCs40l26TestSuite \
VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest \
android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest \
android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest \
Change-Id: I084e1da952ab2f63e5c217a7f708ac3d34635336
Signed-off-by: Chase Wu <chasewu@google.com>
2022-12-12 17:34:18 +00:00
Ken Tsou
eaa6f9bba5 battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device boot up
  - persist.vendor.limit.wlc.current=1

How to verify:
  adb shell setprop vendor.disable.wlc 1
  adb shell cat /sys/class/power_supply/wireless/online >>>> 0

  adb shell setprop persist.vendor.limit.wlc.current 1
  adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000

Bug: 230549765
Test: set the property manually and query the result from file node.
Change-Id: I5bcf9baeb2818b439520167b518b2e5c5224d7e2
Merged-In: I5bcf9baeb2818b439520167b518b2e5c5224d7e2
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 4c821c04fc25b026f5fc8e9301758bf87dbb4a3e)
2022-12-11 07:32:46 +00:00
Labib Rashid
b825aa3228 Rename frequency table for foldable camera
Bug: 261014253
Test: go/dynamic-frequency-test
Change-Id: I1aeb28911468dcc57ee98d584b5cb98cdac57f78
2022-12-09 10:02:58 +00:00
Labib Rashid
871c40aea1 Add MIPI Coex tables for felix camera and display
Source:
https://docs.google.com/spreadsheets/d/1wE755LyNtPcAtzDJhMs0WbwBllaYB8vsVmy9UsAswHM/preview#gid=0

Bug: 258743031
Test: go/dynamic-frequency-test
Change-Id: If48bfd35aae4051bd37eae657515c390cd0f132c
2022-12-09 10:01:53 +00:00
Austin Borger
1cc07ade34 DO NOT MERGE Set camera_landscape_to_portrait device property on Felix.
Test: Snow (successful), XRecorder (successful)
Test: Snapchat (successful), Instagram (successful)
Test: Telegram (Zoomed)
Bug: 250678880
Change-Id: Icfd7405812820669587d171e5766d0f969e1a1f2
2022-12-05 21:08:53 -08:00
TreeHugger Robot
331e326532 Merge "Camera: Enable optimized TNR frequency and create TNR low power hint." into tm-qpr-dev 2022-12-01 09:00:55 +00:00
pointerkung
383bee5df3 Camera: Enable optimized TNR frequency and create TNR low power hint.
Bug: 250738213
Test: Build pass, GCA, 4K60 and 240fps power and performance verification
Change-Id: Iaf8d37a927276f58d1aece82dd54407c76118670
2022-12-01 05:48:18 +00:00
Yanting Yang
8e7ca9aba0 Add initial MIC e-label for JP SKU of F10
Also remove the obsolete SKU files which migrate from old projects.

Bug: 260523986
Test: visual
Change-Id: Ie7932ae7cfa53ca449ede9d6ab7587ed26555993
2022-11-29 18:20:56 +08:00
Chih-ren Yu (Swim)
f090c50e45 Merge changes Ib01ea173,I839b75d1 into tm-qpr-dev
* changes:
  Don't set the min CPU frequency to max frequency for CAMERA_SHOT
  Enable the flag to increase thread priority for nodes stop
2022-11-19 15:48:14 +00:00
Chih-ren Yu (Swim)
5ad5691747 Enable the flag to increase thread priority for nodes stop
Bug: 259635909
Test:
1. use 'adb shell getprop persist.vendor.camera.increase_thread_priority_nodes_stop' to confirm the property is default set
2. Camera Checklist
3. CTS performance test
Change-Id: I839b75d163d320c7aa4e17ce98bfe8a497372ba7
2022-11-18 07:24:01 +00:00
wenchangliu
e17e67523b F10: Enable media performance class 13
Bug: 242961416
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testCameraPerfClassCharacteristics
Test: atest CtsFileSystemTestCases
Change-Id: I0a49449f0ab273dca87ce77934b8de4e47a58b91
2022-11-16 06:44:37 +00:00
TreeHugger Robot
567d9bcacb Merge "[DO NOT MERGE] cs40l26: Remove compose PWLE feature" into tm-qpr-dev 2022-11-15 09:02:23 +00:00
Chase Wu
dd5be27009 [DO NOT MERGE] cs40l26: Remove compose PWLE feature
Currently, this feature was not enabled at the vibrator framework,
and it still needs to do more test under multiple actuator cases
before the official release.

Bug: 232510459
Bug: 257032261
Test: atest PtsVibratorHalTestSuite \
VtsHalVibratorManagerTargetTest \
android.os.cts.VibratorManagerTest \
Change-Id: Ib83deaccb371f76df33cc501c9ffb97e477c3492
Signed-off-by: Chase Wu <chasewu@google.com>
2022-11-15 08:32:00 +00:00
Jinyoung Jeong
cda823ac85 Add system property for transfer in non-QS flow
For Felix

Bug: 245814974
Bug: 254613814
Test: manual
Change-Id: Ibafb39e051a037bd3c6d20ad1f33bdadff4d4003
2022-11-11 20:41:23 +00:00
Chase Wu
86104145dc Merge changes from topic "Vibrator_manager_project_path" into tm-qpr-dev
* changes:
  [DO NOT MERGE] cs40l26: Enable vibrator manager feature
  cs40l26: Add vibrator manager support
  [DO NOT MERGE] cs40l26: using the project folder mk
  cs40l26: Move the latest vibrator HAL to device
  vibrator: Separate the audio coupled haptics setting
2022-11-03 07:36:38 +00:00
Chase Wu
3f32520d2f [DO NOT MERGE] cs40l26: Enable vibrator manager feature
This patch remove the old dual design and add it into the original
vibrator HALs'rc file.

Also, this patch dynamically gets the service name from rc file.

Bug: 181615889
Test: Manual type and trigger a long/short vibration
Test: cmd vibrator_manager synced xxxx
Test: cmd vibrator_manager sequential -v 0 xxxx
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I7a5dd65c67e01a008f8d2c675dc7b96599469622
2022-11-02 22:26:31 +08:00
Speth Chang
b916f9aa5e Revert "f10: bypass csi crc error"
This reverts commit 5837e427b0.

Bug: 254386886
Test: F10 GCA 4k60
Change-Id: Id96c9c3ebc50efc13538b4e5edaf40dd1069956c
2022-10-31 14:35:07 +08:00
Chase Wu
fd52691553 [DO NOT MERGE] cs40l26: using the project folder mk
The based mk file is different from master one, so
there is no need to merge this patch to master branch.

Bug: 181615889
Test: Run all test suites
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I61106aee64c87f77cef966d307ca5f047b5cc0b2
2022-10-28 23:31:13 +08:00
kuanyuhuang
c7cca3cb0b BT: add sysprop to enable OPUS codec
Add new system proprty persist.bluetooth.opus.enabled to
indicate devices enable OPUS codec.

Bug: 254609888
Test: manually
Change-Id: I691259f41810777987b5d2dae3e426d58363b0e7
2022-10-27 10:08:12 +00:00
TreeHugger Robot
20f5b12804 Merge "Add hci_inject in userdebug build" into tm-qpr-dev 2022-10-19 06:33:35 +00:00
Ted Wang
1d4794d076 Add hci_inject in userdebug build
Bug: 254203740
Test: make
Merged-In: I2bb5109f0fbf48bfd6b07afcc6a7a4f8bb503fb7
Change-Id: I2bb5109f0fbf48bfd6b07afcc6a7a4f8bb503fb7
2022-10-18 16:51:55 +08:00
Ted Wang
df9fac5406 BT SAR table for EVT dogfood
EU and US region of Bluetooth sar table for EVT dogfood. Currently no
table for JP, so use EU table for the first release.

Bug: 254002880
Test: Maual
Change-Id: Icc2ed14dcc85ca19fceea62481c7834421f7c263
2022-10-18 12:39:25 +08:00
Yung Ti Su
95a10f74ae Enable the spatial audio function
Bug: 248470366
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie1282d6550052c4bffacaa0b88388bbabe73a208
Merged-In: Ie1282d6550052c4bffacaa0b88388bbabe73a208
2022-10-13 20:06:26 +08:00
TreeHugger Robot
658cdd17be Merge "f10: bypass csi crc error" into tm-qpr-dev 2022-10-13 07:35:11 +00:00
Speth Chang
5837e427b0 f10: bypass csi crc error
Bug: 249439125
Test: F10 outer front GCA
Change-Id: I41ec5bb93d01863b975f6390e0e60ed7d5465781
2022-10-06 10:13:58 +00:00
eddielan
ae5960d254 fingerprint: Enable clean ta flag
Cherry-pick from ag/19780444

Bug: 251235139
Test: Build Pass & Check log on device
Change-Id: If817cef86f1184c4ed13e579e050d9a7da2d83fc
2022-10-06 13:42:01 +08:00
Victor Liu
c6c383d3c7 Uwb: Enable Dck R3 flag
Bug: 247635749
Change-Id: I1e28a7b93eb06c4c2dc232010604963efe2c560b
2022-09-27 00:43:31 +00:00