summaryrefslogtreecommitdiff
path: root/apexd/apex_database_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Apexd: Add database duplicates checkAndreas Gampe2019-03-271-28/+87
| | | | | | | | | | | | Add a check for duplicate loop and dm devices. As we are correctly tearing them down now, this becomes important. Add tests. Bug: 116593293 Bug: 129347238 Test: atest apex_database_test Change-Id: I7bf34420cec3808181a8baad0bd725e5c7e685ae
* apexd: add mount_point and device_name to MountedApexDataNikita Ioffe2019-03-261-16/+38
| | | | | | | | | | | | And make Unmount accept MountedApexData. * Should simplify mount/unmount flow: now return value of MountPackageImpl contains all the information necessary to call Unmount. Bug: 129347238 Test: apexservice_test, apex_database_test Change-Id: Ibe97e6f1f653850c20eef10eb12dff810bae2bdf
* Apexd: Make MountedApexData '<' an actual total orderAndreas Gampe2019-02-071-0/+140
The previous implementation was incorrect and violated Compare requirements for std::map. Add tests. Bug: 116593293 Test: atest apex_database_test Change-Id: Ic97061184559675985ebfa75afeb29a3f09e559a