- Apr 03, 2024
-
-
Pablo Gamito authored
Wrap all protolog calls in an if condition using a cached state variable to make sure we don't have any overhead if the protolog message is disbaled Bug: 327341670 Test: android.platform.test.scenario.calculator.OpenAppMicrobenchmark#testOpen v2/android-crystalball-eng/health/microbench/startup/hscapps/compile-speed-profile/hotlaunch/open-calculator Change-Id: Ic031fe076c0897d168b1e7982ad27824b2db999c
-
- Apr 01, 2024
-
-
Max Loh authored
Changes: Added required version number in source xml, and changed purpose from set to list to remove chance of flakiness in verification. Verified tests failed before change and were fixed after the change. Bug: 329902686 Test: Unit tests. Change-Id: I21c6247689fe6ca5577bf12ec971e992a9ace3aa
-
- Mar 28, 2024
-
-
Priyanka Advani authored
Revert submission 26719621 Reason for revert: Culprit for test breakages in b/331778845 Reverted changes: /q/submissionid:26719621 Change-Id: I16025e4a452b55017cb2717a12fdab05ccc01931
-
Priyanka Advani authored
Revert submission 26719621 Reason for revert: Culprit for test breakages in b/331778845 Reverted changes: /q/submissionid:26719621 Change-Id: I3e69645c070d5aca4825e2b233513c7790a15239
-
Max Loh authored
Includes top-level version number, transparency_info. Refactored non-Marshallable conversion logic from AndroidSafetyLabel to AslConverter. Added logic to support some more non-required fields without throwing an error. Bug: 329902686 Test: A future CL will add a lot of unit tests, after which unit tests can be written in tandem with implementation. Change-Id: If4fb73cdcc40abac77ec82e436ca11ebe4feb48d
-
Max Loh authored
Contains logic for testing as well as a couple of initial tests for HR to OD conversion. More tests will be added later. Also fixed a bug with data type parsing. Bug: 329902686 Test: JUnit unit tests, verified by running atest Change-Id: I6103f5f93169f25a430cab16c2d1cb1fc4b89d44
-
- Mar 20, 2024
-
-
Max Loh authored
Adds validation logic for isSharingOptional, isCollectionOptional, and various expected elements in the input XML file. Bug: 287487923 Test: TODO in future CLs Change-Id: I0a2261ec3c71a1d2df977810d065dfc5a4dda5e3
-
Max Loh authored
Revised methods allow marshalling/unmarshalling from a list of XML nodes, allowing DataCategory to be incorporated seamlessly. Factory pattern makes it easier to maintain createFromHrElements. go/asl-tc-aosp Bug: 287487923 Test: TODO in future CLs Change-Id: I9fff3c1e28df74ef934da6355632c91e0ec91e79
-
- Mar 19, 2024
-
-
Max Loh authored
Includes logic for converting data types from HR to OD XML format, as well as storing them in an internal Java representation. Future CLs will implement more fields, make error checking more robust, and add tests. Bug: 287487923 Test: TODO in future CLs Change-Id: I6170feec9df0ce709b912d46356204badacfbe5b
-
Wenhao Wang authored
Bug: 287487923 Test: N/A Change-Id: I27dd83fe44b947dbfb2742fd3a208f9a25bbe0d0
-
- Mar 14, 2024
-
-
Brandon Liu authored
Bug: b/319844770 Test: Verified affected tests pass Change-Id: If2cdb1184502e547a3a4890d8aa7c83b20cb0cf8
-
- Mar 13, 2024
-
-
Pablo Gamito authored
We then keep track of the logging state of each group that way and in particular use this to toggle groups to logcat on and off. Test: adb shell wm logging enable-text WM_DEBUG_WINDOW_TRANSITIONS Bug: 327491675 Change-Id: I2a2e4cfdc51113a5aaf2adc51aa10f5df47a5051 Merged-In: I2a2e4cfdc51113a5aaf2adc51aa10f5df47a5051 (cherry picked from commit 869ebffa)
-
- Mar 11, 2024
-
-
Sorin Basca authored
This reverts commit 68fe578a. Reason for revert: Golden images updated after the move to JDK 21. Bug: 326897452 Test: TH Change-Id: I16efc59d7d3c8bebd26c43201c448e061d5ea302
-
Sorin Basca authored
This reverts commit 2fef277d. Reason for revert: Golden images updated after the move to JDK 21. Bug: 326897452 Test: TH Change-Id: I21a8b734a3177d648399ef9b4eab9a9c2e278afc
-
- Mar 08, 2024
-
-
Sorin Basca authored
This was generated by running: m droid && $ANDROID_BUILD_TOP/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/diff-and-update-golden.sh -u Bug: 313924276 Fixes: 328674570 Test: TH Merged-In: Ia238ca246c4607984beaaa229ec21f2181f6f6a8 Change-Id: Ia238ca246c4607984beaaa229ec21f2181f6f6a8
-
- Mar 06, 2024
-
-
Pablo Gamito authored
We then keep track of the logging state of each group that way and in particular use this to toggle groups to logcat on and off. Test: adb shell wm logging enable-text WM_DEBUG_WINDOW_TRANSITIONS Bug: 327491675 Change-Id: I2a2e4cfdc51113a5aaf2adc51aa10f5df47a5051
-
Pablo Gamito authored
This is to make sure build artifacts are more deterministic to improve developer build time, RBE cache rate, and testing infrastructure load. Bug: 327529918 Test: none Change-Id: I47f47bf657eed853c683995b47f48943ab0ed9e0
-
- Mar 05, 2024
-
-
Pablo Gamito authored
Used to save space in the framework.jar which isn't r8 optimized to remove unused constants. Bug: 321668269 Test: abtd running v2/android-crystalball-eng/health/microbench/bootup/idle/aosp/system-processes-memory and checking pinner_system_/system/framework/framework.jar_bytes metric value Change-Id: I32d16f80364e3446799498318e40844bc8adfc5a
-
- Feb 28, 2024
-
-
Makoto Onuki authored
Bug: 292141694 Test: TH Change-Id: I96c5999679e52cb6db8a47c029291702ed4832a8
-
Makoto Onuki authored
Bug: 326897452 Test: atest tiny-framework-dump-test # make sure the test won't run Change-Id: I8d674d0819a03e95a9e2400c6d4284588edc8794
-
Pablo Gamito authored
Because we now dump 64 bit integers instead of 32 bit integers we need to have a different protolog version so we know which viewer config to use in Winscope Bug: 327002914 Test: collected protolog trace in Winscope Change-Id: Iab3071952ff7957a11a0f01f09cfaa4306a7f7ae
-
Wei Li authored
The Android.mk contains license declaration for aapt2_result only, and with this change that declares the license of the package precisely the Android.mk is not needed any more. Bug: 322285259 Test: CIs Change-Id: Ie4b82686cc72d07b1c75016ede6f3c7c53816e83
-
- Feb 26, 2024
-
-
Sorin Basca authored
Bug: 326897452 Change-Id: I7b9ab0de5038789d21cf1eb4d5beb69d698410f1 Test: TH
-
- Feb 22, 2024
-
-
Pablo Gamito authored
ProtoLogTool now has additional parameters to support Perfetto tracing. We also need to generate and include a proto version of the viewer configuration. Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT Test: mp droid && atest FrameworksServicesTests Bug: 276432490 Change-Id: I26929eed96faae04bec65ae5eaf86afda75cb83c
-
Pablo Gamito authored
Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT Bug: 276432490 Test: atest FrameworksServicesTests Change-Id: If95bfeeaff491ce51b61e34d2f8c22d8b635912d
-
Pablo Gamito authored
Generate the impl classes and support writing the viewer config to a proto file Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT Bug: 276432490 Test: atest FrameworksServicesTests Change-Id: I69956b5ef2b8b48a98860aa3b8579521480d7bc0
-
Pablo Gamito authored
We need these new parameters to inject those values into the generated classes so we don't have to manually create an impl of these class and passing those values manually. Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT Bug: 276432490 Test: atest FrameworksServicesTests Change-Id: I32906cbe37c7c3899d7c487d5ed341381a05fdf1
-
Pablo Gamito authored
To avoid hash collisions now that we have more messages. Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT Bug: 276432490 Test: atest FrameworksServicesTests Change-Id: Ia252f1fc60deb2beaf177b0782a8723e39f90a7e
-
Pablo Gamito authored
Since we now use it in a few different places including in the ProtoLogTool. Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT Bug: 276432490 Test: atest FrameworksServicesTests Change-Id: Iba3a4904ea0b5e27afb1486c765e627fb343f6af
-
- Feb 16, 2024
-
-
Sorin Basca authored
This was generated by running: m droid && $ANDROID_BUILD_TOP/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/diff-and-update-golden.sh -u Bug: 313924276 Test: TH Change-Id: Ia238ca246c4607984beaaa229ec21f2181f6f6a8
-
- Feb 15, 2024
-
-
Makoto Onuki authored
Use "*" + base class/interface name in the policy file to define an inheritance based policy. Wrote it to investigate classpath conflicting problem. It's not actually used on ravenwood. (at least yet) Test: ./ravenwood/run-ravenwood-tests.sh Bug: 292141694 Change-Id: I173e2545a1ad9e0bc374d6798e1558dacc3569bd
-
- Feb 14, 2024
-
-
Makoto Onuki authored
And remove the stale run-all-tests.sh. Bug: 315031371 Test: ./ravenwood/run-ravenwood-tests.sh Change-Id: I2ac6457b1f60017c6e4e506ca11dbd7fc18dfa59
-
Dan Willemsen authored
When build outputs are deterministic, that helps improve the RBE cache hit rate. Bug: 325124724 Test: m out/soong/.intermediates/frameworks/base/libs/WindowManager/Shell/wm_shell_protolog_src/6c826b466f2421b82c3ec7d86f8481e7/gen/wm_shell_protolog.srcjar; zipinfo $! Change-Id: I838eb379531ae5434d576828e6be43663122187b
-
- Feb 13, 2024
-
-
Makoto Onuki authored
- Also make sure framework-minus-apex is prioritized - Also some build rule cleanup Bug: 315031371 Test: ./ravenwood/run-ravenwood-tests.sh Change-Id: I2d0eb822517abfc17f351810a53176ad9904f908
-
- Feb 12, 2024
-
-
Jeff Sharkey authored
To give more accurate statistics, focus only on public non-abstract methods. Shift measurement back to `BaseAdapter`, but only collect stats when operating in the `impl` mode; this ensures we're early enough to accurately count `substitute-from` methods. Also ignore common generated code like Protos, StatsLog, and LogTags, as we'll eventually be handling them all in a more consistent way. Bug: 324417456 Test: atest FrameworksCoreTestsRavenwood Change-Id: I07e0ea4107b27dbfa241c48c9f05def445b78cfe
-
Jeff Sharkey authored
We had temporarily been using the binary XML implementation in all situations, but this change brings in the existing `kxml2-android` library to offer reading/writing of human-readable XML. We also use the upstream SAX parser to offer an event-based parser. In all cases we carefully keep the existing XML libraries in place untouched on physical devices to avoid regressions. Bug: 324417456 Test: atest CtsUtilTestCasesRavenwood Test: atest FrameworksCoreTestsRavenwood Test: atest FrameworksUtilTestsRavenwood Change-Id: I2effc7fca5c586968658073f9652d13cf50a2c66
-
Pablo Gamito authored
Test: n/a Change-Id: I6e8a3f288a231f44e0df20b52f0bbf6a0ca08460
-
- Feb 09, 2024
-
-
Jeff Sharkey authored
As we expand our audience, developers will be interested in knowing what APIs are supported through a top-down dashboard view that we can continually update over time. This change emits a statistics CSV that can be easily bulk-imported to generate a dashboard. Bug: 322895594 Test: TH Change-Id: Idea55b64cdb79e9a49f63340f83a1b395f8e5ec7
-