Commit graph

685 commits

Author SHA1 Message Date
Alex Hong
5c47ca9e2e Remove the obsoleted HAL requirements in GS201 Product FCM
The following HALs are upgraded now.
1. android.hardware.biometrics.face
2. android.hardware.biometrics.fingerprint
3. android.hardware.dumpstate
4. android.hardware.gnss
5. android.hardware.radio.config

Previously we claimed the requirements for old HALs in product FCM.
Now clean up these requirements since we no longer need them.

Test: m check-vintf-all
      run vts -m vts_treble_vintf_vendor_test
Bug: 207076973

Change-Id: I635f1a9c22801762f5b240425c0e3567e4c206cb
2022-05-04 08:59:27 +00:00
Wayne Lin
5620ef23c6 gps: enable GNSS PPS feature
Bug: 230433240
Test: verify gnss pps time pass
Change-Id: I8d2abd38f68562c8e513919be73a096a46b1625b
2022-05-04 00:54:57 +00:00
Darren Hsu
313fe7709c powerstats: re-enable AoC power stats reporting with timeout
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Icb1433bed3438ed4525816e3d3be28b4e0261e89
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-05-03 10:26:08 +00:00
Jenny Ho
60ccbd668e dumpstate: add max77759_chg/max77729_pmic register dump
Bug: 230360103
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I93257674bf96f4e6bb6d9009c5a90571e251198a
2022-05-03 06:54:05 +00:00
Labib
18b07ba7ee Change sysfs file group to allow write from RadioExt am: 1ca9284256
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17955931

Change-Id: Ieb2105c634bda3f00d8fc5ec7cbe8f38a40074bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 05:07:36 +00:00
Labib
1ca9284256 Change sysfs file group to allow write from RadioExt
Bug: 212601547
Test: Manual
Change-Id: Ie1638265072cc395e7292570dae2a7aadb4d20bb
2022-05-03 01:14:09 +00:00
Yichi Chen
d9ed4ff223 [Gralloc] Remove the conditional configs for Gralloc am: 15dd6c2272
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17987925

Change-Id: I046735b7c5018cebcb01a870e708eaef828f9fa4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-02 19:15:36 +00:00
Yichi Chen
15dd6c2272 [Gralloc] Remove the conditional configs for Gralloc
Since GRALLOC_VERSION control has been totally removed, the
corresponding conditional configs should be removed to avoid wrong
configurations.

Bug: 224911573
Test: gralloc sync function can work to avoid noise in tiktok
Change-Id: I7d48f0271a251dfef2abc13dea59b92c541a497e
2022-05-02 18:45:16 +00:00
Vincent Palomares
e6c32d5165 Add p10c10 perf setup script
Bug: 204892459
Test: none
Change-Id: Ic5e21f982ad8da2fe83279eaba7b8b31d3f8ff5a
Signed-off-by: Vincent Palomares <paillon@google.com>
2022-04-30 00:20:33 +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
Minchan Kim
520ebd6475 dumpstate: change page_pinner output file name
Change konb name to "buffer"

Bug: 230651222
Test: check dumpstate_board.txt from adb bugreport
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I80674d8728bab322ae2acdb3a8cd0ffaff39c977
2022-04-29 16:33:43 +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
Minchan Kim
8231cb5366 [automerger skipped] dumpstate: change page_pinner output file name am: 3846f25d8d -s ours
am skip reason: skipped by user minchan

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

Change-Id: Ic5578197875db75f63d26131270e908879fc239c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 22:43:34 +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
Minchan Kim
3846f25d8d dumpstate: change page_pinner output file name
Change konb name to "buffer"

Bug: 230651222
Test: check dumpstate_board.txt from adb bugreport
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: If4a07b2b40ec078f9c4553227020aff802781919
2022-04-28 17:47:19 +00:00
Jerry Huang
1fd0548491 media: update performance data for Android T am: 44b9204c52
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17903532

Change-Id: I59ed0cb86da978c9e731470a05f2e59fdd7aff37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 09:25:20 +00:00
Jerry Huang
44b9204c52 media: update performance data for Android T
Bug: 220997041
Test:
android.media.decoder.cts.VideoDecoderPerfTest
android.video.cts.VideoEncoderDecoderTest

