Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DContentProvider.java568 final String componentPerm = getReadPermission(); in enforceReadPermissionInner() local
569 if (componentPerm != null) { in enforceReadPermissionInner()
570 final int mode = checkPermissionAndAppOp(componentPerm, callingPkg, callerToken); in enforceReadPermissionInner()
574 missingPerm = componentPerm; in enforceReadPermissionInner()
581 boolean allowDefaultRead = (componentPerm == null); in enforceReadPermissionInner()
650 final String componentPerm = getWritePermission(); in enforceWritePermissionInner() local
651 if (componentPerm != null) { in enforceWritePermissionInner()
652 final int mode = checkPermissionAndAppOp(componentPerm, callingPkg, callerToken); in enforceWritePermissionInner()
656 missingPerm = componentPerm; in enforceWritePermissionInner()
663 boolean allowDefaultWrite = (componentPerm == null); in enforceWritePermissionInner()