Commit graph

93 commits

Author SHA1 Message Date
Jing Ji
97125e45f9 Turn on auto restricted bucket on abusive bg battery usage am: 0496799caa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18337180

Change-Id: I6f6b08e87745df739ded6a62b61802eb2cf0ffd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 18:21:08 +00:00
Jing Ji
0496799caa Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.
Bug: 203105544
Test: dumpsys activity -a

Change-Id: I1c841edbbcea6cd37e1495abd95a9b55ead5babc
2022-05-13 18:01:56 +00:00
William Tai
79e5ff3189 display : update color data file
Update disply color data for LHBM.

Bug: 228920164
Test: adb shell displaycolor_service 653
Change-Id: Idcc7875c86d8120d9e9b4afa03b2c72ad3f16739
2022-05-10 06:10:45 +00:00
William Tai
f1aa3d02b8 display : update color data file
Update disply color data for LHBM.

Bug: 228919808
Test: adb shell displaycolor_service 653
Change-Id: I99066ac7e984332524494e8ab99816e678781652
2022-05-10 06:10:45 +00:00
samou
53a6f56c31 power_profile: Correct CPU topology and update power number
Bug: 219870109
Signed-off-by: samou <samou@google.com>
Change-Id: I45b40c4f2f1942d7246d5dbc5fdb237a6ecc571c
2022-05-05 08:02:06 +00:00
Roger Wang
8e0b72691c wlan: Disable 6GHz softAp
Driver actually does not support 6Ghz softAp at
current version. Hence, disable it

Bug: 231384422
Test: SoftAp can be enabled
Change-Id: I5433e05dd3cabb3f345c442522f9870a979939c6
2022-05-04 15:47:40 +08:00
Sunil Ravi
12c9975eb7 WiFi: Enable radio stats aggregation
set config_wifiLinkLayerRadioStatsAggregationEnabled to true
to enable radio stats aggregation logic.

Bug: 211890916
Test: atest com.android.server.wifi.WifiVendorHalTest
Test: Manual - Dump the link layer stats and validated the results.
Change-Id: I8e5b86a917daa70d91de16b7f0a65e935e23b888
2022-05-03 00:59:30 +00:00
Quang Luong
0424602e58 Enable Wifi/LTE + GPS L1 Coex
Bug: 210920670
Test: build
Change-Id: I3ced2400b22f3e18c73df46a1b0a6788e9267cb8
2022-04-28 16:55:53 +00:00
Labib
6ef7054b4d Update Coex tables for Scone am: 5d65c8e320
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17957066

Change-Id: I2e54d5dc8eab5a43e73c418dc63623fff3c3354c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 17:29:19 +00:00
Labib
5d65c8e320 Update Coex tables for Scone
Bug: 230301121
Test: Manual
Change-Id: I3b53cd94f970b9dfa5ad0ac0d8a23175671b47bc
2022-04-26 21:31:55 +08:00
Jason Chang
07462d28c2 Phase out config_roundedCornerMultipleRadius from overlay package am: beb111be34
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17782663

Change-Id: I941c63cc5aeda856fedf6980c3db6cc2ee63c7b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 06:34:47 +00:00
Jason Chang
beb111be34 Phase out config_roundedCornerMultipleRadius from overlay package
[P10/C10]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I325157ca5163d9c429724000be73c07728fbdc45
2022-04-21 06:17:44 +00:00
Isaac Chiou
e86f1e8450 wifi: Seperate WifiOverlay2022 into C10 and P10
Since the behaviors of Wifi/LTE coex avoidance for GPS L1 between C10 and P10 are difference, we need two independent overlay for C10 and P10.
For ravenclaw and cloudripper, they follow the overlay of C10 since they are only for developing purpose.

Bug: 228415213
Test: Overlay config can be read correctly.
Change-Id: I4323682686d8f83b584f2a56f01ebe8ea831cb43
2022-04-20 15:57:53 +00:00
Avinash Malipatil
0ae8841b8e Enable ONS auto provisioning using device config
Bug: 229727068
Test: Manual. Flash the device with the binary including this change and check adb logs. ERR_AUTO_PROVISIONING_DISABLED should not be printed.
Change-Id: I826f86c9943573d25ffeb1ac9761a29c03bf4cc9
2022-04-19 14:03:57 +00:00
shawnlin
f94b464832 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: Iff388639497a7955e363c3372d79ead35831bea5
2022-04-12 02:15:55 +00:00
linpeter
3b4f9c3cdc display: update the outdoor auto-brightness curve
Modified the outdoor range mapping in
the outdoor auto-brightness curve.

