Commit Graph

32556 Commits

Author SHA1 Message Date
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
Treehugger Robot
62ce42ad0a Merge "Update lint baseline for AutofillKeyboard" 2021-12-03 16:26:41 +00:00
TreeHugger Robot
5731ee392d Merge "Add isVirtual flag to SF trace display" 2021-12-03 16:19:06 +00:00
TreeHugger Robot
e2403e411c Merge "Display empty values when marking "Show defaults"" 2021-12-03 15:50:56 +00:00
Nataniel Borges
213cd34223 Display empty values when marking "Show defaults"
Previously `false` and `0` were ignored even when "Show defaults"
checkbox was marked.

Bug: 176906864
Test: build winscope, take a trace, mark show defaults, check if false
values appear on the property list

Change-Id: Ia114eea91c677e92f0bf4edd4a9e9107e014d90e
2021-12-03 15:50:28 +01:00
Nataniel Borges
49c9eadd0b Add isVirtual flag to SF trace display
Bug: 140855415
Test: build winscope, take a SF trace and check if the isVirtual flag
appears on the display

Change-Id: I5f6e5dba9f73f3464371166fb7ec8b589c3859c3
2021-12-03 15:49:27 +01:00
Nataniel Borges
329446be85 Add name information to all Winscope objects
This filter previously removed the information from all objects,
including SF displays

Bug: 140855415
Test: build winscope, compile a trace, check if name is visible
Change-Id: I62563595298f70444333289a2a22635aca43c265
2021-12-03 15:32:58 +01:00
Treehugger Robot
c9b5154cce Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" am: a75fb9f146 am: 754c872d03 am: f02bf27744 am: 8787d5caf7
Original change: https://android-review.googlesource.com/c/platform/development/+/1909430

Change-Id: I0e1b6f50c09b7c29c11981d58f07a50cec13c763
2021-12-03 03:21:01 +00:00
Treehugger Robot
8787d5caf7 Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" am: a75fb9f146 am: 754c872d03 am: f02bf27744
Original change: https://android-review.googlesource.com/c/platform/development/+/1909430

Change-Id: If65c771614fcb346885b5e8f8b1d22fd7025c62c
2021-12-03 03:03:33 +00:00
Treehugger Robot
f02bf27744 Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" am: a75fb9f146 am: 754c872d03
Original change: https://android-review.googlesource.com/c/platform/development/+/1909430

Change-Id: Ie51889bf0896346b28ef4682d768bfd73c5393c5
2021-12-03 02:47:56 +00:00
Treehugger Robot
754c872d03 Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" am: a75fb9f146
Original change: https://android-review.googlesource.com/c/platform/development/+/1909430

Change-Id: Iddde916259c540080a7a3bbdd370c078123d4c1b
2021-12-03 02:31:00 +00:00
Treehugger Robot
a75fb9f146 Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" 2021-12-03 02:12:16 +00:00
Treehugger Robot
f076846094 Merge "Use input instead of raw_input in gdbclient.py" am: 445a4c4e19 am: c57fa7f8b5 am: 1f18971cbb am: 1ba383dcb2
Original change: https://android-review.googlesource.com/c/platform/development/+/1909431

Change-Id: I190277c6cc42c58ef7793c12230affc3f8bc8672
2021-12-02 21:44:39 +00:00
Treehugger Robot
1ba383dcb2 Merge "Use input instead of raw_input in gdbclient.py" am: 445a4c4e19 am: c57fa7f8b5 am: 1f18971cbb
Original change: https://android-review.googlesource.com/c/platform/development/+/1909431

Change-Id: I6177c823e85358100a5d29bd124936731962a56c
2021-12-02 21:20:32 +00:00
Treehugger Robot
1f18971cbb Merge "Use input instead of raw_input in gdbclient.py" am: 445a4c4e19 am: c57fa7f8b5
Original change: https://android-review.googlesource.com/c/platform/development/+/1909431

