Commit Graph

1980 Commits

Author SHA1 Message Date
Ray Chi
9d3491c96c redfin: usb: add state of usb extcon to monitorffs
Monitorffs needs to check the state of usb extcon to pull up
USB gadget. Therefore, this patch add state of usb extcon and
send this information to monitorffs.

Bug: 173086594
Test: verified pass
Change-Id: I29df29efcf55118241f0ca7072b034c1fb5a37f2
2021-04-23 14:53:44 +08:00
TreeHugger Robot
6f5388224f Merge "audio: Add hotword port for zero latency feature" into sc-dev 2021-04-23 05:54:12 +00:00
Bob Badour
6ebdb28192 [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin
Added SPDX-license-identifier-Apache-2.0 to:
  redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/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: I24055ae29f363a931851fb47abeaf6e0ea880e8a
2021-04-21 14:54:21 -07:00
Daniel Norman
3b3f24621f Adapt to rename of the redfin R-vendor-based FCM.
Bug: 184545288
Change-Id: Ic722dbbaf4ee7cd63d9d8291badce38150a76095
2021-04-19 16:04:47 +00:00
yixuanjiang
98bd77c04c audio: Add hotword port for zero latency feature
Bug: 184006297
Test: local test
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I05fe6e7b8df12dbe4145d168374a8efd2aced753
2021-04-15 20:03:43 +08:00
Daniel Norman
ded4517e3a Defines two separate product FCMs for redfin VF: R vendor and S vendor.
Both are device manifest level=5, but the R vendor and S vendor provide
a slightly different set of HALs.

Bug: 184545288
Test: Include the R FCM on a system-only build merged with an R-based
      vendor, merge & boot
Test: Likewise, for S FCM and S-based vendor.
Change-Id: I5658dc4a9d989e38c7fa05337c37457598368aa2
2021-04-13 13:12:40 -07:00
Daniel Norman
e046f308d6 Revert^2 "Moves the redfin FCM back down to level 5."
Also marks the wireless_charger HAL as optional,
which is not present on the AOSP version of this device.

2475fdaade

Change-Id: I87c6fe0e58056c0bd13ede66c66f3437a5ee0964
2021-04-13 10:28:54 -07:00
Jaegeuk Kim
4534472bb9 Merge "Dumpstate: f2fs: remove verbose segment_info" into sc-dev 2021-04-13 16:33:23 +00:00
Greg Kaiser
b7ab45423f Merge "Revert "Moves the redfin FCM back down to level 5."" into sc-dev 2021-04-12 22:58:46 +00:00
Greg Kaiser
2475fdaade Revert "Moves the redfin FCM back down to level 5."
Revert submission 14143327-redbull-fcm-level5-fix

Reason for revert: Build break, b/185169721
Reverted Changes:
Ie25de43fe:Moves the redfin FCM back down to level 5.
I83d3fcf54:Moves the redbull FCM back down to level 5.
Ib898e3c3f:Sets PRODUCT_VENDOR_FREEZE_SYSTEM_BUILD to true.

Bug: 185169721
Change-Id: Ide48fa70fec55d3c97f8f37f4cc67563f5e8d312
2021-04-12 22:49:40 +00:00
TreeHugger Robot
d8f19c631d Merge "Moves the redfin FCM back down to level 5." into sc-dev 2021-04-12 20:37:51 +00:00
shawnlin
f7c3b5a92f Add the original style of hide cutout back(redfine)
- Add the orginal style of hide cutout back
- Rename the new style of hide cutout to "Hide (avoid apps in cutout
  region)"

Bug: 180068688
Test: make
Change-Id: I2fbef5ddd0201ade8a282cc499d4d90b39d9c9b9
2021-04-12 13:41:47 +08:00
Daniel Norman
ff3cdc618e Moves the redfin FCM back down to level 5.
redfin's manifest.target-level will stay at 5 even as the vendor is
updated, so this FCM shouldn't have been moved to level=6.

This change includes conditional logic to exclude the S-based level=5
FCM from the build when creating a Vendor-Freeze-compatible system-only
build.
This allows VF system builds to specify their own level=5 redfin FCM
(compatible with the older frozen R vendor) that differs from this
level=5 FCM (which is compatible with S vendor).

Bug: 184976701
Test: build redfin-userdebug and redfin_vf_r-userdebug in Forrest.
      Observe check_vintf logs.
Change-Id: Ie25de43fec6fbf0714740a5b7803dd60fd164d41
2021-04-09 21:54:20 +00:00
Jaegeuk Kim
087277bf70 Dumpstate: f2fs: remove verbose segment_info
Let's remove segment_info which seems not useful.

