Commit Graph

32602 Commits

Author SHA1 Message Date
Yohei Yukawa
f2464f70f2 Set targetSdkVersion=31 to ThemedNavBarKeyboard
With this CL, ThemedNavBarKeyboard sameple IME will have an explicitly
set targetSdkVersion=31 so that it can be installed on older version
of Android OSes.

This CL also explicitly sets "android:exported", which has been
required in AndroidManifest.xml since API 31.

Fix: 211463997
Test: Manually verified as follows
 1. Flash SQ1A.211205.008 aosp_coral-userdebug into coral
 2. make -j ThemedNavBarKeyboard
 3. adb install -r $ANDROID_PRODUCT_OUT/system/app/ThemedNavBarKeyboard/ThemedNavBarKeyboard.apk
Change-Id: Idd88031a6b65cca58add8abe42794bc5f01b1973
2021-12-20 10:34:34 -08:00
Treehugger Robot
1ada019953 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3 am: d958734a44 am: 33a757b665 am: 1af8a3f349
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: Ifa967f8487da6ce39be45a93665e7ae9a262206b
2021-12-16 11:40:52 +00:00
Treehugger Robot
1af8a3f349 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3 am: d958734a44 am: 33a757b665
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: I2bef63f0978c23a70bb586f75237d489e5a12686
2021-12-16 11:22:03 +00:00
Treehugger Robot
33a757b665 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3 am: d958734a44
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: Icdff5414db0b51dafabd96286ab8bda0b8e44458
2021-12-16 11:00:29 +00:00
Treehugger Robot
d958734a44 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: I2a1cc4888e3ca815080529ff7c2694aad66ab71d
2021-12-16 10:44:57 +00:00
Treehugger Robot
dbdedb67d3 Merge "Update kernel prebuilts with local artifacts" 2021-12-16 09:46:54 +00:00
Howard Chen
8187c23b38 Update kernel prebuilts with local artifacts
Bug: 198363484
Test: \
  development/gsi/build_with_kernel/fetch_kernel.sh && \
  development/gsi/build_with_kernel/repack_kernels.sh && \
  development/gsi/build_with_kernel/update_kernel_prebuilts_510_arm64.sh

Change-Id: I88e167be7aff70ff52abee875997d8e9a5c51e79
2021-12-16 08:34:14 +00:00
Raju Kulkarni
a48ca0aa22 Creating a version bump for releasing Build tools that are Universal Binaries
The diff for this CL might show version number
being updated from 32.0.0 rc1 to 32.1.0
But the current public version of Build tools is not 32.0.0 rc1.
This is just the state of the version number in master.
Public version released from sc-v2-dev actually  is not
the RC version but the final version 32.0.0

Bug: 209808897
Change-Id: I271bae601e475217f8043600de43a95ef25a9f80
Test: N/A
2021-12-15 23:47:05 +00:00
Joel Galenson
a3c081ee2e Merge changes from topic "rust-tests-and-mappings-refactor" am: 79b55eadb6 am: ebb900bb66 am: 5ab9b36eba am: 8c26ae566f
Original change: https://android-review.googlesource.com/c/platform/development/+/1918446

Change-Id: Ia2986f55ee31fc59d2928240955cb3cce5b09756
2021-12-15 18:10:02 +00:00
Joel Galenson
ccaa78e923 Use TEST_MAPPING imports for third-party crate tests. am: 4a08c64965 am: d028c9b4b1 am: ee68366e6e am: 2cd2a7c710
Original change: https://android-review.googlesource.com/c/platform/development/+/1858469

Change-Id: Icfde1032ad4e65612f1054c544cb631ac5927936
2021-12-15 18:08:02 +00:00
Joel Galenson
e02038b730 Merge "Stop generating separate rust_test_host." am: 376a19951b am: 26ae6eb466 am: 24a77c9883 am: 5be3d602ec
Original change: https://android-review.googlesource.com/c/platform/development/+/1861786

