Commit graph

51 commits

Author SHA1 Message Date
vincenttew
09a484c4c8 audio: update audio tuning table
Change List :
1. HA SWB
Modify RFR for PTCBR
2. HH NB/WB/SWB
Modify TX TDDRC for Orange SLR
Sync HH TX setting to Headphone/VCO/BT-HAC

Hardware verification:
- Verified Handset/Speaker phone/USB-Headset function work well.

Bug: 192810349
Test: voice call, volume, playback, capture, path switching
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Iae2dec76e8f236dbacb20507d067ea86acc7c526
2022-01-04 11:43:24 +00:00
vincenttew
9ec5a18e29 audio: update audio tuning table
Change list:
Update recording.gatf file for
1.  Modifing SNS parameters in SA

Bug: 212642733
Test: build pass, camcorder recording, playback
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ie4156c0c1f2228501f9d1e3a31761746ce021631
2021-12-30 08:50:08 +00:00
TreeHugger Robot
03fa993547 Merge "audio: update audio table" into sc-v2-dev 2021-12-29 15:33:06 +00:00
vincenttew
9fa2de1f9b audio: update audio table
Change list:
1. HEWB
 1 Modify TX HE_BB_WB_DT improvement TX_EAD_THR: 0x4500 --> 0x36B0
2. HA/HH  NB/WB/SWB (Generic/TMOUS)
 1 Enable mic blocked algorithm
 2 Sync HH TX setting to Headphone/VCO/BT-HAC

Hardware verification: telephony function is normal (HA/HH/HE)

Bug: 192810349
Test: build pass, voice call, playback, record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I0ada7655207e54ee27bd9ef15e89a84e6199f21e
2021-12-29 10:00:19 +00:00
Joe Huang
a3c45b1680 [DO NOT MERGE] Add HAL attributes to support LPPe DBH features
Fix CP LPPe DBH message missing issue by enabling:
  - CpLppeCancelDbhOnAgnssProvideLoc
  - CpLppeUseAgnssLocForEmptyDbh

Bug: 212487275
Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I66acbbbc82ea34012a1ceb1c8248ec4d1084418f
2021-12-29 07:44:00 +00:00
wenchangliu
066f73ac81 Enable media performance class 12
Bug: 205071373
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest
Test: atest android.filesystem.cts.RandomRWTest
Test: atest android.filesystem.cts.SequentialRWTest
Test: atest CtsVideoQualityFloorHostTestCases
Change-Id: I462fda9a2c09b6212791b30f4af08d4893ef10e9
2021-12-27 21:09:00 +08:00
TreeHugger Robot
ddc209d970 Merge "vibrator: stop support primitives THUD/SPIN/LOW_TICK" into sc-v2-dev 2021-12-23 02:58:59 +00:00
TreeHugger Robot
5e3c8897b6 Merge "Device uses default prox sensor for falsing" into sc-v2-dev 2021-12-22 17:17:42 +00:00
TreeHugger Robot
49fe55320b Merge "audio: update audio tuning table" into sc-v2-dev 2021-12-22 15:47:51 +00:00
Tai Kuo
a2f3533758 vibrator: stop support primitives THUD/SPIN/LOW_TICK
Keep PRIMITIVE_NOOP, PRIMITIVE_CLICK, PRIMITIVE_QUICK_RISE,
PRIMITIVE_SLOW_RISE, PRIMITIVE_QUICK_FALL and PRIMITIVE_TICK

Bug: 208766820
Test: adb shell getprop | grep vibrator
Test: adb shell idlcli vibrator getSupportedPrimitives
Test: adb shell idlcli vibrator getCapabilities
Test: adb shell dumpsys vibrator_manager
Test: adb shell dumpsys android.hardware.vibrator.IVibrator/default
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I59e3494508e9adf34eaada16d6862594bc081ef3
2021-12-22 15:10:41 +00:00
vincenttew
54b24aac75 audio: update audio tuning table
this mps includes LinkLaw to let every volume step timbre consistency
and modify audio_policy.xml to let linear music playback volume step &
suitable Notification & DTMF.
1. Overall sound quality need to be improved on the landscape mode at
the maximum volume (b/208954824)
2. Overall sound quality need to be improved on the portrait mode at
the maximum volume (b/208954249)

Bug: 211725396
Test: build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I1e5c48228d6abe18e8fa27d10f134e19984a491d
2021-12-22 18:10:41 +08:00
TreeHugger Robot
0574279c2d Merge "Add system property for 1080p 60fps binning mode" into sc-v2-dev 2021-12-22 08:06:29 +00:00
Beverly
a88c78af0a Device uses default prox sensor for falsing
The prox sensor does NOT need be gated by the
light sensor because the device only has one
frequency which the white dot is synced to
so that it won't be visible.

