summaryrefslogtreecommitdiff
path: root/vold_prepare_subdirs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Create /data/vendor_ce/0/facedata in vold_prepare_subdirsPaul Crowley2019-04-251-0/+5
| | | | | | | | Bug: 131084614 Test: Modified sepolicy to match, ensured directory was created on Crosshatch Change-Id: I0978a630149158eb3b8f446abecb12e137e6fae5
* Merge "Create subdirs in system_ce/ for multi-user backup" am: 625203444b ↵Annie Meng2019-01-171-0/+9
|\ | | | | | | | | | | | | | | am: 33a5634374 am: 2506860cfb Change-Id: I116438108a176deb90eaf724ac8ddd66d597a129
| * Create subdirs in system_ce/ for multi-user backupAnnie Meng2019-01-171-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backup system service bookkeeping is being moved to per-user CE directories to support multiple users participating in the service. Accompanies SELinux changes at aosp/873133 Bug: 121197420 Test: 1) Boot device; check dirs created with correct label; run backup successfully on system user 2) Create secondary user; check dirs created with correct label; run backup successfully Change-Id: I3a0fdbfcf18a3c242fc64fba0dd014160b50b2f0
* | Merge "vold_prepare_subdirs: prepare /data/misc_[ce|de]/rollback." am: ↵Annie Meng2019-01-171-0/+2
|\| | | | | | | | | | | | | | | 3cc1866454 am: 2cc1d4e458 am: 142afc926f Change-Id: Iddeb8e2722162edcd5929a9e9684d3c7fcfcd0ba
| * vold_prepare_subdirs: prepare /data/misc_[ce|de]/rollback.Narayan Kamath2019-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | These directories are managed by installd and used to store snapshots of application data directories in order to roll them back in the case of bad updates. Bug: 112431924 Test: make, device boot & manual verification. Change-Id: Ieaca697a45d013937327e0f16f36b9b1eaad6b22
| * Do not crash if secontext is nullptrRoman Kiryanov2018-09-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | LOG(DEBUG) tries to print a string pointed by secontext.get() but crashed if it was nullptr. Bug: 111888637 Test: "make -j50" and ran emulator Change-Id: Iac78f650e7f48781030dc610f7d35cd52c250802 Merged-In: Iac78f650e7f48781030dc610f7d35cd52c250802 Signed-off-by: Roman Kiryanov <rkir@google.com>
* | Revert "Revert "Revert "Revert "vold now prepares a subdirectory for face ↵Kevin Chyn2018-11-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | data."""" Bug: 116528212 This reverts commit 8973e2d5d098f08b1a26110a4b67d3f8aea2c6ee. Reason for revert: Will submit after selinux issues are resolved Change-Id: Ie2df91b33be70629e8c08fdbcc6e7ad0faea13a9
* | Revert "Revert "Revert "vold now prepares a subdirectory for face data."""Nick Kralevich2018-11-191-4/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 9dcf54929f74ab4b128fcfe9b9638d3194f16b3b. Reason for revert: Device fails to boot after OTA. Bug: 116528212 Bug: 119747564 Change-Id: I32bfbc2c2fd560f090e078426315111f241e76cf
* | Revert "Revert "vold now prepares a subdirectory for face data.""Kevin Chyn2018-11-151-0/+4
| | | | | | | | | | | | | | | | This reverts commit a70d237a0589ef4c64faf6347efc89489ba268c7. Reason for revert: Submitting together or after SELinux policy is in place Change-Id: I952f94df99496ced04adba1ec28d42be53202982
* | Revert "vold now prepares a subdirectory for face data."Kevin Chyn2018-11-151-4/+0
| | | | | | | | | | | | | | | | This reverts commit 21b3b37af3f2677c46f5a0d0374d8fe46e1dee9a. Reason for revert: device not booting Change-Id: Ia76b8454268d70dcd9d9f1ad0d291aaec63b3fd4
* | vold now prepares a subdirectory for face data.Zachary Iqbal2018-11-081-0/+4
| | | | | | | | | | | | Change-Id: I32ec05942aac03b95b2abe5d042833197d69706b Fixes: 116528212 Test: Built and tested locally.
* | Do not crash if secontext is nullptrRoman Kiryanov2018-07-261-1/+2
|/ | | | | | | | | | LOG(DEBUG) tries to print a string pointed by secontext.get() but crashed if it was nullptr. Bug: 111888637 Test: "make -j50" and ran emulator Change-Id: Iac78f650e7f48781030dc610f7d35cd52c250802 Signed-off-by: Roman Kiryanov <rkir@google.com>
* Fingerprint data is now stored in one of two ways depending on theAndreas Huber2018-01-231-0/+13
| | | | | | | | | | | | | | | | shipping API version: For devices shipped before Android P nothing changes, data is stored under /data/system/users/<user-id>/fpdata/... Devices shipped from now on will instead store fingerprint data under /data/vendor_de/<user-id>/fpdata. Support for /data/vendor_de and /data/vendor_ce has been added to vold. Bug: 36997597 Change-Id: I615e90d1c9ab08e768a8713968fa043598a0a526 Test: manually
* Create subdirectories in misc_ce/misc_de for storagedJin Qian2017-10-241-0/+2
| | | | | | Test: Boot device, check directories created Bug: 63740245 Change-Id: Ie3f593e2cceb99ea7e86614d6b0d7b34f8c7034c
* Convert vold_prepare_subdirs to C++Paul Crowley2017-10-241-0/+172
Minimize overhead in boot by replacing shell script invoked multiple times with a C++ program invoked once. Bug: 67901036 Test: create user, run adb shell ls -laZ /data/misc_ce/10; delete user and check logs. Change-Id: I886cfd6505cca1f5b5902f2071e13f48e612214d