Change-Id: I1c1d072a98628a3fa8b4c5a201db7d850faabcfa
2022-04-28 08:39:50 +00:00
Wayne Lin
7f8710905f gps: update gps driver 142.20.23.534799
Migrate GNSS HIDL HAL to AIDL HAL
Add a gps.xml configuration parameter for CHRE/CHPP baud rate
Fix for PVT assertion at patch_pvt_engine_cbs line=0078
Additional field in SatellitePVT
Prevent the wrong common bias delta estimation
Prevent wrong unhealthy satellites selection
Fix LPPe UBP rounding error
Fix LPPe UBP error message
Fix on-chip assertion at glme_peif_impl.cpp line=0876
Fix low ADR rate issue
Provide tool to decode PRs and PRRs from gl logs
Fix GnssHalTest#TestGnssMeasurementCorrections/0_android_hardware_gnss_IGnss_default test fail
Fix gpsd doesn't release pressure sensor request after LPPe session end
Fix gpsd null pointer dereferencing issue
Fix gpsd cannot receive LTE band handover notification
Fixed the ordering of the GLNS satellites based on the ephemeris availability
Report AGC values by constellation and central frequency instead of inside each raw measurement

Bug: 213009701
Bug: 218580284
Bug: 223361838
Bug: 223593119
Bug: 224969521
Bug: 225278936
Bug: 225285619
Bug: 226112617
Bug: 226691677
Bug: 226805895
Bug: 228288159
Bug: 228301290
Bug: 228405504
Bug: 228791446
Bug: 229032461
Bug: 229038024

Verify test: 230286348
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
GtsLocationTestCases pass
GNSS verify test pass

Change-Id: If2a4d21eefa20c934abbd21de363e1897775cb2e
2022-04-28 07:03:31 +00:00
GOOGLE\huangaustin
6ad065f14c [PixelLogger][P22] Correct switch value of GP_SV_SMDT to true in P22 default.cfg and P22 Pixel_default.cfg for IMS team am: 41fa4d9099
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17947045

Change-Id: Ie8b6a474e7192b886581b85f0862ccf23f9af947
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 05:30:24 +00:00
GOOGLE\huangaustin
41fa4d9099 [PixelLogger][P22] Correct switch value of GP_SV_SMDT to true in P22 default.cfg and P22 Pixel_default.cfg for IMS team
bug: 230447442
Change-Id: I020c94459dc4421b3af96550ef2df96a696ac0ad
2022-04-28 04:03:08 +00:00
Stephane Lee
226081edcb Add thermal stats permissions for clearing
Bug: 227199213
Test: echo 2 > /dev/thermal/cdev-by-name/dc_icl/cur_state
   Verify logcat | grep pixelstats. Ensure there are no errors
Change-Id: I72f3f9d5fd39c18bba8d4bdb023c7b9eecf6a691
2022-04-28 02:16:10 +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
Luigi Zevola
32864c1c11 [automerger skipped] dumpstate: Increase MIF stats timeout am: f8121ea9ba -s ours
am skip reason: skipped by user zevola

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

Change-Id: I2f1a37d27c948ca173f71f1476626d4ab923730d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 16:13:02 +00:00
Luigi Zevola
f8121ea9ba dumpstate: Increase MIF stats timeout
Increase command timeout to allow full printing of MIF request stats

Bug: 225585054
Test: On R4
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I6dbce4d1d0e31d3e82da825b8b1a0e8de3041842
2022-04-27 02:40:16 +00:00
George Lee
91793f54da bcl: Update correct vdroop threshold voltage
Bug: 230393895
Test: Boot and confirm correct settings loaded
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iab7748f082d5e0262ab6e53f7ed6742e113e7328
2022-04-26 23:07:55 +00:00
Ted Wang
97b5d865fe Switch BluetoothCcc hal to 1.1 am: 7ac5f71ed9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17887727

Change-Id: Ibf58493cb3bdaec2ebb6363133759a8f39a5f477
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 11:35:01 +00:00
Ted Wang
7ac5f71ed9 Switch BluetoothCcc hal to 1.1
Bug: 229710243
Test: make
Change-Id: I3aacc422339486981ba3a54146c06dcb5ac739b4
2022-04-26 10:07:23 +00:00
Sayanna Chandula
aba15a7cb6 thermal: enable thermal engine for evt1.0 devices
Currently thermal engine is disabled on A0 based devices using a
separate config file, thermal_info_config-A0.json.
This change removes that restriction so that thermal engine can
be enabled for EVT1.0 devices using device specific rc file.

Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I2171f38802b3770317dfb9a3b2106e613c0ccdb4
2022-04-25 18:20:58 +00:00
SalmaxChang
63024e0a54 init: restorecon modem persist file
Relabel the selinux context of modem persist file

