Commit Graph

1902 Commits

Author SHA1 Message Date
Mikhail Naganov
914f74be2a Switch audio HAL to V7
Updated audio policy manager configuration files to comply
with the changes in the XML schema. This was done automatically
by running the following commands:

  hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
    device/google/redfin/audio/audio_policy_configuration.xml 6.0

  hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
    device/google/redfin/audio/audio_policy_configuration_a2dp_offload_disabled.xml 6.0

  hardware/interfaces/audio/7.0/config/update_audio_policy_config.sh \
    device/google/redfin/audio/audio_policy_configuration_bluetooth_legacy_hal.xml 6.0

Note: since bluetooth_hearing_aid_audio_policy_configuration.xml is
shared across all redbull-based devices, this file had to be
temporarily copied to device/google/redfin/audio before upgrading.

Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: I1bd864019c417e6118a90dc1f45d97ae4e6c5d6e
2021-02-16 14:50:19 -08:00
Pat Tjin
cb4d4eb136 Merge "Inherit from core_64_bit_only for 64 bit only builds." into sc-dev 2021-02-08 17:16:37 +00:00
Christine Franks
0bcc1bdeb9 Add rbc coefficients for redfin
Bug: 179387548
Test: n/a
Change-Id: I1de41e0491f1a84be29811d2e2516eb2f3be2b34
2021-02-04 14:48:31 -08:00
Pat Tjin
6170a04044 Inherit from core_64_bit_only for 64 bit only builds.
Bug: 179159233
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I58c2523914bc93ee58ed5091054feade1c75a0c4
2021-02-03 22:24:54 +00:00
George Chang
cc9b68404e Enable require device unlock for NFC for all SKU
Bug: 164002915
Test: check settings menu
Change-Id: I8f517bf4c859361dd0ff61a1791ef60d24e82c29
2021-02-02 09:28:51 +00:00
Pat Tjin
f7d891a285 Add aosp_redfin_64 variant
Bug: 178509282
Bug: 178509559
Test: Build
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Iaf6091c121c30dd5de567d2334508b9c0c08d169
2021-01-28 03:37:44 +00:00
Yifan Hong
a91886da50 vibrator: declare AIDL version in VINTF
Vibrator HAL uses unstable version, which is currently version 2.

Test: pass
Bug: 178035621
Change-Id: I78549bb2ef639bec9233d9b337c63dda7701501d
2021-01-21 15:54:08 -08:00
raylinhsu
108c7dfe7b [automerger skipped] DO NOT MERGE "Set brightness threshold for high brightness" am: 15c519b4f1 am: 92a11d749b -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I87e083c2c6c5432a8170497621fc1d3d3c479b9d
2021-01-19 04:44:11 +00:00
raylinhsu
92a11d749b DO NOT MERGE "Set brightness threshold for high brightness" am: 15c519b4f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13346009

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1810da0b25f7c8d971863eae77dff784063837a6
2021-01-19 04:01:51 +00:00
Eric Laurent
2b3a59900b Merge "audio policy: add offload gapless support flag" 2021-01-18 09:31:35 +00:00
TreeHugger Robot
27d0254cc4 [automerger skipped] Merge "DO NOT MERGE Revert "Set brightness threshold for high brightness"" into rvc-qpr-dev am: bd9748b91c am: 53b72870ef -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ide021b2b1790ba07a1f02bd8137412fc0225f308
2021-01-15 13:58:41 +00:00
raylinhsu
806d05dfb5 [automerger skipped] DO NOT MERGE Revert "Set brightness threshold for high brightness" am: 2216abaaa6 am: e489d3e534 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I45c642d7b343a3bcefd1247e43a849bcc68799a8
2021-01-15 13:58:39 +00:00
raylinhsu
15c519b4f1 DO NOT MERGE "Set brightness threshold for high brightness"
Set 60Hz as default refresh rate in the blocking zone of
the high brightness.

Bug: 177636374
Test: atest DisplayModeDirectorTest
Test: no fps transition in the blocking zone when the display state change
Test: check if the lux will update when the display state change
Change-Id: I0bc670b4a283fbb6844b09e94ee8040e3f75a4e1
2021-01-15 09:38:42 +00:00
TreeHugger Robot
53b72870ef Merge "DO NOT MERGE Revert "Set brightness threshold for high brightness"" into rvc-qpr-dev am: bd9748b91c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13327534

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4ef0fb638647213fa63ab573d7e0874ed9a79cca
2021-01-14 19:16:07 +00:00
raylinhsu
e489d3e534 DO NOT MERGE Revert "Set brightness threshold for high brightness" am: 2216abaaa6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13327534

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id47dad38c803910857750ce910f52e01de85dd21
2021-01-14 19:16:05 +00:00
TreeHugger Robot
bd9748b91c Merge "DO NOT MERGE Revert "Set brightness threshold for high brightness"" into rvc-qpr-dev 2021-01-14 18:51:44 +00:00
raylinhsu
2216abaaa6 DO NOT MERGE Revert "Set brightness threshold for high brightness"
This reverts commit 2a76dcd035

