Commit graph

1960 commits

Author SHA1 Message Date
Michael Eastwood
fe6dbce8df Attach more CPA traces to bug reports.
These are small, usually <1MB. Attaching more CPA traces gives us some
buffer to ensure that the relevant trace is actually included in the bug
report. Previously if the user opens one or two more camera sessions
after they observe the performance issue, the trace will be missing.

Bug: 191169822
Test: Build
Change-Id: I4c10217c39991e80f25a7fd90eee9e8b8c5b6cdb
2021-08-04 20:46:57 +00:00
Jiyong Park
1f32c9b801 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Change-Id: Iebc1c5d4c277e96cf7564d882aeecb084adc53ee
2021-08-04 15:46:15 +00:00
linjoey
6dc5baffb6 Change prebuild path to gs101 am: bbaa980102 am: 6f7e7dabe1 am: 8f51eac8a9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715562

Change-Id: I5c4f71d497e2355f069e6f5a2ddcdabf04462b00
2021-08-04 12:59:01 +00:00
linjoey
46652b4c48 Change prebuild path to gs101 am: bbaa980102 am: 6f7e7dabe1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715562

Change-Id: If1098f42a7c0ee42593583991fbe7f1b296df265
2021-08-04 12:44:10 +00:00
linjoey
5da7e91f8e Change prebuild path to gs101 am: bbaa980102
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715562

Change-Id: I40d178a9647e4ba105fabd9693ab2e94c8b350e8
2021-08-04 12:29:59 +00:00
Wayne Lin
c4f3e4ba1e gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism am: f70f24f95c am: deb3a3262e am: 6343cc4d14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15410791

Change-Id: Ie676d37f3f4c9a879b021afb8a7ae5c6aaa68f3a
2021-08-04 12:20:19 +00:00
linjoey
3097b78f95 Change prebuild path to gs101
Bug: 181204804
Test: Build passed and boot to home.

Change-Id: I4fdc6032ac16134de53675a5f00ee7e7765c7f32
SigSigned-off-by: linjoey <linjoey@google.com>
2021-08-04 12:17:24 +00:00
Wayne Lin
9863b52060 gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism am: f70f24f95c am: deb3a3262e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15410791

Change-Id: I949d998b379fa0dcfe45109eff9afbfdcc810d69
2021-08-04 12:05:03 +00:00
Wayne Lin
38f7b7d3c6 gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism am: f70f24f95c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15410791

Change-Id: I004cd617939f05c4e6afa1087d8a0f0bda23497d
2021-08-04 11:50:23 +00:00
Wayne Lin
ebec3cf12a gps: Remove Google SUPL certs from gps.cer and enable Android platform root cert mechanism
Remove below Google SUPL certs from gps.cer
 - GoogleSuplCertificateEquifax
 - GoogleSuplCertificateGeo
 - GoogleSuplCertificateGlobalSignR2
 - GlobalSign Root R1

Bug: 193865889
Test: basic GNSS function test pass and SUPL NI test pass
Change-Id: I2fee22f0832784d20aa055239ac0d92c0d3a671d
2021-08-04 11:35:03 +00:00
Super Liu
820ad6a5ae dumpstate: support CM2 data dump for touch. am: d13f6ec6d9 am: abe54873bb am: 9c91d922ad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447535

Change-Id: I5f7990259965b439f469cbce128fd4fd59c455e8
2021-08-04 06:24:28 +00:00
Super Liu
28a8a999ff dumpstate: support CM2 data dump for touch. am: d13f6ec6d9 am: abe54873bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447535

Change-Id: I90b677a668a4d68f108929b22ee686b69bc78a84
2021-08-04 05:59:21 +00:00
Super Liu
98b7e8c9a5 dumpstate: support CM2 data dump for touch. am: d13f6ec6d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15447535

Change-Id: Icc5ce8877de0fdbc9655d9a093b40cf1f3624584
2021-08-04 05:44:33 +00:00
Super Liu
d3e2787491 dumpstate: support CM2 data dump for touch.
This also change the sequence of run_rawcap_read_all
and run_self_rawcap_read_all to last. Because these
two commands need to run selftest first to read data,
this will make ambient update to make other raw data with
differen baseline.

Bug: 195111369
Test: check touch data in bugreport.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I4693b099fbc98d80fbe166525773e3ab803c98d8
2021-08-04 05:28:30 +00:00
Vinay Kalia
978ec15e5a Support height/width swap am: 2678bd66df am: bcd90d738b am: d541124dde
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15453818

Change-Id: I2ab7442412027f2e9b7aead420f459a7799ed4b2
2021-08-03 18:13:16 +00:00
Vinay Kalia
65da6cd07b Support height/width swap am: 2678bd66df am: bcd90d738b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15453818

Change-Id: I1afc3e551aa1dee5b538166cf55c495fb17c4764
2021-08-03 17:49:50 +00:00
Vinay Kalia
7671cae77c Support height/width swap am: 2678bd66df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15453818

