Home
last modified time | relevance | path

Searched refs:PUBLIC_DOC (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_media_library.cpp39 const std::string PUBLIC_DOC = "/storage/media/local/files/Docs"; variable
655 if (PUBLIC_DOC.compare(path.substr(0, PUBLIC_DOC.size())) == 0) { in GetRealPath()
658 outPath = realPath + path.substr(PUBLIC_DOC.size(), path.size()); in GetRealPath()
880 const std::string root = (it == storageIdToPathMap.end()) ? PUBLIC_DOC : it->second; in GetHandlesMap()
1149 storage->SetMaxCapacity(manager->GetTotalSize(PUBLIC_DOC)); in GetStorageIds()
1150 storage->SetFreeSpaceInBytes(manager->GetFreeSize(PUBLIC_DOC)); in GetStorageIds()
1156 storageIdToPathMap[INNER_STORAGE_ID] = PUBLIC_DOC; in GetStorageIds()
H A Dmtp_operation_utils.cpp84 const std::string PUBLIC_DOC = "/storage/media/local/files/Docs"; variable
731 storage->SetMaxCapacity(manager->GetTotalSize(PUBLIC_DOC)); in GetStorageIDs()
732 storage->SetFreeSpaceInBytes(manager->GetFreeSize(PUBLIC_DOC)); in GetStorageIDs()