Test: manual
Fixes: 204746796
Change-Id: I8443a34d6d37fe152b02be4efe5b45cbe953e22f
2021-12-21 17:29:42 +00:00
vincenttew
731a1b4441 audio: add usb headset mic source to factory test
Bug: 211528888
Test: loopback audio command, build pass
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I3a2a4c227a24fe87eb846f94851b9dc81df33f2a
2021-12-21 16:29:00 +08:00
TreeHugger Robot
72446b19fa Merge "display: update display color data" into sc-v2-dev 2021-12-21 02:43:05 +00:00
timothywang
c540dcf6a2 Add system property for 1080p 60fps binning mode
Test: go/p21-camera-test-checklist
Bug: 207430886
Change-Id: Ia2ef7909563ee020d0381f836ca86512c62ba325
2021-12-16 14:39:22 +08:00
linpeter
63ded053e0 display: update display color data
Updated LHBM compensation data

Bug: 210591829
test: check lhbm
Change-Id: I834d3c024ad6e2a83c2c2e02999a272ec2e88986
2021-12-15 11:05:42 +08:00
TreeHugger Robot
b44be5bff4 Merge "thermal: Update thermal config" into sc-v2-dev 2021-12-10 16:36:21 +00:00
Joe Huang
400a6b6802 Merge "gps: Update EnableOnChipStopNotification" into sc-v2-dev 2021-12-10 05:46:46 +00:00
Alex Hong
74c176b10b Merge "[DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices" into sc-v2-dev 2021-12-09 23:51:36 +00:00
Alex Hong
540bbafc21 [DO NOT MERGE] Update PRODUCT_SHIPPING_API_LEVEL for gs101 devices
Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I5e65bc09d219567c307f3009563ece89f4fc6db5
Signed-off-by: Alex Hong <rurumihong@google.com>
2021-12-09 17:32:49 +00:00
David Chao
1f49d8cdde thermal: Update thermal config
Based on the latest safety test results update thermal config.

Bug: 208954508
Test: thermal throttling worked properly after appling the config
Change-Id: I820d4a69eadfa1d73a119c1652a33444ff2674a9
2021-12-09 14:34:18 +08:00
Beverly
1683c88535 DO NOT MERGE Revert udfps haptics updates
Test: manual
Bug: 202867177
Bug: 209191275
Change-Id: I5b1341e6e34f5b1e0b7f456a61ce4d7928a16b8c
2021-12-08 19:45:42 +00:00
Joe Huang
3078eef49e gps: Update EnableOnChipStopNotification
Set EnableOnChipStopNotification=”2”.
Sends on-chip stop notification only when the Host request exists and on-chip request stops.

Bug: 209383266
Test: logging test for case #1, #3 and #4 in b/197196725#comment39
Change-Id: I086926514def25059078da6a5532d4755e4a520e
2021-12-09 00:06:27 +08:00
TreeHugger Robot
e41c606554 Merge "audio: update audio tuning table" into sc-v2-dev 2021-12-07 12:33:48 +00:00
Ching-Sung Li
ba6634bc43 Merge "Build B3 default CMF color wallpaper" into sc-v2-dev 2021-12-07 09:50:08 +00:00
vincenttew
4b80986b23 audio: update audio tuning table
Change List :
[fortemedia tuning]
1. HA
Enable FB FFP
2. HH
Enable FB FFP
Modify TX TD-DRC gain
Sync HH TX setting to Headphone/VCO/BT-HAC
3. HE blackbird
Enable FB FFP
Reduce the clipping risk on RX path (SWB and FB RX)
Modify RX TD-DRC
Modify RX FD-EQ

[recording.gatf tuning]
1. Modifing IIR2 and SNS parameters in SA
2. Modifing IIR and MBDRC settings in SA-lite

Hardware verification:
- Verified Handset/Speaker phone/USB-Headset function work well.
- build in mic recording

Bug: 208745408
Bug: 192810349
Test: build pass, recording, playback, voice call
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I1fdb709a2fcdabdaf730c8b2e2e6ce2cf7d7097f
2021-12-07 09:31:25 +00:00
TreeHugger Robot
14360a4ee4 Merge "Camera: Enable to raise buffer allocation priority" into sc-v2-dev 2021-12-07 09:19:44 +00:00
TreeHugger Robot
7732a823c8 Merge "audio: Add command to set PCM steam wait time for voice and audio." into sc-v2-dev 2021-12-07 09:06:37 +00:00
PETER LIANG
7dbf8f1b92 Merge "Set up configs and some voice packs of Text-To-Speech." into sc-v2-dev 2021-12-06 11:19:38 +00:00
Peter_Liang
a287ca65dd Set up configs and some voice packs of Text-To-Speech.
Bug: 209001507
Test: manual test
Change-Id: Iee6c2424b3fe457e78c814b6b049414bd1cc6454
2021-12-06 15:55:22 +08:00
Yung Ti Su
a7c9c6b264 Merge "audio: change format of deep-buffer to float" into sc-v2-dev 2021-12-06 00:48:10 +00:00
Ching-Sung Li
97d004ecdb Build B3 default CMF color wallpaper
Bug: 193775799
Test: Build pass; Manual
Change-Id: I3ea3d0d8007b22cc9b077a4b5acb35b06e6eb329
2021-12-04 10:17:45 +08:00
vincenttew
47f2b58124 audio: Add command to set PCM steam wait time for voice and audio.
This control is from this patch: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/1962616/