Change-Id: Id4f5f2c051f4bef89c4cdd9d5c3334485e91c88b
2021-12-15 18:06:45 +00:00
Joel Galenson
8c26ae566f Merge changes from topic "rust-tests-and-mappings-refactor" am: 79b55eadb6 am: ebb900bb66 am: 5ab9b36eba
Original change: https://android-review.googlesource.com/c/platform/development/+/1918446

Change-Id: I7d6a14e71eda4462a7de034f4538fe05ecc2854a
2021-12-15 17:30:26 +00:00
Joel Galenson
2cd2a7c710 Use TEST_MAPPING imports for third-party crate tests. am: 4a08c64965 am: d028c9b4b1 am: ee68366e6e
Original change: https://android-review.googlesource.com/c/platform/development/+/1858469

Change-Id: I2d6b39721d5ccfea754ea8f2650e5051608500a4
2021-12-15 17:28:25 +00:00
Joel Galenson
5be3d602ec Merge "Stop generating separate rust_test_host." am: 376a19951b am: 26ae6eb466 am: 24a77c9883
Original change: https://android-review.googlesource.com/c/platform/development/+/1861786

Change-Id: I1b38bacc4647a6d77f247cafb9227d77a3f7e0e9
2021-12-15 17:27:12 +00:00
Joel Galenson
5ab9b36eba Merge changes from topic "rust-tests-and-mappings-refactor" am: 79b55eadb6 am: ebb900bb66
Original change: https://android-review.googlesource.com/c/platform/development/+/1918446

Change-Id: If85737e11e49d3f4c710487fb78b05e5ecf9205b
2021-12-15 16:47:05 +00:00
Joel Galenson
ee68366e6e Use TEST_MAPPING imports for third-party crate tests. am: 4a08c64965 am: d028c9b4b1
Original change: https://android-review.googlesource.com/c/platform/development/+/1858469

Change-Id: Ia225fefbc62c48225417d5926b3a5a7c7db41870
2021-12-15 16:44:42 +00:00
Joel Galenson
24a77c9883 Merge "Stop generating separate rust_test_host." am: 376a19951b am: 26ae6eb466
Original change: https://android-review.googlesource.com/c/platform/development/+/1861786

Change-Id: Id81add59db8dbcfed068e96f74bf550f6ba78fc2
2021-12-15 16:43:08 +00:00
Joel Galenson
ebb900bb66 Merge changes from topic "rust-tests-and-mappings-refactor" am: 79b55eadb6
Original change: https://android-review.googlesource.com/c/platform/development/+/1918446

Change-Id: Idf1cd131c88b00e4e17403cfac87a0f4165eac5c
2021-12-15 16:05:18 +00:00
Joel Galenson
d028c9b4b1 Use TEST_MAPPING imports for third-party crate tests. am: 4a08c64965
Original change: https://android-review.googlesource.com/c/platform/development/+/1858469

Change-Id: I38b23d157f65194049c37e393d299f5f216792b2
2021-12-15 16:03:17 +00:00
Joel Galenson
26ae6eb466 Merge "Stop generating separate rust_test_host." am: 376a19951b
Original change: https://android-review.googlesource.com/c/platform/development/+/1861786

Change-Id: Ie09dfdafd6002d1e207e5b9dc787f56ed6fa6089
2021-12-15 16:02:03 +00:00
Joel Galenson
79b55eadb6 Merge changes from topic "rust-tests-and-mappings-refactor"
* changes:
  cargo2android: Add tests to both test groups
  Use TEST_MAPPING imports for third-party crate tests.
2021-12-15 15:27:59 +00:00
Joel Galenson
376a19951b Merge "Stop generating separate rust_test_host." 2021-12-15 15:27:59 +00:00
Xin Li
c8fe824cd4 [automerger skipped] Merge "Merge Android 12 QPR1" am: b635a149bb -s ours am: 3716cc361f -s ours am: 983fcd2dc1 -s ours am: b7650fa72f -s ours
am skip reason: Merged-In I7a7c71438880823616a1e696dde71fbfc25a9375 with SHA-1 c5f7a68758 is already in history

