Commit graph

164 commits

Author SHA1 Message Date
Carter Hsu
fd6a99cc6e audio: update camcorder tuning 20210407 am: f4852afcda
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14158205

Change-Id: Ide92b4ee255e159e1270bd5412ae0edd1d84370b
2021-04-15 10:00:58 +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
81d917a606 raven: use GHBM for PROTO1.0 devices am: 71b5c99a7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14193308

Change-Id: I01da9cc4b1f69eaccc34e4be8105264880cca3ae
2021-04-15 07:15:20 +00:00
Ilya Matyukhin
3947fda311 oriole: use GHBM for PROTO1.0 devices am: 8e2b19558f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186187

Change-Id: If3bced487b857c9f718ec1bc3a1c3831e367d1bb
2021-04-15 07:14:55 +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
7dfc0b3893 powerstats: Add Uwb stats am: eeaf5ea672
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14188640

Change-Id: I2286d9bff3c2f1320842823d3bc4af4550c0a1ba
2021-04-15 06:51:17 +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
4bb000ab1f audio: switch Audio HAL to V7 am: 2a6d256369
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13945527

Change-Id: I16a97d9bc00947ebc2c8b2738c9255b94b223944
2021-04-15 01:44:41 +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
juyuchen
f69e3f90e8 audio: update speaker tuning information am: aad4426870
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14160651

Change-Id: Ifc606b23459e062dc23df2bc8f90f1392645e4fd
2021-04-13 11:55:02 +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
5273dc6a23 audio: add initial values of controls am: 5faf342d2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14127852

Change-Id: I10d26bea169599f42fc58735c40da6f971c6e1f4
2021-04-13 05:17:41 +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
a65b92e629 audio: initialize mixer_control Incall Sink Mute and Incall Mic Mute am: e9fbea2a99
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14110036

Change-Id: I0cdb85c606331f2933e525b49594f24fb454acdb
2021-04-13 01:54:06 +00:00
Sundong Ahn
a0134307db Delete non-whitespace character am: a65c38d834
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14124731

Change-Id: I676dab78ad04c0abfcad442c646092a2f031d0c3
2021-04-13 01:53:19 +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
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
Victor Liu
12e748a99a device: don't build uwb am: 7357dbcb59
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14112842

Change-Id: I5802ecc6aacb9a4c76508ae859edef2a4181aa43
2021-04-07 21:35:24 +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
1cd6baf6f6 [LSC] Add LOCAL_LICENSE_KINDS to device/google/raviole am: 1f4bfe4da9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14112953

Change-Id: Ia69e82f8781846174a8f9d836598101841f822c1
2021-04-07 16:17:31 +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
df2c781b00 Enable require device unlock for NFC am: bb7f00fb27
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14098240

Change-Id: Icb2f71f31469c0a8c7ef2e9e3549b44918e171b2
2021-04-07 12:22:25 +00: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
b2dd218d58 audio: update Fortemedia table 20210406_V538 am: e6841911c8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14105827

Change-Id: If59b7a8a0c01351bd452bd72945633a9c3c0d511
2021-04-07 07:50:20 +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
Benjamin Schwartz
0737ba8ffa powerstats: Add device specific display states am: e04673cadf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14099375

Change-Id: I900ecaa460fd453eb07c8333b4d83c2d28355a16
2021-04-07 03:56:28 +00:00
Benjamin Schwartz
e04673cadf powerstats: Add device specific display states
Bug: 167216667
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I90ea3553ababbc802fdc6f893f698b85655b1ad9
2021-04-07 03:22:26 +00:00
juyuchen
90f7214a9b audio: update speaker firmware and tuning am: 56926638e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14098231

Change-Id: I93ac6d015c8f1b109dfc68ea53a458661a9e8f1a
2021-04-06 09:59:33 +00:00
juyuchen
56926638e1 audio: update speaker firmware and tuning
Tuning changes:
- Tuning for f0 limit samples for both top and bottom speakers
- HPF is now cutoff @ 120Hz (used to be 150Hz) for both top and bottom speakers

Firmware changes:
- Upgrade to v6.47 firmware for protection, cal, and diag firmware

Bug: 181874512
Test: manual audio tests

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I2ed80d2397a2f0fde4a8591e0986e3a3abf8e1b0
2021-04-06 15:42:15 +08:00
gillianlin
dfa0c14900 factory: rename vendor property with a prefix am: 0a5b5bb2aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14048532

Change-Id: Id476c92426482fdf5c102063512d0bda54dd2371
2021-04-06 07:09:06 +00:00
gillianlin
0a5b5bb2aa factory: rename vendor property with a prefix
rename the property with vendor prefix

Bug: 182954248
Test: Local verified
Change-Id: I9858ef62e32f3167e36fdc612f6850f1ec1d45cd
2021-04-06 06:35:26 +00:00
Benjamin Schwartz
b81901cc1a [automerger skipped] Add power stats service for specific device am: c798cb39a0 -s ours
am skip reason: skip tag Change-Id I20fa0e1b369f9b5f15e7881eea87ef699176dccc with SHA-1 8cf084a3f9 is already in history

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

