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.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  
ApkAssetsCookie  
ApkLoader
Mediates loading of "APKs" in legacy mode.
AppWidgetProviderInfoBuilder
Class to build AppWidgetProviderInfo
Asset  
Asset.AccessMode  
AssetDir  
AssetPath  
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  
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>  
BaseCursor Deprecated.
Use MatrixCursor instead.
Bootstrap  
BrightnessChangeEventBuilder
BroadcastReceiverData  
BuckManifestFactory  
ByteBucketArray<T>
Stores a sparsely populated array.
CachedPathIteratorFactory
Class that returns iterators for a given path.
ClassDetails
A more lightweight variant of MutableClass.
ClassHandler
This interface is used by Robolectric when instrumented classes are created and interacted with.
ClassHandler.Plan
An execution plan, which can be invoked to satisfy a requested method call.
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+.
ComponentController<C extends ComponentController<C,​T>,​T>  
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  
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  
CppApkAssets  
CppAssetManager  
CppAssetManager2  
CppAssetManager2.PackageFunc  
CppAssetManager2.ResolvedBag  
CppAssetManager2.ResolvedBag.Entry  
CppAssetManager2.ResourceName  
CppAssetManager2.Theme  
CursorWindowNatives
Native methods for CursorWindow JNI registration.
DataSource
Opaque class for uniquely identifying a media data source, as used by ShadowMediaPlayer, ShadowMediaMetadataRetriever, and ShadowMediaExtractor
DataType
Resource type codes.
DefaultManifestFactory  
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  
DeviceConfig
Supports device configuration for Robolectric tests.
DeviceConfig.ScreenSize
Standard sizes for the screen size qualifier.
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  
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.
DrawableResourceLoader
DrawableResourceLoader
DynamicRefTable
Holds the shared library ID table.
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  
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
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  
IdmapEntries  
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  
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  
InvocationProfile  
InvokeDynamicClassInstrumentor Deprecated.
The invoke-dynamic case has been moved to ClassInstrumentor.
InvokeDynamicSupport  
IShadow  
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
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  
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.
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.
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
NativeObjRegistry<T>
A unique id per object registry.
NativeRuntimeLoader
Loads the Robolectric native runtime.
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.
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  
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.
PlaybackInfoBuilder
Plural  
PluralRules  
PreciseDataConnectionStateBuilder
PropertiesDependencyResolver  
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
RawResourceLoader  
RealObject
Shadow fields annotated @RealObject will have the real instance injected.
RealObjectValidator
Validator that checks usages of RealObject.
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.
Registries  
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  
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.Package  
ResTable.PackageGroup  
ResTable.ResourceName  
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  
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.
RoboSubMenu
Robolectric implementation of SubMenu.
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  
RuntimeEnvironment  
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  
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.
Session2Token
Temporary replacement for class missing in Android Q Preview 1.
Shadow  
ShadowAbsListView  
ShadowAbsSeekBar  
ShadowAbsSpinner  
ShadowAbstractCursor  
ShadowAccessibilityButtonController
ShadowAccessibilityManager  
ShadowAccessibilityNodeInfo
Properties of AccessibilityNodeInfo that are normally locked may be changed using test APIs.
ShadowAccessibilityNodeInfo.OnPerformActionListener  
ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
Shadow of AccessibilityAction.
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  
ShadowAlarmManager.ScheduledAlarm
Container object to hold a PendingIntent and parameters describing when to send it.
ShadowAlertController  
ShadowAlertDialog  
ShadowAlertDialog.ShadowBuilder  
ShadowAndroidBidi  
ShadowAndroidHttpClient  
ShadowAndroidXMultiDex  
ShadowAnimationBridge
Bridge between shadows and Animation.
ShadowAnimationUtils  
ShadowAnnotationValidations  
ShadowApkAssets  
ShadowApkAssets.Picker  
ShadowAppIntegrityManager
Shadow of AppIntegrityManager
ShadowApplication  
ShadowApplication.Wrapper  
ShadowApplicationPackageManager  
ShadowAppOpsManager  
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  
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<D> Deprecated.
ShadowAsyncTaskLoader.Picker  
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.
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  
ShadowBitmapDrawable  
ShadowBitmapFactory  
ShadowBitmapRegionDecoder  
ShadowBitmapShader  
ShadowBlockGuardOs  
ShadowBluetoothA2dp
Shadow of BluetoothA2dp.
ShadowBluetoothAdapter  
ShadowBluetoothDevice  
ShadowBluetoothGatt  
ShadowBluetoothHeadset
Shadow for BluetoothHeadset
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  
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
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
ShadowCameraMetadataNativePicker
Base class for shadow implementations of CameraMetadataNative
ShadowCameraMetadataNativePicker.Picker
This subclass is required to avoid an internal error when loading the picker.
ShadowCameraMetadataNativeR
Shadow class for CameraMetadataNative
ShadowCanvas
Broken.
ShadowCanvas.ArcPaintHistoryEvent  
ShadowCanvas.CirclePaintHistoryEvent  
ShadowCanvas.LinePaintHistoryEvent  
ShadowCanvas.OvalPaintHistoryEvent  
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  
ShadowColor  
ShadowColorDisplayManager  
ShadowColorMatrixColorFilter  
ShadowColorSpace
Container for implementations of ColorSpace
ShadowColorSpace.ShadowRgb  
ShadowCompoundButton  
ShadowConnectivityManager  
ShadowConstants  
ShadowContentProvider  
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  
ShadowCornerPathEffect  
ShadowCountDownTimer  
ShadowCrossProfileApps
Robolectric implementation of CrossProfileApps.
ShadowCrossProfileApps.StartedActivity
ShadowCrossProfileApps.StartedMainActivity Deprecated.
ShadowCursorWindow
The base shadow class for CursorWindow.
ShadowCursorWindow.Picker
ShadowCursorWrapper  
ShadowDashPathEffect  
ShadowDateIntervalFormat  
ShadowDatePickerDialog  
ShadowDebug  
ShadowDecorator
Decorator which adds Robolectric's shadowing behavior to a class.
ShadowDefaultRequestDirector  
ShadowDeviceConfig  
ShadowDevicePolicyManager  
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.
ShadowDisplayListCanvas
Shadow for DisplayListCanvas from API versions M to R
ShadowDisplayManager
For tests, display properties may be changed and devices may be added or removed programmatically.
ShadowDisplayManagerGlobal
ShadowDownloadManager  
ShadowDownloadManager.ShadowQuery  
ShadowDownloadManager.ShadowRequest  
ShadowDrawable  
ShadowDrawerLayout Deprecated.
ShadowDropBoxManager
Fake dropbox manager that starts with no entries.
ShadowDynamicsProcessing
Implements DynamicsProcessing by relying on ShadowAudioEffect.
ShadowEdgeEffect  
ShadowedObject  
ShadowEGL14
Shadow for EGL14.
ShadowEnvironment  
ShadowEnvironment.ShadowUserEnvironment  
ShadowEuiccManager  
ShadowEventLog  
ShadowEventLog.EventBuilder
Class to build EventLog.Event
ShadowEventLog.ShadowEvent  
ShadowExpandableListView  
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  
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  
ShadowImeTracingClientImpl  
ShadowImpl  
ShadowImsMmTelManager
Supports IMS by default.
ShadowInCallAdapter
Shadow for InCallAdapter.
ShadowInCallService
Shadow for InCallService.
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.
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.
ShadowLayoutAnimationController  
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.
ShadowLegacyAsyncTaskLoader<D> Deprecated.
ShadowLegacyChoreographer
The Choreographer shadow for LooperMode.Mode.PAUSED.
ShadowLegacyCursorWindow
Legacy shadow for CursowWindow.
ShadowLegacyLooper
The shadow Looper implementation for LooperMode.Mode.LEGACY.
ShadowLegacyMessage
The shadow Message for LooperMode.Mode.LEGACY.
ShadowLegacyMessageQueue
The shadow MessageQueue for LooperMode.Mode.LEGACY.
ShadowLegacyResourcesImpl  
ShadowLegacyResourcesImpl.ShadowLegacyThemeImpl  
ShadowLegacySQLiteConnection
Shadow for SQLiteConnection that is backed by sqlite4java.
ShadowLegacySystemClock
A shadow SystemClock for LooperMode.Mode.LEGACY
ShadowLibcoreOsConstants
Implements OsConstants on APIs 20 and below.
ShadowLinearGradient  
ShadowLinearLayout  
ShadowLineBreaker  
ShadowLinkMovementMethod  
ShadowLinux  
ShadowListPopupWindow  
ShadowListView  
ShadowLoadedApk  
ShadowLoadedApk._LoadedApk_
Accessor interface for LoadedApk's internals.
ShadowLocalActivityManager  
ShadowLocalBroadcastManager Deprecated.
ShadowLocalBroadcastManager.Wrapper  
ShadowLocaleData
Robolectric only supports en_US regardless of the default locale set in the JVM.
ShadowLocaleList
Shadow for LocaleList
ShadowLocationManager
Shadow for LocationManager.
ShadowLocationManager.ProviderProperties
Properties of a provider.
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  
ShadowMeasuredParagraph  
ShadowMeasuredTextBuilder  
ShadowMediaActionSound
A shadow implementation of MediaActionSound.
ShadowMediaBrowserCompat Deprecated.
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  
ShadowNativeAllocationRegistry  
ShadowNativeCursorWindow
Shadow for CursorWindow that is backed by native code
ShadowNativePluralRules  
ShadowNativeSQLiteConnection
Shadow for SQLiteConnection that is backed by native code
ShadowNetwork  
ShadowNetworkCapabilities
Robolectic provides overrides for fetching and updating transport.
ShadowNetworkInfo  
ShadowNetworkScoreManager
Provides testing APIs for NetworkScoreManager.
ShadowNfcAdapter
Shadow implementation of NfcAdapter.
ShadowNinePatch  
ShadowNotification  
ShadowNotificationListenerService
Shadow implementation of NotificationListenerService.
ShadowNotificationManager  
ShadowNsdManager  
ShadowNumberPicker  
ShadowObjectAnimator  
ShadowOpenGLMatrix  
ShadowOs
A Shadow for android.system.Os
ShadowOsConstants  
ShadowOutline  
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  
ShadowPackageInstaller.ShadowSession  
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
The shadow only supports straight-line paths.
ShadowPath.Point  
ShadowPath.Point.Type  
ShadowPathMeasure  
ShadowPathParser  
ShadowPathParser.PathDataNode  
ShadowPathParser.ShadowPathData  
ShadowPausedAsyncTask<Params,​Progress,​Result>
A AsyncTask shadow for LooperMode.Mode.PAUSED
ShadowPausedAsyncTaskLoader<D>
The shadow AsyncTaskLoader for LooperMode.Mode.PAUSED.
ShadowPausedAsyncTaskLoader<D> Deprecated.
use the androidx AsyncTaskLoader instead, which has an overriddable getExecutor method.
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  
ShadowPlayerBase  
ShadowPolicyManager  
ShadowPopupMenu  
ShadowPopupWindow  
ShadowPorterDuffColorFilter  
ShadowPosix  
ShadowPowerManager
Shadow of PowerManager
ShadowPowerManager.ShadowWakeLock  
ShadowPrecomputedText  
ShadowPreference  
ShadowProcess  
ShadowProgressBar  
ShadowProgressDialog  
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.
ShadowRanking
ShadowRcsUceAdapter
A shadow for RcsUceAdapter.
ShadowRcsUceAdapter.CapabilityFailureInfo
A data class holding the info for a failed capabilities exchange
ShadowRecordingCanvas  
ShadowRegion  
ShadowRelativeLayout  
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  
ShadowResources.ShadowLegacyTheme  
ShadowResources.ShadowNotFoundException  
ShadowResources.ShadowTheme  
ShadowResources.ShadowTheme.Picker  
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.
Shadows
Shadow mapper.
ShadowScaleGestureDetector  
ShadowScanResult  
ShadowScroller  
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
Dummy 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
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  
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
ShadowSurfaceView  
ShadowSurfaceView.FakeSurfaceHolder
Robolectric implementation of SurfaceHolder.
ShadowSuspendDialogInfo
Shadow of SuspendDialogInfo to expose hidden methods.
ShadowSwipeRefreshLayout Deprecated.
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 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  
ShadowTextPaint  
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  
ShadowTypedArray  
ShadowTypedArray.Picker  
ShadowTypeface  
ShadowTypeface.FontDesc  
ShadowTypeface.ShadowBuilder
Shadow for Typeface.Builder
ShadowUIModeManager  
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.
ShadowUsbManager
Robolectric implementation of UsbManager.
ShadowUsbManager._UsbManager_
Accessor interface for UsbManager's internals.
ShadowUsbManager._UsbManagerQ_
Accessor interface for UsbManager's internals (Q+).
ShadowUserManager
Robolectric implementation of UserManager.
ShadowUserManager.UserState
Describes the current state of the user.
ShadowValueAnimator  
ShadowVectorDrawable  
ShadowVelocityTracker  
ShadowVibrator  
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  
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  
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  
ShadowZoomButtonsController  
SimpleFuture<T> Deprecated.
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  
Supercedes
Indicates that the annotated type is intended as a replacement for another type.
SupportFragmentController<F extends android.support.v4.app.Fragment>
FragmentController provides low-level APIs to control fragment's lifecycle.
SupportFragmentTestUtil Deprecated.
Android encourages developers to use androidx fragments, to test these use androidx.fragment.app.testing.FragmentScenario.
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>  
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.
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.