Commit graph

430 commits

Author SHA1 Message Date
Amy Hsu
aaa5680897 display: remove the blocking zone for HBM HDR in config
We have different settings for inner and outer. So we will use display
config to set them separately.

Bug: 258107876
Test: manual testing
Change-Id: I12ea64b9874ee79eec94c4ede6fa2320b27d0c41
2023-02-13 08:24:10 +00:00
TreeHugger Robot
6be97cd21c Merge "cs40l26: Fix the composed effect delay problem" into tm-qpr-dev 2023-02-13 03:59:26 +00:00
Chase Wu
968c3d1a00 cs40l26: Fix the composed effect delay problem
When user typed the gboard back-to-back, HAL will send a STOP call right
after it sends a START call. At this moment, driver is under an
activating process and the vibe_state is not 1, so the erasing process
will be forced to wait for the FW's completed signal.
This makes STOP call consumes lots of waiting time and user would still
feels a delay gap under back-to-back typing behavior.

This patch removes the erased process from the STOP call and let it be
done in the completed process.

Bug: 263476381
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
Test: Type Gboard with five fingers

Change-Id: I02dfdae4e9e9334a253106f631c933228398b077
2023-02-11 11:58:05 +08:00
TreeHugger Robot
6c639fa361 Merge "display: update golen profile" into tm-qpr-dev 2023-02-10 07:46:15 +00:00
TreeHugger Robot
f72f2a3b51 Merge "Customize AuthCredentialPatternContainerStyle for F10" into tm-qpr-dev 2023-02-10 03:55:15 +00:00
TreeHugger Robot
b1531ba9b2 Merge "cs40l26: Add a maximum scale protection for primitive effects" into tm-qpr-dev 2023-02-10 00:21:18 +00:00
lbill
09aafc6f77 Customize AuthCredentialPatternContainerStyle for F10
In unfold display, the pattern view UI showing in 2 panes
But the additional horizontal padding make the pattern view
truncate.

Test: build and flash, use demo BP to check the pattern view UI
Test: run CTSVerifier and check the test
Bug: 268276210
Change-Id: Idc040bf7f022c1a282c46d1652a0ce3ca75c1839
2023-02-09 11:49:20 +00:00
TreeHugger Robot
a39898298f Merge "Add template for generating felix vendor blobs" into tm-qpr-dev 2023-02-09 02:13:42 +00:00
Bill Yi
b62161bc0f Add template for generating felix vendor blobs
Also add template for factory image

TEST: generated images/blobs from artifacts. Flashed device

BUG:268260164
Change-Id: I621d65b054bd8dcff3a816dde40e4c906414a347
2023-02-08 21:14:43 +00:00
Chase Wu
e4e692f74d cs40l26: Add a maximum scale protection for primitive effects
Bug: 267419872
Test: HW test
Change-Id: I18f0e096e63ae6844bb0b47c43011cd012845f75
2023-02-08 17:20:41 +08:00
Weizhung Ding
2771a88955 display: update golen profile
Bug: 267418808
Test: check log and dumpsys
Change-Id: Ifb38c6e9d14932ffbb57393f828c1a77ac30eac2
2023-02-06 21:59:32 +08: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
Carter Hsu
ea50a3e631 Merge "Update speaker-mic-post setting for increasing gain" into tm-qpr-dev 2023-02-01 10:12:28 +00:00
TreeHugger Robot
56ec7876cf Merge "thermal: align the gxp throttling policy with P22" into tm-qpr-dev 2023-02-01 08:29:20 +00:00
Carter Hsu
70d72b1759 Update speaker-mic-post setting for increasing gain
Change gain from 0 to 22
    <path name="speaker-mic-post">
    <ctl name="MIC Record Soft Gain (dB)" value="22"/>

Bug: 267236408
Test: Hardware team verified, b/267236408#comment5
Change-Id: Ie90bcf3fb0cdabfa6848f686a542d32126dc33ff
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-02-01 07:15:40 +00:00
TeYuan Wang
a1c43dba6c thermal: align the gxp throttling policy with P22
Bug: 265609046
Test: verified by emul_temp
Change-Id: I8688208c7b9b2830841c8b81dadf5c0cd682b813
2023-01-31 11:03:15 +00:00
TeYuan Wang
6eedadb40c [DO NOT MERGE] thermal: correct the hyst value for VIRTUAL-SKIN-CHARGE
Bug: 265915107
Test: emul_temp in off charging mode and check the throttling works
properly

Change-Id: I594359ebae347a36454f7cf2c1101494ac3c1484
2023-01-31 09:22:46 +00:00
Chase Wu
d7df9abc72 Merge "[DO NOT MERGE] vibrator/cs40l26: Fix unsupport primitive effects test" into tm-qpr-dev 2023-01-31 03:25:44 +00:00
Nick Chameyev
a976196f43 Update StatusBar height for portrait unfolded screeen
Currently, 3P apps could read the system resource
of status bar height for portrait orientation on the
unfolded screen. Updating this value to a correct one.

