Taesu Lee
6c7a793c78
repo-review: Add a 'restore' command line option
...
This CL enables repo_review.py to restore CL(s).
Test: repo-review.py -g [url] [query] --restore
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com >
Change-Id: Ia1e84b35dbae453feba338fea1d1f101620cfa06
2021-04-26 11:54:25 +09:00
Dan Albert
49a88d3754
Create out dir if it does not exist.
...
Test: ./build_ndk_docs.py
Bug: None
Change-Id: I47a31b42df4bf555c95f5abde2b0c86e64a32d57
2021-03-19 13:49:27 -07:00
Bob Badour
f7cf305656
[LSC] Add LOCAL_LICENSE_KINDS to development
...
Added SPDX-license-identifier-Apache-2.0 to:
apps/BluetoothDebug/Android.bp
apps/BuildWidget/Android.bp
apps/CustomLocale/Android.bp
apps/DevelopmentSettings/Android.bp
apps/Fallback/Android.bp
apps/GestureBuilder/Android.bp
apps/NinePatchLab/Android.bp
apps/OBJViewer/Android.bp
apps/PushApiAuthenticator/Android.bp
apps/PushApiTestAppOne/Android.bp
apps/PushApiTestAppTwo/Android.bp
apps/SdkSetup/Android.bp
apps/SettingInjectorSample/Android.bp
apps/WidgetPreview/Android.bp
apps/launchperf/Android.bp
cmds/monkey/Android.mk
gsi/gsi_util/Android.bp
gsi/repack_super_image/Android.bp
host/windows/Android.bp
python-packages/Android.bp
samples/AccelerometerPlay/Android.bp
samples/AdaptiveIconSample/Android.bp
samples/AliasActivity/Android.bp
samples/AndroidBeamDemo/Android.bp
samples/AppNavigation/Android.bp
samples/AutofillKeyboard/Android.bp
samples/BackupRestore/Android.bp
samples/BasicGLSurfaceView/Android.bp
samples/BluetoothChat/Android.bp
samples/BrokenKeyDerivation/Android.bp
samples/BrokenKeyDerivation/tests/Android.bp
samples/BusinessCard/Android.bp
samples/Compass/Android.bp
samples/ContactManager/Android.bp
samples/CubeLiveWallpaper/Android.bp
samples/DataWiper/Android.bp
samples/DeviceAdminWhitelistedAccount/Android.bp
samples/FixedGridLayout/Android.bp
samples/HeavyWeight/Android.bp
samples/HelloActivity/Android.bp
samples/HelloActivity/tests/Android.bp
samples/HelloEffects/Android.bp
samples/Home/Android.bp
samples/HoneycombGallery/Android.bp
samples/InlineFillService/Android.bp
samples/JetBoy/Android.bp
samples/LceDemo/Android.bp
samples/LunarLander/Android.bp
samples/LunarLander/tests/Android.bp
samples/MultiResolution/Android.bp
samples/MultiWindow/Android.bp
samples/MySampleRss/Android.bp
samples/NotePad/Android.bp
samples/Obb/Android.bp
samples/RSSReader/Android.bp
samples/ReceiveShareDemo/Android.bp
samples/SampleSyncAdapter/Android.bp
samples/SimpleJNI/Android.bp
samples/SimpleJNI/jni/Android.bp
samples/SipDemo/Android.bp
samples/SkeletonApp/Android.bp
samples/SkeletonApp/tests/Android.bp
samples/Snake/Android.bp
samples/Snake/tests/Android.bp
samples/SoftKeyboard/Android.bp
samples/SpellChecker/HelloSpellChecker/Android.bp
samples/SpellChecker/SampleSpellCheckerService/Android.bp
samples/StackWidget/Android.bp
samples/ThemedNavBarKeyboard/Android.bp
samples/ToyVpn/Android.bp
samples/TtsEngine/Android.bp
samples/USB/AdbTest/Android.bp
samples/USB/MissileLauncher/Android.bp
samples/UiAutomator/Android.mk
samples/Vault/Android.bp
samples/Vault/tests/Android.bp
samples/VoiceRecognitionService/Android.bp
samples/VoicemailProviderDemo/Android.bp
samples/WeatherListWidget/Android.bp
samples/WiFiDirectDemo/Android.bp
samples/WiFiDirectServiceDiscovery/Android.bp
samples/Wiktionary/Android.bp
samples/WiktionarySimple/Android.bp
samples/XmlAdapters/Android.bp
samples/apkcachetest/Android.bp
samples/training/NsdChat/Android.bp
scripts/Android.bp
testrunner/Android.mk
testrunner/tests/Android_native.mk
tools/apkcheck/Android.bp
tools/bugreport/Android.bp
tools/etc1tool/Android.bp
tools/idegen/Android.bp
tools/mkstubs/Android.bp
tools/rmtypedefs/Android.bp
vndk/Android.bp
vndk/tools/Android.bp
vndk/tools/elfcheck/Android.bp
vndk/tools/header-checker/Android.bp
vndk/tools/header-checker/src/repr/protobuf/proto/Android.bp
vndk/tools/header-checker/tests/integration/ifunc/Android.bp
vndk/tools/header-checker/tests/integration/version_script_example/Android.bp
vndk/tools/image-diff-tool/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-CPL-1.0 SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS SPDX-license-identifier-W3C
legacy_restricted legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0
to:
samples/SearchableDictionary/Android.bp
Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
tools/Android.bp
Added SPDX-license-identifier-BSD SPDX-license-identifier-CPL-1.0
SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
SPDX-license-identifier-W3C
to:
sdk/Android.bp
Added legacy_restricted
to:
samples/KeyChainDemo/Android.bp
tools/line_endings/Android.bp
vndk/tools/definition-tool/datasets/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I9847e00fb4278bc083b4debbc751003c995ea45c
2021-02-12 17:13:45 -08:00
Julien Desprez
2f18dab43e
Merge "Delete hosttestlib as it's a legacy approach"
2020-10-22 23:00:08 +00:00
Xin Li
e3b57410da
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
...
Bug: 166295507
Merged-In: I37a77cdaf905fe0bf58ad8eebcdff36873aec71a
Change-Id: Idac9218a0e169df9d02d9d8d376a6816315a4b28
2020-08-27 10:16:04 -07:00
Yo Chiang
36d90eeea2
Strip gerrit url trailing slash
...
Test: ./development/tools/repo_pull/repo_review.py 'topic:"..."' --set-topic "..."
Change-Id: Ifaadfdd3ecd615bbe6948be46ac91a15373bdc3b
2020-08-07 12:42:50 +08:00
Yo Chiang
9520c3f968
Merge "repo_pull: Disable bare-except warning"
2020-07-20 08:48:56 +00:00
Yo Chiang
02006e0199
Merge "repo_pull: Add missing import"
2020-07-20 08:48:22 +00:00
Yo Chiang
80e39b9d5c
Merge "repo_pull: Fix ungrouped-imports warnings"
2020-07-20 08:48:07 +00:00
Yo Chiang
6f5993af4f
Merge "repo_pull: Remove required -g param in repo_review" am: 781e401ba0 am: e893b04b75
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1363356
Change-Id: I37a77cdaf905fe0bf58ad8eebcdff36873aec71a
2020-07-16 12:08:36 +00:00
Luca Stefani
edc569c60c
repo_pull: Disable bare-except warning
...
Change-Id: I6a4af635811dc5d807196812e7782070fe230990
2020-07-16 11:58:31 +00:00
Luca Stefani
a00ac2bad6
repo_pull: Add missing import
...
Change-Id: Ieaeb8524e9543ecb962236c009e62f6b8d89ffaf
2020-07-15 09:21:11 +00:00
Luca Stefani
5e45299741
repo_pull: Fix ungrouped-imports warnings
...
Change-Id: Ie34a8130e04cbfaa99beb6566cd07662011bdbc9
2020-07-15 09:20:36 +00:00
Luca Stefani
37e6441478
repo_pull: Remove required -g param in repo_review
...
* Also add missing import
* Update README to reflect new parameters
Change-Id: I929b165430d9ad3585c86fe771b7838804b9d2ea
2020-07-15 08:59:01 +00:00
Yo Chiang
b4d79d9975
Merge "repo_pull: Automatically extract gerrit instance from repo manifest" am: 9160fbc06f am: 4b1b426db2
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1353903
Change-Id: If78c097df1649ea48a16dae2611934a45fc1bdf6
2020-07-14 05:48:47 +00:00
Luca Stefani
bd2e580b4d
repo_pull: Automatically extract gerrit instance from repo manifest
...
Test: ./development/tools/repo_pull/repo_pull.py pull topic:hidl-vndk
Change-Id: I44974ec5df65e404591d35c39238d58207001110
2020-07-13 18:02:45 +00:00
Julien Desprez
03119f3354
Delete hosttestlib as it's a legacy approach
...
This shouldn't be used anymore.
Test: make
Bug: 160907589
Change-Id: Id4fbba95e09dc725721635b074aa264bac29193c
2020-07-09 14:57:56 -07:00
Yo Chiang
fcdbf586e3
Merge "Refine repo_pull.py" am: efc8981299 am: 9c80ee5a59
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1345396
Change-Id: I581558866bfa4453ce4d389bae7aeb36e56c8f65
2020-07-01 02:52:58 +00:00
Yo Chiang
8eb3d4fae0
Refine repo_pull.py
...
Use `repo manifest` command to retrieve manifest.
Change working directory to $ANDROID_BUILD_TOP before executing
commands.
Bug: 159346230
Test: ./repo_pull.py bash '<some commit query>' \
-g https://android-review.googlesource.com
Change-Id: Ie5d29a4ae7b4b0e00c0900c8445e318dac807c77
2020-06-24 18:54:15 +08:00
Treehugger Robot
a14542330f
Merge "Remove unused imports from Main.java" am: 8fe2c34a0d am: 04a8893896
...
Change-Id: I898d5a6d24b0f73e18c8c95cf5b32c30ea0bcad9
2020-05-25 06:32:05 +00:00
Treehugger Robot
8fe2c34a0d
Merge "Remove unused imports from Main.java"
2020-05-25 06:02:20 +00:00
Treehugger Robot
feabcc35f7
Merge "repo-review: Add a 'submit' command line option" am: 758cd9929c am: db109eabff
...
Change-Id: If189c7657295ac46f00faa0a62cd85bcfe803e4a
2020-05-21 09:01:19 +00:00
Po-Chien Hsueh
4e83237bb5
repo-review: Add a 'submit' command line option
...
This CL enables repo_review.py to submit CL(s).
Test: repo-review.py -g [url] [query] --submit
Change-Id: I9ecdc2b97bb0250597d76ef2d39596f66182530f
2020-05-21 07:13:24 +00:00
TreeHugger Robot
719a977e6b
Merge "Ignore transform if not set" into rvc-dev am: aab157a4c8
...
Change-Id: Id171728bbbe7482df0d179fd0c57740f7f9f8b88
2020-05-20 18:03:09 +00:00
TreeHugger Robot
6090e38ffa
Merge "Load wayland proto definitions if available otherwise load stubs" into rvc-dev am: 2e4598b0c9
...
Change-Id: I64541354839803fdcd3e82d5877e4e6e125e8cfb
2020-05-20 18:02:39 +00:00
TreeHugger Robot
aab157a4c8
Merge "Ignore transform if not set" into rvc-dev
2020-05-20 17:58:34 +00:00
TreeHugger Robot
2e4598b0c9
Merge "Load wayland proto definitions if available otherwise load stubs" into rvc-dev
2020-05-20 17:50:09 +00:00
Vishnu Nair
77507c22c7
Ignore transform if not set
...
Fixes wayland trace visualization. Also adds a sample wayland trace to help future testing.
Fixes: 157097684
Test: Can see wayland windows in winscope
Change-Id: I906e557abeb5549dd6cb065d2b03c9e1d3a276f8
2020-05-20 08:49:15 -07:00
Vishnu Nair
fe1595999f
Load wayland proto definitions if available otherwise load stubs
...
Fixes: 157095921
Test: yarn run dev & load wayland trace
Change-Id: Id6a5faa592d4ec8c8919828983f32283db40fc53
2020-05-20 08:48:37 -07:00
TreeHugger Robot
8b291ec99e
Merge "Parse all children in wm dump" into rvc-dev am: 29c2fdac5e
...
Change-Id: I6cf1c9ce4f1dd86089588d7a7f72425117751278
2020-05-19 21:13:41 +00:00
Vishnu Nair
68f08011ad
Parse all children in wm dump
...
Fixes: 156533443
Test: open wm proto dump in winscope
Change-Id: I8bb500b726ae01ebc686da06399aa612f4bb6f82
2020-05-13 14:48:58 -07:00
Vishnu Nair
35c1d539dd
Look up proto type definitions separately am: 9c93e69a4f
...
Change-Id: I9835533767e41d5f507290541e262162c4afa8c9
2020-05-12 19:04:16 +00:00
Vishnu Nair
9c93e69a4f
Look up proto type definitions separately
...
Creating nested types will cause type collisions. Instead search
for the type separately. Also fixes an issue parsing sf traces
from Q.
Fixes: 156034870
Test: yarn run dev
Test: open sf trace from q
Change-Id: I3c2a283e56985bfee56633a5e914b83ac2a0cf3b
2020-05-12 17:09:04 +00:00
utzcoz
0609c877cf
Remove unused imports from Main.java
...
Test: mm.
Change-Id: I22589ca03914833b569c969c011a932f9c564dca
Signed-off-by: utzcoz <utzcoz@gmail.com >
2020-05-09 17:08:36 +08:00
Yo Chiang
33e1ca8aab
Merge "repo_pull: Refactor error handling" am: d3639deadf am: 38629e4d29
...
Change-Id: I7da8d58bf51381c7d4c18ae258e8f74b6a1de8fc
2020-05-06 03:59:38 +00:00
Yo Chiang
d3639deadf
Merge "repo_pull: Refactor error handling"
2020-05-06 03:26:09 +00:00
Yo Chiang
5f451a4676
repo_pull: Refactor error handling
...
* repo_review.py requests all go through _make_json_post_request()
* _make_json_post_request() gracefully handles exceptions
* _print_error() prints json or plain text response
* Add some docstrings
Test: ./repo_review.py --add-reviewer [invalid username] [query]
Test: ./repo_review.py --add-reviewer [ambiguous username] [query]
Test: ./repo_review.py --delete-reviewer [invalid username] [query]
Test: ./repo_review.py --delete-topic [query]
Change-Id: I900ef416bb4195d6fb4d72b0c4f53f3fd78a6e7e
2020-05-04 03:23:15 +00:00
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
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
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
Treehugger Robot
09836adb6e
Merge changes Ibfc261d8,I2c9001ef am: 13954964bc am: 1536cb65fd
...
Change-Id: I3a803c1e1e4260729c018e1b9631475a0d30adf2
2020-04-21 04:13:58 +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
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
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
Vishnu Nair
e3542eba83
Fix is_opaque calculations in winscope am: 4b8e9f9b1f
...
Change-Id: I736234ab96b630c5b0f612bccb0bcdca14f9d88f
2020-04-10 04:28:56 +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
TreeHugger Robot
2620649897
Merge "Add occlusion state for surface flinger trace" into rvc-dev am: 12623eba4c
...
Change-Id: I4e92e04c049148dd9c116729ba25418d94fc74ca
2020-04-07 16:35:03 +00:00