Package org.robolectric.shadows
package org.robolectric.shadows
Package containing shadow classes for the Android SDK.
-
ClassDescriptionAccessor interface for
Activity's internals.Class to buildAppWidgetProviderInfoBuilder forAssociationInfo.Factory to create AttestedKeyPair.Builder forAudioDeviceInfo.Builder forAudioProfile.Represents a key value pair inShadowBackupDataInputandShadowBackupDataOutput.Builder for aBackupDataInputobject.Factory for instances ofBackupDataOutput.Builder forBarringInfo.Builder forBarringInfo.BarringServiceInfo.Builder forBrightnessChangeEvent.Class that returns iterators for a given path.Builder forCellIdentityGsm.Builder forCellIdentityLte.Builder forCellIdentityNr.Builder forCellIdentityWcdma.Builder forandroid.telephony.CellInfoWdcma.Builder forCellInfoLte.Builder forCellInfoNr.Builder forandroid.telephony.CellInfoWdcma.Builder forCellSignalStrengthGsmBuilder forCellSignalStrengthLteBuilder forCellSignalStrengthNrBuilder forCellSignalStrengthWcdmaConverter<T>Converter2<T>Factory forDevicePolicyStateBuilder forDeviceStateSensorOrientationMapwhich was introduced in Android T.Builder forDragEvent.Builder forEmergencyNumber.Factory forEnforcingAdminClass to buildEpsBearerQosSessionAttributes.Class to buildFrameMetricsDeprecated.UseGnssStatus.Builderinstead where possible.Information about a single satellite in aGnssStatus.Builder forGnssStatusBuilder.GnssSatelliteInfo.AShadowPickerthat selects between shadows given the Graphics mode.Helper class to provide hardware rendering-based screenshot toShadowPixelCopyandShadowUiAutomation.Image information descriptor.Builder forScanResult.InformationElement.Builder forInputDevice.Builder forMediaCodecInfo.Builder forMediaCodecInfo.CodecCapabilities.Builder forModuleInfoas 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.hTransliteration 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.cppBuilder class to create instance ofNetworkRegistrationInfo.Factory to createNetworkSpecifiertypes that are hidden on certain SDK levels.Class to buildNrQosSessionAttributes.Builder forPackageRollbackInfoas PackageRollbackInfo has hidden constructors, this builder class has been added as a way to make custom PackageRollbackInfo objects when needed.A more advanced builder forPhoneAccountthat gives access to some hidden methods onPhoneAccount.Builder.Factory to create PhoneCapability.Builder forMediaController.PlaybackInfoFactory forPolicyKeyBuilder forPolicyStateA Factory class representingStringPolicyValueBuilder forPreciseDataConnectionStateA builder for creating ShadowRangingResults.Class to buildRangingSessionHelper class to provide various conversion method used in handling android resources.Helper class to provide various conversion method used in handling android resources.Builder forResponderLocationBuilder forRollbackInfoas 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 forActivityManager.RunningTaskInfo.Builder forSensorEvent.Builder class to create instance ofServiceState.Shadow forAccessibilityButtonController.Shadow of AccessibilityInputConnection that provides a mechanism to simulate text input for Accessibility services using InputConnection APIs.A class that holds the arguments passed to#commitText(CharSequence, int, TextAttribute).A class that holds the arguments passed to#getSurroundingText(int, int, int).Shadow of Accessibility's InputMethod that provides a mechanism to get an accessibility input connection and editor info.Properties ofAccessibilityNodeInfothat are normally locked may be changed using test APIs.Shadow ofAccessibilityRecord.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 ofAccessibilityWindowInfothat 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 toActivity.startActivityForResult(Intent, int)Class to holds details of a startIntentSenderForResult request.Class to hold overridden activity transition details after callingActivity.overrideActivityTransition(int, int, int, int)Class to hold a permissions request, including its request code.Shadow forActivityManagerBuilder class forApplicationExitInfoShadow forActivityThread.Accessor interface forActivityThread's internals.Accessor interface forActivityThread.AppBindData's internals.ShadowAdapterView<T extends Adapter>Shadow forAlarmManager.Represents a set alarm.Shadow implementation ofAlwaysOnHotwordDetector.ShadowAlwaysOnHotwordDetector.ShadowRefreshAvailabilityTask<Params,Progress, Result> Shadow for AsyncTask kicked off in the constructor of AlwaysOnHotwordDetector for U+.ShadowAlwaysOnHotwordDetector.ShadowRefreshAvailabilityTaskPreU<Params,Progress, Result> Shadow for AsyncTask kicked off in the constructor of AlwaysOnHotwordDetector for T and below.Shadow ofAmbientContextManagerShadow forAmbientDisplayConfigurationclass.Bridge between shadows andAnimation.Shadow ofAppIntegrityManagerShadow forApplicationExitInfoShadow forApplicationPackageManager.Shadow forAppOpsManager.Class holding usage mode and exception packages.Shadow forApkAssetsfor Android P+Shadow ofAsyncQueryHandler, which calls methods synchronously.ShadowAsyncTask<Params,Progress, Result> Deprecated.AsyncTaskis deprecated in the Android SDK.Deprecated.AsyncTaskLoaderis deprecated in the Android SDK.ImplementsAudioEffectby shadowing its native methods.ShadowAudioRecordwhich by default will fulfil any requests for audio data by completely filling any requested buffers.Provides underlying data for theShadowAudioRecord.ProvidesShadowAudioRecord.AudioRecordSourcefor the givenAudioRecord.Shadow forAudioSystem.Implementation of a couple methods inAudioTrack.Listeners to be notified when data is written to anAudioTrackviaAudioTrack.write(ByteBuffer, int, int)Robolectric implementation ofAutofillManager.Shadow forBackdropFrameRendererShadow for BackupDataInput.Shadow for BackupDataOutput.A stub implementation ofBackupManagerthat 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 likeShadowBackupManager.getPackageRestoreToken(String)andShadowBackupManager.getPackageRestoreCount(String).Extends BasicTagTechnology to allow for testing.Bridge between shadow andBinder.Provides testing APIs forBiometricManagerBase class forBitmapshadows.Reflector forBitmap.Shadow picker forBitmap.Shadow ofBluetoothA2dp.Shadow forBluetoothDevice.Interceptor interface forBluetoothGattobjects.Shadow for BluetoothFrameworkInitializer.Shadow implementation ofBluetoothGatt.Shadow ofBluetoothGattServer.Shadow forBluetoothHeadsetShadow implementation ofBluetoothLeAdvertiser.Shadow ofBluetoothLeBroadcast.Adds Robolectric support for BLE scanning.Encapsulates scan params passed toBluetoothAdapterstartScan methods.Shadow ofBluetoothManagerthat makes the testing possible.Shadow forBluetoothPanShadow ofBroadcastResponseStatsfor accessing hidden APIs.Implementation ofBugreportManager.Robolectric test forCall.Robolectric test forCall.RttCall.Shadow for the system's CallLog.Call class that allows tests to configure the most recent call.Robolectric shadow to supportCallRedirectionService.The result of the redirection attempt.The captured arguments for a call that is requested to be redirected.The type of the redirection result.Shadow forCallScreeningService.Contains the parameters used to callCallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse).Shadow of the CamcorderProfile that allows the caller to add custom profile settings.Shadows the AndroidCamera.Parametersclass.Shadow class forCameraCaptureSessionImplShadow class forCameraDeviceImplShadow class forCameraManagerShadow class for internal class CameraManager$CameraManagerGlobalShadow class forCameraMetadataNativeShadow class forCameraMetadataNativeBase class forCanvasshadow classes.Shadow picker forCanvas.Captures round rectangle drawing eventsShadow ofCaptioningManager.Shadow class forCaptureRequest.Builder.Shadow ofCaptureResult.Shadow implementation ofCardEmulation.The shadow API forChoreographer.Accessor interface forChoreographer's CallbackQueue internalsAccessor interface forChoreographer's internalsShadow forCloseGuard.Shadow forMediaCodecInfo.CodecCapabilities.Shadow forColorDisplayManager.Shadow forColorSpace.Rgb.Shadow for CompanionDeviceManager.Shadow forCompatibility.Shadow forConnectionthat 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 forContentProvider.A statement used to delete content in aContentProvider.A statement used to insert content into aContentProvider.A statement used to modify content in aContentProvider.A statement used to update content in aContentProvider.Shadow forContextHubClient.Shadow forContextHubManager.Reflector interface forContextImpl's internals.Robolectric implementation ofCrossProfileApps.Container object to hold parameters passed toShadowCrossProfileApps.startMainActivity(ComponentName, UserHandle)orShadowCrossProfileApps.startActivity(ComponentName, UserHandle),ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity),ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity, Bundle).Deprecated.The base shadow class forCursorWindow.ShadowShadowCursorWindow.PickerforShadowCursorWindowShadow forDateUtils.Shadow forDevicePolicyManager.Shadow forDevicePolicyResourcesManager.Shadow implementation of dalvik.system.Dexfile.It is possible to override some display properties using setters onShadowDisplay.Shadow ofDisplayEventReceiver.Reflector interface forDisplayEventReceiver's internals.Shadow ofDisplayHashManager.Shadow forandroid.view.DisplayListCanvasfrom API versions M to RFor tests, display properties may be changed and devices may be added or removed programmatically.Builder class forDisplay.ModeShadow forDisplayManagerGlobal.Shadow implementation ofDistanceMeasurementManager.Value class to represent a "completed download" sent toDownloadManagerusing the addCompletedDownload APIs.Fake dropbox manager that starts with no entries.ImplementsDynamicsProcessingby relying onShadowAudioEffect.Shadow forEdgeEffectShadow for EGL14.Class to buildEventLog.EventShadow forFileIntegrityManager.A shadow implementation of FileObserver that uses java.nio.file.WatchService.Provides testing APIs forFingerprintManagerShadow forFloatMath.Shadow forFontfor Android SShadow forFont.BuilderShadow forFontFamily.Shadow forFontFamily.Builder.Fake implementation for Gainmap class.Fake implementation ofGLES20Fake implementation of GLSurfaceViewShadow of android.hardware.HardwareBuffer.No-op shadow forHardwareRenderer.Activates Hidl supportShadow forImageReaderShadow forImageSupports IMS by default.Shadow forInCallAdapter.Shadow forInCallService.Shadow class forIncidentManager.Shadow InetAddressUtils class that doesn't use native Libcore function.Deprecated.useInputDeviceBuilder.Shadow forInputManagerShadow for new InputManagerGlobal introduced in android U.Shadow for InputMethodManager.Handler for receiving PrivateCommands.Handler for receiving soft input visibility changed event.Shadow forInsetsAnimationThread.Shadow ofInsetsSource.Shadow ofInsetsState.Reflector interface forInstrumentation's internals.Extends IsoDep to allow for testing.Shadow forKeyEvent.An implementation ofKeyguardManager.KeyguardLock, for use in tests.Shadow ofLauncherApps.ShadowLegacyAsyncTask<Params,Progress, Result> Deprecated.AsyncTaskis deprecated in the Android SDK.Deprecated.AsyncTaskLoaderis deprecated in the Android SDK.Broken.TheChoreographershadow forLooperMode.Mode.PAUSED.Legacy shadow forCursorWindow.The shadow Looper implementation forLooperMode.Mode.LEGACY.The shadowMessageforLooperMode.Mode.LEGACY.The shadowMessageQueueforLooperMode.Mode.LEGACY.The shadow only supports straight-line paths.Shadow forSQLiteConnectionthat is backed by sqlite4java.A shadow SystemClock forLooperMode.Mode.LEGACYShadow forTypeface.Shadow picker forTypeface.CustomFallbackBuilder.Shadow forTypeface.BuilderShadow forTypeface.CustomFallbackBuilderthat populatesShadowLegacyTypeface.descriptionShadow for android.graphics.text.LineBreakerAccessor interface forLoadedApk's internals.Robolectric only supports en_US regardless of the default locale set in the JVM.Shadow forLocaleListShadow ofLocaleManagerShadow forLocationManager.ProviderProperties is not public prior to S, so a new class is required to represent it prior to that platform.LocationRequest is not public prior to S, so a new class is required to represent it prior to those platforms.Controls the behavior ofLogand provides access to log messages.A single log item.The base shadow API class for controlling Loopers.Shadow of MagnificationController.Shadow picker forMatrix.A shadow implementation ofMediaActionSound.Implementation ofMediaCodecwhich supports both asynchronous and synchronous modes.Configuration that can be supplied toShadowMediaCodecto simulate actual encoding/decoding.A codec is implemented as part of the configuration to allow theShadowMediaCodecto simulate actual encoding/decoding.Shadows CodecBuffer to prevent attempting to free non-direct ByteBuffer objects.Implementation ofMediaCodecList.Implementation ofMediaController.A shadow for the MediaExtractor class.Implementation ofMediaMuxerwhich 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 newMediaPlayerinstance 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 aShadowMediaPlayer.MediaInfofor a givenDataSource.Possible states for the media player to be in.Shadow class forMediaRouter.Shadow ofMediaScannerConnectionShadow forMediaSessionManager.Shadow forMediaStore.Event info forMediaStore.notifyCloudMediaChangedEvent(android.content.ContentResolver, java.lang.String, java.lang.String)notify events.Shadow forMediaStore.Images.Shadow forMediaStore.Images.Media.Shadow forMediaStore.Images.Thumbnails.Shadow forMediaStore.Video.Shadow forMediaStore.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 forMessage.The shadow Picker for this classThe shadow API forMessageQueue.The shadow Picker for this class.Deprecated.run on Android APIs >= S, which allows the real Android mime type data to be usedShadow of MotionEvent.Shadow forNativeAllocationRegistrythat is backed by native codeShadow picker forNativeAllocationRegistry.Shadow forAnimatedImageDrawablethat is backed by native codeShadow picker forAnimatedImageDrawable.Shadow forAnimatedVectorDrawablethat is backed by native codeShadow picker forAnimatedVectorDrawable.Shadow forBaseCanvasthat is backed by native codeShadow picker forBaseCanvas.Shadow forBaseRecordingCanvasthat is backed by native codeShadow picker forBaseRecordingCanvas.Shadow forBitmapthat is backed by native codeDisable the legacy ShadowBitmapDrawable as it fakes the draw logic.Shadow picker forBitmapDrawable.Shadow forBitmapFactorythat is backed by native codeShadow picker forBitmapFactory.Shadow forBitmapShaderthat is backed by native codeShadow picker forBitmapShader.Shadow forBlendModeColorFilterthat is backed by native codeShadow picker forBlendModeColorFilter.Shadow forBlurMaskFilterthat is backed by native codeShadow picker forBlurMaskFilter.Shadow forCanvasthat is backed by native codeShadow forCanvasPropertythat is backed by native codeShadow picker forCanvasProperty.Shadow forColorthat is backed by native codeShadow picker forColor.Shadow forColorFilterthat is backed by native codeShadow picker forColorFilter.Shadow forColorMatrixColorFilterthat is backed by native codeShadow picker forColorMatrixColorFilter.Shadow forColorSpace.Rgbthat is backed by native codeShadow picker forColorSpace.Rgb.Shadow forColorSpace.Rgb.Nativethat contains native functions.Shadow picker forColorSpace.Native.Shadow forComposePathEffectthat is backed by native codeShadow picker forComposePathEffect.Shadow forComposeShaderthat is backed by native codeShadow picker forComposeShader.Shadow forCornerPathEffectthat is backed by native codeShadow picker forCornerPathEffect.Shadow forCursorWindowthat is backed by native codeShadow forDashPathEffectthat is backed by native codeShadow picker forDashPathEffect.Shadow forDiscretePathEffectthat is backed by native codeShadow picker forDiscretePathEffect.Shadow forandroid.view.DisplayListCanvasthat is backed by native codeShadow picker forandroid.view.DisplayListCanvas.Shadow forEmbossMaskFilterthat is backed by native codeShadow picker forEmbossMaskFilter.Shadow forFontthat is backed by native codeShadow picker forFont.Shadow forFont.Builderthat is backed by native codeShadow picker forFont.Builder.Shadow forFontFamilythat is backed by native codeShadow picker forFontFamily.Shadow forFontFileUtilthat is backed by native codeShadow picker forFontFileUtil.Shadow forFontFamilythat is backed by native codeShadow picker forFontFamily.Shadow forFontFamily.Builderthat is backed by native codeShadow picker forFontFamily.Builder.Shadow forHardwareRendererthat is backed by native codeShadow picker forHardwareRenderer.Shadow forHardwareRendererObserverthat is backed by native codeShadow picker forHardwareRendererObserver.Shadow forImageDecoderthat is backed by native codeShadow picker forImageDecoder.Shadow forImageReaderthat is backed by native codeShadow picker forImageReader.Shadow forImageReader.SurfaceImagethat is backed by native code.Shadow picker forImageReader.SurfaceImage.Shadow forInterpolatorthat is backed by native codeShadow picker forInterpolator.Shadow forLightingColorFilterthat is backed by native codeShadow picker forLightingColorFilter.Shadow forLinearGradientthat is backed by native codeShadow picker forLinearGradient.Shadow forLineBreakerthat is backed by native codeShadow picker forLineBreaker.Shadow forMaskFilterthat is backed by native codeShadow picker forMaskFilter.Shadow forMatrixthat is backed by native codeShadow forMatrix.ExtraNativesthat contains native functions.Shadow picker forMatrix.ExtraNatives.Shadow forMeasuredParagraphthat is backed by native codeShadow picker forMeasuredParagraph.Shadow forMeasuredTextthat is backed by native codeShadow picker forMeasuredText.Shadow forMeasuredText.Builderthat is backed by native codeShadow picker forMeasuredText.Builder.Shadow forNativeInterpolatorFactorythat is backed by native codeShadow picker forNativeInterpolatorFactory.Shadow forNinePatchthat is backed by native codeShadow picker forNinePatch.Shadow forPaintthat is backed by native codeShadow picker forPaint.Shadow forPaththat is backed by native codeShadow forPathDashPathEffectthat is backed by native codeShadow picker forPathDashPathEffect.Shadow forPathEffectthat is backed by native codeShadow picker forPathEffect.Shadow forPathIteratorthat is backed by native code.Shadow picker forPathIterator.Shadow forPathMeasurethat is backed by native codeShadow picker forPathMeasure.Shadow forPathParserthat is backed by native codeShadow picker forPathParser.Shadow forPicturethat is backed by native codeShadow picker forPicture.Shadow forPorterDuffColorFilterthat is backed by native codeShadow picker forPorterDuffColorFilter.Shadow forPositionedGlyphsthat is backed by native codeShadow picker forPositionedGlyphs.Shadow forPropertyValuesHolderthat is backed by native codeShadow picker forPropertyValuesHolder.Shadow forRadialGradientthat is backed by native codeShadow picker forRadialGradient.Shadow forRecordingCanvasthat is backed by native codeShadow picker forRecordingCanvas.Shadow for android.view.RecordingCanvas.Shadow picker for android.view.RecordingCanvasOP.Shadow forRegionthat is backed by native codeShadow picker forRegion.Shadow forRegionIteratorthat is backed by native codeShadow picker forRegionIterator.Shadow forRenderEffectthat is backed by native codeShadow picker forRenderEffect.Shadow forRenderNodethat is backed by native codeShadow picker forRenderNode.Shadow forRenderNodeAnimatorthat is backed by native codeShadow picker forRenderNodeAnimator.Shadow forRenderNodeAnimatorfor Android Q and below that is backed by native codeShadow picker forRenderNodeAnimator.Shadow forRenderNodethat is backed by native codeShadow picker forRenderNode.Shadow forRuntimeShaderthat is backed by native codeShadow picker forRuntimeShader.Shadow forShaderthat is backed by native codeShadow picker forShader.Shadow forSQLiteConnectionthat is backed by native codeShadow forSQLiteRawStatement.Shadow forStaticLayoutthat is backed by native code for Android O-P.Shadow picker forStaticLayout.Shadow forSumPathEffectthat is backed by native codeShadow picker forSumPathEffect.Shadow forSurfacethat is backed by native codeShadow picker forSurface.Shadow forSweepGradientthat is backed by native codeShadow picker forSweepGradient.Shadow forSystemFontsfor the Robolectric native runtime.Shadow picker forSystemFonts.Shadow forTableMaskFilterthat is backed by native codeShadow picker forTableMaskFilter.Shadow forTextRunShaperthat is backed by native codeShadow picker forMeasuredText.Shadow forThreadedRendererthat is backed by native codeShadow picker forThreadedRenderer.Shadow forTypefacethat is backed by native codeShadow forTypeface.Builder.Shadow picker forTypeface.Builder.Shadow forVectorDrawablethat is backed by native codeShadow picker forVectorDrawable.Shadow forVirtualRefBasePtrthat is backed by native codeShadow picker forVirtualRefBasePtr.Robolectric provides overrides for fetching and updating transport.Provides testing APIs forNetworkScoreManager.Shadow implementation ofNfcAdapter.Shadow for new NfcFrameworkInitializer class in U.Shadow forNativeAllocationRegistrythat is a no-op.Shadow implementation ofNotificationListenerService.Shadows for NotificationManager.Shadow forNsdManager.A Shadow for android.system.OsShadow forOverlayConfig.Basic shadow implementation for theOverlayManager.Shadow ofandroid.content.pm.PackageBackwardCompatibilityto handle a scenario that can come up when multiple Android versions end up on the classpath.Shadow for PackageInstaller.Shadow for PackageInstaller.Session.Shadow for PackageInstaller.SessionInfo.Settings for a particular package.Accessor interface forPackageParser.Package's internals.Shadow forPaintDrawable.Base class forShadowPathclasses.Shadow picker forPath.Shadow forPathIteratorin LEGACY graphics.ShadowPausedAsyncTask<Params,Progress, Result> Deprecated.AsyncTaskis deprecated in the Android SDK.Deprecated.AsyncTaskLoaderis deprecated in the Android SDK.AChoreographershadow forLooperMode.Mode.PAUSED.The shadow Looper forLooperMode.Mode.PAUSEDandLooperMode.Mode.INSTRUMENTATION_TEST.The shadowMessageforLooperMode.Mode.PAUSED.The shadow MessageQueue} forLooperMode.Mode.PAUSEDA shadow SystemClock used whenLooperMode.Mode.PAUSEDis active.Shadow forPermissionControllerManager.Shadow forPhone.Shadow for PhoneWindow for APIs 23+Shadow for the API 16-22 PhoneWindow.Shadow for PixelCopy that uses View.draw to create screenshots.Shadow forPosixShadow of PowerManagerShadow ofPowerManager.LowPowerStandbyPortsLockto allow testing state.Shadow for ThreadedRenderer.ProcessInitializer.Shadow forPropertyValuesHolderthat works around the ART/JVM differences of accessing methods.Shadow for private class PublicFormatUtils.Shadow ofQuickAccessWalletServiceDeprecated.UseRangingResultBuilderinstead.Deprecated.UseRangingResultBuilderinstead.Adds Robolectric support for UWB ranging.Adapter interface for state change events, provided by the tester to dictate ranging results.Shadow forNotificationListenerService.Ranking.A shadow forRcsUceAdapter.A data class holding the info for a failed capabilities exchangeShadow for RemoteAccessibilityInputConnection, used by AccessibilityInputConnection.ShadowRemoteCallbackList<E extends IInterface>Shadow class forRemoteViewsAdapter.Shadow forRenderNodeAnimator.Copy of ShadowRenderNodeAnimator that reflects move of RenderNodeAnimator to android.graphics in RUtilities forResolveInfo.Shadow ofResources.Listener callback that's called when the configuration is updated for a resources.Shadow forResources.NotFoundException.Shadow ofRestrictionsManager.A shadow implementation ofRingtoneManager.Shadow forRoleControllerManagerA shadow implementation ofRoleManager.A Shadow for android.content.rollback.RollbackManager added in Android Q.Shadow for RotationWatcher for API 23+Shadow for RotationWatcher for API 16-22Shadow forSafetyCenterManager.Shadow ofShadowSecureElementService.SecureElementServiceProvide fake SE applet behaviorShadow forSensorManager.Shadow forServiceManager.Shadow forSettings.Config.ASharedMemoryfake that uses a private temporary disk file for storage and Java'sMappedByteBufferfor the memory mappings.Placeholder container class for nested shadow classShadow ofSliceManager.Base class for testable parameters from calls to eitherShadowSmsManager.downloadMultimediaMessage(android.content.Context, java.lang.String, android.net.Uri, android.os.Bundle, android.app.PendingIntent)orShadowSmsManager.downloadMultimediaMessage(android.content.Context, java.lang.String, android.net.Uri, android.os.Bundle, android.app.PendingIntent).Shadow of SoftKeyboardController.Record of a single call toSoundPool.play(int, float, float, int, int, float).A Shadow SoundTriggerManager in Android O+.Robolectric shadow for SpeechRecognizer.An interface to access direct functions/variables of an instance ofSpeechRecognizer.The state of a specific instance ofShadowSpeechRecognizer.Robolectric shadow for SpeechRecognizerImpl.Robolectric shadow for SpeechRecognizerProxy.The base shadow class forSQLiteConnectionshadow APIs.Avoid calls to setIdleConnectionTimeout.Robolectric doesn't provide actual filesystem stats; rather, it provides the ability to specify stats values in advance.Shadow for android.text.StaticLayoutShadow forStatsLogSingle atom log item for write api.Shadow forStatsManager.A key used to store the configKey and subscriberId in the broadcastSubscriberMap.Robolectric implementation ofStatusBarManager.Fake implementation ofStorageManagerFake implementation ofStorageStatsManagerthat provides a fake implementation of query forStorageStatsof a package.Builder class to create instance ofSubscriptionInfo.Shadow forSurfaceShadow forSurfaceControlShadow for new SurfaceSyncGroup introduced in android U.Shadow forSurfaceTextureRobolectric implementation ofSurfaceHolder.Shadow ofSuspendDialogInfoto expose hidden methods.The shadow API forSystemClock.Shadow forSystemHealthManagerAccessor interface forandroid.app.SystemServiceRegistry.StaticOuterContextServiceFetcher's internals (for M).Accessor interface forandroid.app.SystemServiceRegistry.StaticApplicationContextServiceFetcher's internals (for N+).Accessor interface forandroid.app.SystemServiceRegistry.StaticServiceFetcher<T extends Object>'s internals.Shadow forSystemVibrator.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 viaTelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle).Details about an outgoing call request made viaTelecomManager.placeCall(android.net.Uri, android.os.Bundle).Details about an unknown call request made viaTelecomManager.addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle).Shadow forTelephonyFrameworkInitializerShadow forTelephonyManager.Testable parameters from calls toShadowTelephonyManager.sendVisualVoicemailSms(java.lang.String, int, java.lang.String, android.app.PendingIntent).Shadow forTextClassifierServiceImplementTextUtils.ellipsize(java.lang.CharSequence, android.text.TextPaint, float, android.text.TextUtils.TruncateAt)by truncating the text.Shadow for internal AndroidTimeManagerclass 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 ToneGeneratorShadow ofTotalCaptureResult.Shadow implementation forTrace, 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 apisBuilder for traces triggered by one of the async apisCounters emitted with the setCounter APIBuilder for counters emitted with the setCounter APIShadow forTranslationManager.Shadow class for usingMediaController.TransportControlsin tests.Base class forShadowTypefaceclasses.Contains data about a font.Shadow picker forTypeface.Shadow forUiAutomation.Shadow forUiModeManager.Shadow ofUsageStatsManager.App usage limit observer registered viaUsageStatsManager.registerAppUsageLimitObserver(int, String[], Duration, Duration, PendingIntent).App usage observer registered viaUsageStatsManager.registerAppUsageObserver(int, String[], long, TimeUnit, PendingIntent).Builder for constructingUsageEvents.Eventobjects.Usage session observer registered viaUsageStatsManager.registerUsageSessionObserver(int, String[], Duration, Duration, PendingIntent, PendingIntent).Builder for constructingUsageStatsobjects.Robolectric implementation ofUsbDeviceConnection.Robolectric implementation ofUsbManager.Accessor interface forUsbManager's internals (Q+).Accessor interface forUsbManager's internals.Robolectric implementation ofUsbRequest.Robolectric implementation ofUserManager.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 exposingVibrationEffect.Composition$PrimitiveEffect, which is a hidden non TestApi class introduced in Android R.Reflector interface forViewRootImpl'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 theVisualizerclass.Provides underlying data for theShadowVisualizer.Shadow ofVisualVoicemailService.VisualVoicemailTask.Shadow implementation ofVoiceInteractionService.Shadow implementation ofVoiceInteractionSession.Shadow implementation ofVoiceInteractor.Shadow forVpnManager.Represents an invocation record ofWallpaperManager.sendWallpaperCommand(android.os.IBinder, java.lang.String, int, int, int, android.os.Bundle)Shadow for VirtualDeviceManager.Shadow ofWebSettingswhich returns a dummy user a stub instance rather than the User-Agent used by a WebView.Shadow ofWebStoragewhich constructs a stub instance rather than attempting to create a full Chromium-backed instance.Shadow Implementation ofWifiAwareManagerShadow Implementation ofWifiConfigurationShadow forWifiManager.Class to record scores passed to WifiManager#updateWifiUsabilityScoreShadow forWifiRttManager.Shadow forWifiScanner.Shadow forWindowManagerGlobal.Ongoing predictive back gesture.Shadow forWindowOnBackInvokedDispatcher.Shadow of XmlBlock.Parser.Builder forSharedLibraryInfo.Builder forSignalStrengthAShadowPickerthat selects between shadows given the SQLite modeClass to buildStorageVolumeBuilder for StreamConfigurationMapBuilder forUiccCardInfowhich includes modifications made in Android T to support MEP.Builder forUiccPortInfowhich was introduced in Android T.Builder forUiccSlotInfowhich was introduced in Android P.Class to buildVibrationAttributesBuilder class forScanResultallowing for more accurate construction of Wi-Fi scan results in test code.Builder forWifiUsabilityStatsEntry.