{ "methods": { "addAssetPath(java.lang.String)": { "isImplementation": true, "modifiers": [ "public" ], "params": [ "path" ], "returnType": "int", "exceptions": [], "maxSdk": 17, "name": "addAssetPath(java.lang.String)" }, "addAssetPathNative(java.lang.String)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "path" ], "returnType": "int", "exceptions": [], "minSdk": 18, "maxSdk": 23, "name": "addAssetPathNative(java.lang.String)" }, "addAssetPathNative(java.lang.String,boolean)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "path", "appAsLib" ], "returnType": "int", "exceptions": [], "minSdk": 24, "name": "addAssetPathNative(java.lang.String,boolean)" }, "applyStyle(int,int,int,int,int[],int[],int[])": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "themeToken", "defStyleAttr", "defStyleRes", "xmlParserToken", "attrs", "outValues", "outIndices" ], "returnType": "void", "exceptions": [], "maxSdk": 20, "name": "applyStyle(int,int,int,int,int[],int[],int[])" }, "applyStyle(long,int,int,long,int[],int,long,long)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "themeToken", "defStyleAttr", "defStyleRes", "xmlParserToken", "inAttrs", "length", "outValuesAddress", "outIndicesAddress" ], "returnType": "void", "exceptions": [], "minSdk": 26, "maxSdk": 27, "name": "applyStyle(long,int,int,long,int[],int,long,long)" }, "applyStyle(long,int,int,long,int[],int[],int[])": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "themeToken", "defStyleAttr", "defStyleRes", "xmlParserToken", "attrs", "outValues", "outIndices" ], "returnType": "void", "exceptions": [], "minSdk": 21, "maxSdk": 25, "name": "applyStyle(long,int,int,long,int[],int[],int[])" }, "applyThemeStyle(int,int,boolean)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "themePtr", "styleRes", "force" ], "returnType": "void", "exceptions": [], "maxSdk": 20, "name": "applyThemeStyle(int,int,boolean)" }, "applyThemeStyle(long,int,boolean)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "themePtr", "styleRes", "force" ], "returnType": "void", "exceptions": [], "minSdk": 21, "maxSdk": 27, "name": "applyThemeStyle(long,int,boolean)" }, "assetManagerForJavaObject()": { "isImplementation": false, "modifiers": [ "private", "synchronized" ], "params": [], "returnType": "org.robolectric.res.android.CppAssetManager", "exceptions": [], "name": "assetManagerForJavaObject()" }, "copyTheme(int,int)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "destPtr", "sourcePtr" ], "returnType": "void", "exceptions": [], "maxSdk": 20, "name": "copyTheme(int,int)" }, "copyTheme(long,long)": { "isImplementation": true, "modifiers": [ "public", "static" ], "params": [ "destPtr", "sourcePtr" ], "returnType": "void", "exceptions": [], "minSdk": 21, "maxSdk": 27, "name": "copyTheme(long,long)" }, "copyValue(android.util.TypedValue,org.robolectric.res.android.ResTable,org.robolectric.res.android.ResourceTypes.Res_value,int,int,int)": { "isImplementation": false, "modifiers": [ "private", "static" ], "params": [ "outValue", "table", "value", "ref", "block", "typeSpecFlags" ], "returnType": "int", "exceptions": [], "name": "copyValue(android.util.TypedValue,org.robolectric.res.android.ResTable,org.robolectric.res.android.ResourceTypes.Res_value,int,int,int)" }, "copyValue(android.util.TypedValue,org.robolectric.res.android.ResTable,org.robolectric.res.android.ResourceTypes.Res_value,int,int,int,org.robolectric.res.android.ResTable_config)": { "isImplementation": false, "modifiers": [ "private", "static" ], "params": [ "outValue", "table", "value", "ref", "block", "typeSpecFlags", "config" ], "returnType": "int", "exceptions": [], "name": "copyValue(android.util.TypedValue,org.robolectric.res.android.ResTable,org.robolectric.res.android.ResourceTypes.Res_value,int,int,int,org.robolectric.res.android.ResTable_config)" }, "deleteTheme(int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "theme" ], "returnType": "void", "exceptions": [], "maxSdk": 20, "name": "deleteTheme(int)" }, "deleteTheme(long)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "theme" ], "returnType": "void", "exceptions": [], "minSdk": 21, "name": "deleteTheme(long)" }, "destroyAsset(int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset" ], "returnType": "void", "exceptions": [], "maxSdk": 20, "name": "destroyAsset(int)" }, "destroyAsset(long)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset" ], "returnType": "void", "exceptions": [], "minSdk": 21, "name": "destroyAsset(long)" }, "dumpTheme(long,int,java.lang.String,java.lang.String)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "theme", "priority", "tag", "prefix" ], "returnType": "void", "exceptions": [], "name": "dumpTheme(long,int,java.lang.String,java.lang.String)" }, "getAllAssetDirs()": { "isImplementation": false, "modifiers": [], "params": [], "returnType": "java.util.Collection\u003corg.robolectric.res.FsFile\u003e", "exceptions": [], "name": "getAllAssetDirs()" }, "getArrayIntResource(int)": { "isImplementation": true, "modifiers": [ "public" ], "params": [ "arrayResId" ], "returnType": "int[]", "exceptions": [], "name": "getArrayIntResource(int)" }, "getArraySize(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "id" ], "returnType": "int", "exceptions": [], "name": "getArraySize(int)" }, "getArrayStringInfo(int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "arrayResId" ], "returnType": "int[]", "exceptions": [], "name": "getArrayStringInfo(int)" }, "getArrayStringResource(int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "arrayResId" ], "returnType": "java.lang.String[]", "exceptions": [], "name": "getArrayStringResource(int)" }, "getAsset(long)": { "isImplementation": false, "modifiers": [ "private" ], "params": [ "asset" ], "returnType": "org.robolectric.res.android.Asset", "exceptions": [], "name": "getAsset(long)" }, "getAssetLength(int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset" ], "returnType": "long", "exceptions": [], "maxSdk": 20, "name": "getAssetLength(int)" }, "getAssetLength(long)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset" ], "returnType": "long", "exceptions": [], "minSdk": 21, "name": "getAssetLength(long)" }, "getAssetPaths()": { "isImplementation": false, "modifiers": [], "params": [], "returnType": "java.util.List\u003corg.robolectric.res.android.AssetPath\u003e", "exceptions": [], "name": "getAssetPaths()" }, "getAssetRemainingLength(int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset" ], "returnType": "long", "exceptions": [], "maxSdk": 20, "name": "getAssetRemainingLength(int)" }, "getAssetRemainingLength(long)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "assetHandle" ], "returnType": "long", "exceptions": [], "minSdk": 21, "name": "getAssetRemainingLength(long)" }, "getAssignedPackageIdentifiers()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "android.util.SparseArray\u003cjava.lang.String\u003e", "exceptions": [], "name": "getAssignedPackageIdentifiers()" }, "getConfiguration()": { "isImplementation": false, "modifiers": [], "params": [], "returnType": "org.robolectric.res.android.ResTable_config", "exceptions": [], "name": "getConfiguration()" }, "getNativeStringBlock(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "block" ], "returnType": "java.lang.Number", "exceptions": [], "name": "getNativeStringBlock(int)" }, "getResourceBagValue(int,int,org.robolectric.res.android.ResTable)": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [ "ident", "bagEntryId", "resTable" ], "returnType": "java.lang.String", "exceptions": [], "name": "getResourceBagValue(int,int,org.robolectric.res.android.ResTable)" }, "getResourceBagValues(int,org.robolectric.res.android.ResTable)": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [ "ident", "res" ], "returnType": "java.util.Map\u003cjava.lang.String,java.lang.Integer\u003e", "exceptions": [], "name": "getResourceBagValues(int,org.robolectric.res.android.ResTable)" }, "getResourceEntryName(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "resid" ], "returnType": "java.lang.String", "exceptions": [], "name": "getResourceEntryName(int)" }, "getResourceIdentifier(java.lang.String,java.lang.String,java.lang.String)": { "isImplementation": true, "modifiers": [ "public" ], "params": [ "name", "defType", "defPackage" ], "returnType": "int", "exceptions": [], "name": "getResourceIdentifier(java.lang.String,java.lang.String,java.lang.String)" }, "getResourceName(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "resid" ], "returnType": "java.lang.String", "exceptions": [], "name": "getResourceName(int)" }, "getResourcePackageName(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "resid" ], "returnType": "java.lang.String", "exceptions": [], "name": "getResourcePackageName(int)" }, "getResourceTypeName(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "resid" ], "returnType": "java.lang.String", "exceptions": [], "name": "getResourceTypeName(int)" }, "getStringBlockCount()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "int", "exceptions": [], "name": "getStringBlockCount()" }, "init()": { "isImplementation": true, "modifiers": [ "protected" ], "params": [], "returnType": "void", "exceptions": [], "maxSdk": 19, "name": "init()" }, "init(boolean)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "isSystem" ], "returnType": "void", "exceptions": [], "minSdk": 20, "name": "init(boolean)" }, "list(java.lang.String)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "path" ], "returnType": "java.lang.String[]", "exceptions": [ "java.io.IOException" ], "name": "list(java.lang.String)" }, "loadResourceBagValue(int,int,android.util.TypedValue,boolean)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "ident", "bagEntryId", "outValue", "resolve" ], "returnType": "int", "exceptions": [], "name": "loadResourceBagValue(int,int,android.util.TypedValue,boolean)", "documentation": "Returns true if the resource was found, filling in mRetStringBlock and\nmRetData.\n" }, "loadResourceBagValueInternal(int,int,android.util.TypedValue,boolean,org.robolectric.res.android.ResTable)": { "isImplementation": false, "modifiers": [ "private", "static" ], "params": [ "ident", "bagEntryId", "outValue", "resolve", "res" ], "returnType": "int", "exceptions": [], "name": "loadResourceBagValueInternal(int,int,android.util.TypedValue,boolean,org.robolectric.res.android.ResTable)" }, "loadResourceValue(int,short,android.util.TypedValue,boolean)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "ident", "density", "outValue", "resolve" ], "returnType": "int", "exceptions": [], "name": "loadResourceValue(int,short,android.util.TypedValue,boolean)" }, "loadThemeAttributeValue(int,int,android.util.TypedValue,boolean)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "themeHandle", "ident", "outValue", "resolve" ], "returnType": "int", "exceptions": [], "maxSdk": 20, "name": "loadThemeAttributeValue(int,int,android.util.TypedValue,boolean)" }, "loadThemeAttributeValue(long,int,android.util.TypedValue,boolean)": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "themeHandle", "ident", "outValue", "resolve" ], "returnType": "int", "exceptions": [], "minSdk": 21, "name": "loadThemeAttributeValue(long,int,android.util.TypedValue,boolean)" }, "newTheme()": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [], "returnType": "java.lang.Number", "exceptions": [], "name": "newTheme()" }, "openAsset(java.lang.String,int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "fileName", "mode" ], "returnType": "java.lang.Number", "exceptions": [ "java.io.FileNotFoundException" ], "name": "openAsset(java.lang.String,int)" }, "openAssetFd(java.lang.String,long[])": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "fileName", "outOffsets" ], "returnType": "android.os.ParcelFileDescriptor", "exceptions": [ "java.io.IOException" ], "name": "openAssetFd(java.lang.String,long[])" }, "openNonAssetFdNative(int,java.lang.String,long[])": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "cookie", "fileName", "outOffsets" ], "returnType": "android.os.ParcelFileDescriptor", "exceptions": [ "java.io.IOException" ], "name": "openNonAssetFdNative(int,java.lang.String,long[])" }, "openNonAssetNative(int,java.lang.String,int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "cookie", "fileName", "accessMode" ], "returnType": "java.lang.Number", "exceptions": [ "java.io.FileNotFoundException" ], "name": "openNonAssetNative(int,java.lang.String,int)" }, "openXmlAssetNative(int,java.lang.String)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "cookie", "fileName" ], "returnType": "java.lang.Number", "exceptions": [ "java.io.FileNotFoundException" ], "name": "openXmlAssetNative(int,java.lang.String)" }, "readAsset(int,byte[],int,int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset", "b", "off", "len" ], "returnType": "int", "exceptions": [ "java.io.IOException" ], "maxSdk": 20, "name": "readAsset(int,byte[],int,int)" }, "readAsset(long,byte[],int,int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset", "bArray", "off", "len" ], "returnType": "int", "exceptions": [ "java.io.IOException" ], "minSdk": 21, "name": "readAsset(long,byte[],int,int)" }, "readAssetChar(int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset" ], "returnType": "int", "exceptions": [], "maxSdk": 20, "name": "readAssetChar(int)" }, "readAssetChar(long)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset" ], "returnType": "int", "exceptions": [], "minSdk": 21, "name": "readAssetChar(long)" }, "reset()": { "isImplementation": false, "modifiers": [ "public", "static" ], "params": [], "returnType": "void", "exceptions": [], "name": "reset()" }, "resolveAttrs(long,int,int,int[],int[],int[],int[])": { "isImplementation": true, "modifiers": [ "protected", "static" ], "params": [ "themeToken", "defStyleAttr", "defStyleRes", "inValues", "attrs", "outValues", "outIndices" ], "returnType": "boolean", "exceptions": [], "name": "resolveAttrs(long,int,int,int[],int[],int[],int[])" }, "retrieveArray(int,int[])": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "id", "outValues" ], "returnType": "int", "exceptions": [], "name": "retrieveArray(int,int[])" }, "retrieveAttributes(int,int[],int[],int[])": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "xmlParserToken", "attrs", "outValues", "outIndices" ], "returnType": "boolean", "exceptions": [], "maxSdk": 20, "name": "retrieveAttributes(int,int[],int[],int[])" }, "retrieveAttributes(long,int[],int[],int[])": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "xmlParserToken", "attrs", "outValues", "outIndices" ], "returnType": "boolean", "exceptions": [], "minSdk": 21, "name": "retrieveAttributes(long,int[],int[],int[])" }, "returnParcelFileDescriptor(org.robolectric.res.android.Asset,long[])": { "isImplementation": false, "modifiers": [ "static" ], "params": [ "a", "outOffsets" ], "returnType": "android.os.ParcelFileDescriptor", "exceptions": [ "java.io.FileNotFoundException" ], "name": "returnParcelFileDescriptor(org.robolectric.res.android.Asset,long[])" }, "seekAsset(int,long,int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset", "offset", "whence" ], "returnType": "long", "exceptions": [], "maxSdk": 20, "name": "seekAsset(int,long,int)" }, "seekAsset(long,long,int)": { "isImplementation": true, "modifiers": [ "protected", "final" ], "params": [ "asset", "offset", "whence" ], "returnType": "long", "exceptions": [], "minSdk": 21, "name": "seekAsset(long,long,int)" }, "setConfiguration(int,int,java.lang.String,int,int,int,int,int,int,int,int,int,int,int,int,int,int)": { "isImplementation": true, "modifiers": [ "public", "final" ], "params": [ "mcc", "mnc", "locale", "orientation", "touchscreen", "density", "keyboard", "keyboardHidden", "navigation", "screenWidth", "screenHeight", "smallestScreenWidthDp", "screenWidthDp", "screenHeightDp", "screenLayout", "uiMode", "sdkVersion" ], "returnType": "void", "exceptions": [], "maxSdk": 25, "name": "setConfiguration(int,int,java.lang.String,int,int,int,int,int,int,int,int,int,int,int,int,int,int)" }, "setConfiguration(int,int,java.lang.String,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int)": { "isImplementation": true, "modifiers": [ "public" ], "params": [ "mcc", "mnc", "locale", "orientation", "touchscreen", "density", "keyboard", "keyboardHidden", "navigation", "screenWidth", "screenHeight", "smallestScreenWidthDp", "screenWidthDp", "screenHeightDp", "screenLayout", "uiMode", "colorMode", "sdkVersion" ], "returnType": "void", "exceptions": [], "minSdk": 26, "name": "setConfiguration(int,int,java.lang.String,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int)" } }, "imports": [ "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2", "android.os.Build.VERSION_CODES.KITKAT_WATCH", "android.os.Build.VERSION_CODES.LOLLIPOP", "android.os.Build.VERSION_CODES.M", "android.os.Build.VERSION_CODES.N_MR1", "android.os.Build.VERSION_CODES.O", "android.os.Build.VERSION_CODES.O_MR1", "android.os.Build.VERSION_CODES.P", "org.robolectric.res.android.Asset.SEEK_CUR", "org.robolectric.res.android.Asset.SEEK_SET", "org.robolectric.res.android.AttributeResolution.kThrowOnBadId", "org.robolectric.res.android.Errors.BAD_INDEX", "org.robolectric.res.android.Errors.NO_ERROR", "org.robolectric.res.android.Util.ALOGV", "org.robolectric.res.android.Util.isTruthy", "android.content.res.AssetManager", "android.os.Build.VERSION_CODES", "android.os.ParcelFileDescriptor", "android.util.SparseArray", "android.util.TypedValue", "com.google.common.annotations.VisibleForTesting", "com.google.common.base.Preconditions", "com.google.common.base.Strings", "dalvik.system.VMRuntime", "java.io.File", "java.io.FileDescriptor", "java.io.FileNotFoundException", "java.io.IOException", "java.util.ArrayList", "java.util.Collection", "java.util.HashMap", "java.util.List", "java.util.Map", "org.robolectric.RuntimeEnvironment", "org.robolectric.annotation.HiddenApi", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject", "org.robolectric.annotation.Resetter", "org.robolectric.res.Fs", "org.robolectric.res.FsFile", "org.robolectric.res.android.Asset", "org.robolectric.res.android.Asset.AccessMode", "org.robolectric.res.android.AssetDir", "org.robolectric.res.android.AssetPath", "org.robolectric.res.android.AttributeResolution", "org.robolectric.res.android.CppAssetManager", "org.robolectric.res.android.DataType", "org.robolectric.res.android.DynamicRefTable", "org.robolectric.res.android.Ref", "org.robolectric.res.android.Registries", "org.robolectric.res.android.ResStringPool", "org.robolectric.res.android.ResTable", "org.robolectric.res.android.ResTable.ResourceName", "org.robolectric.res.android.ResTable.bag_entry", "org.robolectric.res.android.ResTableTheme", "org.robolectric.res.android.ResTable_config", "org.robolectric.res.android.ResXMLParser", "org.robolectric.res.android.ResXMLTree", "org.robolectric.res.android.ResourceTypes.Res_value", "org.robolectric.res.android.String8", "org.robolectric.shadow.api.Shadow", "org.robolectric.shadows.ShadowAssetManager.Picker", "org.robolectric.util.ReflectionHelpers" ], "name": "org.robolectric.shadows.ShadowArscAssetManager" }