Bug: 213251504
Test: check the default curve
Change-Id: I387e87f343ffe7af72fb965f2c7ea05eb85dfda1
2022-04-06 10:03:44 +00:00
joenchen
06d7d2a9f2 C10: set value of config_stableDeviceDisplayWidth/Height
Bug: 209592558
Test: adb shell dumpsys display | grep mStableDisplaySize
Change-Id: I76e835c695508295ad23538005bfa899efafbc01
2022-04-05 17:57:46 +00:00
Martin Liu
0f4fbe609b set swiotlb as noforce
There is no swiotlb usage so we can append noforce to
remove 2MB reserved memory.

Bug: 226578178
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I746e8a1d18d78243bfe6a0b7549d5cf09cc4e227
2022-03-25 12:57:43 +00:00
William Tai
8489809c43 P22: update display blocking zone for EVT1.0
C10:
zone condition(5 nits, 5 Lux) in 120Hz
P10:
zone1 condition(20 nits) in 90Hz
zone2 condition(25 nits, 20 Lux) in 90Hz

Bug: 220878644
Change-Id: Id8c94230c070812093600f32e7326d8550794f6d
2022-03-23 07:46:02 +00:00
Joshua Mccloskey
181a35eb41 Devices will not skip lockscreen after face unlock
Test: Verified after face authentication is done, the lockscreen
is not skipped.
Fixes: 219634181

Change-Id: Ife19c5b6ac60c60d6cc6f68f32dc6755426043b0
2022-03-23 01:04:46 +00:00
Gary Jian
8358d48714 Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: I16b665f72aae3b7e82c7f46a608eed36bbddae7f
2022-03-16 17:53:01 +08:00
ryanlwlin
28f176b9fc Add override for fingerprint sensor gesture support
Bug: 222019218
Test: atest AccessibilityFingerprintGestureTest
Change-Id: Ic36efe75a02cb707adc5c9aab10ec8916644c890
2022-03-16 09:14:39 +00:00
Yanting Yang
c83cb2cf1e Add initial MIC e-labels for JP SKU of C10 and P10
- Add label for GFE4J (mmWave-JP) of C10.
- Add label for G03Z5 (Sub6-JP) of P10.

Bug: 213977009
Test: visual
Change-Id: If34fbb37f5269294bd2fd5d599f79d3d1df57cf4
2022-03-14 11:58:29 +00:00
William Tai
c7e91120e4 Update SystemUI config.xml
- Add Doze settings

Test: manual
Bug: 199469793
Bug: 199468273
Change-Id: I05aa9305781539444e37a2e2ae0b05f0c8fbf79a
2022-03-11 05:22:05 +00:00
Kris Chen
cd8a034fd9 c10p10: Add config_udfps_illumination_transition_ms
Bug: 197780765
Test: Enroll and authenticate fingerprints.
Change-Id: I5101da79c856481d6509d0ef36af8eef7dbbbf05
2022-03-07 01:44:25 +00:00
Bao Zhu
0feab0e57b Add coex MIPI tables
Bug: 206337456
Test: Cheked generated files after compiling
Change-Id: I9cab77bde0cb8e4a8a38320cbb7f394cc3b68e7e
2022-03-04 20:25:21 +00:00
Chris Kuiper
cdc1dc5379 Config: Fine-tune ambient thresholds for brightness stability.
Porting to C10/P10.

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: I68d2121bb8694aab0e23ab67b5cc2cc5d5b1fdb4
2022-02-17 16:53:48 +00:00
samou
d321e3f112 Create initial power_profile.xml
Bug: 219368899
Change-Id: I38c0c65e5be0b4ae3fb22637f3273d039b1fd685
2022-02-17 09:08:16 +00:00
Midas Chien
ba2ac351b5 display: enable smooth display by default
Turn on Smooth Display in Settings App by default. Users can disable it
in Settings App.

Bug: 219650450
Test: Smooth Display is enabled by default after factory reset
Change-Id: I3acc5d548bad8a5068a75140673512ba793890e8
2022-02-17 02:21:59 +00:00
William Tai
790649ba23 display : update color data file
Update disply color data for LHBM.

