Commit graph

1942 commits

Author SHA1 Message Date
Badhri Jagan Sridharan
537a913a55 gs101: recovery: Set maxpower to allow charging from SDP port am: 211495c86a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15388681

Change-Id: I040befa12318da8bea09c24273974187c701059e
2021-07-27 20:29:21 +00:00
Max Kogan
41380ad37f Add AoC wakeup stats to dump state am: 360ad16d6a am: 8e0d97659c am: 38a54b779e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15393903

Change-Id: Ib31d271d19bc7a285c0b00f3f089e667e0dc412c
2021-07-27 20:28:31 +00:00
Minchan Kim
b2db070292 gs101: increase swap size am: e7ea5deba6 am: fe940f6e54 am: 1f01495a61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824045

Change-Id: I943b2cda3662113016e2bd11474a4d2878ad0191
2021-07-27 20:28:24 +00:00
Max Kogan
0e5662cc63 Add AoC wakeup stats to dump state am: 360ad16d6a am: 8e0d97659c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15393903

Change-Id: I9cccefc45edb1d806c2729685afdce6f0e28ccdb
2021-07-27 20:08:00 +00:00
Badhri Jagan Sridharan
a7c0b48fc4 gs101: recovery: Set maxpower to allow charging from SDP port
Leaving maxpower at default i.e. 2mA prevents the phone from
charging from SDP ports. Setting this to 900mA. Kernel would
then set the current limit to 500/900mA based on the configured
speed.

Bug: 194722479
Test: Boot to recovery; Through uart cat maxpower;
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I763c70eb5d19f74e6e846155af69c25ca3e91f85
2021-07-27 20:07:58 +00:00
Minchan Kim
cc688629fb gs101: increase swap size am: e7ea5deba6 am: fe940f6e54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824045

Change-Id: I64588ff99eac847c8d4d80193aac516b2c1f59a7
2021-07-27 20:07:48 +00:00
Max Kogan
1d0d03de75 Add AoC wakeup stats to dump state am: 360ad16d6a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15393903

Change-Id: Ia2d677e1994869e08622b02df07aa78a571d6d4d
2021-07-27 19:44:07 +00:00
Minchan Kim
798e375d64 gs101: increase swap size am: e7ea5deba6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824045

Change-Id: Ic2813eb414f4fd05744e1eeba50050a8b47ea3f6
2021-07-27 19:44:00 +00:00
Max Kogan
e1039ea565 Add AoC wakeup stats to dump state
Need wakeup stats to track AoC to AP messages resulting
in frequent wake-ups.

Bug: 192668026
Change-Id: I99cca607d74b63a974d0b89bc0ba14022bcc22ec
2021-07-27 19:23:05 +00:00
Minchan Kim
c0f6127a16 gs101: increase swap size
Since we have 8G/12GB ram, increase swap size from 2G to 3G
since 3G swap shows best result.

note: we had used 2G swap for even 4G ram devices.

Bug: 187488125
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Iea8ab1126c378cd02a89c2ef982262431c894487
2021-07-27 19:08:10 +00:00
Jack Wu
4e65cb394a add permission for pca charge_stats access am: 29057d5010 am: 15908697b5 am: 8b4c07ef4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15359875

Change-Id: I0219268c32e30bb9032280197319a069e59f216d
2021-07-27 03:01:35 +00:00
Jack Wu
f035490883 add permission for pca charge_stats access am: 29057d5010 am: 15908697b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15359875

Change-Id: If524be268835b1beb3a65cd739fe2a42c493bfec
2021-07-27 02:47:04 +00:00
Jack Wu
fddbb1cb32 add permission for pca charge_stats access am: 29057d5010
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15359875

Change-Id: I3b17c5c5b9bff2edab5982938176d7831f3ae42f
2021-07-27 02:29:16 +00:00
Jack Wu
b089995845 add permission for pca charge_stats access
Bug: 194386750
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ia399e59a2f7098147522161d5c7458545febfb77
2021-07-24 06:42:51 +00:00
Ankit Goyal
b2c092a884 Include memtrack in product packages am: 77e2cdea93 am: 6490f5cb3e am: daa9628056
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15268977

Change-Id: I9ee57bf77d1b968cdb53720aa09f889d90f09bd7
2021-07-23 22:00:46 +00:00
Ankit Goyal
f68e432deb Include memtrack in product packages am: 77e2cdea93 am: 6490f5cb3e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15268977

Change-Id: Ic04b13db986dadec3f0f340bf46b3541ffd57819
2021-07-23 21:42:04 +00:00
Ankit Goyal
fc6dd232e6 Include memtrack in product packages am: 77e2cdea93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15268977

