Commit graph

1438 commits

Author SHA1 Message Date
YiHo Cheng
6421f00239 thermal: Update neutral_therm trip point am: d2d4277099 am: 5f55b1ee1b am: 175aa91fb5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15258563

Change-Id: I021d04ca57240481482585a8fa7e7099be5e0e84
2021-07-12 16:15:14 +00:00
Long Ling
6bbec7a781 init: update sysfs early_wake attribute am: 04ab31fc67 am: 7514a93f6a am: e1e0f6e17e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14969482

Change-Id: I9f965c9923e558b7064ce8554cade664929b68a0
2021-07-12 16:14:47 +00:00
YiHo Cheng
6598361af2 thermal: Update neutral_therm trip point am: d2d4277099 am: 5f55b1ee1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15258563

Change-Id: I6fa64b9d3ad9f7c558c6ed2f581d779ae4e10a7f
2021-07-12 15:50:42 +00:00
Long Ling
ca0938ba32 init: update sysfs early_wake attribute am: 04ab31fc67 am: 7514a93f6a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14969482

Change-Id: Ib9f39d07f2bec4434b55fc2c69e33368d273c563
2021-07-12 15:50:27 +00:00
YiHo Cheng
21f322efb9 thermal: Update neutral_therm trip point am: d2d4277099
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15258563

Change-Id: Id0b759232be4253b2db53666235b51cfa741472f
2021-07-12 15:33:22 +00:00
Long Ling
77fd8be577 init: update sysfs early_wake attribute am: 04ab31fc67
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14969482

Change-Id: I2be581e012f1651531886ac61a666cfc53e190de
2021-07-12 15:33:04 +00:00
YiHo Cheng
e90e9f58bf thermal: Update neutral_therm trip point
Allow to thermalhal to update trip points for neutral_therm which is the
triggering sensor of virtual skin sensor for o6 proto.

Bug: 193373779
Test: neutral_therm can be updated to the correct threshold
Change-Id: I16dcd44ce9e69f456df322664756dc74357bf50b
2021-07-12 15:25:37 +00:00
Long Ling
7983b026c6 init: update sysfs early_wake attribute
Allow HWC to modfiy early_wakeup

Bug: 187763532
Change-Id: If3b6e664bf510895aae06ba3cac2620c267d6a60
2021-07-12 15:14:59 +00:00
Jerry Huang
ed345107d7 gs101: Fine tune media_codecs_performance_c2.xml am: fb073e2488 am: 99659458a3 am: 914fe6d33f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242258

Change-Id: I97985d58da2d5d4963e4bc3cf27dad9147b58052
2021-07-12 13:50:00 +00:00
Jerry Huang
637b8eeab9 gs101: Fine tune media_codecs_performance_c2.xml am: fb073e2488 am: 99659458a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242258

Change-Id: Ie2c7423029e4642cb0103b05041ec7721de8f4f0
2021-07-12 13:41:21 +00:00
Jerry Huang
eef1f97b3b gs101: Fine tune media_codecs_performance_c2.xml am: fb073e2488
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242258

Change-Id: I93b6b07f5e64c64ae047bd55838a041bc7274c6e
2021-07-12 13:27:08 +00:00
Jerry Huang
3b0aae52c4 gs101: Fine tune media_codecs_performance_c2.xml
Update stable performance point for O6/R4

Bug: 185454126
Test: android.video.cts.VideoEncoderDecoderTest
Change-Id: I3890e5dd3a10894e1da18fb5c12df9b7d3d1a916
2021-07-12 13:14:37 +00:00
Siddharth Kapoor
d23faf3acd Move launcher prop from vendor to system am: d9617218f4 am: 8ae7be4665 am: fad39ea869
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15219913

Change-Id: I9f1d0e126475fe5e67dc5f5f6c00d4c6b3f1f383
2021-07-12 05:21:08 +00:00
Siddharth Kapoor
4c546524d5 Move launcher prop from vendor to system am: d9617218f4 am: 8ae7be4665
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15219913

