1{ 2 "methods": { 3 "checkCallingPermissionForDataDelivery(android.content.Context,java.lang.String,java.lang.String,java.lang.String,java.lang.String)": { 4 "isImplementation": true, 5 "modifiers": [ 6 "public", 7 "static" 8 ], 9 "params": [ 10 "context", 11 "permission", 12 "packageName", 13 "attributionTag", 14 "message" 15 ], 16 "returnType": "int", 17 "exceptions": [], 18 "name": "checkCallingPermissionForDataDelivery(android.content.Context,java.lang.String,java.lang.String,java.lang.String,java.lang.String)", 19 "documentation": "Check the permission of calling package. " 20 }, 21 "checkPermissionForDataDelivery(android.content.Context,java.lang.String,int,int,java.lang.String,java.lang.String,java.lang.String)": { 22 "isImplementation": true, 23 "modifiers": [ 24 "public", 25 "static" 26 ], 27 "params": [ 28 "context", 29 "permission", 30 "pid", 31 "uid", 32 "packageName", 33 "attributionTag", 34 "message" 35 ], 36 "returnType": "int", 37 "exceptions": [], 38 "name": "checkPermissionForDataDelivery(android.content.Context,java.lang.String,int,int,java.lang.String,java.lang.String,java.lang.String)", 39 "documentation": "Check general permission. " 40 }, 41 "checkPermissionForPreflight(android.content.Context,java.lang.String,android.content.AttributionSource)": { 42 "isImplementation": true, 43 "modifiers": [ 44 "public", 45 "static" 46 ], 47 "params": [ 48 "context", 49 "permission", 50 "attributionSource" 51 ], 52 "returnType": "int", 53 "exceptions": [], 54 "name": "checkPermissionForPreflight(android.content.Context,java.lang.String,android.content.AttributionSource)", 55 "documentation": "Check general permission. " 56 }, 57 "checkPermissionForPreflight(android.content.Context,java.lang.String,int,int,java.lang.String)": { 58 "isImplementation": true, 59 "modifiers": [ 60 "public", 61 "static" 62 ], 63 "params": [ 64 "context", 65 "permission", 66 "pid", 67 "uid", 68 "packageName" 69 ], 70 "returnType": "int", 71 "exceptions": [], 72 "name": "checkPermissionForPreflight(android.content.Context,java.lang.String,int,int,java.lang.String)", 73 "documentation": "Check general permission. " 74 }, 75 "setResult(java.lang.String,java.lang.String,int)": { 76 "isImplementation": false, 77 "modifiers": [ 78 "public", 79 "static" 80 ], 81 "params": [ 82 "packageName", 83 "permission", 84 "result" 85 ], 86 "returnType": "void", 87 "exceptions": [], 88 "name": "setResult(java.lang.String,java.lang.String,int)", 89 "documentation": "Set the result of permission check for a specific permission. " 90 } 91 }, 92 "imports": [ 93 "android.annotation.NonNull", 94 "android.annotation.Nullable", 95 "android.content.AttributionSource", 96 "android.content.Context", 97 "android.content.PermissionChecker", 98 "org.robolectric.annotation.Implementation", 99 "org.robolectric.annotation.Implements", 100 "java.util.HashMap", 101 "java.util.Map" 102 ], 103 "name": "org.robolectric.shadows.ShadowPermissionChecker", 104 "documentation": "Shadow class of {@link PermissionChecker}. " 105}