Change-Id: I2c8995a22a177490011aaa3a247ba89f3a21acb7
2021-08-03 17:37:24 +00:00
Vinay Kalia
4f62d6b733 Support height/width swap
Enable support for height/width swap so that vertical videos
with supported resolution can be played with HW AV1 decoder.

bug: 195409679
Test: AV1 video playback in vertical as well as horizontal orientation.

Signed-off-by: Vinay Kalia <vinaykalia@google.com>
Change-Id: I939f6a0dc432f6b1c92a1e818647afb66c20d856
2021-08-03 17:15:51 +00:00
Ruofei Ma
5142c87b4f Publish performance points for 720p video am: 36fe57b6e7 am: fb0def43c9 am: 44262c5adb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15434512

Change-Id: I80cb70a5f87def0d2ce569268aab0b4300bebc88
2021-08-03 16:19:29 +00:00
Ruofei Ma
63d0d60fd6 Publish performance points for 720p video am: 36fe57b6e7 am: fb0def43c9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15434512

Change-Id: If9be76e842cd7f18c0ee81c0d662c6e80ab6d1ef
2021-08-03 16:04:45 +00:00
Ruofei Ma
c5de29f7ec Publish performance points for 720p video am: 36fe57b6e7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15434512

Change-Id: Ibceb35c4d4f41b479b66586237855621c8a4b7f5
2021-08-03 15:53:39 +00:00
Ruofei Ma
d2e0f9f79b Publish performance points for 720p video
Publish performance points for 720p video. This fixes
a CTS testcase.

Bug: 195356114
Change-Id: Iddd8e3ed5edbdf35735fa679ab516a5f84bbdb0e
2021-08-03 15:36:09 +00:00
Stephane Lee
7143f0c2cc Create one-shot clear for Trickle-Defend am: e2177825d3 am: fb398a8c93 am: c22447f647
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15420187

Change-Id: Ib5d8b2daca7ae5ba32a9c36c737531c878ac5072
2021-08-03 01:04:11 +00:00
Stephane Lee
930887ca3b Create one-shot clear for Trickle-Defend am: e2177825d3 am: fb398a8c93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15420187

Change-Id: I75f5eb8c75e06393f87c14a9f7900267ed3245f4
2021-08-03 00:51:53 +00:00
Stephane Lee
f993bd335e Create one-shot clear for Trickle-Defend am: e2177825d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15420187

Change-Id: I96c14b2c2bee91dd138e3df586680ae00325022c
2021-08-03 00:34:51 +00:00
Stephane Lee
75619b9882 Create one-shot clear for Trickle-Defend
Test: Ensure there are no sepolicy/permissions errors
Bug: 194447428
Change-Id: Ie295e33967edc3294e1bf6d2192639d6b0377659
2021-08-03 00:20:07 +00:00
George Lee
d02b65eb25 bcl: enable batoilo thermal zone am: 2da01e03b7 am: 8a09b637fe am: fca8938460
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15415375

Change-Id: I1e3a13d116e6b37acf649e6b33f8a34f6065b4d3
2021-07-30 21:33:31 +00:00
George Lee
73896170c0 bcl: enable batoilo thermal zone am: 2da01e03b7 am: 8a09b637fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15415375

Change-Id: I18f288bf99826626dac2d6a013c2f80b83012430
2021-07-30 21:20:15 +00:00
George Lee
4852441b1e bcl: enable batoilo thermal zone am: 2da01e03b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15415375

Change-Id: I2f59a0528641db9b46db9cc00380335ac508ec64
2021-07-30 21:05:19 +00:00
George Lee
433a2566e6 bcl: enable batoilo thermal zone
Enabling batoilo thermal zone.
Reduced soft_ocp_warn per bug 184739333.

Bug: 194240210
Test: Local test: flash and boot
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4cad70946af1cd8ffd2131df9f505dac49b8c8f8
2021-07-30 20:49:41 +00:00
Lisa Liu
9843170074 gs101: Start bootanimation explicitly. am: d0d93ba55f am: 1044f6b98b am: 7323b5249d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427350

Change-Id: I360c28f9a87016a4f4c2b2008832f005efc2e916
2021-07-30 14:48:04 +00:00
Lisa Liu
dc1909063f gs101: Start bootanimation explicitly. am: d0d93ba55f am: 55c126ed27 am: 9f6046ecb5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427350

Change-Id: I37cf264d70912af861e0e3748e33fb6fb3a453c0
2021-07-30 14:47:17 +00:00
Lisa Liu
92e363fd0b gs101: Start bootanimation explicitly. am: d0d93ba55f am: 1044f6b98b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427350

Change-Id: I02233c6295c305d36b89956f43b4e50c303f08e9
2021-07-30 14:38:29 +00:00
Lisa Liu
3dc387bc59 gs101: Start bootanimation explicitly. am: d0d93ba55f am: 55c126ed27
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427350

Change-Id: I6ca00052432b24e6129825a482d5cc39ec905383
2021-07-30 14:33:14 +00:00
Lisa Liu
2fae219f92 gs101: Start bootanimation explicitly. am: d0d93ba55f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15427350