Original change: https://android-review.googlesource.com/c/platform/development/+/1921885

Change-Id: I052c52f5ec1e805155ff316c79e96ea470110af3
2021-12-14 22:19:32 +00:00
Xin Li
b7650fa72f [automerger skipped] Merge "Merge Android 12 QPR1" am: b635a149bb -s ours am: 3716cc361f -s ours am: 983fcd2dc1 -s ours
am skip reason: Merged-In I7a7c71438880823616a1e696dde71fbfc25a9375 with SHA-1 c5f7a68758 is already in history

Original change: https://android-review.googlesource.com/c/platform/development/+/1921885

Change-Id: Idabedba2545b5c56bb63adf4e84e7ae079cb8e63
2021-12-14 21:51:11 +00:00
Xin Li
983fcd2dc1 [automerger skipped] Merge "Merge Android 12 QPR1" am: b635a149bb -s ours am: 3716cc361f -s ours
am skip reason: Merged-In I7a7c71438880823616a1e696dde71fbfc25a9375 with SHA-1 c5f7a68758 is already in history

Original change: https://android-review.googlesource.com/c/platform/development/+/1921885

Change-Id: I88942fdeea21cacde4ab3f6658e95786f3b3a815
2021-12-14 21:24:21 +00:00
Xin Li
3716cc361f [automerger skipped] Merge "Merge Android 12 QPR1" am: b635a149bb -s ours
am skip reason: Merged-In I7a7c71438880823616a1e696dde71fbfc25a9375 with SHA-1 c5f7a68758 is already in history

Original change: https://android-review.googlesource.com/c/platform/development/+/1921885

Change-Id: Ief2d42de3cf3f1d8a164c1ff196332c7d56bd83a
2021-12-14 21:00:26 +00:00
Xin Li
b635a149bb Merge "Merge Android 12 QPR1" 2021-12-14 20:26:09 +00:00
Xin Li
e40bbcbe78 Merge Android 12 QPR1
Bug: 210511427
Merged-In: I7a7c71438880823616a1e696dde71fbfc25a9375
Change-Id: Ib482ee7806ffe5187ff7d10ba96d83112dcf40bf
2021-12-14 08:38:56 -08:00
Treehugger Robot
7f8833f698 Merge "Remove checked in mkstubs .idea directory" am: 66e859ab9b am: 607fb95dd7 am: 6669d4a4dd am: 85be9d5466
Original change: https://android-review.googlesource.com/c/platform/development/+/1921070

Change-Id: Ic26f06b46de5b8782a2776e7b744ad829b8727ba
2021-12-14 06:48:23 +00:00
Treehugger Robot
85be9d5466 Merge "Remove checked in mkstubs .idea directory" am: 66e859ab9b am: 607fb95dd7 am: 6669d4a4dd
Original change: https://android-review.googlesource.com/c/platform/development/+/1921070

Change-Id: If80eaee23851301a7f64faa0b879090671fffb25
2021-12-14 06:32:15 +00:00
Treehugger Robot
6669d4a4dd Merge "Remove checked in mkstubs .idea directory" am: 66e859ab9b am: 607fb95dd7
Original change: https://android-review.googlesource.com/c/platform/development/+/1921070

Change-Id: I5a2710decaafeaf4da9d114de9cfa28df80916a9
2021-12-14 06:17:15 +00:00
Treehugger Robot
607fb95dd7 Merge "Remove checked in mkstubs .idea directory" am: 66e859ab9b
Original change: https://android-review.googlesource.com/c/platform/development/+/1921070

