Commit graph

11403 commits

Author SHA1 Message Date
Sung-fang Tsai
17bd4bb4e7 Add GCA_CAMERA_SHOT power hint. am: 9591cc3322 am: 0367a03d28 am: 3d18c1ba2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771

Change-Id: Ib947ddc14d6f46eb04e3fa1218873b4f9d17b60e
2021-06-13 12:18:38 +00:00
Sung-fang Tsai
8b4b6acb0d Add GCA_CAMERA_SHOT power hint. am: 9591cc3322 am: 0367a03d28
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771

Change-Id: I1460bece7310269f9806f34c51e2a57c111d4444
2021-06-13 11:55:29 +00:00
Sung-fang Tsai
249402cd55 Add GCA_CAMERA_SHOT power hint. am: 9591cc3322
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14689771

Change-Id: I96e1d64cb86ae49441902081281bb72b0eb197c2
2021-06-13 11:45:04 +00:00
Sung-fang Tsai
27528a54d8 Add GCA_CAMERA_SHOT power hint.
GCA need intensive processing for camera shot and need to tune the
system performance to speed up the processing time. Adds
GCA_CAMERA_SHOT_{BIGCPU/BIGMIDCPU/ALLCPU} power hints to enable GCA to do
adequate power hint for this situation.

Bug: 187373665
Test: On device with GCA: b/187373665#comment8 with forrest.
Change-Id: Ife75e52a60de4d67369280998b193fe3ca7f8173
2021-06-13 09:30:22 +00:00
Richard Hsu
7d405598c1 Merge "[BugFix] SEPolicy for libedgetpu_darwinn2.so logging to stats service" into sc-dev am: 753e62f39c am: 4eb4b8c73c am: db24463bc5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14555068

Change-Id: Ie3ad3239e8e24ddf34f1f24285bea923b032900d
2021-06-13 06:57:03 +00:00
Richard Hsu
be99d7ed77 Merge "[BugFix] SEPolicy for libedgetpu_darwinn2.so logging to stats service" into sc-dev am: 753e62f39c am: 64d8da84f2 am: 63e64193ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14555068

Change-Id: Ie26a3d35465e1f6f7e1875a8a46194d4bf4ad572
2021-06-13 06:56:51 +00:00
Richard Hsu
db24463bc5 Merge "[BugFix] SEPolicy for libedgetpu_darwinn2.so logging to stats service" into sc-dev am: 753e62f39c am: 4eb4b8c73c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14555068

Change-Id: I9e4fc6b9d1f7fb63e51b82c0aca4fd78340adfbe
2021-06-13 06:40:41 +00:00
Richard Hsu
63e64193ea Merge "[BugFix] SEPolicy for libedgetpu_darwinn2.so logging to stats service" into sc-dev am: 753e62f39c am: 64d8da84f2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14555068

Change-Id: I064464c0e3dbdb8efebb3032dccfd70cb13177b1
2021-06-13 06:40:20 +00:00
Richard Hsu
64d8da84f2 Merge "[BugFix] SEPolicy for libedgetpu_darwinn2.so logging to stats service" into sc-dev am: 753e62f39c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14555068

Change-Id: Ie75eea82a16cd39cc56a015c96896a4fcd398138
2021-06-13 06:24:40 +00:00
Richard Hsu
4eb4b8c73c Merge "[BugFix] SEPolicy for libedgetpu_darwinn2.so logging to stats service" into sc-dev am: 753e62f39c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14555068

Change-Id: If0cd3732513d21503d31cd8f9f10756305c33c5c
2021-06-13 06:23:48 +00:00
Richard Hsu
753e62f39c Merge "[BugFix] SEPolicy for libedgetpu_darwinn2.so logging to stats service" into sc-dev 2021-06-13 06:11:41 +00:00
Kelly Rossmoyer
103f721941 Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3 am: 91a6cecba5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609

Change-Id: Ib4c1fe0a9640be099aea6b0df67b51c7cd061540
2021-06-13 01:17:48 +00:00
Kelly Rossmoyer
a4fdba4ad5 Adaptive Suspend: configure first param set am: 3f428fafe4 am: 6a50ca3ab3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609

Change-Id: Ib5c81618db34a0bb93e1fca9d15eacbb28236813
2021-06-13 01:04:26 +00:00
Kelly Rossmoyer
432bd7173d Adaptive Suspend: configure first param set am: 3f428fafe4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914609

Change-Id: I129c2612cebde4e10d44d224d84ab32ea6182864
2021-06-13 00:51:24 +00:00
Kelly Rossmoyer
eba0f4ff66 Adaptive Suspend: configure first param set
This CL configures the first set of experimental parameters for Adaptive
Suspend on targeted devices, including:
* dropping the max backoff from default 60 seconds down to 40
* changing the break-even threshold from 5 seconds (which was just for
  collecting data) to 2