Bug: 203594609
Test: adb shell displaycolor_service 653
Change-Id: Ifda684838351babe226dfe763a2d60298c60e274
2022-02-17 00:13:10 +00:00
William Tai
3ca336a5a4 display : add color data file
Add disply color data file.

Bug: 199468488
Test: adb shell displaycolor_service 653
Change-Id: I2d67a763c546d77cb7b4887f3af88ad25fbe2031
2022-02-17 00:13:10 +00:00
Robin Hsu
9adc062bcc config.xml: max_cached_processes changed to 64
Bug: 190531672
Test: dumpsys activity -i | grep -i cached_process
Signed-off-by: Robin Hsu <robinhsu@google.com>
Change-Id: I3cf8989a398ea594187b0e5a8cc8bad315b78ac3
2022-02-16 14:25:35 +00:00
Kris Chen
db6c57f396 c10p10: Add config_dozeUdfpsLongPressSensorType
Bug: 219382123
Test: sysui has registered the udfps gesture after entering AOD.
Change-Id: I872406401b4f849e866cb28e406552074a929f84
2022-02-15 12:54:22 +00:00
Bill Lin
5a664f4f15 Update C10/P10 SysUI overlay customization
1. [C10]Remove duplicate config_frontBuiltInDisplayCutoutProtection
2. [C10]Shift right config_frontBuiltInDisplayCutoutProtection position
3. [P10]Shift down config_frontBuiltInDisplayCutoutProtection position

Test: make and flash + enable rounded corner debug + launch front camera
Bug: 199469413
Bug: 203593020
Bug: 199468172
Change-Id: Iec8aaefe9ac649940d2364a95c12c75b69e34871
2022-02-14 09:03:07 +00:00
Tim Lin
59ca0ca6bf Add MMS UA, UAProf for C10/P10
Bug: 216398771
Test: make
Change-Id: I2f36baa3a28c1a4be3f07bafc5c9646180045baa
2022-02-10 12:01:30 +00:00
Bill Yi
00d0441ced Add AOSP support for Cheetah and Panther.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/cheetah
platform/vendor/aosp/google_devices/panther

and the paths are
vendor/google_devices/cheetah
vendor/google_devices/panther

TEST:make and flash a panther device

BUG: 217478568
Change-Id: Ibddebeab3cca4b4dfab12be519a099ca60ddd0c7
2022-02-04 19:40:44 +00:00
Yohei Yukawa
ca6b8be9e5 Migrate "rounded_corner_content_padding"
This CL updates resource overlay of

  rounded_corner_content_padding

so that the same device-specific value can be seen from both the
Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: I373b59068959d96f46f8d2d48e4923fbe8c961c8
2022-01-29 02:31:37 +00:00
SianyiHuang
70440096d6 Config: Update Auto Brightness debounce setting
Bug: 216280663
Test: adb shell dumpsys display and check debounce setting
Change-Id: Ib11c5ded76e2cfe76e16ebe54d9ff2d31ac72eb5
2022-01-27 03:43:23 +00:00
Bill Lin
3ecded6453 Revert some customization config from C10/P10
Previously ag/16573869,ag/16655971 accidently migration some
config unrelated to rounded corner / display cutout.

Test: make and flash, enable debug mode and check visual
Bug: 199468172
Bug: 199467921
Bug: 203593020
Bug: 203592814
Change-Id: Idb5ecfd6e20293c083c3e13a926eef2c48d9605d
2022-01-17 16:49:36 +08:00
Bill Lin
7b47713993 Customize Rounded Corner and punch hole for C10/G10
Screen size : 1440x3120

Test: make and flash, enable debug mode and check visual
Bug: 199468172
Bug: 199467921
Bug: 203593020
Bug: 203592814
Change-Id: I0bc273452756a48608e3a7d08e9d19ee85fdcc6f
2022-01-10 08:28:12 +00:00
Long Ling
0c6b305213 display : update color data files
Use per display type color data.

Bug: 207034763
Change-Id: I087dde0a0253db90ea0736ad100c3273a1a24ee7
2021-12-22 19:23:52 +00:00
Chris Lu
45d3b65550 Create initial config.xml
Create config.xml to support device suspend when screen off due to
p-sensor and enable adaptive brightness. A follow up patch may be
needed after tuning the auto brightness table.

Bug: 208528546
Test: brightness and adaptive brightness manual test
Change-Id: Ie559cbb2d656d4c5d46d28e200f44d27d2e037a6
2021-12-22 15:04:21 +00:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00