Commit graph

338 commits

Author SHA1 Message Date
Jimmy Shiu
b6b4bf0a31 PowerHal: move power HAL property to PRODUCT_VENDOR_PROPERTIES
'vendor.powerhal.adpf.rate' should be placed in /vendor if it is used
by vendor processes. The product partition (and system_ext) belongs to
"system" in Treble view so it will be replaced by GSI.

Bug: 204035997
Test: Install GSI by b/204035997#comment19 and run the following
      command would get a non-null number:
      $ adb root; adb shell getprop vendor.powerhal.adpf.rate
Test: $ adb shell 'find . -type f -name "build.prop" -exec grep -Hn "adpf" {} \; 2> /dev/null'
    ./vendor/build.prop:83:vendor.powerhal.adpf.rate=16666666
Change-Id: Icdefe5fe61aa3edd2d54766d902f56ee973c00b2
2022-01-13 01:10:58 +08:00
Martin Liu
9fa1038ddf Adjust lmkd kill timeout
Set lmkd kill timeout value as 50 to avoid long
waiting on dying process.

Bug: 212870947
Test: check timeout property
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: Iaf90702a84f854ce5f7f3a52702175340e42d974
2022-01-12 21:45:31 +08:00
TreeHugger Robot
228a524a67 Merge "Set retaildemo settings" 2022-01-10 11:06:26 +00:00
Yu-Bin Chiu
c41b188869 Merge "audio: add mfg_audio record for usb recording" into sc-v2-dev am: 7b5070a4bb am: 0fcc1a1112
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16561466

Change-Id: I5e889cd1bf123a5f6f4021bba50541aefce02ec3
2022-01-10 06:32:11 +00:00
Yu-Bin Chiu
0fcc1a1112 Merge "audio: add mfg_audio record for usb recording" into sc-v2-dev am: 7b5070a4bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16561466

Change-Id: I5b42b2073e4e31c9edbb73baa4e50f79d20a7916
2022-01-10 06:13:32 +00:00
Yu-Bin Chiu
7b5070a4bb Merge "audio: add mfg_audio record for usb recording" into sc-v2-dev 2022-01-10 05:50:47 +00:00
Jack Wu
833f32f87c Set retaildemo settings
move the settings from init.gs101.rc

Bug: 204926279
Test: check demo mode functionality
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I2d9838fb0760021cf5e181a2df6a940142f22580
2022-01-10 12:03:43 +08:00
Darren Hsu
ce0ba50361 powerstats: use gs common library to get common data providers
Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I6e5d97d357d275116af1873fe799c39cd9e4c9bc
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-01-04 15:51:40 +00:00
vincenttew
08cb900820 audio: update audio tuning table am: 09a484c4c8 am: dc504c772c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16561922

Change-Id: I419fba20d57bb5183551bcfcc28558090e4b69dd
2022-01-04 14:32:22 +00:00
vincenttew
dc504c772c audio: update audio tuning table am: 09a484c4c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16561922

Change-Id: I5c0be25fbc7ef21c2e6d06fb0f727ef03c9df8f6
2022-01-04 14:20:35 +00:00
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
4c3d864fe6 audio: update audio tuning table am: 9ec5a18e29 am: f545f25759
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16552143

Change-Id: I2aeb3d9495d627573dc3d9257f53bc9f0cce9f8b
2022-01-04 08:20:09 +00:00
vincenttew
f545f25759 audio: update audio tuning table am: 9ec5a18e29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16552143

Change-Id: I92ba551a282470396e41a16fb2f5abf7b43b7b52
2022-01-04 08:02:06 +00:00
vincenttew
9db71fc141 audio: add mfg_audio record for usb recording
currently mfg audio tool using audio-recordC usb-headset-mic
in mixer_paths.xml, add a new path for mfg usb recording to
switching the usb mic source

Bug: 213027646
Test: verify pass with mfg tool usb-record
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: Ief5183b6d496c3ffe8234b59954cf9aa213eebe4
2022-01-04 07:56:40 +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
c2686b56cf Merge "audio: update audio table" into sc-v2-dev am: 03fa993547 am: ae6c6e294a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16544736

Change-Id: I9925d9ba46e0897371d6959063c5387a23cd26f3
2021-12-29 16:10:12 +00:00
TreeHugger Robot
ae6c6e294a Merge "audio: update audio table" into sc-v2-dev am: 03fa993547
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16544736

Change-Id: Id7776b85976ab49bc75b61c0598d1280e2f51b77
2021-12-29 15:52:21 +00:00
TreeHugger Robot
03fa993547 Merge "audio: update audio table" into sc-v2-dev 2021-12-29 15:33:06 +00:00
Joe Huang
ade85c83a7 [automerger skipped] [DO NOT MERGE] Add HAL attributes to support LPPe DBH features am: a3c45b1680 am: b9352d7f6a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16544735

