Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5133 final boolean forWrite; in getQueryBuilderInternal()
5135 case TYPE_QUERY: forWrite = false; break; in getQueryBuilderInternal()
5136 case TYPE_INSERT: forWrite = true; break; in getQueryBuilderInternal()
5137 case TYPE_UPDATE: forWrite = true; break; in getQueryBuilderInternal()
5138 case TYPE_DELETE: forWrite = true; break; in getQueryBuilderInternal()
5171 if (forWrite) { in getQueryBuilderInternal()
5177 allowGlobal = checkCallingPermissionGlobal(uri, forWrite); in getQueryBuilderInternal()
5181 forWrite ? isCallingPackageLegacyWrite() : isCallingPackageLegacyRead(); in getQueryBuilderInternal()
5182 final boolean allowLegacyRead = allowLegacy && !forWrite; in getQueryBuilderInternal()
5200 forWrite ? MATCH_INCLUDE : MATCH_VISIBLE_FOR_FILEPATH; in getQueryBuilderInternal()
[all …]
/packages/providers/MediaProvider/jni/
DMediaProviderWrapper.h188 int IsOpendirAllowed(const std::string& path, uid_t uid, bool forWrite);
DMediaProviderWrapper.cpp397 int MediaProviderWrapper::IsOpendirAllowed(const string& path, uid_t uid, bool forWrite) { in IsOpendirAllowed() argument
405 forWrite ? kWriteDirectoryRequest : kReadDirectoryRequest); in IsOpendirAllowed()