Change-Id: I514d05b6f399fc31aeb9c5d814fcadff61acdfca
2021-12-14 05:59:32 +00:00
Treehugger Robot
66e859ab9b Merge "Remove checked in mkstubs .idea directory" 2021-12-14 05:36:52 +00:00
Colin Cross
f6d57ace26 Remove checked in mkstubs .idea directory
Bug: 210509169
Test: treehugger
Change-Id: Ia8cdae9a518abf4107928075447498edfe20d5c4
2021-12-13 20:14:31 -08:00
Matthew Maurer
24758f89e2 cargo2android: Add tests to both test groups
"presubmit" will continue to handle x86_64 virtual device and host tests
"presubmit-rust" will run the test on a pool of physical arm64 devices

Bug: 204332926
Test: regenerated a few TEST_MAPPING files
Change-Id: Idd5cad5107a96031f67305b63875034b2e5a5c60
2021-12-10 20:43:21 +00:00
Nataniel Borges
26ed529f6a Compatibilize winscope with stackID on layer
Bug: 140855415
Bug: 207843938
Test: atest FlickerLibTest
Change-Id: Id81619fe04967649edd400be1a3765005350c1b5
2021-12-08 14:30:37 +01:00
Treehugger Robot
c63ccb6d2f Merge "Updating Platform tools package revision number. Since SDK and NDK finalized API level will be bumped to 32 with their release on 12/8/2021 lets bump up the package version number for Platform tools to keep consistent with it." am: 8fb78e1ffe am: c5f7a68758 am: 33e8506efb am: 21a8382038
Original change: https://android-review.googlesource.com/c/platform/development/+/1914228

Change-Id: I8a1a35e3887377c9e18996223f863dee92a99820
2021-12-08 07:41:00 +00:00
Treehugger Robot
21a8382038 Merge "Updating Platform tools package revision number. Since SDK and NDK finalized API level will be bumped to 32 with their release on 12/8/2021 lets bump up the package version number for Platform tools to keep consistent with it." am: 8fb78e1ffe am: c5f7a68758 am: 33e8506efb
Original change: https://android-review.googlesource.com/c/platform/development/+/1914228

Change-Id: I720c0076093ca6ccd794472340683a2d2b585115
2021-12-08 07:24:09 +00:00
Treehugger Robot
33e8506efb Merge "Updating Platform tools package revision number. Since SDK and NDK finalized API level will be bumped to 32 with their release on 12/8/2021 lets bump up the package version number for Platform tools to keep consistent with it." am: 8fb78e1ffe am: c5f7a68758
Original change: https://android-review.googlesource.com/c/platform/development/+/1914228

Change-Id: Iaa90b356dee0eea4cb84cd613f03d8dad7b129ca
2021-12-08 07:09:23 +00:00
Treehugger Robot
c5f7a68758 Merge "Updating Platform tools package revision number. Since SDK and NDK finalized API level will be bumped to 32 with their release on 12/8/2021 lets bump up the package version number for Platform tools to keep consistent with it." am: 8fb78e1ffe
Original change: https://android-review.googlesource.com/c/platform/development/+/1914228

Change-Id: I7a7c71438880823616a1e696dde71fbfc25a9375
2021-12-08 06:48:02 +00:00
Treehugger Robot
8fb78e1ffe Merge "Updating Platform tools package revision number. Since SDK and NDK finalized API level will be bumped to 32 with their release on 12/8/2021 lets bump up the package version number for Platform tools to keep consistent with it." 2021-12-08 06:33:03 +00:00
Raju Kulkarni
686314821a Updating Platform tools package revision number. Since SDK and NDK finalized API level will be bumped to 32 with their release on 12/8/2021 lets bump up the package version number for Platform tools to keep consistent with it.
Bug: 209692335
Change-Id: Ibc78dfd6988b8eb2eaa61da2f7b5fb17978d9068
Test: N/A
2021-12-08 00:24:47 +00:00
Nataniel Borges
60e704c1de Support new transactions trace
Keep previous implementation as "transactions (legacy)"

