Commit graph

1849 commits

Author SHA1 Message Date
Victor Liu
987212b4e2 Revert "device: don't build uwb" am: 0bc47d654b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14255321

Change-Id: Idc0520b66b9a1dec38fa5d04827f458f6a03ab6a
2021-04-22 22:52:51 +00:00
Victor Liu
0bc47d654b Revert "device: don't build uwb"
This reverts commit 7357dbcb59.

Reason for revert: Fixed uwb service crash
Test: flash on raven, verify uwb service is idle, unplug usb
Change-Id: I2f3a3a73d16e8a282fdbb171bf60ad2cafa0d7c5
2021-04-22 22:27:45 +00:00
HW Lee
4385aa9a15 audio: remove unsupported TinyALSA controls am: eab909573b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14257167

Change-Id: I955e8bf6e6ccbbfbda488d4fcd1e16978b7ac88b
2021-04-22 02:07:56 +00:00
HW Lee
eab909573b audio: remove unsupported TinyALSA controls
Bug: 185443616
Test: build pass
Signed-off-by: HW Lee <hwlee@google.com>
Change-Id: I84abb4a1d59ff8344d7fc308be7f82c21b591b00
2021-04-22 01:31:14 +00:00
android-build-team Robot
660aa91342 Snap for 7302914 from 60d11bce2f to sc-v2-release
Change-Id: Ie5fbf0a13bc53b4eaab3a6aeda35fdec080f6491
2021-04-22 01:02:22 +00:00
TeYuan Wang
4bcb950d71 thermal: update raviole thermal table am: 60d11bce2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14065485

Change-Id: Ifbe3cd3a5cf76e3af66bdb9c731be783bedc3b48
2021-04-21 16:14:34 +00:00
TeYuan Wang
60d11bce2f thermal: update raviole thermal table
Test: verified thermal throttling with emul temp
Bug: 183571707
Bug: 170653634
Bug: 170670750
Change-Id: Iebfc11483e2ebbf0d7fe59edf8818ccb4325457e
2021-04-21 15:44:39 +00:00
Carter Hsu
4d20d17a64 audio: update Fortemedia table 20210419_v538 am: e34a7c4e4e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14233130

Change-Id: I581ecaf02a0e52e6639659e237421b3b7e845ff5
2021-04-21 07:18:22 +00:00
Carter Hsu
e34a7c4e4e audio: update Fortemedia table 20210419_v538
//R4O6
1. HA NB/WB/SWB/FB : adjust Mic SRC assignment /  RX& TX  Response adjust
2. HH NB/WB/SWB:  TX/RX distortion fine tuning,  WB TX PGA gain -> 0x1000
3. HE TTY  HCO: sync the latest of HH RX
4. HE TTY VCO: sync the latest of HH TX
5. HE Headphone:  sync the latest of HH TX

Bug: 174635995
Test: phone call
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie384611a64bf6f837909f586fa4003345e4d292c
2021-04-21 06:54:05 +00:00
Chris Lu
c45ccddbac oriole: enable peak refresh rate (90hz) am: 49181e2af2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14173751

Change-Id: I060c5fbf2b515cf9675c2d0265aafca10bfdfa7a
2021-04-21 03:06:23 +00:00
Chris Lu
49181e2af2 oriole: enable peak refresh rate (90hz)
Enables default setting to 90hz mode, this can be disabled through
Settings app.

Bug: 179149537
Test: wipe user settings and check default peak refresh rate enabled
Change-Id: I5c5bd2f72c7a348f802a631b14cad45ca81462a9
2021-04-21 02:40:39 +00:00
android-build-team Robot
7aa730f436 Snap for 7298338 from fd95a68592 to sc-v2-release
Change-Id: I8803d61cb7725cf9887ae783e2628f6fbfec5d18
2021-04-21 01:02:22 +00:00
terrycrhuang
8575cf4987 Initial the modem svn am: fd95a68592
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14185020

