Commit Graph

32023 Commits

Author SHA1 Message Date
Christopher Ferris
dc290141fd Merge "Fix exception when path not found." am: 39e706e507
Original change: https://android-review.googlesource.com/c/platform/development/+/1960330

Change-Id: I17048ce8703293c07d9110db1e935b0d19594531
2022-01-26 18:14:33 +00:00
Christopher Ferris
39e706e507 Merge "Fix exception when path not found." 2022-01-26 18:01:37 +00:00
Christopher Ferris
27bee5adfa Fix exception when path not found.
Add a default return value in a call in the GetLibraryByBuildId()
function to avoid an exception if a file cannot be found in the
symbol directory.

Bug: 216232380

Test: Ran the input from the bug. Verified without the change, the
Test: exception occurs and with the fix, no exception.
Test: Ran unit tests of stack_core.py.
Change-Id: I015982eb835f5a3d7f03dcc3e0b1627b0c1a7cfe
2022-01-25 13:10:24 -08:00
Bob Badour
b375f76135 Merge "Fix license texts." am: 632da0a501
Original change: https://android-review.googlesource.com/c/platform/development/+/1955284

Change-Id: Ic02e981ac8401733782d30810c7bcb15291ff668
2022-01-21 19:10:38 +00:00
Bob Badour
632da0a501 Merge "Fix license texts." 2022-01-21 18:47:26 +00:00
Bob Badour
082705bfb3 Fix license texts.
Push specific licenses down the tree toward the leaf directories.

Remove extra Apache 2.0 license texts--just use Android-Apache-2.0

Test: m nothing
Change-Id: Ibee25f75f5933699d6f43acdc192b2ada6823757
2022-01-20 19:04:52 +00:00
Treehugger Robot
2f10578152 Merge "idegen: traversing all vendor-specific excludes" am: c65b20e6b6
Original change: https://android-review.googlesource.com/c/platform/development/+/1264719

Change-Id: Ia890321a3e249c29b3f2f8a39b4fe797fca39b1f
2022-01-17 13:12:16 +00:00
Treehugger Robot
c65b20e6b6 Merge "idegen: traversing all vendor-specific excludes" 2022-01-17 12:55:14 +00:00
Treehugger Robot
d91578e406 Merge "Remove self from OWNERS" am: 6bcf0f0530 am: b55d64fe61 am: f2e42d05e8
Original change: https://android-review.googlesource.com/c/platform/development/+/1939253

Change-Id: I55245e95725b3802326e8140f4ca5f9fab2b8d52
2022-01-12 02:23:31 +00:00
Treehugger Robot
f2e42d05e8 Merge "Remove self from OWNERS" am: 6bcf0f0530 am: b55d64fe61
Original change: https://android-review.googlesource.com/c/platform/development/+/1939253

Change-Id: I166810d6d161bdcfdafc9932d6afdfa794e550dc
2022-01-12 02:11:37 +00:00
Treehugger Robot
b55d64fe61 Merge "Remove self from OWNERS" am: 6bcf0f0530
Original change: https://android-review.googlesource.com/c/platform/development/+/1939253

Change-Id: I20d0d3ac5c399b9572495a0ff06b3218b7fbf2fa
2022-01-12 01:58:48 +00:00
Treehugger Robot
6bcf0f0530 Merge "Remove self from OWNERS" 2022-01-12 01:45:53 +00:00
Ming-Shin Lu
d45b8f1d4f Using IME context to inflate layout from S_V2 am: e0caa3b4af
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/16600245

Change-Id: I73a467cff499f9e2a239d375b50b0ce803479fd1
2022-01-11 17:23:18 +00:00
Andrew Walbran
b24c9733af Merge "Add --no-presubmit option to prevent host tests being run in presubmit." am: 10d2ee6c3d am: d4619f1a0d am: d8d78c83b3
Original change: https://android-review.googlesource.com/c/platform/development/+/1942517

