summaryrefslogtreecommitdiffstats
path: root/init/init_parser_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* init: remove Parser singleton and related cleanupTom Cherry2017-07-271-150/+0
| | | | | | | | | | | | | | * Remove the Parser singleton (Hooray!) * Rename parser.* to tokenizer.* as this is actually a tokenizer * Rename init_parser.* to parser.* as this is a generic parser * Move contents of init_parser_test.cpp to service_test.cpp as this actually is a test of the parsing in MakeExecOneshotService() and nothing related to (init_)parser.cpp Test: boot bullhead Test: bool sailfish Test: init unit tests Change-Id: I4fe39e6483f58ebd3ce5ee715a45dbba0acf5d91
* Move Timer from init to libbaseTom Cherry2017-07-101-4/+5
| | | | | | | Test: boot bullhead Test: new libbase unit tests Change-Id: Ic398a1daa1fe92c10ea7bc1e6ac3f781cee9a5b5
* init: create android::init:: namespaceTom Cherry2017-06-231-0/+6
| | | | | | | | With some small fixups along the way Test: Boot bullhead Test: init unit tests Change-Id: I7beaa473cfa9397f845f810557d1631b4a462d6a
* init: Check DecodeUid() result and use error stringTom Cherry2017-05-051-4/+14
| | | | | | | | | | | | | Check the result of DecodeUid() and return failure when uids/gids are unable to be decoded. Also, use an error string instead of logging directly such that more context can be added when decoding fails. Bug: 38038887 Test: Boot bullhead Test: Init unit tests Change-Id: I84c11aa5a8041bf5d2f754ee9af748344b789b37
* init: more header cleanupTom Cherry2017-04-061-2/+0
| | | | | | | | | | Remove includes of "log.h" that really want <android-base/logging.h> Fix header include order Remove headers included in .cpp files that their associated .h already includes Remove some unused headers Test: boot bullhead Change-Id: I2b415adfe86a5c8bbe4fb1ebc53c7b0ee2253824
* Create Service and ServiceManager classesTom Cherry2015-08-071-47/+48
| | | | Change-Id: I363a5e4751ad83d2f4096882a6fbbeddca03acfe
* Implement exec.Elliott Hughes2015-02-251-0/+134
Change-Id: I20329bc9b378479d745b498d6a00eca0872cd5ab