Searched refs:forWrite (Results 1 – 6 of 6) sorted by relevance
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | AccessChecker.java | 89 boolean forWrite) { in hasAccessToCollection() argument 110 return callingIdentity.checkCallingPermissionAudio(forWrite); in hasAccessToCollection() 116 return callingIdentity.checkCallingPermissionImages(forWrite); in hasAccessToCollection() 122 return callingIdentity.checkCallingPermissionVideo(forWrite); in hasAccessToCollection() 129 return !forWrite in hasAccessToCollection() 149 int uriType, boolean forWrite) { in hasUserSelectedAccess() argument 150 if (forWrite) { in hasUserSelectedAccess() 270 boolean forWrite, @NonNull Bundle extras) { in getWhereForConstrainedAccess() argument 323 if (shouldAllowLegacyWrite(callingIdentity, forWrite)) { in getWhereForConstrainedAccess() 339 if (shouldAllowLegacyWrite(callingIdentity, forWrite)) { in getWhereForConstrainedAccess() [all …]
|
D | LocalCallingIdentity.java | 682 public boolean checkCallingPermissionAudio(boolean forWrite) { in checkCallingPermissionAudio() argument 683 if (forWrite) { in checkCallingPermissionAudio() 695 public boolean checkCallingPermissionVideo(boolean forWrite) { in checkCallingPermissionVideo() argument 696 if (forWrite) { in checkCallingPermissionVideo() 707 public boolean checkCallingPermissionImages(boolean forWrite) { in checkCallingPermissionImages() argument 708 if (forWrite) { in checkCallingPermissionImages()
|
D | MediaProvider.java | 5811 final boolean forWrite; 5813 case TYPE_QUERY: forWrite = false; break; 5814 case TYPE_INSERT: forWrite = true; break; 5815 case TYPE_UPDATE: forWrite = true; break; 5816 case TYPE_DELETE: forWrite = true; break; 5820 if (forWrite) { 5865 forWrite ? MATCH_INCLUDE : MATCH_VISIBLE_FOR_FILEPATH; 5880 appendAccessCheckQuery(qb, forWrite, uri, match, extras, volumeName); 6277 private void appendAccessCheckQuery(@NonNull SQLiteQueryBuilder qb, boolean forWrite, 6286 allowGlobal = checkCallingPermissionGlobal(uri, forWrite); [all …]
|
/packages/services/Car/tools/vehiclepropertyidsparser/src/com/android/car/tool/ |
D | VehiclePropertyIdsParser.java | 163 PermissionType permission, boolean forRead, boolean forWrite) { in setPermission() argument 169 if (forWrite) { in setPermission() 396 ACCESS_MODE accessMode, boolean forRead, boolean forWrite) { in parseAndSetPermAnnotation() argument 406 setPermission(config, accessMode, permission, forRead, forWrite); in parseAndSetPermAnnotation()
|
/packages/providers/MediaProvider/jni/ |
D | MediaProviderWrapper.h | 188 int IsOpendirAllowed(const std::string& path, uid_t uid, bool forWrite);
|
D | MediaProviderWrapper.cpp | 397 int MediaProviderWrapper::IsOpendirAllowed(const string& path, uid_t uid, bool forWrite) { in IsOpendirAllowed() argument 405 forWrite ? kWriteDirectoryRequest : kReadDirectoryRequest); in IsOpendirAllowed()
|