Change-Id: If51e8b25c14fa0d2965443a94a4bbda1d3809c13
2022-01-10 18:33:01 +00:00
Andrew Walbran
d8d78c83b3 Merge "Add --no-presubmit option to prevent host tests being run in presubmit." am: 10d2ee6c3d am: d4619f1a0d
Original change: https://android-review.googlesource.com/c/platform/development/+/1942517

Change-Id: Ic273760aefdeebc21ad9c1832c919773de35661a
2022-01-10 18:13:11 +00:00
Andrew Walbran
d4619f1a0d Merge "Add --no-presubmit option to prevent host tests being run in presubmit." am: 10d2ee6c3d
Original change: https://android-review.googlesource.com/c/platform/development/+/1942517

Change-Id: I215f9f6ec6c50bbb3d19b5fa169781e69ea9aff2
2022-01-10 17:57:36 +00:00
Andrew Walbran
10d2ee6c3d Merge "Add --no-presubmit option to prevent host tests being run in presubmit." 2022-01-10 17:42:30 +00:00
Andrew Walbran
ca9f9f2266 Add --no-presubmit option to prevent host tests being run in presubmit.
For some unknown reason the change to merge rust_test and rust_test_host
targets caused some crosvm tests to be run (and fail) in prebsubmit which
were not previously being run, so this is necessary to work around it.

Test: Ran cargo2android.py on various crosvm crates.
Change-Id: I9b94d270148d8ce5fa97f88f460d8c03eac3873c
2022-01-10 16:02:53 +00:00
Ming-Shin Lu
e0caa3b4af Using IME context to inflate layout from S_V2
With CL[1],[2] to migrate InputMethodService as the subclass of the new
introduced class WindowProviderService in S_V2, IME context resources
can be managed by associating the window container of IME window when
its display/window configuration changed.

So in SoftKeyboard#getDisplayContext, we can get rid of
createDisplayContext logic from S_V2 with gated by SDK version and
refining the method documentation to make it clear.

[1]: Ie565e30ed5dd3f2cfe27355a6dded76dc3adc14b
[2]: I64a1614f32d097785915f6105b1813a929e0fe32

Bug: 213118079
Bug: 133825283
Test: manual with below steps
    1) adb install -r EditTextVariations.apk
    2) adb install -r SoftKeyboard.apk
    3) adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
    4) adb shell ime set com.example.android.softkeyboard/.SoftKeyboard5
    5) Enable screen auto-rotation
    6) Launch EditTextVariations from launcher's shortcut
    7) Tap the first EditText field to show IME
    8) Rotate the device to the landscape mode
    9) Expect the IME should not be shrunk

Change-Id: I9a512a90ca43f07236a041d9e82dbd875206f99e
2022-01-10 23:42:17 +08:00
Treehugger Robot
61f6963e01 Merge "Ignore clippy configuration flags." am: befbd598d7 am: c44d7fd9ac am: 20befeb5c4
Original change: https://android-review.googlesource.com/c/platform/development/+/1939133

Change-Id: I6a1de9f81b8ed277a662f5fc9d6a062528d5d74e
2022-01-07 17:20:51 +00:00
Treehugger Robot
20befeb5c4 Merge "Ignore clippy configuration flags." am: befbd598d7 am: c44d7fd9ac
Original change: https://android-review.googlesource.com/c/platform/development/+/1939133

Change-Id: If1020245ee7aab56478579c771be940dfd8fda6c
2022-01-07 17:06:28 +00:00
Treehugger Robot
c44d7fd9ac Merge "Ignore clippy configuration flags." am: befbd598d7
Original change: https://android-review.googlesource.com/c/platform/development/+/1939133

Change-Id: Id0b3aa4dcf2c97e921d406379be931fca2a88c91
2022-01-07 16:44:23 +00:00
Treehugger Robot
befbd598d7 Merge "Ignore clippy configuration flags." 2022-01-07 16:25:53 +00:00
Andrew Walbran
0e65bba93d Ignore clippy configuration flags.
Test: Ran ./all2android.sh under external/crosvm
Change-Id: I29a50ee242bca5111004b6ba56867b1e68ccd8f3
2022-01-07 15:12:00 +00:00
Treehugger Robot
7bd52b1bd5 Merge "Remove parameters from symbolized stack traces." am: a3fe9b1729 am: 84ae029abf am: 4b25ad651b
Original change: https://android-review.googlesource.com/c/platform/development/+/1875691

