Home
last modified time | relevance | path

Searched refs:fsType (Results 1 – 17 of 17) sorted by relevance

/system/vold/model/
DStubVolume.cpp30 const std::string& fsType, const std::string& fsUuid, in StubVolume() argument
35 mFsType(fsType), in StubVolume()
64 status_t StubVolume::doFormat(const std::string& fsType) { in doFormat() argument
DStubVolume.h35 const std::string& fsType, const std::string& fsUuid, const std::string& fsLabel);
43 status_t doFormat(const std::string& fsType) override;
DPrivateVolume.cpp212 status_t PrivateVolume::doFormat(const std::string& fsType) { in doFormat() argument
213 std::string resolvedFsType = fsType; in doFormat()
214 if (fsType == "auto") { in doFormat()
240 LOG(ERROR) << getId() << " unsupported filesystem " << fsType; in doFormat()
DPublicVolume.cpp310 status_t PublicVolume::doFormat(const std::string& fsType) { in doFormat() argument
316 if (fsType == "auto" && useVfat && useExfat) { in doFormat()
331 } else if (fsType == "vfat") { in doFormat()
333 } else if (fsType == "exfat") { in doFormat()
338 LOG(ERROR) << "Unsupported filesystem " << fsType; in doFormat()
DVolumeBase.h111 status_t format(const std::string& fsType);
125 virtual status_t doFormat(const std::string& fsType);
DVolumeBase.cpp262 status_t VolumeBase::format(const std::string& fsType) { in format() argument
273 status_t res = doFormat(fsType); in format()
278 status_t VolumeBase::doFormat(const std::string& fsType) { in doFormat() argument
DPublicVolume.h50 status_t doFormat(const std::string& fsType) override;
DPrivateVolume.h54 status_t doFormat(const std::string& fsType) override;
DDisk.cpp414 std::string fsType; in readPartitions() local
416 if (ReadMetadataUntrusted(mDevPath, &fsType, &unused, &unused) == OK) { in readPartitions()
/system/vold/binder/android/os/
DIVold.aidl49 void format(@utf8InCpp String volId, @utf8InCpp String fsType); in format() argument
92 …pp String blkDevice, @utf8InCpp String mountPoint, boolean shouldFormat, @utf8InCpp String fsType); in encryptFstab() argument
136 @utf8InCpp String mountPath, @utf8InCpp String fsType, in createStubVolume() argument
DIVoldListener.aidl31 @utf8InCpp String fsType, @utf8InCpp String fsUuid, @utf8InCpp String fsLabel); in onVolumeMetadataChanged() argument
/system/vold/
DUtils.h99 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid,
103 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType, std::string* fsUuid,
134 bool IsFilesystemSupported(const std::string& fsType);
DVoldNativeService.h59 binder::Status format(const std::string& volId, const std::string& fsType);
81 const std::string& fsType, const std::string& fsUuid,
117 bool shouldFormat, const std::string& fsType);
DVoldNativeService.cpp305 binder::Status VoldNativeService::format(const std::string& volId, const std::string& fsType) { in format() argument
314 return translate(vol->format(fsType)); in format()
444 const std::string& fsType, in createStubVolume() argument
457 sourcePath, mountPath, fsType, fsUuid, fsLabel, flags, _aidl_return)); in createStubVolume()
699 const std::string& fsType) { in encryptFstab() argument
704 fscrypt_mount_metadata_encrypted(blkDevice, mountPoint, true, shouldFormat, fsType)); in encryptFstab()
DUtils.cpp628 static status_t readMetadata(const std::string& path, std::string* fsType, std::string* fsUuid, in readMetadata() argument
630 fsType->clear(); in readMetadata()
655 FindValue(line, "TYPE", fsType); in readMetadata()
663 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid, in ReadMetadata() argument
665 return readMetadata(path, fsType, fsUuid, fsLabel, false); in ReadMetadata()
668 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType, std::string* fsUuid, in ReadMetadataUntrusted() argument
670 return readMetadata(path, fsType, fsUuid, fsLabel, true); in ReadMetadataUntrusted()
1000 bool IsFilesystemSupported(const std::string& fsType) { in IsFilesystemSupported() argument
1006 return supported.find(fsType + "\n") != std::string::npos; in IsFilesystemSupported()
DVolumeManager.h194 const std::string& fsType, const std::string& fsUuid,
DVolumeManager.cpp1128 const std::string& fsType, const std::string& fsUuid, in createStubVolume() argument
1133 new android::vold::StubVolume(stubId, sourcePath, mountPath, fsType, fsUuid, fsLabel)); in createStubVolume()