summaryrefslogtreecommitdiff
path: root/cmds/idmap2/tests/CommandLineOptionsTests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Run idmap2 static-checks and fix formatting issuesRyan Mitchell2019-04-151-6/+3
| | | | | | Bug: 130324774 Test: builds Change-Id: I2cf9d3aa268ffe38e525fadee9d81fc6aefe19b1
* idmap2: move commands to Result<Unit>Mårten Kongstad2019-03-191-28/+20
| | | | | | | | | | | | | | Change the signature of the idmap2 commands (Create, Dump, ...) to return Result<Unit> instead of bool. This removes the need to pass in an ostream for error messages: instead, those messages are part of the returned Result. Consolidate error messages: texts in Error objects should not be prefixed with "error:", that is the responsibility of the outer-most caller (i.e. main()). Test: make idmap2_tests Change-Id: I074881b3d1982ea8f4be5752161ac74b14fcba95
* Add enforcement of idmap policiesMårten Kongstad2019-01-161-2/+54
| | | | | | | | | | | | | | Teaches idmap2 to recognize policy restrictions put on overlayable resources. If overlayable enforcement is turned on for an overlay, then any resources defined within the overlayable api of the target will have policy restrictions imposed on them. All resources without overlayable definitions will continue to be overlayable without policy restrictions. Bug: 119390857 Test: atest idmap2 and booting Co-authored-by: Ryan Mitchell <rtmitchell@google.com> Change-Id: I7e435648eb6e4a87b0b90a7b2a0c3f33c1516ea6
* idmap2: fix clang-tidy warnings [modernize-*]Mårten Kongstad2018-12-211-4/+2
| | | | | | Bug: 120024673 Test: mmm frameworks/base/cmds/idmap2; check output Change-Id: I8768169fb7b541eb6b1aa3311c46a710eb71aac9
* Merge "idmap2: fix clang-tidy warnings [readability-*]"TreeHugger Robot2018-12-211-10/+17
|\
| * idmap2: fix clang-tidy warnings [readability-*]Mårten Kongstad2018-12-201-10/+17
| | | | | | | | | | | | Bug: 120024673 Test: mmm frameworks/base/cmds/idmap2; check output Change-Id: I1565afac8d34e4347d8c946228d1134211e8b435
* | idmap2: fix clang-tidy warnings [misc-*]Mårten Kongstad2018-12-201-2/+0
|/ | | | | | Bug: 120024673 Test: mmm frameworks/base/cmds/idmap2; check output Change-Id: I48c1cf25d2f1cf243dca67ec9d7e8fd50e6f9f32
* idmap2: initial code dropMårten Kongstad2018-10-301-0/+192
idmap2 is a reboot of the idmap project. The project aims to - use modern C++ - greatly improve test and debug support - interface towards AssetManager2 (instead of AssetManager) - provide a solid foundation to add support for new features To make it easier to verify correctness, this first version of idmap2 is feature equivalent to idmap. Later versions will add support for new features such as <overlayable>. Bug: 78815803 Test: make idmap2_tests Change-Id: I1d806dc875a493e730ab55d2fdb027618e586d16