Commit Graph

1950 Commits

Author SHA1 Message Date
Albert Wang a36726f4fd Add USB Gadget HAL 1.2 support
Add a new API to query current USB connection speed

Bug: 181938674
Test: Pass USB Gadget V1.2 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Ib908434771854e66d22323b15c02acffe1eff48b
2021-03-23 17:41:42 +08:00
TreeHugger Robot 95e87f3721 Merge "Move wireless charger hal to 1.3" into sc-dev 2021-03-23 06:26:41 +00:00
yihsiangpeng cd8c8bb1dd Move wireless charger hal to 1.3
Bug: 179464598
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I63ca0ded23ef6023ee8544a5fdf3a79b6b68b10d
2021-03-22 11:30:04 +08:00
Bob Badour 29871fbe4f [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin
Added SPDX-license-identifier-Apache-2.0 to:
  redfin/overlay/packages/apps/NoCutoutOverlay/Android.bp
  vibrator/drv2624/bench/Android.bp
  vibrator/drv2624/tests/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I6be36c525cd8e9f4ed6b60044e17bbad0bbe1951
2021-03-19 05:04:55 -07:00
Bob Badour bb42f9bd5f [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin am: 488ea9bd19 am: 508a78ac8c am: 717201ec76
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1636264

Change-Id: If43e9254debe8ea0a0899a73334b674b1c07689d
2021-03-17 16:16:05 +00:00
Bob Badour 717201ec76 [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin am: 488ea9bd19 am: 508a78ac8c
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1636264

Change-Id: Ia45659397c94b7d91aee70b5ca4dfbcdc6db63f1
2021-03-16 06:08:18 +00:00
Bob Badour 508a78ac8c [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin am: 488ea9bd19
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1636264

Change-Id: Ib13a7985fa501bfe58ad1a8009daf27342ec1d88
2021-03-16 05:28:18 +00:00
Bob Badour 488ea9bd19 [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin
Added SPDX-license-identifier-Apache-2.0 to:
  dumpstate/Android.mk
  redfin/overlay_packages/SettingsOverlayG5NZ6/Android.bp
  redfin/overlay_packages/SettingsOverlayGD1YQ/Android.bp
  redfin/overlay_packages/SettingsOverlayGTT9Q/Android.bp
  self-extractors/qcom/staging/Android.mk
  usb/Android.bp
  vibrator/Android.bp
  vibrator/drv2624/Android.bp
  vibrator/drv2624/bench/Android.bp
  vibrator/drv2624/tests/Android.bp
  voice_processing/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: If6b087ffcf27d490da0d1e5c64dc74e524469336
2021-03-15 09:37:27 -07:00
Bob Badour ec6f90ee58 [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin am: 5cbf8e687b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13848445

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2fc3247dec36f7b7dfed6634d9df22f7f3cda132
2021-03-12 18:38:05 +00:00
Bob Badour 5cbf8e687b [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin
Added SPDX-license-identifier-Apache-2.0 to:
  dumpstate/Android.mk
  redfin/overlay_packages/SettingsOverlayG5NZ6/Android.bp
  redfin/overlay_packages/SettingsOverlayGD1YQ/Android.bp
  redfin/overlay_packages/SettingsOverlayGTT9Q/Android.bp
  self-extractors/qcom/staging/Android.mk
  usb/Android.bp
  vibrator/Android.bp
  vibrator/drv2624/Android.bp
  vibrator/drv2624/bench/Android.bp
  vibrator/drv2624/tests/Android.bp
  voice_processing/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I192bb56f5e770950bebf7f91e430d4cff3a0a73b
2021-03-11 18:59:02 -08:00
Bob Badour 514462a663 [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin
Added SPDX-license-identifier-Apache-2.0 to:
  dumpstate/Android.mk
  self-extractors/qcom/staging/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Ic5c7d12b921e0fa7e2fb95dfb74deda88ee2a189
2021-03-11 10:15:05 -08:00
Vincent Tew 723fe1f7d4 Merge "audio: update speaker firmware and tuning." into rvc-qpr-dev am: 1dc727a4b8 am: f300bd48dd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13693469

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If7a8f23ca20fbb5a912ffb468f90e7f52201d169
2021-03-05 07:49:48 +00:00
Vincent Tew f300bd48dd Merge "audio: update speaker firmware and tuning." into rvc-qpr-dev am: 1dc727a4b8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13693469

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib8923defd1f851bd36fec8e3786f5556efa4cd9b
2021-03-05 07:22:54 +00:00
Vincent Tew 1dc727a4b8 Merge "audio: update speaker firmware and tuning." into rvc-qpr-dev 2021-03-05 06:28:01 +00:00
Xin Li bf6152d188 [automerger skipped] Merge RQ2A.210305.007 am: 36e0542432 -s ours am: 93ba63b00d -s ours am: 8297a9349b -s ours
am skip reason: Change-Id I842b086c42c94450a7b9f903fcb163430f0826eb with SHA-1 43670af5aa is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iea5c7d390d557dd533738ad7e0e5406f4fbda0a8
2021-03-04 00:12:14 +00:00
Xin Li 8297a9349b [automerger skipped] Merge RQ2A.210305.007 am: 36e0542432 -s ours am: 93ba63b00d -s ours
am skip reason: Change-Id I842b086c42c94450a7b9f903fcb163430f0826eb with SHA-1 43670af5aa is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icf9ac579dc9cb180439fd1261f5f54207f2555ed
2021-03-03 23:37:15 +00:00
Xin Li 93ba63b00d [automerger skipped] Merge RQ2A.210305.007 am: 36e0542432 -s ours
am skip reason: Change-Id I842b086c42c94450a7b9f903fcb163430f0826eb with SHA-1 43670af5aa is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I85a359fcfd877ccc84040ae54a30b74b554fdf3b
2021-03-03 22:29:24 +00:00
Xin Li 36e0542432 Merge RQ2A.210305.007
Bug: 180401296
Merged-In: I842b086c42c94450a7b9f903fcb163430f0826eb
Change-Id: Id59c0b97234edeb2c1bdb80b0a4f9cbec1248673
2021-03-03 09:12:06 -08:00
Joe Huang 970a59a1a8 Temporarily disable ANT_INFO am: b31cd78e36 am: ae32e87678
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13636793

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I00c8328d066254b9079bec9e1c3a719bf510bdd1
2021-03-03 10:09:02 +00:00
Joe Huang ae32e87678 Temporarily disable ANT_INFO am: b31cd78e36
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13636793

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I165bc02cf42fa6c06f6a0cbf4b7e2314a549671e
2021-03-03 08:33:42 +00:00
Xin Li c25abcf88b [automerger skipped] Merge RQ2A.210305.007 into stage. am: 43670af5aa -s ours am: e46f969ccf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/13724596

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8844d8ba635fa30cc4c85be04883fd4eed2e9ffa
2021-03-02 19:52:36 +00:00
Xin Li e46f969ccf [automerger skipped] Merge RQ2A.210305.007 into stage. am: 43670af5aa -s ours
am skip reason: skipped by user delphij

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia6e5bedebd14a314242e32a615bdd809d328d27a
2021-03-02 18:44:22 +00:00
Xin Li 5db198ac96 [automerger skipped] DO NOT MERGE - Mark RQ2A.210105.001 as merged. am: f012ab0335 -s ours am: eb96a6c09d -s ours
am skip reason: subject contains skip directive

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I794e20a3680c6316020f3972b53138b724733f1c
2021-03-01 10:14:42 +00:00
Xin Li eb96a6c09d [automerger skipped] DO NOT MERGE - Mark RQ2A.210105.001 as merged. am: f012ab0335 -s ours
am skip reason: Change-Id Idb497e120c35202fe7ff3bde0dda12b2b816dfc7 with SHA-1 90add233cf is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9e664b290cd588cc285208b4e9481ca2a29018fd
2021-03-01 09:26:55 +00:00
Xin Li 43670af5aa Merge RQ2A.210305.007 into stage.
Bug: 180401296
Merged-In: I317fe33f918f5a560d9ff890d552b63267b414f9
Change-Id: I842b086c42c94450a7b9f903fcb163430f0826eb
2021-03-01 01:02:43 -08:00
Xin Li f012ab0335 DO NOT MERGE - Mark RQ2A.210105.001 as merged.
Bug: 180401296
Merged-In: Idb497e120c35202fe7ff3bde0dda12b2b816dfc7
Change-Id: I5b20f1c874dce5e2f1e53f322f68753db91e589f
2021-03-01 00:43:15 -08:00
juyuchen cf2ac10bb9 audio: update speaker firmware and tuning.
Bug: 174637337
Test: manual audio tests

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I65ad4a6e15053fc20d0f6786827a3c5fdec3b447
2021-02-25 06:34:41 +00:00
Vince Leung ec2fade1ea Merge "Add APIs to get resonant frequency and Q factor" into sc-dev 2021-02-22 18:35:06 +00:00
Joe Huang b31cd78e36 Temporarily disable ANT_INFO
Bug: 179919150
Test: run vts -m VtsHalGnssV2_1TargetTest
Change-Id: I76b6242c0445387ed6baad4e82543515e9b635a4
2021-02-22 10:54:27 +08:00
Xin Li 025dc386bb [automerger skipped] Merge ab/7061308 into stage. am: 90add233cf -s ours am: 535a83e327 -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/+/13644981

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9beca42f3ce5682d6f7453588104d2cc9436e5f8
2021-02-22 01:55:56 +00:00
Xin Li 535a83e327 [automerger skipped] Merge ab/7061308 into stage. am: 90add233cf -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/+/13644981

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia7f3137a69d77c2948f518d734f44c371bfacbb3
2021-02-22 00:55:57 +00:00
Xin Li 90add233cf Merge ab/7061308 into stage.
Bug: 180401296
Merged-In: I98bc019b3729f08421c7d52ceb837d5f64d6f8ac
Change-Id: Idb497e120c35202fe7ff3bde0dda12b2b816dfc7
2021-02-21 09:24:46 -08:00
Mikhail Naganov 8c48468782 Merge "Switch audio HAL to V7" into sc-dev 2021-02-18 16:57:43 +00:00
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
David Anderson e52fd5337b Enable VABC on a per-device basis.
Bug: 180253982
Test: VABC enabled on redfin, bramble
      VABC disabled on barbet
Change-Id: I482fc2d2667ae96b50b3969867b27053b45af893
2021-02-16 12:19:12 -08:00
Vince Leung 800e73d52d Add APIs to get resonant frequency and Q factor
Actuators can have resonant frequency and Q factor information.
Exposing this information can allow for better optimized audio
generated haptics.

Bug: 178826612
Test: m
Change-Id: I1953d90a7c27ac64644a0b3d9c4e4fae5778dee4
2021-02-11 21:29:02 +00: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
android-build-team Robot c722c20489 Merge cherrypicks of [13350919, 13351137, 13351103, 13350944, 13351985, 13351986, 13351113, 13351104] into rvc-qpr2-release
Change-Id: I20ae1a9402c947ecccca6fa511064cf932a66197
2021-01-14 23:04:02 +00:00
raylinhsu 2623109165 DO NOT MERGE Revert "Set brightness threshold for high brightness"
This reverts commit 2a76dcd035

Bug: 176018998
Change-Id: I4fd7bd16f50d14e213488e1c764fe78a542e32da
(cherry picked from commit 2216abaaa6)
2021-01-14 23:01:50 +00:00