Change-Id: I6a5cd36190dd947bb6b93e6b57d395880ad4d9cc
2021-04-20 10:12:44 +00:00
terrycrhuang
fd95a68592 Initial the modem svn
Bug: 184116758
Test: Manual
Change-Id: Idba7da2aa083e5db889ddd2e8212da40a3955f35
2021-04-20 14:30:49 +08:00
Jie Song
ab67f7a22a Add preferred MIPI freqs for rear wide camera am: e4885979b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14236585

Change-Id: I365aa2b45f4fbd5d7270f61fee4c303c29b11b62
2021-04-20 04:00:17 +00:00
Jie Song
e4885979b2 Add preferred MIPI freqs for rear wide camera
Bug: 183498554
Change-Id: I4bd3f4c615d65ef817716016db966eaf3bde8df1
2021-04-20 03:32:03 +00:00
Robert Lee
01eaf2158e audio: update speaker firmware and tuning am: 88ff6ea244
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14233131

Change-Id: I805a637f70f12d6d7c923a46d38281df05e4cb08
2021-04-20 02:55:04 +00:00
android-build-team Robot
99b93f71a7 Snap for 7295815 from 72ae1114d5 to sc-v2-release
Change-Id: If88bd4fcc2c1a876b6e75dc41fbfa84f26f823c2
2021-04-20 01:02:18 +00:00
Robert Lee
88ff6ea244 audio: update speaker firmware and tuning
Bug: 179534284
Test: Manual verify speaker basic function work
Change-Id: I8f1dc408717042e8e8a6d1e30cca2548a45ee337
Signed-off-by: Robert Lee <lerobert@google.com>
2021-04-19 12:15:53 +00:00
wenchangliu
744313a584 Update recommended bitrate for each EncoderProfile from P20 am: 72ae1114d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14198729

Change-Id: I198ab1bef5f5d94e966e0aee688257ae7f64deea
2021-04-19 03:45:12 +00:00
wenchangliu
72ae1114d5 Update recommended bitrate for each EncoderProfile from P20
Bug: 185145849
Test: Normal/Slowmotion recording
Test: atest CtsMediaTestCases:CamcorderProfileTest
Change-Id: Ie3650b7e14fb9d88af782255b5458d78ac49efe8
2021-04-19 03:19:21 +00:00
android-build-team Robot
9698b29f90 Snap for 7290612 from cb7d8ddca3 to sc-v2-release
Change-Id: I5ddbe5a589df2c79a7bfe3d2fba087a391d00e20
2021-04-17 03:02:23 +00:00
Tai Kuo
754e8cbc73 raven: Launch twoshay during boot am: cb7d8ddca3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13871566

Change-Id: I012af89f9817dee888bf1a372f6270bac026f2f8
2021-04-16 21:09:29 +00:00
Tai Kuo
cb7d8ddca3 raven: Launch twoshay during boot
Bug: 174189880
Test: twoshay is launched
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I9c4b2c760d4b004944728a3ebdeb4c0da937c10f
Signed-off-by: Tai Kuo <taikuo@google.com>
2021-04-16 20:47:53 +00:00
Jack Wu
6fe3201b8b battery: raviole: disable wireless for pts battery test am: 6e0bb1cb11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186137

Change-Id: Ifb286666e359202660d8b9dd2044130232478238
2021-04-16 10:50:50 +00:00
Jack Wu
6e0bb1cb11 battery: raviole: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device put onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continously. 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: 179094447
Test: set the property manually and query the result from file node.
Change-Id: Ic5791c53f735caa19c73bae750651d774c0d4615
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 84d73dafb7e44bd195adcc4cbb16bad28728aedc)
2021-04-16 10:23:18 +00:00
android-build-team Robot
1a24ffdad5 Snap for 7286185 from d356ec5296 to sc-v2-release
Change-Id: Iebd72c24ecc639cfcf3479fc1b0c27a6fff5e145
2021-04-16 01:02:01 +00:00
Peter_Liang
65c2f5c8ca Update the latest voice packs of Text-To-Speech and configs for am: d356ec5296
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14011946