The proxy is not yet able to generate traces because no
adb command is available at the moment.

Known issues:
- Enum fields are not translated into values in Winscope
  (only IntDef support)

Prepare the codebase for the new SF transaction tracing
Bug: 167521734
Test: run winscope and collect a transactions trace

Change-Id: Ie489ee1a63056377c1699e14df8de975c2978085
2021-12-07 11:03:37 +01:00
Joel Galenson
54d655345d Stop generating separate rust_test_host.
With b/196306316 hopefully fixed, we should be able to use a single
rust_test entry for both device and host tests.  This modifies
cargo2android.py so it generates these shared tests.

Test: Run on crates with simple tests, those with defaults, host-only,
and device-only tests.

Change-Id: Icfe8d1fb26a61bc9ed65b8a7b116a4ebcd782ce4
2021-12-06 16:17:06 -08:00
Joel Galenson
4a08c64965 Use TEST_MAPPING imports for third-party crate tests.
This script currently computes all transitive reverse dependencies for
a given crate and adds them to the generated TEST_MAPPING.  This
creates a very large file and makes it difficult to rename/remove
tests, as a given test can be in many TEST_MAPPING files in other
directories.  We fix this by instead importing the TEST_MAPPING files
of other third-party crates.

Note that we cannot do this for tests defined by this crate (as they
need to be in some TEST_MAPPING file) and for tests outside of
external.  For the latter, we do not auto-generate those TEST_MAPPING
files, so they might contain extra tests we do not want or not contain
the tests we do want.  We thus continue to list such tests
individually, which is suboptimal but at least is a strict improvement
over the current system.

Test: Run on a few crates.
Change-Id: Ibdf36e7844f5946c9e321ac60558792abd691b42
2021-12-06 16:15:49 -08:00
Nataniel Borges
9cc1353195 Fix property view for non flicker traces in winscope
There are 2 types of object whose properties can appear in the property
list: Flicker objects (WM/SF traces) and dictionaries
(IME/Accessibilty/Transactions).

While flicker objects have their properties directly in the main object,
those created by a call to the transform function have their properties
inside an obj property.

This CL makes flicker support both implementations

Bug: 167521734
Bug: 209452852
Test: run winscope and collect a transactions trace
Change-Id: I7103ef078cf62331fd45c45fd238173232993f47
2021-12-06 18:12:44 +01:00
Treehugger Robot
83b075db80 Merge "Update lint baseline for AutofillKeyboard" am: 62ce42ad0a am: 676489f321 am: 3cc9d5c708 am: 5dee47eff2
Original change: https://android-review.googlesource.com/c/platform/development/+/1827714

Change-Id: I558e2d7ad72cbf659583dede082ae8498406a2e1
2021-12-03 17:15:49 +00:00
Treehugger Robot
5dee47eff2 Merge "Update lint baseline for AutofillKeyboard" am: 62ce42ad0a am: 676489f321 am: 3cc9d5c708
Original change: https://android-review.googlesource.com/c/platform/development/+/1827714

Change-Id: I609d678ed05b9a6038af905c911b971f6fd37bb6
2021-12-03 17:12:55 +00:00
Treehugger Robot
3cc9d5c708 Merge "Update lint baseline for AutofillKeyboard" am: 62ce42ad0a am: 676489f321
Original change: https://android-review.googlesource.com/c/platform/development/+/1827714

Change-Id: I3916e6f98f5942ac93c520db66350d65ea148013
2021-12-03 17:01:21 +00:00
Treehugger Robot
676489f321 Merge "Update lint baseline for AutofillKeyboard" am: 62ce42ad0a
Original change: https://android-review.googlesource.com/c/platform/development/+/1827714

Change-Id: I78f516d51a23accdf30dac03e52e2c6f1c28d118
2021-12-03 16:44:30 +00:00