Commit graph

3076 commits

Author SHA1 Message Date
George Lee
812b753546 [automerge] bcl: Increase hardware clock divider count 2p: 2f0d3bcc06 am: ce27c0d216
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Change-Id: I2c8655ff6c9515a71611dda9f69ff31a51aeca40
2022-03-02 02:57:25 +00:00
George Lee
1050ecb28b bcl: Increase hardware clock divider count am: 022020ed96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Change-Id: Id55132e28a32075d5d7df03119c14fdf5307d4dc
2022-03-02 02:56:39 +00:00
Ankit Goyal
0577abfb00 Include allocator AIDL service in the build am: 9a57dded37 am: f80792437a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16982875

Change-Id: If9f0531bd0bd256ad10dbae3d42392e6ae50316e
2022-03-02 02:45:38 +00:00
George Lee
022020ed96 bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I950fab2e3d70acd76b29f05acff8eec783a0546d
2022-03-02 02:36:56 +00:00
Ankit Goyal
522263b642 Include allocator AIDL service in the build am: 9a57dded37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16982875

Change-Id: I7332d4fe8388cff58784b422f4de4100b872b2e8
2022-03-02 02:25:41 +00:00
Ankit Goyal
f80792437a Include allocator AIDL service in the build am: 9a57dded37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16982875

Change-Id: I19e2aefe79b3cd119cb4426d2cc0d2629d4b7f3e
2022-03-02 02:24:25 +00:00
Ankit Goyal
9a57dded37 Include allocator AIDL service in the build
Bug: 220910504
Test: Boots to home
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I8a36ecb0525d52022e1c21363a998cb0321bde7b
2022-03-02 01:56:58 +00:00
Rick Yiu
db6721b258 Support SetProcessProfiles for vendor groups am: 4f3baf3b80 am: 2c0902379f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17033473

Change-Id: Iab515d5d10a02f85901e7fdb0363337576cf6cae
2022-03-01 07:37:02 +00:00
Rick Yiu
931a5b0dfd Support SetProcessProfiles for vendor groups am: 4f3baf3b80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17033473

Change-Id: Ia7eb98e9b791b5cd37d8127753435b8a4b9bcdf5
2022-03-01 07:14:25 +00:00
Rick Yiu
2c0902379f Support SetProcessProfiles for vendor groups am: 4f3baf3b80
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17033473

Change-Id: I086f6132a712c6f1388be94f1695644bca258202
2022-03-01 07:13:13 +00:00
Rick Yiu
4f3baf3b80 Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
(cherry picked from commit 72b0f768ee)
2022-03-01 04:23:36 +00:00
Rick Yiu
72b0f768ee Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
2022-03-01 04:16:27 +00:00
Edwin Tung
ee4ebe6185 gps: update gps driver 129.20.23.528102 am: be81c50641 am: 6389027517
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17005651

Change-Id: I4a7bf3f98c2831d3ce599acd202abfd02c55b1a5
2022-03-01 03:10:43 +00:00
Edwin Tung
8e1b038fce gps: update gps driver 129.20.23.528102 am: be81c50641
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17005651

Change-Id: I956978f10de0947b918e055f77c2bb7eba28d64d
2022-03-01 02:47:28 +00:00
Edwin Tung
6389027517 gps: update gps driver 129.20.23.528102 am: be81c50641
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17005651

