summaryrefslogtreecommitdiff
path: root/libs/libapexutil/apexutil.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2020-01-02 02:44:44 +0000
committerNikita Ioffe <ioffe@google.com>2020-01-02 16:47:14 +0000
commitd3169808a5699e6c42ecd548ff821754a41be767 (patch)
tree7ed7dfc6567651298a854b2d602b02b59a831fee /libs/libapexutil/apexutil.cpp
parentf355c67d53222ee76c445f6731185b6db4cb8cf2 (diff)
Add hashtree_loop_name to MountedApexData
And also fill in hashtree_loop_name inside MountedApexDatabase::PopulateFromMounts. This is a prerequisite for freeing a loop device when an apex is deactivated (e.g. during userspace reboot). Actual logic to free a loop device will be implemented in a follow up CL. Since I was there, added tests for MountedApexDatabase::PopulateFromMounts function. Test: atest apex_database_test Test: atest apexservice_test Test: atest --test-mapping system/apex:presubmit Bug: 135984674 Bug: 145670581 Change-Id: Ib2a4ef30073f26931d7e2e326b589b929166e223 Merged-In: Ib2a4ef30073f26931d7e2e326b589b929166e223 (cherry picked from commit db8fdbb02b7aa45dc05261a57a05c3e9432017fb)
Diffstat (limited to 'libs/libapexutil/apexutil.cpp')
0 files changed, 0 insertions, 0 deletions