Change-Id: I90080b1e44d34fbfb60483156d9348ab62c7845a
2022-01-06 18:41:17 +00:00
Treehugger Robot
4b25ad651b Merge "Remove parameters from symbolized stack traces." am: a3fe9b1729 am: 84ae029abf
Original change: https://android-review.googlesource.com/c/platform/development/+/1875691

Change-Id: I1fd372ead3544203c97f300a2b8edb13128cd91e
2022-01-06 18:29:03 +00:00
Joel Galenson
973e63ab11 Remove self from OWNERS
Test: None
Change-Id: If2341f925c28953a522b0e0b96535a3126ff954b
2022-01-06 10:18:42 -08:00
Treehugger Robot
84ae029abf Merge "Remove parameters from symbolized stack traces." am: a3fe9b1729
Original change: https://android-review.googlesource.com/c/platform/development/+/1875691

Change-Id: I490dacde561bec1ddef34de6982ea84ab9adf78a
2022-01-06 18:08:28 +00:00
Treehugger Robot
a3fe9b1729 Merge "Remove parameters from symbolized stack traces." 2022-01-06 17:52:54 +00:00
Treehugger Robot
7954a1b5dc Merge "Don't try to remove Cargo.lock if it doesn't exist." am: fa51a80114 am: a9136a088c am: 89856f54d1
Original change: https://android-review.googlesource.com/c/platform/development/+/1938733

Change-Id: Icdd82afd6dbe707c8dc945e61fda0c82edc9b3ce
2022-01-06 16:06:28 +00:00
Treehugger Robot
89856f54d1 Merge "Don't try to remove Cargo.lock if it doesn't exist." am: fa51a80114 am: a9136a088c
Original change: https://android-review.googlesource.com/c/platform/development/+/1938733

Change-Id: Ic02d88ecd99b8a4618cfbfe3e7e9da79d4ada32c
2022-01-06 15:55:04 +00:00
Treehugger Robot
a9136a088c Merge "Don't try to remove Cargo.lock if it doesn't exist." am: fa51a80114
Original change: https://android-review.googlesource.com/c/platform/development/+/1938733

Change-Id: I820245d6d4d18c13461da63b3af3c7961bade5b4
2022-01-06 15:36:39 +00:00
Treehugger Robot
fa51a80114 Merge "Don't try to remove Cargo.lock if it doesn't exist." 2022-01-06 15:19:36 +00:00
Andrew Walbran
a32a04851b Don't try to remove Cargo.lock if it doesn't exist.
Change-Id: Ibfad6d97988edb6305d7a237d038412ec5a6100f
2022-01-06 14:03:50 +00:00
Chih-hung Hsieh
3051947a48 Merge "Use clang-r437112b for clang-tools build" am: e62be4dbe8 am: 71b755b46e am: bb83d73c92
Original change: https://android-review.googlesource.com/c/platform/development/+/1934620

Change-Id: I0e16dd08e95bf820480a71389d2e33d428b5abbe
2022-01-06 05:36:00 +00:00
Chih-hung Hsieh
bb83d73c92 Merge "Use clang-r437112b for clang-tools build" am: e62be4dbe8 am: 71b755b46e
Original change: https://android-review.googlesource.com/c/platform/development/+/1934620

Change-Id: I31b074c137aa33471e54ce29f4911d5288cc83ba
2022-01-06 05:09:36 +00:00
Chih-hung Hsieh
71b755b46e Merge "Use clang-r437112b for clang-tools build" am: e62be4dbe8
Original change: https://android-review.googlesource.com/c/platform/development/+/1934620

