Kean Mariotti
eb43c13603
Fix UI issues (trace collection config)
...
Fix: b/265342451
Test: click trace config checkboxes + drop down lists and check they work as expected
Change-Id: I5bd8ab8bd20b15e97c9e8ca4fead94fd42337971
2023-01-19 20:56:48 +00:00
Yabin Cui
7d47151afb
Merge "Update clang-tools build to clang-r475365b"
2023-01-19 20:42:44 +00:00
Daniel Chapin
c81d1a48f6
Merge "Revert "Remove samples for deprecated Android Beam API""
2023-01-19 19:41:42 +00:00
TreeHugger Robot
9ecf8cdef6
Merge "Detect changes on config checkbox click"
2023-01-19 14:34:09 +00:00
Pablo Gamito
1da4387972
Detect changes on config checkbox click
...
Ensure the UI shows the checkbox as being clicked immediately instead of when clicking out only.
Test: click on the trace config checkbox and make sure they are uncheck and checked as expected
Change-Id: I37471161e38f473310433a772cb0def3ab747b16
2023-01-19 13:24:10 +00:00
Treehugger Robot
8e4ce98ee0
Merge "Fix adb_py module." am: 085867a244 am: 37a0149a2d am: 937c03c8d4
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2394273
Change-Id: Ie0c43e11f33568552f5e0c64db1742dbc5a03b2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 04:00:04 +00:00
Treehugger Robot
937c03c8d4
Merge "Fix adb_py module." am: 085867a244 am: 37a0149a2d
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2394273
Change-Id: I219c95d6d02a1d96a0427af0b208342e9c404e00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 02:46:55 +00:00
Treehugger Robot
37a0149a2d
Merge "Fix adb_py module." am: 085867a244
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2394273
Change-Id: Ie20e128ef6ffd910ebbc9b5af94f068858283228
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 02:15:49 +00:00
Treehugger Robot
085867a244
Merge "Fix adb_py module."
2023-01-19 01:23:54 +00:00
Frederick Mayle
bca6d703ba
Merge "cargo_embargo: new cargo2android tool" am: c72989659a am: 9ed2a1bb41 am: 637e41a172
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2315578
Change-Id: I8fe2ba2c0d01ce681128f21f3d76e160275a93c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 23:22:10 +00:00
Frederick Mayle
637e41a172
Merge "cargo_embargo: new cargo2android tool" am: c72989659a am: 9ed2a1bb41
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2315578
Change-Id: Ic1c8e75b00c58fc199358656c9836eb05da65c93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 22:41:36 +00:00
Dan Albert
dcf513a013
Fix adb_py module.
...
Apparently these tests are used, they are just defined in
//packages/modules/adb, so atest can't find them here.
Bug: http://b/265846006
Test: ran adb_integration_test_device
Change-Id: If1d82280ab51e80497d235f55582688b78c00f5b
2023-01-18 22:23:38 +00:00
Frederick Mayle
9ed2a1bb41
Merge "cargo_embargo: new cargo2android tool" am: c72989659a
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2315578
Change-Id: I0feaa29e099f406e297b26a7d75201d559fff1fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 22:06:05 +00:00
Frederick Mayle
c72989659a
Merge "cargo_embargo: new cargo2android tool"
2023-01-18 21:31:44 +00:00
Frederick Mayle
77eb4ba473
cargo_embargo: new cargo2android tool
...
A fork of cargo2android, initially aimed at big imports like crosvm.
* Faster run time when there are many packages (30 min -> 1 min for
crosvm).
* `--reuse-cargo-out` feature allows iterating on most of the config
with sub second run time.
* Most options can be specified per-package.
Bug: 261486161
Test: ran on crosvm and checked diffs
Change-Id: Iaf3f4732e828a6f8b281f0e63fe1e0e1e9e98631
2023-01-18 11:48:09 -08:00
Yabin Cui
deddd88b27
Update clang-tools build to clang-r475365b
...
Also remove -std=c++14 flag. Because clang 16 uses c++17
by default. And some headers don't compile with c++14.
Bug: 253033919
Test: run build-prebuilts.sh
Change-Id: Ia76c227831ed62a9de190fb1d816f23d7c92fad2
2023-01-18 10:27:50 -08:00
Kean Mariotti
eeac3201d1
Fix format errors
...
Test: npm run format:check
Change-Id: Iad318775170c4c10691c36ab8dd4b7f2574d699a
2023-01-18 16:25:43 +00:00
Kean Mariotti
5e6e22d2b4
Merge "Generate real timestamp for WM dumps"
2023-01-18 16:22:46 +00:00
Kean Mariotti
89b1bc0656
Generate real timestamp for WM dumps
...
Fix: b/265941075
Test: npm run build:all && npm run test:all
Change-Id: Icee5428d95e3db58c23aa4b731bc973da6d3ee94
2023-01-18 16:21:25 +00:00
Kean Mariotti
b260ff8bdb
Merge changes I0cfdff9f,Ic9ae610c
...
* changes:
Add correction factor in video time calculation
Fix format errors
2023-01-18 14:06:34 +00:00
Hsin-Yi Chen
ba24fcc100
Merge "Add a field for arrays of unknown bound" am: 160df5c455 am: e701d73012 am: 49db5e9441
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2385932
Change-Id: Ic24c4306b5807a3313ee4bbcb304349190be5d65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 04:36:45 +00:00
Hsin-Yi Chen
49db5e9441
Merge "Add a field for arrays of unknown bound" am: 160df5c455 am: e701d73012
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2385932
Change-Id: I8f14561826830339d3dcef09bd0081b6e6c46de1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 03:33:30 +00:00
Hsin-Yi Chen
e701d73012
Merge "Add a field for arrays of unknown bound" am: 160df5c455
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2385932
Change-Id: I458832ffb3def7388ba67bb8aa6d77ded21dceda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 03:01:01 +00:00
Hsin-Yi Chen
160df5c455
Merge "Add a field for arrays of unknown bound"
2023-01-18 02:12:17 +00:00
Daniel Chapin
8de7b4b166
Revert "Remove samples for deprecated Android Beam API"
...
Revert submission 20750504-nfc-beam-cleanup
Reason for revert: Droidfood blocking bug: 265628639
Reverted changes: /q/submissionid:20750504-nfc-beam-cleanup
Change-Id: I52227544aa152471ab3186eb21dd3a3f0e7cc193
2023-01-17 23:00:19 +00:00
Dan Albert
e6537915ff
Merge changes from topic "restructure-adb.py" am: bf8030234b am: a6ed1573c6 am: c7e961ef31
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2363015
Change-Id: I42186ca58c8f9229008d4ca3fd9d44a067ddc28e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 21:11:35 +00:00
Dan Albert
c7e961ef31
Merge changes from topic "restructure-adb.py" am: bf8030234b am: a6ed1573c6
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2363015
Change-Id: I4f8356bf4347b68fba7beea4fd809e42f83f64d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 20:00:54 +00:00
Dan Albert
a6ed1573c6
Merge changes from topic "restructure-adb.py" am: bf8030234b
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2363015
Change-Id: I831bd82414497174a3ce59791ad5102fd14511cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 19:27:08 +00:00
Dan Albert
bf8030234b
Merge changes from topic "restructure-adb.py"
...
* changes:
Fix tests.
Make this a proper python package.
Remove python 2 garbage.
Add type information to adb module.
2023-01-17 18:50:50 +00:00
Shaju Mathew
4947248635
Merge "Add py.typed file to export types to dependents." am: 4e13a43693 am: a79de22044 am: 910896d0a4
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2363011
Change-Id: I1193713bbf79c3d4155e96bd5f659bb7d9edd369
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 17:28:50 +00:00
Shaju Mathew
910896d0a4
Merge "Add py.typed file to export types to dependents." am: 4e13a43693 am: a79de22044
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2363011
Change-Id: Ifdb6a67c73a29f491078ed9a00e937c287e9d331
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 16:53:29 +00:00
Shaju Mathew
a79de22044
Merge "Add py.typed file to export types to dependents." am: 4e13a43693
...
Original change: https://android-review.googlesource.com/c/platform/development/+/2363011
Change-Id: Ia6abc4852d51e395fd61a2db43f3439ea5d67b95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-17 16:14:18 +00:00
Shaju Mathew
4e13a43693
Merge "Add py.typed file to export types to dependents."
2023-01-17 15:25:34 +00:00
Kean Mariotti
f7febbc606
Add correction factor in video time calculation
...
Test: npm run build:all && npm run test:all
Change-Id: I0cfdff9fbbc15a4ad5d5a21c0f4df44335291830
2023-01-17 15:04:34 +00:00
Kean Mariotti
8df9b96528
Fix format errors
...
Test: npm run format:check
Change-Id: Ic9ae610c108703ac0a03751a8eb822a1366a17b5
2023-01-17 14:51:10 +00:00
Nataniel Borges
721cc64e7c
Fix layer trace entry builder API
...
Previously the viewer had all methods in the builder because of name
mangling. With jsName annotation this issue was solved and we can now
use the correct API
Test: open winscope and take a SF dump
Change-Id: I4c1ad3dada5ce994540adb45ad04041e02a4ad39
2023-01-16 15:01:49 +00:00
Hsin-Yi Chen
3a51bf53f1
Add a field for arrays of unknown bound
...
The ABI tools do not diff the array length. They cannot distinguish
between arrays of unknown bound (e.g., int foo[]) and arrays of zero
length (e.g., int bar[0]). To implement array diff, this commit adds
"is_of_unknown_bound" field to the ABI dumps. It defaults to false so
that it can be omitted for common cases.
Test: ./test.py ; update prebuilts/clang-tools and build
Bug: 255702405
Change-Id: I5db163eb62e95fa01377ef7202e70cc2a0e89524
2023-01-16 17:36:38 +08:00
Charles Chen
fb50c5cd8f
Merge "Create SampleVisualQueryDetectionService"
2023-01-14 06:06:24 +00:00
Colin Cross
4a537d815e
Merge "Remove AndroidBeamDemo from samples"
2023-01-14 05:17:00 +00:00
Dan Albert
808c90cf8d
Fix tests.
...
Bug: None
Test: pytest
Change-Id: Ibe4259750a8d6f1800b5f659a80b301226d6929d
2023-01-13 14:30:19 -08:00
Dan Albert
91e796d227
Make this a proper python package.
...
Python is picky about directory structure. Ever since python 3 the tests
have not been able to run because the import won't work. This fixes that
problem.
Bug: None
Test: None
Change-Id: I4a626f130e4ca3cd2c9b69804083dfe6daffb5f7
2023-01-13 14:30:19 -08:00
Dan Albert
ac3c9fd05e
Remove python 2 garbage.
...
This code hasn't worked since the python 3 switch, because `unicode`
doesn't exist any more. The problems that this code worked around were
all python 2 problems as well, so it's no longer needed.
Bug: None
Test: ran test.py on windows and mac
Change-Id: Ifacaed5cddc6c9ee9d9d9872c2f2851150ace468
2023-01-13 14:30:18 -08:00
Dan Albert
316dbf5332
Add type information to adb module.
...
mypy still complains about a few things here, but that looks to be
mostly coming from code that is very, very dead in python 3.
The tests don't run, and haven't since the python 3 switch. Will try to
revive those next, but it likely requires moving files around to fix the
package structure (source needs to go in a subdirectory to make a real
package, as do the tests).
Bug: None
Test: mypy . && pylint .
Change-Id: Ide55a41babecbd6684b73787b17e7f5fdb81c090
2023-01-13 14:30:18 -08:00
Xin Li
a28a906e17
[automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9467136 am: beb6ac7802 -s ours am: cba935f766 -s ours
...
am skip reason: Merged-In Ia275a2ab69ee31b7d81a2ca8c83bef08cbf107df with SHA-1 0d7a50767b is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/20949040
Change-Id: I41838ab9b34aee4cbcd99997cc243a16742746ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-13 21:35:35 +00:00
Henri Chataing
e1f18b0234
Remove AndroidBeamDemo from samples
...
Bug: 265394596
Test: m sdk
Change-Id: I54898705900f73c55d9a2eb3ee1372f510b15fe2
2023-01-13 16:11:19 +00:00
Henri Chataing
fb8583c85e
Merge "Remove samples for deprecated Android Beam API"
2023-01-13 08:11:13 +00:00
Xin Li
cba935f766
[automerger skipped] Merge tm-qpr-dev-plus-aosp-without-vendor@9467136 am: beb6ac7802 -s ours
...
am skip reason: Merged-In Ia275a2ab69ee31b7d81a2ca8c83bef08cbf107df with SHA-1 0d7a50767b is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/20949040
Change-Id: I68beb4ad7f3671155c7571ab3b91f772df6945fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-13 08:08:15 +00:00
Charles Chen
27871db61e
Create SampleVisualQueryDetectionService
...
Create SampleVisualQueryDetectionService for the Sample VoiceInteractor
devlopment app. The service currently only has the no functionalities.
Only the creation and initialization is integrated.
Test: Manual
Bug: 261517532
Change-Id: Ia5354b24e21854fb5e53857f9a6db7c8b80d3f5a
2023-01-12 21:13:18 +00:00
Xin Li
beb6ac7802
Merge tm-qpr-dev-plus-aosp-without-vendor@9467136
...
Bug: 264720040
Merged-In: Ia275a2ab69ee31b7d81a2ca8c83bef08cbf107df
Change-Id: I7d4f8d91bb43f0094687c9bc74bda2d7aef3d124
2023-01-11 22:46:07 -08:00
Pablo Gamito
6707d0e070
Merge "Show all displays in surface flinger trace"
2023-01-11 15:33:27 +00:00