Change-Id: Id562576c57e02855dcbfa480508125f4f343d971
2021-07-23 21:24:50 +00:00
Ankit Goyal
099ff5167b Include memtrack in product packages
Bug: 191966412
Test: adb shell dumpsys meminfo
Change-Id: Ie521d242274502d70d228faeab0727abee5284b4
2021-07-23 20:52:52 +00:00
Meng Wang
87e2036ec6 [automerger skipped] Move CDMA feature XML inclusion to device specific mk files am: 412fc665cc am: 2c489c97a1 am: a179e18f74 -s ours
am skip reason: Merged-In I0fe3a3624d2cda2b57347402d62e8a16513174e5 with SHA-1 d808d99ce0 is already in history

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

Change-Id: Ida4a53fae2298fa301e06b7980a858ca842dea8a
2021-07-23 18:55:02 +00:00
YiHo Cheng
6cb23aade0 thermal: Update usb_pwr_therm2 emul_temp control am: 25ab176251 am: 63b127626c am: 6b967c2eb0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15359876

Change-Id: I013229b4d809cf755b997e83598171a4064e0fa3
2021-07-23 18:54:06 +00:00
Meng Wang
ac68a4c562 Move CDMA feature XML inclusion to device specific mk files am: 412fc665cc am: 2c489c97a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15363243

Change-Id: Ibf46977597a94bd7e10d22af1e71ce298c38d3e2
2021-07-23 18:37:06 +00:00
YiHo Cheng
e15624d3d2 thermal: Update usb_pwr_therm2 emul_temp control am: 25ab176251 am: 63b127626c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15359876

Change-Id: Ie3a773eba5779ed00b85ddcd93c3f262cb185229
2021-07-23 18:36:51 +00:00
Meng Wang
3c9f24ac5d Move CDMA feature XML inclusion to device specific mk files am: 412fc665cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15363243

Change-Id: Id9fac3fdac90b450b977977bb395f007ebae4a88
2021-07-23 18:18:26 +00:00
YiHo Cheng
44dae94fde thermal: Update usb_pwr_therm2 emul_temp control am: 25ab176251
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15359876

Change-Id: I5b446bbdfa9d8ba1bc649f53aa5f80a2c2c75684
2021-07-23 18:17:48 +00:00
Meng Wang
fbb1a572a1 Move CDMA feature XML inclusion to device specific mk files
So devices not supporting CDMA don't include the feature by mistake.

Bug: 194307361
Test: inspect build artifacts - telephony.cdma.xml is included
Change-Id: I0fe3a3624d2cda2b57347402d62e8a16513174e5
Merged-In: I0fe3a3624d2cda2b57347402d62e8a16513174e5
(cherry picked from commit d808d99ce089ca4c7ff4e2abe8ee76b4eeb38a64)
2021-07-23 17:50:41 +00:00
YiHo Cheng
2bb5a796f9 thermal: Update usb_pwr_therm2 emul_temp control
Update usb_pwr_therm2 emul_temp control to allow
vendor.disable.usb.overheat.mitigation.control to disable/enable
usbc-port throttling to prevent device offline during thermal
mitigation test in lab.

Bug: 194252201
Test: setprop vendor.disable.usb.overheat.mitigation.control 0/1 to
check usb_pwr_therm2 temperature reading

Change-Id: Ia522706ce32bee68596b977a3e526f0b951a95ca
2021-07-23 17:45:41 +00:00
Rick Yiu
c181f94866 gs101: Add a new profile for camera power tuning am: 1b33e486e7 am: f0b7304c01 am: 3993b756fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15283137

Change-Id: Ibcc044d0376837decf356e267f9025dcbdf3fc68
2021-07-23 14:40:16 +00:00
Rick Yiu
725a51d332 gs101: Add a new profile for camera power tuning am: 1b33e486e7 am: f0b7304c01
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15283137

Change-Id: I3412b14b4eef45a9d3d3e026b5ae072cb900f1d3
2021-07-23 14:22:46 +00:00
Devika Krishnadas
9fc8efb2c4 Update late duration am: 9eee175664 am: feb976f3ac am: ea3b9d3c70
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337090

Change-Id: Ie8ba7b3a25bd92a5e7013b68b210ceb024decb9c
2021-07-23 14:17:31 +00:00
Devika Krishnadas
57b55e291a Update late duration am: 9eee175664 am: 3b3f8bb0dc am: 369a9a27d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337090

Change-Id: I727a5300248db2f2c1851f1ddb71c38c1ed59b6b
2021-07-23 14:17:25 +00:00
Rick Yiu
02ff983d53 gs101: Add a new profile for camera power tuning am: 1b33e486e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15283137

Change-Id: Ib1bb4f3d4404a1589e7228c7e997b3c3450aa054
2021-07-23 14:07:45 +00:00
Devika Krishnadas
b2f9eadc84 Update late duration am: 9eee175664 am: feb976f3ac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337090

Change-Id: I0300bafad80a6605765cd2b735a7fd6f33cf0555
2021-07-23 13:59:46 +00:00
Devika Krishnadas
4c1644da5b Update late duration am: 9eee175664 am: 3b3f8bb0dc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337090

