Commit graph

408 commits

Author SHA1 Message Date
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
Wen Chang Liu
129f6713a0 Merge "F10: Enable media performance class 13" into tm-qpr-dev 2022-11-18 04:02:27 +00:00
Jasmine Cha
9f422bce5f audio: waves: support speaker spatial in audio hal
- Disable control in audio hal first.
- introduce new output mode:
 - OM:1  - Folded
 - OM:9  - Unfolded
 - OM:60 - Clamshell
 - OM:11  - Unfolded reserve
 - OM:12 - Clamshell reserve
- preset: F10_xps1109.mps

Bug: 246747873
Test: build pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I8baca667cc4b564984aa0c169db4a0d45412cc3d
2022-11-17 10:41:20 +08:00
Rick Yiu
6af6b35f85 Change the default cpuset of camera daemon
Changing cpuset itself takes time, so we should reduce the cpuset
change as possible. Since all camera streaming mode change to the
same cpuset value, we could make it default setting.

Bug: 240889279
Test: build pass
Change-Id: Ic77ed789b80e51bef9de6ea9de366a0a240299ca
2022-11-17 01:27:31 +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
David Li
d5d92f2ef7 audio: Merge telephony tuning tables
Change List :
Fortemedia
Handsfree
Fine tune downlink for improving speech quality
Headset
Leverage the modification to HCO-RX (speakerphone downlink)
Mixer_paths
Modify the register of D gain in "voice-speaker"

Files from the latest attachment on b/259337130

Bug: 259337130
Test: verified by huangsean@
Change-Id: Ieaf426dba4cf1f032d796a0d739e36db457bca52
2022-11-16 13:34:22 +08: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
Sayanna Chandula
616c9f341c Merge "thermal: update shutdown threshold for Tj zones" into tm-qpr-dev 2022-11-15 03:25:03 +00:00
Kyle Lin
ac42ae0129 powerhint: relax the cap when camera exit
Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.

Bug: 255927500
Test: build and launch/exit camera
Change-Id: I823eead362aa32b5544f9cf51f1132ecfbf23c78
2022-11-14 12:38:55 +08:00
TreeHugger Robot
c3d2526429 Merge "audio: Merge telephony tuning tables" into tm-qpr-dev 2022-11-14 04:31:03 +00:00
TreeHugger Robot
07e61ec7d2 Merge "audio: Mege media record tuning tables" into tm-qpr-dev 2022-11-14 04:31:03 +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
Joe Huang
5f2e89cc87 gps: enable GNSS PPS feature
Bug: 230823324
Test: Gnss measurement elapsedrealtime work && suspend/resume work
Change-Id: I17224c4d970315c12f21ba9b05fdffe5bb94efe0
2022-11-11 19:17:45 +08:00
David Li
a7e7cea3a8 audio: Merge telephony tuning tables
Change List :
Fortemedia_table
Handsfree
Fine tune downlink for SWB scenario
Headset
Leverage the setting to HCO-RX (speakerphone downlink)

Files from the latest attachment on b/258743598

Bug: 258743598
Test: verified by huangsean@
Change-Id: Ia8caab037aa4bc1224ae2c96cdf6df2b058e4140
2022-11-11 12:24:01 +08:00
TreeHugger Robot
ee8e70c340 Merge "cs40l26: Improve the vibrator manager stability" into tm-qpr-dev 2022-11-11 03:44:46 +00:00
David Li
48732726e0 audio: Mege media record tuning tables
Change List :

Bluenote
Initial first version for camcorder
Initial first version for voice recorder
Initial first version for voice recongnition

Mixer_paths
Add  <ctl name="Mic Spatial Module Enable" value="1"/> in path "voice-rec-mic"
Modify gain settings in path "voice-speaker"

Audio_platform
Add <cfg id="IN_VOICE_RECOGN_MIC_BE_CFG" tuning_id="77"/> in <cfg_attr>

Files from the latest attachment on b/258361196

Bug: 258361196
Test: verified by cartercheng@
Change-Id: I033ae20ea1354d8dc0a97ebef077a5d3ff9a557c
2022-11-11 02:53:51 +00:00
Carter Hsu
236bc9a735 audio: update hidl to 4.0
Bug: 252877772
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I0e683ac238eecbcf148d1c93f30bdf0de17a15a1
2022-11-11 00:30:04 +00:00
Chase Wu
a5ab84ba2a cs40l26: Improve the vibrator manager stability
1. Add the return check when doing the prepareSynced process.
2. Add more debugging log pattern
3. Correst the corner case when doing the erase process

Bug: 258391756
Test: command in the bug
Change-Id: Ib6e189cca66f67b0501299cdb1a8c2572215a70e
Signed-off-by: Chase Wu <chasewu@google.com>
2022-11-10 10:58:31 +00:00
Jasmine Cha
be68b7ea3a audio: update waves preset 20221108
1. Add volume curve tuning (1st LinkLaw)

Bug: 258373582
Test: 258373582#comment1
  a. Stereo playback works.
  b. Mono playback works. (speaker-safe)

