All Classes and Interfaces
Class
Description
ActivityController provides low-level APIs to control activity's lifecycle.
Class to build
AppWidgetProviderInfoBuilder for
AssociationInfo.Factory to create AttestedKeyPair.
Builder for
AudioDeviceInfo.Builder for
AudioProfile.Utility class for running code off the main looper thread aka Robolectric test thread.
Represents a key value pair in
ShadowBackupDataInput and ShadowBackupDataOutput.Builder for a
BackupDataInput object.Factory for instances of
BackupDataOutput.Builder for
BarringInfo.Builder for
BarringInfo.BarringServiceInfo.Deprecated.
Builder for
BrightnessChangeEvent.Class that returns iterators for a given path.
Builder for
CellIdentityLte.Builder for
CellIdentityNr.Builder for
CellInfoLte.Builder for
CellInfoNr.Builder for
CellSignalStrengthLteBuilder for
CellSignalStrengthNrOpaque class for uniquely identifying a media data source, as used by
ShadowMediaPlayer, ShadowMediaMetadataRetriever, and ShadowMediaExtractorTransform a
FileDescriptor to a string.Supports device configuration for Robolectric tests.
Standard sizes for the screen size qualifier.
Factory for
DevicePolicyStateBuilder for
DeviceStateSensorOrientationMap which was introduced in Android T.Describes the characteristics of a particular logical display.
Builder for
DragEvent.Factory for
EnforcingAdminClass to build
EpsBearerQosSessionAttributes.Deprecated.
Native Fragments have been deprecated in Android P.
Class to build
FrameMetricsDeprecated.
Use
GnssStatus.Builder instead where possible.Information about a single satellite in a
GnssStatus.Builder for
GnssStatusBuilder.GnssSatelliteInfo.A
ShadowPicker that selects between shadows given the Graphics mode.Helper class to provide hardware rendering-based screenshot to
ShadowPixelCopy and ShadowUiAutomation.Image information descriptor.
Builder for
ScanResult.InformationElement.Executor service that executes posted tasks as soon as they are posted.
Creates a
PackageInfo from a AndroidManifestBuilder for
MediaCodecInfo.Builder for
MediaCodecInfo.CodecCapabilities.Builder for
ModuleInfo as ModuleInfo has hidden constructors, this builder class has been
added as a way to make custom ModuleInfo objects when needed.Java representation of framework native system headers Transliterated from oreo-mr1 (SDK 27)
frameworks/native/include/android/Input.h
Transliteration of native BitSet64.
Java representation of framework native input Transliterated from oreo-mr1 (SDK 27)
frameworks/native/include/input/Input.h and libs/input/Input.cpp
Builder class to create instance of
NetworkRegistrationInfo.Factory to create
NetworkSpecifier types that are hidden on certain SDK levels.Class to build
NrQosSessionAttributes.Builder for
PackageRollbackInfo as PackageRollbackInfo has hidden constructors, this
builder class has been added as a way to make custom PackageRollbackInfo objects when needed.Executor service that queues any posted tasks.
A more advanced builder for
PhoneAccount that gives access to some hidden methods on
PhoneAccount.Builder.Factory to create PhoneCapability.
Builder for
MediaController.PlaybackInfoFactory for
PolicyKeyBuilder for
PolicyStateA Factory class representing
StringPolicyValueBuilder for
PreciseDataConnectionStateClass to build
RangingSessionHelper class to provide various conversion method used in handling android resources.
Helper class to provide various conversion method used in handling android resources.
Builder for
ResponderLocationRobolectric implementation of
CookieManager.Deprecated.
Use
MatrixCursor instead.Deprecated.
only works when used in conjunction with the deprecated
LooperMode.LEGACY
mode.Robolectric implementation of
IntentSender.Robolectric implementation of
Menu.Robolectric implementation of
MenuItem.Robolectric implementation of
SplashScreen.Robolectric implementation of
SubMenu.Robolectric implementation of
WebMessagePort.Robolectric implementation of
WebSettings.Builder for
RollbackInfo as RollbackInfo has hidden constructors, this builder class has
been added as a way to make custom RollbackInfo objects when needed.Defines a rectangle with rounded corners, where the sizes of the corners are potentially
different.
Builder for
ActivityManager.RunningTaskInfo.Builder for
SensorEvent.Builder class to create instance of
ServiceState.Shadow for
AccessibilityButtonController.Properties of
AccessibilityNodeInfo that are normally locked
may be changed using test APIs.Shadow of
AccessibilityRecord.Shadow of AccessibilityService that tracks global actions and provides a mechanism to simulate
the window list.
Represents a gesture that has been dispatched through the accessibility service.
Shadow of
AccessibilityWindowInfo that allows a test to set
properties that are locked in the original class.Container object to hold an Intent, together with the requestCode used in a call to
Activity.startActivityForResult(Intent, int)Class to holds details of a startIntentSenderForResult request.
Class to hold overridden activity transition details after calling
Activity.overrideActivityTransition(int, int, int, int)Class to hold a permissions request, including its request code.
Shadow for
ActivityManagerBuilder class for
ApplicationExitInfoAccessor interface for
ActivityThread's internals.Accessor interface for
ActivityThread.AppBindData's internals.Shadow for
AlarmManager.Represents a set alarm.
Shadow implementation of
AlwaysOnHotwordDetector.Shadow for AsyncTask kicked off in the constructor of AlwaysOnHotwordDetector.
Shadow of
AmbientContextManagerShadow for
AmbientDisplayConfiguration class.Bridge between shadows and
Animation.Shadow of
AppIntegrityManagerShadow for
AppOpsManager.Class holding usage mode and excpetion packages.
Shadow for
ApkAssets for Android P+Shadow of
AsyncQueryHandler, which calls methods synchronously.The shadow API for
AsyncTask.The shadow API for
AsyncTaskLoader.Implements
AudioEffect by shadowing its native methods.Shadow
AudioRecord which by default will fulfil any requests for audio data by completely
filling any requested buffers.Provides underlying data for the
ShadowAudioRecord.Provides
ShadowAudioRecord.AudioRecordSource for the given AudioRecord.Shadow for
AudioSystem.Implementation of a couple methods in
AudioTrack.Listeners to be notified when data is written to an
AudioTrack via AudioTrack.write(ByteBuffer, int, int)Robolectric implementation of
android.os.AutofillManager.Shadow for
BackdropFrameRendererShadow for BackupDataInput.
Shadow for BackupDataOutput.
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, what
the final result should be and can be verified using methods on the shadow like ShadowBackupManager.getPackageRestoreToken(String) and ShadowBackupManager.getPackageRestoreCount(String).Extends BasicTagTechnology to allow for testing.
Bridge between shadow and
Binder.Provides testing APIs for
BiometricManagerBase class for
Bitmap shadows.Reflector for
Bitmap.Shadow picker for
Bitmap.Shadow of
BluetoothA2dp.Shadow for
BluetoothDevice.Interceptor interface for
BluetoothGatt objects.Shadow implementation of
BluetoothGatt.Shadow of
BluetoothGattServer.Shadow for
BluetoothHeadsetShadow implementation of
BluetoothLeAdvertiser.Adds Robolectric support for BLE scanning.
Encapsulates scan params passed to
BluetoothAdapter startScan
methods.Shadow of
BluetoothManager that makes the testing possible.Shadow of
BroadcastResponseStats for accessing hidden APIs.Implementation of
BugreportManager.Robolectric test for
Call.Robolectric test for
Call.RttCall.Shadow for the system's CallLog.Call class that allows tests to configure the most recent call.
Shadow for
CallScreeningService.Contains the parameters used to call
CallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse).Shadow of the CamcorderProfile that allows the caller to add custom profile settings.
Shadows the Android
Camera.Parameters class.Shadow class for
CameraCaptureSessionImplShadow class for
CameraDeviceImplShadow class for
CameraManagerShadow class for internal class CameraManager$CameraManagerGlobal
Shadow class for
CameraMetadataNativeShadow class for
CameraMetadataNativeBase class for
Canvas shadow classes.Shadow picker for
Canvas.Captures round rectangle drawing events
Shadow of
CaptioningManager.Shadow class for
CaptureRequest.Builder.Shadow of
CaptureResult.Shadow implementation of
CardEmulation.The shadow API for
Choreographer.Accessor interface for
Choreographer's internalsShadow for
CloseGuard.Shadow for
ColorSpace.Rgb.Shadow for CompanionDeviceManager.
Robolectric shadow to disable CALL_ACTIVITY_RESULT_BEFORE_RESUME using Compatibility's
isChangeEnabled.
Shadow for
Connection that represents a phone call or connection to a remote endpoint
that carries voice and/or video traffic.A Shadow for android.view.contentcapture.ContentCaptureManager added in Android R.
Shadow for
ContentProvider.A statement used to delete content in a
ContentProvider.A statement used to insert content into a
ContentProvider.A statement used to modify content in a
ContentProvider.A statement used to update content in a
ContentProvider.Shadow for
ContextHubClient.Shadow for
ContextHubManager.Reflector interface for
ContextImpl's internals.Robolectric implementation of
CrossProfileApps.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).Deprecated.
The base shadow class for
CursorWindow.Shadow
ShadowCursorWindow.Picker for ShadowCursorWindowShadow for
DateUtils.Shadow for
DevicePolicyResourcesManager.Shadow implementation of dalvik.system.Dexfile.
It is possible to override some display properties using setters on
ShadowDisplay.Shadow of
DisplayEventReceiver.Reflector interface for
DisplayEventReceiver's internals.Shadow of
DisplayHashManager.Shadow for
android.view.DisplayListCanvas from API versions M to RFor tests, display properties may be changed and devices may be added or removed
programmatically.
Builder class for
Display.ModeShadow for
DisplayManagerGlobal.Shadow implementation of
DistanceMeasurementManager.Value class to represent a "completed download" sent to
DownloadManager using the
addCompletedDownload APIs.Fake dropbox manager that starts with no entries.
Implements
DynamicsProcessing by relying on ShadowAudioEffect.Shadow for
EdgeEffectShadow for EGL14.
Class to build
EventLog.EventA shadow implementation of FileObserver that uses java.nio.file.WatchService.
Provides testing APIs for
FingerprintManagerShadow for
FloatMath.Shadow for
Font for Android SShadow for
Font.BuilderShadow for
FontFamily.Shadow for
FontFamily.Builder.Fake implementation for Gainmap class.
Fake implementation of
GLES20Fake implementation of GLSurfaceView
Shadow of android.hardware.HardwareBuffer.
Activates Hidl support
Shadow for
ImageReaderShadow for
ImageSupports IMS by default.
Shadow for
InCallAdapter.Shadow for
InCallService.Shadow class for
IncidentManager.Shadow InetAddressUtils class that doesn't use native Libcore function.
Shadow for
InputManagerShadow for new InputManagerGlobal introduced in android U.
Shadow for InputMethodManager.
Handler for receiving PrivateCommands.
Handler for receiving soft input visibility changed event.
Intercepts calls to [InsetsController] to monitor system bars functionality (hide/show).
Reflector interface for
Instrumentation's internals.Extends IsoDep to allow for testing.
Shadow for
KeyEvent.An implementation of
KeyguardManager.KeyguardLock, for use in tests.Shadow of
LauncherApps.Shadow for
ApkAssets that is used for legacy resources.A
AsyncTask shadow for LooperMode.Mode.LEGACY.The shadow
AsyncTaskLoader for LooperMode.Mode.LEGACY.Broken.
The
Choreographer shadow for LooperMode.Mode.PAUSED.Legacy shadow for
CursowWindow.The shadow Looper implementation for
LooperMode.Mode.LEGACY.The shadow
Message for LooperMode.Mode.LEGACY.The shadow
MessageQueue for LooperMode.Mode.LEGACY.The shadow only supports straight-line paths.
Shadow for
SQLiteConnection that is backed by sqlite4java.A shadow SystemClock for
LooperMode.Mode.LEGACYShadow for
Typeface.Shadow for
Typeface.BuilderImplements OsConstants on APIs 20 and below.
Shadow for android.graphics.text.LineBreaker
Accessor interface for
LoadedApk's internals.Robolectric only supports en_US regardless of the default locale set in the JVM.
Shadow for
LocaleListShadow of
LocaleManagerShadow for
LocationManager.ProviderProperties is not public prior to S, so a new class is required to represent it prior
to that platform.
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.
Controls the behavior of
Log and provides access to log messages.A single log item.
The base shadow API class for controlling Loopers.
Shadow of MagnificationController.
Shadow picker for
Matrix.A shadow implementation of
MediaActionSound.Implementation of
MediaCodec which supports both asynchronous and
synchronous modes.Configuration that can be supplied to
ShadowMediaCodec to simulate actual
encoding/decoding.A codec is implemented as part of the configuration to allow the
ShadowMediaCodec to
simulate actual encoding/decoding.Shadows CodecBuffer to prevent attempting to free non-direct ByteBuffer objects.
Implementation of
MediaCodecList.Implementation of
MediaController.A shadow for the MediaExtractor class.
Implementation of
MediaMuxer which directly passes input bytes to the
specified file, with no modification.Automated testing of media playback can be a difficult thing - especially testing that your code
properly handles asynchronous errors and events.
Callback interface for clients that wish to be informed when a new
MediaPlayer instance
is constructed.Possible behavior modes for the media player when a method is invoked in an invalid state.
Class specifying information for an emulated media object.
Provides a
ShadowMediaPlayer.MediaInfo for a given DataSource.Possible states for the media player to be in.
Shadow class for
MediaRouter.Shadow of
MediaScannerConnectionShadow for
MediaSessionManager.Shadow for
MediaStore.Event info for
MediaStore.notifyCloudMediaChangedEvent(android.content.ContentResolver, java.lang.String, java.lang.String) notify events.Shadow for
MediaStore.Images.Shadow for
MediaStore.Images.Media.Shadow for
MediaStore.Images.Thumbnails.Shadow for
MediaStore.Video.Shadow for
MediaStore.Video.Thumbnails.This is used by Android to load and inferFromValue time zone information.
Fork of ShadowMemoryMappedFile to adjust to changed package names of MemoryMappedFile in S.
The shadow API for
Message.The shadow Picker for this class
The shadow API for
MessageQueue.The shadow Picker for this class.
Shadow of MotionEvent.
Shadow for
NativeAllocationRegistry that is backed by native codeShadow picker for
NativeAllocationRegistry.Shadow for
AnimatedImageDrawable that is backed by native codeShadow picker for
AnimatedImageDrawable.Shadow for
AnimatedVectorDrawable that is backed by native codeShadow picker for
AnimatedVectorDrawable.Shadow for
BaseCanvas that is backed by native codeShadow picker for
BaseCanvas.Shadow for
BaseRecordingCanvas that is backed by native codeShadow picker for
BaseRecordingCanvas.Shadow for
Bitmap that is backed by native codeDisable the legacy ShadowBitmapDrawable as it fakes the draw logic.
Shadow picker for
BitmapDrawable.Shadow for
BitmapFactory that is backed by native codeShadow picker for
BitmapFactory.Shadow for
BitmapShader that is backed by native codeShadow picker for
BitmapShader.Shadow for
BlendModeColorFilter that is backed by native codeShadow picker for
BlendModeColorFilter.Shadow for
BlurMaskFilter that is backed by native codeShadow picker for
BlurMaskFilter.Shadow for
Canvas that is backed by native codeShadow for
CanvasProperty that is backed by native codeShadow picker for
CanvasProperty.Shadow for
Color that is backed by native codeShadow picker for
Color.Shadow for
ColorFilter that is backed by native codeShadow picker for
ColorFilter.Shadow for
ColorMatrixColorFilter that is backed by native codeShadow picker for
ColorMatrixColorFilter.Shadow for
ColorSpace that defers its static initializer.Shadow picker for
ColorSpace.Shadow for
ColorSpace.Rgb that is backed by native codeShadow picker for
ColorSpace.Rgb.Shadow for
ComposePathEffect that is backed by native codeShadow picker for
ComposePathEffect.Shadow for
ComposeShader that is backed by native codeShadow picker for
ComposeShader.Shadow for
CornerPathEffect that is backed by native codeShadow picker for
CornerPathEffect.Shadow for
CursorWindow that is backed by native codeShadow for
DashPathEffect that is backed by native codeShadow picker for
DashPathEffect.Shadow for
DiscretePathEffect that is backed by native codeShadow picker for
DiscretePathEffect.Shadow for
android.view.DisplayListCanvas that is backed by native codeShadow picker for
android.view.DisplayListCanvas.Shadow for
EmbossMaskFilter that is backed by native codeShadow picker for
EmbossMaskFilter.Shadow for
Font that is backed by native codeShadow picker for
Font.Shadow for
Font.Builder that is backed by native codeShadow picker for
Font.Builder.Shadow for
FontFamily that is backed by native codeShadow picker for
FontFamily.Shadow for
FontFileUtil that is backed by native codeShadow picker for
FontFileUtil.Shadow for
FontFamily that is backed by native codeShadow picker for
FontFamily.Shadow for
FontFamily.Builder that is backed by native codeShadow picker for
FontFamily.Builder.Shadow for
HardwareRenderer that is backed by native codeShadow picker for
HardwareRenderer.Shadow for
HardwareRendererObserver that is backed by native codeShadow picker for
HardwareRendererObserver.Shadow for
ImageDecoder that is backed by native codeShadow picker for
ImageDecoder.Shadow for
ImageReader that is backed by native codeShadow picker for
ImageReader.Shadow for
ImageReader.SurfaceImage that is backed by native code.Shadow picker for
ImageReader.SurfaceImage.Shadow for
Interpolator that is backed by native codeShadow picker for
Interpolator.Shadow for
LightingColorFilter that is backed by native codeShadow picker for
LightingColorFilter.Shadow for
LinearGradient that is backed by native codeShadow picker for
LinearGradient.Shadow for
LineBreaker that is backed by native codeShadow picker for
LineBreaker.Shadow for
MaskFilter that is backed by native codeShadow picker for
MaskFilter.Shadow for
Matrix that is backed by native codeShadow for
MeasuredParagraph that is backed by native codeShadow picker for
MeasuredParagraph.Shadow for
MeasuredText that is backed by native codeShadow picker for
MeasuredText.Shadow for
MeasuredText.Builder that is backed by native codeShadow picker for
MeasuredText.Builder.Shadow for
NativeInterpolatorFactory that is backed by native codeShadow picker for
NativeInterpolatorFactory.Shadow for
NinePatch that is backed by native codeShadow picker for
NinePatch.Shadow for
Paint that is backed by native codeShadow picker for
Paint.Shadow for
Path that is backed by native codeShadow for
PathDashPathEffect that is backed by native codeShadow picker for
PathDashPathEffect.Shadow for
PathEffect that is backed by native codeShadow picker for
PathEffect.Shadow for
PathMeasure that is backed by native codeShadow picker for
PathMeasure.Shadow for
PathParser that is backed by native codeShadow picker for
PathParser.Shadow for
Picture that is backed by native codeShadow picker for
Picture.Shadow for
PorterDuffColorFilter that is backed by native codeShadow picker for
PorterDuffColorFilter.Shadow for
PositionedGlyphs that is backed by native codeShadow picker for
PositionedGlyphs.Shadow for
PropertyValuesHolder that is backed by native codeShadow picker for
PropertyValuesHolder.Shadow for
RadialGradient that is backed by native codeShadow picker for
RadialGradient.Shadow for
RecordingCanvas that is backed by native codeShadow picker for
RecordingCanvas.Shadow for
Region that is backed by native codeShadow picker for
Region.Shadow for
RegionIterator that is backed by native codeShadow picker for
RegionIterator.Shadow for
RenderEffect that is backed by native codeShadow picker for
RenderEffect.Shadow for
RenderNode that is backed by native codeShadow picker for
RenderNode.Shadow for
RenderNodeAnimator that is backed by native codeShadow picker for
RenderNodeAnimator.Shadow for
RenderNodeAnimator for Android Q and below that is backed by
native codeShadow picker for
RenderNodeAnimator.Shadow for
android.view.RenderNode that is backed by native codeShadow picker for
android.view.RenderNode.Shadow for
RuntimeShader that is backed by native codeShadow picker for
RuntimeShader.Shadow for
Shader that is backed by native codeShadow picker for
Shader.Shadow for
SQLiteConnection that is backed by native codeShadow for
StaticLayout that is backed by native code for Android O-P.Shadow picker for
StaticLayout.Shadow for
SumPathEffect that is backed by native codeShadow picker for
SumPathEffect.Shadow for
Surface that is backed by native codeShadow picker for
Surface.Shadow for
SweepGradient that is backed by native codeShadow picker for
SweepGradient.Shadow for
SystemFonts for the Robolectric native runtime.Shadow picker for
SystemFonts.Shadow for
TableMaskFilter that is backed by native codeShadow picker for
TableMaskFilter.Shadow for
TextRunShaper that is backed by native codeShadow picker for
MeasuredText.Shadow for
ThreadedRenderer that is backed by native codeShadow picker for
ThreadedRenderer.Shadow for
Typeface that is backed by native codeShadow for
Typeface.Builder.Shadow picker for
Typeface.Builder.Shadow for
VectorDrawable that is backed by native codeShadow picker for
VectorDrawable.Shadow for
VirtualRefBasePtr that is backed by native codeShadow picker for
VirtualRefBasePtr.Robolectic provides overrides for fetching and updating transport.
Provides testing APIs for
NetworkScoreManager.Shadow implementation of
NfcAdapter.Shadow for new NfcFrameworkInitializer class in U.
Shadow for
NativeAllocationRegistry that is a no-op.Shadow implementation of
NotificationListenerService.Shadows for NotificationManager.
A Shadow for android.system.Os
Shadow for
OverlayConfig.Shadow of
PackageBackwardCompatibility to handle a scenario that can come up when
multiple Android versions end up on the classpathShadow for PackageInstaller.
Shadow for PackageInstaller.Session.
Shadow for PackageInstaller.SessionInfo.
Settings for a particular package.
Accessor interface for
PackageParser.Package's internals.Shadow for
PaintDrawable.Base class for
ShadowPath classes.Shadow picker for
Path.A
AsyncTask shadow for LooperMode.Mode.PAUSEDThe shadow
AsyncTaskLoader for LooperMode.Mode.PAUSED.A
Choreographer shadow for LooperMode.Mode.PAUSED.The shadow Looper for
and @link
LooperMode.Mode.INSTRUMENTATION_TEST.The shadow
Message for LooperMode.Mode.PAUSED.The shadow MessageQueue} for
LooperMode.Mode.PAUSEDA shadow SystemClock used when
LooperMode.Mode#PAUSED is active.Shadow for
Phone.Shadow for PhoneWindow for APIs 23+
Shadow for the API 16-22 PhoneWindow.li
Shadow for PixelCopy that uses View.draw to create screenshots.
Shadow for
libcore.io.PosixShadow of PowerManager
Shadow of
PowerManager.LowPowerStandbyPortsLock to allow testing state.Shadow for ThreadedRenderer.ProcessInitializer.
Shadow for
PropertyValuesHolder that works around the ART/JVM differences of accessing
methods.Shadow for private class PublicFormatUtils.
Shadow of
QuickAccessWalletServiceShadow for
RangingResult.A builder for creating ShadowRangingResults.
Adds Robolectric support for UWB ranging.
Adapter interface for state change events, provided by the tester to dictate ranging results.
Shadow for
NotificationListenerService.Ranking.A shadow for
RcsUceAdapter.A data class holding the info for a failed capabilities exchange
Copy of ShadowRenderNodeAnimator that reflects move of RenderNodeAnimator to android.graphics in
R
Utilities for
ResolveInfo.Shadow of
Resources.Listener callback that's called when the configuration is updated for a resources.
Shadow for
Resources.Theme.Shadow for
Resources.NotFoundException.Base class for shadows of
Resources.Theme.Shadow picker for
ShadowResources.ShadowTheme.Shadow of
RestrictionsManager.A shadow implementation of
RingtoneManager.Shadow for
RoleControllerManagerA shadow implementation of
RoleManager.A Shadow for android.content.rollback.RollbackManager added in Android Q.
Shadow for RotationWatcher for API 23+
Shadow for RotationWatcher for API 16-22
Shadow mapper.
Shadow for
SafetyCenterManager.Shadow for
ServiceManager.Shadow for
Settings.Config.A
SharedMemory fake that uses a private temporary disk file for storage and Java's MappedByteBuffer for the memory mappings.Placeholder container class for nested shadow class
Shadow of
SliceManager.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).Shadow of SoftKeyboardController.
Record of a single call to
SoundPool.play(int, float, float, int, int, float).A Shadow SoundTriggerManager in Android O+.
Robolectric shadow for SpeechRecognizer.
The base shadow class for
SQLiteConnection shadow APIs.Avoid calls to setIdleConnectionTimeout.
Robolectic doesn't provide actual filesystem stats; rather, it provides the ability to specify
stats values in advance.
Shadow for android.text.StaticLayout
Shadow for
StatsLogSingle atom log item for write api.
Shadow for
ShadowStatsManagerRobolectric implementation of
StatusBarManager.Fake implementation of
StorageManagerFake implementation of
StorageStatsManager that provides a fake
implementation of query for StorageStats of a package.Builder class to create instance of
SubscriptionInfo.Shadow for
SurfaceShadow for
SurfaceControlShadow for new SurfaceSyncGroup introduced in android U.
Shadow for
SurfaceTextureRobolectric implementation of
SurfaceHolder.Shadow of
SuspendDialogInfo to expose hidden methods.The shadow API for
SystemClock.Shadow for
SystemHealthManagerAccessor interface for
android.app.SystemServiceRegistry.StaticOuterContextServiceFetcher's internals (for M).Accessor interface for
android.app.SystemServiceRegistry.StaticApplicationContextServiceFetcher's
internals (for N+).Accessor interface for
android.app.SystemServiceRegistry.StaticServiceFetcher<T extends Object>'s
internals.Shadow for
SystemVibrator.Deprecated.
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.Details about an incoming call request made via
TelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle).Details about an outgoing call request made via
TelecomManager.placeCall(android.net.Uri, android.os.Bundle).Details about an unknown call request made via
TelecomManager.addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle).Shadow for
TelephonyFrameworkInitializerTestable parameters from calls to
ShadowTelephonyManager.sendVisualVoicemailSms(java.lang.String, int, java.lang.String, android.app.PendingIntent).Implement
TextUtils.ellipsize(java.lang.CharSequence, android.text.TextPaint, float, android.text.TextUtils.TruncateAt) by truncating the text.Shadow for internal Android
TimeManager class introduced in S.Shadow of TimeZoneFinder for Android O and P.
Shadow for TimeZoneFinder on Q after Developer Preview 1.
Shadow for TimeZoneFinder on S or above.
Shadow of ToneGenerator.
Stores data about a tone played by the ToneGenerator
Shadow of
TotalCaptureResult.Shadow implementation for
Trace, which stores the traces locally in arrays (unlike the
real implementation) and allows reading them.AutoValue representation of a trace triggered by one of the async apis
Builder for traces triggered by one of the async apis
Counters emitted with the setCounter API
Builder for counters emitted with the setCounter API
Shadow for
TranslationManager.Shadow class for using
MediaController.TransportControls in tests.Base class for
ShadowTypeface classes.Contains data about a font.
Shadow picker for
Typeface.Shadow for
UiAutomation.Shadow for
UiModeManager.Shadow of
UsageStatsManager.App usage limit observer registered via
UsageStatsManager.registerAppUsageLimitObserver(int, String[], Duration, Duration, PendingIntent).App usage observer registered via
UsageStatsManager.registerAppUsageObserver(int, String[], long, TimeUnit, PendingIntent).Builder for constructing
UsageEvents.Event objects.Usage session observer registered via
UsageStatsManager#registerUsageSessionObserver(int, String[], long, TimeUnit, long, TimeUnit, PendingIntent, PendingIntent).Builder for constructing
UsageStats objects.Robolectric implementation of
UsbDeviceConnection.Robolectric implementation of
UsbManager.Accessor interface for
UsbManager's internals.Accessor interface for
UsbManager's internals (Q+).Robolectric implementation of
UsbRequest.Robolectric implementation of
UserManager.Describes the current state of the user.
Adds Robolectric support for UWB adapter state listener methods.
Adds Robolectric support for UWB ranging.
A Shadow for android.net.vcn.VcnManager added in Android S.
A data class for exposing
VibrationEffect.Composition$PrimitiveEffect, which is a
hidden non TestApi class introduced in Android R.Reflector interface for
ViewRootImpl's internals.Shadow for VirtualDeviceManager.
Shadow for inner class VirtualDeviceManager.VirtualDevice.
Shadow for VirtualInputDevice.
Shadow for VirtualKeyboard.
Shadow for VirtualMouse.
Shadow for VirtualSensor.
Shadow for VirtualTouchscreen.
Shadow for the
Visualizer class.Provides underlying data for the
ShadowVisualizer.Shadow of
VisualVoicemailService.VisualVoicemailTask.Shadow implementation of
VoiceInteractionService.Shadow implementation of
VoiceInteractionSession.Shadow implementation of
VoiceInteractor.Shadow for
VpnManager.Represents an invocation record of
WallpaperManager.sendWallpaperCommand(android.os.IBinder, java.lang.String, int, int, int, android.os.Bundle)Shadow for VirtualDeviceManager.
Shadow of
WebSettings which returns a dummy user a stub instance rather than the
User-Agent used by a WebView.Shadow of
WebStorage which constructs a stub instance rather than attempting to create a
full Chromium-backed instance.Shadow Implementation of
WifiAwareManagerShadow Implementation of
WifiConfigurationShadow for
WifiManager.Class to record scores passed to WifiManager#updateWifiUsabilityScore
Shadow for
WifiRttManager.Shadow for
WindowManagerGlobal.Shadow of XmlBlock.Parser.
Builder for
SharedLibraryInfo.Initializes sqlite native libraries.
A
ShadowPicker that selects between shadows given the SQLite modeClass to build
StorageVolumeBuilder for StreamConfigurationMap
Builder for
UiccCardInfo which includes modifications made in Android T to support MEP.Builder for
UiccPortInfo which was introduced in Android T.Builder for
UiccSlotInfo which was introduced in Android P.Class to build
VibrationAttributesBuilder for
WifiUsabilityStatsEntry.Concrete implementation of the
XmlResourceParser.Accessor interface for
Activity's internals.
MatrixCursorinstead.