Change-Id: Ided99b7095f9a5aaf09c520e372811de3fd4c56c
2021-07-23 13:55:31 +00:00
Rick Yiu
853246aeb8 gs101: Add a new profile for camera power tuning
Create CameraServicePower profile.

Bug: 192607122
Test: build pass
Change-Id: Ia4ff63dabc51d449d4b4acc95a2685c10643c509
2021-07-23 13:49:53 +00:00
Devika Krishnadas
8fc20d2788 Update late duration am: 9eee175664
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15337090

Change-Id: I1821280ec9726ccd65ef874904ab0dca77cdd369
2021-07-23 13:41:28 +00:00
Devika Krishnadas
be6acfd1c5 Update late duration
Bug: 192099706
Test: Run UIBench b/194024035
Change-Id: I7954214df1210df19e79308a950cc22d7d96fbe2
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2021-07-23 13:20:29 +00:00
Jack Wu
59fe21b3cc move permission for WirelessCharger HAL to init am: c836799f95 am: 2e560d5ec8 am: 44e8f24392
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15358310

Change-Id: I9b93d5512451ba6845f1b83a15d319e37f32e93d
2021-07-23 12:56:20 +00:00
Jack Wu
579af8dcce move permission for WirelessCharger HAL to init am: c836799f95 am: 2e560d5ec8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15358310

Change-Id: I87eb374c82783fa6ea4d03c6506d5702c6017668
2021-07-23 12:44:36 +00:00
Jack Wu
5d40befa79 move permission for WirelessCharger HAL to init am: c836799f95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15358310

Change-Id: I1b243285a7741557e806fb0f289c2a22cb3b5d85
2021-07-23 12:28:25 +00:00
Jack Wu
9e5b9c54c0 move permission for WirelessCharger HAL to init
Bug: 194354746
Test: there is no wireless access error
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I2dcc54047129132c38899d5e4310dc7c1ca7bc80
2021-07-23 12:09:26 +00:00
SongFerngWang
fa3d363526 Overlay the config_network_selection_list_aggregation_enabled am: 2ed78c0fb7 am: e99379ec05 am: e2fad037f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15336318

Change-Id: Ia707c6f75337ce678b7bd32bf1d6138f05dfc536
2021-07-23 09:51:24 +00:00
vincechiu
679e3fe6a5 Camera: create three new groups for camera threads am: 8d9f8f0ccc am: 04c20f72e9 am: 6072a2699e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15328126

Change-Id: I425b58c52589ffc379b5f4f805a11a361323c587
2021-07-23 09:51:08 +00:00
SongFerngWang
8de96ea03e Overlay the config_network_selection_list_aggregation_enabled am: 2ed78c0fb7 am: e99379ec05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15336318

Change-Id: I7be8420304ae205cc671e80a0dcb816db5c6a690
2021-07-23 09:36:46 +00:00
vincechiu
a27666dbd1 Camera: create three new groups for camera threads am: 8d9f8f0ccc am: 04c20f72e9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15328126

Change-Id: I1221a4249ae41a2f2175b1f66a026c9460bd9219
2021-07-23 09:36:27 +00:00
SongFerngWang
8c4fa5514d Overlay the config_network_selection_list_aggregation_enabled am: 2ed78c0fb7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15336318

Change-Id: I67f1c733bce6d1d862127cb455ef53c6c1ab8094
2021-07-23 09:20:17 +00:00
vincechiu
e6fafa1f72 Camera: create three new groups for camera threads am: 8d9f8f0ccc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15328126

Change-Id: Idbb07b079ec5e8ed71ad89852ac9475348e9f78b
2021-07-23 09:19:54 +00:00
SongFerngWang
373005fd5e Overlay the config_network_selection_list_aggregation_enabled
Bug: 173387374
Test: build pass
Change-Id: I84c899e9c7aae4e4cbd1f76ae3d021b507ea6fb2
2021-07-23 09:05:48 +00:00
vincechiu
f3b644db0c Camera: create three new groups for camera threads
high-group is running on CPU 6-7.
mid-group is running on CPU 4-5.
mid-high-gropu is running on CPU 4-7.
Move camera tasks to CPU 4-7 for 1 seconds when AP launch.

Bug: 194271751
Test: GCA
Change-Id: I8e13e9ad0057b8f42f8ed3958bf0c6d58a5a02bc
2021-07-23 09:03:24 +00:00
Lisa Liu
a9075e8765 gs101: tune vendor_sched parameters for boot time am: 49baab8621 am: 0e3570f5ae am: aa96c9b173
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15268982

Change-Id: I5f035f3b5c9c6c87a945a197279183970faf6bfd
2021-07-23 07:37:07 +00:00
Lisa Liu
37fc51b18f gs101: tune vendor_sched parameters for boot time am: 49baab8621 am: 0e3570f5ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15268982

Change-Id: I887afd462d413198ef75d7afde3246a4fd1fa99c
2021-07-23 07:18:09 +00:00