Commit Graph

28132 Commits

Author SHA1 Message Date
Yo Chiang
7ee04ece2e Merge "repo_diff: workspace mustn't be in existing tree" am: 36f1452bd4 am: 401bea0161
Change-Id: I85c671b6fd0e7907ccee4cd78508c583c887f7d8
2020-04-24 07:26:19 +00:00
Yo Chiang
401bea0161 Merge "repo_diff: workspace mustn't be in existing tree" am: 36f1452bd4
Change-Id: I7c86b1b19e23da89e60bbb1176a17e0c76863182
2020-04-24 07:16:13 +00:00
Yo Chiang
36f1452bd4 Merge "repo_diff: workspace mustn't be in existing tree" 2020-04-24 07:09:51 +00:00
TreeHugger Robot
79289b6516 Merge "Fix NPE when run the testing in IntentPlayground" into rvc-dev am: 44b11dd142
Change-Id: I7a63deb14b0e9727e53c5c1a01a20c83a86d26e5
2020-04-24 02:51:27 +00:00
TreeHugger Robot
44b11dd142 Merge "Fix NPE when run the testing in IntentPlayground" into rvc-dev 2020-04-24 02:34:41 +00:00
Yo Chiang
9e4a1bad45 repo_diff: workspace mustn't be in existing tree
Check that |workspace| is not a sub-directory of an Android tree, so
that we don't `repo init` to a directory outside of |workspace|.

Test: mkdir /tmp/test && cd /tmp/test && repo init [AOSP]
Test: ./repo_diff_android.py  # Should fail to repo-init
Test: rm -rf .repo/ && ./repo_diff_android.py  # Should success
Change-Id: I3e1b94e8e3664cc50ab790aaa7e27b2a8d3feef0
2020-04-23 17:53:47 +08:00
Treehugger Robot
b153393313 Merge "Add a script for generating the NDK documentation." am: eedf0b0986 am: e5d9a4ede0
Change-Id: Ic19d6e1cda8c363fe2b647b1d7e068f7fc53b3f7
2020-04-23 00:37:31 +00:00
Treehugger Robot
e5d9a4ede0 Merge "Add a script for generating the NDK documentation." am: eedf0b0986
Change-Id: If1c153ea0ce0b64d9049e94509e29fd478245778
2020-04-23 00:22:39 +00:00
Treehugger Robot
eedf0b0986 Merge "Add a script for generating the NDK documentation." 2020-04-23 00:08:30 +00:00
Dan Albert
987b0998c7 Add a script for generating the NDK documentation.
This is not going to exactly match the view on devsite since that goes
through a different layer of tooling and is themed differently, but
it's a decent approximation for checking most formatting issues.

Longer term, we need to get prebuilts for doxygen into the tree so we
can revive `m ndk-docs`.

Test: ./build_ndk_docs.py
Bug: http://b/115644359
Change-Id: Ib1533a8f45731a1ae2fbec79d463d17e9124beaa
2020-04-22 14:20:42 -07:00
Colin Cross
064a52e424 [automerger skipped] Package core-current-stubs-for-system-modules into the SDK am: 18b3f5f895 -s ours
am skip reason: Change-Id I9d67344f159f9482567323f27c5a8e4e060e1f1a with SHA-1 89c5517a28 is in history

Change-Id: I7d646dd40659c9a6669513e5898ec0acfca4737a
2020-04-22 18:35:44 +00:00
Colin Cross
18b3f5f895 Package core-current-stubs-for-system-modules into the SDK
core-current-stubs-for-system-modules needs to be distributed
in the SDK to allow apps to be built with javac -source 9 -target 9.

Bug: 143209928
Test: m TARGET_PRODUCT=sdk_phone_x86 TARGET_BUILD_VARIANT=userdebug sdk sdk_repo dist
Change-Id: I9d67344f159f9482567323f27c5a8e4e060e1f1a
Merged-In: I9d67344f159f9482567323f27c5a8e4e060e1f1a
(cherry picked from commit 89c5517a28)
2020-04-22 08:59:03 -07:00
Colin Cross
dd5163124e Merge "Package core-current-stubs-for-system-modules into the SDK" am: 56d21f5ebb am: 73e25944a0
Change-Id: I6aeef43fe3e2a4e0a2e5a15fc54c1a600b2923e7
2020-04-21 23:11:35 +00:00
Ady Abraham
de40eecb8d remove obsolete path from frameworks/native am: ea7685211d
Change-Id: I8d5aa00cca31a577fab7c26f6775b05232fb1a87
2020-04-21 22:51:23 +00:00
Colin Cross
73e25944a0 Merge "Package core-current-stubs-for-system-modules into the SDK" am: 56d21f5ebb
Change-Id: I59f542a35b61c8cbc52adbb13c14ff1e2ed230c5
2020-04-21 22:46:19 +00:00
Colin Cross
56d21f5ebb Merge "Package core-current-stubs-for-system-modules into the SDK" 2020-04-21 22:25:26 +00:00
Ady Abraham
ea7685211d remove obsolete path from frameworks/native
ag/11038755 removed some tests from SurfaceFlinger, so we need
to update CMakeLists.txt as well.

