Commit Graph

164 Commits

Author SHA1 Message Date
Michael Bestas
8123a16014 redfin: Cleanup dead targets
Enable EPPE while we are at it.

Change-Id: I5f94d5f1cd00a4bf2907b0063bd997abad2b39df
2024-04-04 16:44:44 +03:00
Michael Bestas
1df01c1fdd Merge tag 'android-14.0.0_r29' into staging/lineage-21_merge-android-14.0.0_r29
Android 14.0.0 release 29

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWwgAKCRDorT+BmrEO
# eNE9AJ436si4iGfuXraq4i9WmLWWNa6Q4gCgjhDz+mf+NpY25sntQxSTVhlr4+o=
# =0XyA
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar  5 01:18:26 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2395 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Roshan Pius (5) and others
# Via Automerger Merge Worker (97) and others
* tag 'android-14.0.0_r29':
  Revert^2 "redfin(nfc): Modify NFC overlays for NFC apex"
  Revert^2 "redfin(nfc): Modify NFC overlays for NFC apex"
  Remove unused Android.mk under device/google/redfin
  WLC: update AIDL manifest version to 1-2
  Revert "WLC: update AIDL manifest version to 2"
  WLC: update AIDL manifest version to 2
  Revert "redfin(nfc): Modify NFC overlays for NFC apex"
  Revert "redfin(nfc): Modify NFC overlays for NFC apex"
  Fix lunch choices for git_main
  Fix lunch choices for git_main
  redfin(nfc): Modify NFC overlays for NFC apex
  Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
  usb: upgrade stats AIDL to v2
  device FCM -= android.*
  Add hardware/qcom/wlan namespace

 Conflicts:
	AndroidProducts.mk
	redfin/BoardConfig.mk

Change-Id: Ie3cf1f67798757f4d6316141b6baf69e4b86ebb2
2024-03-10 09:52:12 +02:00
Roshan Pius
0bb31c7af7 Revert^2 "redfin(nfc): Modify NFC overlays for NFC apex"
3c2aa5f3a2

Bug: 303286040
Test: Compiles

Change-Id: Ic565eeda1ec928e59be8a3a2c406ab799ef879a0
2023-12-04 13:52:10 -08:00
Roshan Pius
3c2aa5f3a2 Revert "redfin(nfc): Modify NFC overlays for NFC apex"
Revert submission 2802548-nfc_apex

Reason for revert: Causing bootloop with signed builds

Reverted changes: /q/submissionid:2802548-nfc_apex

