Searched refs:forWrite (Results 1 – 3 of 3) sorted by relevance
5133 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 …]
188 int IsOpendirAllowed(const std::string& path, uid_t uid, bool forWrite);
397 int MediaProviderWrapper::IsOpendirAllowed(const string& path, uid_t uid, bool forWrite) { in IsOpendirAllowed() argument405 forWrite ? kWriteDirectoryRequest : kReadDirectoryRequest); in IsOpendirAllowed()