All Classes

Class Description
Accessor
Indicates that the annotated method is an accessor for a non-visible field.
AConfiguration  
ActivityController<T extends Activity>
ActivityController provides low-level APIs to control activity's lifecycle.
ActivityData  
AndroidConfigurer
Instruments the Android jars
AndroidInterceptors  
AndroidInterceptors.CleanerInterceptor
Maps calls to Cleaner, which moved between Java 8 and 9: sun.misc.Cleaner.create() -> new java.lang.ref.Cleaner().register() sun.misc.Cleaner.clean() -> java.lang.ref.Cleaner.Cleanable().clean()
AndroidInterceptors.FileDescriptorInterceptor
Intercepts calls to libcore-extensions to FileDescriptor.
AndroidInterceptors.LinkedHashMapEldestInterceptor  
AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor  
AndroidInterceptors.NoOpInterceptor  
AndroidInterceptors.ReferenceRefersToInterceptor
AndroidInterceptor for Reference.refersTo which is not available until JDK 16.
AndroidInterceptors.SocketInterceptor
Intercepts calls to methods in Socket not present in the OpenJDK.
AndroidInterceptors.SystemArrayCopyInterceptor  
AndroidInterceptors.SystemLogInterceptor
AndroidInterceptor for System.logE and System.logW.
AndroidInterceptors.SystemTimeInterceptor  
AndroidManifest
A wrapper for an Android App Manifest, which represents information about one's App to an Android system.
AndroidMetadata
Data related to Android tests.
AndroidSandbox
Sandbox simulating an Android device.
AndroidSandbox.SdkSandboxClassLoader
Adapter from Sdk to ResourceLoader.
AndroidSandbox.TestEnvironmentSpec
Provides a mechanism for tests to inject a different AndroidTestEnvironment.
AndroidSdkShadowMatcher
Android-specific rules for matching shadow classes and methods by SDK level.
AndroidTestEnvironment  
AnimatedImageDrawableNatives
Native methods for AnimatedImageDrawable JNI registration.
AnimatedVectorDrawableNatives
Native methods for AnimatedVectorDrawable JNI registration.
ApkAssetsCookie  
ApkLoader
Mediates loading of "APKs" in legacy mode.
AppWidgetProviderInfoBuilder
Class to build AppWidgetProviderInfo
Asset  
Asset.AccessMode  
AssetDir  
AssetPath  
AssociationInfoBuilder
Builder for AssociationInfo.
AttestedKeyPairFactory
Factory to create AttestedKeyPair.
AttrData  
AttrData.Pair  
AttributeResolution  
AttributeResolution.BagAttributeFinder  
AttributeResolution.XmlAttributeFinder  
AttributeResolution10  
AttributeResolution10.BagAttributeFinder  
AttributeResolution10.XmlAttributeFinder  
AttributeResolution9  
AttributeResolution9.BagAttributeFinder  
AttributeResolution9.XmlAttributeFinder  
AttributeResource  
AttributeSetBuilder
Builder of AttributeSets.
AttributeSetBuilderImpl  
AttributeSetBuilderImpl.ArscResourceResolver  
AttributeSetBuilderImpl.LegacyResourceResolver  
AttributeSetBuilderImpl.ResourceResolver  
AudioDeviceInfoBuilder
Builder for AudioDeviceInfo.
AutoFactory
Indicates that the annotated type will be used as a factory.
BackgroundExecutor
Utility class for running code off the main looper thread aka Robolectric test thread.
BackgroundTestRule
Let tests to run on background thread, if it has annotation BackgroundTestRule.BackgroundTest.
BackgroundTestRule.BackgroundTest
Annotation for test methods that need to be executed in a background thread.
BackupAgentController<T extends BackupAgent>  
BarringInfoBuilder
Builder for BarringInfo.
BarringInfoBuilder.BarringServiceInfoBuilder
BaseCanvasNatives
Native methods for BaseCanvas JNI registration.
BaseCursor Deprecated.
Use MatrixCursor instead.
BaseRecordingCanvasNatives
Native methods for BaseRecordingCanvas JNI registration.
BitmapFactoryNatives
Native methods for BitmapFactory JNI registration.
BitmapNatives
Native methods for Bitmap JNI registration.
BitmapShaderNatives
Native methods for BitmapShader JNI registration.
BlendModeColorFilterNatives
Native methods for BlendModeColorFilter JNI registration.
BlurMaskFilterNatives
Native methods for BlurMaskFilter JNI registration.
Bootstrap  
BrightnessChangeEventBuilder
BroadcastReceiverData  
BuckManifestFactory  
ByteBucketArray<T>
Stores a sparsely populated array.
CachedPathIteratorFactory
Class that returns iterators for a given path.
CanvasNatives
Native methods for Canvas JNI registration.
CanvasPropertyNatives
Native methods for CanvasProperty JNI registration.
ClassDetails
A more lightweight variant of MutableClass.
ClassHandler
This interface is used by Robolectric when instrumented classes are created and interacted with.
ClassHandlerBuilder
Factory interface for ClassHandler.
ClassInstrumentor
Instruments (i.e.
ClassInstrumentor.Decorator  
ClassNameResolver<T>  
ClassNodeProvider  
CleanerCompat
Wrapper for Cleaner, used by AndroidInterceptors.CleanerInterceptor when running on Java 9+.
CloseGuardRule
Rule for failing tests that leave any CloseGuards open.
ColorFilterNatives
Native methods for ColorFilter JNI registration.
ColorMatrixColorFilterNatives
Native methods for ColorMatrixColorFilter JNI registration.
ColorNatives
Native methods for Color JNI registration.
ColorSpaceRgbNatives
Native methods for BitmapFactory JNI registration.
ComponentController<C extends ComponentController<C,​T>,​T>  
ComposePathEffectNatives
Native methods for ComposePathEffect JNI registration.
ComposeShaderNatives
Native methods for ComposeShader JNI registration.
Config
Configuration settings that can be used on a per-class or per-test basis.
Config.Builder  
Config.Implementation  
ConfigConfigurer
Provides configuration to Robolectric for its @Config annotation.
ConfigDescription
transliterated from https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r12/tools/aapt2/ConfigDescription.cpp
ConfigDescription.LocaleValue  
ConfigMerger Deprecated.
Provide an implementation of Provider.
ConfigurationRegistry
Holds configuration objects for the current test, computed using Configurer.
ConfigurationStrategy
Strategy for configuring individual tests.
ConfigurationStrategy.Configuration
Heterogeneous typesafe collection of configuration objects managed by their Configurer.
ConfigurationV25  
Configurer<T>
Provides configuration data for tests.
ConfigUtils  
ConscryptMode
Annotation for Conscrypt modes in Robolectric.
ConscryptMode.Mode
Specifies the different supported Conscrypt modes.
ConscryptModeConfigurer
Provides configuration to Robolectric for its @ConscryptMode annotation.
Consumer<T>
Represents an operation that accepts a single input argument and returns no result.
ContentProviderController<T extends ContentProvider>  
ContentProviderData  
Converter<T>  
Converter.FromArray  
Converter.FromAttrData  
Converter.FromCharSequence  
Converter.FromColor  
Converter.FromFilePath  
Converter2<T>  
Converter2.FromCharSequence  
Converter2.FromColor  
CornerPathEffectNatives
Native methods for CornerPathEffect JNI registration.
CppApkAssets  
CppAssetManager  
CppAssetManager2  
CppAssetManager2.PackageFunc  
CppAssetManager2.ResolvedBag  
CppAssetManager2.ResolvedBag.Entry  
CppAssetManager2.ResourceName  
CppAssetManager2.Theme  
CursorWindowNatives
Native methods for CursorWindow JNI registration.
DashPathEffectNatives
Native methods for DashPathEffect JNI registration.
DataSource
Opaque class for uniquely identifying a media data source, as used by ShadowMediaPlayer, ShadowMediaMetadataRetriever, and ShadowMediaExtractor
DataSource.FileDescriptorTransform
Transform a FileDescriptor to a string.
DataType
Resource type codes.
DefaultManifestFactory  
DefaultNativeRuntimeLoader
Loads the Robolectric native runtime.
DefaultRequestDirector
Default implementation of RequestDirector.
DefaultSdkPicker
Robolectric's default SdkPicker.
DefaultSdkProvider
Robolectric's default SdkProvider.
DefaultTestLifecycle
The default TestLifecycle used by Robolectric.
DependencyJar  
DependencyResolver
Provides mapping between a Maven coordinate (e.g.
DeprecatedMethodMarkerException  
DeprecatedMethodsCheck
Checks for the deprecated methods.
DeviceConfig
Supports device configuration for Robolectric tests.
DeviceConfig.ScreenSize
Standard sizes for the screen size qualifier.
DeviceStateSensorOrientationBuilder
Builder for DeviceStateSensorOrientationMap which was introduced in Android T.
Direct
Indicates that the annotated method should use the original $$robo$$-prefixed implementation so that it can be invoked in the shadow for the method.
DirectObjectMarker  
DiscretePathEffectNatives
Native methods for DiscretePathEffect JNI registration.
DisplayConfig
Describes the characteristics of a particular logical display.
DocumentedElement  
DocumentedMethod  
DocumentedPackage  
DocumentedType  
DocumentLoader  
DoNotInstrument
Indicates that a class should not be stripped/instrumented under any circumstances.
DragEventBuilder
Builder for DragEvent.
DrawableResourceLoader
DrawableResourceLoader
DynamicRefTable
Holds the shared library ID table.
EmbossMaskFilterNatives
Native methods for EmbossMaskFilter JNI registration.
EmptyStyle  
EpsBearerQosSessionAttributesBuilder
Errors  
ExpectedLogMessagesRule
Allows tests to assert about the presence of log messages, and turns logged errors that are not explicitly expected into test failures.
ExtensionPoint
Marks a component of Robolectric that may be replaced with a custom implementation.
FakeHttp
Collection of static methods used interact with HTTP requests / responses.
FakeHttpLayer  
FakeHttpLayer.DefaultRequestMatcher  
FakeHttpLayer.RequestMatcherBuilder  
FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher  
FakeHttpLayer.RequestMatcherResponseRule  
FakeHttpLayer.UriRegexMatcher  
FakeHttpLayer.UriRequestMatcher  
FileMap  
FileTypedResource  
FileTypedResource.Image  
FontBuilderNatives
Native methods for android.graphics.fonts.Font$Builder JNI registration.
FontFamilyBuilderNatives
Native methods for android.graphics.fonts.FontFamily$Builder JNI registration.
FontFamilyNatives
Native methods for the deprecated android.graphics.FontFamily JNI registration.
FontFileUtilNatives
Native methods for android.graphics.fonts.FontFileUtil JNI registration.
FontNatives
Native methods for android.graphics.fonts.Font JNI registration.
FontsFontFamilyNatives
Native methods for android.graphics.fonts.FontFamily JNI registration.
Formatter  
ForType
Indicates that the annotated interface is an accessor object for use by Reflector.
FoundOnImplementsValidator
Validator that checks usages of Implements.
FragmentController<F extends Fragment> Deprecated.
Native Fragments have been deprecated in Android P.
FragmentTestUtil Deprecated.
FrameMetricsBuilder
Class to build FrameMetrics
Fs  
FsFile Deprecated.
Use Path instead.
Function<R,​T>
Interface defining a function object.
Generator
Base class for code generators.
GetInstallerPackageNameMode
A Configurer annotation for controlling how Robolectric executes PackageManager#getInstallerPackageName method.
GetInstallerPackageNameMode.Mode
Specifies the different ShadowApplicationPackageManager#getInstallerPackageName modes.
GetInstallerPackageNameModeConfigurer
Provides configuration to Robolectric for its @GetInstallerPackageNameMode annotation.
GlobalConfigProvider
Provides the default config for a test.
GnssStatusBuilder Deprecated.
Use GnssStatus.Builder instead where possible.
GnssStatusBuilder.GnssSatelliteInfo
Information about a single satellite in a GnssStatus.
GnssStatusBuilder.GnssSatelliteInfo.Builder
GraphicsMode
A Configurer annotation for controlling which graphics shadow implementation is used for the android.graphics package.
GraphicsMode.Mode
Specifies the different supported graphics modes.
GraphicsModeConfigurer
Provides configuration to Robolectric for its @GraphicsMode annotation.
GraphicsShadowPicker<T>
A ShadowPicker that selects between shadows given the Graphics mode.
HardwareRendererNatives
Native methods for HardwareRenderer JNI registration.
HardwareRendererObserverNatives
Native methods for ImageDecoder JNI registration.
Helpers  
Helpers
Matchers for ShadowUsageCheck.
Helpers.CastableTo
Matches implementations of the given interface.
HiddenApi
Indicates that the annotated method is hidden in the public Android API.
HierarchicalConfigurationStrategy
Robolectric's default ConfigurationStrategy.
HierarchicalConfigurationStrategy.ConfigurationImpl  
HttpEntityStub  
HttpEntityStub.ResponseRule  
HttpRequestInfo  
HttpResponseGenerator  
HttpResponseStub  
IdlingResourceTimeoutException
Timeout exception thrown when idling resources are not idle for longer than the configured timeout.
IdmapEntries  
ImageDecoderNatives
Native methods for ImageDecoder JNI registration.
ImageUtil  
Implementation
Indicates that a method declaration is intended to shadow a method with the same signature on the associated Android class.
ImplementationValidator
Validator that checks usages of Implementation.
Implements
Indicates that a class declaration is intended to shadow an Android class declaration.
Implements.DefaultShadowPicker
An interface used as the default for the picker param.
ImplementsValidator
Validator that checks usages of Implements.
ImplementsValidator.SdkCheckMode
Supported modes for validation of Implementation methods against SDKs.
InjectionException  
Injector
A tiny dependency injection and plugin helper for Robolectric.
Injector.Builder
Builder for Injector.
Injector.Key<T>
Identifies an injection point.
InlineExecutorService
Executor service that executes posted tasks as soon as they are posted.
Instrument
Indicates that a class should always be instrumented regardless of its package.
InstrumentationConfiguration
Configuration rules for SandboxClassLoader.
InstrumentationConfiguration.Builder  
InstrumentedInterface
Marker interface used by Robolectric to indicate that an interface has been instrumented
InstrumentingClassWriter
ClassWriter implementation that verifies classes by comparing type information obtained from loading the classes as resources.
IntentFilterData  
IntentFilterData.DataAuthority  
IntentServiceController<T extends IntentService>  
Interceptor  
Interceptors  
InterpolatorNatives
Native methods for Interpolator JNI registration.
InvocationProfile  
InvokeDynamicClassInstrumentor Deprecated.
The invoke-dynamic case has been moved to ClassInstrumentor.
InvokeDynamicSupport  
IShadow  
JaCoCoTester
A class that gets instrumented by both Robolectric (for shadowing) and Jacoco.
JarInstrumentor
Runs Robolectric invokedynamic instrumentation on an android-all jar.
JavadocJsonGenerator
Primarily used by the Robolectric Chrome extension for Robolectric docs alongside of Android SDK docs.
JavaVersion  
Join
Utility class used to join strings together with a delimiter.
LazyApplication
A Configurer annotation that dictates whether or not Robolectric should lazily instantiate the Application under test.
LazyApplication.LazyLoad
Whether or not the Application should be lazily loaded
LazyApplicationConfigurer
A Configurer that reads the LazyApplication to dictate whether Robolectric should lazily instantiate the Application under test (as well as the test Instrumentation).
LegacyDependencyResolver
Robolectric's historical dependency resolver (which is currently still the default), which is used by DefaultSdkProvider to locate SDK jars.
LegacyManifestParser
Creates a PackageInfo from a AndroidManifest
LightingColorFilterNatives
Native methods for LightingColorFilter JNI registration.
LinearGradientNatives
Native methods for LinearGradient JNI registration.
LineBreakerNatives
Native methods for LineBreaker JNI registration.
LoadedArsc  
LocalActivityInvoker
An ActivityInvoker that drives Activity lifecycles manually.
LocalControlledLooper
A Robolectric implementation for ControlledLooper.
LocalDependencyResolver  
LocaleData  
LocaleDataTables  
LocalPermissionGranter
A PermissionGranter that runs on a local JVM with Robolectric.
LocalUiController
A UiController that runs on a local JVM with Robolectric.
Logger
Logger for Robolectric.
LooperDelegatingScheduler
A foreground Scheduler implementation used for LooperMode.Mode.PAUSED.
LooperMode
A Configurer annotation for controlling Robolectric's Looper behavior.
LooperMode.Mode
Specifies the different supported Looper modes.
LooperModeConfigurer
Provides configuration to Robolectric for its @LooperMode annotation.
LooperShadowPicker<T>  
ManifestFactory
A factory that detects what build system is in use and provides a ManifestFactory that can create an AndroidManifest for that environment.
ManifestIdentifier  
MaskFilterNatives
Native methods for MaskFilter JNI registration.
MatrixNatives
Native methods for Matrix JNI registration.
MavenArtifactFetcher
Class responsible for fetching artifacts from Maven.
MavenDependencyResolver
This class is mainly responsible for fetching Android framework JAR dependencies from MavenCentral.
MavenJarArtifact
Encapsulates some parts of a Maven artifact.
MavenManifestFactory Deprecated.
This method of configuration will be removed in a forthcoming release.
MavenRoboSettings Deprecated.
Don't put more stuff here.
MeasuredTextBuilderNatives
Native methods for MeasuredText.Builder JNI registration.
MeasuredTextNatives
Native methods for MeasuredText JNI registration.
MediaCodecInfoBuilder
Builder for MediaCodecInfo.
MediaCodecInfoBuilder.CodecCapabilitiesBuilder
Metadata
Metadata for perf stats collection.
MetaData  
MethodCallSite  
MethodCallSite.Kind  
MethodRef
Reference to a specific method on a class.
MethodSignature  
Metric
Metric for perf stats collection.
ModuleInfoBuilder
Builder for ModuleInfo as ModuleInfo has hidden constructors, this builder class has been added as a way to make custom ModuleInfo objects when needed.
MutableClass  
NamedStream
Marker interface for InputStream that need special handling.
NativeAllocationRegistryNatives
Native methods for NativeAllocationRegistry JNI registration.
NativeAndroidInput
Java representation of framework native system headers Transliterated from oreo-mr1 (SDK 27) frameworks/native/include/android/Input.h
NativeBitSet64
Transliteration of native BitSet64.
NativeInput
Java representation of framework native input Transliterated from oreo-mr1 (SDK 27) frameworks/native/include/input/Input.h and libs/input/Input.cpp
NativeInterpolatorFactoryNatives
Native methods for NativeInterpolatorFactory JNI registration.
NativeObjRegistry<T>
A unique id per object registry.
NativeRuntimeLoader
Loads the Robolectric native runtime.
NinePatchNatives
Native methods for NinePatch JNI registration.
NIOAccess
Analogue to libcore's NIOAccess, which provides access to some internal methods and properties of Buffer.
NoOpThreadChecker
In Robolectric environment, everything is executed on the main thread except for when you manually create and run your code on worker thread.
NrQosSessionAttributesBuilder
Class to build NrQosSessionAttributes.
PackageItemData  
PackagePropertiesLoader
Provides cached access to robolectric-properties files, for all your configuration needs!
PackageResourceTable
A ResourceTable for a single package, e.g: "android" / ox01
PackageRollbackInfoBuilder
Builder for PackageRollbackInfo as PackageRollbackInfo has hidden constructors, this builder class has been added as a way to make custom PackageRollbackInfo objects when needed.
PaintNatives
Native methods for Paint JNI registration.
ParameterizedRobolectricTestRunner
A Parameterized test runner for Robolectric.
ParameterizedRobolectricTestRunner.Parameter
Annotation for fields of the test class which will be initialized by the method annotated by Parameters
By using directly this annotation, the test class constructor isn't needed.
Index range must start at 0.
ParameterizedRobolectricTestRunner.Parameters
Annotation for a method which provides parameters to be injected into the test class constructor by Parameterized
ParamsParser  
PathDashPathEffectNatives
Native methods for PathDashPathEffect JNI registration.
PathEffectNatives
Native methods for PathEffect JNI registration.
PathMeasureNatives
Native methods for PathMeasure JNI registration.
PathNatives
Native methods for Path JNI registration.
PathParserNatives
Native methods for PathParser JNI registration.
PathPermissionData  
PausedExecutorService
Executor service that queues any posted tasks.
PerfStatsCollector
Collects performance statistics for later reporting via PerfStatsReporter.
PerfStatsCollector.ThrowingRunnable<F extends Exception>
Runnable that throws an exception.
PerfStatsCollector.ThrowingSupplier<T,​F extends Exception>
Supplier that throws an exception.
PerfStatsReporter  
PermissionGroupItemData
Holds permission data from manifest.
PermissionItemData
Holds permission data from manifest.
PhoneAccountBuilder
A more advanced builder for PhoneAccount that gives access to some hidden methods on PhoneAccount.Builder.
PictureNatives
Native methods for Picture JNI registration.
PlaybackInfoBuilder
Plural  
PluralRules  
PorterDuffColorFilterNatives
Native methods for PorterDuffColorFilter JNI registration.
PreciseDataConnectionStateBuilder
PropertiesDependencyResolver  
PropertyValuesHolderNatives
Native methods for PropertyValuesHolder JNI registration.
Provider<T>  
ProxyMaker Deprecated.
This is incompatible with JDK17+.
Qualifiers
Android qualifers as defined by https://developer.android.com/guide/topics/resources/providing-resources.html
RadialGradientNatives
Native methods for RadialGradient JNI registration.
RangingSessionBuilder
Class to build RangingSession
RawResourceLoader  
RealObject
Shadow fields annotated @RealObject will have the real instance injected.
RealObjectValidator
Validator that checks usages of RealObject.
RecordingCanvasNatives
Native methods for RecordingCanvas JNI registration.
Ref<T>  
ReflectionHelpers
Collection of helper methods for calling methods and accessing fields reflectively.
ReflectionHelpers.ClassParameter<V>
Typed parameter used with reflective method calls.
ReflectionHelpers.StringParameter<V>
String parameter used with reflective method calls.
Reflector
Provides accessor objects for efficiently calling otherwise inaccessible (non-public) methods.
ReflectorObject
Serves to cache the reflector object instance and lower test runtime.
RegionIteratorNatives
Native methods for RegionIterator JNI registration.
RegionNatives
Native methods for Region JNI registration.
Registries  
RenderEffectNatives
Native methods for RenderEffect JNI registration.
RenderNodeAnimatorNatives
Native methods for RenderNodeAnimator JNI registration.
RenderNodeNatives
Native methods for RenderNode JNI registration.
RequestMatcher  
ResBunch  
ResBundle  
Resetter
Indicates that the annotated method is used to reset static state in a shadow.
ResetterValidator
Validator that checks usages of Resetter.
ResName  
ResourceHelper
Helper class to provide various conversion method used in handling android resources.
ResourceHelper2
Helper class to provide various conversion method used in handling android resources.
ResourceIdGenerator
Tracks resource ids and generates new unique values.
ResourceIds
Utility class to that checks if a resource ID is a framework resource or application resource.
ResourceMerger  
ResourceModeShadowPicker<T>  
ResourcePath  
ResourceProvider
A provider of resources (à la ClassLoader).
ResourcesMode  
ResourceString
Provides utilities to decode/encode a String packed in an arsc resource file.
ResourceString.Type
Type of ResourceString to encode / decode.
ResourceTable  
ResourceTable  
ResourceTable.flag_entry  
ResourceTable.Visitor  
ResourceTableFactory  
ResourceTypes  
ResourceTypes.Res_value
Representation of a value in a resource, supplying type information.
ResourceTypes.ResChunk_header
Header that appears at the front of every data chunk in a resource.
ResourceTypes.ResStringPool_header
Definition for a pool of strings.
ResourceTypes.ResStringPool_header.Writer  
ResourceTypes.ResStringPool_ref
Reference to a string in a string pool.
ResourceTypes.ResStringPool_span
This structure defines a span of style information associated with a string in the pool.
ResourceTypes.ResTable_map
A single name/value mapping that is part of a complex resource entry.
ResourceTypes.ResTable_ref
This is a reference to a unique entry (a ResTable_entry structure) in a resource table.
ResourceTypes.ResXMLTree_attrExt
Extended XML tree node for start tags -- includes attribute information.
ResourceTypes.ResXMLTree_attrExt.Writer  
ResourceTypes.ResXMLTree_endElementExt
Extended XML tree node for element start/end nodes.
ResourceTypes.ResXMLTree_endElementExt.Writer  
ResourceTypes.ResXMLTree_header
XML tree header.
ResourceTypes.ResXMLTree_node
Basic XML tree node.
ResourceValueConverter  
ResponderLocationBuilder
Builder for ResponderLocation
ResStringPool
Convenience class for accessing data in a ResStringPool resource.
ResStringPoolHeader
Definition for a pool of strings.
ResTable  
ResTable_config
Describes a particular resource configuration.
ResTable_config.Type
The different types of configs that can be present in a ResTable_config.
ResTable.bag_entry  
ResTable.Entry  
ResTable.Header  
ResTable.PackageGroup  
ResTable.ResourceName  
ResTable.ResTablePackage  
ResTable.Type  
ResTableTheme  
ResType  
ResXMLParser  
ResXMLParser.event_code_t  
ResXMLTree  
RoboCallSite  
RoboCookieManager
Robolectric implementation of CookieManager.
RoboCursor Deprecated.
Use MatrixCursor instead.
RoboExecutorService Deprecated.
only works when used in conjunction with the deprecated LooperMode.LEGACY mode.
RoboExtendedResponseCache
A response cache that supports statistics tracking and updating stored responses.
RoboIntentSender
Robolectric implementation of IntentSender.
Robolectric  
Robolectric.AttributeSetBuilder Deprecated.
Use AttributeSetBuilder instead.
RobolectricGeneratorAdapter
GeneratorAdapter implementation specific to generate code for Robolectric purposes
RobolectricInternals  
RobolectricModel
Model describing the Robolectric source file.
RobolectricModel.Builder  
RobolectricModel.ResetterInfo  
RobolectricModel.ShadowInfo  
RobolectricProcessor
Annotation processor entry point for Robolectric annotations.
RobolectricShadow
Ensure Robolectric shadow's method marked with @Implementation is protected
RobolectricTestRunner
Loads and runs a test in a SandboxClassLoader in order to provide a simulation of the Android runtime environment.
RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider Deprecated.
RobolectricTestRunner.HelperTestRunner  
RobolectricTestRunner.RobolectricFrameworkMethod
Fields in this class must be serializable using XStream.
RoboMenu
Robolectric implementation of Menu.
RoboMenuItem
Robolectric implementation of MenuItem.
RoboMonitoringInstrumentation
A Robolectric instrumentation that acts like a slimmed down MonitoringInstrumentation with only the parts needed for Robolectric.
RoboNotFoundException  
RoboResponseSource
Where the HTTP client should look for a response.
RoboSettings Deprecated.
Don't put more stuff here.
RoboSplashScreen
Robolectric implementation of SplashScreen.
RoboSubMenu
Robolectric implementation of SubMenu.
RoboWebMessagePort
Robolectric implementation of WebMessagePort.
RoboWebSettings
Robolectric implementation of WebSettings.
RollbackInfoBuilder
Builder for RollbackInfo as RollbackInfo has hidden constructors, this builder class has been added as a way to make custom RollbackInfo objects when needed.
RoundRectangle
Defines a rectangle with rounded corners, where the sizes of the corners are potentially different.
RoutingResourceTable  
RunningTaskInfoBuilder
RuntimeEnvironment  
RuntimeShaderNatives
Native methods for RuntimeShader JNI registration.
Sandbox  
SandboxClassLoader
Class loader that modifies the bytecode of Android classes to insert calls to Robolectric's shadow classes.
SandboxConfig
Configuration settings that can be used on a per-class or per-test basis.
SandboxManager
Manager of sandboxes.
SandboxManager.SandboxBuilder
Factory interface for AndroidSandbox.
SandboxTestRunner
Sandbox test runner that runs each test in a sandboxed class loader environment.
SandboxTestRunner.HelperTestRunner  
Scheduler
Class that manages a queue of Runnables that are scheduled to run now (or at some time in the future).
Scheduler.IdleState
Describes the current state of a Scheduler.
Sdk
Represents a unique build of the Android SDK.
SdkCollection
Holds and provides details on the list of known SDKs.
SdkPicker  
SdkPicker Deprecated.
use DefaultSdkPicker instead.
SdkProvider
A provider of known instances of Sdk.
SdkStore
Encapsulates a collection of Android framework jars.
ServiceController<T extends Service>  
ServiceData
Holds parsed service data from manifest.
ServiceLoaderGenerator
Generator that creates the service loader metadata for a shadow package.
ShaderNatives
Native methods for Shader JNI registration.
Shadow  
ShadowAbsListView  
ShadowAbsSpinner  
ShadowAccessibilityButtonController
ShadowAccessibilityManager  
ShadowAccessibilityNodeInfo
Properties of AccessibilityNodeInfo that are normally locked may be changed using test APIs.
ShadowAccessibilityNodeInfo.OnPerformActionListener  
ShadowAccessibilityRecord
ShadowAccessibilityService
Shadow of AccessibilityService that tracks global actions and provides a mechanism to simulate the window list.
ShadowAccessibilityService.GestureDispatch
Represents a gesture that has been dispatched through the accessibility service.
ShadowAccessibilityWindowInfo
Shadow of AccessibilityWindowInfo that allows a test to set properties that are locked in the original class.
ShadowAccountManager  
ShadowActivity  
ShadowActivity.IntentForResult
Container object to hold an Intent, together with the requestCode used in a call to Activity.startActivityForResult(Intent, int)
ShadowActivity.IntentSenderRequest
Class to holds details of a startIntentSenderForResult request.
ShadowActivity.PermissionsRequest
Class to hold a permissions request, including its request code.
ShadowActivityGroup  
ShadowActivityManager
Shadow for ActivityManager
ShadowActivityManager.ApplicationExitInfoBuilder
Builder class for ApplicationExitInfo
ShadowActivityManagerNative  
ShadowActivityTaskManager  
ShadowActivityThread  
ShadowActivityThread._ActivityThread_
Accessor interface for ActivityThread's internals.
ShadowActivityThread._AppBindData_
Accessor interface for ActivityThread.AppBindData's internals.
ShadowAdapterView<T extends Adapter>  
ShadowAlarmManager
Shadow for AlarmManager.
ShadowAlarmManager.ScheduledAlarm
Represents a set alarm.
ShadowAlertController  
ShadowAlertDialog  
ShadowAlertDialog.ShadowBuilder  
ShadowAmbientContextManager
Shadow of AmbientContextManager
ShadowAndroidBidi  
ShadowAndroidHttpClient  
ShadowAndroidXMultiDex  
ShadowAnimationBridge
Bridge between shadows and Animation.
ShadowAnimationUtils  
ShadowAnnotationValidations  
ShadowApkAssets  
ShadowApkAssets.Picker  
ShadowAppIntegrityManager
Shadow of AppIntegrityManager
ShadowApplication  
ShadowApplication.Wrapper  
ShadowApplicationPackageManager  
ShadowAppOpsManager
Shadow for AppOpsManager.
ShadowAppOpsManager.ModeAndException
Class holding usage mode and excpetion packages.
ShadowAppTask  
ShadowAppWidgetHost  
ShadowAppWidgetHostView  
ShadowAppWidgetManager  
ShadowArrayAdapter<T>  
ShadowArscApkAssets9
Shadow for ApkAssets for Android P+
ShadowArscApkAssets9.ApkAssetMaker  
ShadowArscApkAssets9.Key
Caching key for ApkAssets.
ShadowArscAssetInputStream  
ShadowArscAssetManager  
ShadowArscAssetManager10  
ShadowArscAssetManager14  
ShadowArscAssetManager9  
ShadowArscResourcesImpl  
ShadowAssetInputStream  
ShadowAssetInputStream.Picker  
ShadowAssetManager  
ShadowAssetManager.ArscBase  
ShadowAssetManager.Picker  
ShadowAsyncQueryHandler
Shadow of AsyncQueryHandler, which calls methods synchronously.
ShadowAsyncTask<Params,​Progress,​Result>
The shadow API for AsyncTask.
ShadowAsyncTask.Picker  
ShadowAsyncTaskLoader<D>
The shadow API for AsyncTaskLoader.
ShadowAsyncTaskLoader.Picker  
ShadowAudioEffect
Implements AudioEffect by shadowing its native methods.
ShadowAudioManager  
ShadowAudioManager.AudioFocusRequest  
ShadowAudioRecord
Shadow AudioRecord which by default will fulfil any requests for audio data by completely filling any requested buffers.
ShadowAudioRecord.AudioRecordSource
Provides underlying data for the ShadowAudioRecord.
ShadowAudioRecord.AudioRecordSourceProvider
ShadowAudioSystem
Shadow for AudioSystem.
ShadowAudioTrack
Implementation of a couple methods in AudioTrack.
ShadowAudioTrack.OnAudioDataWrittenListener
Listeners to be notified when data is written to an AudioTrack via AudioTrack.write(ByteBuffer, int, int)
ShadowAutofillManager
Robolectric implementation of android.os.AutofillManager.
ShadowBackdropFrameRenderer
Shadow for BackdropFrameRenderer
ShadowBackgroundThread  
ShadowBackupManager
A stub implementation of BackupManager that instead of connecting to a real backup transport and performing restores, stores which packages are restored from which backup set, and can be verified using methods on the shadow like ShadowBackupManager.getPackageRestoreToken(String).
ShadowBaseAdapter  
ShadowBasicTagTechnology
Extends BasicTagTechnology to allow for testing.
ShadowBatteryManager  
ShadowBinder  
ShadowBinderBridge
Bridge between shadow and Binder.
ShadowBiometricManager
Provides testing APIs for BiometricManager
ShadowBitmap
Base class for Bitmap shadows.
ShadowBitmap.Picker
Shadow picker for Bitmap.
ShadowBitmapDrawable  
ShadowBitmapFactory  
ShadowBitmapRegionDecoder  
ShadowBlockGuardOs  
ShadowBluetoothA2dp
Shadow of BluetoothA2dp.
ShadowBluetoothAdapter  
ShadowBluetoothDevice
Shadow for BluetoothDevice.
ShadowBluetoothGatt
Shadow implementation of BluetoothGatt.
ShadowBluetoothGattServer
ShadowBluetoothHeadset
Shadow for BluetoothHeadset
ShadowBluetoothLeAdvertiser
Shadow implementation of BluetoothLeAdvertiser.
ShadowBluetoothLeScanner
Adds Robolectric support for BLE scanning.
ShadowBluetoothLeScanner.ScanParams
Encapsulates scan params passed to BluetoothAdapter startScan methods.
ShadowBluetoothManager
Shadow of BluetoothManager that makes the testing possible.
ShadowBluetoothServerSocket  
ShadowBluetoothSocket  
ShadowBroadcastPendingResult  
ShadowBroadcastReceiver  
ShadowBroadcastResponseStats
Shadow of BroadcastResponseStats for accessing hidden APIs.
ShadowBugreportManager
Implementation of BugreportManager.
ShadowBuild  
ShadowCall
Robolectric test for Call.
ShadowCall.ShadowRttCall
Robolectric test for Call.RttCall.
ShadowCallLogCalls
Shadow for the system's CallLog.Call class that allows tests to configure the most recent call.
ShadowCallScreeningService
ShadowCallScreeningService.RespondToCallInput
ShadowCamcorderProfile
Shadow of the CamcorderProfile that allows the caller to add custom profile settings.
ShadowCamera  
ShadowCamera.ShadowParameters
Shadows the Android Camera.Parameters class.
ShadowCamera.ShadowSize  
ShadowCameraCaptureSessionImpl
Shadow class for CameraCaptureSessionImpl
ShadowCameraCharacteristics  
ShadowCameraDeviceImpl
Shadow class for CameraDeviceImpl
ShadowCameraManager
Shadow class for CameraManager
ShadowCameraManager.ShadowCameraManagerGlobal
Shadow class for internal class CameraManager$CameraManagerGlobal
ShadowCameraMetadataNative
Shadow class for CameraMetadataNative
ShadowCameraMetadataNativeR
Shadow class for CameraMetadataNative
ShadowCanvas
Base class for Canvas shadow classes.
ShadowCanvas.ArcPaintHistoryEvent  
ShadowCanvas.CirclePaintHistoryEvent  
ShadowCanvas.LinePaintHistoryEvent  
ShadowCanvas.OvalPaintHistoryEvent  
ShadowCanvas.Picker
Shadow picker for Canvas.
ShadowCanvas.RectPaintHistoryEvent  
ShadowCanvas.RoundRectPaintHistoryEvent
Captures round rectangle drawing events
ShadowCanvas.TextHistoryEvent  
ShadowCaptioningManager
ShadowCaptureRequestBuilder
Shadow class for CaptureRequest.Builder.
ShadowCaptureResult
Shadow of CaptureResult.
ShadowCardEmulation
Shadow implementation of CardEmulation.
ShadowCarrierConfigManager  
ShadowChoreographer
The shadow API for Choreographer.
ShadowChoreographer.ChoreographerReflector
Accessor interface for Choreographer's internals
ShadowChoreographer.Picker  
ShadowClipboardManager  
ShadowCloseGuard
Shadow for CloseGuard.
ShadowColor  
ShadowColorDisplayManager  
ShadowColorSpaceRgb
Shadow for ColorSpace.Rgb.
ShadowCompanionDeviceManager
Shadow for CompanionDeviceManager.
ShadowCompatibility
Robolectric shadow to disable CALL_ACTIVITY_RESULT_BEFORE_RESUME using Compatibility's isChangeEnabled.
ShadowCompoundButton  
ShadowConnection
Shadow for Connection that represents a phone call or connection to a remote endpoint that carries voice and/or video traffic.
ShadowConnectivityManager  
ShadowConstants  
ShadowContentCaptureManager
A Shadow for android.view.contentcapture.ContentCaptureManager added in Android R.
ShadowContentProvider
Shadow for ContentProvider.
ShadowContentProviderClient  
ShadowContentProviderOperation  
ShadowContentProviderResult  
ShadowContentResolver  
ShadowContentResolver.DeleteStatement
A statement used to delete content in a ContentProvider.
ShadowContentResolver.InsertStatement
A statement used to insert content into a ContentProvider.
ShadowContentResolver.NotifiedUri  
ShadowContentResolver.Statement
A statement used to modify content in a ContentProvider.
ShadowContentResolver.Status  
ShadowContentResolver.UpdateStatement
A statement used to update content in a ContentProvider.
ShadowContentUris  
ShadowContextHubClient
Shadow for ContextHubClient.
ShadowContextHubManager
Shadow for ContextHubManager.
ShadowContextImpl  
ShadowContextImpl._ContextImpl_
Reflector interface for ContextImpl's internals.
ShadowContextThemeWrapper  
ShadowContextWrapper  
ShadowCookieManager  
ShadowCookieSyncManager  
ShadowCountDownTimer  
ShadowCrossProfileApps
Robolectric implementation of CrossProfileApps.
ShadowCrossProfileApps.StartedActivity
ShadowCrossProfileApps.StartedMainActivity Deprecated.
ShadowCursorWindow
The base shadow class for CursorWindow.
ShadowCursorWindow.Picker
ShadowCursorWrapper  
ShadowDateIntervalFormat  
ShadowDatePickerDialog  
ShadowDateUtils
Shadow for DateUtils.
ShadowDebug  
ShadowDecorator
Decorator which adds Robolectric's shadowing behavior to a class.
ShadowDefaultRequestDirector  
ShadowDeviceConfig  
ShadowDevicePolicyManager  
ShadowDevicePolicyResourcesManager
ShadowDexFile
Shadow implementation of dalvik.system.Dexfile.
ShadowDialog  
ShadowDiscoverySession  
ShadowDisplay
It is possible to override some display properties using setters on ShadowDisplay.
ShadowDisplayEventReceiver
ShadowDisplayEventReceiver.DisplayEventReceiverReflector
Reflector interface for DisplayEventReceiver's internals.
ShadowDisplayHashManager
ShadowDisplayListCanvas
Shadow for android.view.DisplayListCanvas from API versions M to R
ShadowDisplayManager
For tests, display properties may be changed and devices may be added or removed programmatically.
ShadowDisplayManager.ModeBuilder
Builder class for Display.Mode
ShadowDisplayManagerGlobal
ShadowDownloadManager  
ShadowDownloadManager.CompletedDownload
Value class to represent a "completed download" sent to DownloadManager using the addCompletedDownload APIs.
ShadowDownloadManager.ShadowQuery  
ShadowDownloadManager.ShadowRequest  
ShadowDrawable  
ShadowDropBoxManager
Fake dropbox manager that starts with no entries.
ShadowDynamicsProcessing
Implements DynamicsProcessing by relying on ShadowAudioEffect.
ShadowEdgeEffect
Shadow for EdgeEffect
ShadowedObject  
ShadowEGL14
Shadow for EGL14.
ShadowEnvironment  
ShadowEnvironment.ShadowUserEnvironment  
ShadowEuiccManager  
ShadowEventLog  
ShadowEventLog.EventBuilder
Class to build EventLog.Event
ShadowEventLog.ShadowEvent  
ShadowFileObserver
A shadow implementation of FileObserver that uses java.nio.file.WatchService.
ShadowFileUtils  
ShadowFilter  
ShadowFingerprintManager
Provides testing APIs for FingerprintManager
ShadowFloatMath
Shadow for FloatMath.
ShadowFont
Shadow for Font for Android S
ShadowFontBuilder
Shadow for Font.Builder
ShadowFontFamily  
ShadowFontsContract  
ShadowFontsFontFamily
Shadow for FontFamily.
ShadowFontsFontFamily.ShadowFontsFontFamilyBuilder
Shadow for FontFamily.Builder.
ShadowGeocoder  
ShadowGestureDetector  
ShadowGLES20
Fake implementation of GLES20
ShadowGLSurfaceView
Fake implementation of GLSurfaceView
ShadowGoogleApiAvailability  
ShadowGoogleAuthUtil
Calls to static method of GoogleAuthUtil will be redirected to the provided ShadowGoogleAuthUtil.GoogleAuthUtilImpl implementation.
ShadowGoogleAuthUtil.GoogleAuthUtilImpl
Class containing methods with same signatures of the static methods of GoogleAuthUtil
ShadowGooglePlayServicesUtil
Calls to static method of GooglePlayServicesUtil will be redirected to the provided ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl implementation.
ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
Class containing methods with same signatures of the static methods of GooglePlayServicesUtil.
ShadowGradientDrawable  
ShadowHardwareBuffer
Shadow of android.hardware.HardwareBuffer.
ShadowHardwareRenderer  
ShadowHttpResponseCache  
ShadowIAppOpsService  
ShadowIAppOpsService.ShadowStub  
ShadowIcon  
ShadowICU  
ShadowImageDecoder  
ShadowImageReader
Shadow for ImageReader
ShadowImageReader.ShadowSurfaceImage
Shadow for Image
ShadowImeTracingClientImpl  
ShadowImpl  
ShadowImsMmTelManager
Supports IMS by default.
ShadowInCallAdapter
Shadow for InCallAdapter.
ShadowInCallService
Shadow for InCallService.
ShadowIncidentManager
Shadow class for IncidentManager.
ShadowInetAddressUtils
Shadow InetAddressUtils class that doesn't use native Libcore function.
ShadowInfo  
ShadowInputDevice  
ShadowInputEvent  
ShadowInputEventReceiver  
ShadowInputManager
Shadow for InputManager
ShadowInputMethodManager  
ShadowInputMethodManager.PrivateCommandListener
Handler for receiving PrivateCommands.
ShadowInputMethodManager.SoftInputVisibilityChangeHandler
Handler for receiving soft input visibility changed event.
ShadowInsetsController
Intercepts calls to [InsetsController] to monitor system bars functionality (hide/show).
ShadowInstrumentation  
ShadowInstrumentation._Instrumentation_
Reflector interface for Instrumentation's internals.
ShadowIntent  
ShadowIntentService  
ShadowInvalidator  
ShadowIoUtils  
ShadowIsoDep
Extends IsoDep to allow for testing.
ShadowJobScheduler  
ShadowJobScheduler.ShadowJobSchedulerImpl  
ShadowJobService  
ShadowJsPromptResult  
ShadowJsResult  
ShadowKeyCharacterMap  
ShadowKeyguardManager  
ShadowKeyguardManager.ShadowKeyguardLock
An implementation of KeyguardManager.KeyguardLock, for use in tests.
ShadowLauncherApps
Shadow of LauncherApps.
ShadowLegacyApkAssets
Shadow for ApkAssets that is used for legacy resources.
ShadowLegacyAssetInputStream  
ShadowLegacyAssetManager  
ShadowLegacyAsyncTask<Params,​Progress,​Result>
A AsyncTask shadow for LooperMode.Mode.LEGACY.
ShadowLegacyAsyncTaskLoader<D>
The shadow AsyncTaskLoader for LooperMode.Mode.LEGACY.
ShadowLegacyBitmap  
ShadowLegacyCanvas
Broken.
ShadowLegacyChoreographer
The Choreographer shadow for LooperMode.Mode.PAUSED.
ShadowLegacyCursorWindow
Legacy shadow for CursowWindow.
ShadowLegacyLooper
The shadow Looper implementation for LooperMode.Mode.LEGACY.
ShadowLegacyMatrix  
ShadowLegacyMessage
The shadow Message for LooperMode.Mode.LEGACY.
ShadowLegacyMessageQueue
The shadow MessageQueue for LooperMode.Mode.LEGACY.
ShadowLegacyPath
The shadow only supports straight-line paths.
ShadowLegacyResourcesImpl  
ShadowLegacyResourcesImpl.ShadowLegacyThemeImpl  
ShadowLegacySQLiteConnection
Shadow for SQLiteConnection that is backed by sqlite4java.
ShadowLegacySystemClock
A shadow SystemClock for LooperMode.Mode.LEGACY
ShadowLegacyTypeface
Shadow for Typeface.
ShadowLegacyTypeface.ShadowBuilder
Shadow for Typeface.Builder
ShadowLibcoreOsConstants
Implements OsConstants on APIs 20 and below.
ShadowLinearLayout  
ShadowLineBreaker
Shadow for android.graphics.text.LineBreaker
ShadowLinkMovementMethod  
ShadowLinux  
ShadowListPopupWindow  
ShadowListView  
ShadowLoadedApk  
ShadowLoadedApk._LoadedApk_
Accessor interface for LoadedApk's internals.
ShadowLocaleData
Robolectric only supports en_US regardless of the default locale set in the JVM.
ShadowLocaleList
Shadow for LocaleList
ShadowLocaleManager
Shadow of LocaleManager
ShadowLocationManager
Shadow for LocationManager.
ShadowLocationManager.ProviderProperties
ProviderProperties is not public prior to S, so a new class is required to represent it prior to that platform.
ShadowLocationManager.RoboLocationRequest
LocationRequest doesn't exist prior to Kitkat, and is not public prior to S, so a new class is required to represent it prior to those platforms.
ShadowLog
Controls the behavior of Log and provides access to log messages.
ShadowLog.LogItem
A single log item.
ShadowLog.TerribleFailure
Failure thrown when wtf_is_fatal is true and Log.wtf is called.
ShadowLooper
The base shadow API class for controlling Loopers.
ShadowLooper.Picker  
ShadowMagnificationController
Shadow of MagnificationController.
ShadowMap
Maps from instrumented class to shadow class.
ShadowMap.Builder  
ShadowMatcher
ShadowMatcher is used by ShadowWrangler to provide library-specific rules about whether shadow classes and methods should be considered matches.
ShadowMatrix  
ShadowMatrix.Picker
Shadow picker for Matrix.
ShadowMeasuredParagraph  
ShadowMeasuredTextBuilder  
ShadowMediaActionSound
A shadow implementation of MediaActionSound.
ShadowMediaCodec
Implementation of MediaCodec which supports both asynchronous and synchronous modes.
ShadowMediaCodec.CodecConfig
Configuration that can be supplied to ShadowMediaCodec to simulate actual encoding/decoding.
ShadowMediaCodec.CodecConfig.Codec
A codec is implemented as part of the configuration to allow the ShadowMediaCodec to simulate actual encoding/decoding.
ShadowMediaCodec.ShadowCodecBuffer
Shadows CodecBuffer to prevent attempting to free non-direct ByteBuffer objects.
ShadowMediaCodecList
Implementation of MediaCodecList.
ShadowMediaController
Implementation of MediaController.
ShadowMediaExtractor
A shadow for the MediaExtractor class.
ShadowMediaMetadataRetriever  
ShadowMediaMuxer
Implementation of MediaMuxer which directly passes input bytes to the specified file, with no modification.
ShadowMediaPlayer
Automated testing of media playback can be a difficult thing - especially testing that your code properly handles asynchronous errors and events.
ShadowMediaPlayer.CreateListener
Callback interface for clients that wish to be informed when a new MediaPlayer instance is constructed.
ShadowMediaPlayer.InvalidStateBehavior
Possible behavior modes for the media player when a method is invoked in an invalid state.
ShadowMediaPlayer.MediaEvent  
ShadowMediaPlayer.MediaInfo
Class specifying information for an emulated media object.
ShadowMediaPlayer.MediaInfoProvider
Provides a ShadowMediaPlayer.MediaInfo for a given DataSource.
ShadowMediaPlayer.State
Possible states for the media player to be in.
ShadowMediaRecorder  
ShadowMediaRouter
Shadow class for MediaRouter.
ShadowMediaScannerConnection
ShadowMediaSession  
ShadowMediaSessionManager
ShadowMediaStore
Shadow for MediaStore.
ShadowMediaStore.ShadowImages
Shadow for MediaStore.Images.
ShadowMediaStore.ShadowImages.ShadowMedia
ShadowMediaStore.ShadowImages.ShadowThumbnails
ShadowMediaStore.ShadowVideo
Shadow for MediaStore.Video.
ShadowMediaStore.ShadowVideo.ShadowThumbnails
ShadowMemoryMappedFile
This is used by Android to load and inferFromValue time zone information.
ShadowMemoryMappedFile.RoboBufferIterator  
ShadowMemoryMappedFileS
Fork of ShadowMemoryMappedFile to adjust to changed package names of MemoryMappedFile in S.
ShadowMemoryMappedFileS.RoboBufferIterator  
ShadowMessage
The shadow API for Message.
ShadowMessage.Picker
The shadow Picker for this class
ShadowMessageQueue
The shadow API for MessageQueue.
ShadowMessageQueue.Picker
The shadow Picker for this class.
ShadowMessenger  
ShadowMimeTypeMap  
ShadowMotionEvent
Shadow of MotionEvent.
ShadowMultiDex
No-op shadow for android.support.multidex.MultiDex.
ShadowNativeAllocationRegistry
Shadow for NativeAllocationRegistry that is backed by native code
ShadowNativeAllocationRegistry.Picker
Shadow picker for NativeAllocationRegistry.
ShadowNativeAnimatedImageDrawable
Shadow for AnimatedImageDrawable that is backed by native code
ShadowNativeAnimatedImageDrawable.Picker
Shadow picker for AnimatedImageDrawable.
ShadowNativeAnimatedVectorDrawable
Shadow for AnimatedVectorDrawable that is backed by native code
ShadowNativeAnimatedVectorDrawable.Picker
Shadow picker for AnimatedVectorDrawable.
ShadowNativeBaseCanvas
Shadow for BaseCanvas that is backed by native code
ShadowNativeBaseCanvas.Picker
Shadow picker for BaseCanvas.
ShadowNativeBaseRecordingCanvas
Shadow for BaseRecordingCanvas that is backed by native code
ShadowNativeBaseRecordingCanvas.Picker
Shadow picker for BaseRecordingCanvas.
ShadowNativeBitmap
Shadow for Bitmap that is backed by native code
ShadowNativeBitmapDrawable
Disable the legacy ShadowBitmapDrawable as it fakes the draw logic.
ShadowNativeBitmapDrawable.Picker
Shadow picker for BitmapDrawable.
ShadowNativeBitmapFactory
Shadow for BitmapFactory that is backed by native code
ShadowNativeBitmapFactory.Picker
Shadow picker for BitmapFactory.
ShadowNativeBitmapShader
Shadow for BitmapShader that is backed by native code
ShadowNativeBitmapShader.Picker
Shadow picker for BitmapShader.
ShadowNativeBlendModeColorFilter
Shadow for BlendModeColorFilter that is backed by native code
ShadowNativeBlendModeColorFilter.Picker
Shadow picker for BlendModeColorFilter.
ShadowNativeBlurMaskFilter
Shadow for BlurMaskFilter that is backed by native code
ShadowNativeBlurMaskFilter.Picker
Shadow picker for BlurMaskFilter.
ShadowNativeCanvas
Shadow for Canvas that is backed by native code
ShadowNativeCanvasProperty<T>
Shadow for CanvasProperty that is backed by native code
ShadowNativeCanvasProperty.Picker
Shadow picker for CanvasProperty.
ShadowNativeColor
Shadow for Color that is backed by native code
ShadowNativeColor.Picker
Shadow picker for Color.
ShadowNativeColorFilter
Shadow for ColorFilter that is backed by native code
ShadowNativeColorFilter.Picker
Shadow picker for ColorFilter.
ShadowNativeColorMatrixColorFilter
Shadow for ColorMatrixColorFilter that is backed by native code
ShadowNativeColorMatrixColorFilter.Picker
Shadow picker for ColorMatrixColorFilter.
ShadowNativeColorSpaceRgb
Shadow for ColorSpace.Rgb that is backed by native code
ShadowNativeColorSpaceRgb.Picker
Shadow picker for ColorSpace.Rgb.
ShadowNativeComposePathEffect
Shadow for ComposePathEffect that is backed by native code
ShadowNativeComposePathEffect.Picker
Shadow picker for ComposePathEffect.
ShadowNativeComposeShader
Shadow for ComposeShader that is backed by native code
ShadowNativeComposeShader.Picker
Shadow picker for ComposeShader.
ShadowNativeCornerPathEffect
Shadow for CornerPathEffect that is backed by native code
ShadowNativeCornerPathEffect.Picker
Shadow picker for CornerPathEffect.
ShadowNativeCursorWindow
Shadow for CursorWindow that is backed by native code
ShadowNativeDashPathEffect
Shadow for DashPathEffect that is backed by native code
ShadowNativeDashPathEffect.Picker
Shadow picker for DashPathEffect.
ShadowNativeDiscretePathEffect
Shadow for DiscretePathEffect that is backed by native code
ShadowNativeDiscretePathEffect.Picker
Shadow picker for DiscretePathEffect.
ShadowNativeDisplayListCanvas
Shadow for android.view.DisplayListCanvas that is backed by native code
ShadowNativeDisplayListCanvas.Picker
Shadow picker for android.view.DisplayListCanvas.
ShadowNativeEmbossMaskFilter
Shadow for EmbossMaskFilter that is backed by native code
ShadowNativeEmbossMaskFilter.Picker
Shadow picker for EmbossMaskFilter.
ShadowNativeFont
Shadow for Font that is backed by native code
ShadowNativeFont.Picker
Shadow picker for Font.
ShadowNativeFont.ShadowNativeFontBuilder
Shadow for Font.Builder that is backed by native code
ShadowNativeFont.ShadowNativeFontBuilder.Picker
Shadow picker for Font.Builder.
ShadowNativeFontFamily
Shadow for FontFamily that is backed by native code
ShadowNativeFontFamily.Picker
Shadow picker for FontFamily.
ShadowNativeFontFileUtil
Shadow for FontFileUtil that is backed by native code
ShadowNativeFontFileUtil.Picker
Shadow picker for FontFileUtil.
ShadowNativeFontsFontFamily
Shadow for FontFamily that is backed by native code
ShadowNativeFontsFontFamily.Picker
Shadow picker for FontFamily.
ShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilder
Shadow for FontFamily.Builder that is backed by native code
ShadowNativeFontsFontFamily.ShadowNativeFontFamilyBuilder.Picker
Shadow picker for FontFamily.Builder.
ShadowNativeHardwareRenderer
Shadow for HardwareRenderer that is backed by native code
ShadowNativeHardwareRenderer.Picker
Shadow picker for HardwareRenderer.
ShadowNativeHardwareRendererObserver
Shadow for HardwareRendererObserver that is backed by native code
ShadowNativeHardwareRendererObserver.Picker
Shadow picker for HardwareRendererObserver.
ShadowNativeImageDecoder
Shadow for ImageDecoder that is backed by native code
ShadowNativeImageDecoder.Picker
Shadow picker for ImageDecoder.
ShadowNativeInterpolator
Shadow for Interpolator that is backed by native code
ShadowNativeInterpolator.Picker
Shadow picker for Interpolator.
ShadowNativeLightingColorFilter
Shadow for LightingColorFilter that is backed by native code
ShadowNativeLightingColorFilter.Picker
Shadow picker for LightingColorFilter.
ShadowNativeLinearGradient
Shadow for LinearGradient that is backed by native code
ShadowNativeLinearGradient.Picker
Shadow picker for LinearGradient.
ShadowNativeLineBreaker
Shadow for LineBreaker that is backed by native code
ShadowNativeLineBreaker.Picker
Shadow picker for LineBreaker.
ShadowNativeMaskFilter
Shadow for MaskFilter that is backed by native code
ShadowNativeMaskFilter.Picker
Shadow picker for MaskFilter.
ShadowNativeMatrix
Shadow for Matrix that is backed by native code
ShadowNativeMeasuredParagraph
Shadow for MeasuredParagraph that is backed by native code
ShadowNativeMeasuredParagraph.Picker
Shadow picker for MeasuredParagraph.
ShadowNativeMeasuredText
Shadow for MeasuredText that is backed by native code
ShadowNativeMeasuredText.Picker
Shadow picker for MeasuredText.
ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder
Shadow for MeasuredText.Builder that is backed by native code
ShadowNativeMeasuredText.ShadowNativeMeasuredTextBuilder.Picker
Shadow picker for MeasuredText.Builder.
ShadowNativeNativeInterpolatorFactory
Shadow for NativeInterpolatorFactory that is backed by native code
ShadowNativeNativeInterpolatorFactory.Picker
Shadow picker for NativeInterpolatorFactory.
ShadowNativeNinePatch
Shadow for NinePatch that is backed by native code
ShadowNativeNinePatch.Picker
Shadow picker for NinePatch.
ShadowNativePaint
Shadow for Paint that is backed by native code
ShadowNativePaint.Picker
Shadow picker for Paint.
ShadowNativePath
Shadow for Path that is backed by native code
ShadowNativePathDashPathEffect
Shadow for PathDashPathEffect that is backed by native code
ShadowNativePathDashPathEffect.Picker
Shadow picker for PathDashPathEffect.
ShadowNativePathEffect
Shadow for PathEffect that is backed by native code
ShadowNativePathEffect.Picker
Shadow picker for PathEffect.
ShadowNativePathMeasure
Shadow for PathMeasure that is backed by native code
ShadowNativePathMeasure.Picker
Shadow picker for PathMeasure.
ShadowNativePathParser
Shadow for PathParser that is backed by native code
ShadowNativePathParser.Picker
Shadow picker for PathParser.
ShadowNativePicture
Shadow for Picture that is backed by native code
ShadowNativePicture.Picker
Shadow picker for Picture.
ShadowNativePluralRules  
ShadowNativePorterDuffColorFilter
Shadow for PorterDuffColorFilter that is backed by native code
ShadowNativePorterDuffColorFilter.Picker
Shadow picker for PorterDuffColorFilter.
ShadowNativePropertyValuesHolder
Shadow for PropertyValuesHolder that is backed by native code
ShadowNativePropertyValuesHolder.Picker
Shadow picker for PropertyValuesHolder.
ShadowNativeRadialGradient
Shadow for RadialGradient that is backed by native code
ShadowNativeRadialGradient.Picker
Shadow picker for RadialGradient.
ShadowNativeRecordingCanvas
Shadow for RecordingCanvas that is backed by native code
ShadowNativeRecordingCanvas.Picker
Shadow picker for RecordingCanvas.
ShadowNativeRegion
Shadow for Region that is backed by native code
ShadowNativeRegion.Picker
Shadow picker for Region.
ShadowNativeRegionIterator
Shadow for RegionIterator that is backed by native code
ShadowNativeRegionIterator.Picker
Shadow picker for RegionIterator.
ShadowNativeRenderEffect
Shadow for RenderEffect that is backed by native code
ShadowNativeRenderEffect.Picker
Shadow picker for RenderEffect.
ShadowNativeRenderNode
Shadow for RenderNode that is backed by native code
ShadowNativeRenderNode.Picker
Shadow picker for RenderNode.
ShadowNativeRenderNodeAnimator
Shadow for RenderNodeAnimator that is backed by native code
ShadowNativeRenderNodeAnimator.Picker
Shadow picker for RenderNodeAnimator.
ShadowNativeRenderNodeAnimatorQ
Shadow for RenderNodeAnimator for Android Q and below that is backed by native code
ShadowNativeRenderNodeAnimatorQ.Picker
Shadow picker for RenderNodeAnimator.
ShadowNativeRenderNodeOP
Shadow for RenderNode that is backed by native code
ShadowNativeRenderNodeOP.Picker
Shadow picker for RenderNode.
ShadowNativeRuntimeShader
Shadow for RuntimeShader that is backed by native code
ShadowNativeRuntimeShader.Picker
Shadow picker for RuntimeShader.
ShadowNativeShader
Shadow for Shader that is backed by native code
ShadowNativeShader.Picker
Shadow picker for Shader.
ShadowNativeSQLiteConnection
Shadow for SQLiteConnection that is backed by native code
ShadowNativeStaticLayout
Shadow for StaticLayout that is backed by native code for Android O-P.
ShadowNativeStaticLayout.Picker
Shadow picker for StaticLayout.
ShadowNativeSumPathEffect
Shadow for SumPathEffect that is backed by native code
ShadowNativeSumPathEffect.Picker
Shadow picker for SumPathEffect.
ShadowNativeSurface
Shadow for Surface that is backed by native code
ShadowNativeSurface.Picker
Shadow picker for Surface.
ShadowNativeSweepGradient
Shadow for SweepGradient that is backed by native code
ShadowNativeSweepGradient.Picker
Shadow picker for SweepGradient.
ShadowNativeSystemFonts
Shadow for SystemFonts for the Robolectric native runtime.
ShadowNativeSystemFonts.Picker
Shadow picker for SystemFonts.
ShadowNativeTableMaskFilter
Shadow for TableMaskFilter that is backed by native code
ShadowNativeTableMaskFilter.Picker
Shadow picker for TableMaskFilter.
ShadowNativeThreadedRenderer
Shadow for ThreadedRenderer that is backed by native code
ShadowNativeThreadedRenderer.Picker
Shadow picker for ThreadedRenderer.
ShadowNativeTypeface
Shadow for Typeface that is backed by native code
ShadowNativeTypeface.ShadowNativeTypefaceBuilder
Shadow for Typeface.Builder.
ShadowNativeTypeface.ShadowNativeTypefaceBuilder.Picker
Shadow picker for Typeface.Builder.
ShadowNativeVectorDrawable
Shadow for VectorDrawable that is backed by native code
ShadowNativeVectorDrawable.Picker
Shadow picker for VectorDrawable.
ShadowNativeVirtualRefBasePtr
Shadow for VirtualRefBasePtr that is backed by native code
ShadowNativeVirtualRefBasePtr.Picker
Shadow picker for VirtualRefBasePtr.
ShadowNetwork  
ShadowNetworkCapabilities
Robolectic provides overrides for fetching and updating transport.
ShadowNetworkInfo  
ShadowNetworkScoreManager
Provides testing APIs for NetworkScoreManager.
ShadowNfcAdapter
Shadow implementation of NfcAdapter.
ShadowNinePatch  
ShadowNoopNativeAllocationRegistry
Shadow for NativeAllocationRegistry that is a no-op.
ShadowNotification  
ShadowNotificationListenerService
Shadow implementation of NotificationListenerService.
ShadowNotificationManager
Shadows for NotificationManager.
ShadowNsdManager  
ShadowNumberPicker  
ShadowOpenGLMatrix  
ShadowOs
A Shadow for android.system.Os
ShadowOsConstants  
ShadowOverlayConfig
Shadow for OverlayConfig.
ShadowPackageBackwardCompatibility
Shadow of PackageBackwardCompatibility to handle a scenario that can come up when multiple Android versions end up on the classpath
ShadowPackageInstaller
Shadow for PackageInstaller.
ShadowPackageInstaller.ShadowSession  
ShadowPackageInstaller.ShadowSessionInfo
Shadow for PackageInstaller.SessionInfo.
ShadowPackageManager  
ShadowPackageManager.ComponentState  
ShadowPackageManager.IntentComparator  
ShadowPackageManager.PackageSetting
Settings for a particular package.
ShadowPackageParser  
ShadowPackageParser._Package_
Accessor interface for PackageParser.Package's internals.
ShadowPaint  
ShadowParcel
Robolectric's Parcel pretends to be backed by a byte buffer, closely matching Parcel's position, size, and capacity behavior.
ShadowParcelFileDescriptor  
ShadowPath
Base class for ShadowPath classes.
ShadowPath.Picker
Shadow picker for Path.
ShadowPath.Point  
ShadowPath.Point.Type  
ShadowPathMeasure  
ShadowPathParser  
ShadowPathParser.PathDataNode  
ShadowPausedAsyncTask<Params,​Progress,​Result>
A AsyncTask shadow for LooperMode.Mode.PAUSED
ShadowPausedAsyncTaskLoader<D>
The shadow AsyncTaskLoader for LooperMode.Mode.PAUSED.
ShadowPausedChoreographer
A Choreographer shadow for LooperMode.Mode.PAUSED.
ShadowPausedLooper
The shadow Looper for LooperMode.Mode.PAUSED.
ShadowPausedMessage
The shadow Message for LooperMode.Mode.PAUSED.
ShadowPausedMessageQueue
The shadow MessageQueue} for LooperMode.Mode.PAUSED
ShadowPausedSystemClock
A shadow SystemClock used when LooperMode.Mode.PAUSED is active.
ShadowPeerHandle  
ShadowPendingIntent  
ShadowPhone
Shadow for Phone.
ShadowPhoneWindow
Shadow for PhoneWindow for APIs 23+
ShadowPhoneWindowFor22
Shadow for the API 16-22 PhoneWindow.li
ShadowPicker<T>  
ShadowPicture  
ShadowPixelCopy
Shadow for PixelCopy that uses View.draw to create screenshots.
ShadowPlayerBase  
ShadowPolicyManager  
ShadowPopupMenu  
ShadowPopupWindow  
ShadowPorterDuffColorFilter  
ShadowPosix
Shadow for Posix
ShadowPowerManager
Shadow of PowerManager
ShadowPowerManager.ShadowWakeLock  
ShadowPrecomputedText  
ShadowPreference  
ShadowProcess  
ShadowProgressDialog  
ShadowPropertyValuesHolder
Shadow for PropertyValuesHolder that works around the ART/JVM differences of accessing methods.
ShadowProvider
Interface implemented by packages that provide shadows to Robolectric.
ShadowProviderGenerator
Generator that creates the "ShadowProvider" implementation for a shadow package.
ShadowProviders
The set of ShadowProvider implementations found on the classpath.
ShadowQueuedWork  
ShadowQuickAccessWalletService
ShadowRangingResult
Shadow for RangingResult.
ShadowRangingResult.Builder
A builder for creating ShadowRangingResults.
ShadowRangingSession
Adds Robolectric support for UWB ranging.
ShadowRangingSession.Adapter
Adapter interface for state change events, provided by the tester to dictate ranging results.
ShadowRanking
ShadowRcsUceAdapter
A shadow for RcsUceAdapter.
ShadowRcsUceAdapter.CapabilityFailureInfo
A data class holding the info for a failed capabilities exchange
ShadowRecordingCanvas  
ShadowRegion  
ShadowRemoteCallbackList<E extends IInterface>  
ShadowRenderNode  
ShadowRenderNodeAnimator  
ShadowRenderNodeAnimatorR
Copy of ShadowRenderNodeAnimator that reflects move of RenderNodeAnimator to android.graphics in R
ShadowRenderNodeQ  
ShadowResolveInfo
Utilities for ResolveInfo.
ShadowResources
Shadow of Resources.
ShadowResources.OnConfigurationChangeListener
Listener callback that's called when the configuration is updated for a resources.
ShadowResources.ShadowLegacyTheme
Shadow for Resources.Theme.
ShadowResources.ShadowNotFoundException
ShadowResources.ShadowTheme
Base class for shadows of Resources.Theme.
ShadowResources.ShadowTheme.Picker
Shadow picker for ShadowResources.ShadowTheme.
ShadowResourcesImpl  
ShadowResourcesImpl.Picker  
ShadowResourcesImpl.ShadowThemeImpl  
ShadowResourcesImpl.ShadowThemeImpl.Picker  
ShadowResourcesManager  
ShadowRestrictionsManager
ShadowResultReceiver  
ShadowRingtoneManager
A shadow implementation of RingtoneManager.
ShadowRoleControllerManager
ShadowRoleManager
A shadow implementation of RoleManager.
ShadowRollbackManager
A Shadow for android.content.rollback.RollbackManager added in Android Q.
ShadowRotationWatcher
Shadow for RotationWatcher for API 23+
ShadowRotationWatcherFor22
Shadow for RotationWatcher for API 16-22
Shadows
Shadow mapper.
Shadows
Shadow mapper.
Shadows
Shadow mapper.
Shadows
Shadow mapper.
ShadowSafetyCenterManager
Shadow for SafetyCenterManager.
ShadowScaleGestureDetector  
ShadowScanResult  
ShadowScrollView  
ShadowSearchManager  
ShadowSeekBar  
ShadowSensor  
ShadowSensorManager  
ShadowService  
ShadowServiceManager
Shadow for ServiceManager.
ShadowSettings  
ShadowSettings.ShadowGlobal  
ShadowSettings.ShadowSecure  
ShadowSettings.ShadowSystem  
ShadowSharedMemory
A SharedMemory fake that uses a private temporary disk file for storage and Java's MappedByteBuffer for the memory mappings.
ShadowSharedPreferences
Placeholder container class for nested shadow class
ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl  
ShadowShortcutManager  
ShadowSigningInfo  
ShadowSliceManager
Shadow of SliceManager.
ShadowSmsManager  
ShadowSmsManager.DataMessageParams  
ShadowSmsManager.DownloadMultimediaMessageParams
ShadowSmsManager.MultimediaMessageParams
ShadowSmsManager.SendMultimediaMessageParams
ShadowSmsManager.TextMultipartParams  
ShadowSmsManager.TextSmsParams  
ShadowSocketTagger  
ShadowSoftKeyboardController
Shadow of SoftKeyboardController.
ShadowSoundPool  
ShadowSoundPool.Playback
ShadowSoundTriggerManager
A Shadow SoundTriggerManager in Android O+.
ShadowSpeechRecognizer
Robolectric shadow for SpeechRecognizer.
ShadowSpellChecker  
ShadowSQLiteConnection
The base shadow class for SQLiteConnection shadow APIs.
ShadowSQLiteConnection.Picker
ShadowSQLiteOpenHelper
Avoid calls to setIdleConnectionTimeout.
ShadowSslErrorHandler  
ShadowStateListDrawable  
ShadowStatFs
Robolectic doesn't provide actual filesystem stats; rather, it provides the ability to specify stats values in advance.
ShadowStaticLayout
Shadow for android.text.StaticLayout
ShadowStatsLog
Shadow for StatsLog
ShadowStatsLog.StatsLogItem
Single atom log item for write api.
ShadowStatusBarManager
Robolectric implementation of StatusBarManager.
ShadowStorageManager
Fake implementation of StorageManager
ShadowStorageStatsManager
Fake implementation of StorageStatsManager that provides a fake implementation of query for StorageStats of a package.
ShadowStrictModeVmPolicy  
ShadowStringBlock  
ShadowSubscriptionManager  
ShadowSubscriptionManager.SubscriptionInfoBuilder
Builder class to create instance of SubscriptionInfo.
ShadowSurface
Shadow for Surface
ShadowSurfaceControl
Shadow for SurfaceControl
ShadowSurfaceTexture
Shadow for SurfaceTexture
ShadowSurfaceView  
ShadowSurfaceView.FakeSurfaceHolder
Robolectric implementation of SurfaceHolder.
ShadowSuspendDialogInfo
Shadow of SuspendDialogInfo to expose hidden methods.
ShadowSystem  
ShadowSystemClock
The shadow API for SystemClock.
ShadowSystemClock.Picker  
ShadowSystemFonts  
ShadowSystemProperties  
ShadowSystemServiceRegistry  
ShadowSystemServiceRegistry._ServiceFetcherM_
Accessor interface for android.app.SystemServiceRegistry.StaticOuterContextServiceFetcher's internals (for M).
ShadowSystemServiceRegistry._ServiceFetcherN_
Accessor interface for android.app.SystemServiceRegistry.StaticApplicationContextServiceFetcher's internals (for N+).
ShadowSystemServiceRegistry._StaticServiceFetcher_
Accessor interface for SystemServiceRegistry.StaticServiceFetcher's internals.
ShadowSystemVibrator  
ShadowTabActivity  
ShadowTabHost  
ShadowTabHost.ShadowTabSpec  
ShadowTabWidget  
ShadowTelecomManager  
ShadowTelecomManager.CallRecord Deprecated.
ShadowTelecomManager.CallRequestMode
ShadowTelecomManager.IncomingCallRecord
ShadowTelecomManager.OutgoingCallRecord
Details about an outgoing call request made via TelecomManager.placeCall(android.net.Uri, android.os.Bundle).
ShadowTelecomManager.UnknownCallRecord
ShadowTelephony  
ShadowTelephony.ShadowSms  
ShadowTelephonyFrameworkInitializer
ShadowTelephonyManager  
ShadowTelephonyManager.VisualVoicemailSmsParams
ShadowTextToSpeech  
ShadowTextUtils
Implement by truncating the text.
ShadowTextView  
ShadowThreadedRenderer  
ShadowTile  
ShadowTileService  
ShadowTime  
ShadowTimeManager
Shadow for internal Android TimeManager class introduced in S.
ShadowTimePickerDialog  
ShadowTimeZoneFinder
Shadow of TimeZoneFinder for Android O and P.
ShadowTimeZoneFinderQ
Shadow for TimeZoneFinder on Q after Developer Preview 1.
ShadowTimeZoneFinderS
Shadow for TimeZoneFinder on S or above.
ShadowToast  
ShadowToneGenerator
Shadow of ToneGenerator.
ShadowToneGenerator.Tone
Stores data about a tone played by the ToneGenerator
ShadowTotalCaptureResult
ShadowTouchDelegate  
ShadowTrace
Shadow implementation for Trace, which stores the traces locally in arrays (unlike the real implementation) and allows reading them.
ShadowTrace.AsyncTraceSection
AutoValue representation of a trace triggered by one of the async apis
ShadowTrace.AsyncTraceSection.Builder
Builder for traces triggered by one of the async apis
ShadowTrace.Counter
Counters emitted with the setCounter API
ShadowTrace.Counter.Builder
Builder for counters emitted with the setCounter API
ShadowTrafficStats  
ShadowTranslationManager
Shadow for TranslationManager.
ShadowTypedArray  
ShadowTypedArray.Picker  
ShadowTypeface
Base class for ShadowTypeface classes.
ShadowTypeface.FontDesc
Contains data about a font.
ShadowTypeface.Picker
Shadow picker for Typeface.
ShadowUiAutomation
Shadow for UiAutomation.
ShadowUIModeManager
Shadow for UiModeManager.
ShadowUsageStatsManager
ShadowUsageStatsManager.AppUsageLimitObserver
ShadowUsageStatsManager.AppUsageObserver
ShadowUsageStatsManager.EventBuilder
Builder for constructing UsageEvents.Event objects.
ShadowUsageStatsManager.UsageSessionObserver
Usage session observer registered via UsageStatsManager#registerUsageSessionObserver(int, String[], long, TimeUnit, long, TimeUnit, PendingIntent, PendingIntent).
ShadowUsageStatsManager.UsageStatsBuilder
Builder for constructing UsageStats objects.
ShadowUsbDeviceConnection
Robolectric implementation of UsbDeviceConnection.
ShadowUsbManager
Robolectric implementation of UsbManager.
ShadowUsbManager._UsbManager_
Accessor interface for UsbManager's internals.
ShadowUsbManager._UsbManagerQ_
Accessor interface for UsbManager's internals (Q+).
ShadowUsbRequest
Robolectric implementation of UsbRequest.
ShadowUserManager
Robolectric implementation of UserManager.
ShadowUserManager.UserState
Describes the current state of the user.
ShadowUwbAdapterStateListener
Adds Robolectric support for UWB adapter state listener methods.
ShadowUwbManager
Adds Robolectric support for UWB ranging.
ShadowValueAnimator  
ShadowVcnManager
A Shadow for android.net.vcn.VcnManager added in Android S.
ShadowVectorDrawable  
ShadowVelocityTracker  
ShadowVibrator  
ShadowVibrator.PrimitiveEffect
A data class for exposing VibrationEffect.Composition$PrimitiveEffect, which is a hidden non TestApi class introduced in Android R.
ShadowVideoView  
ShadowView  
ShadowView.WindowIdHelper  
ShadowViewAnimator  
ShadowViewConfiguration  
ShadowViewGroup  
ShadowViewRootImpl  
ShadowViewRootImpl.ViewRootImplReflector
Reflector interface for ViewRootImpl's internals.
ShadowVirtualRefBasePtr  
ShadowVisualizer
Shadow for the Visualizer class.
ShadowVisualizer.VisualizerSource
Provides underlying data for the ShadowVisualizer.
ShadowVisualVoicemailSms  
ShadowVisualVoicemailTask
ShadowVMRuntime  
ShadowVoiceInteractionService
Shadow implementation of VoiceInteractionService.
ShadowVoiceInteractionSession
Shadow implementation of VoiceInteractionSession.
ShadowVoiceInteractor
Shadow implementation of VoiceInteractor.
ShadowVpnService  
ShadowWallpaperManager  
ShadowWallpaperManager.WallpaperCommandRecord
ShadowWebSettings
Shadow of WebSettings which returns a dummy user a stub instance rather than the User-Agent used by a WebView.
ShadowWebStorage
Shadow of WebStorage which constructs a stub instance rather than attempting to create a full Chromium-backed instance.
ShadowWebSyncManager  
ShadowWebView  
ShadowWebView.LoadData  
ShadowWebView.LoadDataWithBaseURL  
ShadowWebViewDatabase  
ShadowWifiAwareManager
Shadow Implementation of WifiAwareManager
ShadowWifiConfiguration
Shadow Implementation of WifiConfiguration
ShadowWifiInfo  
ShadowWifiManager
Shadow for WifiManager.
ShadowWifiManager.ShadowMulticastLock  
ShadowWifiManager.ShadowWifiLock  
ShadowWifiManager.WifiUsabilityScore
Class to record scores passed to WifiManager#updateWifiUsabilityScore
ShadowWifiP2pGroup  
ShadowWifiP2pManager  
ShadowWifiRttManager
Shadow for WifiRttManager.
ShadowWindow  
ShadowWindowManager  
ShadowWindowManagerGlobal
ShadowWindowManagerImpl  
ShadowWindowManagerImpl.ShadowCompatModeWrapper  
ShadowWrangler
ShadowWrangler matches shadowed classes up with corresponding shadows based on a ShadowMap.
ShadowXmlBlock  
ShadowXmlBlock.ShadowParser
Shadow of XmlBlock.Parser.
ShadowZoomButtonsController  
SharedLibraryInfoBuilder
Builder for SharedLibraryInfo.
SimpleFuture<T> Deprecated.
This class can introduce deadlocks, since its lock is held while invoking run().
SimplePerfStatsReporter
Simple implementation of PerfStatsReporter that writes stats to stdout.
SoftThreadLocal<T>
Soft reference to a java.lang.ThreadLocal.
SortedVector<T extends Comparable<T>>  
SQLiteConnectionNatives
Native methods for SQLiteConnection JNI registration.
SQLiteLibraryLoader
Initializes sqlite native libraries.
SQLiteLibraryLoader.LibraryNameMapper  
SQLiteMode
A Configurer annotation for controlling which SQLite shadow implementation is used for the android.database package.
SQLiteMode.Mode
Specifies the different supported SQLite modes.
SQLiteModeConfigurer
Provides configuration to Robolectric for its @SQLiteMode annotation.
SQLiteShadowPicker<T>
A ShadowPicker that selects between shadows given the SQLite mode
Static
Marks Reflector methods which serve as accessors for static members.
StatusLineStub  
StaxArrayLoader  
StaxAttrLoader  
StaxDocumentLoader  
StaxLoader  
StaxPluralsLoader  
StaxStyleLoader  
StaxValueLoader  
StorageVolumeBuilder
Class to build StorageVolume
StreamConfigurationMapBuilder
Builder for StreamConfigurationMap
Strftime
An implementation of the Unix strftime with some glibc extensions.
String8  
StringPiece  
StringResources  
Style  
StyleData  
StyleData.Visitor  
StyleResolver  
SumPathEffectNatives
Native methods for SumPathEffect JNI registration.
Supercedes
Indicates that the annotated type is intended as a replacement for another type.
SurfaceNatives
Native methods for Surface JNI registration.
SweepGradientNatives
Native methods for SweepGradient JNI registration.
TableMaskFilterNatives
Native methods for TableMaskFilter JNI registration.
TempDirectory  
TestEnvironment
An environment for running tests.
TestEnvironmentLifecyclePlugin
Plugin which allows behaviour extension in TestEnvironment.
TestHttpResponse  
TestLifecycle<T>  
TestLifecycleApplication  
TestRunnable  
TextCollectingNodeHandler  
TextLayoutMode
A Configurer annotation for controlling how Robolectric performs UI layout.
TextLayoutMode.Mode
Specifies the different supported Text layout modes.
TextLayoutModeConfigurer
Provides configuration to Robolectric for its @TextLayoutMode annotation.
ThemeStyleSet
Represents the list of styles applied to a Theme.
TimeUtils
Utility methods for dealing with time.
TypedResource<T>  
TypefaceNatives
Native methods for Typeface JNI registration.
UiccCardInfoBuilder
Builder for UiccCardInfo which includes modifications made in Android T to support MEP.
UiccPortInfoBuilder
Builder for UiccPortInfo which was introduced in Android T.
UiccSlotInfoBuilder
Builder for UiccSlotInfo which was introduced in Android P.
UnsafeAccess
Access to sun.misc.Unsafe and the various scary things within.
UrlResourceProvider
ResourceProvider using URLs.
UsesSdk
Represents the contents of a uses-sdk element in an Android manifest file.
Util  
Util
Generic collection of utility methods.
Validator
Base class for validators.
VectorDrawableNatives
Native methods for VectorDrawable JNI registration.
VibrationAttributesBuilder
Class to build VibrationAttributes
VirtualRefBasePtrNatives
Native methods for VirtualRefBasePtr JNI registration.
WifiUsabilityStatsEntryBuilder
WithType
Parameters with types that can't be resolved at compile time may be annotated @WithType.
XmlBlock
An XML block is a parsed representation of a resource XML file.
XmlContext  
XmlResourceParserImpl
Concrete implementation of the XmlResourceParser.
ZipArchiveHandle  
ZipFileRO  
_Activity_
Accessor interface for Activity's internals.