Change-Id: Ib68544a44db2ca11a9bbaaf1ae5a21bdf145bf6f
2021-04-15 16:32:51 +00:00
Peter_Liang
d356ec5296 Update the latest voice packs of Text-To-Speech and configs for
Oriole and Raven.

Bug: 156987763
Bug: 177494787
Test: manual test
Change-Id: I66976d7576e3962411e768b921e0d3ffbc3f2763
2021-04-15 15:43:24 +00:00
Carter Hsu
96a0e7a0e6 audio: update camcorder tuning 20210407 am: f4852afcda
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14158205

Change-Id: I35af02c7343c638f37a886b368e28f8e8cf78fce
2021-04-15 10:06:50 +00:00
Carter Hsu
f4852afcda audio: update camcorder tuning 20210407
Change list(R4/O6):
    1. Update the parameters in each module(IIR_1, SUR, IIR_2, AGC, MBDRC)
    2. Aim for different scenario(based on the rotation the the DUT) provide
       different tuning parameters
    3. Fine-tuning the zoom gain of AZ

Bug: 181869495
Test: camcorder
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1d0aa78f657fcfc20bf5a570bbbebb28f4896bba
2021-04-15 08:47:55 +00:00
Ilya Matyukhin
7a17ac3aee raven: use GHBM for PROTO1.0 devices am: 71b5c99a7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14193308

Change-Id: Idf1330beaea569122951fbadc7fb64a5521afc68
2021-04-15 06:57:26 +00:00
Ilya Matyukhin
fb61ef2e02 oriole: use GHBM for PROTO1.0 devices am: 8e2b19558f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186187

Change-Id: I318dfb7a8f8e7468994a72cba186126893fc2f67
2021-04-15 06:57:17 +00:00
Benjamin Schwartz
2103b17c5a powerstats: Add Uwb stats am: eeaf5ea672
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14188640

Change-Id: I421309e2f98248de8cae5a5cb43705e7ad8f28fb
2021-04-15 06:57:10 +00:00
Ilya Matyukhin
71b5c99a7f raven: use GHBM for PROTO1.0 devices
Bug: 185421174
Test: manual on R4 P1.0
Change-Id: Ic731b5ae3b45241906f3a51e02fbcd1d368fbddb
2021-04-15 06:55:53 +00:00
Ilya Matyukhin
8e2b19558f oriole: use GHBM for PROTO1.0 devices
Bug: 185421174
Test: manual on O6 P1.0
Change-Id: I7bbb04e7c894d8dd1014e6f16f25643e208edd3c
2021-04-15 06:55:42 +00:00
Benjamin Schwartz
eeaf5ea672 powerstats: Add Uwb stats
Bug: 180956351
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib528558b2efae9a35494bafcf2c675325cbcf6fe
2021-04-14 22:14:44 -07:00
Jasmine Cha
c7532a42f5 audio: switch Audio HAL to V7 am: 2a6d256369
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13945527

Change-Id: Ia52e0f54e9f864a29b93c607f98d06846a18737e
2021-04-15 01:50:06 +00:00
Jasmine Cha
2a6d256369 audio: switch Audio HAL to V7
- update audio_policy_configuration tables by those instructions.
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/oriole/config/audio_policy_configuration.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml 6.0

./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/raven/config/audio_policy_configuration.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml 6.0

./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/whitefin/config/audio_policy_configuration.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/whitefin/config/audio_policy_configuration_a2dp_offload_disabled.xml 6.0

./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/slider/config/audio_policy_configuration.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml 6.0
./hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh device/google/raviole/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml 6.0