Change-Id: Ib9a7338cd1965f00f98f54a21b090ff681b5e0e2
2021-07-12 05:08:47 +00:00
Siddharth Kapoor
8257027dcf Move launcher prop from vendor to system am: d9617218f4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15219913

Change-Id: I52c3720e0a4524f1884d8644d6ae028779775fad
2021-07-12 04:50:34 +00:00
Siddharth Kapoor
41e6e14ee0 Move launcher prop from vendor to system
Launcher prop needs to be accessed in system partition only,
hence move the related prop to /system/build.prop

Bug: 192621663
Test: ro.launcher.blur.appLaunch prop is set correctly,
  and Blurs are disabled on App launch.
Change-Id: I6721d59498c5d35dfd560f429b8aed7a01ac29fc
2021-07-12 04:36:34 +00:00
Bob Badour
0a595e84fe [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: e0321d50e2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15247470

Change-Id: Id4c4897c608e110a8d6a53070ccdc4cce3cd8d5b
2021-07-10 00:54:46 +00:00
Harpreet Eli Sangha
2d531f5ea5 Re-Enable UWB Feature
Bug: 193084134
Test: Build and Boot
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I2f30a8eaf4a0b5bc95214b4478ef8f3d69b21e08
2021-07-09 22:58:15 +00:00
Bob Badour
a65e098848 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101
Added SPDX-license-identifier-Apache-2.0 to:
  fingerprint/fpc1540/fp_tool/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I0651b1bd4539f51cf09f61992a574784edfdccd1
2021-07-09 15:57:48 -07:00
Michael Eastwood
e5c330f321 Attach the latest .cpa file collected due to a high drop rate to bugreports. am: 7284be3847 am: e81b17b142 am: 4044b5d8c2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15244428

Change-Id: I327471ac688215aa8c6363a9205c2b00932d2ad0
2021-07-09 17:56:28 +00:00
Michael Eastwood
a98eb9d8b6 Attach the latest .cpa file collected due to a high drop rate to bugreports. am: 7284be3847 am: e81b17b142
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15244428

Change-Id: I137338577df86c9b3a3d69f71189b4b0e0c05874
2021-07-09 17:40:11 +00:00
Michael Eastwood
f6050479d5 Attach the latest .cpa file collected due to a high drop rate to bugreports. am: 7284be3847
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15244428

Change-Id: I94e0c57b350e08e4342fecd12e106d89446cf843
2021-07-09 17:26:36 +00:00
Michael Eastwood
a055434b5f Attach the latest .cpa file to bugreports. am: 78d3928543 am: cb6bdc1e33 am: f39a601218
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15241340

Change-Id: Ic1a98ea702de6d821c5d4e59e7513286d2107c6c
2021-07-09 15:59:44 +00:00
Michael Eastwood
a2daae2323 Attach the latest .cpa file to bugreports. am: 78d3928543 am: cb6bdc1e33
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15241340

Change-Id: Ic02935d4e5baa0bd0c97e38e1a22628b9d81a539
2021-07-09 15:45:19 +00:00
Michael Eastwood
ffa2b4b620 Attach the latest .cpa file collected due to a high drop rate to bugreports.
Bug: 191169822
Test: `adb bugreport`, unzip, `tar -xvf dumpstate_board.bin`, find
expected .cpa file

Change-Id: I8a16a594b738bbd7b985edcbac44f5451089f010
2021-07-09 08:42:13 -07:00
Michael Eastwood
75ebdc7e0b Attach the latest .cpa file to bugreports. am: 78d3928543
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15241340

Change-Id: I1ea3d27f927c6320413df2b86b9f7fed91caa380
2021-07-09 15:30:33 +00:00
Michael Eastwood
65e028b428 Attach the latest .cpa file to bugreports.
* Latest is determined by alphabetical order
* To find the .cpa file, unzip the bug report and run `tar -xvf dumpstate_board.bin`
* The .cpa file can then be found under the `camera/` directory
* This can be disabled with the prop `vendor.camera.debug.camera_performance_analyzer.attach_to_bugreport`

Bug: 191169822
Test: `adb bugreport`, unzip, `tar -xvf dumpstate_board.bin`, find expected .cpa file
Change-Id: Ie05e8d446588cebea46492b267491065161915a1
2021-07-09 15:18:01 +00:00
Kyle Tso
d9537a36e4 usb: Rename the config to "charger" in charger mode am: 9811d03930 am: 2fdcac43a2 am: 5e12a65209
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242252

Change-Id: I49c7c7278e8f59f2deca8ff5dd27881885ba045a
2021-07-09 11:29:35 +00:00
Kyle Tso
82ffd7988f usb: Rename the config to "charger" in charger mode am: 9811d03930 am: 21a397ad2e am: 7f78c7977f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242252

Change-Id: Ib426d2204bc1cb3ef38a297fb240646d65f912c4
2021-07-09 11:29:27 +00:00
Kyle Tso
06b90156ef usb: Rename the config to "charger" in charger mode am: 9811d03930 am: 2fdcac43a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242252

Change-Id: I7d5664d23342a0550d6c24fdac0bb0378ca3e457
2021-07-09 11:20:10 +00:00
Kyle Tso
f6cd139936 usb: Rename the config to "charger" in charger mode am: 9811d03930 am: 21a397ad2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242252

Change-Id: I434cc2e81fe97f6b8c34dac7ce2ccbda9616620c
2021-07-09 11:15:42 +00:00
Kyle Tso
8a4f3ed313 usb: Rename the config to "charger" in charger mode am: 9811d03930
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242252

Change-Id: Id3343f77bfaaa3c7f3b19512d2114d0bb609fa40
2021-07-09 11:00:49 +00:00
Kyle Tso
d5fa4a5534 usb: Rename the config to "charger" in charger mode
init.usb.configfs.rc has the same trigger condition of midi function.
Rename the config name to "charger" to avoid triggerring twice of the
midi function.

Bug: 188744218
Test: USB enumerated in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Ica112fb4be66356901f6d5f21b79b9e648d49f35
2021-07-09 10:22:02 +00:00
Matthew Markwell
0b09cbb80c Adding a power hint for face unlock. am: 0d0b768250 am: 98c70ed2bf am: f01be06fd7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180107

Change-Id: I8e54d9f23daa5ca926cfaa8783cb9d0fa69dcd11
2021-07-09 04:56:45 +00:00
Matthew Markwell
a2cf9912a0 Adding a power hint for face unlock. am: 0d0b768250 am: 816f846e20 am: a6a84b382b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180107

Change-Id: I14a4c6ab70ec8714b049e3af8c063b60175140b4
2021-07-09 04:56:29 +00:00
Matthew Markwell
53a6b7341e Adding a power hint for face unlock. am: 0d0b768250 am: 98c70ed2bf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180107

Change-Id: Iecf1d99e2e92285788bacb0d06b4c9cc62fd1312
2021-07-09 04:40:57 +00:00
Matthew Markwell
d285d563a5 Adding a power hint for face unlock. am: 0d0b768250 am: 816f846e20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180107

Change-Id: I0f75113bd2277ee659df94f801d8e9829d010d0f
2021-07-09 04:35:32 +00:00
Harpreet Eli Sangha
ba1b1abcae Disable UWB Feature am: e44a1eb9b5 am: 0c8c74829a am: ea8ee5ee64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15222047

Change-Id: I8d0157c40fd4f91516fbc16a0f36b71fe128826a
2021-07-09 04:24:16 +00:00
Matthew Markwell
0e0de01c43 Adding a power hint for face unlock. am: 0d0b768250
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180107

Change-Id: I3a49c5cb134ff3cf8462160051b8deda8832c3b6
2021-07-09 04:20:33 +00:00
Harpreet Eli Sangha
ed9ac762ad Disable UWB Feature am: e44a1eb9b5 am: 0c8c74829a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15222047

Change-Id: Id2bdaca6601580828fecb3266e6ce1027448050c
2021-07-09 04:11:06 +00:00
Matthew Markwell
5edd757a24 Adding a power hint for face unlock.
During Tuscany runs, the Camera HAL is requesting a CAMERA_LAUNCH power
hint, which runs big and small CPU clusters at FMAX for 1 second. This is
overkill for Tuscany, so we are requesting that the hint be removed.

Tuscany should only boost during the computationally expensive image
processing, and should stop boosting as soon as a decision is reached.

This CL adds a new power hint for Tuscany. The other CLs in this topic
use this hint to boost CPU frequency during the critical section of
Tuscany by adding a call from the FaceHAL to the PowerHAL.

Running camera open and camera close without CAMERA_LAUNCH hint saves a
measured ~1W of power. The common case for this boost in Tuscany will be
a few frames at ~60ms per frame, so much less than 1 second of boost.
The worst case scenario is falsing - no attempted unlock. We will allow
the hint to time out after 1 second in that case, but that case is less
common.

Measured latency improvement per-frame from running the CPU at FMAX is
~15ms per frame. Power measurements can be found at go/tuscany-power.

NOTE: This change will _reduce_ the power/battery impact of Tuscany by
boosting for a more precise window of time.

Bug: 190755782
Test: E2E testing, validating frequency in systrace.
Change-Id: Ibca2687d2dffa4e3d2d23a9a588a2eae0b225952
2021-07-09 04:05:28 +00:00
Harpreet Eli Sangha
d91948dbb6 Disable UWB Feature am: e44a1eb9b5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15222047

Change-Id: I22e959a23f78b619777f98eda975a4a542451cf9
2021-07-09 03:57:16 +00:00
Harpreet Eli Sangha
d5d1799a90 Disable UWB Feature
Bug: 193084128
Test: Build and Boot

Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I305a535654fabfbb24ade954372db1bb905465cc
2021-07-09 03:35:46 +00:00
Automerger Merge Worker
0e7b03bccb Merge "Remove gralloc3 support for gs101. am: 942c0fd2f3 am: 699c62c1ad" into sc-v2-dev-plus-aosp am: 915e7cec86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15194381

Change-Id: I5737f17aad0ab7c869f5573194cc022d72d34e61
2021-07-08 23:20:59 +00:00
Krzysztof Kosiński
8225bfdf79 Remove gralloc3 support for gs101. am: 942c0fd2f3 am: 019797e0dc am: 19f0e8e45d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15194381

Change-Id: I7d14aa4491ecf51b8452e32d3cc2425d90608efa
2021-07-08 23:19:58 +00:00
Automerger Merge Worker
b611722b5b Merge "Remove gralloc3 support for gs101. am: 942c0fd2f3 am: 699c62c1ad" into sc-v2-dev-plus-aosp 2021-07-08 23:02:08 +00:00
Krzysztof Kosiński
7daac932ef Remove gralloc3 support for gs101. am: 942c0fd2f3 am: 699c62c1ad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15194381

Change-Id: I4760f4effbb547e99837760107f2914ed76845b2
2021-07-08 23:00:53 +00:00
Krzysztof Kosiński
3e9607e1bc Remove gralloc3 support for gs101. am: 942c0fd2f3 am: 019797e0dc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15194381

Change-Id: I2e210ead54ae984ffe9b88f2c485355c52d72944
2021-07-08 22:59:59 +00:00
Krzysztof Kosiński
d65131b19f Remove gralloc3 support for gs101. am: 942c0fd2f3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15194381

Change-Id: I8d4cf240762f39ce3a5f3730a9c0e025d8427ece
2021-07-08 22:46:44 +00:00
Krzysztof Kosiński
74b7a2a871 Remove gralloc3 support for gs101.
All devices use gralloc4 now, so this code is unused.

Bug: 174998182
Test: builds for the affected devices
Change-Id: Icff36a0204f7f9fd10ae7269248aef8a08c5fc1e
2021-07-08 22:28:25 +00:00