Commit graph

1032 commits

Author SHA1 Message Date
Wei Wang
bdac2ed0b5 Boost SF when interaction hint is active. am: 481496a279 am: 36d84c2279
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15267397

Change-Id: Ibb47373bfb0fb5911298b8c7886d3ca144995b7c
2021-07-14 06:48:12 +00:00
Wei Wang
174fd1d402 Boost SF when interaction hint is active. am: 481496a279
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15267397

Change-Id: I3f3104579b1bc88bd23b87bab6cfcaddc8dd5b94
2021-07-14 06:39:08 +00:00
Wei Wang
30393266aa Boost SF when interaction hint is active.
We have seen cases SF main thread running longer occasionally which may
run in danger of missing frames. This CL lifts cpufreq for SF when touch
boost is active to compensate the sudden jump of its cpu demand.

Bug: 192099706
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I49b2d589249f60a38eab907afbadfbcfdd233d1c
2021-07-14 06:18:59 +00:00
Kyle Lin
8af7de8088 config.xml: pin SurfaceFlinger am: f1166df117 am: df2c322469
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261962

Change-Id: I3bd8b8d3cdef34cab1f382b428213ca330913195
2021-07-13 23:02:53 +00:00
Kyle Lin
0cb8330019 config.xml: pin SurfaceFlinger am: f1166df117 am: 9848bfd02d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261962

Change-Id: Ib4c612482e080597effe6a0c156abbb46f381432
2021-07-13 22:59:10 +00:00
Kyle Lin
1e42015062 config.xml: pin SurfaceFlinger am: f1166df117
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261962

Change-Id: I87469f407718cc2bd0c3a7f66f7b5f545b48e662
2021-07-13 22:46:00 +00:00
Kyle Lin
d1a9bedcfe config.xml: pin SurfaceFlinger
as ag/13364183, system_service needs read access SurfaceFlinger.
Pin it by pinner when booting.

Bug: 193442970
Test: adb shell dumpsys pinner
 - SurfaceFlinger pinned
 --
    /system/bin/surfaceflinger 7028736
 --

Change-Id: I2cae8f87a09b4871cf967fe8a3c01fb9015d58cb
2021-07-13 22:34:30 +00:00
Petri Gynther
baa7a852ab gs101: use prebuilt GKI boot.img for production builds am: 63ba0cb1af am: 2b1a60bbcc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180030

Change-Id: I6c68f86fb84eaf68c86c0e1019f8efb941e54d9f
2021-07-13 21:16:39 +00:00
Petri Gynther
381f1a74c6 gs101: use prebuilt GKI boot.img for production builds am: 63ba0cb1af am: 5c79c1ecf9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180030

Change-Id: Ife0a57e81d14f166aa3f77f93a5b78245f348058
2021-07-13 21:16:00 +00:00
Petri Gynther
432afef0f9 gs101: use prebuilt GKI boot.img for production builds am: 63ba0cb1af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15180030

Change-Id: I4910852bd9ce756137fb620165d50a0e10355603
2021-07-13 20:58:36 +00:00
Petri Gynther
7eec55ab4e gs101: use prebuilt GKI boot.img for production builds
Use prebuilt GKI boot.img for production builds.
Debug builds continue to use their own Image.lz4.

Bug: 191764119
Change-Id: I2b4950ce334cc990e858e0ea410ad7e57d6decf6
2021-07-13 20:42:08 +00:00
Xue Tu
553b5bb0ed Add "vendor.android.hardware.camera.preview-dis" feature am: 0eea6756b6 am: c9b956fd7c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15264251

Change-Id: I1a3ec1c90f17fde219f634222a4cad3ee93d5fd8
2021-07-13 18:52:30 +00:00
Xue Tu
586f0a41ec Add "vendor.android.hardware.camera.preview-dis" feature am: 0eea6756b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15264251

Change-Id: I8cb988ccfa16c28b3ac3df0c2243aa750dc3d544
2021-07-13 18:28:32 +00:00
Xue Tu
f55757983b Add "vendor.android.hardware.camera.preview-dis" feature
Bug: 189961678

Test: adb shell dumpsys
Change-Id: I72d2b3a347f048250117b25fee66e91ca8411057
2021-07-13 18:08:05 +00:00
Tyler Gunn
a1a441c19e Disable TTY as it is not supported on these devices. am: ce6f6da158 am: 8a2c487aa4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15263454

Change-Id: I778625cc123e29e7613bddd4ca02710538d62f2b
2021-07-13 17:26:52 +00:00
Tyler Gunn
238cca4d95 Disable TTY as it is not supported on these devices. am: ce6f6da158
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15263454

Change-Id: I50b3728cf49c253d3511142277ce2183b841d192
2021-07-13 17:10:20 +00:00
Tyler Gunn
365fcfdbac Disable TTY as it is not supported on these devices.
Test: Compile target and verify accessibility settings does not have
TTY option.
Bug: 191983369

Change-Id: I62e59ea39fccb14a8bf882a1b50934fcd4446784
2021-07-13 16:47:44 +00:00
Stephane Lee
a8160cdcf9 Add DC Charging/Temp defend clear to server configurable parameters; ensure sysfs node is writable am: 47dad1c045 am: 0b8ba2a29b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15193536

Change-Id: I46d6f9a44e6841342cea847689ac4d1ab5a21ca7
2021-07-13 08:47:36 +00:00
Stephane Lee
3899da706e Add DC Charging/Temp defend clear to server configurable parameters; ensure sysfs node is writable am: 47dad1c045
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15193536

Change-Id: Ie9cd9b9a52b0794a5432cfa822f29c2ba30b9aed
2021-07-13 08:34:22 +00:00
Stephane Lee
113bb9059a Add DC Charging/Temp defend clear to server configurable parameters; ensure sysfs node is writable
Test: Ensure there are no errors on logcat | grep google_battery@
Bug: 183772980
Bug: 192921867
Change-Id: Id55a6a1670cc0c46b787baec16efec8c0bb4521d
2021-07-12 13:27:54 -07:00
Shawn Willden
0fd91e47c9 Set boot security patch level for gs101 am: 90177c1d89 am: 4bb871f9aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261350

Change-Id: I656aebd95d5e101e186f75e41796a1634d953125
2021-07-12 20:26:52 +00:00
Shawn Willden
acd6ce40f2 Set boot security patch level for gs101 am: 90177c1d89 am: 810a153036
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261350

Change-Id: I13ef3a48606d60dead61d8c06d04836921936eff
2021-07-12 20:15:42 +00:00
Shawn Willden
2bf2970745 Set boot security patch level for gs101 am: 90177c1d89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15261350

Change-Id: I6afec07b10f3ff9c5ecf1ee152704f23e16a526c
2021-07-12 19:48:51 +00:00
Shawn Willden
baa3bf3801 Set boot security patch level for gs101
Bug: 193423844
Test: Build and see if the AVB property has the field
Change-Id: I44fdf4f58d41650d53ba2aac470232fa71c228bb
2021-07-12 19:31:29 +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
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
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
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
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
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
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
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
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