Commit graph

455 commits

Author SHA1 Message Date
Long Ling
290d454b4c preload default smooth display regamma data
Bug: 260029084
Change-Id: I55c284efe710caaaa5a33955c4cfeb39b59168b0
2022-12-13 14:44:59 -08:00
eddielan
e5761a2644 fingerprint: Add DP count flag
Bug: 261151317
Test: Build pass
Change-Id: I19abfe051c82a76f6ed2efa197f10a5d21c3780c
2022-12-13 18:33:19 +08: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
TreeHugger Robot
0c3ba8595a Merge "battery: disable wireless for pts battery test" into tm-qpr-dev 2022-12-13 05:53:24 +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
Jasmine Cha
aa946e4dcb audio: update Waves tuning
<Change List>
1. Improved Piano distortion

<Validation Results>
 Basic function Regression
    a. Stereo playback works.
    b. Stereo playback works. (speaker-safe)

Bug: 262161151
Test: manual test on b/262161151#1

Change-Id: Icaec6164f47a3ef724ee1d99831f73bb000931e1
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-12 14:12:15 +08:00
Amy Hsu
2bfe63fde4 Merge "display: add blocking zone for HBM HDR" into tm-qpr-dev 2022-12-12 04:05:05 +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
TreeHugger Robot
f71f4e233d Merge "[LSC] Add LOCAL_LICENSE_KINDS" into tm-qpr-dev 2022-12-10 01:38:14 +00:00
Wei Wang
03ea60480a Merge "Remove UClampThreshold hint" into tm-qpr-dev 2022-12-09 21:44:05 +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
Bob Badour
bfaa6d8336 [LSC] Add LOCAL_LICENSE_KINDS
Added SPDX-license-identifier-Apache-2.0 to:
  vibrator/cs40l26/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Change-Id: I0f79d8c1a23c701b8cb149d966a9bc8b688ef585
Merged-In: I0f79d8c1a23c701b8cb149d966a9bc8b688ef585
2022-12-09 16:38:14 +08:00
Austin Borger
77b5d1deb2 Merge "DO NOT MERGE Set camera_landscape_to_portrait device property on Felix." into tm-qpr-dev 2022-12-09 00:04:21 +00:00
TreeHugger Robot
c0f901cfea Merge "Remove udfps-configs for device w/o udfps" into tm-qpr-dev 2022-12-08 16:02:28 +00:00
Beverly
83da95b468 Remove udfps-configs for device w/o udfps
Removes sensors specified for:
   config_dozeUdfpsLongPressSensorType
   config_quickPickupSensorType

Test: builds, AoD works
Fixes: 261748785
Change-Id: I53364c8e00a15c4a8b3efdcffef3dd8a6d512c50
2022-12-08 14:34:57 +00:00
Chungkai Mei
610ae756aa Remove UClampThreshold hint
the file node was removed so also remove these
dummy setting

Bug: 260806701
Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-08 09:43:34 +00:00
Amy Hsu
87bfb88a54 Merge "display: update refresh rate regamma setting" into tm-qpr-dev 2022-12-08 07:18:02 +00:00
Amy Hsu
c3a13c7ce3 display: add blocking zone for HBM HDR
fix hbm hdr at 60 hz

Bug: 259644610
Test: Check FPS when playing HDR video and at HBM mode.
Change-Id: Ie1073fb5fd51c3a4fc166f2838944e6b28540198
2022-12-08 01:35:24 +00:00
TreeHugger Robot
8bbe0bf922 Merge "thermal: update thermal config" into tm-qpr-dev 2022-12-07 18:21:44 +00:00
TeYuan Wang
7e31fdad99 thermal: update thermal config
1. VSKIN equation V0.4
2. Charging throttling policy V0.2

Bug: 254163925
Bug: 239372822
Test: adb shell lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I5928850b0e26a17c5712addcb0f1d728cf34d7c9
2022-12-07 20:20:44 +08:00
millerliang
56e005a559 audio: add missed camcorder be_cfg in dsp latency
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.

Bug: 260824124
Test: Reporter verified
Change-Id: I11e6064cfd1070dd9dc5c0065a3840eaec73104a
2022-12-06 15:34:44 +08: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
Nathan Kulczak
fc3e7b89a1 Merge "[DO NOT MERGE] vibrator/cs40l26: Synchronize base and flip actuator F0" into tm-qpr-dev 2022-12-01 22:03:08 +00:00
Dylan Tian
6300d6d854 Merge "Updated BT SAR table for EVT dogfood" into tm-qpr-dev 2022-12-01 11:33:20 +00: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
Nathan Kulczak
c73579497f [DO NOT MERGE] vibrator/cs40l26: Synchronize base and flip actuator F0
Calculate F0 offset using calibration data during initialization for
both Vibrator services.