Bug: 230289342
Change-Id: I04248cac4a247d6376686a6451251da3799cf64b
2022-04-25 14:15:30 +00:00
Kris Chen
acd686d881 Remove the temporary FCM setting for fingerprint am: 8efde59fb6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17903536

Change-Id: I6438364945da918d17c66b053db638cce8b8d56f
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 06:53:52 +00:00
Kris Chen
8efde59fb6 Remove the temporary FCM setting for fingerprint
Bug: 223118104
Test: m check-vintf-all
Test: atest vts_treble_vintf_vendor_test
Change-Id: I08de753408d4ae1ec503ad8037d3dfd22d400e80
2022-04-25 06:28:09 +00:00
Kelly Rossmoyer
c5c3bcc194 Revert "powerstats: set time limit as timeout for AoC" am: f2fa5042d8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17935513

Change-Id: I0391ca469cfcbf250e449ac51ca1f9bcbcf82df2
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 04:18:16 +00:00
Kelly Rossmoyer
f2fa5042d8 Revert "powerstats: set time limit as timeout for AoC"
Revert "powerstats: timeout mechanism for AoC data provider"

Revert submission 17800080-power-stats-aoc-timeout

Reason for revert: Causing crashes due to improper thread sync
Reverted Changes:
I71a9e6817:powerstats: timeout mechanism for AoC data provide...
I725c00745:powerstats: set time limit as timeout for AoC
I5b290a53d:powerstats: set time limit as timeout for AoC

Change-Id: I84f5173aada0539d8c91d18d36a841bc9f3e3c9a
2022-04-25 03:56:51 +00:00
Kyle Tso
1c35126bb5 usb: Modify the controller name am: ef25209b6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17903535

Change-Id: I303aa390cba705108c59f98bc00dd8814b956ac7
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 02:13:22 +00:00
Kyle Tso
ef25209b6b usb: Modify the controller name
The name is 11210000.dwc3.

Bug: 229960483
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I671efc2e07b7057220b190181b0ef1bcef1e0dd4
2022-04-25 01:37:42 +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
chungkai
201c33ad90 init: update new boost rt uclamp value
update new boost uclamp value since we update
cpu capacity

Bug: 224649226
Test: pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2a6211d18af69f5a7269d389c76e43337e5f0c35
2022-04-22 16:02:13 +00:00
leohsieh
b51698c4a9 UDFPS: Configure permission for display file node.
Configure permission to get display DDIC chip id.

Bug: 228302164
Test: Verify system process can write to the node.
Change-Id: I647f6d27848d96a8639560616edc7c71a4e49aa9
2022-04-22 05:11:32 +00:00
Albert Wang
c5b6b78599 Updat CleanSpec.mk for USB HAL migration to AIDL
Bug: 227729582
Test: build
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I0767f890fb289a5fbb95ce033d3ed4c50e6ebef9
2022-04-22 02:50:32 +00:00
SalmaxChang
c3151e4190 dumpstate: change log compression timeout to 20s
The duration of dumpstate board binary is only 45s.
Change the log compression timeout from 120s to 20s.

Bug: 229932116
Change-Id: I4f3ebe0c89db50a3ad7071fe730585a391f7ac81
2022-04-21 16:48:52 +00:00
SalmaxChang
85ba7ef570 [automerger skipped] dumpstate: change log compression timeout to 20s am: 513166f781 -s ours
am skip reason: skipped by user salmaxchang

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

Change-Id: I1f5ac8a25e4bf73b433f407201d1391324632db4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 13:02:33 +00:00
SalmaxChang
513166f781 dumpstate: change log compression timeout to 20s
The duration of dumpstate board binary is only 45s.
Change the log compression timeout from 120s to 20s.

Bug: 229932116
Change-Id: I2403ade04d69773b91ee90f591d40416ed684f71
2022-04-21 10:59:31 +00:00
Stephane Lee
192b1f4640 ODPM: Fix rail selection file permissions am: 87b68b782d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17663345

Change-Id: Id21d7379e0bc6a539ee9a08f5771f6578635a846
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 09:40:07 +00:00