Change-Id: I9635b6929ccd0275a37f79caecd6e2018d676f45
2022-01-06 04:56:00 +00:00
Chih-hung Hsieh
e62be4dbe8 Merge "Use clang-r437112b for clang-tools build" 2022-01-06 04:36:48 +00:00
Anton Hansson
247624e6d6 Merge "Remove references to win_sdk" am: 65b493960f am: d5395d93a4 am: 2e8c595080
Original change: https://android-review.googlesource.com/c/platform/development/+/1936081

Change-Id: I708d6b5cb57afc536613993ce47e17a61270033c
2022-01-05 19:10:40 +00:00
Anton Hansson
2e8c595080 Merge "Remove references to win_sdk" am: 65b493960f am: d5395d93a4
Original change: https://android-review.googlesource.com/c/platform/development/+/1936081

Change-Id: I11338ea320d6d28ff21a7d0fcf6027387f1bf0d9
2022-01-05 08:45:42 +00:00
Anton Hansson
d5395d93a4 Merge "Remove references to win_sdk" am: 65b493960f
Original change: https://android-review.googlesource.com/c/platform/development/+/1936081

Change-Id: I4128a39a88de891ee3a77d9fc8e904d78ea5ee9d
2022-01-05 08:29:21 +00:00
Anton Hansson
65b493960f Merge "Remove references to win_sdk" 2022-01-05 08:13:21 +00:00
Treehugger Robot
ba08bc42e9 Merge "Pack all boot images in a zip for certification" am: 9e8e85292b am: 03d1dc5c7e am: d50c0828e3
Original change: https://android-review.googlesource.com/c/platform/development/+/1936022

Change-Id: I48feb697a1175d088185eaecaacceb5833aa825d
2022-01-05 04:24:13 +00:00
Treehugger Robot
d50c0828e3 Merge "Pack all boot images in a zip for certification" am: 9e8e85292b am: 03d1dc5c7e
Original change: https://android-review.googlesource.com/c/platform/development/+/1936022

Change-Id: Ib0896a8ab7d747e24f16f0e28e76fd706ae6253a
2022-01-05 04:13:04 +00:00
Treehugger Robot
03d1dc5c7e Merge "Pack all boot images in a zip for certification" am: 9e8e85292b
Original change: https://android-review.googlesource.com/c/platform/development/+/1936022

Change-Id: I745b01dfb5addf6556f13c1b8f5d1f42f3106779
2022-01-05 04:00:46 +00:00
Treehugger Robot
9e8e85292b Merge "Pack all boot images in a zip for certification" 2022-01-05 03:48:08 +00:00
Howard Chen
56bfe956a4 Pack all boot images in a zip for certification
The certification script accepts one single zip file as its input.

Bug: 198363484
Test: \
  make bootimage dist && \
  ./development/gsi/build_with_kernel/pack_boot_for_signing.sh
Change-Id: Ia0289979400ea23196449c34865540309bf1e19b
2022-01-05 10:02:22 +08:00
Anton Hansson
3d6f96446a Remove references to win_sdk
This goal doesn't exist anymore. The build system automatically
translates it to "sdk".

Test: m win_sdk dist && inspect out/dist/apistubs
Change-Id: Iebe902b44cbdc76e62d38617ae549ef1c0cdf729
2022-01-04 09:11:17 +00:00
Chih-Hung Hsieh
a8bbf841a2 Use clang-r437112b for clang-tools build
Bug: 201432564
Test: presubmit
Change-Id: I2407b49863dce66637a97e26be7f5efbb148c00e
2021-12-28 11:37:04 -08:00
David Srbecky
80547ae39d Remove parameters from symbolized stack traces.
The expanded parameters take a lot horizontal space
and almost always push the file:line of the screen,
or text-wrap generating multiple lines per frame.

This CL tries to make the output less cluttered by
removing parameters from the unmangled method names.

It is possible to add the parameters back using
the --verbose command line argument.

Test: Add unit tests, investigate crashes from logcat
Change-Id: I42d1e26dbc2fa9db8b7bd95ce449cb2bd93f93f8
2021-12-23 14:09:11 +00:00