Age | Commit message (Collapse) | Author |
|
A small refactoring that will simplify my next change to get rid of
kDebugAllowBundledKey.
Test: atest ApexTestCases
Bug: 154908224
Change-Id: Ibb7fdfd8da959089ae30dbe2283d5e11d643c89c
|
|
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
|
|
Bug: 134590767
Test: m apexd
Test: atest apexservice_test
Test: atest apex_database_test
Test: atest apex_file_test
Test: atest apex_manifest_test
Change-Id: Icfdbf79448f1c5287de83d28f8f75158d7214b73
|
|
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
|
|
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
|
|
The previous implementation was incorrect and violated Compare
requirements for std::map.
Add tests.
Bug: 116593293
Test: atest apex_database_test
Change-Id: Ic97061184559675985ebfa75afeb29a3f09e559a
|