Bug: 264656380
Change-Id: I859b7c756f1dab88373bf2116cf1638a5faae624
Test: manual
2023-01-18 17:55:37 +00:00
Chase Wu
2724d61255 [DO NOT MERGE] vibrator/cs40l26: Fix unsupport primitive effects test
Bug: 264219822
Test: atest Vibrator/VibratorAidl#ComposeUnsupportedPrimitives/TOP_LEVEL_VIBRATOR_0
Change-Id: I736e509bcd1e8004c144744e06c63cc35b6fbfb2
2023-01-17 20:15:17 +08:00
Jason Chang
fae76d2817 Merge "Fix expanded Accessibility overlaps with Face Circle in Educational Screen" into tm-qpr-dev 2023-01-17 04:05:10 +00:00
TreeHugger Robot
9c02d4eb2d Merge "add powerhint for fusion zoom" into tm-qpr-dev 2023-01-17 02:03:56 +00:00
Jason Chang
ca78ce4056 Fix expanded Accessibility overlaps with Face Circle in
Educational Screen

Fine-tuning Face enroll education page layout for expanding
Accessibility option.

Bug: 265474776

Test: manually go to Settings > Security & privacy > Device lock >
Face & Fingerprint Unlock > Face Unlock, then start enroll Face,
In second stage ("How to set up Face Unlock" page ), check the layout
and lottie animation with turned on expanded Accessibility option, and
they should not be truncated.
Test: m -j SettingsGoogleRoboTests RunSettingsGoogleRoboTests
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollEducationTest"
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollIntroductionTest"

Change-Id: I42e28a36fac9cd07dcacd4a16aab09de99211350
2023-01-16 14:44:39 +00:00
Ed Lin
f4f56174bc Merge "Update ./DevInfo/Mod model name" into tm-qpr-dev 2023-01-16 04:02:01 +00:00
David Li
524a695ab7 Merge "audio: Prepare the DVT cirrus tuning tables" into tm-qpr-dev 2023-01-16 03:08:24 +00:00
Jason Chang
c2317d0875 Merge "(1/2) Fix settings face enrollment UI layout problem" into tm-qpr-dev 2023-01-13 12:31:40 +00:00
Jason Chang
cf83f6dd52 (1/2) Fix settings face enrollment UI layout problem
Use overlay mechanism to adjust face_enroll_education.xml layout
dimensions for ToF.

1. Fix settings face enrollment UI truncate problem
2. Fix It's hard to tap "setup for limited vision or head motion"
button

Bug: 260653042
Bug: 263065347

Test: manually go to Settings > Security & privacy > Device lock >
Face & Fingerprint Unlock > Face Unlock, then start enroll Face,
In second stage ("How to set up Face Unlock" page ), check the layout
and lottie animation do not truncate.
Test: m -j SettingsGoogleRoboTests RunSettingsGoogleRoboTests
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollEducationTest"
Test: m RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.face.FaceEnrollIntroductionTest"

Change-Id: Ib42a2632bf501b20b4386ed656701ca8ec7b3924
2023-01-13 10:44:24 +00:00
David Li
10068623e7 audio: Prepare the DVT cirrus tuning tables
1.Update fallback values for both top and bot speakers
2.Update the actisonic and FIR parameters
3.Update the fastswitch for swtiching the different scenarios(playback, voice call, low power)

Files from the latest attachment on b/264948011

Bug: 260653033
Bug: 264948011
Test: verified by jackwjchen@
Change-Id: I9ddfb9551d86dae02145175bf33778a82969734d
2023-01-13 18:13:36 +08:00
TreeHugger Robot
e9ca6d8395 Merge "audio: Prepare the DVT cirrus tuning tables" into tm-qpr-dev 2023-01-13 08:47:22 +00:00
David Li
8a9597f2da audio: Merge telephony tuning tables
1.Handset
- Adjust the AMS parameters to avoid false triggering.
- Fine-tune the downlink performance due to acoustic change in DVT.
2.Handsfree
- Optimize double talk performance.
- Fine-tune the downlink performance based on the new CIRRUS bin setting.
3.Headset
- Leverage Handsfree uplink setting to TTY-VCO and Headphones.
- Leverage Handsfree downlink setting to TTY-HCO.
4. mixer paths
- Modify the initial value of fast switch file
- Modify the D gain of the path "voice-speaker"

Files from the latest attachment on b/264972374

