Searched refs:fsType (Results 1 - 13 of 13) sorted by relevance

/system/vold/model/
H A DPrivateVolume.cpp181 status_t PrivateVolume::doFormat(const std::string& fsType) { argument
182 std::string resolvedFsType = fsType;
183 if (fsType == "auto") {
206 LOG(ERROR) << getId() << " unsupported filesystem " << fsType;
H A DPrivateVolume.h50 status_t doFormat(const std::string& fsType) override;
H A DPublicVolume.h50 status_t doFormat(const std::string& fsType) override;
H A DPublicVolume.cpp253 status_t PublicVolume::doFormat(const std::string& fsType) { argument
254 if ((fsType == "vfat" || fsType == "auto") && vfat::IsSupported()) {
262 } else if ((fsType == "exfat" || fsType == "auto") && exfat::IsSupported()) {
271 LOG(ERROR) << "Unsupported filesystem " << fsType;
H A DVolumeBase.h103 status_t format(const std::string& fsType);
112 virtual status_t doFormat(const std::string& fsType);
H A DVolumeBase.cpp242 status_t VolumeBase::format(const std::string& fsType) { argument
253 status_t res = doFormat(fsType);
258 status_t VolumeBase::doFormat(const std::string& fsType) { argument
H A DDisk.cpp398 std::string fsType; local
400 if (ReadMetadataUntrusted(mDevPath, &fsType, &unused, &unused) == OK) {
/system/vold/binder/android/os/
H A DIVoldListener.aidl31 @utf8InCpp String fsType, @utf8InCpp String fsUuid, @utf8InCpp String fsLabel);
H A DIVold.aidl42 void format(@utf8InCpp String volId, @utf8InCpp String fsType);
/system/vold/
H A DUtils.h62 status_t ReadMetadata(const std::string& path, std::string* fsType,
66 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType,
96 bool IsFilesystemSupported(const std::string& fsType);
H A DUtils.cpp212 static status_t readMetadata(const std::string& path, std::string* fsType, argument
214 fsType->clear();
239 FindValue(line, "TYPE", fsType);
247 status_t ReadMetadata(const std::string& path, std::string* fsType, argument
249 return readMetadata(path, fsType, fsUuid, fsLabel, false);
252 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType, argument
254 return readMetadata(path, fsType, fsUuid, fsLabel, true);
554 bool IsFilesystemSupported(const std::string& fsType) { argument
560 return supported.find(fsType + "\n") != std::string::npos;
H A DVoldNativeService.h52 binder::Status format(const std::string& volId, const std::string& fsType);
H A DVoldNativeService.cpp346 binder::Status VoldNativeService::format(const std::string& volId, const std::string& fsType) { argument
355 return translate(vol->format(fsType));

Completed in 4980 milliseconds