Commit graph

210 commits

Author SHA1 Message Date
Ankit Goyal
9887f8fa51 Deprecate allocator 4.0 in favor of AIDL V1 am: efd8e19d57 am: 0fd883822f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18565708

Change-Id: I02307d5e1211dc00c8c09d92b9c8a37434dc1776
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-24 22:34:52 +00:00
Ankit Goyal
efd8e19d57 Deprecate allocator 4.0 in favor of AIDL V1
Bug: 220910504
Bug: 228405226
Test: go/allocator4-deprecate
Change-Id: Iecb0517f1abddcf0c7f289c716552154141c7eeb
2022-05-24 21:42:02 +00:00
Jaegeuk Kim
dda5613131 Revert "use erofs for RO partitions" am: 0c024a7f2b am: 90d186c96f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18494501

Change-Id: I54c69ef89c2d65897e1bc7fd137fc6300ee39cc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 23:02:15 +00:00
Jaegeuk Kim
0c024a7f2b Revert "use erofs for RO partitions"
This reverts commit 554e90c439.

It turned out EROFS has app-launch time regression.

FS			Total image	App-launch	OTA size (MB)
			    size (MB)	    Time (AVG)
ext4			4040 (0%)	403.77		2252
erofs (compression)	2754 (-32%)	540.98 (+34%)	2528 (+12%)
erofs (no-compression)	4126 (+2%)	476.23 (+18%)	2277 (+1%)

Bug: 231934752
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I33f68a426ff655a9282fec66c0fa54215954aa45
Merged-In: I33f68a426ff655a9282fec66c0fa54215954aa45
2022-05-23 21:00:19 +00:00
neoyu
54ce5502e3 Enable SET_SCREEN_STATE request for P22 am: e8d28c6c1c am: 5bdb1c7001
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18482956

Change-Id: I90a98f9765b3b9c317fffad0bf3ca320c8f17a20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 06:56:21 +00:00
neoyu
e8d28c6c1c Enable SET_SCREEN_STATE request for P22
Modem of P22 supports this request

Bug: 233335646
Test: manual
Change-Id: If0478657684f65d84134eb54d9a0504d5ca0d166
2022-05-23 06:20:11 +00:00
Jiakai Zhang
8a5a00e0c3 Preopt SystemUI for AOSP builds.
Bug: 232860596
Change-Id: Id00362b2dfaa7e0e4ba868988c19d215b26216ba
Test: See no dex2oat invocation on the first boot.
2022-05-20 14:04:08 +00:00
Aaron Tsai
b68ed0fd1e Enable Early Send Device Info for C10/P10 am: 354bade9b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18134645

Change-Id: I25a08ac9f5dba7e22c05b067dcfacd2cc3f42210
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 12:18:45 +00:00
Aaron Tsai
354bade9b6 Enable Early Send Device Info for C10/P10
This is for supporting Softbank requirement OTR-CORE_GEN-000305,
  UE shall delete the GUTI when performing software update.

Bug: 229207853
Test: manual test
Change-Id: I613ed05ad808c166368f67f7c3c9335c59be04b2
2022-05-20 01:38:42 +00:00
Alice Kuo
c39b1444cf For BR/EDR/LE device, set CoD bit 14 as LE audio feature is supported am: 94b6030c5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18335694

Change-Id: Ia2623e80f9eb0ec18c557116f69faf1846da924b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:01:30 +00:00
Alice Kuo
94b6030c5a For BR/EDR/LE device, set CoD bit 14 as LE audio feature is supported
1. Fix PTS BAP/BA/DEBD/BV-01-C
2. Follow BAP specification

Bug: 230340013
Test: Pair with the other phone, check the CoD bit in EIR
Change-Id: Icc4466ab8d52e2ed373b8c40488497f673d89936
2022-05-12 15:55:10 +00:00
Jiakai Zhang
12ac729cf5 Add a system property for System UI compiler filter.
Bug: 227310505

Change-Id: If7aa82fcfe85b8d385e2c8fc9207660a88efa1d3
Test: m
2022-05-12 14:16:39 +00:00
Kyle Lin
4e8b1725fa device.mk: preopt SystemUI
Bug: 230438662
Test: build, boot and check the size, format
Change-Id: Ic9bfba1488b6fd18c97a59580cbcf63cebc36cae
2022-05-10 05:51:26 +00:00
Jinting Lin
a4bc896a39 Add pixel stability logging mask am: 562b9dc324
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18195523

