Commit graph

603 commits

Author SHA1 Message Date
Darren Hsu
14034f63c2 powerstats: read MIF-DVFS stats from devfreq data provider
MIF-DVFS stats read from ACPM will not be accumulated in some
reasons. Reading MIF-DVFS stats from devfreq data provider is
a more accurate way to monitor the MIF status.

Bug: 232040455
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Icf84d9682685b730d4771aad0b2b21bc8d6c4868
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-05-12 07:41:57 +00:00
GOOGLE\huangaustin
bc0e43dfb5 [PixelLogger][P22] Update P22 Pixel_default.nprf to disable DSP trace for L1 am: 1ab3bb1042
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18281620

Change-Id: Ie80ada8e7c31212cd36308f1c414e0dcdc7bd098
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 07:05:41 +00:00
Jay Wang
3257de1670 Revert "[Gralloc] Remove the conditional configs for Gralloc" am: 184562c0f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18310586

Change-Id: I03a0b0c52448be3874c4e6d28451073e74a252f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 07:05:13 +00:00
GOOGLE\huangaustin
1ab3bb1042 [PixelLogger][P22] Update P22 Pixel_default.nprf to disable DSP trace for L1
bug: 214351205
Change-Id: Ia1bc9ee5df36206fd0c8833e0dd32b39d26e38e6
2022-05-12 06:34:12 +00:00
Jay Wang
184562c0f8 Revert "[Gralloc] Remove the conditional configs for Gralloc"
This reverts commit 15dd6c2272.

Reason for revert: Caused the power regression b/231537621

Change-Id: Ie8d74127a16cf0a938201cf5e1cb7a76fa9ade0e
2022-05-11 15:56:07 +00:00
Edwin Tung
285b20e57d Revert "gps: enable GNSS PPS feature"
Revert "gps: enable GNSS PPS feature"

Revert submission 17983790-p22-gnss-pps

Reason for revert: b/230265527 shows PPS malfunction impact gps location report. We need to disable PPS until PPS function fully functionality and robust.

Bug: 230265527

Reverted Changes:
I8d2abd38f:gps: enable GNSS PPS feature
I49f82c17e:gps: enable GNSS PPS feature

Change-Id: I296b5540148e03346e97e967c588234ea05a8bb8
2022-05-11 08:49:29 +00:00
Taehwan Kim
72d9775cae update media_codecs_aosp_c2.xml
- add "encoding-statistics" for video encoder

Bug: 222205463
Test: android.media.codec.cts.VideoEncodingStatisticsTest

Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ie8bb83d472484949432dec65f15841b49d0c5f54
2022-05-11 05:01:26 +00:00
Sarah Chin
efffcba21f Remove config_tcp_buffers am: bb2e5a0486
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18284609

Change-Id: Ifa2e016cc82b9f7fc18b59697cfc75ee5c509ecc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-11 02:19:38 +00:00
Sarah Chin
bb2e5a0486 Remove config_tcp_buffers
Moved to default values

Test: build
Bug: 222323543
Change-Id: I8993d1e587f1d0241e54e2ddc34ca551e89d8546
2022-05-11 01:44:18 +00:00
Taehwan Kim
81071702b2 update media_codecs_aosp_c2.xml for decoder
Bug: 231283341
Test: CtsMediaDecoderTestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ibb11d86d247b9535cea25427982b8b7f16eac9d8
2022-05-11 00:22:06 +00:00
wenchangliu
7e3c3434c5 update performance-point for media performance class 13
Support 6 instances of hardware video encoder/decoder
sessions (AVC, HEVC, VP9 or AV1) in any codec combination
running concurrently at 1080p resolution@30fps.

Bug: 229938655
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints
Change-Id: I0f260d83164cb8b4944a4a603408400c0c3a7184
2022-05-11 00:22:06 +00:00
Chris.CC Lee
f8f7c6b31c Add NEARBY_WIFI_DEVICES for Restore am: b5d322b061
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18154298

Change-Id: I880de94ff97935226a6fd5f20afbf54340b8dcf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 20:42:51 +00:00
Chris.CC Lee
b5d322b061 Add NEARBY_WIFI_DEVICES for Restore
We used ACCESS_FINE_LOCATION to start a WiFi P2P connection. From
Android T, the required permission is changed to NEARBY_WIFI_DERVICES
instead.

Bug: 219855567
Test: Manual tested on Oriole. Used a local built Restore APK which
declares the use of the permission. Push that APK to the test Oriole and
validate the permission is granted by default.

Change-Id: I5d23f973e4ca40a5364f7523e4adb79f2a0b119a
2022-05-10 15:39:31 +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
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