Change-Id: I3c228ffc3dc75d303a5d0b37386466e5b409f868
2021-12-29 14:33:55 +00:00
Joe Huang
b9352d7f6a [DO NOT MERGE] Add HAL attributes to support LPPe DBH features am: a3c45b1680
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16544735

Change-Id: I358262e1fd5865f9b5a96e4b7d92f3c01d0acf9c
2021-12-29 14:16:15 +00:00
Joe Huang
d19234f97a Add HAL attributes to support LPPe DBH features am: 70479f1b26
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16544737

Change-Id: I3897b22bb02655133db33dd69ad300dfb7558363
2021-12-29 11:22:39 +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
70479f1b26 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 08:06:55 +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
6cde08d21c Enable media performance class 12 am: 066f73ac81 am: 284771fad8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16544857

Change-Id: I41792640f81069e539f056d8217cafdd6c5f60e9
2021-12-28 11:23:16 +00:00
wenchangliu
284771fad8 Enable media performance class 12 am: 066f73ac81
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16544857

Change-Id: I8c030fba5221bde5f9596bcee5658feb03258e17
2021-12-28 11:12:41 +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
Carter Hsu
04d918b2bb Merge "audio: change primary output to float" 2021-12-23 08:02:31 +00:00
TreeHugger Robot
3c4ed331fd Merge "vibrator: stop support primitives THUD/SPIN/LOW_TICK" into sc-v2-dev am: ddc209d970 am: 75c6e9aa4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16519005

Change-Id: I7d7d7772ad1ea4f12c40e3f392d195541a088d8c
2021-12-23 03:25:39 +00:00
TreeHugger Robot
75c6e9aa4f Merge "vibrator: stop support primitives THUD/SPIN/LOW_TICK" into sc-v2-dev am: ddc209d970
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16519005

Change-Id: I3beb34bed90f76044fe01a5e023cdc2f2f26fc1b
2021-12-23 03:14:02 +00: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
8de3841a96 Merge "Inline usages of LOCAL_STEM" 2021-12-22 19:21:19 +00:00
TreeHugger Robot
272e3e8433 Merge "Device uses default prox sensor for falsing" into sc-v2-dev am: 5e3c8897b6 am: 1e2c96c594
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16516097

Change-Id: I22038501c81523808b4c15b00e583b4d2b07d0a6
2021-12-22 17:53:44 +00:00
TreeHugger Robot
1e2c96c594 Merge "Device uses default prox sensor for falsing" into sc-v2-dev am: 5e3c8897b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16516097

Change-Id: I49cad795454b9ede7e56f17dfa04e65d6dca931a
2021-12-22 17:34:46 +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
20ec48a55a Merge "audio: update audio tuning table" into sc-v2-dev am: 49fe55320b am: 9446d5dd58
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16518856

Change-Id: Ib5feb3957e2a3636cc5e356f034ab8047bf16023
2021-12-22 16:25:45 +00:00
TreeHugger Robot
9446d5dd58 Merge "audio: update audio tuning table" into sc-v2-dev am: 49fe55320b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16518856

Change-Id: I5a1a056dcd491c88895157a1c4b10484f61d23e5
2021-12-22 16:06:59 +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
7959953bc0 Merge "Add system property for 1080p 60fps binning mode" into sc-v2-dev am: 0574279c2d am: a5e1593c18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16483969

Change-Id: Ib06c8e91f3ed9e3930cf7780915bdc65404da664
2021-12-22 08:36:25 +00:00
TreeHugger Robot
a5e1593c18 Merge "Add system property for 1080p 60fps binning mode" into sc-v2-dev am: 0574279c2d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16483969

Change-Id: Ia9dfc9932d68109db68f244ccca9c3981d3de916
2021-12-22 08:23:25 +00: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
Carter Hsu
adfa34f117 audio: change primary output to float
Bug: 200293124
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iecba2b1b1faf977cb3135b8a49e689badffb1463
2021-12-22 14:38:01 +08:00
Cole Faust
b19fd21ddc Inline usages of LOCAL_STEM
Having no variables in include/inherit-product statements
makes the conversion to starlark cleaner.

Bug: 211659921
Test: Presubmits
Change-Id: Icfac35c62267a3cdb718cce4ebb9e7c131125e59
2021-12-21 11:55:18 -08: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
c003aab2c8 audio: add usb headset mic source to factory test am: 731a1b4441 am: 1da7ee60f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16500076

Change-Id: I5430696cd4077d323737eec3e8167b0e9219db2d
2021-12-21 13:55:31 +00:00
vincenttew
1da7ee60f3 audio: add usb headset mic source to factory test am: 731a1b4441
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16500076

Change-Id: I023337e61b99f7e173575e97e71fd61f3871dea6
2021-12-21 13:44:21 +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
5cec8d3c20 Merge "display: update display color data" into sc-v2-dev am: 72446b19fa am: caa98b8faa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16467140

Change-Id: Ie8b90929bbf2445e87e40c61b825b124ebbda58e
2021-12-21 03:09:00 +00:00