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 | |
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
AttributeSet s. |
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 |
Builder for
BrightnessChangeEvent . |
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.
|
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.
|
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 | |
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 | |
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 |
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 | |
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.
|
EmptyStyle | |
EpsBearerQosSessionAttributesBuilder |
Class to build
EpsBearerQosSessionAttributes . |
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.
Please use
Robolectric.buildFragment(Class) instead. |
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 |
Builder for
GnssStatusBuilder.GnssSatelliteInfo . |
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 | |
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 | |
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 |
Builder for
MediaCodecInfo.CodecCapabilities . |
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 |
Builder for
MediaController.PlaybackInfo |
Plural | |
PluralRules | |
PreciseDataConnectionStateBuilder |
Builder for
PreciseDataConnectionState |
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
|
RangingSessionBuilder |
Class to build
RangingSession |
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.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
@Implemenetation 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 |
Builder for
ActivityManager.RunningTaskInfo . |
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 |
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.
|
Session2Token |
Temporary replacement for class missing in Android Q Preview 1.
|
Shadow | |
ShadowAbsListView | |
ShadowAbsSeekBar | |
ShadowAbsSpinner | |
ShadowAbstractCursor | |
ShadowAccessibilityButtonController |
Shadow for
AccessibilityButtonController . |
ShadowAccessibilityManager | |
ShadowAccessibilityNodeInfo |
Properties of
AccessibilityNodeInfo that are normally locked
may be changed using test APIs. |
ShadowAccessibilityNodeInfo.OnPerformActionListener | |
ShadowAccessibilityRecord |
Shadow of
AccessibilityRecord . |
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 | |
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 | |
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.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 |
Provides
ShadowAudioRecord.AudioRecordSource for the given AudioRecord . |
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 | |
ShadowBitmapDrawable | |
ShadowBitmapFactory | |
ShadowBitmapRegionDecoder | |
ShadowBlockGuardOs | |
ShadowBluetoothA2dp |
Shadow of
BluetoothA2dp . |
ShadowBluetoothAdapter | |
ShadowBluetoothDevice | |
ShadowBluetoothGatt | |
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 |
Shadow for
CallScreeningService . |
ShadowCallScreeningService.RespondToCallInput |
Contains the parameters used to call
CallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse) . |
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 |
Broken.
|
ShadowCanvas.ArcPaintHistoryEvent | |
ShadowCanvas.CirclePaintHistoryEvent | |
ShadowCanvas.LinePaintHistoryEvent | |
ShadowCanvas.OvalPaintHistoryEvent | |
ShadowCanvas.RectPaintHistoryEvent | |
ShadowCanvas.RoundRectPaintHistoryEvent |
Captures round rectangle drawing events
|
ShadowCanvas.TextHistoryEvent | |
ShadowCaptioningManager |
Shadow of
CaptioningManager . |
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 | |
ShadowColorSpace |
Container for implementations of ColorSpace
|
ShadowColorSpace.ShadowRgb | |
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 | |
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 |
Container object to hold parameters passed to
ShadowCrossProfileApps.startMainActivity(ComponentName,
UserHandle) or ShadowCrossProfileApps.startActivity(ComponentName, UserHandle) , ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity) , ShadowCrossProfileApps.startActivity(Intent, UserHandle,
Activity, Bundle) . |
ShadowCrossProfileApps.StartedMainActivity | Deprecated. |
ShadowCursorWindow |
The base shadow class for
CursorWindow . |
ShadowCursorWindow.Picker |
Shadow
ShadowCursorWindow.Picker for ShadowCursorWindow |
ShadowCursorWrapper | |
ShadowDashPathEffect | |
ShadowDateIntervalFormat | |
ShadowDatePickerDialog | |
ShadowDebug | |
ShadowDecorator |
Decorator which adds Robolectric's shadowing behavior to a class.
|
ShadowDefaultRequestDirector | |
ShadowDeviceConfig | |
ShadowDevicePolicyManager | |
ShadowDevicePolicyResourcesManager |
Shadow for
DevicePolicyResourcesManager . |
ShadowDexFile |
Shadow implementation of dalvik.system.Dexfile.
|
ShadowDialog | |
ShadowDiscoverySession | |
ShadowDisplay |
It is possible to override some display properties using setters on
ShadowDisplay . |
ShadowDisplayEventReceiver |
Shadow of
DisplayEventReceiver . |
ShadowDisplayEventReceiver.DisplayEventReceiverReflector |
Reflector interface for
DisplayEventReceiver 's internals. |
ShadowDisplayHashManager |
Shadow of
DisplayHashManager . |
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 |
Shadow for
DisplayManagerGlobal . |
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 | |
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 | |
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 . |
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 . |
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 | |
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 | |
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 |
Shadow of
MediaScannerConnection |
ShadowMediaSession | |
ShadowMediaSessionManager |
Shadow for
MediaSessionManager . |
ShadowMediaStore |
Shadow for
MediaStore . |
ShadowMediaStore.ShadowImages |
Shadow for
MediaStore.Images . |
ShadowMediaStore.ShadowImages.ShadowMedia |
Shadow for
MediaStore.Images.Media . |
ShadowMediaStore.ShadowImages.ShadowThumbnails |
Shadow for
MediaStore.Images.Thumbnails . |
ShadowMediaStore.ShadowVideo |
Shadow for
MediaStore.Video . |
ShadowMediaStore.ShadowVideo.ShadowThumbnails |
Shadow for
MediaStore.Video.Thumbnails . |
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 | |
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 |
Shadows for NotificationManager.
|
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 |
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 | |
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 . |
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 |
Shadow of
QuickAccessWalletService |
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 |
Shadow for
NotificationListenerService.Ranking . |
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 |
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 |
Shadow for
Resources.NotFoundException . |
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 |
Shadow of
RestrictionsManager . |
ShadowResultReceiver | |
ShadowRingtoneManager |
A shadow implementation of
RingtoneManager . |
ShadowRoleControllerManager |
Shadow for
RoleControllerManager |
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 |
Base class for testable parameters from calls to either
ShadowSmsManager.downloadMultimediaMessage(android.content.Context, java.lang.String, android.net.Uri, android.os.Bundle, android.app.PendingIntent) or
ShadowSmsManager.downloadMultimediaMessage(android.content.Context, java.lang.String, android.net.Uri, android.os.Bundle, android.app.PendingIntent) . |
ShadowSmsManager.SendMultimediaMessageParams | |
ShadowSmsManager.TextMultipartParams | |
ShadowSmsManager.TextSmsParams | |
ShadowSocketTagger | |
ShadowSoftKeyboardController |
Shadow of SoftKeyboardController.
|
ShadowSoundPool | |
ShadowSoundPool.Playback |
Record of a single call to
SoundPool.play(int, float, float, int, int, float) . |
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 |
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 |
Mode describing how the shadow handles incoming (
TelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle) ) and
outgoing (TelecomManager.placeCall(android.net.Uri, android.os.Bundle) ) call requests. |
ShadowTelecomManager.IncomingCallRecord |
Details about an incoming call request made via
TelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle) . |
ShadowTelecomManager.OutgoingCallRecord |
Details about an outgoing call request made via
TelecomManager.placeCall(android.net.Uri, android.os.Bundle) . |
ShadowTelecomManager.UnknownCallRecord |
Details about an unknown call request made via
TelecomManager.addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle) . |
ShadowTelephony | |
ShadowTelephony.ShadowSms | |
ShadowTelephonyFrameworkInitializer |
Shadow for
TelephonyFrameworkInitializer |
ShadowTelephonyManager | |
ShadowTelephonyManager.VisualVoicemailSmsParams |
Testable parameters from calls to
ShadowTelephonyManager.sendVisualVoicemailSms(java.lang.String, int, java.lang.String, android.app.PendingIntent) . |
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 |
Shadow of
TotalCaptureResult . |
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 |
ShadowUiAutomation |
Shadow for
UiAutomation . |
ShadowUIModeManager |
Shadow for
UiModeManager . |
ShadowUsageStatsManager |
Shadow of
UsageStatsManager . |
ShadowUsageStatsManager.AppUsageLimitObserver |
App usage limit observer registered via
UsageStatsManager.registerAppUsageLimitObserver(int, String[], Duration, Duration,
PendingIntent) . |
ShadowUsageStatsManager.AppUsageObserver |
App usage observer registered via
UsageStatsManager.registerAppUsageObserver(int,
String[], long, TimeUnit, PendingIntent) . |
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 |
Shadow of
VisualVoicemailService.VisualVoicemailTask . |
ShadowVMRuntime | |
ShadowVoiceInteractionService |
Shadow implementation of
VoiceInteractionService . |
ShadowVoiceInteractionSession |
Shadow implementation of
VoiceInteractionSession . |
ShadowVoiceInteractor |
Shadow implementation of
VoiceInteractor . |
ShadowVpnService | |
ShadowWallpaperManager | |
ShadowWallpaperManager.WallpaperCommandRecord |
Represents an invocation record of
WallpaperManager.sendWallpaperCommand(android.os.IBinder, java.lang.String, int, int, int, android.os.Bundle) |
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 |
Shadow for
WindowManagerGlobal . |
ShadowWindowManagerImpl | |
ShadowWindowManagerImpl.ShadowCompatModeWrapper | |
ShadowWrangler |
ShadowWrangler matches shadowed classes up with corresponding shadows based on a
ShadowMap . |
ShadowXmlBlock | |
ShadowXmlBlock.ShadowParser |
Shadow of XmlBlock.Parser.
|
ShadowZoomButtonsController | |
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 | |
Supercedes |
Indicates that the annotated type is intended as a replacement for another type.
|
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> | |
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.
|
VibrationAttributesBuilder |
Class to build
VibrationAttributes |
WifiUsabilityStatsEntryBuilder |
Builder for
WifiUsabilityStatsEntry . |
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. |