Commit graph

87 commits

Author SHA1 Message Date
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
Krzysztof Kosiński
fd4506590c Set Lyric camera_hardware variable.
Bug: 240478511
Test: presubmit
Change-Id: I19b05a45e68df83a4960453b88da1ae2d567d921
Merged-In: I19b05a45e68df83a4960453b88da1ae2d567d921
2022-09-23 02:54:04 +00:00
Carter Hsu
c12e2a6871 Merge "audio: update CCA default setting" into tm-qpr-dev 2022-09-23 00:49:19 +00:00
Carter Hsu
7f413029d1 audio: update CCA default setting
Bug: 248151108
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib748d193d6cba40b443ef0f7d2b91b04ce081257
2022-09-22 03:27:23 +00:00
TreeHugger Robot
ee7d5fd218 Merge "Build F10 default CMF color wallpaper" into tm-qpr-dev 2022-09-22 01:39:36 +00:00
Ching-Sung Li
1b50cbaad1 Build F10 default CMF color wallpaper
Bug: 246952543
Test: Build pass; manual
Change-Id: Idbb9582962740f36cb16afbe75246c58ecfda165
2022-09-21 01:36:02 +08:00
Jason Chang
1368c814cf Disable One-handed mode system property for F10
PRODUCT_PRODUCT_PROPERTIES += \
    ro.support_one_handed_mode=false

Note: We intend disable flag for large-screen device

Bug: 245051925

Test: manually test.
Change-Id: I8c747f999c0e8c99095f00056a61b7691e369bda
2022-09-05 16:42:15 +08:00
Wayne Lin
3917cc94ae Merge "Move lhd.conf, scd.conf to device folder" into tm-qpr-dev 2022-09-01 08:27:38 +00:00
Gil Liu
14a5fa5c30 Merge "display: Set ro.surface_flinger.ignore_hdr_camera_layers" into tm-qpr-dev 2022-08-31 07:30:07 +00:00
Shanmuga Pandi M
9ef3632eff [F10] Camera: Enable the product properties.
1. Raise buffer allocation priority
2. Extended cpu boost

Bug: 243607128
Test: GCA
Change-Id: Icc70f68c7af81196a0fb531d8699270fb8c6afc7
2022-08-31 06:05:02 +00:00
TreeHugger Robot
fc210a7534 Merge "Obsecure camera EXIF information for AOSP camera." into tm-qpr-dev 2022-08-31 03:45:22 +00:00
Wayne Lin
ca25c24d3c Move lhd.conf, scd.conf to device folder
Move lhd.conf, scd.conf to device folder and maintain them separately by project requirement

Bug: 244258007
Test: confirm the configurations are correct
Change-Id: Idec1cb1b10ab836e696941f6efd8eba48f95a9f2
2022-08-31 10:11:56 +08:00
TreeHugger Robot
520d2ba546 Merge "update dimming usage property" into tm-qpr-dev 2022-08-30 06:27:33 +00:00
MingChe Chiang
0cfb27ef87 Obsecure camera EXIF information for AOSP camera.
Bug: 242039712
Test: AOSP camera snapshot
Change-Id: I0b79919d748b33fcb684eec6e826cbfa7a648f0d
2022-08-30 14:05:00 +08:00
jimmyshiu
6a07310af2 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: b/241152899
Bug: b/195990840

Test: manual
Change-Id: If485f2bb12c5e44e58f294807b5085016b148192
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
2022-08-29 12:23:54 +00:00
David Chao
91f8937f1f thermal: seperate thermal config for charging
Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 240897207
Test: thermalHAL init completed in charger.
Change-Id: I6e0c6869969ae1e817db00e2492afb3aaa2fe43d
2022-08-22 14:41:30 +08:00
linpeter
b9d18c4a31 update dimming usage property
Bug: 234327328
test: check value of property
Change-Id: I30ea114148538eb81214ecbca3f6ec6f6540c9a2
2022-08-15 20:35:09 +08:00
TreeHugger Robot
beb65036fa Merge "Add early wake up node property for secondary display" into tm-qpr-dev 2022-08-11 08:25:32 +00:00
achigoliu
e9d5e01980 Bundle handheld_core_hardware.xml
Bug: 237110906
Test: Manual, verify build artifacts
Signed-off-by: achigoliu <achigoliu@google.com>
Change-Id: I40d8e00d90cb733dc03064556894e89dbd38a5af
Merged-In: Ie89503e9983eee55b1ae6f03a24cd51d58080772
2022-08-09 10:39:37 +08:00