Home
last modified time | relevance | path

Searched refs:excludePath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/
H A Dringtone_scanner_utils.cpp144 string excludePath = curPath.append("/.nomedia"); in IsDirHidden() local
146 if (RingtoneScannerUtils::IsExists(excludePath)) { in IsDirHidden()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dscanner_utils.cpp154 string excludePath = curPath.append("/.nomedia"); in IsDirHidden() local
156 if (ScannerUtils::IsExists(excludePath)) { in IsDirHidden()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/quota/
H A Dquota_manager.cpp712 static void SetExcludePathMap(std::string &excludePath, std::map<std::string, bool> &excludesMap) in SetExcludePathMap() argument
714 if (excludePath.empty()) { in SetExcludePathMap()
719 if (stat(excludePath.c_str(), &fileStatInfo) != 0) { in SetExcludePathMap()
720 …LOGE("SetExcludePathMap call stat error %{private}s, errno:%{public}d", excludePath.c_str(), errno… in SetExcludePathMap()
724 if (excludePath.back() != FILE_SEPARATOR_CHAR) { in SetExcludePathMap()
725 excludePath.push_back(FILE_SEPARATOR_CHAR); in SetExcludePathMap()
727 excludesMap.insert({excludePath, true}); in SetExcludePathMap()
729 excludesMap.insert({excludePath, false}); in SetExcludePathMap()