Test: Open CLion on fameworks/native project
Bug: b/77585359
Change-Id: Ide31716c85dca3c80979221577b444ecaffb6b32
2020-04-21 13:45:44 -07:00
Jeff Chang
6275634b9e Fix NPE when run the testing in IntentPlayground
StartActivity with a null intent lead to the NPE when execute
the Intent testing.

This CL make sure the intent is good before run the testing

Bug: 154568140
Test: Manual to run the intent tesing.
Change-Id: I8d8bc8e1347ae5f095e01f4a718f2ab936574fcc
2020-04-21 10:34:53 +00:00
Treehugger Robot
09836adb6e Merge changes Ibfc261d8,I2c9001ef am: 13954964bc am: 1536cb65fd
Change-Id: I3a803c1e1e4260729c018e1b9631475a0d30adf2
2020-04-21 04:13:58 +00:00
Treehugger Robot
1536cb65fd Merge changes Ibfc261d8,I2c9001ef am: 13954964bc
Change-Id: I0727390174eaf490a9355f22a163c745640b5e41
2020-04-21 03:52:45 +00:00
Treehugger Robot
13954964bc Merge changes Ibfc261d8,I2c9001ef
* changes:
  repo_pull: Handle abnormal responses
  repo_review: Add --add-reviewer, --delete-reviewer
2020-04-21 03:34:17 +00:00
Yo Chiang
dc9a2b7ec9 repo_pull: Handle abnormal responses
urllib.error.HTTPError works as a http response object (same type that
urlopen() returns). Handle the exception by reading and parsing the
response body of the error.

Test: ./repo_review.py --add-reviewer [invalid username] [query]
Test: ./repo_review.py --add-reviewer [ambiguous username] [query]
Change-Id: Ibfc261d83f2f9efd7873835f74ce8d5e980821c9
2020-04-21 02:56:08 +00:00
Yo Chiang
c8827d1fd8 repo_review: Add --add-reviewer, --delete-reviewer
Test: ./repo_review.py --add-reviewer [lint bot] [query]
Test: ./repo_review.py --delete-reviewer [lint bot] [query]
Change-Id: I2c9001ef83e48656053db1dbfe7d373ce2b26eea
2020-04-20 17:00:30 +08:00
Colin Cross
89c5517a28 Package core-current-stubs-for-system-modules into the SDK
core-current-stubs-for-system-modules needs to be distributed
in the SDK to allow apps to be built with javac -source 9 -target 9.

Bug: 143209928
Test: m TARGET_PRODUCT=sdk_phone_x86 TARGET_BUILD_VARIANT=userdebug sdk sdk_repo dist
Change-Id: I9d67344f159f9482567323f27c5a8e4e060e1f1a
2020-04-17 18:18:18 -07:00
Yo Chiang
096bd75397 Merge "Specify import library of DLL prebuilt" am: 9be83948cb am: 88a5770cb7
Change-Id: I2be443774bdb5d60e1745544f80b2da5711aea9d
2020-04-17 01:41:39 +00:00
Yo Chiang
88a5770cb7 Merge "Specify import library of DLL prebuilt" am: 9be83948cb
Change-Id: Ie7cefa322263c1a49c928673826c050274cfe9cc
2020-04-17 01:21:17 +00:00
Yo Chiang
9be83948cb Merge "Specify import library of DLL prebuilt" 2020-04-17 01:07:03 +00:00
Orion Hodson
842130c0f0 Merge "Add explicit dependency on jni_headers" am: d7b8f6e0fb am: 34c9491836
Change-Id: I2472aedfdefa230faccf9b53dd8d8eb4f7f3eb54
2020-04-16 10:51:59 +00:00
Orion Hodson
34c9491836 Merge "Add explicit dependency on jni_headers" am: d7b8f6e0fb
Change-Id: I629822f820e148b797ba20499155c8cfac39c51e
2020-04-16 10:38:05 +00:00
Orion Hodson
d7b8f6e0fb Merge "Add explicit dependency on jni_headers" 2020-04-16 10:25:11 +00:00
Orion Hodson
d54dc1d789 Add explicit dependency on jni_headers
Preparation for removing implicit include paths for jni.h from soong.

