- Jan 07, 2021
-
-
Ryan Mitchell authored
To support allowing for multiple <overlay> tags in one package, idmap2 must be able to generate an idmap for an individual <overlay> tag. `idmap2 create` now accepts a --overlay-name flag that specifies which tag to use to generate the idmap. The value of --overlay-name should be set to the value of the android:name attribute on the <overlay> tag to use. If the flag is not present, idmap2 will look for an <overlay> tag with no value for android:name. Bug: 162841629 Test: libandroidfw_tests Test: libidmap2_tests Change-Id: I02316d0b88773f02c04a5d462be9825016fa496d
-
Ryan Mitchell authored
Overlay and target package paths can be longer than 256 characters. Currently, the idmap will fail to be generated if either path is longer than 256 characters. This change removes the 256 character limit and makes parsing variable length strings easier in libandroidfw. Bug: 174676094 Test: idmap2_tests && libandroidfw_tests Change-Id: Ic240cdb8700566b2ac2ade08da58bea852e4ae0c
-
- Dec 21, 2020
-
-
Bernie Innocenti authored
Test: m checkbuild continuous_instrumentation_tests continuous_instrumentation_tests_api_coverage continuous_native_tests device-tests platform_tests Exempt-From-Owner-Approval: mechanical mass refactoring Change-Id: I3117833c51cdb333cccdfd159d1582f2adef77db
-
- Dec 09, 2020
-
-
Robert Luo authored
Bug: 172181610 Test: (1) run statsd_testdrive 277, and check the metric output correctness after content switching. (2) run statsd_testdrive 90, and check the metric output correctness after launching the output dialog via Sound Setting / Volume Rocker / Media Object Chip. (3) atest MediaOutputControllerTest (4) atest MediaOutputDialogTest (5) atest MediaOutputBaseDialogTest Change-Id: I4094a510b5483a456522da9d0d8a6eee1526f687 Merged-In: I0fea0c59afcb44fc1d22920036107524f221a7be
-
- Dec 08, 2020
-
-
Ryan Mitchell authored
55ef6167 Change-Id: I02d4890d181655dfd0a14c188468db512559d27b Merged-In: I02d4890d181655dfd0a14c188468db512559d27b
-
Mårten Kongstad authored
The 'verify' command was removed as part of a707013b. Update valgrind.sh accordingly. Test: frameworks/base/cmds/idmap2/valgrind.sh Change-Id: I571cb46bb2ca09a244dc7b609a8bb0ffe01a6e2a Merged-In: I571cb46bb2ca09a244dc7b609a8bb0ffe01a6e2a
-
Mårten Kongstad authored
The 'scan' command has been replaced by 'create-multiple'. Remove the unused code. Also remove unused functions and #includes from FileUtils, and the obsolete JNI plumbing. Test: atest idmap2_tests OverlayDeviceTests OverlayHostTests Change-Id: Iae073c13ce64b5db48f22f7e723bc8c0c5fcd2c9 Merged-In: Iae073c13ce64b5db48f22f7e723bc8c0c5fcd2c9
-
Jeff Sharkey authored
As general background, OWNERS files expedite code reviews by helping code authors quickly find relevant reviewers, and they also ensure that stakeholders are involved in code changes in their areas. Some teams under frameworks/base/ have been using OWNERS files successfully for many years, and we're ready to expand them to cover more areas. Here's the historical coverage statistics for the last two years of changes before these new OWNERS changes land: -- 56% of changes are fully covered by OWNERS -- 17% of changes are partially covered by OWNERS -- 25% of changes have no OWNERS coverage Working closely with team leads, we've now identified clear OWNERS on a per-package basis, and we're using "include" directives whenever possible to to simplify future maintenance. With this extensive effort, we've now improved our coverage as follows: -- 98% of changes are fully covered by OWNERS -- 1% of changes are partially covered by OWNERS -- 1% of changes have no OWNERS coverage This specific change is automatically generated by a script that identifies relevant "include" directives. Bug: 174932174 Test: manual Exempt-From-Owner-Approval: refactoring with team leads buy-in Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813 Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
-
- Dec 04, 2020
-
-
Baligh Uddin authored
Add statsd protos to platform_protos rule BUG: 167962588 TEST: TH TEST: Local build [ m com.android.os.statsd ] Merged-In: I053f2a211ea28c2f181937af3d58ad16b235d096 Change-Id: I637a1af27d572924e88b1f8a930fc45d0794fa20
-
- Dec 03, 2020
-
-
Baligh Uddin authored
Add statsd protos to platform_protos rule BUG: 167962588 TEST: TH TEST: Local build [ m com.android.os.statsd ] Change-Id: Ic6703ea7636a00152c8a6483e1d91729f758e24d Merged-In: I053f2a211ea28c2f181937af3d58ad16b235d096
-
Baligh Uddin authored
Add statsd protos to platform_protos rule BUG: 167962588 TEST: TH TEST: Local build [ crosshatch-userdebug ] Change-Id: I053f2a211ea28c2f181937af3d58ad16b235d096
-
- Dec 02, 2020
-
-
Tej Singh authored
Hooks up statsd's partial config update feature to use server-side flags. Test: atest statsd_test Bug: 172842175 Change-Id: Iaf76172286d7259dc81b847fa0e6b7830482b014
-
Tej Singh authored
Dimension_in_what, condition links, and state links should be a subset of the dimensions in what. Test: atest statsd_test Bug: 167491517 Change-Id: Ibd776829e975f04bd3c992fa7c299f017801c948
-
Baligh Uddin authored
BUG: 167962588 TEST: TH Merged-In: Ia168658c499e19f99aac05cb379155669a3e1431 Change-Id: I253a07ddc04e0c3ff70ad57d0bab959175a7f6d1
-
- Dec 01, 2020
-
-
Philip Junker authored
The shutdown callback is currently used only by audioplay.cpp to destroy the audio player. Sending shutdown when the animation is destructed makes sure the audio player is not being destroyed before its boot animation part is being displayed. Test: Modified bootanimation, sound in second last part of bootanimation plays Bug: 157407957 Bug: 127254055 Merged-In: I47f57643791e73e4a4fa1597309dccb1f52f2316 Change-Id: I47f57643791e73e4a4fa1597309dccb1f52f2316
-
Tej Singh authored
Initialize a duration metric with the dimensions that are true if the "what" predicate previously existed. Assumes that the internal dimensions are a superset of the dimensions_in_what, the condition links, and the state links Test: atest statsd_test Bug: 167491517 Change-Id: I8dd984fb9cb575d6d541f80cb3b1e626ce4e5f27
-
Baligh Uddin authored
This reverts commit 9e569671. Reason for revert: atoms and associated protos have been migrated. Removing migration block. Merged-In: Ia1e4a73001ebc9509b8550c7957135172ce8938d BUG: 167962588 Test: TH Change-Id: I7a451021461a24c2788411f2028e8ffed73667e9 Exempt-From-Owner-Approval: Cleanup CL
-
- Nov 30, 2020
-
-
Baligh Uddin authored
This reverts commit 9e569671. Reason for revert: atoms and associated protos have been migrated. Removing migration block. Change-Id: Ia1e4a73001ebc9509b8550c7957135172ce8938d BUG: 167962588 Test: TH
-
Baligh Uddin authored
BUG: 167962588 TEST: TH Change-Id: Ia168658c499e19f99aac05cb379155669a3e1431
-
Riddle Hsu authored
Bug: 170310046 Test: adb shell cmd stats print-logs adb logcat | grep statsd | grep "(50)" Change-Id: I1d33ff4639c85d2b1f57f2fef72d883c3eed7f00 Merged-In: I1d33ff4639c85d2b1f57f2fef72d883c3eed7f00 (cherry picked from commit ec2e3ee7)
-
- Nov 27, 2020
-
-
Zim authored
Isolated storage was added in Q (and enabled by default) and has been replaced by FUSE in R Additionally, we can remove the ExternalStorageMountPolicy concept which is only required if isolated storage is false Cleanup in preparation to introduce DeviceConfig changes for transcoding Bug: 169327180 Test: Builds Change-Id: Ie2686d8efa6654ea6c4b4ca8c121c0c1841a6356
-
- Nov 26, 2020
-
-
Philip Junker authored
The shutdown callback is currently used only by audioplay.cpp to destroy the audio player. Sending shutdown when the animation is destructed makes sure the audio player is not being destroyed before its boot animation part is being displayed. Test: Modified bootanimation, sound in second last part of bootanimation plays Bug: 157407957 Change-Id: I47f57643791e73e4a4fa1597309dccb1f52f2316
-
Jeffrey Huang authored
Bug: 167962588 Test: m -j Change-Id: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216 Merged-In: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216
-
- Nov 25, 2020
-
-
Jeffrey Huang authored
Bug: 167962588 Test: m -j Change-Id: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216 Merged-In: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216
-
Jeffrey Huang authored
Use the atoms.proto in proto_logging as the source of truth. Also migrates statsd log api gen to use the new atoms.proto Bug: 167962588 Test: m -j && m CtsStatsdAtomHostTestCases Change-Id: I36ec354d273dceace5245d7634c68ac63dc5a8cd Merged-In: I36ec354d273dceace5245d7634c68ac63dc5a8cd
-
Jeffrey Huang authored
Bug: 167962588 Test: m -j Change-Id: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216 Merged-In: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216
-
Jeffrey Huang authored
Bug: 167962588 Test: m -j Change-Id: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216
-
- Nov 24, 2020
-
-
Jeffrey Huang authored
e8552cd2 Change-Id: I202a31ab654ca31ba9e5b73b23c5aa3d22a3e8b2 Merged-In: I81a8287ed5b055e7b6547794d01e7ac897f0f022
-
Jeffrey Huang authored
217301c3 Change-Id: I81a8287ed5b055e7b6547794d01e7ac897f0f022
-
Jeffrey Huang authored
Revert "Add android bp to proto_logging" Revert submission 1508746-delete_atoms Reason for revert: Build Failure Reverted Changes: I184cf8bf8:Add android bp to proto_logging I36ec354d2:Delete atoms.proto from statsd Change-Id: Ifec6a57d66cbd9c37503ca47847c3ae492f3d343
-
Alex Light authored
Revert "Add android bp to proto_logging" Revert submission 13070789-atomsproto Reason for revert: Breaks multiple git_master-without-vendor targets ``` out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp error: frameworks/base/tools/stats_log_api_gen/Android.bp:49:1: "stats-log-api-gen-test" depends on undefined module "libstats_proto_host" ninja: build stopped: subcommand failed. ``` Reverted Changes: I184cf8bf8:Add android bp to proto_logging I36ec354d2:Delete atoms.proto from statsd Bug: 167962588 Change-Id: Idce97c5cf020473744eb7f96dcfbdc7677c094da
-
Jeffrey Huang authored
Use the atoms.proto in proto_logging as the source of truth. Also migrates statsd log api gen to use the new atoms.proto Bug: 167962588 Test: m -j && m CtsStatsdAtomHostTestCases Change-Id: I36ec354d273dceace5245d7634c68ac63dc5a8cd Merged-In: I36ec354d273dceace5245d7634c68ac63dc5a8cd
-
Jeffrey Huang authored
Use the atoms.proto in proto_logging as the source of truth. Also migrates statsd log api gen to use the new atoms.proto Bug: 167962588 Test: m -j && m CtsStatsdAtomHostTestCases Change-Id: I36ec354d273dceace5245d7634c68ac63dc5a8cd
-
- Nov 23, 2020
-
-
Baligh Uddin authored
BUG: 167962588 Test: TH Merged-In: Ia8cdeb0c2bd0e98d8d6b8a44f49d42ccd0d04908 Change-Id: Ia8cdeb0c2bd0e98d8d6b8a44f49d42ccd0d04908
-
- Nov 22, 2020
-
-
Baligh Uddin authored
BUG: 167962588 Test: TH Change-Id: Ia8cdeb0c2bd0e98d8d6b8a44f49d42ccd0d04908
-
- Nov 19, 2020
-
-
bquezada authored
Test: Tested with local device. Bug: 171820651 Change-Id: I19df36964d0fb9aeb1cdf6dff4a0574c0854ed3e
-
- Nov 18, 2020
-
-
Nick Chalko authored
This is the base atom for all TIF metrics Test: ./out/host/linux-x86/bin/statsd_testdrive Bug: 165369586 Change-Id: I2e5c3e7f51abd2700611fcc0eaef91ec029513c8
-
Shuzhen Wang authored
Introduce camera system health atoms, including: - Camera open, close, and session creation time - Camera session and stream combination information, - Stream statistics: - stream width, height, format, dataspace, usage flag, - max buffer count - buffer loss - first frame latency. Test: ./out/host/linux-x86/bin/statsd_testdrive 227 Test: CTS PerformanceTest Bug: 154159000 Change-Id: I858d64f3324bb9652a59e5857f2730c92c616a8e
-
Riddle Hsu authored
An existing activity may be relaunched when moving from background to front if the current configuration is changed and the activity cannot handle the change. The relaunch type was reported as a hot start because its process is alive and the original activity exists. But the relaunch needs to destroy the original activity and create a new instance, which may even take longer time than a warm start. So the case should be separated from hot start. Also: - Make WaitResult#launchState is always populated by ActivityMetricsLogger, so "am start -W" can get consistent launch type. - Remove dead code in ActivityRecord#ensureActivityConfiguration that it already early returns if !attachedToProcess. Bug: 172528316 Test: atest ActivityMetricsLaunchObserverTests#testLaunchState Change-Id: I3ef64ce1e23b2f13d42fa2b12bc31c0cdb4652fc
-
- Nov 17, 2020
-
-
Ryan Mitchell authored
55ef6167 Change-Id: I02d4890d181655dfd0a14c188468db512559d27b
-