Bug: 264972374
Test: verified by huangsean@
Change-Id: Iba756795ec747a760b193428d6591959b902070f
2023-01-13 09:53:57 +08:00
Bill Lin
0d28b35a6d Merge "(1/2) To config new UI for ToF Success Screen (Face Enroll Confirmation) page" into tm-qpr-dev 2023-01-13 01:45:00 +00:00
Kame(TeYuan) Wang
c4a466245e Merge "[DO NOT MERGE] thermal: update VSKIN equation V0.5" into tm-qpr-dev 2023-01-12 14:34:59 +00:00
Bill Lin
a439291b27 Merge "5/ Turn ON face auth dismisses keyguard by default on F10" into tm-qpr-dev 2023-01-12 07:20:36 +00:00
Bill Lin
7f9a7ed35a Merge "4-2/ Config config_face_auth_supported_posture to listen for face on folded state" into tm-qpr-dev 2023-01-12 07:14:03 +00:00
TeYuan Wang
067fd6ce02 [DO NOT MERGE] thermal: update VSKIN equation V0.5
Bug: 254163925
Test: verified by emul_temp
Change-Id: I1f33fa8b728ef31740ba1fe2fc18d1b63ffa4d96
2023-01-12 09:53:22 +08:00
David Li
43de26e29a audio: Prepare the DVT cirrus tuning tables
1.Update fallback values for both top and bot speakers
2.Update the actisonic and FIR parameters
3.Update the fastswitch for swtiching the different scenarios(playback, voice call, low power)

Files from the latest attachment on b/264948011

Bug: 260653033
Bug: 264948011
Test: verified by jackwjchen@
Change-Id: I6cfcde781c2abb23ba440afeb976e83e48765951
2023-01-12 09:35:27 +08:00
pashalee
9ff8a1a9a7 add powerhint for fusion zoom
Bug: 262862625
Test: manual tests

Change-Id: I97e6fe57a3393bafb60c57557f003fc64ffcaef8
2023-01-11 08:08:09 +00:00
Joshua Mccloskey
ed60c40d07 Merge "fingerprint: Add DP count flag" into tm-qpr-dev 2023-01-11 03:56:48 +00:00
Ed Lin
e27ae7476e Update ./DevInfo/Mod model name
Need to set model name to G9FPL

Bug: 264506118
Test: b/264506118#comment9 pass
Change-Id: I9f8eee3bf9a23d56055b28c8273115e75b464df9
2023-01-10 11:37:37 +00:00
Redick_Lin
1ce504b796 bcl: update temperature condition of BAACL
Bug: 264017586
Change-Id: Id81d45da53c1ae9ee95616e86529d713ba00fbdd
Signed-off-by: Redick_Lin <redicklin@google.com>
2023-01-10 12:45:08 +08:00
Jason Chang
7e5ff341e3 (1/2) To config new UI for ToF Success Screen (Face Enroll Confirmation)
page

Set overlay configuration file for ToF new UI changes.

Bug: 263411275

Test: Manual launch security settings face enroll and make it success.
Test: make RunSettingsRoboTests ROBOTEST_FILTER= \
      "com.google.android.settings.biometrics.face.
      \FaceEnrollConfirmationTest"

Change-Id: I367822350febbe58724bfdbc40d1f5a2bc5f3b17
2023-01-06 15:20:15 +00:00
TreeHugger Robot
001ff3e00d Merge "audio: change the EP for spatial audio" into tm-qpr-dev 2023-01-04 09:55:17 +00:00
TreeHugger Robot
f5f7641fb3 Merge "[DO NOT MERGE] cs40l26: Report the duration time when using DOUBLE_CLICK effect" into tm-qpr-dev 2023-01-04 09:28:43 +00:00
millerliang
900683d3b0 audio: change the EP for spatial audio
Bug: 260779305
Test: manual test
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: Ib56d5727788ed56b3a7e4d0d184a615813456f17
2023-01-04 16:08:47 +08:00
TreeHugger Robot
af5519dde6 Merge "camera hfr: add 720 high speed profile for immersive crop" into tm-qpr-dev 2023-01-04 07:22:20 +00:00
Chase Wu
f19351f3a9 [DO NOT MERGE] cs40l26: Report the duration time when using DOUBLE_CLICK effect
DOUBLE_CLICK is a composed effect, but it uses another function to
do the composed process.
When using GPI to trigger a composed effect, HAL needs to update the
overall duration time to chip.

Bug: 263963724
Test: Manully unlock the device
Change-Id: I329fbeff69a56fe990b1ca946bdd30199048ef04
2023-01-04 12:00:36 +08:00
TreeHugger Robot
28ba1240c5 Merge "thermal: refer inner display brightness for VSKIN equation" into tm-qpr-dev 2022-12-30 08:07:29 +00:00
TeYuan Wang
64ba8eec26 thermal: refer inner display brightness for VSKIN equation
Bug: 263215628
Test: Check VSKIN log with camera + open/close device
Change-Id: I04b8d008e1dfeec129599255eeb1925f402bf43b
2022-12-30 01:55:48 +00:00
Edwin Tung
95218031ee gps: Enable Vzw SUPL OTDOA
Bug: 263852801
Test: OTDOA pass
Change-Id: I94661c7f6b23717a20ebe613ab768b22a5b657a5
2022-12-29 14:49:26 +08:00
Jasmine Cha
dfb4a78b3a audio: update waves table with thermal throttle
Change List
1. Add thermal throttling to all the preset (2nd link law)
2. Include spatial audio preset (Reserved Mode)

Validation Results
 Basic function Regression
 a. Stereo playback works.

Bug: 263850065
Test: manual test

Change-Id: Id0c790a73dce1035d516f5ac413bff1dae8cc074
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-29 08:42:39 +08:00