Change-Id: I9871829fadac217984b6016bb110fed1245b7dfd
2021-07-30 14:17:29 +00:00
Ryan Chu
5601ad6006 Updating the default layouts for factory image am: c4ad81bb30 am: 0b59ea4b3d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15424990

Change-Id: I4d6e41aab6b1780c17cbff99c3e686dff4de4fbb
2021-07-30 08:39:55 +00:00
Ryan Chu
253dc040d2 Updating the default layouts for factory image am: c4ad81bb30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15424990

Change-Id: I808c76b8955122cd2e962f6bc6821db69e7fbb54
2021-07-30 08:20:20 +00:00
Ryan Chu
81122b43d2 Updating the default layouts for factory image
Add 3 Apps to the home screen hotseat

AndroidTestTool
LabelBarcode
BatteryChargeTool

Bug: 194880256
Change-Id: I52c77ac7bbcd5e7bded9ea8687bda14f7aa7e4f9
2021-07-30 06:20:26 +00:00
Lisa Liu
d79a11550b gs101: Start bootanimation explicitly.
Start bootanimation explicitly by name. Let animation start before
surfaceflinger to avoid the condition ctl.start bootanim queued after mount_all command.

Bug: 193726798
Bug: 191910503
Test: boot test
Change-Id: Id0d276ac8bca39c6ac1dae2b2d542107a9522b91
2021-07-30 14:08:15 +08:00
chened
76df193f44 camera: re-enable ebuf for factory build am: 75e4d9308d am: e16e927fdc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15416422

Change-Id: I42a065c267d915842cc0d891b7f8362c8bc92e59
2021-07-30 04:44:30 +00:00
chened
cdf723a5d7 camera: re-enable ebuf for factory build am: 75e4d9308d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15416422

Change-Id: Ia3dd7b50683a515b808012f0b18077b4fb8da61e
2021-07-30 04:30:01 +00:00
chened
7e2a8f38b1 camera: re-enable ebuf for factory build
Test: build pass
Bug: 192041653
Change-Id: I39b7a244c5b511c02892e5bafcb684dd4d07a308
2021-07-30 04:16:51 +00:00
Tom Hsu
a3eb1d04be Revert "Disable TTY as it is not supported on these devices." am: 3dd20c16d4 am: 0bae33831e am: a45f1f5a98
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15416424

Change-Id: I3e9a2301a91fb35789fa5a9d02be0c6442a9dc22
2021-07-30 02:49:31 +00:00
Tom Hsu
98c29f3b14 Revert "Disable TTY as it is not supported on these devices." am: 3dd20c16d4 am: 0bae33831e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15416424

Change-Id: I7be299b377b38da2f3ef9d85dc456011ba762b03
2021-07-30 02:35:02 +00:00
Tom Hsu
768c6c5d3b Revert "Disable TTY as it is not supported on these devices." am: 3dd20c16d4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15416424

Change-Id: Ie67da23efe093ece76530621611e2cd20b3350d1
2021-07-30 02:25:55 +00:00
Tom Hsu
fbf3ed5d4c Revert "Disable TTY as it is not supported on these devices."
This reverts commit ce6f6da1587615240b7cd2582209c6838cb3bec8.

Reason for revert: Due to b/194243206, TTY shall keep supporting for WCDMA/GSM devcie. Thus revert this CL for pixel 2021 and after.

Bug:194243206
Test: b/194243206#comment22
Change-Id: I650eb50a12bebcd55d04a4ab18bf1d78480a0af5
2021-07-30 02:06:55 +00:00
Bart Van Assche
a5429a4739 init.gs101.rc: Reduce the queue depth for /dev/sda am: 0a5e639661 am: 41610d9911 am: 95c4df4c48
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15394230

Change-Id: Id8727d7f308f76b078072002eaf7518f9335444c
2021-07-29 22:13:45 +00:00
Bart Van Assche
60b8369403 init.gs101.rc: Reduce the queue depth for /dev/sda am: 0a5e639661 am: 41610d9911
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15394230

Change-Id: I4d4fcd478aa234ca625301d9b254e18b2c1d7738
2021-07-29 22:00:01 +00:00
Bart Van Assche
0d0c125d57 init.gs101.rc: Reduce the queue depth for /dev/sda am: 0a5e639661
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15394230

Change-Id: I98cd726e6a550ea77703463d536e7e21be769e2d
2021-07-29 21:45:23 +00:00
Bart Van Assche
864a08d3a7 init.gs101.rc: Reduce the queue depth for /dev/sda
Use the default chosen by the block layer (64). The purpose of this patch is
to reduce storage latency. Without this patch:

 # grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:256
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64

With this patch applied:

 # grep -aH . /sys/block/sd*/queue/nr_requests
/sys/block/sda/queue/nr_requests:64
/sys/block/sdb/queue/nr_requests:64
/sys/block/sdc/queue/nr_requests:64
/sys/block/sdd/queue/nr_requests:64

Bug: 194450129
Test: Built Android images and installed these on an Android phone.
Change-Id: I236874f3791d62a2d5faf0d37a149025639f5c4a
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
2021-07-29 13:31:50 -07:00