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.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 forCellIdentityLte.Builder forCellIdentityNr.Builder forCellInfoLte.Builder forCellInfoNr.Builder forCellSignalStrengthLteBuilder forCellSignalStrengthNrConverter<T>Converter2<T>Factory forDevicePolicyStateBuilder forDeviceStateSensorOrientationMapwhich was introduced in Android T.Builder forDragEvent.Factory forEnforcingAdminClass to buildEpsBearerQosSessionAttributes.Class to buildFrameMetricsDeprecated.Information about a single satellite in aGnssStatus.Builder forGnssStatusBuilder.GnssSatelliteInfo.AShadowPickerthat selects between shadows given the Graphics mode.Image information descriptor.Creates aPackageInfofrom aAndroidManifestBuilder 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.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 forPreciseDataConnectionStateProvider<T>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 class to create instance ofServiceState.Shadow forAccessibilityButtonController.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 a permissions request, including its request code.Shadow forActivityManagerBuilder class forApplicationExitInfoAccessor 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.Shadow ofAmbientContextManagerBridge between shadows andAnimation.Shadow ofAppIntegrityManagerShadow forAppOpsManager.Class holding usage mode and excpetion packages.Shadow forApkAssetsfor Android P+Shadow ofAsyncQueryHandler, which calls methods synchronously.ShadowAsyncTask<Params,Progress, Result> The shadow API forAsyncTask.The shadow API forAsyncTaskLoader.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 ofandroid.os.AutofillManager.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, and can be verified using methods on the shadow likeShadowBackupManager.getPackageRestoreToken(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.Shadow implementation ofBluetoothGatt.Shadow ofBluetoothGattServer.Shadow forBluetoothHeadsetShadow implementation ofBluetoothLeAdvertiser.Adds Robolectric support for BLE scanning.Encapsulates scan params passed toBluetoothAdapterstartScan methods.Shadow ofBluetoothManagerthat makes the testing possible.Shadow 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.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 internalsShadow forCloseGuard.Shadow forColorSpace.Rgb.Shadow for CompanionDeviceManager.Robolectric shadow to disable CALL_ACTIVITY_RESULT_BEFORE_RESUME using Compatibility's isChangeEnabled.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 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.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.EventA 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.Shadow forImageReaderShadow forImageSupports IMS by default.Shadow forInCallAdapter.Shadow forInCallService.Shadow class forIncidentManager.Shadow InetAddressUtils class that doesn't use native Libcore function.Shadow forScanResult.InformationElement.A builder for creating ShadowInformationElement objects.Shadow forInputManagerShadow 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 forInstrumentation's internals.Extends IsoDep to allow for testing.An implementation ofKeyguardManager.KeyguardLock, for use in tests.Shadow ofLauncherApps.Shadow forApkAssetsthat is used for legacy resources.ShadowLegacyAsyncTask<Params,Progress, Result> AAsyncTaskshadow forLooperMode.Mode.LEGACY.The shadowAsyncTaskLoaderforLooperMode.Mode.LEGACY.Broken.TheChoreographershadow forLooperMode.Mode.PAUSED.Legacy shadow forCursowWindow.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 forTypeface.BuilderImplements OsConstants on APIs 20 and below.Shadow 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 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 ofLogand provides access to log messages.A single log item.Failure thrown when wtf_is_fatal is true and Log.wtf is called.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.Shadow 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 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 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 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 forMeasuredText.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 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 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.Robolectic 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.A Shadow for android.system.OsShadow forOverlayConfig.Shadow ofPackageBackwardCompatibilityto handle a scenario that can come up when multiple Android versions end up on the classpathShadow for PackageInstaller.Shadow for PackageInstaller.SessionInfo.Settings for a particular package.Accessor interface forPackageParser.Package's internals.Base class forShadowPathclasses.Shadow picker forPath.ShadowPausedAsyncTask<Params,Progress, Result> AAsyncTaskshadow forLooperMode.Mode.PAUSEDThe shadowAsyncTaskLoaderforLooperMode.Mode.PAUSED.AChoreographershadow forLooperMode.Mode.PAUSED.The shadow Looper forand @link LooperMode.Mode.INSTRUMENTATION_TEST.The shadowMessageforLooperMode.Mode.PAUSED.The shadow MessageQueue} forLooperMode.Mode.PAUSEDA shadow SystemClock used whenLooperMode.Mode.PAUSEDis active.Shadow forPhone.Shadow for PhoneWindow for APIs 23+Shadow for the API 16-22 PhoneWindow.liShadow for PixelCopy that uses View.draw to create screenshots.Shadow forPosixShadow of PowerManagerShadow ofPowerManager.LowPowerStandbyPortsLockto allow testing state.Shadow forPropertyValuesHolderthat works around the ART/JVM differences of accessing methods.Shadow for private class PublicFormatUtils.Shadow ofQuickAccessWalletServiceShadow forRangingResult.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 forNotificationListenerService.Ranking.A shadow forRcsUceAdapter.A data class holding the info for a failed capabilities exchangeShadowRemoteCallbackList<E extends IInterface>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.Theme.Shadow forResources.NotFoundException.Base class for shadows ofResources.Theme.Shadow picker forShadowResources.ShadowTheme.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 forServiceManager.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.The base shadow class forSQLiteConnectionshadow 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.StaticLayoutShadow forStatsLogSingle atom log item for write api.Shadow forShadowStatsManagerRobolectric 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.Accessor 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 forTelephonyFrameworkInitializerTestable parameters from calls toShadowTelephonyManager.sendVisualVoicemailSms(java.lang.String, int, java.lang.String, android.app.PendingIntent).ImplementTextUtils.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.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[], long, TimeUnit, long, TimeUnit, PendingIntent, PendingIntent).Builder for constructingUsageStatsobjects.Robolectric implementation ofUsbDeviceConnection.Robolectric implementation ofUsbManager.Accessor interface forUsbManager's internals.Accessor interface forUsbManager's internals (Q+).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 VirtualSensor.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 forWindowManagerGlobal.Shadow of XmlBlock.Parser.Builder forSharedLibraryInfo.AShadowPickerthat 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 forWifiUsabilityStatsEntry.
GnssStatus.Builderinstead where possible.