1{ 2 "methods": { 3 "getRandomApplicationUid()": { 4 "isImplementation": false, 5 "modifiers": [ 6 "static" 7 ], 8 "params": [], 9 "returnType": "int", 10 "exceptions": [], 11 "name": "getRandomApplicationUid()" 12 }, 13 "getThreadPriority(int)": { 14 "isImplementation": true, 15 "modifiers": [ 16 "protected", 17 "static", 18 "final" 19 ], 20 "params": [ 21 "tid" 22 ], 23 "returnType": "int", 24 "exceptions": [], 25 "name": "getThreadPriority(int)", 26 "documentation": "Returns priority stored for the given thread.\n\n@param tid The identifier of the thread. If equals zero, the identifier of the calling thread\n will be used.\n" 27 }, 28 "myPid()": { 29 "isImplementation": true, 30 "modifiers": [ 31 "protected", 32 "static", 33 "final" 34 ], 35 "params": [], 36 "returnType": "int", 37 "exceptions": [], 38 "name": "myPid()" 39 }, 40 "myTid()": { 41 "isImplementation": true, 42 "modifiers": [ 43 "protected", 44 "static", 45 "final" 46 ], 47 "params": [], 48 "returnType": "int", 49 "exceptions": [], 50 "name": "myTid()", 51 "documentation": "Returns the identifier ({@link java.lang.Thread#getId()}) of the current thread ({@link\njava.lang.Thread#currentThread()}).\n" 52 }, 53 "myUid()": { 54 "isImplementation": true, 55 "modifiers": [ 56 "protected", 57 "static", 58 "final" 59 ], 60 "params": [], 61 "returnType": "int", 62 "exceptions": [], 63 "name": "myUid()", 64 "documentation": "Returns the identifier of this process\u0027s uid. Unlike Android UIDs are randomly initialized to\nprevent tests from depending on any given value. Tests should access the current process UID\nvia {@link android.os.Process#myUid()}. You can override this value by calling {@link\n#setUid(int)}.\n" 65 }, 66 "reset()": { 67 "isImplementation": false, 68 "modifiers": [ 69 "public", 70 "static" 71 ], 72 "params": [], 73 "returnType": "void", 74 "exceptions": [], 75 "name": "reset()" 76 }, 77 "setPid(int)": { 78 "isImplementation": false, 79 "modifiers": [ 80 "public", 81 "static" 82 ], 83 "params": [ 84 "pid" 85 ], 86 "returnType": "void", 87 "exceptions": [], 88 "name": "setPid(int)", 89 "documentation": "Sets the identifier of this process.\n" 90 }, 91 "setThreadPriority(int)": { 92 "isImplementation": true, 93 "modifiers": [ 94 "protected", 95 "static", 96 "final" 97 ], 98 "params": [ 99 "priority" 100 ], 101 "returnType": "void", 102 "exceptions": [], 103 "name": "setThreadPriority(int)", 104 "documentation": "Stores priority for the current thread, but doesn\u0027t actually change it to not mess up with test\nrunner. Unlike real implementation does not throw any exceptions.\n" 105 }, 106 "setThreadPriority(int,int)": { 107 "isImplementation": true, 108 "modifiers": [ 109 "protected", 110 "static", 111 "final" 112 ], 113 "params": [ 114 "tid", 115 "priority" 116 ], 117 "returnType": "void", 118 "exceptions": [], 119 "name": "setThreadPriority(int,int)", 120 "documentation": "Stores priority for the given thread, but doesn\u0027t actually change it to not mess up with test\nrunner. Unlike real implementation does not throw any exceptions.\n\n@param tid The identifier of the thread. If equals zero, the identifier of the calling thread\n will be used.\n" 121 }, 122 "setUid(int)": { 123 "isImplementation": false, 124 "modifiers": [ 125 "public", 126 "static" 127 ], 128 "params": [ 129 "uid" 130 ], 131 "returnType": "void", 132 "exceptions": [], 133 "name": "setUid(int)", 134 "documentation": "Sets the identifier of this process.\n" 135 } 136 }, 137 "imports": [ 138 "com.google.common.base.Preconditions.checkArgument", 139 "java.util.HashMap", 140 "java.util.Map", 141 "java.util.concurrent.ThreadLocalRandom", 142 "javax.annotation.concurrent.GuardedBy", 143 "org.robolectric.annotation.Implementation", 144 "org.robolectric.annotation.Implements", 145 "org.robolectric.annotation.Resetter" 146 ], 147 "name": "org.robolectric.shadows.ShadowProcess" 148}