Change-Id: I6abef534eb61a799de6b4b25df537c0908c5b03e
2021-12-02 21:00:56 +00:00
Treehugger Robot
c57fa7f8b5 Merge "Use input instead of raw_input in gdbclient.py" am: 445a4c4e19
Original change: https://android-review.googlesource.com/c/platform/development/+/1909431

Change-Id: I52b8949ec6463ff8ec2c03b65ad378e47d1459f8
2021-12-02 20:42:46 +00:00
Treehugger Robot
445a4c4e19 Merge "Use input instead of raw_input in gdbclient.py" 2021-12-02 20:25:07 +00:00
Siarhei Vishniakou
9c4f1b3cac Use input instead of raw_input in gdbclient.py
Following suggestions in b/194659728, update the python script to work
under python3.

Previous failure:

Traceback (most recent call last):
  File "/android3/android/master/development/scripts/lldbclient.py", line 413, in <module>
    main()
  File "/android3/android/master/development/scripts/lldbclient.py", line 405, in main
    do_main()
  File "/android3/android/master/development/scripts/lldbclient.py", line 400, in do_main
    raw_input("Press enter to shut down lldb-server")
NameError: name 'raw_input' is not defined

Bug: none
Test: "lldbclient.py --setup-forwarding vscode-lldb -r
/data/nativetest64/inputflinger_tests/inputflinger_tests
--gtest_filter=PalmRejectorTest.GenericAxisValue_IsNotSet"

Change-Id: I21d977cbc580894d6e2eb2f2f56dec04c65b0416
2021-12-02 11:10:37 -08:00
Bob Badour
e3bb741668 [LSC] Add LOCAL_LICENSE_KINDS to development
Added SPDX-license-identifier-Apache-2.0 to:
  apps/OBJViewer/Android.bp
  gki/kmi_abi_chk/kmi_compatibility_test.mk
  samples/HeavyWeight/Android.bp
  samples/MySampleRss/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I95aef6515eddf6e1737d7266f9d159f24ac278aa
2021-12-02 10:48:34 -08:00
Joel Galenson
7ffb36304b Merge changes If5292d1d,Ib1a86d48 am: d4b099d3fa am: 6c8990d3a8 am: 6ebfa24970 am: 62d67cf938
Original change: https://android-review.googlesource.com/c/platform/development/+/1902392

Change-Id: Ia7767dac510e85b9ff9a1a7024e7b269f3714827
2021-12-02 16:42:44 +00:00
Joel Galenson
62d67cf938 Merge changes If5292d1d,Ib1a86d48 am: d4b099d3fa am: 6c8990d3a8 am: 6ebfa24970
Original change: https://android-review.googlesource.com/c/platform/development/+/1902392

Change-Id: Ief0e227f09c379c2f2cd8014bb368ceca0e5e34f
2021-12-02 15:56:34 +00:00
Joel Galenson
6ebfa24970 Merge changes If5292d1d,Ib1a86d48 am: d4b099d3fa am: 6c8990d3a8
Original change: https://android-review.googlesource.com/c/platform/development/+/1902392

Change-Id: I35de4f333a2437103d21ddade20fe8c553873f9c
2021-12-02 15:35:39 +00:00
Joel Galenson
6c8990d3a8 Merge changes If5292d1d,Ib1a86d48 am: d4b099d3fa
Original change: https://android-review.googlesource.com/c/platform/development/+/1902392

Change-Id: I4ca7e64d6f0a21b119d52648352c6a28274898ea
2021-12-02 15:13:20 +00:00
Joel Galenson
d4b099d3fa Merge changes If5292d1d,Ib1a86d48
* changes:
  Stop cargo2android.py from printing the --cargo_bin argument.
  Revert "Enable LTO in cargo2android.py."
2021-12-02 14:46:56 +00:00
Pirama Arumuga Nainar
620b122b51 Merge changes from topic "use-libclang-cpp" am: a226ebf313 am: dfa837214d am: 361f6dd6a4 am: 5351630a96
Original change: https://android-review.googlesource.com/c/platform/development/+/1901126

