Commit Graph

14 Commits

Author SHA1 Message Date
Treehugger Robot
2481844969 Merge "[vts-core] add vts_permission_validate_test to vts-core" am: 1c91a3d51b am: d7097988d3 am: fb6597f154
Change-Id: Ie8a20dd5c80c4645b931d3520ddfba5a290e6e2e
2020-02-17 16:02:01 +00:00
nelsonli
6b7b32d1b7 [vts-core] add vts_permission_validate_test to vts-core
VtsValidatePermission is just the GTest of
vts_permission_validate_test.

Bug: 142397658
Test: $atestvts_permission_validate_test
Change-Id: Iff12e5196dc40cea9d30bfb1db2fbe0aa6e55034
2020-02-14 15:47:44 +08:00
TreeHugger Robot
c9296a6d9c Merge "Add app data isolation whitelist" 2020-01-09 10:20:09 +00:00
Ricky Wai
825d3e9c8a Add app data isolation whitelist
The whitelisted apps will still be sharing its data directory to
all other applications.


Bug: 143937733
Test: Confirm apps in whitelist xml are whitelisted
Change-Id: Iaee2ef3740fc03ebd04104928cfb4d5df9c23c14
2019-12-27 17:34:29 +00:00
Sundong Ahn
33bca5b12b Add minOccurs="0"
For privapp-permissions and oem-permissions elements, some xml files
don't need to permission and deny-permission properties. So add the
minOccurs="0" for these elements.

Test: vts-tradefed run vts -m VtsValidatePermission
Bug: 143251304
Change-Id: Ib93a40e646f9c65bd62d23396c12ea31f2d735d8
2019-12-20 16:54:52 +09:00
Treehugger Robot
fd7bbebeaa Merge "Add Vts test for xsd_config" 2019-04-05 06:50:43 +00:00
Sundong Ahn
560de69213 Change to choice
The sequence element is changed to choice element with minOccurs="0" and
maxOccurs="unbounded" for supporting any order and any times sub
element. And maxOccurs of subelement is deleted because maxOccurs are
not needed.

Bug: 127435354
Test: m -j
Change-Id: I72866da5b2a8ac37d725f5b604dae37a06f30162
2019-04-04 01:32:55 +00:00
Treehugger Robot
5dfc73b9af Merge "Add version attribute" 2019-03-29 09:18:31 +00:00
Treehugger Robot
4dd28c02cd Merge changes from topic "default_permissions"
* changes:
  Change the package name
  Add maxOccurs
2019-03-29 09:18:13 +00:00
Sundong Ahn
ea07526597 Change the package name
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
2019-03-27 06:46:28 +00:00
Sundong Ahn
046b3e54de Move the attribute tags
The attribute tags are moved to below the sequence tag, becuase the
"attribute" must be after "sequence" for complexType.

Bug: 127435354
Test: m -j
Change-Id: Ib1fb7fa516d379ef480e2bd18edee2a910b44ea7
2019-03-27 06:45:46 +00:00
Sundong Ahn
51a4e9f136 Add version attribute
The version attribute is added.

Bug: 127435354
Test: m -j && make checkapi

Change-Id: I5168a807a71defe6c1e7ceee65a4dc0540d3f2c2
2019-03-27 06:45:33 +00:00
Sundong Ahn
dc15dc8cc0 Add Vts test for xsd_config
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
2019-03-27 06:41:54 +00:00
Sundong Ahn
e8f894d02e Add permission and permission.xsd
This module is for API check of java file generated from
permission.xsd

Bug: 80453829
Test: m -j
Change-Id: Ie70693400a6c9b261c8b1ca6197206ac3d17a271
2019-03-06 14:32:56 +09:00