Capture the comment above a definition of a compat change and make it
the description.
Next: make sure existing changes use supported format (only /**
comments, only above the annotations), and use in developer UI.
Bug: 144927670
Test: atest com.android.server.compat.CompatConfigTest
Change-Id: Ib23f341baa171599654c351693e4b0ddf4b2515c
As decribed in go/xsdc-for-partners.
This defines the schema of the XML file generated by @ChangeId
annotation processor.
The schema requires unique ids.
Test: Used https://www.freeformatter.com/xml-validator-xsd.html to
validate an example config.
Bug: 138222363
Change-Id: Iaf37e049ddd483c4fd7d512475614476ac6606a5
On some devices, default-permissions.xml file is on the product
partition. Modify the test case so that VTS passes even if
default-permissions.xml doesn't exist.
According to the parser code, the xml file can exist in an odm
partition. So add the odm partition to the location.
Bug: 132048214
Test: m -j vts
Test: vts-tradefed run vts -m VtsValidateDefaultPermissions
Change-Id: Ia518a51129b8acb2de68ee2cd537b57ef6378b32
The vts_permission_validate_test and
vts_defaultPermissions_validate_test are added for checking xsd schema
validation.
Bug: 127435354
Test: vts-tradefed run vts -m VtsValidatePermission
Test: vts-tradefed run vts -m VtsValidateDefaultPermissions
Merged-In: Ib73dcbe4f9c20e0a957be4325d5cfc2b27c64b67
Change-Id: Ib73dcbe4f9c20e0a957be4325d5cfc2b27c64b67
(cherry picked from commit dc15dc8cc0bbaa10f31b3b8118594a559edd0296)
The "configfile" is added to package name to distinguish classes defined
in java code from classes auto-generated.
Bug: 127435354
Test: make -j && make -j checkapi
Change-Id: I8d6e5c80a3e6eb103ebf1fe7b55a2a13d1629a37
The maxOccurs is added to permission element, because the maximum number
of thimes this element can occurs is unbounded
Bug: 127435354
Test: m -j && make -j checkapi
Change-Id: I979f8020634c14c2dcb0e785713da74ce19f0245
The vts_permission_validate_test and
vts_defaultPermissions_validate_test are added for checking xsd schema
validation.
Bug: 127435354
Test: vts-tradefed run vts -m VtsValidatePermission
Test: vts-tradefed run vts -m VtsValidateDefaultPermissions
Change-Id: Ib73dcbe4f9c20e0a957be4325d5cfc2b27c64b67
This module is for API check of java file generated from
default-permissions.xsd
Bug: 80453829
Test: m -j
Change-Id: Ic2d6b9a64ceb19711ce6f3fb2da0f1f01d17ebc5