Bug: 194454077
Test: Playing a music then removing the USB headset
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I113e6292eaabf10b3960e399a3fdbd672fa49e78
2021-12-03 17:43:44 +08:00
Chloe Dai
526aa94515 Merge "Add NFC CFG files for different SKUs" into sc-v2-dev 2021-12-03 03:15:33 +00:00
chloedai
b2a0b28178 Add NFC CFG files for different SKUs
BYPASS_INCLUSIVE_LANGUAGE_REASON=Keep the legacy name

Bug: 188751280
Test: Manual push and test whether device load CFG files based on its SKU
Change-Id: Ia778e8f04507cfc6d8dd85d176a7252daaf09831
2021-12-02 07:30:56 +00:00
Alex Hong
d0b00f62dd Set audio.camerasound.force for JP devices
Enable property by value of hw sku

Test: set to JP sku and check No camera sound option
Bug: 207720534
Change-Id: Ia40860e8cc81e85dde94aa0f4fa9395f45108aed
2021-12-01 22:27:30 +08:00
vincechiu
842383dfb4 Camera: Enable to raise buffer allocation priority
Bug: 208362912
Test: GCA
Change-Id: I7b040a5be6f749420266e8542d3ae3e73aa42dae
2021-11-30 16:35:05 +08:00
TreeHugger Robot
bf03f6ede3 Merge "power_profile: add battery capacity" into sc-v2-dev 2021-11-30 01:19:15 +00:00
Bill Yi
50b0e407be Update bluejay self-extractors and factory-images path
The device has its own directory now.

BUG: 201432177
Change-Id: I776ef41b658987eb3c274c4d19a0668dd038beb8
2021-11-29 10:20:00 -08:00
Yung Ti Su
abcaad48dc audio: change format of deep-buffer to float
Bug: 201236470
Test: build pass
Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ib02c410c2b571e6170923f815c48d4ee2a0ad4d6
2021-11-29 16:56:47 +08:00
ferrio liu
ccf1131414 power_profile: add battery capacity
Bug: 199588254
Test: Manually verified

Signed-off-by: ferrio liu <ferrioliu@google.com>
Change-Id: I366075a96ba55cd0dcb1da80bc52a5ebb61b3dae
2021-11-29 16:51:47 +08:00
TreeHugger Robot
bae2e8f737 Merge "Camera: Enable extended launch boost" into sc-v2-dev 2021-11-29 07:17:53 +00:00
vincechiu
f369e32dc5 Camera: Enable extended launch boost
Bug: 206064078
Test: GCA
Change-Id: I095f1e4011c137424a9454f53c16a8a1dfd58392
2021-11-25 06:02:30 +00:00
Gil Liu
698c41368a Merge "display: update display tuning profiles" into sc-v2-dev 2021-11-24 07:10:51 +00:00
Beverly Tai
ba0cb6957f Merge "Update udfps haptics config values" into sc-v2-dev 2021-11-23 21:33:09 +00:00
Beverly
34e00b66fb Update udfps haptics config values
take #1b

Test: manual
Fixes: 207123411
Bug: 202867177
Change-Id: Ieec00494e00656bcd0f2a3a1433d74850b59001b
2021-11-23 17:51:44 +00:00
Gil
eec2f965dc display: update display tuning profiles
Bug: 199143385
Test: file exist on vendor/etc/
Change-Id: Id1aa5fda7c298f041c0936fdd82ba683a24a1012
2021-11-23 18:41:52 +08:00
vincenttew
c4bea84129 audio: update voice tuning table
change list:
1. HA
Enable RX FFP for NB, WB and SWB
Refine volume curve on NB, WB, SWB
Modify RX TDDRC
Modify RX Vol gain
Modify BVE
Sync HA RX setting to TMOUS

2. HH:
Enable RX FFP for NB, WB and SWB
Refine volume curve on NB, WB, SWB
Modify RX TDDRC (max to max-2)
Modify RX Vol gain
Sync HH RX setting to HCO

3. HE blackbird:
Enable RX FFP for NB, WB and SWB
Refine volume curve on NB, WB, SWB and FB
Modify RX TDDRC
Modify RX Vol gain

Hardware verification:
- Verified Handset/Speaker phone/USB-Headset function work well.

Bug: 192810349
Test: voice call, playback, capture
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I785cddd215ee1138b2efd159d6518d1598d8a021
2021-11-23 10:09:27 +08:00
Robin Peng
aed7239a71 [DO NOT MERGE] Move bluejay source code into bluejay device folders
from: f44cabba6aef5b4a4a138d33448734a2f7d511ae

Bug: 206553389
Change-Id: I1bc1f02cf1f8d5e2d93a033737048930d7d3d062
2021-11-22 11:54:30 +08:00