Commit graph

216 commits

Author SHA1 Message Date
Robin Peng
26e8bede06 raviole: centralize common part of init.<DEVICE>.rc into init.raviole.rc am: 334022f5c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14434498

Change-Id: I527f1a72d73f6a2223d163780c7fefe9bd45de58
2021-05-05 06:06:17 +00:00
Robin Peng
334022f5c6 raviole: centralize common part of init.<DEVICE>.rc into init.raviole.rc
Bug: 167996145
Change-Id: I1e12d64295ffd4f990ad97455dc8a1ab965b6133
2021-05-05 05:55:46 +00:00
Yung Ti Su
cbe56e5b57 audio: add bt-mic for audio capture am: 5ed1fe327d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14410399

Change-Id: Iac127c28a2df0b8ecef5943377ac36be38bedcf8
2021-05-05 04:30:10 +00:00
Yung Ti Su
5ed1fe327d audio: add bt-mic for audio capture
slider / whitefin

Bug: 185209822
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id8da30e39773e625d4e77890452f1c6489755452
2021-05-05 04:10:29 +00:00
Daniel Mentz
b1b8d82141 init.insmod.*.cfg: Migrate from insmod to modprobe am: 296196c25b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14346002

Change-Id: I7f5b5ff9b1aa64e177b64b492e6fad6b8b37387e
2021-05-04 20:09:34 +00:00
Daniel Mentz
296196c25b init.insmod.*.cfg: Migrate from insmod to modprobe
modprobe is smarter about locating .ko files if they are stored in
subdirectories. For example, it finds heatmap.ko regardless of whether
it's stored in /vendor/lib/modules/heatmap.ko or
/vendor/lib/modules/extra/heatmap.ko.  modprobe also loads all
dependencies automatically.  Let's migrate from insmod to modprobe.

Bug: 185184472
Change-Id: I439fdc76fb6211b416541256c92169da12b0100d
2021-05-04 19:55:59 +00:00
Yanting Yang
fb0c53214e Add initial MIC e-label for JP SKU of Oriole am: 24333156a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14409537

Change-Id: I6edd9a7c9e64fe1b9ab1aa1a88c8b65675eec2d5
2021-05-04 09:19:56 +00:00
Yanting Yang
24333156a4 Add initial MIC e-label for JP SKU of Oriole
Bug: 182864706
Test: visual
Change-Id: I1878bd6aacfed834d618d88d325d530098d1ce27
2021-05-04 09:01:27 +00:00
Jasmine Cha
620949c14d waves: O6/R4: update preset file. (20210504) am: a0503c472b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14419436

Change-Id: Ib5d3bdf3311309a613e95a49dc01a4e84b03dabe
2021-05-04 03:27:33 +00:00
Jasmine Cha
a0503c472b waves: O6/R4: update preset file. (20210504)
- O6
  - Improves the loudness of O6 while maintaining tonal balance.
  - Improve loudness and tonal balance of ringtones and notifications
    on speaker-safe.
- R4
  - Significantly increases the perceived loudness of the
    speakers at maximum volume.
  - Improves the tonal balance and is tuned for distortion
    mitigation for 1.8A current limits.
  - Improves the loudness and tonal balance of ringtones and
    notifications on speaker-safe.

Bug: 179089765
Bug: 179089856
Test: playback, mute on/off, bypass, lr swap/mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6bc5abfcb2d393c51946524861119629f158cbe2
2021-05-04 02:03:11 +00:00
Blake Kragten
057e44962e Add Modem Thermistors am: ca7a6331ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14105368

Change-Id: I228901ab4b37286948f0742527d66f44f8e8b685
2021-05-03 20:54:54 +00:00
Blake Kragten
ca7a6331ef Add Modem Thermistors
To make thermisters rf1_therm and rf2_therm visible to thermal hal they
are needed to be added to the thermal_info_config

Bug: 171092743
Test: On Device
Change-Id: I6ae8933afed7cfbd9b90290eddb7b84aaa7612de
2021-05-03 20:27:29 +00:00
Carter Hsu
0bad19b7d3 audio: add bt-mic for audio capture am: 7c81054244
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14264505

Change-Id: I69c98a42eb8a3c43c1dfc69a38483e9dc5e7ccd1
2021-05-03 17:39:39 +00:00
Carter Hsu
7c81054244 audio: add bt-mic for audio capture
Bug: 185209822
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I4d37148ed75e57e8077b6a752b190ee87d289a9a
2021-05-03 17:17:33 +00:00
Yichi Chen
e71351d0b7 Raven: Enable smooth display with 120Hz am: 9cf71a9b1d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14352363

Change-Id: Idf556dd4a42a02ad780517029f89f4e579e4d289
2021-05-03 15:32:14 +00:00
Yichi Chen
9cf71a9b1d Raven: Enable smooth display with 120Hz
The patch turns on smooth display in Settings App by default to allow
more users experience 120Hz. Users can still disable the feature in
Settings App.

Bug: 185102566
Test: Basic panel flickering and performance tests by UTD
Change-Id: I67420f5625294873095c624d75ee7914bbe22035
2021-05-03 14:59:47 +00:00
shawnlin
11d3fd8d72 Add hide cutout overlays to raven & oriole am: 1c49162f14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14278086

