Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java3376 final boolean forWrite; in getQueryBuilderInternal()
3378 case TYPE_QUERY: forWrite = false; break; in getQueryBuilderInternal()
3379 case TYPE_UPDATE: forWrite = true; break; in getQueryBuilderInternal()
3380 case TYPE_DELETE: forWrite = true; break; in getQueryBuilderInternal()
3402 final boolean allowGlobal = checkCallingPermissionGlobal(uri, forWrite); in getQueryBuilderInternal()
3403 final boolean allowLegacy = checkCallingPermissionLegacy(uri, forWrite, callingPackage); in getQueryBuilderInternal()
3404 final boolean allowLegacyRead = allowLegacy && !forWrite; in getQueryBuilderInternal()
3427 if (!allowGlobal && !checkCallingPermissionImages(forWrite, callingPackage)) { in getQueryBuilderInternal()
3454 if (!allowGlobal && !checkCallingPermissionImages(forWrite, callingPackage)) { in getQueryBuilderInternal()
3476 if (!allowGlobal && !checkCallingPermissionAudio(forWrite, callingPackage)) { in getQueryBuilderInternal()
[all …]