Change-Id: I2f87dfa80bd8be517b0fe722df3326a7cd7966e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 07:58:42 +00:00
Jinting Lin
562b9dc324 Add pixel stability logging mask
Bug: 228938584
Change-Id: Id709847fbd4a3fc2db6ff9d50e466f29a1c468bb
2022-05-09 03:35:59 +00:00
Alex Hong
dada1289b4 Upgrade PRODUCT_SHIPPING_API_LEVEL to 33
Bug: 207076973
Change-Id: I39b6f08230391614dabc11f8536d196ecfc13473
2022-05-09 02:36:32 +00:00
Taehwan Kim
98c191deb1 modify device.mk for exposing supported pool type
default : ION(1 << 16) | BUFFERQUEUE(1 << 18)
add : GRALLOC(1 << 17)

Bug: 227283773
Test: CtsMediaV2TestCases
Change-Id: Iab38bc7818e95c032552ed9bf79d68b50f8eadcd
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
2022-05-05 09:44:54 +00:00
Sal Savage
1774db0af6 Set default the Bluetooth class of device am: 4a4cb90798
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17948324

Change-Id: I3a107775b92d2778f62a38cad45b705b54ac9c79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 17:01:21 +00:00
Yichi Chen
af78f3bcc0 SF: set debug.sf.layer_caching_active_layer_timeout_ms to 1000 am: ebec6a203c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18081062

Change-Id: I5d4eb3d3388251b271a7648b2122bc49188cb30b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 16:52:09 +00:00
Alec Mouri
04aed43e10 Force some devices to treat 170M as sRGB in SF am: 4291e02212
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17947314

Change-Id: I1d52222a543cb0747dc5a45413887cc34e640994
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 16:50:48 +00:00
Sal Savage
4a4cb90798 Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Change-Id: I3f5bb98159ee5c3f01ba51d7064e262aa9da457f
2022-04-29 02:04:11 +00:00
Sal Savage
69db4a819c Use the ?= operator so BT properties can be overridden am: 365111bf97
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17992342

Change-Id: I3e4e3cd26cd9c06e0dce693daaa0d93d24ecf44f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 22:44:01 +00:00
Yichi Chen
ebec6a203c SF: set debug.sf.layer_caching_active_layer_timeout_ms to 1000
Avoid SF cache thrashing in some cases.

Bug: 189928400
Bug: 226447218
Test: no flicking issue with the testbuld (removed displaycolor fix)
      and flicking happens after set the prop to 0
Change-Id: I24aa79001ec21cff18ae5ac8ff988f70ed121061
2022-04-29 05:09:13 +08:00
Alec Mouri
4291e02212 Force some devices to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: If144724a342be4a74f823aa25ff8a74fe3d2843a
2022-04-28 20:37:45 +00:00
Sal Savage
365111bf97 Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: I0e33816b9d2572d26ddd2ee8b623e0c1733accd0
2022-04-28 19:45:14 +00:00
Aman Gupta
ed33288740 Enabling MEP feature for P10/C10 device. am: b8f826bf65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17963175

Change-Id: I9b26645e550a5be92d6d777bb79ef98d2d5d2811
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 22:09:03 +00:00
Aman Gupta
b8f826bf65 Enabling MEP feature for P10/C10 device.
Test: build
Bug: 216823287
Change-Id: I73851779950b7da35d2f23b01480440d780e2eca
2022-04-27 21:50:33 +00:00
Sal Savage
0ac56396a0 Update LE Audio profile properties to match spec and implementation am: 2d14aaae21
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17694252

Change-Id: I1bed843528e90fe0153b2c73aec2d117c982c86b
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 22:42:33 +00:00
Sal Savage
2d14aaae21 Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I27cecf0b6f4d56b36d82af6ffcd827653e32cff8
2022-04-22 22:06:39 +00:00
TeYuan Wang
51bffd2371 thermal: Apply thermalhal PID 2.0
Bug: 196478280
Test: build
Change-Id: I59efbf09ee9a8584f0083db9f15924470f253479
2022-04-20 15:37:48 +00:00
Jimmy Shiu
8187c419db ADPF: deprecate the reporting rate from property am: d9b7c62fd1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17005136

Change-Id: Ic53c9e440ebcb9cd0d4cd1dbd32e4e18b6726d67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:07:46 +00:00
Jimmy Shiu
d9b7c62fd1 ADPF: deprecate the reporting rate from property
Use powerhint.json profile to define reporting rate.

Bug: 198379880
Test: build & manual test
Change-Id: Ia72845feac0b221034ab716240be2929dc449eac
2022-04-20 13:47:14 +00:00
Jinting Lin
9027bf829d Copy the pixel default logging mask to target folder am: 3d30f2e370
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17817321

Change-Id: I6dc69c9379bce62a7140e74b9480d27d672e3f6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 04:24:01 +00:00
Jinting Lin
3d30f2e370 Copy the pixel default logging mask to target folder
Bug: 214351205
Change-Id: I6a8890cb4a6af53f6906dfb4af23359c721883ce
2022-04-20 03:54:36 +00:00
Labib
c1755f56d8 Upgrade RadioExt HAL Version am: 13e063511a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/16939194

