{ "methods": { "checkCallingPermissionForDataDelivery(android.content.Context,java.lang.String,java.lang.String,java.lang.String,java.lang.String)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "context", "permission", "packageName", "attributionTag", "message" ], "returnType": "int", "exceptions": [], "name": "checkCallingPermissionForDataDelivery(android.content.Context,java.lang.String,java.lang.String,java.lang.String,java.lang.String)", "documentation": "Check the permission of calling package. " }, "checkPermissionForDataDelivery(android.content.Context,java.lang.String,int,int,java.lang.String,java.lang.String,java.lang.String)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "context", "permission", "pid", "uid", "packageName", "attributionTag", "message" ], "returnType": "int", "exceptions": [], "name": "checkPermissionForDataDelivery(android.content.Context,java.lang.String,int,int,java.lang.String,java.lang.String,java.lang.String)", "documentation": "Check general permission. " }, "checkPermissionForPreflight(android.content.Context,java.lang.String,android.content.AttributionSource)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "context", "permission", "attributionSource" ], "returnType": "int", "exceptions": [], "name": "checkPermissionForPreflight(android.content.Context,java.lang.String,android.content.AttributionSource)", "documentation": "Check general permission. " }, "checkPermissionForPreflight(android.content.Context,java.lang.String,int,int,java.lang.String)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "context", "permission", "pid", "uid", "packageName" ], "returnType": "int", "exceptions": [], "name": "checkPermissionForPreflight(android.content.Context,java.lang.String,int,int,java.lang.String)", "documentation": "Check general permission. " }, "setResult(java.lang.String,java.lang.String,int)": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [ "packageName", "permission", "result" ], "returnType": "void", "exceptions": [], "name": "setResult(java.lang.String,java.lang.String,int)", "documentation": "Set the result of permission check for a specific permission. " } }, "imports": [ "android.annotation.NonNull", "android.annotation.Nullable", "android.content.AttributionSource", "android.content.Context", "android.content.PermissionChecker", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "java.util.HashMap", "java.util.Map" ], "name": "org.robolectric.shadows.ShadowPermissionChecker", "documentation": "Shadow class of {@link PermissionChecker}. " }