Searched refs:vold (Results 1 - 25 of 70) sorted by relevance

123

/system/vold/
H A Dsecontext.cpp21 return android::vold::sFsckContext;
H A DCheckEncryption.h23 namespace vold { namespace in namespace:android
28 } // namespace vold
H A DProcess.h21 namespace vold { namespace in namespace:android
25 } // namespace vold
H A DBenchmark.h25 namespace vold { namespace in namespace:android
30 } // namespace vold
H A Dvdc.cpp46 auto name = android::String16("vold");
50 LOG(VERBOSE) << "Waited " << (i * 10) << "ms for vold";
85 LOG(ERROR) << "Failed to obtain vold Binder";
88 auto vold = android::interface_cast<android::os::IVold>(binder); local
91 checkStatus(vold->fbeEnable());
93 checkStatus(vold->initUser0());
97 checkStatus(vold->fdeEnable(passwordType, "", encryptionFlags));
99 checkStatus(vold->mountDefaultEncrypted());
101 checkStatus(vold->shutdown());
103 checkStatus(vold
[all...]
H A DExt4Crypt.cpp63 using android::vold::kEmptyAuthentication;
64 using android::vold::KeyBuffer;
78 const std::string user_key_dir = std::string() + DATA_MNT_POINT + "/misc/vold/user_keys";
83 std::string() + DATA_MNT_POINT + "/misc/vold/volume_keys";
170 android::vold::destroyKey(other_path);
183 const android::vold::KeyAuthentication& auth,
189 if (android::vold::retrieveKey(ce_key_path, auth, ce_key)) {
200 const android::vold::KeyAuthentication& auth) {
205 if (!android::vold::installKey(ce_key, &ce_raw_ref)) return false;
234 if (!android::vold
[all...]
H A DVolumeManager.h85 std::shared_ptr<android::vold::Disk> findDisk(const std::string& id);
86 std::shared_ptr<android::vold::VolumeBase> findVolume(const std::string& id);
88 void listVolumes(android::vold::VolumeBase::Type type, std::list<std::string>& list);
99 int setPrimary(const std::shared_ptr<android::vold::VolumeBase>& vol);
120 * ensures that path belongs to a volume managed by vold.
137 void handleDiskAdded(const std::shared_ptr<android::vold::Disk>& disk);
147 std::list<std::shared_ptr<android::vold::Disk>> mDisks;
148 std::list<std::shared_ptr<android::vold::Disk>> mPendingDisks;
149 std::list<std::shared_ptr<android::vold::VolumeBase>> mObbVolumes;
155 std::shared_ptr<android::vold
[all...]
H A DFileDeviceUtils.h24 namespace vold { namespace in namespace:android
32 } // namespace vold
H A DIdleMaint.h23 namespace vold { namespace in namespace:android
29 } // namespace vold
H A DMoveStorage.h24 namespace vold { namespace in namespace:android
29 } // namespace vold
H A Dwait_for_keymaster.cpp30 android::vold::Keymaster keymaster;
H A Dmain.cpp64 << (android::vold::IsFilesystemSupported("ext4") ? " ext4" : "")
65 << (android::vold::IsFilesystemSupported("f2fs") ? " f2fs" : "")
66 << (android::vold::IsFilesystemSupported("vfat") ? " vfat" : "");
78 mkdir("/dev/block/vold", 0755);
94 if (android::base::GetBoolProperty("vold.debug", false)) {
112 if (android::vold::VoldNativeService::start() != android::OK) {
128 // a deadlock between vold and init (see b/34278978 for details)
129 android::base::SetProperty("vold.has_adoptable", has_adoptable ? "1" : "0");
130 android::base::SetProperty("vold.has_quota", has_quota ? "1" : "0");
131 android::base::SetProperty("vold
[all...]
H A DKeyBuffer.cpp23 namespace vold { namespace in namespace:android
35 } // namespace vold
H A DKeyUtil.h27 namespace vold { namespace in namespace:android
38 } // namespace vold
H A Dvold_prepare_subdirs.cpp115 android::vold::ForkExecvp(std::vector<std::string>{"/system/bin/rm", "-rf", subdir})) {
127 auto misc_de_path = android::vold::BuildDataMiscDePath(user_id);
128 if (!prepare_dir(sehandle, 0700, 0, 0, misc_de_path + "/vold")) return false;
131 auto vendor_de_path = android::vold::BuildDataVendorDePath(user_id);
137 auto misc_ce_path = android::vold::BuildDataMiscCePath(user_id);
138 if (!prepare_dir(sehandle, 0700, 0, 0, misc_ce_path + "/vold")) return false;
149 auto misc_ce_path = android::vold::BuildDataMiscCePath(user_id);
152 auto vendor_ce_path = android::vold::BuildDataVendorCePath(user_id);
156 auto misc_de_path = android::vold::BuildDataMiscDePath(user_id);
159 auto vendor_de_path = android::vold
[all...]
H A DVolumeManager.cpp71 static const char* kPathVirtualDisk = "/data/misc/vold/virtual_disk";
120 auto disk = new android::vold::Disk("virtual", buf.st_rdev, "virtual",
121 android::vold::Disk::Flags::kAdoptable | android::vold::Disk::Flags::kSd);
122 mVirtualDisk = std::shared_ptr<android::vold::Disk>(disk);
159 mInternalEmulated = std::shared_ptr<android::vold::VolumeBase>(
160 new android::vold::EmulatedVolume("/data/media"));
203 || (android::vold::IsRunningInEmulator()
206 flags |= android::vold::Disk::Flags::kSd;
208 flags |= android::vold
[all...]
H A DBenchmark.cpp39 namespace vold { namespace in namespace:android
96 if (android::vold::PrepareDir(path, 01771, AID_SYSTEM, AID_MISC)) {
99 path += "/vold";
100 if (android::vold::PrepareDir(path, 0700, AID_ROOT, AID_ROOT)) {
104 if (android::vold::PrepareDir(path, 0700, AID_ROOT, AID_ROOT)) {
197 } // namespace vold
H A DCheckEncryption.cpp51 namespace vold { namespace in namespace:android
59 auto haystack = android::vold::BlockDeviceForPath(needle);
130 if (android::vold::PrepareDir(deNeedle, 01771, AID_SYSTEM, AID_MISC)) {
133 deNeedle += "/vold";
134 if (android::vold::PrepareDir(deNeedle, 0700, AID_ROOT, AID_ROOT)) {
148 } // namespace vold
H A DKeyBuffer.h25 namespace vold { namespace in namespace:android
59 } // namespace vold
/system/vold/fs/
H A DF2fs.h25 namespace vold { namespace in namespace:android
35 } // namespace vold
H A DExfat.h25 namespace vold { namespace in namespace:android
36 } // namespace vold
H A DVfat.h25 namespace vold { namespace in namespace:android
37 } // namespace vold
H A DExt4.h25 namespace vold { namespace in namespace:android
38 } // namespace vold
/system/vold/tests/
H A DUtils_test.cpp22 namespace vold { namespace in namespace:android
/system/vold/model/
H A DEmulatedVolume.h25 namespace vold { namespace in namespace:android
62 } // namespace vold

Completed in 101 milliseconds

123