Searched defs:fsType (Results 1 - 6 of 6) 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 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.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/
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.cpp346 binder::Status VoldNativeService::format(const std::string& volId, const std::string& fsType) { argument
355 return translate(vol->format(fsType));

Completed in 80 milliseconds