* enabling backoff on short suspends

BUG: 171433995
Test: ran on test device and observed suspend behavior
Change-Id: Icebf50aeade713591f1641664df11570d184d352
2021-06-13 00:34:09 +00:00
Jayachandran Chinnakkannu
b2cb30fdde Merge "Allow telephony to access the file descriptor of the priv_apps tcp_socket" into sc-dev am: 1c130a7e1d am: 26bcc88a9b am: c6218c4afe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14950196

Change-Id: I8d52fd72511f2e0c7abbdc78b71c1509fecba023
2021-06-12 18:00:01 +00:00
Jayachandran Chinnakkannu
1a8c6c973d Merge "Allow telephony to access the file descriptor of the priv_apps tcp_socket" into sc-dev am: 1c130a7e1d am: 40c2dd6b2e am: 8d0bcc93e1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14950196

Change-Id: I5981327ed69c12b9270f1cac988c85b2d93d6609
2021-06-12 17:59:28 +00:00
Jayachandran Chinnakkannu
c6218c4afe Merge "Allow telephony to access the file descriptor of the priv_apps tcp_socket" into sc-dev am: 1c130a7e1d am: 26bcc88a9b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14950196

Change-Id: I05a6717e8e1368e248cec936ebaa0a8edf7dd1b3
2021-06-12 17:45:19 +00:00
Jayachandran Chinnakkannu
8d0bcc93e1 Merge "Allow telephony to access the file descriptor of the priv_apps tcp_socket" into sc-dev am: 1c130a7e1d am: 40c2dd6b2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14950196

Change-Id: Ibdde5f144fff98c1bd52b08e57f2bb0909b45550
2021-06-12 17:44:58 +00:00
Jayachandran Chinnakkannu
40c2dd6b2e Merge "Allow telephony to access the file descriptor of the priv_apps tcp_socket" into sc-dev am: 1c130a7e1d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14950196

Change-Id: Ic723bb2542a94bb3c86d315a89f415eb962f6c39
2021-06-12 17:31:26 +00:00
Jayachandran Chinnakkannu
26bcc88a9b Merge "Allow telephony to access the file descriptor of the priv_apps tcp_socket" into sc-dev am: 1c130a7e1d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14950196

Change-Id: Id9b9f74bf5caf34af4aad329e0ea3b4ee544146f
2021-06-12 17:30:37 +00:00
Jayachandran Chinnakkannu
1c130a7e1d Merge "Allow telephony to access the file descriptor of the priv_apps tcp_socket" into sc-dev 2021-06-12 17:19:33 +00:00
TreeHugger Robot
6d84ffcd26 Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev am: 694694857a am: c5d2eaeccb am: 7bddc387cb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14692156

Change-Id: I4ac581e076d29dc6107c76969b8d155942450f54
2021-06-12 11:01:11 +00:00
Kris Chen
4e3de80e9e Add sepolicy to let fingerprint access power service am: 7db400b679 am: 5991ab5ba7 am: 293194f612
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14665430

Change-Id: Ib0068381e4d66ed92bea00999b71d5aed19807c9
2021-06-12 10:57:13 +00:00
TreeHugger Robot
922f9fe9f4 Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev am: 694694857a am: a45a1ffc4d am: 35d0c523a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14692156

Change-Id: I7ec41dd15653e1692873ffa81b9a1559365077ce
2021-06-12 10:52:58 +00:00
Kris Chen
8de9ffcfee Add power hint for fingerprint am: 68928345aa am: 169ed7c55e am: 476dfccd63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997

Change-Id: I29318adde11f2e07636df60845386529868a61d4
2021-06-12 10:52:48 +00:00
Kris Chen
65d63122cd Add sepolicy to let fingerprint access power service am: 7db400b679 am: 89a68b0fac am: 1c6b824cd7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14665430

Change-Id: Ib89db503fb1b0939c8bd937c9656a9f283efba16
2021-06-12 10:52:48 +00:00
TreeHugger Robot
7bddc387cb Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev am: 694694857a am: c5d2eaeccb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14692156

Change-Id: I538a39764babaedab979782ca23cf8ad7531004b
2021-06-12 10:41:47 +00:00
Kris Chen
293194f612 Add sepolicy to let fingerprint access power service am: 7db400b679 am: 5991ab5ba7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14665430

Change-Id: I24c9c4dbc29c21e382f76e47c28c57715b1e309f
2021-06-12 10:41:38 +00:00
TreeHugger Robot
35d0c523a6 Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev am: 694694857a am: a45a1ffc4d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14692156

Change-Id: I034ae5e1c48a494405aaf915419af0c16cb628c2
2021-06-12 10:41:11 +00:00
Kris Chen
1c6b824cd7 Add sepolicy to let fingerprint access power service am: 7db400b679 am: 89a68b0fac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14665430

