-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recovery: Implement a volume manager
This is a copy of the pre-binderized vold which has been converted to use direct calls instead of sockets and stripped down to only what is needed to support recovery. Includes: * Replace security_context_t type security_context_t has been marked as deprecated in libselinux from version 3.2. Update to the `char*` type. Bug: 190808996 Test: m Change-Id: I6f40e161251c79893d41e12c368715736578aacc * recovery: volmgr: remove unused IsSupported Change-Id: If8206658fdfb6108221806c09c99bf0a30f4a586 Signed-off-by: Jesse Chan <[email protected]> * recovery: volmgr: remove filesystem checks Those checks are not strictly necessary and we are not building fsck tools for recovery for now. Remove those checks so volmgr can be useful. Change-Id: I87756c61b933b6cdccd281c6276b686fbd36019f Signed-off-by: Jesse Chan <[email protected]> * recovery: fixup `EmulatedVolume creating` Avoid dangling pointer. Instead of pointing to FstabEntry create copy. Change-Id: I57f76006db09a6add2c173f43175f0f6b848d87b * recovery: fix volmgr cleaning up Don't reset pointer to netlink manager Delete disks in stop() rather then in ~VolumeManager Call destroy() before deleting disks cause delete expects the disk to be destroyed Clear the lists or we would read garbage data on the next scan Change-Id: Idadfa1f33b7cb5f2f3c780848a99344a6608420e * recovery: handle interrupts in apply update menu Change-Id: I1f78f9196634353b77986545332d7d52a5f0c161 Change-Id: Ic82d929e052b5ba70ecf7b475e0a223d77d9687e
- Loading branch information
Showing
52 changed files
with
3,800 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ cc_library { | |
"libbase", | ||
"libpng", | ||
"libz", | ||
"libvolume_manager", | ||
], | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.