Bug: 184964835
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ib9826f536681d9f36f9d55dab3801a05c47f27a4
2021-04-09 12:27:12 -07:00
Bob Badour
52df75ccbd [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin
Added SPDX-license-identifier-Apache-2.0 to:
  vf/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: I3866a4e25b4e6196d8960b33e3b73ed42abbded3
2021-04-07 07:31:48 -07:00
Daniel Norman
7c093c13dc Creates a complete product FCM with level=5 for redfin VF with R vendor.
Every HAL in this FCM is marked as required.

Bug: 183507590
Test: m redfin_vf, merge with R vendor half
Change-Id: I7959b136ffa936de1e089f9e285d863ddfc47a94
2021-04-06 09:44:56 -07:00
Daniel Norman
f98ea3001c Uses Android.bp vintf_compatibility_matrix for redfin product FCM.
This change also includes the following FCM cleanups:
- Adds level="6", specifying that this product FCM is compatible with an
  S vendor image. This is similar to the framework FCM.
- Marks the HAL as required. This is possible now that the redfin_vf
  target includes an additional product FCM specific to level="5" (R).

Bug: 183507590
Test: m redfin
Test: m redfin_vf, merge with R vendor half
Change-Id: I1b9bbd9b4a723d2479023d1025ef22905e1bc9a1
2021-04-06 09:44:42 -07:00
TreeHugger Robot
cedd77cc9b Merge "use vintf_fragments instead of adding it to device-specific manifests" into sc-dev 2021-04-06 08:57:52 +00:00
Albert Wang
3b27d88072 Merge "Revert "Add USB Gadget HAL 1.2 support"" into sc-dev 2021-03-31 15:01:51 +00:00
Beverly Tai
df65a9d3a4 Merge "Update overlay to selectively register prox on AOD" into sc-dev 2021-03-31 14:23:07 +00:00
yihsiangpeng
f97c99c344 use vintf_fragments instead of adding it to device-specific manifests
Bug: 183536544
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I433aaeed7dce96e33f1a4b466039b8d9614a1b18
2021-03-31 06:34:18 +00:00
Albert Wang
b1d92d06b7 Revert "Add USB Gadget HAL 1.2 support"
This reverts commit a36726f4fd.

Bug: 181938674
Test: USB gadget function switch normally
Change-Id: I717237a671ee62ef67b96254d15593ce4694e01d
2021-03-31 10:11:34 +08:00
Josh Tsuji
9f29ce8cc5 Merge "Add physical button/sensor locations for redfin." into sc-dev 2021-03-30 23:19:32 +00:00
Josh Tsuji
2e1ac2bf27 Add physical button/sensor locations for redfin.
Bug: 181020504
Change-Id: I46e26422692b288b54a5c2b45ccdd724dcb23f9b
Test: these were physically measured on device
2021-03-30 17:08:46 +00:00
Beverly
5bb701c910 Update overlay to selectively register prox on AOD
To avoid flashing white prox sensor on transition to AOD before device
is in the AOD display state.

Test: manual
Bug: 181835575
Change-Id: I6d613571a184416731b2d3dda7e776198cf88366
2021-03-30 15:27:26 +00:00
Adlai Holler
daf9469deb Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: Iefde4a449f78c2298190d1a0a2d059788ed27bb2
2021-03-30 15:24:17 +00:00
Vince Leung
9bf4215108 vibrator: implement chirp APIs
Implement the chirp APIs and necessary helper methods. This capability
is not supported on drv2624 so we return EX_UNSUPPORTED_OPERATION.

Bug: 162859057
Test: m
Change-Id: Ibcf28b10f9313d94379103cafcf0400afc7b33b4
2021-03-24 06:20:43 +00:00
Albert Wang
bbf4ad2474 Merge changes from topic "R3-S-Feature" into sc-dev
* changes:
  Update USB HAL to V1.3 implementation
  Add USB Gadget HAL 1.2 support
2021-03-24 05:32:51 +00:00
Albert Wang
846d053446 Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I85cf5282e487c1695a4cedad00b7fede2c3ad1f8
2021-03-24 09:24:07 +08:00
Daniel Norman
16a36993e3 Adds IWirelessCharger 1.2 to the Vendor Freeze redfin framework matrix.
This change also marks 1.3 as optional.
Older redfin vendor images only provide 1.2.

Bug: 183502398
Test: build & boot redfin VF with R vendor and S system
Change-Id: I236e961ad9c40ddc5bb30259d56429a56950d345
2021-03-23 09:22:22 -07:00
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