Change-Id: If07108e717738bb9687238eda71f1ad7534e91f5
2021-05-03 12:50:25 +00:00
shawnlin
1c49162f14 Add hide cutout overlays to raven & oriole
Bug: 185779885
Bug: 185779883
Test: make
Change-Id: Ib6e9207e7d26ae815e10af6705fc6b7dd6dada1c
2021-05-03 12:28:28 +00:00
Robert Lee
57de54864b audio: bypass aoc post processing on speaker for factory audio test am: 4460dac76b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14308393

Change-Id: I146e6a50af460784b84216be30676f9ad30c38d4
2021-04-29 09:38:46 +00:00
Robert Lee
4460dac76b audio: bypass aoc post processing on speaker for factory audio test
For Cirrus amp, ASP means Audio Serial Port.
For AoC, ASP means Audio Signal Processing.

Bug: 184238845
Test: manual test factory test command
Change-Id: I8d62535056ef680e14ccc708c8f722a3dfab12ab
Signed-off-by: Robert Lee <lerobert@google.com>
2021-04-29 09:18:46 +00:00
Roger Fang
73fbe570be device: google: load audio_ext module to support audio suez am: 29c600ea29
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14186140

Change-Id: Icbc5bb75a03cfc2182acaf2001a6bfceb47a679f
2021-04-28 08:54:23 +00:00
Roger Fang
29c600ea29 device: google: load audio_ext module to support audio suez
Bug: 171854614
Test: manually test passed
Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Ib3cb34d045d80ba69f930dab0d9277c72208ae97
2021-04-28 03:10:20 +00:00
Beverly
6e1ba2a5a4 Don't use binned brightness for prox am: 8e79346260
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14329143

Change-Id: I2b1763d5b7e37fe519cb51c70d152b786a6ff5c5
2021-04-27 21:39:11 +00:00
Beverly
8e79346260 Don't use binned brightness for prox
Because binned brightness on R4/O6 isn't reporting prox anymore,
instead, use the default prox sensor

Test: manual
Bug: 183677790
Change-Id: I2e65846f41b4b313ddd288fa4cf989d06779e446
2021-04-27 20:58:49 +00:00
juyuchen
2c72d9f5c7 audio: update audio platform table am: 47166c6085
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14248598

Change-Id: Ic5ebf186c3e5325adb279ef821a0b61231d8be76
2021-04-27 11:46:26 +00:00
juyuchen
47166c6085 audio: update audio platform table
Increase period size to avoid using Fastmixer in the deep buffer
playback.

Bug: 185096280
Test: manual audio tests
Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I8ce12f151eaa9b711e1dacaf12e2f70c0555bf30
2021-04-27 11:15:12 +00:00
Benjamin Schwartz
2b458ee228 powerstats: Add NFC stats am: 65afc07bcb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14269205

Change-Id: Id47c5672e19cf7cfced446a9bd1ee43328f66670
2021-04-22 23:59:40 +00:00
Benjamin Schwartz
65afc07bcb powerstats: Add NFC stats
Bug: 184722506
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I3b8dce2f7170c686a619dfda1002a49edf3a5428
2021-04-22 23:38:44 +00:00
Victor Liu
848a1620c5 Revert "device: don't build uwb" am: 0bc47d654b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14255321

Change-Id: I693864883ea7ed1e082c07add943d7b747750499
2021-04-22 22:50:34 +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
4eee39b0cb audio: remove unsupported TinyALSA controls am: eab909573b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14257167

Change-Id: Ifae2ccaa7cbcd9da5fa1aacd89a7e76dcad002f9
2021-04-22 02:05:36 +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
TeYuan Wang
4acabdae3a thermal: update raviole thermal table am: 60d11bce2f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14065485

Change-Id: Ifc2f57c1921b02ba4dcb1d1b41a32553447e4c94
2021-04-21 16:12:15 +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
09ca728106 audio: update Fortemedia table 20210419_v538 am: e34a7c4e4e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14233130

Change-Id: I0ccf159ea7aa8b9c85bb2c25480a3e2271bfbd04
2021-04-21 07:16:12 +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
fbedd52f73 oriole: enable peak refresh rate (90hz) am: 49181e2af2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14173751

Change-Id: I6dd42ccc98e2e1bbcff72d12b11eb0bea7655e98
2021-04-21 03:04:50 +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
terrycrhuang
1b0f3c211d Initial the modem svn am: fd95a68592
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14185020

Change-Id: If10f0eab455af84bbb64fa3a2b10257c6ddbf089
2021-04-20 10:10:53 +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
84894d5096 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: Iaed32c761db63646bbb2aaea764aae97994a71c4
2021-04-20 03:58:37 +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
fcc8d1b646 audio: update speaker firmware and tuning am: 88ff6ea244
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14233131

Change-Id: I6125bf4ac1b853060ea5f149c2291bbbe8f2c8a7
2021-04-20 02:53: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
a5b4307493 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: Ie5b63a5e16a6bcb0f6054b7e4f90a4f42fe6a38d
2021-04-19 03:42:29 +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
Tai Kuo
df1d8bf9e1 raven: Launch twoshay during boot am: cb7d8ddca3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/13871566

Change-Id: Ibcd32ede0cc93e8fe8cc15f9c6e862bddcda1392
2021-04-16 21:07:30 +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
fa327b90e5 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: Id06d286a1c8a4ae00547af753fda39d819c1f6c2
2021-04-16 10:48:46 +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