Change-Id: I5f579d83e7ed54a2dd610ca4c7e413e7bd3013a8
2022-03-01 02:46:16 +00:00
Edwin Tung
be81c50641 gps: update gps driver 129.20.23.528102
Rescale DBH accuracy and add timestamp
Pick newest FLP location for LPPe DBH
Not to request DBH location for the non-emergency NI
Keep reqporting PPS in duty-cycle
Release SUPL wakelock while framework restart
Fix NI AGPS accuracy and hot start accuracy issue
Fix cts testRequestFlush issue
Fix gps crash issue
Fix re-calibration on the fly issue
Fix OnChip mode TTFF issue
Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220461118

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I6be87ae025495dd914d391905e288a2084a1393e
2022-03-01 02:16:47 +00:00
George Lee
ce27c0d216 [automerge] bcl: Increase hardware clock divider count 2p: 2f0d3bcc06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Bug: 221077697
Change-Id: I8d1101481bf4a6dc2655d378d31ca6e1579345e4
2022-02-26 21:33:43 +00:00
George Lee
2f0d3bcc06 bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I950fab2e3d70acd76b29f05acff8eec783a0546d
2022-02-26 13:33:23 -08:00
Edwin Tung
ef6f5b315f [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528102 am: 6a2550a324 -s ours am: e59391675b -s ours am: e875a99946 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I23a544f9e0a77ed71fb762e409103fa787c5c44c
2022-02-26 08:22:51 +00:00
Edwin Tung
af7abdbee0 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528102 am: 6a2550a324 -s ours am: e59391675b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3caa67883a193eae71474c7f2be7af914ced518d
2022-02-26 08:02:16 +00:00
Edwin Tung
e875a99946 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528102 am: 6a2550a324 -s ours am: e59391675b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4ed53cd5aad9f76a2634f77c4a43c2fcc4d1c878
2022-02-26 08:01:07 +00:00
Edwin Tung
e59391675b [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528102 am: 6a2550a324 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibed6ad3c55834eb0f91d959730cc9a90a5c98ccc
2022-02-26 07:41:21 +00:00
Edwin Tung
6a2550a324 [DO NOT MERGE] gps: update gps driver 129.20.23.528102
Rescale DBH accuracy and add timestamp
Pick newest FLP location for LPPe DBH
Not to request DBH location for the non-emergency NI
Keep reqporting PPS in duty-cycle
Release SUPL wakelock while framework restart
Fix NI AGPS accuracy and hot start accuracy issue
Fix cts testRequestFlush issue
Fix gps crash issue
Fix re-calibration on the fly issue
Fix OnChip mode TTFF issue
Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220461118

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I939183a899c23af7d0fb59dcd86012aa10b50b62
2022-02-26 07:17:52 +00:00
Badhri Jagan Sridharan
2b33b1127f Implement callbacks for limitPowerTransfer am: 31fb891398 am: d971f75140
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17008642

Change-Id: Ib02f49daeb8bc7d9d55962d11922fd3619f3bead
2022-02-25 22:22:42 +00:00
Badhri Jagan Sridharan
d971f75140 Implement callbacks for limitPowerTransfer am: 31fb891398
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17008642

Change-Id: I08a3f3159b04862b751847b8da84b8249fb5d5e9
2022-02-25 21:59:30 +00:00
Badhri Jagan Sridharan
4e23c76298 Implement callbacks for limitPowerTransfer am: 31fb891398
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17008642

Change-Id: Id589cc66f5e98768cfcfeacf8197e761fef9945f
2022-02-25 21:59:19 +00:00
Badhri Jagan Sridharan
31fb891398 Implement callbacks for limitPowerTransfer
Implements limiting the source current when limitPowerTransfer
is invoked.

Bug: 200993386
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: Ia34dc127c1eb20254caa932db882e26e6092b945
2022-02-25 21:31:46 +00:00
Alessio Balsini
58c99e300f Revert "Use FUSE BPF by default" am: a6530a8bf6 am: cdedb2b72f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17013775

Change-Id: I6797ec7bdff14e74973f906013811fa6dd40a341
2022-02-25 20:47:05 +00:00
TreeHugger Robot
b7ad6f136e Merge changes from topic "fuse-bpf-P6" into tm-mainline-prod am: 989d3552d5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17013775

Change-Id: I04fb365857afdbbc965e040579694fa6068334bf
2022-02-25 20:44:34 +00:00
TeYuan Wang
f55bf3fe31 dumpstate: add more cooling device debug info am: 775721627a am: e75b039c88 am: 3d663b247e am: eb18818b8e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: I8e867c316fcef459c67c2a1bdabedc0e684f6139
2022-02-25 20:43:19 +00:00
Alessio Balsini
cdedb2b72f Revert "Use FUSE BPF by default" am: a6530a8bf6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17013775

Change-Id: I958cb109195cb4c9479c1d0b8fa54d56fa898905
2022-02-25 20:41:03 +00:00
TeYuan Wang
b25d4253ca [automerge] dumpstate: add more cooling device debug info 2p: 66f3f5b10e am: 43616f9959 am: 355788d687 am: 5d3ca56008
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: Id1ae31ac43f68009e9eca1e8081247daf1007f2e
2022-02-25 20:37:12 +00:00
Alessio Balsini
a73c794027 Revert "Use FUSE BPF by default" am: a6530a8bf6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17013775

Change-Id: If69f732b367ab155a2b796d50b7eb4f9839130e3
2022-02-25 20:30:16 +00:00
TeYuan Wang
d7a6b6d494 dumpstate: add more cooling device debug info am: 775721627a am: e75b039c88 am: 3d663b247e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: Ib79b40f5ea6cb72eca2a63962d1ccc3b019db326
2022-02-25 20:21:01 +00:00
TeYuan Wang
b763b66df4 [automerge] dumpstate: add more cooling device debug info 2p: 66f3f5b10e am: 43616f9959 am: 355788d687
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: Id4f4a120ad36d454ea595d2efe4aa625a4c476a1
2022-02-25 20:15:32 +00:00
Alessio Balsini
a6530a8bf6 Revert "Use FUSE BPF by default"
This reverts commit fb8a0383e3.

Reason for revert: b/221093504

Change-Id: I808f9dd315ec7b57916385c64435808d3467a244
2022-02-25 20:11:45 +00:00
TreeHugger Robot
989d3552d5 Merge changes from topic "fuse-bpf-P6" into tm-mainline-prod
* changes:
  Revert "Use FUSE BPF by default"
  [automerge] Revert "Use FUSE BPF by default" 2p: 236b740ec1
2022-02-25 20:11:45 +00:00
TeYuan Wang
eb18818b8e dumpstate: add more cooling device debug info am: 775721627a am: e75b039c88 am: 3d663b247e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: Iecebb208b2f97ce46ac98cffa3ae6921960a6def
2022-02-25 17:48:43 +00:00
TeYuan Wang
5d3ca56008 [automerge] dumpstate: add more cooling device debug info 2p: 66f3f5b10e am: 43616f9959 am: 355788d687
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: I070becd1929eeb77c156b34b484358e575aa99fc
2022-02-25 17:48:31 +00:00
TeYuan Wang
3d663b247e dumpstate: add more cooling device debug info am: 775721627a am: e75b039c88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: I637f6ad6170cff9ce072c6423e6b07fa329acc4e
2022-02-25 17:25:48 +00:00
TeYuan Wang
355788d687 [automerge] dumpstate: add more cooling device debug info 2p: 66f3f5b10e am: 43616f9959
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: I4a74c2e3ff82caf66d60ed0d5bb63b7e861795c4
2022-02-25 17:25:40 +00:00
TeYuan Wang
e75b039c88 dumpstate: add more cooling device debug info am: 775721627a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: Ie655d3e02e9aa2286323e8cc54d8dce9aee471a6
2022-02-25 17:25:31 +00:00
TeYuan Wang
775721627a dumpstate: add more cooling device debug info
Bug: 221369360
Test: check dumpstate_board.txt
Change-Id: Ice04536c321d35553a948cdea2e6a1add207c2c7
(cherry picked from commit 125d1d5833)
2022-02-25 16:52:59 +00:00
TeYuan Wang
43616f9959 [automerge] dumpstate: add more cooling device debug info 2p: 66f3f5b10e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Bug: 221369360
Change-Id: I07c5bd6ef4c7a9b445d959f894c8600f51cd69a8
2022-02-25 16:49:42 +00:00
TeYuan Wang
66f3f5b10e dumpstate: add more cooling device debug info
Bug: 221369360
Test: check dumpstate_board.txt
Change-Id: Ice04536c321d35553a948cdea2e6a1add207c2c7
(cherry picked from commit 125d1d5833)
2022-02-25 16:49:34 +00:00
Alessio Balsini
802ec76d81 [automerge] Revert "Use FUSE BPF by default" 2p: 236b740ec1 2p: d20a8ac044
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17013775

Change-Id: I44a695c68b0ee81e0d13268af48c922743d8857f
2022-02-25 16:29:11 +00:00
Alessio Balsini
d20a8ac044 [automerge] Revert "Use FUSE BPF by default" 2p: 236b740ec1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17013775

Change-Id: I793af0153973408de14cee858576e91fb5c3e218
2022-02-25 16:29:03 +00:00
Alessio Balsini
236b740ec1 Revert "Use FUSE BPF by default"
This reverts commit fb8a0383e3.

Reason for revert: b/221093504

Change-Id: I808f9dd315ec7b57916385c64435808d3467a244
2022-02-25 16:28:54 +00:00
Minchan Kim
e09098ee34 init: gs101: improve first cma allocation latency for faceauth
When the system boot, migrate big mapped movable pages created by
Android boot sequence(e.g., zygote) out of cma to improve first cma
allocation. The test with cma trace shows cma allocation reduction
from 136ms to 25ms.

Test: atest com.google.android.camera.pts.SecurePreviewTest with cma
trace
Bug: 218731671
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Iaa2a2f8c0c3256face3ce9cd21fa4acd6fb531ea
2022-02-24 21:54:57 +00:00
Edwin Tung
7ff2746e0a [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528152 am: 623a33b4d4 -s ours am: e38f23f397 -s ours am: e0c7482bbb -s ours am: a204313171 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibf7bd0b3093ff0734a2bf689479f7f5ec6a1b9a8
2022-02-24 18:38:37 +00:00