Bug: 152482542
Test: m checkbuild
Change-Id: I1801621549689111b058fa611d2d3e2b08ee2a45
Exempt-From-Owner-Approval: build refactoring
2020-04-16 08:25:53 +00:00
Hsin-Yi Chen
738f518080 Merge "Filter ABI if exported include dir is specified." am: 8a0bd01c7b am: b67e3ff5c4
Change-Id: Id5d3ad6f3aaad8c774cf58dee35679d02b534f67
2020-04-16 04:19:46 +00:00
Hsin-Yi Chen
b67e3ff5c4 Merge "Filter ABI if exported include dir is specified." am: 8a0bd01c7b
Change-Id: Ibb840eecad62337c895cf7f818d9e8a5a39774c5
2020-04-16 04:09:01 +00:00
Hsin-Yi Chen
8a0bd01c7b Merge "Filter ABI if exported include dir is specified." 2020-04-16 03:49:50 +00:00
TreeHugger Robot
31388f7631 Merge "Fix reading SurfaceFlinger dump in winscope" into rvc-dev am: d9dc576a2a
Change-Id: I41059452e2689114ea1c4f77986fa97163012555
2020-04-14 22:13:40 +00:00
TreeHugger Robot
d9dc576a2a Merge "Fix reading SurfaceFlinger dump in winscope" into rvc-dev 2020-04-14 21:43:48 +00:00
Hsin-Yi Chen
3c5d03adab Filter ABI if exported include dir is specified.
The ABI dumper used to disable filtering ABI when no header file is
found in the exported include dirs. The output content depends on the
existence of the header files.

This commit makes the dumper decide the filtering by the command line
arguments. If at least one exported include dir is specifed, the dumper
filters the ABI, so that it produces consistent output in an environment
where some usused header files don't exist.

Test: development/vndk/tools/header-checker/tests/test.py
Bug: 153926507
Change-Id: I5c1fd1e74554d875554b4908c9caaf28b9e73236
2020-04-14 18:14:23 +08:00
Treehugger Robot
d256a0bde4 Merge "Switch to clang-r377782d" am: 35d028a7e4 am: 8f7608c3a7
Change-Id: I1601c5510eb2f368759bccf608a7299bdea062e2
2020-04-13 03:00:43 +00:00
Treehugger Robot
8f7608c3a7 Merge "Switch to clang-r377782d" am: 35d028a7e4
Change-Id: Ife313b67319af8f04230169cf66ca7025ac7ad6c
2020-04-13 02:38:02 +00:00
Treehugger Robot
35d028a7e4 Merge "Switch to clang-r377782d" 2020-04-13 02:11:52 +00:00
Vishnu Nair
691c104193 Fix reading SurfaceFlinger dump in winscope
Test: open sf dump in bug
Fixes: 153760658
Change-Id: Ie2f83afaa5dc33b0c78bb6c2407588c8dd73e89d
2020-04-10 16:33:33 -07:00
Stephen Hines
e24e6a6fe6 Switch to clang-r377782d
Test: ./build-prebuilts.sh
Change-Id: I4c61a265f03fe674960893d559170278a9319868
2020-04-10 12:56:01 -07:00
Vishnu Nair
e3542eba83 Fix is_opaque calculations in winscope am: 4b8e9f9b1f
Change-Id: I736234ab96b630c5b0f612bccb0bcdca14f9d88f
2020-04-10 04:28:56 +00:00
Xin Li
3930cb26a8 [automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master am: 79d535fafe -s ours
am skip reason: subject contains skip directive

Change-Id: I3b297f040536e0ffd7ddbf9f9c845d2057abd17b
2020-04-10 02:29:14 +00:00
Vishnu Nair
4b8e9f9b1f Fix is_opaque calculations in winscope
Test: open trace in bug and confirm app is visible behind screenshot
Fixes: 153694172
Change-Id: I60141afc3a28a5e51177d37fd20155c06dcf5882
2020-04-09 18:32:05 -07:00
Xin Li
79d535fafe DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master
Bug: 151763422
Change-Id: I1c095258d6927a192abfc7f78eef050bb29312d6
2020-04-09 17:50:11 -07:00
Svet Ganov
ce375a57a2 Update the sample keyboard to showcase scroll, clip, toggle am: f34c6275f1
Change-Id: I5a636d05e66959a4d627dfb41ebd7a85e913d939
2020-04-08 03:23:47 +00:00
Svet Ganov
f34c6275f1 Update the sample keyboard to showcase scroll, clip, toggle
The keyboard now showcases how one can implement a suggestion
strip with some pinned suggestions on the left and the right
of the strip and the strip suggestions are scrollable and well
as clipped to the scroll are's bounds. Also this showcases
how to toggle the layering of the suggestions to temporary
amimate on top of them. Fun, fun fun :)

bug:1234567

Change-Id: I7f2a6ea148de31be7cd0f13f56d72f6e5246a5f8
2020-04-08 03:10:53 +00:00
Chih-hung Hsieh
ea567299f0 Merge "Accept multiple --crate-type and fix for new cargo." am: 8833757764 am: c81d221b0c
Change-Id: Ic53965e38b87660382d281c20c2bc6feb0da8a22
2020-04-07 19:40:26 +00:00
Chih-hung Hsieh
d0af31058e Merge "Accept multiple --crate-type and fix for new cargo." am: 8833757764 am: c81d221b0c
Change-Id: Icc61ecc41977b84b3f2a089a26a985856b185a60
2020-04-07 19:40:05 +00:00