Bug: 176018998
Change-Id: I4fd7bd16f50d14e213488e1c764fe78a542e32da
2021-01-14 14:10:47 +00:00
llololo
2b8d7b1da7 audio: update mixer paths table am: 2c6c597acf am: f4620110a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13273435

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7739bb66eb8040eb6a4d409a35487cf822b16ab1
2021-01-13 07:15:05 +00:00
llololo
f4620110a4 audio: update mixer paths table am: 2c6c597acf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13273435

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7f0abd038c9b24a60a158e1af93255991e5f9cb2
2021-01-13 06:58:49 +00:00
llololo
2c6c597acf audio: update mixer paths table
Mixer Path:
Move the speaker-mic path to behind the speaker-dmic-endfire path.

Bug: 176338594
Test: Enable the live transcribe. Check the path switches to speaker-mic in logcat. The function live transcribe works.
Change-Id: Iffeed13a7557d6d0011a80583fd063ceee03c894
2021-01-11 02:17:14 +00:00
Kevin Chyn
b248eb16fa Move config_biometric_sensors to device/google am: 79b17903bf am: 9b965d3f75
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13307019

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie59599e201833ce67f78f995e60546a94a19d350
2021-01-09 00:39:15 +00:00
Kevin Chyn
9b965d3f75 Move config_biometric_sensors to device/google am: 79b17903bf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13307019

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iff17413848dc801a6c2d2e95c4924f00cf845c35
2021-01-09 00:02:34 +00:00
Kevin Chyn
79b17903bf Move config_biometric_sensors to device/google
Bug: 176822128
Test: auth on redfin and aosp_redfin
Change-Id: I317fe33f918f5a560d9ff890d552b63267b414f9
2021-01-08 20:39:44 +00:00
Eric Laurent
44d0978d30 audio policy: add offload gapless support flag
Add flag AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to explicitely indicate support
for gapless transitions for offload output profiles in audio policy
configuration file.

Bug: 158191844
Test: atest AudioTrackOffloadTest
Change-Id: I711f5677075e8a0f33c951656c8a019255e2f41c
2021-01-08 15:47:49 +01:00
TreeHugger Robot
5deafe227b Merge "Add display config for redfin." 2021-01-08 11:13:32 +00:00
Daniel Norman
bcb67c29e7 Merge changes from topic "redfin_hals_required"
* changes:
  Changes these VF-compatibility HALs from optional to required.
  Changes wireless_charger HAL from optional to required.
2021-01-07 23:06:14 +00:00
Daniel Norman
c63b4a5da2 Changes these VF-compatibility HALs from optional to required.
These HALs are always provided by the Android 11 vendor implementation.

Test: Build and merge redfin with S system and R vendor.
Bug: 176123039
Change-Id: Ic537c9df178cd219a35ccd959aaa775fb3ab5d7d
2021-01-07 10:09:22 -08:00
Daniel Norman
385b17c0cd Changes wireless_charger HAL from optional to required.
This HAL is always provided by the Android 11+ vendor implementation.