Change-Id: I78e827879c32515678288eee944b0b9f5e66c8ad
2021-06-12 10:41:01 +00:00
Kris Chen
70d989f79f Add power hint for fingerprint am: 68928345aa am: 169ed7c55e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997

Change-Id: I473e9c609b70ed899bebc5557d93cbdc67fffdd8
2021-06-12 10:41:00 +00:00
TreeHugger Robot
a45a1ffc4d Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev am: 694694857a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14692156

Change-Id: I2bc53103a317ac5e19642fb7bb8fe0586aab81dd
2021-06-12 10:28:06 +00:00
Kris Chen
793d8c77c0 Add power hint for fingerprint am: 68928345aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661997

Change-Id: I7a7f622131e54d8ab078b77a5ba6f94b2276ab4a
2021-06-12 10:27:56 +00:00
Kris Chen
89a68b0fac Add sepolicy to let fingerprint access power service am: 7db400b679
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14665430

Change-Id: Ieb52fb6f5ee68d0155f9acacda9853757fed4200
2021-06-12 10:27:55 +00:00
TreeHugger Robot
c5d2eaeccb Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev am: 694694857a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14692156

Change-Id: Idc40fc74a562912a8ee35b8db966c88421778949
2021-06-12 10:27:15 +00:00
Kris Chen
5991ab5ba7 Add sepolicy to let fingerprint access power service am: 7db400b679
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14665430

Change-Id: Id2d4cb0874a39145561fc6deb825a25ec40162d8
2021-06-12 10:27:04 +00:00
TreeHugger Robot
694694857a Merge "qllow priv-app to access Pixel power HAL extension." into sc-dev 2021-06-12 10:22:24 +00:00
Kris Chen
71391a0cec Add power hint for fingerprint
Boost frequency of CPUBigCluster when running fingerprint algorithm.

Bug: 185893477
Test: Observe from systrace that the CPU frequency is boosted when
      running fingerprint algorithm.
Change-Id: I9e8e727a61f9a2679fc2a00d6e2a1dd4a6c9de99
2021-06-12 10:08:33 +00:00
Jimmy Shiu
9eed5dbf3b Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 2ad6bc679c am: ca31c5ef61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571

Change-Id: I4d25d42f5293ed160eba9368894df2c12b73dded
2021-06-12 06:48:57 +00:00
Jimmy Shiu
8a4a6592dd Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: fcb45d98d2 am: 166aec4aa3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955

Change-Id: Ibb1437a802a9448d3e238fe2daf4578bae23fed7
2021-06-12 06:48:56 +00:00
Jimmy Shiu
9d9ecc0238 Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 5645711e11 am: d428ab22af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571

Change-Id: I4c25e6ce1626d57629ecefd99592026960579d17
2021-06-12 06:48:48 +00:00
Jimmy Shiu
1ddc03705a Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: bee8e3f68c am: 62d5e78b44
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955

Change-Id: I4dfcb1e5bdae1297b4eabae4cc8cc337d3a3ac40
2021-06-12 06:48:46 +00:00
Jimmy Shiu
48b0adf4db Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 2ad6bc679c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571

Change-Id: I1f7c960e5f2aedb7e24d2de634a088e42c88217e
2021-06-12 06:36:40 +00:00
Jimmy Shiu
dcb3981a1f Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: fcb45d98d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955

Change-Id: I46c59053ffef93c8b2d95981fc260dcddf47db50
2021-06-12 06:36:39 +00:00
Jimmy Shiu
37f2edf8cb Remove little core hard freq boost for the INTERACTION am: bfe7388900 am: 5645711e11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571

Change-Id: I4d9051937599cb45a1a4a934b7e6d49e842c9145
2021-06-12 06:36:18 +00:00
Jimmy Shiu
08e74ac243 Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563 am: bee8e3f68c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955

Change-Id: I967fc779cb0e39819668d7e3d70a0bcdd9a5c7df
2021-06-12 06:36:17 +00:00
Jimmy Shiu
329a3823d4 Remove little core hard freq boost for the INTERACTION am: bfe7388900
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14844571

Change-Id: I04ccf1fa5afd618ba3645bfcbcc1e0d6bd88f3b9
2021-06-12 06:19:09 +00:00
Jimmy Shiu
75cd4fc660 Enable SF main thread boost with uclamp.min=30 am: 8e9f11f563
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914955

Change-Id: I4c1220974d09c175cd9d18d3fc5d7598336a0c4f
2021-06-12 06:19:08 +00:00
Jimmy Shiu
c87b3df93e Remove little core hard freq boost for the INTERACTION
Set SF uclamp.min instead of a min floor

Bug: 190145608
Test: Manual Test
Change-Id: Ie54be008739ea2555fcf8eb7878593d4bdddb89b
2021-06-12 06:05:29 +00:00