Bug: 309117462
Test: Compiles, device boots up
(cherry picked from https://android-review.googlesource.com/q/commit:af4a9967146824b1194f536ddb417b5f783806d7)
Merged-In: Icb67edebd8c0579cd015fe8a8956ae45426002ae
Change-Id: Icb67edebd8c0579cd015fe8a8956ae45426002ae
2023-11-04 19:05:11 +00:00
Roshan Pius
e3ab1a70e6 redfin(nfc): Modify NFC overlays for NFC apex
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: I8c995bcd3d0dd18ce6531f627d785f18abc81150
2023-10-25 14:15:36 -07:00
Alessandro Astone
27a971a02f redfin: Disable virtual AB compression
* Breaks backuptool

Change-Id: I936b8e0eb94cdeec27a19ab5d0440bbccc548ae1
2023-10-18 00:39:42 +03:00
Rashed Abdel-Tawab
c9d3722c59 redfin: Set up proprietary files extraction
* Blobs that can be built from source code are built from source.
* The proprietary files lists are generated by comparing stock partition
  contents with AOSP generated partitions.

Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Co-authored-by: Chirayu Desai <chirayudesai1@gmail.com>
Co-authored-by: Christopher N. Hesse <raymanfx@gmail.com>
Co-authored-by: Dan Pasanen <dan.pasanen@gmail.com>
Co-authored-by: Eamon Powell <eamonpowell@outlook.com>
Co-authored-by: Josh Chasky <jchasky@gmail.com>
Co-authored-by: "Josh Fox (XlxFoXxlX)" <joshfox87@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Co-authored-by: Rashed Abdel-Tawab <rashed@linux.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Change-Id: I17f79b417a8f0d022bec9c6b5f37d03b842d43e1
2023-10-18 00:39:41 +03:00
Ethan Chen
c8be1c15a4 redfin: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2023-10-10 16:08:00 +03:00
Alessandro Astone
973bba3484 redfin: Remove prebuilt kernel logic
Change-Id: I97ba038b22f1e54493045c824397b429e9225a01
2023-10-10 16:08:00 +03:00
Jooyung Han
fee5d3a004 Add hardware/qcom/wlan namespace
With libwifi-hal-qcom migrated to Android.bp with soong namespace
the namespace should be added to PRODUCT_SOONG_NAMESPACES as well.

Bug: 273376293
Test: m droid
Merged-In: I40b1fc997e8ad283f6ba0a024cb2110912c46034
Change-Id: I40b1fc997e8ad283f6ba0a024cb2110912c46034
2023-04-11 13:25:42 +09:00
Krzysztof Kosiński
f180675fc4 Add prebuilt protobuf 3.9.1 to vendor partition.
Needed to work around a Qualcomm HAL prebuilt.

Bug: 203713560
Bug: 258322017
Bug: 258589373
Bug: 258632688
Test: Forrest
Change-Id: I8ebc9fdfcf6f73ae4551acb1b082c26cb983e392
2022-11-11 00:25:27 +00:00
Badhri Jagan Sridharan
adf8916745 Migrate IUsb implementation to AIDL
This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Port of 3c97a6bb68f6418ee41026f3bd0024405c97cf0c

Bug: 200993386
Change-Id: I681c1ba9c4f547e3cf5dc0fa7c9ee1aaf4fd603c
2022-05-09 21:51:05 -07:00
Muhammad Qureshi
85a3efe568 Revert "Migrate IUsb implementation to AIDL"
Revert submission 16765902-IUSB_redfin

Reason for revert: DeviceBootTest failure - b/217606853
Reverted Changes:
I681c1ba9c:Migrate IUsb implementation to AIDL
Ia8c246102:android.hardware.usb.IUsb AIDL migration

Change-Id: Iab92acf73b2a26e10643d258be6d62c2f4bffa51
2022-02-03 00:29:25 +00:00
Badhri Jagan Sridharan
c0136b8163 Migrate IUsb implementation to AIDL
This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Port of 3c97a6bb68f6418ee41026f3bd0024405c97cf0c

Bug: 200993386
Change-Id: I681c1ba9c4f547e3cf5dc0fa7c9ee1aaf4fd603c
2022-02-01 07:51:21 +00:00
Kelvin Zhang
fc833da78d Enable go/vabc-xor on redfin/bramble
vabc-xor is a new feature we are developing, which will reduce space
requirements for OTA by ~30%. This feature has been tested extensively
on
cuttlefish(https://atp.googleplex.com/tests/asit/ota/incremental_mixed?tabId=test_run&trigger=BUILD).
We are now ready to enable it on pixel devices.

Test: th
Bug: 177104308

Change-Id: I8cd1d724259d26f3f90f27c65c13c4d8e60fe3b1
2021-09-29 10:45:37 -07:00
Hajime Morrita
f2b11c8724 Stop including iorap_large_memory_config.mk
Test: Presubmit.
Bug: 195415601
Change-Id: Ic49fcadb8bb33db262295a8b11eaca9c59362ae7
2021-08-04 10:45:40 -07:00
Sasha Smundak
9578a2bbc4 Replace shell invocation of find with wildcard expansion. am: ff64e3e0ff am: 8a1897f5b9 am: 22752c9b84 am: ca2a026c36
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1665022

Change-Id: I6918671515dddeaa998e523d285efd2757db58b6
2021-06-03 18:44:41 +00:00
Sasha Smundak
22752c9b84 Replace shell invocation of find with wildcard expansion. am: ff64e3e0ff am: 8a1897f5b9
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1665022

Change-Id: I0953b1a89aaa7e5fe2a032f95f8267c37880720d
2021-06-03 17:58:41 +00:00
Sasha Smundak
ff64e3e0ff Replace shell invocation of find with wildcard expansion.
Shell function is undesirable. Here it is used to call `find`,
but all the files we are looking for are in a single directory,
so it can be replaced with wildcard expansion.

Test: treehugger
Bug: 181797530
Change-Id: I193353b5c131fffff550e5dfa5102486dac921c5
2021-06-03 08:57:52 -07:00
Adlai Holler
86c9726126 Remove redundant device property setting for reduceOpsTaskSplitting
This feature has been flipped to on for everyone,
no need to have device-specific settings.

This reverts commit daf9469deb.

Bug: 183612348
Change-Id: I884e7285da510089dbbe378690ee530643adf820
2021-05-19 14:33:03 +00: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
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
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
Adlai Holler
daf9469deb Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: Iefde4a449f78c2298190d1a0a2d059788ed27bb2
2021-03-30 15:24:17 +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
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
b31cd78e36 Temporarily disable ANT_INFO
Bug: 179919150
Test: run vts -m VtsHalGnssV2_1TargetTest
Change-Id: I76b6242c0445387ed6baad4e82543515e9b635a4
2021-02-22 10:54:27 +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
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
Fiona Campbell
0f51a6b7c1 Revert "Add display config file for redfin."
This reverts commit 94793dcf22.

Reason for revert: b/174824024

Change-Id: Ia91840865aea6801bffe8bbf65f1465a87aa0f81
2020-12-07 16:04:27 +00:00
Santos Cordon
94793dcf22 Add display config file for redfin.
Test: Check config is loaded in logs, test brightness.
Bug: 174757213
Change-Id: If64238103a2087d269daa7d5208386ed952ba65d
2020-12-03 17:28:57 +00:00
shawnlin
7e7c744ece Add & update the configs for hide display cutout(Redfin)
Bug: 157388722
Test: make
Change-Id: Ibcaa9dd5c8b382c2347691581ed05b3f1ab75c81
2020-11-25 13:26:54 +08:00
TreeHugger Robot
31c936d43f Merge "audio: only include the crus_sp_cal into debug build." 2020-11-05 10:33:34 +00:00
Robin Peng
fb8c46e672 Use combined kernel prebuilt device/google/redbull-kernel for bramble/redfin am: dcc576388d am: 5b30369e91
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/12974401

Change-Id: I4070875165c2dddc08e820129ee15617207b5403
2020-11-05 01:31:16 +00:00
juyuchen
a63a3900ce audio: only include the crus_sp_cal into debug build.
Bug: 169376738
Test: manual audio tests.

Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: Idd0e8c00b8ba29a58d803afdd4223ca2b4dfb303
2020-11-04 20:09:09 +08:00
Robin Peng
dcc576388d Use combined kernel prebuilt device/google/redbull-kernel for bramble/redfin
Bug: 162558931
Change-Id: I8ab5692aa6e7b780cda9b61d12a621a8beb89365
2020-11-03 16:38:59 +08:00
Chenxi Ni
ddb20ff45b Change system property of Redfin to place keyboard 10 dp higher
Bug: 155500905
Change-Id: I3c8eb1291bdf9ad5beb55fc586c43e059a374266
(cherry picked from commit 5bdc6eaea3)
2020-10-05 17:26:32 +00:00
Chenxi Ni
5bdc6eaea3 Change system property of Redfin to place keyboard 10 dp higher
Change-Id: I3c8eb1291bdf9ad5beb55fc586c43e059a374266
2020-09-16 05:40:32 +00:00
TeYuan Wang
1006bbf009 thermal: move thermal control property to HAL
Bug: 167405442
Test: Switch thermal property and confirm throttling behavior can be
      turned on/off.
Change-Id: I357c64e892d2eb94f39e6671d3f4153d789ba006
2020-09-08 12:39:21 +00:00
Yanting Yang
3298fa32a3 Add regulation e-label for US SKU of Redfin
Add US SKU (GD1YQ) regulation e-label.

Bug: 150906311
Test: visual
Change-Id: I73fb31a8ffd57245bceefc2dbf39bb7d22354be3
2020-07-16 18:30:19 +08:00
Yanting Yang
919ea02a2d Add regulation e-label for ROW SKU of Redfin
Add ROW SKU (GTT9Q) regulation e-label.

Bug: 150906311
Test: visual
Change-Id: Idb10919f750cd9e43c053019cf316eadc3f5425f
2020-07-16 16:56:45 +08:00
Midas Chien
10cebb86c3 Merge "redfin: enable idle timer with kernel support" into rvc-d1-dev 2020-07-08 04:24:10 +00:00
Midas Chien
e408bbf6d5 redfin: enable idle timer with kernel support
Enable display kernel driver idle timer, which allows dropping to lower
refresh rate earlier and without additional overhead.

Bug: 160682800
Test: track idle timer through systrace
Test: zone test, scrolling
Change-Id: I6e82b58026d7b31cf0cabc0db7bb6277f6731d12
2020-07-08 00:13:12 +08:00
Joe Huang
76bc9dade9 Include gnss_antenna_info.conf
Since R3 and B5 have different antenna patterns, separating this config.

Bug: 160089647

Test: Ensure ANTENNA_INFO is enabled and VTS is PASS
Change-Id: I862b1237053d075ef137f832a90c1bc870e1e341
2020-07-06 10:26:19 +00:00