summaryrefslogtreecommitdiff
path: root/init/test_utils/service_utils.cpp
AgeCommit message (Collapse)Author
2020-12-02Fix potential use-after-free bug in rebootNikita Ioffe
Instead of operating on raw pointers, init now uses name of the services as it's primary identifier. Only place that still uses vector<Service*> is StopServices. In addition, ServiceList::services() function is removed, which should help avoiding similar bugs in the future. Bug: 170315126 Bug: 174335499 Test: adb reboot Test: atest CtsInitTestCases Change-Id: I73ecd7a8c58c2ec3732934c595b7f7db814b7034 Ignore-AOSP-First: fixing security vulnerability
2020-02-07libinit_test_utils: don't assume interface formatSteven Moreland
These can be AIDL or HIDL interfaces. Avoiding assuming the format here. Bug: 141008902 Test: vts_ibase_test Change-Id: If60367e3a46c74a1d28548379655f5e211f58b73
2019-07-31Adds a library to parse service info from init_rc files for use in tests.Daniel Norman
Bug: 138114550 Test: used in vts_ibase_test Change-Id: Ibadc2a76d6112b5778d3a282a1e05ffc74511623