Change-Id: I9bf013110235bca0bc77329ec14ebef2677d871f
2021-12-02 03:42:24 +00:00
Pirama Arumuga Nainar
2c73b1573a Switch clang-tools build to clang-r437112 am: 1b19a4956e am: 4f93634073 am: 89005a207b am: 43ed0e48e9
Original change: https://android-review.googlesource.com/c/platform/development/+/1901125

Change-Id: Id8df78177018ece5b86fbda1c38bd6a3d787b3ef
2021-12-02 03:42:21 +00:00
Pirama Arumuga Nainar
5351630a96 Merge changes from topic "use-libclang-cpp" am: a226ebf313 am: dfa837214d am: 361f6dd6a4
Original change: https://android-review.googlesource.com/c/platform/development/+/1901126

Change-Id: Ia3641d4fd06c20564160578984d2f49bbad3788a
2021-12-02 03:18:40 +00:00
Pirama Arumuga Nainar
43ed0e48e9 Switch clang-tools build to clang-r437112 am: 1b19a4956e am: 4f93634073 am: 89005a207b
Original change: https://android-review.googlesource.com/c/platform/development/+/1901125

Change-Id: Ice50a8f7ab219d80b1b5d4cc0ef40d78b4cebb7e
2021-12-02 03:18:39 +00:00
Pirama Arumuga Nainar
361f6dd6a4 Merge changes from topic "use-libclang-cpp" am: a226ebf313 am: dfa837214d
Original change: https://android-review.googlesource.com/c/platform/development/+/1901126

Change-Id: Ie95e555c14d669bed4183cfaf9adcb37aab5fa62
2021-12-02 03:06:36 +00:00
Pirama Arumuga Nainar
89005a207b Switch clang-tools build to clang-r437112 am: 1b19a4956e am: 4f93634073
Original change: https://android-review.googlesource.com/c/platform/development/+/1901125

Change-Id: I20b15c15ed0161c7cc93add0e886bba4c6a34223
2021-12-02 03:06:33 +00:00
Pirama Arumuga Nainar
dfa837214d Merge changes from topic "use-libclang-cpp" am: a226ebf313
Original change: https://android-review.googlesource.com/c/platform/development/+/1901126

Change-Id: Ia9af358847b2f48fe6b5e976007f0a69e41c22f0
2021-12-02 02:31:27 +00:00
Pirama Arumuga Nainar
4f93634073 Switch clang-tools build to clang-r437112 am: 1b19a4956e
Original change: https://android-review.googlesource.com/c/platform/development/+/1901125

Change-Id: Iaff57e382a94f9850f2332b6905edb70bba109cf
2021-12-02 02:31:23 +00:00
Pirama Arumuga Nainar
a226ebf313 Merge changes from topic "use-libclang-cpp"
* changes:
  Use libclang-cpp for header-* tools and tests
  Switch clang-tools build to clang-r437112
2021-12-02 02:07:14 +00:00
Pirama Arumuga Nainar
f5fae5fcab Use libclang-cpp for header-* tools and tests
Bug: http://b/150809112

This is a new upstream library that exports both the clang and LLVM C++
symbols and can replace libLLVM and (android-toolchain-only)
libclang_cxx.so.

Test: Build and run header-* tools
Change-Id: Ibb8ae24e758c4c492c18e1192be9d57ef05b78df
2021-12-01 03:15:13 -08:00
Pirama Arumuga Nainar
1b19a4956e Switch clang-tools build to clang-r437112
Bug: http://b/150809112
Bug: http://b/201432564

Test: prebuilts/clang-tools/build-prebuilts.sh
Change-Id: If75ab1d554a7926c96144be66a85208e76ded8c3
2021-12-01 02:29:32 -08:00
Joel Galenson
c1732b288b Merge "Comment out errors encountered when running cargo test." am: b5b71540cc am: 5a32724103 am: 0c5425f48c am: abf5c7de91
Original change: https://android-review.googlesource.com/c/platform/development/+/1906753

