1{ 2 "methods": { 3 "acquire()": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected" 7 ], 8 "params": [], 9 "returnType": "void", 10 "exceptions": [], 11 "name": "acquire()" 12 }, 13 "acquire(long)": { 14 "isImplementation": true, 15 "modifiers": [ 16 "protected", 17 "synchronized" 18 ], 19 "params": [ 20 "timeout" 21 ], 22 "returnType": "void", 23 "exceptions": [], 24 "name": "acquire(long)" 25 }, 26 "getWorkSource()": { 27 "isImplementation": false, 28 "modifiers": [ 29 "public", 30 "synchronized" 31 ], 32 "params": [], 33 "returnType": "android.os.WorkSource", 34 "exceptions": [], 35 "name": "getWorkSource()" 36 }, 37 "isHeld()": { 38 "isImplementation": true, 39 "modifiers": [ 40 "protected", 41 "synchronized" 42 ], 43 "params": [], 44 "returnType": "boolean", 45 "exceptions": [], 46 "name": "isHeld()" 47 }, 48 "isReferenceCounted()": { 49 "isImplementation": false, 50 "modifiers": [ 51 "public" 52 ], 53 "params": [], 54 "returnType": "boolean", 55 "exceptions": [], 56 "name": "isReferenceCounted()", 57 "documentation": "Retrieves if the wake lock is reference counted or not\n\n@return Is the wake lock reference counted?\n" 58 }, 59 "release()": { 60 "isImplementation": true, 61 "modifiers": [ 62 "protected", 63 "synchronized" 64 ], 65 "params": [], 66 "returnType": "void", 67 "exceptions": [], 68 "name": "release()" 69 }, 70 "setReferenceCounted(boolean)": { 71 "isImplementation": true, 72 "modifiers": [ 73 "protected" 74 ], 75 "params": [ 76 "value" 77 ], 78 "returnType": "void", 79 "exceptions": [], 80 "name": "setReferenceCounted(boolean)" 81 }, 82 "setWorkSource(android.os.WorkSource)": { 83 "isImplementation": true, 84 "modifiers": [ 85 "protected", 86 "synchronized" 87 ], 88 "params": [ 89 "ws" 90 ], 91 "returnType": "void", 92 "exceptions": [], 93 "name": "setWorkSource(android.os.WorkSource)" 94 } 95 }, 96 "imports": [ 97 "android.os.Build.VERSION_CODES.KITKAT_WATCH", 98 "android.os.Build.VERSION_CODES.LOLLIPOP", 99 "android.os.Build.VERSION_CODES.M", 100 "org.robolectric.shadows.ShadowApplication.getInstance", 101 "android.Manifest.permission", 102 "android.content.Context", 103 "android.content.pm.PackageManager", 104 "android.os.PowerManager", 105 "android.os.WorkSource", 106 "com.google.common.collect.ImmutableList", 107 "java.util.ArrayList", 108 "java.util.HashMap", 109 "java.util.List", 110 "java.util.Map", 111 "org.robolectric.RuntimeEnvironment", 112 "org.robolectric.annotation.HiddenApi", 113 "org.robolectric.annotation.Implementation", 114 "org.robolectric.annotation.Implements", 115 "org.robolectric.annotation.Resetter", 116 "org.robolectric.shadow.api.Shadow" 117 ], 118 "name": "org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock" 119}