Constant Field Values
Contents
org.robolectric.*
-
org.robolectric.RobolectricTestRunner Modifier and Type Constant Field Value public static final String
CONFIG_PROPERTIES
"robolectric.properties"
-
org.robolectric.android.DeviceConfig Modifier and Type Constant Field Value public static final int
DEFAULT_DENSITY
160
-
org.robolectric.annotation.Config Modifier and Type Constant Field Value public static final int
ALL_SDKS
-2
public static final String
DEFAULT_ASSET_FOLDER
"assets"
public static final String
DEFAULT_MANIFEST_NAME
"AndroidManifest.xml"
public static final String
DEFAULT_PACKAGE_NAME
""
public static final String
DEFAULT_QUALIFIERS
""
public static final String
DEFAULT_RES_FOLDER
"res"
public static final int
DEFAULT_VALUE_INT
-1
public static final String
DEFAULT_VALUE_STRING
"--default"
public static final int
NEWEST_SDK
-5
public static final String
NONE
"--none"
public static final int
OLDEST_SDK
-4
public static final int
TARGET_SDK
-3
-
org.robolectric.annotation.Implementation Modifier and Type Constant Field Value public static final int
DEFAULT_SDK
-1
-
org.robolectric.annotation.processing.validator.ImplementsValidator Modifier and Type Constant Field Value public static final String
CONSTRUCTOR_METHOD_NAME
"__constructor__"
public static final String
IMPLEMENTS_CLASS
"org.robolectric.annotation.Implements"
public static final int
MAX_SUPPORTED_ANDROID_SDK
10000
public static final String
STATIC_INITIALIZER_METHOD_NAME
"__staticInitializer__"
-
org.robolectric.internal.bytecode.ShadowConstants Modifier and Type Constant Field Value public static final String
CLASS_HANDLER_DATA_FIELD_NAME
"__robo_data__"
public static final String
CONSTRUCTOR_METHOD_NAME
"__constructor__"
public static final String
GET_ROBO_DATA_METHOD_NAME
"$$robo$getData"
public static final String
ROBO_PREFIX
"$$robo$$"
public static final String
STATIC_INITIALIZER_METHOD_NAME
"__staticInitializer__"
-
org.robolectric.res.AttributeResource Modifier and Type Constant Field Value public static final String
ANDROID_NS
"http://schemas.android.com/apk/res/android"
public static final String
ANDROID_RES_NS_PREFIX
"http://schemas.android.com/apk/res/"
public static final String
EMPTY_VALUE
"@empty"
public static final String
NULL_VALUE
"@null"
public static final String
RES_AUTO_NS_URI
"http://schemas.android.com/apk/res-auto"
-
-
org.robolectric.res.android.ApkAssetsCookie Modifier and Type Constant Field Value public static final int
kInvalidCookie
-1
-
org.robolectric.res.android.AttributeResolution Modifier and Type Constant Field Value public static final boolean
kThrowOnBadId
false
public static final int
STYLE_ASSET_COOKIE
2
public static final int
STYLE_CHANGING_CONFIGURATIONS
4
public static final int
STYLE_DATA
1
public static final int
STYLE_DENSITY
5
public static final int
STYLE_NUM_ENTRIES
6
public static final int
STYLE_RESOURCE_ID
3
public static final int
STYLE_TYPE
0
-
org.robolectric.res.android.AttributeResolution10 Modifier and Type Constant Field Value public static final boolean
kThrowOnBadId
false
public static final int
STYLE_ASSET_COOKIE
2
public static final int
STYLE_CHANGING_CONFIGURATIONS
4
public static final int
STYLE_DATA
1
public static final int
STYLE_DENSITY
5
public static final int
STYLE_NUM_ENTRIES
7
public static final int
STYLE_RESOURCE_ID
3
public static final int
STYLE_SOURCE_STYLE_RESOURCE_ID
6
public static final int
STYLE_TYPE
0
-
org.robolectric.res.android.AttributeResolution9 Modifier and Type Constant Field Value public static final boolean
kThrowOnBadId
false
public static final int
STYLE_ASSET_COOKIE
2
public static final int
STYLE_CHANGING_CONFIGURATIONS
4
public static final int
STYLE_DATA
1
public static final int
STYLE_DENSITY
5
public static final int
STYLE_NUM_ENTRIES
6
public static final int
STYLE_RESOURCE_ID
3
public static final int
STYLE_TYPE
0
-
org.robolectric.res.android.ConfigDescription Modifier and Type Constant Field Value public static final int
SDK_CUPCAKE
3
public static final int
SDK_DONUT
4
public static final int
SDK_ECLAIR
5
public static final int
SDK_ECLAIR_0_1
6
public static final int
SDK_ECLAIR_MR1
7
public static final int
SDK_FROYO
8
public static final int
SDK_GINGERBREAD
9
public static final int
SDK_GINGERBREAD_MR1
10
public static final int
SDK_HONEYCOMB
11
public static final int
SDK_HONEYCOMB_MR1
12
public static final int
SDK_HONEYCOMB_MR2
13
public static final int
SDK_ICE_CREAM_SANDWICH
14
public static final int
SDK_ICE_CREAM_SANDWICH_MR1
15
public static final int
SDK_JELLY_BEAN
16
public static final int
SDK_JELLY_BEAN_MR1
17
public static final int
SDK_JELLY_BEAN_MR2
18
public static final int
SDK_KITKAT
19
public static final int
SDK_KITKAT_WATCH
20
public static final int
SDK_LOLLIPOP
21
public static final int
SDK_LOLLIPOP_MR1
22
public static final int
SDK_MNC
23
public static final int
SDK_NOUGAT
24
public static final int
SDK_NOUGAT_MR1
25
public static final int
SDK_O
26
-
org.robolectric.res.android.Errors Modifier and Type Constant Field Value public static final int
BAD_INDEX
-2147483647
public static final int
BAD_TYPE
-2147483646
public static final int
BAD_VALUE
-2147483645
public static final int
NAME_NOT_FOUND
-2147483643
public static final int
NO_ERROR
0
public static final int
NO_INIT
-2147483642
public static final int
NO_MEMORY
-2147483644
public static final int
UNKNOWN_ERROR
-2147483648
-
org.robolectric.res.android.ResourceTypes Modifier and Type Constant Field Value public static final String
ANDROID_NS
"http://schemas.android.com/apk/res/android"
public static final String
AUTO_NS
"http://schemas.android.com/apk/res-auto"
public static final int
RES_NULL_TYPE
0
public static final int
RES_STRING_POOL_TYPE
1
public static final int
RES_TABLE_LIBRARY_TYPE
515
public static final int
RES_TABLE_PACKAGE_TYPE
512
public static final int
RES_TABLE_TYPE
2
public static final int
RES_TABLE_TYPE_SPEC_TYPE
514
public static final int
RES_TABLE_TYPE_TYPE
513
public static final int
RES_XML_CDATA_TYPE
260
public static final int
RES_XML_END_ELEMENT_TYPE
259
public static final int
RES_XML_END_NAMESPACE_TYPE
257
public static final int
RES_XML_FIRST_CHUNK_TYPE
256
public static final int
RES_XML_LAST_CHUNK_TYPE
383
public static final int
RES_XML_RESOURCE_MAP_TYPE
384
public static final int
RES_XML_START_ELEMENT_TYPE
258
public static final int
RES_XML_START_NAMESPACE_TYPE
256
public static final int
RES_XML_TYPE
3
public static final int
RESTABLE_MAX_LOCALE_LEN
40
-
org.robolectric.res.android.ResourceTypes.Res_value Modifier and Type Constant Field Value public static final int
COMPLEX_MANTISSA_MASK
16777215
public static final int
COMPLEX_MANTISSA_SHIFT
8
public static final int
COMPLEX_RADIX_0p23
3
public static final int
COMPLEX_RADIX_16p7
1
public static final int
COMPLEX_RADIX_23p0
0
public static final int
COMPLEX_RADIX_8p15
2
public static final int
COMPLEX_RADIX_MASK
3
public static final int
COMPLEX_RADIX_SHIFT
4
public static final int
COMPLEX_UNIT_DIP
1
public static final int
COMPLEX_UNIT_FRACTION
0
public static final int
COMPLEX_UNIT_FRACTION_PARENT
1
public static final int
COMPLEX_UNIT_IN
4
public static final int
COMPLEX_UNIT_MASK
15
public static final int
COMPLEX_UNIT_MM
5
public static final int
COMPLEX_UNIT_PT
3
public static final int
COMPLEX_UNIT_PX
0
public static final int
COMPLEX_UNIT_SHIFT
0
public static final int
COMPLEX_UNIT_SP
2
public static final int
DATA_NULL_EMPTY
1
public static final int
DATA_NULL_UNDEFINED
0
public static final int
TYPE_ATTRIBUTE
2
public static final int
TYPE_DIMENSION
5
public static final int
TYPE_DYNAMIC_ATTRIBUTE
8
public static final int
TYPE_DYNAMIC_REFERENCE
7
public static final int
TYPE_FIRST_COLOR_INT
28
public static final int
TYPE_FIRST_INT
16
public static final int
TYPE_FLOAT
4
public static final int
TYPE_FRACTION
6
public static final int
TYPE_INT_BOOLEAN
18
public static final int
TYPE_INT_COLOR_ARGB4
30
public static final int
TYPE_INT_COLOR_ARGB8
28
public static final int
TYPE_INT_COLOR_RGB4
31
public static final int
TYPE_INT_COLOR_RGB8
29
public static final int
TYPE_INT_DEC
16
public static final int
TYPE_INT_HEX
17
public static final int
TYPE_LAST_COLOR_INT
31
public static final int
TYPE_LAST_INT
31
public static final int
TYPE_NULL
0
public static final int
TYPE_REFERENCE
1
public static final int
TYPE_STRING
3
-
org.robolectric.res.android.ResourceTypes.ResStringPool_header Modifier and Type Constant Field Value public static final int
SORTED_FLAG
1
public static final int
UTF8_FLAG
256
-
org.robolectric.res.android.ResourceTypes.ResStringPool_ref Modifier and Type Constant Field Value public static final int
SIZEOF
4
-
org.robolectric.res.android.ResourceTypes.ResStringPool_span Modifier and Type Constant Field Value public static final int
END
-1
public static final int
SIZEOF
12
-
org.robolectric.res.android.ResourceTypes.ResTable_map Modifier and Type Constant Field Value public static final int
L10N_NOT_REQUIRED
0
public static final int
L10N_SUGGESTED
1
public static final int
SIZEOF
12
public static final int
TYPE_ANY
65535
public static final int
TYPE_BOOLEAN
8
public static final int
TYPE_COLOR
16
public static final int
TYPE_DIMENSION
64
public static final int
TYPE_ENUM
65536
public static final int
TYPE_FLAGS
131072
public static final int
TYPE_FLOAT
32
public static final int
TYPE_FRACTION
128
public static final int
TYPE_INTEGER
4
public static final int
TYPE_REFERENCE
1
public static final int
TYPE_STRING
2
-
org.robolectric.res.android.ResourceTypes.ResTable_ref Modifier and Type Constant Field Value public static final int
SIZEOF
4
-
org.robolectric.res.android.ResStringPoolHeader Modifier and Type Constant Field Value public static final int
SORTED_FLAG
1
public static final int
UTF8_FLAG
256
-
org.robolectric.res.android.ResTable_config Modifier and Type Constant Field Value public static final int
DENSITY_ANY
65534
public static final int
DENSITY_DEFAULT
0
public static final int
DENSITY_DPI_ANY
65534
public static final int
DENSITY_DPI_MDPI
160
public static final int
DENSITY_DPI_NONE
65535
public static final int
DENSITY_DPI_UNDEFINED
0
public static final int
DENSITY_HIGH
240
public static final int
DENSITY_LOW
120
public static final int
DENSITY_MEDIUM
160
public static final int
DENSITY_NONE
65535
public static final int
DENSITY_TV
213
public static final int
DENSITY_XHIGH
320
public static final int
DENSITY_XXHIGH
480
public static final int
DENSITY_XXXHIGH
640
public static final int
HDR_ANY
0
public static final int
HDR_NO
4
public static final int
HDR_YES
8
public static final int
KEYBOARD_ANY
0
public static final byte
KEYSHIDDEN_ANY
0
public static final byte
KEYSHIDDEN_NO
1
public static final byte
KEYSHIDDEN_SOFT
3
public static final byte
KEYSHIDDEN_YES
2
public static final int
LAYOUTDIR_ANY
0
public static final int
LAYOUTDIR_LTR
64
public static final int
LAYOUTDIR_RTL
128
public static final int
MASK_HDR
12
public static final int
MASK_KEYSHIDDEN
3
public static final int
MASK_LAYOUTDIR
192
public static final int
MASK_NAVHIDDEN
12
public static final int
MASK_SCREENLONG
48
public static final int
MASK_UI_MODE_NIGHT
48
public static final int
MASK_UI_MODE_TYPE
15
public static final int
MASK_WIDE_COLOR_GAMUT
3
public static final int
MINORVERSION_ANY
0
public static final byte
NAVHIDDEN_ANY
0
public static final byte
NAVHIDDEN_NO
4
public static final byte
NAVHIDDEN_YES
8
public static final int
NAVIGATION_ANY
0
public static final int
ORIENTATION_ANY
0
public static final int
ORIENTATION_LAND
2
public static final int
ORIENTATION_PORT
1
public static final int
ORIENTATION_SQUARE
3
public static final int
RESTABLE_MAX_LOCALE_LEN
28
public static final int
SCREENHEIGHT_ANY
0
public static final int
SCREENLONG_ANY
0
public static final int
SCREENLONG_NO
16
public static final int
SCREENLONG_YES
32
public static final int
SCREENROUND_ANY
0
public static final int
SCREENROUND_NO
1
public static final int
SCREENROUND_YES
2
public static final int
SCREENSIZE_ANY
0
public static final int
SCREENSIZE_LARGE
3
public static final int
SCREENSIZE_NORMAL
2
public static final int
SCREENSIZE_SMALL
1
public static final int
SCREENSIZE_XLARGE
4
public static final int
SCREENWIDTH_ANY
0
public static final int
SDKVERSION_ANY
0
public static final int
SHIFT_LAYOUTDIR
6
public static final int
SHIFT_NAVHIDDEN
2
public static final int
SHIFT_SCREENLONG
4
public static final int
SHIFT_UI_MODE_NIGHT
4
public static final int
SIZEOF
52
public static final int
TOUCHSCREEN_ANY
0
public static final int
TOUCHSCREEN_FINGER
3
public static final int
UI_MODE_NIGHT_ANY
0
public static final int
UI_MODE_NIGHT_NO
16
public static final int
UI_MODE_TYPE_ANY
0
public static final int
UI_MODE_TYPE_NORMAL
1
public static final int
WIDE_COLOR_GAMUT_ANY
0
public static final int
WIDE_COLOR_GAMUT_NO
1
public static final int
WIDE_COLOR_GAMUT_YES
2
-
org.robolectric.res.android.ResXMLParser.event_code_t Modifier and Type Constant Field Value public static final int
BAD_DOCUMENT
-1
public static final int
END_DOCUMENT
1
public static final int
END_NAMESPACE
257
public static final int
END_TAG
259
public static final int
FIRST_CHUNK_CODE
256
public static final int
START_DOCUMENT
0
public static final int
START_NAMESPACE
256
public static final int
START_TAG
258
public static final int
TEXT
260
-
org.robolectric.res.android.Util Modifier and Type Constant Field Value public static final boolean
JNI_FALSE
false
public static final boolean
JNI_TRUE
true
public static final int
SIZEOF_CPTR
4
public static final int
SIZEOF_INT
4
public static final int
SIZEOF_SHORT
2
-
org.robolectric.shadows.ShadowAccessibilityNodeInfo Modifier and Type Constant Field Value public static final int
UNDEFINED_SELECTION_INDEX
-1
-
org.robolectric.shadows.ShadowAccessibilityRecord Modifier and Type Constant Field Value public static final int
NO_VIRTUAL_ID
-1
-
org.robolectric.shadows.ShadowAppOpsManager Modifier and Type Constant Field Value protected static final int
DURATION
10
protected static final long
OP_TIME
1400000000L
protected static final String
PROXY_PACKAGE
""
protected static final int
PROXY_UID
0
protected static final long
REJECT_TIME
0L
-
org.robolectric.shadows.ShadowAudioManager Modifier and Type Constant Field Value public static final int
DEFAULT_MAX_VOLUME
7
public static final int
DEFAULT_VOLUME
7
public static final int
FLAG_NO_ACTION
0
public static final int
INVALID_VOLUME
0
public static final int
MAX_VOLUME_MUSIC_DTMF
15
public static final int
MIN_VOLUME
0
-
org.robolectric.shadows.ShadowAudioTrack Modifier and Type Constant Field Value protected static final int
DEFAULT_MIN_BUFFER_SIZE
1024
-
org.robolectric.shadows.ShadowContentProviderOperation Modifier and Type Constant Field Value public static final int
TYPE_ASSERT
4
public static final int
TYPE_DELETE
3
public static final int
TYPE_INSERT
1
public static final int
TYPE_UPDATE
2
-
org.robolectric.shadows.ShadowContextImpl Modifier and Type Constant Field Value public static final String
CLASS_NAME
"android.app.ContextImpl"
-
org.robolectric.shadows.ShadowLocaleData Modifier and Type Constant Field Value public static final String
REAL_CLASS_NAME
"libcore.icu.LocaleData"
-
org.robolectric.shadows.ShadowMatrix Modifier and Type Constant Field Value public static final String
MATRIX
"matrix"
public static final String
ROTATE
"rotate"
public static final String
SCALE
"scale"
public static final String
SINCOS
"sincos"
public static final String
SKEW
"skew"
public static final String
TRANSLATE
"translate"
-
org.robolectric.shadows.ShadowMediaPlayer Modifier and Type Constant Field Value public static final int
MEDIA_EVENT
1
-
org.robolectric.shadows.ShadowMediaRecorder Modifier and Type Constant Field Value public static final int
STATE_DATA_SOURCE_CONFIGURED
3
public static final int
STATE_ERROR
-1
public static final int
STATE_INITIAL
1
public static final int
STATE_INITIALIZED
2
public static final int
STATE_PREPARED
4
public static final int
STATE_RECORDING
5
public static final int
STATE_RELEASED
6
-
org.robolectric.shadows.ShadowMediaRouter Modifier and Type Constant Field Value public static final String
BLUETOOTH_DEVICE_NAME
"TestBluetoothDevice"
-
org.robolectric.shadows.ShadowStatFs Modifier and Type Constant Field Value public static final int
BLOCK_SIZE
4096
-
org.robolectric.shadows.ShadowStatusBarManager Modifier and Type Constant Field Value public static final int
DEFAULT_DISABLE_MASK
67043328
public static final int
DEFAULT_DISABLE2_MASK
31
public static final int
DISABLE_CLOCK
8388608
public static final int
DISABLE_EXPAND
65536
public static final int
DISABLE_HOME
2097152
public static final int
DISABLE_NONE
0
public static final int
DISABLE_NOTIFICATION_ALERTS
262144
public static final int
DISABLE_RECENT
16777216
public static final int
DISABLE_SEARCH
33554432
public static final int
DISABLE2_NONE
0
public static final int
DISABLE2_ROTATE_SUGGESTIONS
16
-
org.robolectric.shadows.ShadowStorageStatsManager Modifier and Type Constant Field Value public static final long
DEFAULT_STORAGE_FREE_BYTES
4294967296L
public static final long
DEFAULT_STORAGE_TOTAL_BYTES
8589934592L
-
org.robolectric.shadows.ShadowUserManager Modifier and Type Constant Field Value public static final int
DEFAULT_SECONDARY_USER_ID
10
public static final int
FLAG_ADMIN
2
public static final int
FLAG_DEMO
512
public static final int
FLAG_FULL
1024
public static final int
FLAG_GUEST
4
public static final int
FLAG_MANAGED_PROFILE
32
public static final int
FLAG_PRIMARY
1
public static final int
FLAG_PROFILE
4096
public static final int
FLAG_RESTRICTED
8
public static final int
FLAG_SYSTEM
2048
-
org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock Modifier and Type Constant Field Value public static final int
MAX_ACTIVE_LOCKS
50
-
org.robolectric.util.TimeUtils Modifier and Type Constant Field Value public static final long
NANOS_PER_MS
1000000L