Test: Build redfin with S system and vendor.
Test: Build and merge redfin with S system and R vendor.
Bug: 176123039
Change-Id: I38196b5efae920d0298aedb5cabf0b82bfdef6f6
2021-01-07 10:08:48 -08:00
Kevin Chyn
e522407862 Merge "Move config_biometric_sensors to device/google" 2021-01-07 01:56:01 +00:00
Kevin Chyn
b2354250e6 Move config_biometric_sensors to device/google
Bug: 176822128
Test: auth on redfin and aosp_redfin
Change-Id: I317fe33f918f5a560d9ff890d552b63267b414f9
2021-01-06 15:55:44 -08:00
Bill Yi
17d6694ee5 [automerger skipped] Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE am: 169e4b7848 am: 7896d73927 -s ours am: 565232386c -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1540549

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib9629b998fddc086d9f36c5c77a663034a4d0ded
2021-01-06 15:21:13 +00:00
Bill Yi
565232386c [automerger skipped] Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE am: 169e4b7848 am: 7896d73927 -s ours
am skip reason: Change-Id I1fd1e50fcf6f79ae904cc7d6576c2f18039cc55c with SHA-1 b917bd0eda is in history

Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1540549

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0b5535a79aa640b3540ca37c2911babcacd29e49
2021-01-06 14:43:20 +00:00
Bill Yi
7896d73927 Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE am: 169e4b7848
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1540549

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9d8285b33cc90cce2b73d9d1b564756addbbc8d2
2021-01-06 14:19:19 +00:00
Bill Yi
169e4b7848 Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE
Merged-In: I1fd1e50fcf6f79ae904cc7d6576c2f18039cc55c
Change-Id: I20f3ddc214cb92963147e324f6944e705f87bb81
2021-01-05 18:27:48 -08:00
Bill Yi
ce86727249 [automerger skipped] Merge RQ1A.210105.003 to stage-aosp-master - DO NOT MERGE am: d1060498cc -s ours am: b917bd0eda -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5d95c53fe45d817ff95ff21cc30b7911205ab1d3
2021-01-05 21:58:52 +00:00
Bill Yi
b917bd0eda [automerger skipped] Merge RQ1A.210105.003 to stage-aosp-master - DO NOT MERGE am: d1060498cc -s ours
am skip reason: Change-Id I98bc019b3729f08421c7d52ceb837d5f64d6f8ac with SHA-1 e414b8ddd4 is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1fd1e50fcf6f79ae904cc7d6576c2f18039cc55c
2021-01-05 21:40:25 +00:00
Bill Yi
d1060498cc Merge RQ1A.210105.003 to stage-aosp-master - DO NOT MERGE
Merged-In: I98bc019b3729f08421c7d52ceb837d5f64d6f8ac
Change-Id: I6c58c93732523debd6acb1bfbbc73dc1e2b2631a
2021-01-05 08:51:07 -08:00
Santos Cordon
308328f60c Add display config for redfin.
Include HBM brightness range data.

Test: manual.  Set HBM to enabled, and verify auto brightness works with
the specified HBM range.
Bug: 168210138
Change-Id: I3f9ddbe2773cdf9f195419ff946d6797780bd5fe

Change-Id: I1730653df2ad5b251a2a41057c9b751ef9e8cf66
2021-01-05 14:21:55 +00:00
TreeHugger Robot
164ee63cbc Merge "Adds vendor.qti.hardware.bluetooth_sar to redfin_vf FCM." 2020-12-28 15:47:32 +00:00
TreeHugger Robot
011f25fb44 Merge "Prevent null vector accessing in USB HAL" 2020-12-28 07:43:30 +00:00
Daniel Norman
753defed9b Adds vendor.qti.hardware.bluetooth_sar to redfin_vf FCM.
This is needed because non-VF switched from this HAL to
hardware.google.bluetooth.sar. The old HAL is required in the FCM to
pass check_vintf when merging.

Bug: 176365905
Test: Build and merge, flash and basic BT functionality check.
Change-Id: Ia28bf5d8cd8155dfa5d183317168fac190755771
2020-12-27 05:55:43 +00:00
llololo
9e1b8792e5 Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I6ee0e4a1713d631c38c3768d1821dc13edef3729
2020-12-25 07:56:50 +00:00
YiHo Cheng
50f444ae5e Merge "thermal: Update trip points" into rvc-qpr-dev am: 1b6f97666a am: e414b8ddd4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13154469

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I32ada0053c5a8f389d9039a298d208462ba01f1c
2020-12-23 15:27:43 +00:00
YiHo Cheng
e414b8ddd4 Merge "thermal: Update trip points" into rvc-qpr-dev am: 1b6f97666a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13154469

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I98bc019b3729f08421c7d52ceb837d5f64d6f8ac
2020-12-23 15:10:19 +00:00
YiHo Cheng
1b6f97666a Merge "thermal: Update trip points" into rvc-qpr-dev 2020-12-23 14:25:45 +00:00
Jenny Ho
3dd8f91244 dumpstate: Update TRICKLE-DEFEND dump nodes am: 0d26602877 am: 49ef6e25f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13254629

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic9a101d3b93e6ae04c3793ccc7f844fef192732a
2020-12-23 02:35:27 +00:00
Jenny Ho
49ef6e25f8 dumpstate: Update TRICKLE-DEFEND dump nodes am: 0d26602877
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13254629

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id4452498e22b63bf19d758c7a9d6d82c2fccc0c4
2020-12-23 02:14:24 +00:00
Jenny Ho
0d26602877 dumpstate: Update TRICKLE-DEFEND dump nodes
Bug: 17314936
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ifc56875988cd50d42f73e741a31cfbccb7a859aa
2020-12-22 17:21:24 +08:00
Bill Yi
5f1ad4107b Add telephony permission xml files am: 9e65479af5 am: 8bd1b3732b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13253872

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2a95121154594aa1c8b97301ebbdf0659ffac448
2020-12-22 01:34:06 +00:00
Bill Yi
8bd1b3732b Add telephony permission xml files am: 9e65479af5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13253872

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8ba45b69bcd1c9cb11db1fb6fba7f2d60f448857
2020-12-22 00:56:15 +00:00