Change-Id: Icca69dfa9b7eb8e19d21e33b0c8b7420922f4ad7
2021-04-06 04:20:10 +00:00
Benjamin Schwartz
c798cb39a0 Add power stats service for specific device
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I20fa0e1b369f9b5f15e7881eea87ef699176dccc
Merged-In: I20fa0e1b369f9b5f15e7881eea87ef699176dccc
2021-04-06 01:31:44 +00:00
Benjamin Schwartz
8cf084a3f9 Add power stats service for specific device
Bug: 183052760
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I20fa0e1b369f9b5f15e7881eea87ef699176dccc
2021-04-05 23:06:41 +00:00
Beverly
8a91ada70f Add physical button locations for raviole am: 9420469be8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14076389

Change-Id: If2b0d16ea5646955c101bb4c075c02578d7dd9a2
2021-04-02 17:10:13 +00:00
Beverly
9420469be8 Add physical button locations for raviole
Bug: 181020504
Test: physically measured on device
Change-Id: Ia989754a7af92d4de64185f08a52ec83b0fc3618
2021-04-02 10:03:36 -04:00
Bill Yi
51a1be838a Add scripts for generating raven/oriole factory images am: 207603f6b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14036905

Change-Id: I7e24719082b88b5725059b9664bd20c207384be7
2021-03-31 17:30:45 +00:00
Bill Yi
207603f6b2 Add scripts for generating raven/oriole factory images
TEST:None. No signed images yet

BUG: 182332166
Change-Id: I26cab3875ced5376838d359e70386553c5ee48ce
2021-03-31 16:51:25 +00:00
Bill Lin
c28e7775de Update Oriole screen decorations am: d84ad0d2a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14017366

Change-Id: I146e50d5f32979558f3ddfe813e63d29bcd50265
2021-03-31 07:23:48 +00:00
Bill Lin
d84ad0d2a3 Update Oriole screen decorations
- Tweaked rounded corners to have different top and bottom assets
- Adjusted the holepunch based on the pixel mapping
- Adjusted status bar height and top padding
- Configured the estimated display cutout area for a 118px box
- Adjust landscape status bar padding

Test: visual, manual
Bug: 179171394
Change-Id: If37587f60245d71c795a55bb8adead5029d1d41a
2021-03-31 09:57:17 +08:00
Beverly
0cd89c043c Add SystemUI config.xml am: 038dc0267a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14034144

Change-Id: I7adfce6c6b4243511a8edb9e0b63bfb2947947c0
2021-03-30 18:27:11 +00:00
Beverly
038dc0267a Add SystemUI config.xml
- Add doze parameters
- Add brightness values (currently copied from redfin)

Test: manual
Fixes: 183951335
Bug: 178066413
Change-Id: I229dbf7174fa0b91f22cf35b7183c98603fe3fec
2021-03-30 17:47:30 +00:00
Carter Hsu
76d3dd22c0 audio: add VoIP RX/TX am: 3755b08b67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13910230

Change-Id: If0ac9e1b9a37995359e3064b3847ef15d5af3a24
2021-03-30 01:13:26 +00:00
Carter Hsu
3755b08b67 audio: add VoIP RX/TX
Bug: 165755752
Test: Build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1393c55447b50dbff8ad590e48b9046a7f4ecc7d
2021-03-30 00:44:05 +00:00
Jasmine Cha
4724941af5 audio: waves: support 64-bit algfx lib am: 56f0aac772
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14011956

Change-Id: I444788020ea75e899a3cf7179421808f1e8f94e4
2021-03-29 09:21:35 +00:00
Jasmine Cha
56f0aac772 audio: waves: support 64-bit algfx lib
Bug: 183174341
Test: manual audio test / playback

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I03337ac977836a04c5996f2833f42fbbeb0f2b42
2021-03-29 08:56:18 +00:00
Peter_Liang
b1beefe567 Correct the voice packs path of Text-To-Speech. am: 5e7f6f65df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14011945

Change-Id: I6848e14f99abffd36a1027a13fd806b8858e5450
2021-03-29 04:14:30 +00:00
Peter_Liang
5e7f6f65df Correct the voice packs path of Text-To-Speech.
1.Correct the file path.
2.Should put into corresponding device folder for Oriole and Raven.

Bug: 167996145
Test: manual test
Change-Id: I040077cc1c5a3a2e89f6aa12299c6ef2f1b7ca0f
2021-03-29 03:56:04 +00:00
Alex Hong
333ad75805 Keep slider/whitefin under Permissive mode am: b8c5db3ad4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13989143

Change-Id: Iaa0261c21be48880fa594fd0ce11aea66093f9e4
2021-03-29 03:42:31 +00:00