Change-Id: Ic30aa578588680addf72c06046bbe04483185e4e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-09 16:22:44 +08:00
Rick Yiu
af96122d9a Merge "Set dalvik.vm.dexopt.thermal-cutoff to 1" into tm-qpr-dev 2022-11-09 07:25:55 +00:00
TreeHugger Robot
12642555e3 Merge "add CCA tuning block ID and change deep buffer and mmap format" into tm-qpr-dev 2022-11-08 11:12:38 +00:00
David Li
d032821eb7 add CCA tuning block ID and change deep buffer and mmap format
Bug: 257003729
Test: voice call for CCA
Test: youtube, oboe for deep buffer and mmap
Change-Id: I350cdf8e1eab200a1f2f607f3bd993a0df70fd42
2022-11-08 18:08:07 +08:00
Rick Yiu
c6d5bb3130 Set dalvik.vm.dexopt.thermal-cutoff to 1
Bug: 256753117
Test: build pass
Change-Id: I35ee90954558a937e95196c5f2a947b081aa4886
2022-11-07 13:52:23 +00:00
Rick Yiu
8b013cbb70 Merge "Import init.factory.rc" into tm-qpr-dev 2022-11-04 03:04:31 +00:00
Jasmine Cha
f8626e8653 audio: update Waves tuning
Bug:257241890
Test: b/257241890#comment1

Change-Id: I152d8230c11690077c48f85bec61a9267453ae3a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-04 09:42:15 +08:00
Rick Yiu
3c6c9d7ca2 Import init.factory.rc
The rc file is missing.

Bug: 256805891
Test: build pass
Change-Id: Idfa2e67bac474aac5199409b3e717e08a9898506
2022-11-03 07:48:38 +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
TreeHugger Robot
2ea1a39254 Merge "audio: Merge telephony tuning tables" into tm-qpr-dev 2022-11-02 13:35:26 +00:00
TreeHugger Robot
64baa24245 Merge "Revert "f10: bypass csi crc error"" into tm-qpr-dev 2022-11-02 09:37:16 +00:00
David Li
56f695f0f6 audio: Merge telephony tuning tables
Change List :
Fortemedia_table
Handset
>>Fix the AMS function false alarm
>>Fix the EC/NS on or off in VoIP, b/255491783
Handsfree
>>Optimize downlink tuning for better listening quality
>>Fix the EC/NS on or off in VoIP, b/255491783
Headset
>>Leverage Handsfree uplink to TTY-VCO, Condor-Headphones
>>Leverage Handsfree downlink to TTY-HCO

Files from the latest attachment on b/256978669

Bug: 255491783
Bug: 256978669
Test: verified by huangsean@
Change-Id: Ie0f410b1de26962ba57198e250e63763f3cf22af
2022-11-02 15:11:13 +08:00
Sayanna Chandula
b4372c062a thermal: update shutdown threshold for Tj zones
Bug: 256193172
Test: Build and boot on device
Change-Id: Ie0da3f9a5c505ebdb9a240ac6d1701dea7496e39
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-10-31 12:08:14 -07: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
3584a67955 cs40l26: Add vibrator manager support
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
Test: atest VtsHalVibratorManagerTargetTest \
VtsHalVibratorTargetTest android.os.cts.VibratorTest \
android.os.cts.VibratorManagerTest android.os.cts.VibrationEffectTest \
android.os.cts.VibrationAttributesTest \
android.os.cts.CombinedVibrationTest \
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: Ib93e8eb4a0de9269116e07f76b66a77b58915211
2022-10-28 23:31:25 +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
Chase Wu
89fda9efcb cs40l26: Move the latest vibrator HAL to device
This is the base version for the vibrator manager feature.

Bug: 181615889
Test: Run all test suites
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: I703835346864853a0d5a5918e3c50f541b67dc1f
2022-10-28 23:31:07 +08:00
Chase Wu
5f1601be55 vibrator: Separate the audio coupled haptics setting
Bug: 181615889
Test: trigger a2h via pixel ringtone and alarm apk
Signed-off-by: Chase Wu <chasewu@google.com>
Change-Id: Icd74aa8c46f939fdec68f0250cf18940f5bead33
2022-10-28 23:31:03 +08:00
TeYuan Wang
85b00d60b9 thermal: update thermal table v3
Fix the correlation issue for high RF power case

Bug: 254735947
Test: build
Change-Id: Ic1e3e8f49324e8169417da695192fa786521e583
2022-10-28 19:15:49 +08:00
Tom Huang
98827a2eca Merge "BT: add sysprop to enable OPUS codec" into tm-qpr-dev 2022-10-28 08:24:42 +00: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
Shawn Lin
8231daa919 Merge "Update status bar height to center the hole punch cutout" into tm-qpr-dev 2022-10-27 06:37:25 +00:00
Jasmine Cha
c6c0e46128 audio: enable telephony thermal throttle
Bug: 248461803
Test: Voip with speaker

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I3fb2ace143ad80e7fb3399885bfc22b53a555ea1
2022-10-25 14:25:36 +08:00
Jasmine Cha
15b844bd9b audio: initial waves tuning
<Change List>
1.  Initial tuning for F10 EVT Stage

Bug: 255458384
Test: LR mix/swap, 255458384#comment1

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia87c9cbb7c1cef83306dc0ba61cb2eddda9901e5
2022-10-25 11:14:04 +08:00
TreeHugger Robot
17d6007126 Merge "uwb: add country conf file for F10" into tm-qpr-dev 2022-10-25 02:13:33 +00:00
Darren Hsu
bb6b69385a powerstats: update GPU DVFS for energy consumer
Bug: 254409620
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I5eb81a0def4d16138053d006bb23e20c535b4319
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-24 18:01:28 +08:00
TreeHugger Robot
f9213b1d78 Merge "Set audio.camerasound.force for JP devices" into tm-qpr-dev 2022-10-24 08:29:09 +00:00
Cyan_Hsieh
d0fe411f84 Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 255226094
Change-Id: I11050e39a447ac5748a05fd109447866dff5f613
2022-10-24 12:53:31 +08:00