bug:180878031
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioV7_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
      atest VtsHalAudioEffectV7_0TargetTest
      atest VtsHalAudioPolicyV1_0TargetTest
      manual audio test - playback/record/voice call

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I003875ed041feeedbb7d16f517063cec164382be
2021-04-14 16:35:01 +08:00
android-build-team Robot
3b5d7eebcb Snap for 7280565 from aad4426870 to sc-v2-release
Change-Id: I218d41da03c69b58b3cb0d94435ba406749d6ff4
2021-04-14 01:01:53 +00:00
juyuchen
aad4426870 audio: update speaker tuning information
Bug: 181874512
Test: build pass

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I276871d88e4b8cbb40b5568afc60ea0c5bd45ae5
2021-04-13 08:39:31 +00:00
HW Lee
5faf342d2f audio: add initial values of controls
Bug: 184696656
Test: build pass
Signed-off-by: HW Lee <hwlee@google.com>
Change-Id: Iad3d8b9e2bcf75efbdc2397b12e866b995fdb848
2021-04-13 04:46:35 +00:00
David Li
e9fbea2a99 audio: initialize mixer_control Incall Sink Mute and Incall Mic Mute
Bug: 177914228
Bug: 165750425
Bug: 180983997
Bug: 180984364
Test: call screen mode 2, mute microphone in voice call
Change-Id: I7535e6d2c9f739a0e2c7f867f4ca54430d587da0
2021-04-13 01:43:38 +00:00
android-build-team Robot
e02d2eeec7 Snap for 7269314 from 7357dbcb59 to sc-v2-release
Change-Id: I2b2901266070883ecb06e9502f64d3f24d35707e
2021-04-09 01:02:03 +00:00
Sundong Ahn
a65c38d834 Delete non-whitespace character
In media_profiles_raven.xml, there is non-whitespace character, So
remove it.

Bug: 184726685
test: atest vts_mediaProfiles_validate_test with media_profiles_raven.xml
Change-Id: I1d8c257880c296ed0c5f1f3d4a93aafd84109be7
2021-04-08 17:28:17 +09:00
android-build-team Robot
38b08fb065 Snap for 7266202 from 1f4bfe4da9 to sc-v2-release
Change-Id: I4797b5a8a1eba7de979c75227e910351f419a1b2
2021-04-08 01:02:05 +00:00
Victor Liu
7357dbcb59 device: don't build uwb
disable uwb for raven to prevent runtime crash

Bug: 184705689
Change-Id: I3dee912f79e22db3c6fafaea90dde8eb48b110d3
2021-04-07 20:50:46 +00:00
Bob Badour
1f4bfe4da9 [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole
Added SPDX-license-identifier-Apache-2.0 to:
  powerstats/oriole/Android.bp
  powerstats/raven/Android.bp
  powerstats/slider/Android.bp
  powerstats/whitefin/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I55e5dff09da7f1f8ab2b38041eab75638d9a7a55
2021-04-07 07:27:46 -07:00
George Chang
bb7f00fb27 Enable require device unlock for NFC
Bug: 164002915
Test: manual
Change-Id: Ie0a6e0e9dc92210755e57200f0cef565a34b1619
2021-04-07 11:57:23 +00:00
Carter Hsu
e6841911c8 audio: update Fortemedia table 20210406_V538
BT
    WB TX EQ change from 1 to be 0 at 62.5Hz~125Hz band. Apply on all BT scenarios on WB.
    FB RX, enable HPF 50Hz. Apply on all BT scenarios on FB.
HE TTY
    Change gain
    UL:
    TX PGA gain is changed from -13.5 to be -8.5dB
    DL:
    RX PGA is changed from -12dB to be -3.99
    RX VOL is change from -23dB to be 0dB
    Apply to all TTY full, VCO, HCO
    Apply to all bandwidth
    Apply SPK TX to VCO TX
    Apply SPK RX to HCO RX

Bug: 174635995
Test: phone call
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I3e3972de1bd5680d499c5137e04db434a021a822
2021-04-07 07:28:00 +00:00