Change-Id: I26be9bf45e801f8a32bbd93f68b28f5313eed499
2021-11-30 21:02:05 +00:00
Joel Galenson
abf5c7de91 Merge "Comment out errors encountered when running cargo test." am: b5b71540cc am: 5a32724103 am: 0c5425f48c
Original change: https://android-review.googlesource.com/c/platform/development/+/1906753

Change-Id: I166bfa7933d5565e49ffd64141baa9ee63d9c785
2021-11-30 20:45:42 +00:00
Joel Galenson
0c5425f48c Merge "Comment out errors encountered when running cargo test." am: b5b71540cc am: 5a32724103
Original change: https://android-review.googlesource.com/c/platform/development/+/1906753

Change-Id: I4d07a8c22ef744c369424e8bec9debe3bcfa2f78
2021-11-30 20:32:45 +00:00
Joel Galenson
5a32724103 Merge "Comment out errors encountered when running cargo test." am: b5b71540cc
Original change: https://android-review.googlesource.com/c/platform/development/+/1906753

Change-Id: Ie959e4b9d1f5ea9e9d10a05d500a484875475d0d
2021-11-30 20:03:16 +00:00
Joel Galenson
b5b71540cc Merge "Comment out errors encountered when running cargo test." 2021-11-30 19:41:11 +00:00
Joel Galenson
56b5f4be29 Comment out errors encountered when running cargo test.
A recent change to remove empty tests runs cargo test --list.  A few
crates produce build errors this way that they did not previously do.
This currently causes cargo2android.py to produce illegal Android.bp
files for these crates even though these should not be fatal errors.
We thus detect these errors and emit them as comments in the
Android.bp file, so developers can see them but the crate can still
compile.

Test: Run on crates with and without such errors.
Change-Id: I8664d3ca9a6b4c513ce0ef35821aa64d22949fc7
2021-11-30 10:34:14 -08:00
TreeHugger Robot
e25b47c3a8 Merge "Revert^2 "Remove the reference of libaapt2_jni in build file"" 2021-11-29 19:35:49 +00:00
Joel Galenson
769c3c373f Stop cargo2android.py from printing the --cargo_bin argument.
cargo2android.py prints out all of its arguments to the top of the
Android.bp file (and into a config file if that option was set) as a
way of persisting them.  However, we do not want to persist the
--cargo_bin directory, as this is a proprety of the local setup and
not the crate itself.  Thus ensure we don't print this.

Test: Run with argument.
Change-Id: If5292d1d740b08755ba6d31654239e93232fdc49
2021-11-24 15:10:02 -08:00
Joel Galenson
903a0f8cb1 Revert "Enable LTO in cargo2android.py."
This reverts commit 4f4ac2f8f3.

This did not work for all crates (specifically, those with build.rs,
as they don't get passed RUSTFLAGS, as well as proc-macros, since they
get the flag but can't use LTO), so we're using a different approach
where this is not desired.

Test: Run script
Change-Id: Ib1a86d4822f51978cd8ec15ad657eb25c84e01a4
2021-11-24 15:09:45 -08:00
Isaac Chen
2f5a3f26e3 Merge "Build targets for checking GKI KMI compatibility" am: 3e7e4f8816 am: bb8b18a206 am: a02effa270 am: 1c5df9865e
Original change: https://android-review.googlesource.com/c/platform/development/+/1890319

Change-Id: I9def7afb778c3e4ae358a63afb6fbddf73afc5d5
2021-11-23 08:28:40 +00:00
Isaac Chen
1c5df9865e Merge "Build targets for checking GKI KMI compatibility" am: 3e7e4f8816 am: bb8b18a206 am: a02effa270
Original change: https://android-review.googlesource.com/c/platform/development/+/1890319

Change-Id: I4f98f03db07a91ab2eded8f4fbb885cd13ce6ff2
2021-11-23 08:13:00 +00:00
Isaac Chen
a02effa270 Merge "Build targets for checking GKI KMI compatibility" am: 3e7e4f8816 am: bb8b18a206
Original change: https://android-review.googlesource.com/c/platform/development/+/1890319

Change-Id: I5f81348b186f38f0eef715066d177ffbe48093e2
2021-11-23 07:57:44 +00:00