Bug: 255435707
Test: Flashed to F10 with logs to verify correct offsets were
calculated.
Change-Id: I923b45967f5cae04f968178b75382584091869b8
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2022-11-30 19:06:45 +00:00
TreeHugger Robot
23055c654e Merge "gps: Disable SUPL OTDOA" into tm-qpr-dev 2022-11-30 11:35:48 +00:00
Edwin Tung
eb318fab1c gps: Disable SUPL OTDOA
Bug: 260816431

Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: Iaa421ca520e1bd868fa6292069389bc39659caaf
2022-11-30 18:00:44 +08:00
TreeHugger Robot
30b8874571 Merge "Add initial MIC e-label for JP SKU of F10" into tm-qpr-dev 2022-11-30 08:58:45 +00:00
Weizhung Ding
40ccc7432d display: update refresh rate regamma setting
Update brightness band for outer refresh rate regamma

Bug: 239514061
Test: device boot and read file
Change-Id: I08458199474942319606277cfdb9d9dec38ce777
2022-11-30 06:45:31 +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
TreeHugger Robot
e472a0245c Merge "Init: Set property of GTI file nodes" into tm-qpr-dev 2022-11-29 07:41:51 +00:00
Dylan Tian
3a3cdbd778 Updated BT SAR table for EVT dogfood
Bug: 254002880
Test: manually check
Change-Id: I9d021a5ab0e9b309ae3b075eb05e43198ae2445e
2022-11-29 04:36:41 +00:00
David Li
952a3ebeb0 Merge "audio: Merge telephony tuning tables" into tm-qpr-dev 2022-11-29 02:40:23 +00:00
TreeHugger Robot
127686852b Merge "gps: enable GNSS PPS feature" into tm-qpr-dev 2022-11-28 13:52:31 +00:00
TeYuan Wang
dd142c7f3c thermal: adjust CPU/GPU throttling policy
1. Combine CPU, GPU to one PID policy
2. Consider modem power for CPU throttling reference

Bug: 239372646
Test: run burn8 and check the sustain temperature
Change-Id: Ida8ff65ce189a16e37baf728cc50a654a8d2ab63
2022-11-25 12:38:28 +00:00
Mason Wang
fd8a7bc61b Init: Set property of GTI file nodes
1.Set property of GTI file nodes
2.Mapping touch_sensitivity_mode to screen_protector_mode

Bug: 226475119
Test: Verify pass by access file nodes.
Change-Id: I011db849275efa7a6eeb462df0c0743b493b7381
2022-11-25 20:00:48 +08:00
David Li
2286593c72 audio: Merge telephony tuning tables
Change List :
Fortemedia - Handset
Fine-tune the downlink EQ of WB and SWB calls to avoid speech clipping
Optimize NS performance to improve voice quality

Files from the latest attachment on b/260303853

Bug: 260303853
Test: verified by huangsean@
Change-Id: I67bac456b7d490ab55d0423a8c352fb01a83b090
2022-11-24 16:19:00 +08:00
TreeHugger Robot
dd5689443b Merge "Change util threshold of camera streaming high" into tm-qpr-dev 2022-11-24 04:21:02 +00:00
TreeHugger Robot
9f06519c78 Merge "audio: waves: support speaker spatial in audio hal" into tm-qpr-dev 2022-11-24 01:26:09 +00:00
David Li
cfdd661f85 add DPE and GAPLESS_OFFLOAD and fix mmap-playback
Bug: 259008615
Test: boot up to home and test offload playback
Test: oboe output
Change-Id: Ia8a47510c54bc812a3fcc25e3c94f3fce01c3199
2022-11-23 07:07:16 +00:00
pointerkung
7a9cbcd011 Change util threshold of camera streaming high
Fine-tune the util threshold to "1100 1078 1024"

Bug: 250738213
Test: Build pass, GCA, 60fps power and performance test
Change-Id: I09ab3996e09cadf1d8a84a442b63e075fb1ebdc3
2022-11-22 11:44:56 +00:00
TreeHugger Robot
d520623aed Merge "cs40l26: Add cancelSynced when prepare sync fail" into tm-qpr-dev 2022-11-22 07:40:03 +00:00
Chase Wu
8d22072195 cs40l26: Add cancelSynced when prepare sync fail
Also add more logs to improve the ability of debugging.

Bug: 259012441
Test: scrolling the minute hand in alarm
Change-Id: I93b9dc7999ef0285d66a54a4fa5b74f4b72150bc
Signed-off-by: Chase Wu <chasewu@google.com>
2022-11-21 22:01:35 +08:00
TreeHugger Robot
5035bab359 Merge "Change the default cpuset of camera daemon" into tm-qpr-dev 2022-11-21 10:22:03 +00: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)
4c1de0629f Don't set the min CPU frequency to max frequency for CAMERA_SHOT
Bug: 258444667
Test:
1. 3rd party APP snapshot, GCA live video shot
2. Camera Check list
Change-Id: Ib01ea173e8b8ee1fe9c9622422dd9aad3236cf46
2022-11-18 16:42:15 +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