{ "methods": { "getIntProperty(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "id" ], "returnType": "int", "exceptions": [], "minSdk": 21, "name": "getIntProperty(int)" }, "getLongProperty(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "id" ], "returnType": "long", "exceptions": [], "minSdk": 21, "name": "getLongProperty(int)" }, "isCharging()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "boolean", "exceptions": [], "minSdk": 23, "name": "isCharging()" }, "setIntProperty(int,int)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "id", "value" ], "returnType": "void", "exceptions": [], "name": "setIntProperty(int,int)" }, "setIsCharging(boolean)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "charging" ], "returnType": "void", "exceptions": [], "name": "setIsCharging(boolean)" }, "setLongProperty(int,long)": { "isImplementation": false, "modifiers": [ "public" ], "params": [ "id", "value" ], "returnType": "void", "exceptions": [], "name": "setLongProperty(int,long)" } }, "imports": [ "android.os.Build.VERSION_CODES.LOLLIPOP", "android.os.Build.VERSION_CODES.M", "android.os.BatteryManager", "java.util.HashMap", "java.util.Map", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements" ], "name": "org.robolectric.shadows.ShadowBatteryManager" }