Change-Id: I8f3aec6259584b60437a54c04267ff4024b0631d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 01:50:58 +00:00
Labib
13e063511a Upgrade RadioExt HAL Version
Bug: 220493359
Test: Manual
Change-Id: I1703c9ae65e232a5268cb2d9900031402fb225ee
2022-04-20 01:27:03 +00:00
Paul Thomson
9408e6ee09 Update dEQP level to 2022 am: 9238919dcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17659667

Change-Id: I124d1e0da8ff36336b89c4f23f5d4ee5b3d35fcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 15:38:02 +00:00
Paul Thomson
9238919dcc Update dEQP level to 2022
Bug: b/228449928
Change-Id: I2ec7c9cadd858422b9e4e10324bc6a9621b24cc6
2022-04-19 15:37:13 +00:00
Alex Hong
cbc81c7f5b Upgrade android.hardware.dumpstate from HIDL 1.1 to AIDL 1
lshal is not supported for AIDL, now use dumpsys instead.
Update the debug command as below.
  Old: lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default [section]
  New: dumpsys android.hardware.dumpstate.IDumpstateDevice/default [section]

Currently dumpsys does not start the Lazy HAL service, only dumpstate does.
Because we need to run dumpsys for debugging, keep the dumpstate HAL running at boot.
Do not set it to be a lazy HAL.

Test: atest VtsHalDumpstateTargetTest pass
      adb shell dumpsys -t 30 android.hardware.dumpstate.IDumpstateDevice/default all
Bug: 223118410
Change-Id: I7f866a57c3eff8c9783fee89dce205cf9728c459
2022-04-15 17:00:31 +08:00
weichinweng
98d194bd7b Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: I76393f0567da7a76a7ce682b7818f6595d2a2ab0
2022-04-07 06:41:41 +00:00
Ray Chi
7be02c0708 usb: remove set_usb_irq script for irq change
Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.

Bug: 225789036
Test: build pass
Change-Id: I42299d30df5343f06be810870c61c5cff3e41df2
2022-03-30 04:42:16 +00:00
Tommy Chiu
1b3717c9d7 device: Include RKP VINF
Bug: 224920531
Bug: 221390931
Test: Build pass with PRODUCT_SHIPPING_API_LEVEL=32|33
Change-Id: I6ca8d6ef8e66daefce42e6e2a5b7c2a5104004b8
2022-03-28 02:56:32 +00:00
Adam Shih
552c403223 remove cuttlefish memtrack implementation
Bug: 225788729
Test: build ROM with the daemon gone
Change-Id: Ibe739256c6967e373a465e3ca9e7b42f61496fb0
2022-03-25 03:16:58 +00:00
Etienne Ruffieux
576864b7c1 Removed audio A2dp and Hearing Aid from device.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I7c882558519968fffd460896d8ce2bd133be35c2
2022-03-25 00:27:30 +00:00
SalmaxChang
37f619ea3f device: remove gnss blanking file temporarily
The current CP does not support related RCM command.
Disable GNSS blanking temporarily.

Bug: 226074879
Change-Id: I7d433b269d7a5f3c532d949e58bf4190c9501462
2022-03-24 03:01:40 +00:00
Adam Shih
c676225fef enforce debugfs constraint on user build
Bug: 225815474
Test: build pass
Change-Id: I6507e784b3597220920f59d969bbeafdd199174b
2022-03-24 01:05:18 +00:00
Lucas Dupin
2964ee6020 Enable blurs
This was somehow disabled

Test: forrest build
Fixes: 225015208
Change-Id: I4ed97dfaf8362ace933b6d5e08408ee35d54ee13
2022-03-18 18:26:02 +00:00
SalmaxChang
602c38c63f conf: support to mount modem erofs image
- Create fstab.modem for modem as flexibility.
- Add and support both erofs and ext4 images for compatibility.

Bug: 201348703
Change-Id: Idc6dd8ef8f044c764f2811469806ee9e6defb87f
2022-03-17 05:56:33 +00:00
Devika Krishnadas
cf0372dc8b Increase Max framebuffer count to 3
Bug: 220804307
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I5b21d077e2c8f1ee0a22d19bfeb1e3afd29789d3
2022-03-17 02:01:10 +00:00
Jesse Hall
6581005c3c gpu: use hwui vulkan backend
The Vulkan backend is the intended production configuration and what we
shipped gs101 with.

Also checked remaining gpu configuration and minimized textual
differences from the gs101 device.mk for easier comparison.

Bug: 223406172
Test: Launcher, YouTube video playback, Pixel Camera preview & shot
Change-Id: I85e3c34ef424f7cef97bcfb6f5a10746fc0b9804
2022-03-08 11:34:55 -08:00