Index

$ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

$

$$robo$getData() - Method in interface org.robolectric.internal.bytecode.ShadowedObject
 

A

abandon() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
 
abandonAudioFocus(AudioManager.OnAudioFocusChangeListener) - Method in class org.robolectric.shadows.ShadowAudioManager
 
abandonAudioFocusRequest(AudioFocusRequest) - Method in class org.robolectric.shadows.ShadowAudioManager
Provides a mock like interface for the abandonAudioFocusRequest method by storing the request object for later inspection and returning the value specified in setNextFocusRequestResponse.
abandonSession(int) - Method in class org.robolectric.shadows.ShadowPackageInstaller
 
abortBroadcast() - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
 
abortCreation() - Method in class org.robolectric.shadows.ShadowFontFamily
 
accept(int) - Method in class org.robolectric.shadows.ShadowBluetoothServerSocket
May block the current thread and wait until BluetoothDevice is offered via ShadowBluetoothServerSocket.deviceConnected(BluetoothDevice) method or timeout occurred.
accept(T) - Method in interface org.robolectric.util.Consumer
Performs this operation on the given argument.
acceptCookie() - Method in class android.webkit.RoboCookieManager
 
acceptRingingCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
acceptThirdPartyCookies(WebView) - Method in class android.webkit.RoboCookieManager
 
ACCESS_BUFFER - Enum constant in enum org.robolectric.res.android.Asset.AccessMode
 
ACCESS_RANDOM - Enum constant in enum org.robolectric.res.android.Asset.AccessMode
 
ACCESS_STREAMING - Enum constant in enum org.robolectric.res.android.Asset.AccessMode
 
ACCESS_UNKNOWN - Enum constant in enum org.robolectric.res.android.Asset.AccessMode
 
Accessor - Annotation Type in org.robolectric.util.reflector
Indicates that the annotated method is an accessor for a non-visible field.
AConfiguration - Class in org.robolectric.res.android
 
AConfiguration() - Constructor for class org.robolectric.res.android.AConfiguration
 
ACONFIGURATION_COLOR_MODE - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for wide color gamut and HDR configurations.
ACONFIGURATION_DENSITY - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for density configuration.
ACONFIGURATION_DENSITY_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Density: any density.
ACONFIGURATION_DENSITY_DEFAULT - Static variable in class org.robolectric.res.android.AConfiguration
Density: default density.
ACONFIGURATION_DENSITY_HIGH - Static variable in class org.robolectric.res.android.AConfiguration
Density: value corresponding to the hdpi resource qualifier.
ACONFIGURATION_DENSITY_LOW - Static variable in class org.robolectric.res.android.AConfiguration
Density: value corresponding to the ldpi resource qualifier.
ACONFIGURATION_DENSITY_MEDIUM - Static variable in class org.robolectric.res.android.AConfiguration
Density: value corresponding to the mdpi resource qualifier.
ACONFIGURATION_DENSITY_NONE - Static variable in class org.robolectric.res.android.AConfiguration
Density: no density specified.
ACONFIGURATION_DENSITY_TV - Static variable in class org.robolectric.res.android.AConfiguration
Density: value corresponding to the tvdpi resource qualifier.
ACONFIGURATION_DENSITY_XHIGH - Static variable in class org.robolectric.res.android.AConfiguration
Density: value corresponding to the xhdpi resource qualifier.
ACONFIGURATION_DENSITY_XXHIGH - Static variable in class org.robolectric.res.android.AConfiguration
Density: value corresponding to the xxhdpi resource qualifier.
ACONFIGURATION_DENSITY_XXXHIGH - Static variable in class org.robolectric.res.android.AConfiguration
Density: value corresponding to the xxxhdpi resource qualifier.
ACONFIGURATION_HDR_ANY - Static variable in class org.robolectric.res.android.AConfiguration
HDR: not specified.
ACONFIGURATION_HDR_NO - Static variable in class org.robolectric.res.android.AConfiguration
HDR: value that corresponds to lowdr resource qualifier specified.
ACONFIGURATION_HDR_YES - Static variable in class org.robolectric.res.android.AConfiguration
HDR: value that corresponds to highdr resource qualifier specified.
ACONFIGURATION_KEYBOARD - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for keyboard configuration.
ACONFIGURATION_KEYBOARD_12KEY - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard: value corresponding to the 12key resource qualifier.
ACONFIGURATION_KEYBOARD_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard: not specified.
ACONFIGURATION_KEYBOARD_HIDDEN - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for keyboardHidden configuration.
ACONFIGURATION_KEYBOARD_NOKEYS - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard: value corresponding to the nokeys resource qualifier.
ACONFIGURATION_KEYBOARD_QWERTY - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard: value corresponding to the qwerty resource qualifier.
ACONFIGURATION_KEYSHIDDEN_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard availability: not specified.
ACONFIGURATION_KEYSHIDDEN_NO - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard availability: value corresponding to the keysexposed resource qualifier.
ACONFIGURATION_KEYSHIDDEN_SOFT - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard availability: value corresponding to the keyssoft resource qualifier.
ACONFIGURATION_KEYSHIDDEN_YES - Static variable in class org.robolectric.res.android.AConfiguration
Keyboard availability: value corresponding to the keyshidden resource qualifier.
ACONFIGURATION_LAYOUTDIR - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for layout direction configuration.
ACONFIGURATION_LAYOUTDIR_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Layout direction: not specified.
ACONFIGURATION_LAYOUTDIR_LTR - Static variable in class org.robolectric.res.android.AConfiguration
Layout direction: value that corresponds to ldltr resource qualifier specified.
ACONFIGURATION_LAYOUTDIR_RTL - Static variable in class org.robolectric.res.android.AConfiguration
Layout direction: value that corresponds to ldrtl resource qualifier specified.
ACONFIGURATION_LOCALE - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for locale configuration.
ACONFIGURATION_MCC - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for mcc configuration.
ACONFIGURATION_MNC - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for mnc configuration.
ACONFIGURATION_MNC_ZERO - Static variable in class org.robolectric.res.android.AConfiguration
Constant used to to represent MNC (Mobile Network Code) zero.
ACONFIGURATION_NAVHIDDEN_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Navigation availability: not specified.
ACONFIGURATION_NAVHIDDEN_NO - Static variable in class org.robolectric.res.android.AConfiguration
Navigation availability: value corresponding to the navexposed resource qualifier.
ACONFIGURATION_NAVHIDDEN_YES - Static variable in class org.robolectric.res.android.AConfiguration
Navigation availability: value corresponding to the navhidden resource qualifier.
ACONFIGURATION_NAVIGATION - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for navigation configuration.
ACONFIGURATION_NAVIGATION_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Navigation: not specified.
ACONFIGURATION_NAVIGATION_DPAD - Static variable in class org.robolectric.res.android.AConfiguration
Navigation: value corresponding to the dpad resource qualifier.
ACONFIGURATION_NAVIGATION_NONAV - Static variable in class org.robolectric.res.android.AConfiguration
Navigation: value corresponding to the nonav resource qualifier.
ACONFIGURATION_NAVIGATION_TRACKBALL - Static variable in class org.robolectric.res.android.AConfiguration
Navigation: value corresponding to the trackball resource qualifier.
ACONFIGURATION_NAVIGATION_WHEEL - Static variable in class org.robolectric.res.android.AConfiguration
Navigation: value corresponding to the wheel resource qualifier.
ACONFIGURATION_ORIENTATION - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for orientation configuration.
ACONFIGURATION_ORIENTATION_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Orientation: not specified.
ACONFIGURATION_ORIENTATION_LAND - Static variable in class org.robolectric.res.android.AConfiguration
Orientation: value corresponding to the land resource qualifier.
ACONFIGURATION_ORIENTATION_PORT - Static variable in class org.robolectric.res.android.AConfiguration
Orientation: value corresponding to the port resource qualifier.
ACONFIGURATION_ORIENTATION_SQUARE - Static variable in class org.robolectric.res.android.AConfiguration
Deprecated.
Not currently supported or used.
ACONFIGURATION_SCREEN_HEIGHT_DP_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Screen height DPI: not specified.
ACONFIGURATION_SCREEN_LAYOUT - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for screen layout configuration.
ACONFIGURATION_SCREEN_ROUND - Static variable in class org.robolectric.res.android.AConfiguration
 
ACONFIGURATION_SCREEN_SIZE - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for screen size configuration.
ACONFIGURATION_SCREEN_WIDTH_DP_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Screen width DPI: not specified.
ACONFIGURATION_SCREENLONG_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Screen layout: not specified.
ACONFIGURATION_SCREENLONG_NO - Static variable in class org.robolectric.res.android.AConfiguration
Screen layout: value that corresponds to the notlong resource qualifier.
ACONFIGURATION_SCREENLONG_YES - Static variable in class org.robolectric.res.android.AConfiguration
Screen layout: value that corresponds to the long resource qualifier.
ACONFIGURATION_SCREENROUND_ANY - Static variable in class org.robolectric.res.android.AConfiguration
 
ACONFIGURATION_SCREENROUND_NO - Static variable in class org.robolectric.res.android.AConfiguration
 
ACONFIGURATION_SCREENROUND_YES - Static variable in class org.robolectric.res.android.AConfiguration
 
ACONFIGURATION_SCREENSIZE_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Screen size: not specified.
ACONFIGURATION_SCREENSIZE_LARGE - Static variable in class org.robolectric.res.android.AConfiguration
Screen size: value indicating the screen is at least approximately 480x640 dp units, corresponding to the large resource qualifier.
ACONFIGURATION_SCREENSIZE_NORMAL - Static variable in class org.robolectric.res.android.AConfiguration
Screen size: value indicating the screen is at least approximately 320x470 dp units, corresponding to the normal resource qualifier.
ACONFIGURATION_SCREENSIZE_SMALL - Static variable in class org.robolectric.res.android.AConfiguration
Screen size: value indicating the screen is at least approximately 320x426 dp units, corresponding to the small resource qualifier.
ACONFIGURATION_SCREENSIZE_XLARGE - Static variable in class org.robolectric.res.android.AConfiguration
Screen size: value indicating the screen is at least approximately 720x960 dp units, corresponding to the xlarge resource qualifier.
ACONFIGURATION_SMALLEST_SCREEN_SIZE - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for smallest screen width configuration.
ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Smallest screen width DPI: not specified.
ACONFIGURATION_TOUCHSCREEN - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for touchscreen configuration.
ACONFIGURATION_TOUCHSCREEN_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Touchscreen: not specified.
ACONFIGURATION_TOUCHSCREEN_FINGER - Static variable in class org.robolectric.res.android.AConfiguration
Touchscreen: value corresponding to the finger resource qualifier.
ACONFIGURATION_TOUCHSCREEN_NOTOUCH - Static variable in class org.robolectric.res.android.AConfiguration
Touchscreen: value corresponding to the notouch resource qualifier.
ACONFIGURATION_TOUCHSCREEN_STYLUS - Static variable in class org.robolectric.res.android.AConfiguration
Deprecated.
Not currently supported or used.
ACONFIGURATION_UI_MODE - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for ui mode configuration.
ACONFIGURATION_UI_MODE_NIGHT_ANY - Static variable in class org.robolectric.res.android.AConfiguration
UI night mode: not specified.
ACONFIGURATION_UI_MODE_NIGHT_NO - Static variable in class org.robolectric.res.android.AConfiguration
UI night mode: value that corresponds to notnight resource qualifier specified.
ACONFIGURATION_UI_MODE_NIGHT_YES - Static variable in class org.robolectric.res.android.AConfiguration
UI night mode: value that corresponds to night resource qualifier specified.
ACONFIGURATION_UI_MODE_TYPE_ANY - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: not specified.
ACONFIGURATION_UI_MODE_TYPE_APPLIANCE - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: value that corresponds to appliance resource qualifier specified.
ACONFIGURATION_UI_MODE_TYPE_CAR - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: value that corresponds to car resource qualifier specified.
ACONFIGURATION_UI_MODE_TYPE_DESK - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: value that corresponds to desk resource qualifier specified.
ACONFIGURATION_UI_MODE_TYPE_NORMAL - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: value that corresponds to no UI mode type resource qualifier specified.
ACONFIGURATION_UI_MODE_TYPE_TELEVISION - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: value that corresponds to television resource qualifier specified.
ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: value that corresponds to vr resource qualifier specified.
ACONFIGURATION_UI_MODE_TYPE_WATCH - Static variable in class org.robolectric.res.android.AConfiguration
UI mode: value that corresponds to watch resource qualifier specified.
ACONFIGURATION_VERSION - Static variable in class org.robolectric.res.android.AConfiguration
Bit mask for platform version configuration.
ACONFIGURATION_WIDE_COLOR_GAMUT_ANY - Static variable in class org.robolectric.res.android.AConfiguration
Wide color gamut: not specified.
ACONFIGURATION_WIDE_COLOR_GAMUT_NO - Static variable in class org.robolectric.res.android.AConfiguration
Wide color gamut: value that corresponds to no nowidecg resource qualifier specified.
ACONFIGURATION_WIDE_COLOR_GAMUT_YES - Static variable in class org.robolectric.res.android.AConfiguration
Wide color gamut: value that corresponds to widecg resource qualifier specified.
acquire() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowLowPowerStandbyPortsLock
 
acquire() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
 
acquire() - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowMulticastLock
 
acquire() - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
 
acquire(long) - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
 
ACQUIRE_MAX_IMAGES - Static variable in class org.robolectric.nativeruntime.ImageReaderNatives
Returned by nativeImageSetup when we couldn't acquire the buffer because the consumer has already acquired maxImages and cannot acquire more than that.
ACQUIRE_NO_BUFS - Static variable in class org.robolectric.nativeruntime.ImageReaderNatives
Returned by nativeImageSetup when we couldn't acquire the buffer, because there were no buffers available to acquire.
ACQUIRE_SUCCESS - Static variable in class org.robolectric.nativeruntime.ImageReaderNatives
Returned by nativeImageSetup when acquiring the image was successful.
acquireContentProviderClient(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
 
acquireContentProviderClient(String) - Method in class org.robolectric.shadows.ShadowContentResolver
 
acquireProvider(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
 
acquireProvider(String) - Method in class org.robolectric.shadows.ShadowContentResolver
 
acquireUnstableContentProviderClient(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
 
acquireUnstableContentProviderClient(String) - Method in class org.robolectric.shadows.ShadowContentResolver
 
acquireUnstableProvider(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
 
acquireUnstableProvider(String) - Method in class org.robolectric.shadows.ShadowContentResolver
 
action - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord
activateResetToken(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
Activates reset token for given admin.
ActivityController<T extends Activity> - Class in org.robolectric.android.controller
ActivityController provides low-level APIs to control activity's lifecycle.
ActivityData - Class in org.robolectric.manifest
 
ActivityData(String, Map<String, String>, List<IntentFilterData>) - Constructor for class org.robolectric.manifest.ActivityData
 
ActivityData(String, Map<String, String>, List<IntentFilterData>, ActivityData, MetaData) - Constructor for class org.robolectric.manifest.ActivityData
 
ActivityData(Map<String, String>, List<IntentFilterData>) - Constructor for class org.robolectric.manifest.ActivityData
 
activityThreadReflector - Variable in class org.robolectric.shadows.ShadowActivityThread
 
actualIsPublic() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
 
add(int) - Method in class org.robolectric.fakes.RoboMenu
 
add(int, int, int, int) - Method in class org.robolectric.fakes.RoboMenu
 
add(int, int, int, CharSequence) - Method in class org.robolectric.fakes.RoboMenu
 
add(CharSequence) - Method in class org.robolectric.fakes.RoboMenu
 
add(T) - Method in class org.robolectric.res.android.SortedVector
 
addAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
 
addAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener, Handler) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
 
addAccount(Account) - Method in class org.robolectric.shadows.ShadowAccountManager
 
addAccount(Account, String...) - Method in class org.robolectric.shadows.ShadowAccountManager
Adds an account to the AccountManager but when AccountManager.getAccountsByTypeForPackage(String, String) is called will be included if is in one of the #visibleToPackages
addAccount(String, String, String[], Bundle, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
 
addAccountExplicitly(Account, String, Bundle) - Method in class org.robolectric.shadows.ShadowAccountManager
 
addAction(String) - Method in class org.robolectric.manifest.BroadcastReceiverData
 
addAction(String) - Method in class org.robolectric.manifest.ServiceData
 
addActiveNotification(StatusBarNotification) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
Adds the given StatusBarNotification to the list of active Notifications.
addActiveNotification(String, int, Notification) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
Adds the given Notification to the list of active Notifications.
addActivity(UserHandle, LauncherActivityInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
addActivityIcon(ComponentName, Drawable) - Method in class org.robolectric.shadows.ShadowPackageManager
 
addActivityIcon(Intent, Drawable) - Method in class org.robolectric.shadows.ShadowPackageManager
 
addActivityIfNotPresent(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Makes sure that given activity exists.
addAllowedInLowPowerStandby(String) - Method in class org.robolectric.shadows.ShadowPowerManager
 
addAllowedNonPcmEncoding(int) - Static method in class org.robolectric.shadows.ShadowAudioTrack
Add a non-PCM encoding for which AudioTrack instances are allowed to be created.
addAllSatellites(Collection<GnssStatusBuilder.GnssSatelliteInfo>) - Method in class org.robolectric.shadows.GnssStatusBuilder
Deprecated.
Adds a collection of satellites to the GnssStatus being built.
addApduResponse(byte[]) - Method in class org.robolectric.shadows.ShadowSecureElementService.MockApplet
 
addApplicationExitInfo(Object) - Method in class org.robolectric.shadows.ShadowActivityManager
addApplicationExitInfo(String, int, int, int) - Method in class org.robolectric.shadows.ShadowActivityManager
Deprecated.
addApplicationInfo(UserHandle, String, ApplicationInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
addArc(float, float, float, float, float, float) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addAssetPath(String8, Ref<Integer>, boolean) - Method in class org.robolectric.res.android.CppAssetManager
 
addAssetPath(String8, Ref<Integer>, boolean, boolean) - Method in class org.robolectric.res.android.CppAssetManager
 
addAssetPathNative(String) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
addAssetPathNative(String, boolean) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
addAssociation(AssociationInfo) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
addAssociation(String) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
addAttribute(int, String) - Method in interface org.robolectric.android.AttributeSetBuilder
Set an attribute to the given value.
addAttribute(int, String) - Method in class org.robolectric.android.AttributeSetBuilderImpl
 
addAttribute(int, String) - Method in interface org.robolectric.Robolectric.AttributeSetBuilder
Deprecated.
Set an attribute to the given value.
addAudioDataListener(ShadowAudioTrack.OnAudioDataWrittenListener) - Static method in class org.robolectric.shadows.ShadowAudioTrack
addAuthenticator(AuthenticatorDescription) - Method in class org.robolectric.shadows.ShadowAccountManager
 
addAuthenticator(String) - Method in class org.robolectric.shadows.ShadowAccountManager
 
addAuthority(String, String) - Method in class org.robolectric.manifest.IntentFilterData
 
addAutomaticZenRule(AutomaticZenRule) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
addAvailableCommunicationDevice(AudioDeviceInfo, boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
Adds an available communication AudioDeviceInfo and notifies the list of AudioDeviceCallback if the device was not present before and indicated by notifyAudioDeviceCallbacks.
addAvailableRestoreSets(long, List<String>) - Method in class org.robolectric.shadows.ShadowBackupManager
Adds a restore set available to be restored successfully.
addAvailableRestoreSets(long, List<String>, int) - Method in class org.robolectric.shadows.ShadowBackupManager
Adds a restore set available to be restored and the final result of the restore session.
addAvailableRole(String) - Method in class org.robolectric.shadows.ShadowRoleManager
Add a role that will be recognized as available when invoking RoleManager.isRoleAvailable(String).
addAvailableRollbacks(RollbackInfo) - Method in class org.robolectric.shadows.ShadowRollbackManager
 
addBarringServiceInfo(int, BarringInfo.BarringServiceInfo) - Method in class org.robolectric.shadows.BarringInfoBuilder
 
addBinderService(Map<String, ShadowServiceManager.BinderService>, String, Class<? extends IInterface>) - Static method in class org.robolectric.shadows.ShadowServiceManager
 
addBluetoothRoute() - Method in class org.robolectric.shadows.ShadowMediaRouter
Adds the Bluetooth A2DP route and ensures it's the selected route, simulating connecting a Bluetooth device.
addBoundWidget(int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
addBroadcastResponseStats(Object) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
 
addCall(Call) - Method in class org.robolectric.shadows.ShadowInCallService
Deprecated.
Please add calls by adding a Call using InCallService.InCallServiceBinder.
addCall(Call) - Method in class org.robolectric.shadows.ShadowPhone
Add Call to a collection that returns when getCalls is called.
addCall(ParcelableCall) - Method in class org.robolectric.shadows.ShadowInCallService
 
addCallback(SurfaceHolder.Callback) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
 
addCallbackBuffer(byte[]) - Method in class org.robolectric.shadows.ShadowCamera
 
addCallToRoboInit(MutableClass, MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
Adds a call $$robo$init, which instantiates a shadow object if required.
addCamera(String, CameraCharacteristics) - Method in class org.robolectric.shadows.ShadowCameraManager
Adds the given cameraId and characteristics to this shadow.
addCameraInfo(int, Camera.CameraInfo) - Static method in class org.robolectric.shadows.ShadowCamera
Add a mock Camera.CameraInfo object to simulate the existence of one or more cameras.
addCanonicalName(String, String) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds a canonical package name for a package.
addCapability(int) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
Adds capability to the NetworkCapabilities.
addChangedPackage(int, String) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds packageName to the list of changed packages for the particular sequenceNumber.
addChild(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
Add a child node to this one.
addChild(AccessibilityWindowInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
addChild(View) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
addChild(View, int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
addCircle(float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addClassNameTranslation(String, String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
addCodec(MediaCodecInfo) - Static method in class org.robolectric.shadows.ShadowMediaCodecList
Add a MediaCodecInfo to the list of MediaCodecInfos.
addCompletedDownload(String, String, boolean, String, String, long, boolean) - Method in class org.robolectric.shadows.ShadowDownloadManager
 
addCompletedDownload(String, String, boolean, String, String, long, boolean, Uri, Uri) - Method in class org.robolectric.shadows.ShadowDownloadManager
 
addConfigurationChangeListener(ShadowResources.OnConfigurationChangeListener) - Method in class org.robolectric.shadows.ShadowResources
Add a listener to observe resource configuration changes.
addConnectedDevice(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
Adds the given BluetoothDevice to the shadow's list of "connected devices"
addController(MediaController) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
addCrossProfileIntentFilter(IntentFilter, int, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addCurrentToCannonicalName(String, String) - Method in class org.robolectric.shadows.ShadowPackageManager
Deprecated.
addData(String, long, byte[]) - Method in class org.robolectric.shadows.ShadowDropBoxManager
Adds entry to the DropboxManager with the flag indicating data is text.
addDecoder(String, ShadowMediaCodec.CodecConfig) - Static method in class org.robolectric.shadows.ShadowMediaCodec
Add a fake decoding codec to the Shadow.
addDefaultAssets(String) - Method in class org.robolectric.res.android.CppAssetManager
 
addDefaultAssets(Path) - Method in class org.robolectric.res.android.CppAssetManager
 
addDefaultNetworkActiveListener(ConnectivityManager.OnNetworkActiveListener) - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
addDevice(int, int, BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothManager
Add a remote bluetooth device that will be served by BluetoothManager.getDevicesMatchingConnectionStates(int, int[]) for the specified profile and states of the profile connection.
addDevice(BluetoothDevice, int) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
 
addDevice(BluetoothDevice, int) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
Adds the provided BluetoothDevice to the shadow profile's device list with an associated connectionState.
addDirectPlaybackSupport(AudioFormat, AudioAttributes) - Static method in class org.robolectric.shadows.ShadowAudioTrack
Adds support for direct playback for the pair of AudioFormat and AudioAttributes where the format encoding must be non-PCM.
addDiscoverableService(BluetoothGattService) - Method in class org.robolectric.shadows.ShadowBluetoothGatt
 
addDisplay(String) - Static method in class org.robolectric.shadows.ShadowDisplayManager
Adds a simulated display and drain the main looper queue to ensure all the callbacks are processed.
addDisplay(String, int) - Static method in class org.robolectric.shadows.ShadowDisplayManager
Adds a physical display with given type and drain the main looper queue to ensure all the callbacks are processed.
addDisplay(String, String) - Static method in class org.robolectric.shadows.ShadowDisplayManager
Adds a simulated display and drain the main looper queue to ensure all the callbacks are processed.
addDrawableResolution(String, int, Drawable) - Method in class org.robolectric.shadows.ShadowPackageManager
 
addDynamicShortcut(ShortcutInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
Adds a dynamic shortcut to be returned by ShadowLauncherApps.getShortcuts(ShortcutQuery, UserHandle).
addDynamicShortcuts(List<ShortcutInfo>) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
addEffect(AudioEffect.Descriptor) - Static method in class org.robolectric.shadows.ShadowAudioEffect
Adds an effect represented by an AudioEffect.Descriptor, only to be queried from ShadowAudioEffect.queryEffects().
addEmergencyUrn(String) - Method in class org.robolectric.shadows.EmergencyNumberBuilder
 
addEnabledPackage(UserHandle, String) - Method in class org.robolectric.shadows.ShadowLauncherApps
Adds an enabled package to be checked by ShadowLauncherApps.isPackageEnabled(String, UserHandle).
addEncoder(String, ShadowMediaCodec.CodecConfig) - Static method in class org.robolectric.shadows.ShadowMediaCodec
Add a fake encoding codec to the Shadow.
addEntity(BackupDataEntity) - Method in class org.robolectric.shadows.BackupDataInputBuilder
Adds the given entity to the input.
addEvent(UsageEvents.Event) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
Adds an event to be returned by UsageStatsManager.queryEvents(long, long).
addEvent(EventLog.Event) - Static method in class org.robolectric.shadows.ShadowEventLog
Add event to EventLog.
addEvent(String, long, int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
addException(DataSource, IOException) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
 
addException(DataSource, RuntimeException) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
Configures an exception to be thrown when ShadowMediaMetadataRetriever.setDataSource(org.robolectric.shadows.util.DataSource) is called for the given data source.
addException(DataSource, RuntimeException) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
 
addExtensionMimeTypeMapping(String, String) - Method in class org.robolectric.shadows.ShadowMimeTypeMap
 
addExternalDir(String) - Static method in class org.robolectric.shadows.ShadowEnvironment
Adds a directory to list returned by ShadowEnvironment.ShadowUserEnvironment.getExternalDirs().
addExtraShadow(String, String) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
 
addExtraShadowPicker(String, TypeElement) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
 
addField(int, FieldNode) - Method in class org.robolectric.internal.bytecode.MutableClass
 
addFontFromAssetManager(AssetManager, String, int, boolean, int, int, int, FontVariationAxis[]) - Method in class org.robolectric.shadows.ShadowFontFamily
 
addFrame(Context, Uri, long, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
Adds the given bitmap at the given time for the given data source.
addFrame(FileDescriptor, long, long, long, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
Adds the given bitmap at the given time for the given data source.
addFrame(FileDescriptor, long, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
Adds the given bitmap at the given time for the given data source.
addFrame(String, long, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
Adds the given bitmap at the given time for the given data source.
addFrame(String, Map<String, String>, long, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
Adds the given bitmap at the given time for the given data source.
addFrame(DataSource, long, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
 
addGlobalPerformClickListener(View.OnClickListener) - Static method in class org.robolectric.shadows.ShadowView
Registers an View.OnClickListener to the ShadowView.
addGlobalPerformLongClickListener(View.OnLongClickListener) - Static method in class org.robolectric.shadows.ShadowView
addGpsStatusListener(GpsStatus.Listener) - Method in class org.robolectric.shadows.ShadowLocationManager
 
addHandler(String, NodeHandler) - Method in class org.robolectric.res.StaxPluralsLoader
 
addHeader(String, String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
addHeader(Header) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
addHeader(Header) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
addHealthStats(HealthStats) - Method in class org.robolectric.shadows.ShadowSystemHealthManager
The same as addHealthStatsForUid(android.os.Process.myUid(), stats).
addHealthStatsForUid(int, HealthStats) - Method in class org.robolectric.shadows.ShadowSystemHealthManager
Add HealthStats for the given UID.
addHeldRole(String) - Method in class org.robolectric.shadows.ShadowRoleManager
Add a role that would be held by the calling app when invoking RoleManager.isRoleHeld(String).
addHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
As a consumer of the fake http call, you should never call this method.
addHttpResponseContent(byte[]) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addHttpResponseRule(String, String) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Adds an HTTP response rule.
addHttpResponseRule(String, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addHttpResponseRule(String, String, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Adds an HTTP response rule.
addHttpResponseRule(String, String, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addHttpResponseRule(String, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Adds an HTTP response rule with a default method of GET.
addHttpResponseRule(String, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addHttpResponseRule(HttpEntityStub.ResponseRule) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addHttpResponseRule(RequestMatcher, List<? extends HttpResponse>) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Adds an HTTP response rule.
addHttpResponseRule(RequestMatcher, List<? extends HttpResponse>) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
Add a response rule.
addHttpResponseRule(RequestMatcher, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Adds an HTTP response rule.
addHttpResponseRule(RequestMatcher, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addIncidentReport(Uri, IncidentManager.IncidentReport) - Method in class org.robolectric.shadows.ShadowIncidentManager
Add IncidentManager.IncidentReport to the list of reported incidents.
addIncomingRfcommConnection(BluetoothDevice, UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
Creates an incoming socket connection from the given BluetoothDevice to a background Bluetooth server created with BluetoothAdapter.startRfcommServer(String, UUID, PendingIntent) on the given uuid.
addInputDevice(AudioDeviceInfo, boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
Adds an input AudioDeviceInfo and notifies the list of AudioDeviceCallback if the device was not present before and indicated by notifyAudioDeviceCallbacks.
addInputSize(int, Size) - Method in class org.robolectric.shadows.StreamConfigurationMapBuilder
Adds an input size to be returned by StreamConfigurationMap.getInputSizes(int) for the provided format.
addInstalledProvider(AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
addInstalledProvidersForProfile(UserHandle, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
addInstalledUser(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
Adds installed user.
addInstrumentedClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
addInstrumentedPackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
addIntentFilterForActivity(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
Add intent filter for given activity.
addIntentFilterForProvider(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
Add intent filter for given provider.
addIntentFilterForReceiver(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
Add intent filter for given receiver.
addIntentFilterForService(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
Add intent filter for given service.
addIntentOptions(int, int, int, ComponentName, Intent[], Intent, int, MenuItem[]) - Method in class org.robolectric.fakes.RoboMenu
 
addInterceptedMethod(MethodRef) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
addInterface(String) - Method in class org.robolectric.internal.bytecode.MutableClass
 
addJavascriptInterface(Object, String) - Method in class org.robolectric.shadows.ShadowWebView
 
addLanguageAvailability(Locale) - Static method in class org.robolectric.shadows.ShadowTextToSpeech
Makes Locale an available language returned by TextToSpeech.isLanguageAvailable(Locale).
addLikelySubtags(String) - Static method in class org.robolectric.shadows.ShadowICU
 
addListener(AccessibilityService.MagnificationController.OnMagnificationChangedListener) - Method in class org.robolectric.shadows.ShadowMagnificationController
 
addListener(AccessibilityService.MagnificationController.OnMagnificationChangedListener, Handler) - Method in class org.robolectric.shadows.ShadowMagnificationController
 
addLocalOnlyConnectionFailureListener(Executor, WifiManager.LocalOnlyConnectionFailureListener) - Method in class org.robolectric.shadows.ShadowWifiManager
 
addMediaInfo(DataSource, ShadowMediaPlayer.MediaInfo) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
addMetadata(String, int, String) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
Adds the given keyCode/value pair for the given data source.
addMetadata(DataSource, int, String) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
 
addMethod(MethodNode) - Method in class org.robolectric.internal.bytecode.MutableClass
 
addMimeType(String) - Method in class org.robolectric.manifest.IntentFilterData
 
addMockApplet(ShadowSecureElementService.MockApplet) - Static method in class org.robolectric.shadows.ShadowSecureElementService
Add a Reader with the specified name.
addMovement(MotionEvent) - Method in class org.robolectric.shadows.ShadowVelocityTracker
 
addNanoApp(ContextHubInfo, int, long, int) - Method in class org.robolectric.shadows.ShadowContextHubManager
Adds a nanoApp to the list of nanoApps that are supported by the provided contexthubinfo.
addNetwork(Network, NetworkInfo) - Method in class org.robolectric.shadows.ShadowConnectivityManager
Adds new network to the list of all Networks.
addNetwork(WifiConfiguration) - Method in class org.robolectric.shadows.ShadowWifiManager
 
addNetworkPrivileged(WifiConfiguration) - Method in class org.robolectric.shadows.ShadowWifiManager
The new version of ShadowWifiManager.addNetwork(WifiConfiguration) which returns a more detailed failure codes.
addNewIncomingCall(PhoneAccountHandle, Bundle) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
addNewUnknownCall(PhoneAccountHandle, Bundle) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
addNmeaListener(OnNmeaMessageListener, Handler) - Method in class org.robolectric.shadows.ShadowLocationManager
 
addNmeaListener(Executor, OnNmeaMessageListener) - Method in class org.robolectric.shadows.ShadowLocationManager
 
addOnAccountsUpdatedListener(OnAccountsUpdateListener, Handler, boolean) - Method in class org.robolectric.shadows.ShadowAccountManager
 
addOnAccountsUpdatedListener(OnAccountsUpdateListener, Handler, boolean, String[]) - Method in class org.robolectric.shadows.ShadowAccountManager
addOnActiveSessionsChangedListener(MediaSessionManager.OnActiveSessionsChangedListener, ComponentName) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
 
addOnActiveSessionsChangedListener(MediaSessionManager.OnActiveSessionsChangedListener, ComponentName, Handler) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
 
addOnAttachStateChangeListener(View.OnAttachStateChangeListener) - Method in class org.robolectric.shadows.ShadowView
 
addOnFrameMetricsAvailableListener(Window.OnFrameMetricsAvailableListener, Handler) - Method in class org.robolectric.shadows.ShadowWindow
 
addOnLayoutChangeListener(View.OnLayoutChangeListener) - Method in class org.robolectric.shadows.ShadowView
 
addOnPermissionsChangeListener(Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addOnRoutingChangedListener(AudioRouting.OnRoutingChangedListener, Handler) - Method in class org.robolectric.shadows.ShadowAudioTrack
 
addOnShowModeChangedListener(AccessibilityService.SoftKeyboardController.OnShowModeChangedListener) - Method in class org.robolectric.shadows.ShadowSoftKeyboardController
 
addOnShowModeChangedListener(AccessibilityService.SoftKeyboardController.OnShowModeChangedListener, Handler) - Method in class org.robolectric.shadows.ShadowSoftKeyboardController
 
addOnSubscriptionsChangedListener(SubscriptionManager.OnSubscriptionsChangedListener) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
Adds a listener to a local list of listeners.
addOnSubscriptionsChangedListener(Executor, SubscriptionManager.OnSubscriptionsChangedListener) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
Adds a listener to a local list of listeners.
addOnUidImportanceListener(Object, Object) - Method in class org.robolectric.shadows.ShadowActivityManager
 
addOnWifiUsabilityStatsListener(Object, Object) - Method in class org.robolectric.shadows.ShadowWifiManager
 
addOptionalUpdater(List<PackageSharedLibraryUpdater>, String, Supplier<PackageSharedLibraryUpdater>) - Static method in class org.robolectric.shadows.ShadowPackageBackwardCompatibility
Stubbing this out as if Android S+ is on the classpath, we'll get a ClassCastException instead of a ClassNotFoundException.
addOrUpdateActivity(ActivityInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds or updates given activity in the system.
addOrUpdateProvider(ProviderInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds or updates given content provider in the system.
addOrUpdateReceiver(ActivityInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds or updates given broadcast receiver in the system.
addOrUpdateService(ServiceInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds or updates given service in the system.
addOrUpdateUsbDevice(UsbDevice, boolean) - Method in class org.robolectric.shadows.ShadowUsbManager
Adds a USB device into available USB devices map with permission value.
addOutputDevice(AudioDeviceInfo, boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
Adds an output AudioDeviceInfo and notifies the list of AudioDeviceCallback if the device was not present before and indicated by notifyAudioDeviceCallbacks.
addOutputDeviceWithDirectProfiles(AudioDeviceInfo) - Method in class org.robolectric.shadows.ShadowAudioManager
Adds an output device with direct profiles and notifies the list of AudioDeviceCallback if the device was not present before.
addOutputSize(int, Size) - Method in class org.robolectric.shadows.StreamConfigurationMapBuilder
Adds an output size to be returned by StreamConfigurationMap.getOutputSizes(java.lang.Class<T>) for the provided format.
addOutputSize(Size) - Method in class org.robolectric.shadows.StreamConfigurationMapBuilder
Adds an output size to be returned by StreamConfigurationMap.getOutputSizes(java.lang.Class<T>).
addOval(float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addPackage(PackageInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
addPackage(PackageInfo, PackageStats) - Method in class org.robolectric.shadows.ShadowPackageManager
Installs a package with its stats with the PackageManager.
addPackage(String) - Method in class org.robolectric.shadows.ShadowPackageManager
addPackageInternal(PackageParser.Package) - Method in class org.robolectric.shadows.ShadowPackageManager
Internal use only.
addPackageNoDefaults(PackageInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds a package to the PackageManager, but doesn't set any default values on it.
addPackageToPreferred(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addPath(Path) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addPath(Path, float, float) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addPath(Path, Matrix) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addPath(String) - Method in class org.robolectric.manifest.IntentFilterData
 
addPathPattern(String) - Method in class org.robolectric.manifest.IntentFilterData
 
addPathPrefix(String) - Method in class org.robolectric.manifest.IntentFilterData
 
addPendingBackup(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
Adds pending backup.
addPendingHttpResponse(int, String, Header...) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Sets up an HTTP response to be returned by calls to Apache's HttpClient implementers.
addPendingHttpResponse(int, String, Header...) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addPendingHttpResponse(HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Sets up an HTTP response to be returned by calls to Apache's HttpClient implementers.
addPendingHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addPendingHttpResponse(HttpResponseGenerator) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
Sets up an HTTP response to be returned by calls to Apache's HttpClient implementers.
addPendingHttpResponse(HttpResponseGenerator) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
addPendingHttpResponseWithContentType(int, String, Header) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
addPendingRestore(int, int, String) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
Adds pending restores.
addPeriodicSync(Account, String, Bundle, long) - Static method in class org.robolectric.shadows.ShadowContentResolver
 
addPermission(PermissionInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addPermissionAsync(PermissionInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addPermissionGroupInfo(PermissionGroupInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Allows overriding or adding permission-group elements.
addPermissionInfo(PermissionInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
 
addPermissions(String...) - Method in class org.robolectric.android.internal.LocalPermissionGranter
 
addPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
addPort(String) - Method in class org.robolectric.shadows.ShadowUsbManager
Adds a USB port with given ID to UsbManager.
addPort(String, int, int, boolean) - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
 
addPort(String, int, int, int, int) - Method in class org.robolectric.shadows.ShadowUsbManager
Adds a USB port with given ID and UsbPortStatus parameters to UsbManager for Q+.
addPreferredActivity(IntentFilter, int, ComponentName[], ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addPreferredActivityInternal(IntentFilter, ComponentName, SortedMap<ComponentName, List<IntentFilter>>) - Static method in class org.robolectric.shadows.ShadowPackageManager
 
addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener) - Method in class org.robolectric.shadows.ShadowClipboardManager
 
addPrivateFlags(int) - Method in class org.robolectric.shadows.ShadowWindow
 
addProfile(int, int, UserInfo) - Method in class org.robolectric.shadows.ShadowUserManager
Add a profile to be returned by ShadowUserManager.getProfiles(int).
addProfile(int, int, CamcorderProfile) - Static method in class org.robolectric.shadows.ShadowCamcorderProfile
 
addProfile(int, int, String, int) - Method in class org.robolectric.shadows.ShadowUserManager
Add a profile to be returned by ShadowUserManager.getProfiles(int).
addProviderIfNotPresent(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Makes sure that given provider exists.
addReceiverIfNotPresent(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Makes sure that given receiver exists.
addRecentlyCommittedRollbacks(RollbackInfo) - Method in class org.robolectric.shadows.ShadowRollbackManager
 
addRect(float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addRect(RectF, Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addRemoteAddress(InetSocketAddress) - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
 
addRemoteAddress(InetSocketAddress) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
 
addReportData(long, byte[]) - Static method in class org.robolectric.shadows.ShadowStatsManager
 
addRequestInfo(HttpRequestInfo) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
This method is not supposed to be consumed by tests.
addResetter(TypeElement, ExecutableElement) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
 
addResolveInfoForIntent(Intent, ResolveInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Deprecated.
use ShadowPackageManager.addIntentFilterForComponent(android.content.ComponentName, android.content.IntentFilter, java.util.Map<android.content.ComponentName, java.util.List<android.content.IntentFilter>>) instead and if the component doesn't exist add it using any of ShadowPackageManager.installPackage(android.content.pm.PackageInfo), ShadowPackageManager.addOrUpdateActivity(android.content.pm.ActivityInfo), ShadowPackageManager.addActivityIfNotPresent(android.content.ComponentName) or their counterparts for other types of components.
addResolveInfoForIntent(Intent, List<ResolveInfo>) - Method in class org.robolectric.shadows.ShadowPackageManager
addResolveInfoForIntentNoDefaults(Intent, ResolveInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
address - Variable in class org.robolectric.shadows.ShadowTelecomManager.OutgoingCallRecord
 
addressOf(Object) - Method in class org.robolectric.shadows.ShadowVMRuntime
Returns a unique identifier of the object instead of a 'native' address.
addRoundRect(float, float, float, float, float[], Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addRoundRect(float, float, float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addRoundRect(RectF, float[], Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addRoundRect(RectF, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
addSatellite(GnssStatusBuilder.GnssSatelliteInfo) - Method in class org.robolectric.shadows.GnssStatusBuilder
Deprecated.
Adds a satellite to the GnssStatus being built.
addScaledFrame(DataSource, long, int, int, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
 
addScanResult(ScanResult) - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
 
addScheme(String) - Method in class org.robolectric.manifest.IntentFilterData
 
addScreenWidth(String, int) - Static method in class org.robolectric.res.Qualifiers
Deprecated.
addSensor(int, Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
Deprecated.
Use ShadowSensor.newInstance(int) to construct your Sensor and add to the SensorManager using ShadowSensorManager.addSensor(Sensor) instead. This method will be removed at some point allowing us to use more of the real SensorManager code.
addSensor(Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
Adds a Sensor to the SensorManager
addSensorOrientationMap(long[]) - Method in class org.robolectric.shadows.DeviceStateSensorOrientationBuilder
 
addService(BluetoothGattService) - Method in class org.robolectric.shadows.ShadowBluetoothGattServer
Add a service to the GATT server.
addService(String, IBinder) - Static method in class org.robolectric.shadows.ShadowServiceManager
 
addServiceIfNotPresent(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Makes sure that given service exists.
addShadowClasses(Class<?>...) - Method in class org.robolectric.internal.bytecode.ShadowMap.Builder
 
addShadowType(TypeElement, TypeElement, TypeElement) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
 
addShortcutConfigActivity(UserHandle, LauncherActivityInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
addSmallestScreenWidth(String, int) - Static method in class org.robolectric.res.Qualifiers
Deprecated.
addSnapshottedUser(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
Adds snapshotted user.
addState(int[], Drawable) - Method in class org.robolectric.shadows.ShadowStateListDrawable
 
addStorageStats(UUID, String, UserHandle, StorageStats) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
Sets the StorageStats for given storageUuid, packageName and userHandle.
addStorageVolume(StorageVolume) - Method in class org.robolectric.shadows.ShadowStorageManager
addStringResource(String, int, String) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds a String resource with resId corresponding to packageName.
addSubMenu(int) - Method in class org.robolectric.fakes.RoboMenu
 
addSubMenu(int, int, int, int) - Method in class org.robolectric.fakes.RoboMenu
 
addSubMenu(int, int, int, CharSequence) - Method in class org.robolectric.fakes.RoboMenu
 
addSubMenu(CharSequence) - Method in class org.robolectric.fakes.RoboMenu
 
addSupportedCloudMediaProviderAuthorities(List<String>) - Static method in class org.robolectric.shadows.ShadowMediaStore
Mutator method to add the input authorities to the list of supported cloud media provider authorities.
addSupportedPreviewSize(int, int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
 
addSuspendedPackageLauncherExtras(UserHandle, String, Bundle) - Method in class org.robolectric.shadows.ShadowLauncherApps
addSystemAvailableFeature(FeatureInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
 
addSystemFlags(int) - Method in class org.robolectric.shadows.ShadowWindow
 
addSystemSharedLibraryName(String) - Method in class org.robolectric.shadows.ShadowPackageManager
Adds a value to be returned by PackageManager.getSystemSharedLibraryNames().
addTab(TabHost.TabSpec) - Method in class org.robolectric.shadows.ShadowTabHost
 
addTargetUserProfile(UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
Adds userHandle to the list of accessible handles.
addText(String, String) - Method in class org.robolectric.shadows.ShadowDropBoxManager
Adds a text entry to dropbox with the current timestamp using UTF-8 encoding.
addTextChangedListener(TextWatcher) - Method in class org.robolectric.shadows.ShadowTextView
 
addThermalStatusListener(Object) - Method in class org.robolectric.shadows.ShadowPowerManager
This function adds a listener for thermal status change.
addTimeZoneDetectorListener(Executor, TimeManager.TimeZoneDetectorListener) - Method in class org.robolectric.shadows.ShadowTimeManager
 
addTrack(DataSource, MediaFormat, byte[]) - Static method in class org.robolectric.shadows.ShadowMediaExtractor
Adds a track of data to an associated DataSource.
addTransportType(int) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
Updates the transport types for this network capablities to include transportType.
addUsageStats(int, UsageStats) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
Adds an aggregated UsageStats object, to be returned by ShadowUsageStatsManager.queryUsageStats(int, long, long).
addUser(int, String, int) - Method in class org.robolectric.shadows.ShadowUserManager
Creates a user with the specified name, userId and flags.
addUserProfile(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
Deprecated.
use either addUser() or addProfile()
addUserRestriction(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
addView(View, int, ViewGroup.LayoutParams) - Method in class org.robolectric.shadows.ShadowViewGroup
 
addView(View, ViewGroup.LayoutParams) - Method in class org.robolectric.shadows.ShadowWindowManagerImpl
 
addVoice(Voice) - Static method in class org.robolectric.shadows.ShadowTextToSpeech
Makes Voice an available voice returned by TextToSpeech.getVoices().
addWakeLock(PowerManager.WakeLock) - Method in class org.robolectric.shadows.ShadowApplication
Deprecated.
use PowerManager APIs instead
addWindow(PhoneWindow) - Method in class org.robolectric.shadows.ShadowRotationWatcher
 
addWindow(Object) - Method in class org.robolectric.shadows.ShadowRotationWatcherFor22
 
adjustStreamVolume(int, int, int) - Method in class org.robolectric.shadows.ShadowAudioManager
advance() - Method in class org.robolectric.shadows.ShadowMediaExtractor
 
advanceBy(long) - Method in class org.robolectric.util.Scheduler
advanceBy(long, TimeUnit) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
advanceBy(long, TimeUnit) - Static method in class org.robolectric.shadows.ShadowSystemClock
An alternate to ShadowSystemClock.advanceBy(Duration) for older Android code bases where Duration is not available.
advanceBy(long, TimeUnit) - Method in class org.robolectric.util.Scheduler
Deprecated.
Run all runnables that are scheduled to run in the next time interval.
advanceBy(Duration) - Static method in class org.robolectric.shadows.ShadowSystemClock
A convenience method for advancing the clock via SystemClock.setCurrentTimeMillis(long)
advanceTo(long) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
advanceTo(long) - Method in class org.robolectric.util.Scheduler
Deprecated.
Run all runnables that are scheduled before the endTime.
advanceToLastPostedRunnable() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
advanceToLastPostedRunnable() - Method in class org.robolectric.util.Scheduler
Deprecated.
Run all runnables in the queue, and any additional runnables they schedule that are scheduled before the latest scheduled runnable currently in the queue.
advanceToNextPostedRunnable() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
advanceToNextPostedRunnable() - Method in class org.robolectric.util.Scheduler
Deprecated.
Run the next runnable in the queue.
afterClass() - Method in class org.robolectric.internal.SandboxTestRunner
 
afterClass() - Method in class org.robolectric.RobolectricTestRunner
 
afterTest(Method) - Method in class org.robolectric.DefaultTestLifecycle
Called after each test method is run.
afterTest(Method) - Method in interface org.robolectric.TestLifecycle
Called after each test method is run.
afterTest(Method) - Method in interface org.robolectric.TestLifecycleApplication
 
afterTest(FrameworkMethod, Method) - Method in class org.robolectric.internal.SandboxTestRunner
 
afterTest(FrameworkMethod, Method) - Method in class org.robolectric.RobolectricTestRunner
 
all() - Static method in class org.robolectric.interceptors.AndroidInterceptors
 
ALL_SDKS - Static variable in annotation type org.robolectric.annotation.Config
 
ALL_STREAMS - Static variable in class org.robolectric.shadows.ShadowAudioManager
 
allocateAppWidgetId() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
 
ALLOW_ALL - Enum constant in enum org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
Automatically allows all call requests.
allowCharacteristicNotification(BluetoothGattCharacteristic) - Method in class org.robolectric.shadows.ShadowBluetoothGatt
Allows the incoming characteristic to be set to enable notification.
allowFileSchemeCookiesImpl() - Method in class android.webkit.RoboCookieManager
 
allowIncomingCall(ShadowTelecomManager.IncomingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
allowOutgoingCall(ShadowTelecomManager.OutgoingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
allowWhileIdle - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
Deprecated.
ALOGI(String, Object...) - Static method in class org.robolectric.res.android.Util
 
ALOGV(String, Object...) - Static method in class org.robolectric.res.android.Util
 
alwaysOnAvailable() - Method in class org.robolectric.shadows.ShadowAmbientDisplayConfiguration
 
alwaysOnDisplayAvailable() - Method in class org.robolectric.shadows.ShadowAmbientDisplayConfiguration
 
alwaysOnDisplayDebuggingEnabled() - Method in class org.robolectric.shadows.ShadowAmbientDisplayConfiguration
 
ambientDisplayAvailable() - Method in class org.robolectric.shadows.ShadowAmbientDisplayConfiguration
 
ambientDisplayComponent() - Method in class org.robolectric.shadows.ShadowAmbientDisplayConfiguration
 
ANDROID_NS - Static variable in class org.robolectric.res.android.ResourceTypes
 
ANDROID_NS - Static variable in class org.robolectric.res.AttributeResource
 
ANDROID_RES_NS_PREFIX - Static variable in class org.robolectric.res.AttributeResource
 
android.webkit - package android.webkit
 
AndroidConfigurer - Class in org.robolectric.config
Instruments the Android jars
AndroidConfigurer(ShadowProviders) - Constructor for class org.robolectric.config.AndroidConfigurer
 
AndroidInterceptors - Class in org.robolectric.interceptors
 
AndroidInterceptors() - Constructor for class org.robolectric.interceptors.AndroidInterceptors
 
AndroidInterceptors.CleanerInterceptor - Class in org.robolectric.interceptors
Maps calls to Cleaner, which moved between Java 8 and 9: sun.misc.Cleaner.create() -> new java.lang.ref.Cleaner().register() sun.misc.Cleaner.clean() -> java.lang.ref.Cleaner.Cleanable().clean()
AndroidInterceptors.FileDescriptorInterceptor - Class in org.robolectric.interceptors
Intercepts calls to libcore-extensions to FileDescriptor.
AndroidInterceptors.LinkedHashMapEldestInterceptor - Class in org.robolectric.interceptors
 
AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor - Class in org.robolectric.interceptors
 
AndroidInterceptors.NioUtilsFreeDirectBufferInterceptor - Class in org.robolectric.interceptors
AndroidInterceptor for NioUtils.freeDirectBuffer.
AndroidInterceptors.NoOpInterceptor - Class in org.robolectric.interceptors
 
AndroidInterceptors.ReferenceRefersToInterceptor - Class in org.robolectric.interceptors
AndroidInterceptor for Reference.refersTo which is not available until JDK 16.
AndroidInterceptors.SocketInterceptor - Class in org.robolectric.interceptors
Intercepts calls to methods in Socket not present in the OpenJDK.
AndroidInterceptors.SystemArrayCopyInterceptor - Class in org.robolectric.interceptors
 
AndroidInterceptors.SystemLogInterceptor - Class in org.robolectric.interceptors
AndroidInterceptor for System.logE and System.logW.
AndroidInterceptors.SystemTimeInterceptor - Class in org.robolectric.interceptors
 
AndroidManifest - Class in org.robolectric.manifest
A wrapper for an Android App Manifest, which represents information about one's App to an Android system.
AndroidManifest(Path, Path, Path) - Constructor for class org.robolectric.manifest.AndroidManifest
Creates a Robolectric configuration using specified locations.
AndroidManifest(Path, Path, Path, String) - Constructor for class org.robolectric.manifest.AndroidManifest
Creates a Robolectric configuration using specified values.
AndroidManifest(Path, Path, Path, List<AndroidManifest>, String) - Constructor for class org.robolectric.manifest.AndroidManifest
Creates a Robolectric configuration using specified values.
AndroidManifest(Path, Path, Path, List<AndroidManifest>, String, Path) - Constructor for class org.robolectric.manifest.AndroidManifest
 
AndroidMetadata - Class in org.robolectric
Data related to Android tests.
AndroidMetadata(Map<String, String>, String) - Constructor for class org.robolectric.AndroidMetadata
 
AndroidRelease() - Constructor for class org.robolectric.versioning.AndroidVersions.AndroidRelease
 
AndroidReleased() - Constructor for class org.robolectric.versioning.AndroidVersions.AndroidReleased
 
AndroidSandbox - Class in org.robolectric.internal
Sandbox simulating an Android device.
AndroidSandbox(Sdk, Sdk, ResourcesMode, ApkLoader, AndroidSandbox.TestEnvironmentSpec, AndroidSandbox.SdkSandboxClassLoader, ShadowProviders, SQLiteMode.Mode) - Constructor for class org.robolectric.internal.AndroidSandbox
 
AndroidSandbox.SdkSandboxClassLoader - Class in org.robolectric.internal
Adapter from Sdk to ResourceLoader.
AndroidSandbox.TestEnvironmentSpec - Class in org.robolectric.internal
Provides a mechanism for tests to inject a different AndroidTestEnvironment.
AndroidSdkShadowMatcher - Class in org.robolectric.android
Android-specific rules for matching shadow classes and methods by SDK level.
AndroidSdkShadowMatcher(int) - Constructor for class org.robolectric.android.AndroidSdkShadowMatcher
 
AndroidTestEnvironment - Class in org.robolectric.android.internal
 
AndroidTestEnvironment(Sdk, Sdk, ResourcesMode, ApkLoader, ShadowProvider[], TestEnvironmentLifecyclePlugin[]) - Constructor for class org.robolectric.android.internal.AndroidTestEnvironment
 
AndroidUnreleased() - Constructor for class org.robolectric.versioning.AndroidVersions.AndroidUnreleased
 
AndroidVersionInitTools - Class in org.robolectric.versioning
Utility access method to allow robolectric to instantiate AndroidVersions without cluttering code completion for users of AndroidVersions's embedded Types of one per Android Releases.
AndroidVersions - Class in org.robolectric.versioning
Android versioning is complicated.
1) There is a yearly letter release with an increasing of one alpha step each year A-> B, B-> C, and so on.
AndroidVersions.AndroidRelease - Class in org.robolectric.versioning
Representation of an android release, one that has occurred, or is expected.
AndroidVersions.AndroidReleased - Class in org.robolectric.versioning
A released version of Android
AndroidVersions.AndroidUnreleased - Class in org.robolectric.versioning
An in-development version of Android
AndroidVersions.J - Class in org.robolectric.versioning
Version: 4.1
ShortCode: J
SDK API Level: 16
release: true
AndroidVersions.JMR1 - Class in org.robolectric.versioning
Version: 4.2
ShortCode: JMR1
SDK API Level: 17
release: true
AndroidVersions.JMR2 - Class in org.robolectric.versioning
Version: 4.3
ShortCode: JMR2
SDK API Level: 18
release: true
AndroidVersions.K - Class in org.robolectric.versioning
Version: 4.4
ShortCode: K
SDK API Level: 19
release: true
AndroidVersions.L - Class in org.robolectric.versioning
Version: 5.0
ShortCode: L
SDK API Level: 21
release: true
AndroidVersions.LMR1 - Class in org.robolectric.versioning
Version: 5.1
ShortCode: LMR1
SDK API Level: 22
release: true
AndroidVersions.M - Class in org.robolectric.versioning
Version: 6.0
ShortCode: M
SDK API Level: 23
release: true
AndroidVersions.N - Class in org.robolectric.versioning
Version: 7.0
ShortCode: N
SDK API Level: 24
release: true
AndroidVersions.NMR1 - Class in org.robolectric.versioning
Release: 7.1
ShortCode: NMR1
SDK Framework: 25
release: true
AndroidVersions.O - Class in org.robolectric.versioning
Release: 8.0
ShortCode: O
SDK API Level: 26
release: true
AndroidVersions.OMR1 - Class in org.robolectric.versioning
Release: 8.1
ShortCode: OMR1
SDK API Level: 27
release: true
AndroidVersions.P - Class in org.robolectric.versioning
Release: 9.0
ShortCode: P
SDK API Level: 28
release: true
AndroidVersions.Q - Class in org.robolectric.versioning
Release: 10.0
ShortCode: Q
SDK API Level: 29
release: true
AndroidVersions.R - Class in org.robolectric.versioning
Release: 11.0
ShortCode: R
SDK API Level: 30
release: true
AndroidVersions.S - Class in org.robolectric.versioning
Release: 12.0
ShortCode: S
SDK API Level: 31
release: true
AndroidVersions.Sv2 - Class in org.robolectric.versioning
Release: 12.1
ShortCode: Sv2
SDK API Level: 32
release: true
AndroidVersions.T - Class in org.robolectric.versioning
Release: 13.0
ShortCode: T
SDK API Level: 33
release: true
AndroidVersions.U - Class in org.robolectric.versioning
Potential Release: 14.0
ShortCode: U
SDK API Level: 34
release: false
AndroidVersions.Unbound - Class in org.robolectric.versioning
Version: -1
ShortCode: ""
SDK API Level: ""
release: false
AndroidVersions.V - Class in org.robolectric.versioning
Potential Release: 15.0
ShortCode: V
SDK API Level: 34+
release: false
andThen(Consumer<? super T>) - Method in interface org.robolectric.util.Consumer
Returns a composed Consumer that performs, in sequence, this operation followed by the after operation.
AnimatedImageDrawableNatives - Class in org.robolectric.nativeruntime
Native methods for AnimatedImageDrawable JNI registration.
AnimatedVectorDrawableNatives - Class in org.robolectric.nativeruntime
Native methods for AnimatedVectorDrawable JNI registration.
annotationType - Variable in class org.robolectric.annotation.processing.validator.Validator
 
annotationType() - Method in class org.robolectric.annotation.Config.Implementation
 
apiLevel() - Method in class org.robolectric.res.android.ApkAssetsCache.Key
 
ApkAssetsCache - Class in org.robolectric.res.android
A global cache for ApkAssets (framework and app resources).
ApkAssetsCache.Key - Class in org.robolectric.res.android
The cache key for this cache.
ApkAssetsCookie - Class in org.robolectric.res.android
 
ApkLoader - Class in org.robolectric
Mediates loading of "APKs" in legacy mode.
ApkLoader() - Constructor for class org.robolectric.ApkLoader
 
append(String) - Method in class org.robolectric.res.android.String8
 
appendDescription(String) - Method in class org.robolectric.shadows.ShadowBitmap
 
appendDescription(String) - Method in class org.robolectric.shadows.ShadowCanvas
 
appendDescription(String) - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
appendDescription(String) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
appendDescription(String) - Method in class org.robolectric.shadows.ShadowNativeBaseCanvas
 
appendDescription(String) - Method in class org.robolectric.shadows.ShadowNativeBitmap
 
appendParameterList(StringBuilder, List<? extends TypeParameterElement>) - Method in class org.robolectric.annotation.processing.Helpers
 
appendPath(String) - Method in class org.robolectric.res.android.String8
 
appHeight - Variable in class org.robolectric.android.internal.DisplayConfig
The height of the portion of the display that is available to applications, in pixels.
application - Variable in class org.robolectric.annotation.Config.Builder
 
application - Static variable in class org.robolectric.RuntimeEnvironment
Deprecated.
Please use {#getApplication} instead. Accessing this field directly is inherently incompatible with LazyApplication and Robolectric makes no guarantees if a test *modifies* this field during execution.
application() - Element in annotation type org.robolectric.annotation.Config
The Application class to use in the test, this takes precedence over any application specified in the AndroidManifest.xml.
application() - Method in class org.robolectric.annotation.Config.Implementation
 
apply() - Method in class org.robolectric.shadows.ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl
 
apply(Type, VisitorState) - Method in class org.robolectric.errorprone.bugpatterns.Helpers.CastableTo
 
apply(String, byte) - Method in interface org.robolectric.res.android.CppAssetManager2.PackageFunc
 
apply(Statement, Description) - Method in class org.robolectric.junit.rules.BackgroundTestRule
Deprecated.
 
apply(Statement, Description) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
 
apply(Statement, Description) - Method in class org.robolectric.junit.rules.TimeoutRule
 
apply(Style, boolean) - Method in class org.robolectric.res.ThemeStyleSet
 
applyBatch(String, ArrayList<ContentProviderOperation>) - Method in class org.robolectric.shadows.ShadowContentResolver
 
applyBatch(ArrayList<ContentProviderOperation>) - Method in class org.robolectric.shadows.ShadowContentProviderClient
 
applyFreeFunction(long, long) - Static method in class org.robolectric.nativeruntime.NativeAllocationRegistryNatives
 
applyFreeFunction(long, long) - Static method in class org.robolectric.shadows.ShadowNativeAllocationRegistry
 
applyQualifiers(String, int, Configuration, DisplayMetrics) - Static method in class org.robolectric.android.Bootstrap
 
applyStyle(int, boolean) - Method in class org.robolectric.res.android.ResTableTheme
 
applyStyle(long, int, int, long, int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
applyStyle(long, int, int, long, int[], int, long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
ApplyStyle(int, boolean) - Method in class org.robolectric.res.android.CppAssetManager2.Theme
 
ApplyStyle(CppAssetManager2.Theme, ResXMLParser, int, int, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution10
 
ApplyStyle(CppAssetManager2.Theme, ResXMLParser, int, int, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution9
 
ApplyStyle(ResTableTheme, ResXMLParser, int, int, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution
 
applyThemeStyle(long, int, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
applyTransformation(float, Transformation) - Method in class org.robolectric.shadows.ShadowAnimationBridge
 
approximate(float) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
AppUsageLimitObserver(int, List<String>, Duration, Duration, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
 
AppUsageObserver() - Constructor for class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
 
appVsyncOffsetNanos - Variable in class org.robolectric.android.internal.DisplayConfig
This is a positive value indicating the phase offset of the VSYNC events provided by Choreographer relative to the display refresh.
AppWidgetProviderInfoBuilder - Class in org.robolectric.shadows
Class to build AppWidgetProviderInfo
appWidth - Variable in class org.robolectric.android.internal.DisplayConfig
The width of the portion of the display that is available to applications, in pixels.
ArcPaintHistoryEvent(RectF, float, float, boolean, Paint) - Constructor for class org.robolectric.shadows.ShadowCanvas.ArcPaintHistoryEvent
 
arcTo(float, float, float, float, float, float, boolean) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
arcTo(RectF, float, float) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
arcTo(RectF, float, float, boolean) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
areAllPrimitivesSupported(int...) - Method in class org.robolectric.shadows.ShadowVibrator
 
areAnyRunnable() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
areAnyRunnable() - Method in class org.robolectric.util.Scheduler
Deprecated.
Determine if any enqueued runnables are enqueued before the current time.
areNotificationsEnabled() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
areThereUnrecycledNodes(boolean) - Static method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
Check for leaked objects that were obtained but never recycled.
areThereUnrecycledWindows(boolean) - Static method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
Check for leaked objects that were obtained but never recycled.
ArscBase() - Constructor for class org.robolectric.shadows.ShadowAssetManager.ArscBase
 
ArscResourceResolver(Context) - Constructor for class org.robolectric.android.AttributeSetBuilderImpl.ArscResourceResolver
 
asCharSequence(TypedResource) - Method in class org.robolectric.shadows.Converter
 
asCharSequence(TypedResource) - Method in class org.robolectric.shadows.Converter.FromAttrData
 
asCharSequence(TypedResource) - Method in class org.robolectric.shadows.Converter.FromCharSequence
 
asElement(TypeMirror) - Method in class org.robolectric.annotation.processing.Helpers
 
asIdmap_header() - Method in class org.robolectric.res.android.StringPiece
 
asInt(TypedResource) - Method in class org.robolectric.shadows.Converter
 
asInt(TypedResource) - Method in class org.robolectric.shadows.Converter.FromCharSequence
 
asInt(TypedResource) - Method in class org.robolectric.shadows.Converter.FromColor
 
asInterface(IBinder) - Static method in class org.robolectric.shadows.ShadowIAppOpsService.ShadowStub
 
asInterface(IBinder) - Static method in class org.robolectric.shadows.ShadowSecureElementService
 
ASSERT - Enum constant in enum org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
 
assertLooperMode(LooperMode.Mode) - Static method in class org.robolectric.shadows.ShadowLooper
 
assertNoBroadcastListenersOfActionRegistered(ContextWrapper, String) - Method in class org.robolectric.shadows.ShadowApplication
 
Asset - Class in org.robolectric.res.android
 
Asset.AccessMode - Enum in org.robolectric.res.android
 
assetDir - Variable in class org.robolectric.annotation.Config.Builder
 
assetDir() - Element in annotation type org.robolectric.annotation.Config
Deprecated.
If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure
assetDir() - Method in class org.robolectric.annotation.Config.Implementation
 
AssetDir - Class in org.robolectric.res.android
 
AssetPath - Class in org.robolectric.res.android
 
AssetPath(Path, boolean) - Constructor for class org.robolectric.res.android.AssetPath
 
asShared() - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
assistantPackageName - Static variable in class org.robolectric.shadows.ShadowVoiceInteractor
 
associate(AssociationRequest, CompanionDeviceManager.Callback, Handler) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
associate(AssociationRequest, Executor, CompanionDeviceManager.Callback) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
associate(String, MacAddress, byte[]) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
AssociationInfoBuilder - Class in org.robolectric.shadows
Builder for AssociationInfo.
associations - Variable in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
asString() - Method in class org.robolectric.res.TypedResource
 
AsyncTraceSection() - Constructor for class org.robolectric.shadows.ShadowTrace.AsyncTraceSection
 
atomId() - Method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
 
ATRACE_NAME(String) - Static method in class org.robolectric.res.android.Util
 
attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration, Object) - Method in interface org.robolectric.shadows._Activity_
 
attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration, String, Object) - Method in interface org.robolectric.shadows._Activity_
 
attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration, String, Object, Window) - Method in interface org.robolectric.shadows._Activity_
 
attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration, String, Object, Window, Object) - Method in interface org.robolectric.shadows._Activity_
 
attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration, String, Object, Window, Object, IBinder) - Method in interface org.robolectric.shadows._Activity_
 
attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration, String, Object, Window, Object, IBinder, IBinder) - Method in interface org.robolectric.shadows._Activity_
 
attach(AttachCallback, Handler) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
 
attachAuxEffect(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
 
attachController(ActivityController) - Method in class org.robolectric.shadows.ShadowActivity
For internal use only.
attached - Variable in class org.robolectric.android.controller.ComponentController
 
attemptLoadClass(ClassLoader, String) - Static method in class org.robolectric.util.ReflectionHelpers
Attempt to load a class.
AttestedKeyPairFactory - Class in org.robolectric.shadows
Factory to create AttestedKeyPair.
AttestedKeyPairFactory() - Constructor for class org.robolectric.shadows.AttestedKeyPairFactory
 
attr(int, int, int, ResourceTypes.Res_value, String) - Method in class org.robolectric.res.android.ResourceTypes.ResXMLTree_attrExt.Writer
 
ATTR_DATA - Enum constant in enum org.robolectric.res.ResType
 
ATTR_FEW - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_L10N - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_MANY - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_MAX - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_MIN - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_ONE - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_OTHER - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_TWO - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
ATTR_ZERO - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
 
AttrData - Class in org.robolectric.res
 
AttrData(String, String, List<AttrData.Pair>) - Constructor for class org.robolectric.res.AttrData
 
AttrData.Pair - Class in org.robolectric.res
 
ATTRIBUTE - Enum constant in enum org.robolectric.res.android.DataType
data holds an attribute resource identifier.
ATTRIBUTE_TYPE_PRECIDENCE - Static variable in class org.robolectric.shadows.ShadowAssetManager
 
AttributeResolution - Class in org.robolectric.res.android
 
AttributeResolution() - Constructor for class org.robolectric.res.android.AttributeResolution
 
AttributeResolution.BagAttributeFinder - Class in org.robolectric.res.android
 
AttributeResolution.XmlAttributeFinder - Class in org.robolectric.res.android
 
AttributeResolution10 - Class in org.robolectric.res.android
 
AttributeResolution10() - Constructor for class org.robolectric.res.android.AttributeResolution10
 
AttributeResolution10.BagAttributeFinder - Class in org.robolectric.res.android
 
AttributeResolution10.XmlAttributeFinder - Class in org.robolectric.res.android
 
AttributeResolution9 - Class in org.robolectric.res.android
 
AttributeResolution9() - Constructor for class org.robolectric.res.android.AttributeResolution9
 
AttributeResolution9.BagAttributeFinder - Class in org.robolectric.res.android
 
AttributeResolution9.XmlAttributeFinder - Class in org.robolectric.res.android
 
AttributeResource - Class in org.robolectric.res
 
AttributeResource(ResName, String, String) - Constructor for class org.robolectric.res.AttributeResource
 
AttributeResource(ResName, String, String, Integer) - Constructor for class org.robolectric.res.AttributeResource
 
attributeSet - Variable in class org.robolectric.shadows.ShadowView
 
AttributeSetBuilder - Interface in org.robolectric.android
Builder of AttributeSets.
AttributeSetBuilderImpl - Class in org.robolectric.android
 
AttributeSetBuilderImpl(AttributeSetBuilderImpl.ResourceResolver) - Constructor for class org.robolectric.android.AttributeSetBuilderImpl
 
AttributeSetBuilderImpl.ArscResourceResolver - Class in org.robolectric.android
 
AttributeSetBuilderImpl.ResourceResolver - Interface in org.robolectric.android
 
attrType - Variable in class org.robolectric.res.StaxLoader
 
audioAttributesFromLastVibration - Static variable in class org.robolectric.shadows.ShadowVibrator
 
AudioDeviceInfoBuilder - Class in org.robolectric.shadows
Builder for AudioDeviceInfo.
audioFocusRequest - Variable in class org.robolectric.shadows.ShadowAudioManager.AudioFocusRequest
 
AudioProfileBuilder - Class in org.robolectric.shadows
Builder for AudioProfile.
authenticate(FingerprintManager.CryptoObject, CancellationSignal, int, FingerprintManager.AuthenticationCallback, Handler) - Method in class org.robolectric.shadows.ShadowFingerprintManager
Success or failure can be simulated with a subsequent call to ShadowFingerprintManager.authenticationSucceeds() or ShadowFingerprintManager.authenticationFails().
authenticationFails() - Method in class org.robolectric.shadows.ShadowFingerprintManager
Simulates a failed fingerprint authentication.
authenticationSucceeds() - Method in class org.robolectric.shadows.ShadowFingerprintManager
Simulates a successful fingerprint authentication.
authority() - Method in class org.robolectric.shadows.ShadowMediaStore.CloudMediaChangedEvent
 
AUTO_NS - Static variable in class org.robolectric.res.android.ResourceTypes
 
AutoFactory - Annotation Type in org.robolectric.util.inject
Indicates that the annotated type will be used as a factory.
autoFocus(Camera.AutoFocusCallback) - Method in class org.robolectric.shadows.ShadowCamera
 
AVAILABLE_FEATURES - Static variable in class org.robolectric.android.XmlResourceParserImpl
All the parser features currently supported by Android.
awaitTermination(long, TimeUnit) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
 
awaitTermination(long, TimeUnit) - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
 
awaitTermination(long, TimeUnit) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
Deprecated.
 

B

backgroundColor - Variable in class org.robolectric.shadows.ShadowActivity.OverriddenActivityTransition
 
backgroundDrawable - Variable in class org.robolectric.shadows.ShadowWindow
 
BackgroundExecutor - Class in org.robolectric.android.util.concurrent
Utility class for running code off the main looper thread aka Robolectric test thread.
BackgroundTestRule - Class in org.robolectric.junit.rules
Deprecated.
use LooperMode.Mode.INSTRUMENTATION_TEST instead
BackgroundTestRule() - Constructor for class org.robolectric.junit.rules.BackgroundTestRule
Deprecated.
 
BackgroundTestRule.BackgroundTest - Annotation Type in org.robolectric.junit.rules
Deprecated.
Annotation for test methods that need to be executed in a background thread.
BackupAgentController<T extends BackupAgent> - Class in org.robolectric.android.controller
 
BackupDataEntity - Class in org.robolectric.shadows
Represents a key value pair in ShadowBackupDataInput and ShadowBackupDataOutput.
BackupDataEntity() - Constructor for class org.robolectric.shadows.BackupDataEntity
 
BackupDataInputBuilder - Class in org.robolectric.shadows
Builder for a BackupDataInput object.
BackupDataOutputFactory - Class in org.robolectric.shadows
Factory for instances of BackupDataOutput.
BAD_DOCUMENT - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
 
BAD_INDEX - Static variable in class org.robolectric.res.android.Errors
 
BAD_TYPE - Static variable in class org.robolectric.res.android.Errors
 
BAD_VALUE - Static variable in class org.robolectric.res.android.Errors
 
bag_entry() - Constructor for class org.robolectric.res.android.ResTable.bag_entry
 
BagAttributeFinder(ResTable.bag_entry[], int) - Constructor for class org.robolectric.res.android.AttributeResolution.BagAttributeFinder
 
BarringInfoBuilder - Class in org.robolectric.shadows
Builder for BarringInfo.
BarringInfoBuilder.BarringServiceInfoBuilder - Class in org.robolectric.shadows
BaseCanvasNatives - Class in org.robolectric.nativeruntime
Native methods for BaseCanvas JNI registration.
BaseCursor - Class in org.robolectric.fakes
Deprecated.
Use MatrixCursor instead.
BaseCursor() - Constructor for class org.robolectric.fakes.BaseCursor
Deprecated.
 
BaseRecordingCanvasNatives - Class in org.robolectric.nativeruntime
Native methods for BaseRecordingCanvas JNI registration.
baseUrl - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
 
beforeTest(Method) - Method in class org.robolectric.DefaultTestLifecycle
Called before each test method is run.
beforeTest(Method) - Method in interface org.robolectric.TestLifecycle
Called before each test method is run.
beforeTest(Method) - Method in interface org.robolectric.TestLifecycleApplication
 
beforeTest(Sandbox, FrameworkMethod, Method) - Method in class org.robolectric.internal.SandboxTestRunner
 
beforeTest(Sandbox, FrameworkMethod, Method) - Method in class org.robolectric.RobolectricTestRunner
 
beginAsyncSection(String, int) - Static method in class org.robolectric.shadows.ShadowTrace
Starts a new async trace section with given name.
beginBroadcast() - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
 
beginRecording(int, int) - Method in class org.robolectric.shadows.ShadowPicture
 
beginRestoreSession() - Method in class org.robolectric.shadows.ShadowBackupManager
 
beginSection(String) - Static method in class org.robolectric.shadows.ShadowTrace
Starts a new trace section with given name.
bidi(int, char[], byte[], int, boolean) - Static method in class org.robolectric.shadows.ShadowAndroidBidi
 
bigEndianIterator() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
 
bigEndianIterator() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS
 
BINARY - Enum constant in enum org.robolectric.internal.ResourcesMode
 
bind() - Method in class org.robolectric.android.controller.IntentServiceController
 
bind() - Method in class org.robolectric.android.controller.ServiceController
 
bind(Class<T>, Class<? extends T>) - Method in class org.robolectric.util.inject.Injector.Builder
Registers an implementing class for the given dependency type.
bind(Class<T>, T) - Method in class org.robolectric.util.inject.Injector.Builder
Registers an instance for the given dependency type.
bind(Injector.Key<T>, T) - Method in class org.robolectric.util.inject.Injector.Builder
Registers an instance for the given key.
bindAppWidgetId(int, ComponentName) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
bindAppWidgetId(int, ComponentName, Bundle) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
bindAppWidgetIdIfAllowed(int, ComponentName) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
Create an internal presentation of the widget and cache it locally.
bindAppWidgetIdIfAllowed(int, ComponentName, Bundle) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
Create an internal presentation of the widget locally and store the options Bundle with it.
bindDefault(Class<T>, Class<? extends T>) - Method in class org.robolectric.util.inject.Injector.Builder
Registers a fallback implementing class for the given dependency type.
bindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, int, UserHandle) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
Bind to the same package in another user.
binderServices - Static variable in class org.robolectric.shadows.ShadowServiceManager
 
bindProcessToNetwork(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
bindService(Intent, int, Executor, ServiceConnection) - Method in class org.robolectric.shadows.ShadowContextImpl
 
bindService(Intent, int, Executor, ServiceConnection) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
bindService(Intent, ServiceConnection, int) - Method in class org.robolectric.shadows.ShadowContextImpl
 
bindService(Intent, ServiceConnection, int) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
bindServiceAsUser(Intent, ServiceConnection, int, UserHandle) - Method in class org.robolectric.shadows.ShadowContextImpl
Binds to a service but ignores the given UserHandle.
bindSocket(FileDescriptor) - Method in class org.robolectric.shadows.ShadowNetwork
Simulates a socket bind.
bindSocket(DatagramSocket) - Method in class org.robolectric.shadows.ShadowNetwork
Simulates a socket bind.
bindSocket(Socket) - Method in class org.robolectric.shadows.ShadowNetwork
Simulates a socket bind.
biometricServiceConnected - Variable in class org.robolectric.shadows.ShadowBiometricManager
 
BitmapFactoryNatives - Class in org.robolectric.nativeruntime
Native methods for BitmapFactory JNI registration.
BitmapNatives - Class in org.robolectric.nativeruntime
Native methods for Bitmap JNI registration.
BitmapShaderNatives - Class in org.robolectric.nativeruntime
Native methods for BitmapShader JNI registration.
BlendModeColorFilterNatives - Class in org.robolectric.nativeruntime
Native methods for BlendModeColorFilter JNI registration.
BLOCK_SIZE - Static variable in class org.robolectric.shadows.ShadowStatFs
 
blockingGetAuthToken(Account, String, boolean) - Method in class org.robolectric.shadows.ShadowAccountManager
 
BLUETOOTH_DEVICE_NAME - Static variable in class org.robolectric.shadows.ShadowMediaRouter
 
bluetoothGattReflector - Variable in class org.robolectric.shadows.ShadowBluetoothGatt
 
bluetoothGattServerReflector - Variable in class org.robolectric.shadows.ShadowBluetoothGattServer
 
bluetoothLeAdvertiserReflector - Variable in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
 
BlurMaskFilterNatives - Class in org.robolectric.nativeruntime
Native methods for BlurMaskFilter JNI registration.
BOOLEAN - Enum constant in enum org.robolectric.res.ResType
 
bootstrap(MethodHandles.Lookup, String, MethodType, MethodHandle, int) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
 
Bootstrap - Class in org.robolectric.android
 
Bootstrap() - Constructor for class org.robolectric.android.Bootstrap
 
bootstrapAuthenticationRequest(Object, Object, Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
bootstrapInit(MethodHandles.Lookup, String, MethodType) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
 
bootstrapIntrinsic(MethodHandles.Lookup, String, MethodType, String) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
 
bootstrappedClass(Class<?>) - Method in class org.robolectric.internal.bytecode.Sandbox
 
bootstrapStatic(MethodHandles.Lookup, String, MethodType, MethodHandle, int) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
 
bottom - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
 
bottom - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
 
boundSocketCount() - Method in class org.robolectric.shadows.ShadowNetwork
Returns the total number of sockets bound to this network interface.
BrightnessChangeEventBuilder - Class in org.robolectric.shadows
BrightnessChangeEventBuilder() - Constructor for class org.robolectric.shadows.BrightnessChangeEventBuilder
 
broadcastPermission - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
 
broadcastReceiver - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
 
BroadcastReceiverData - Class in org.robolectric.manifest
 
BroadcastReceiverData(String, MetaData) - Constructor for class org.robolectric.manifest.BroadcastReceiverData
 
BroadcastReceiverData(Map<String, String>, MetaData, List<IntentFilterData>) - Constructor for class org.robolectric.manifest.BroadcastReceiverData
 
buffer - Variable in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
 
buffer - Variable in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
 
build() - Method in interface org.robolectric.android.AttributeSetBuilder
Build an AttributeSet with the antecedent attributes.
build() - Method in class org.robolectric.android.AttributeSetBuilderImpl
 
build() - Method in class org.robolectric.annotation.Config.Builder
 
build() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
build() - Method in class org.robolectric.internal.bytecode.ShadowMap.Builder
 
build() - Method in interface org.robolectric.Robolectric.AttributeSetBuilder
Deprecated.
Build an AttributeSet with the antecedent attributes.
build() - Method in class org.robolectric.shadows.AppWidgetProviderInfoBuilder
 
build() - Method in class org.robolectric.shadows.AssociationInfoBuilder
 
build() - Method in class org.robolectric.shadows.AudioDeviceInfoBuilder
 
build() - Method in class org.robolectric.shadows.AudioProfileBuilder
 
build() - Method in class org.robolectric.shadows.BackupDataInputBuilder
Builds the BackupDataInput instance with the added entities.
build() - Method in class org.robolectric.shadows.BarringInfoBuilder.BarringServiceInfoBuilder
 
build() - Method in class org.robolectric.shadows.BarringInfoBuilder
 
build() - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
 
build() - Method in class org.robolectric.shadows.CellIdentityLteBuilder
 
build() - Method in class org.robolectric.shadows.CellIdentityNrBuilder
 
build() - Method in class org.robolectric.shadows.CellInfoLteBuilder
 
build() - Method in class org.robolectric.shadows.CellInfoNrBuilder
 
build() - Method in class org.robolectric.shadows.CellSignalStrengthLteBuilder
 
build() - Method in class org.robolectric.shadows.CellSignalStrengthNrBuilder
 
build() - Method in class org.robolectric.shadows.DeviceStateSensorOrientationBuilder
 
build() - Method in class org.robolectric.shadows.DragEventBuilder
 
build() - Method in class org.robolectric.shadows.EmergencyNumberBuilder
 
build() - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
 
build() - Method in class org.robolectric.shadows.FrameMetricsBuilder
 
build() - Method in class org.robolectric.shadows.GnssStatusBuilder
Deprecated.
Builds the GnssStatus from the satellites previously added.
build() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
Deprecated.
build() - Method in class org.robolectric.shadows.InformationElementBuilder
 
build() - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
 
build() - Method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
 
build() - Method in class org.robolectric.shadows.ModuleInfoBuilder
Returns a ModuleInfo with the data that was given.
build() - Method in class org.robolectric.shadows.NetworkRegistrationInfoTestBuilder
 
build() - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
 
build() - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
Returns a PackageRollbackInfo with the data that was given.
build() - Method in class org.robolectric.shadows.PlaybackInfoBuilder
 
build() - Method in class org.robolectric.shadows.PolicyStateBuilder
 
build() - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
 
build() - Method in class org.robolectric.shadows.RangingSessionBuilder
 
build() - Method in class org.robolectric.shadows.ResponderLocationBuilder
 
build() - Method in class org.robolectric.shadows.RollbackInfoBuilder
Returns a RollbackInfo with the data that was given.
build() - Method in class org.robolectric.shadows.RunningTaskInfoBuilder
 
build() - Method in class org.robolectric.shadows.SensorEventBuilder
 
build() - Method in class org.robolectric.shadows.ServiceStateBuilder
 
build() - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
 
build() - Method in class org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
 
build() - Method in class org.robolectric.shadows.ShadowEventLog.EventBuilder
 
build() - Method in class org.robolectric.shadows.ShadowFontsFontFamily.ShadowFontsFontFamilyBuilder
 
build() - Method in class org.robolectric.shadows.ShadowLegacyTypeface.ShadowBuilder
 
build() - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
 
build() - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection.Builder
 
build() - Method in class org.robolectric.shadows.ShadowTrace.Counter.Builder
 
build() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
 
build() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder
 
build() - Method in class org.robolectric.shadows.SharedLibraryInfoBuilder
 
build() - Method in class org.robolectric.shadows.StorageVolumeBuilder
 
build() - Method in class org.robolectric.shadows.StreamConfigurationMapBuilder
Builds a StreamConfigurationMap based on data previously added to this builder.
build() - Method in class org.robolectric.shadows.UiccCardInfoBuilder
 
build() - Method in class org.robolectric.shadows.UiccPortInfoBuilder
 
build() - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
 
build() - Method in class org.robolectric.shadows.VibrationAttributesBuilder
 
build() - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
 
build() - Method in class org.robolectric.util.inject.Injector.Builder
Builds an injector as previously configured.
build(int, Collection<String>, long, TimeUnit, PendingIntent) - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
 
build(int, List<String>, Duration, Duration, PendingIntent, PendingIntent) - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
 
build(InstrumentationConfiguration, Sdk, Sdk, ResourcesMode, SQLiteMode.Mode) - Method in interface org.robolectric.internal.SandboxManager.SandboxBuilder
 
build(ShadowMap, ShadowMatcher, Interceptors) - Method in interface org.robolectric.internal.bytecode.ClassHandlerBuilder
Builds a instance.
buildActivity(Class<T>) - Static method in class org.robolectric.Robolectric
Creates a ActivityController for the given activity class.
buildActivity(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
Creates a ActivityController for the given activity class with the intent.
buildActivity(Class<T>, Intent, Bundle) - Static method in class org.robolectric.Robolectric
Creates a ActivityController for the given activity class with the intent and activity options.
buildAttributeSet() - Static method in class org.robolectric.Robolectric
Allows for the programmatic creation of an AttributeSet.
buildBackupAgent(Class<T>) - Static method in class org.robolectric.Robolectric
 
buildContentProvider(Class<T>) - Static method in class org.robolectric.Robolectric
 
builder() - Static method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
Deprecated.
 
Builder() - Constructor for class org.robolectric.annotation.Config.Builder
 
Builder() - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
Builder() - Constructor for class org.robolectric.internal.bytecode.ShadowMap.Builder
 
Builder() - Constructor for class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
Deprecated.
 
Builder() - Constructor for class org.robolectric.shadows.ShadowTrace.AsyncTraceSection.Builder
 
Builder() - Constructor for class org.robolectric.shadows.ShadowTrace.Counter.Builder
 
Builder() - Constructor for class org.robolectric.util.inject.Injector.Builder
Creates a new builder.
Builder(int, MacAddress, long, int) - Constructor for class org.robolectric.shadows.ShadowRangingResult.Builder
 
Builder(ClassLoader) - Constructor for class org.robolectric.util.inject.Injector.Builder
Creates a new builder using the specified ClassLoader for plugin loading.
Builder(Config) - Constructor for class org.robolectric.annotation.Config.Builder
 
Builder(InstrumentationConfiguration) - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
Builder(ShadowMap) - Constructor for class org.robolectric.internal.bytecode.ShadowMap.Builder
 
Builder(Injector) - Constructor for class org.robolectric.util.inject.Injector.Builder
Creates a new builder with a parent injector.
Builder(Injector, ClassLoader) - Constructor for class org.robolectric.util.inject.Injector.Builder
Creates a new builder with a parent injector and the specified ClassLoader for plugin loading.
buildEvent() - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
 
buildExternalStorageAppCacheDirs(String) - Static method in class org.robolectric.shadows.ShadowEnvironment
 
buildFragment(Class<T>) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFragment(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFragment(Class<T>, Intent, Bundle) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFragment(Class<T>, Bundle) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFragment(Class<T>, Class<? extends Activity>) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFragment(Class<T>, Class<? extends Activity>, Intent) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFragment(Class<T>, Class<? extends Activity>, Intent, Bundle) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFragment(Class<T>, Class<? extends Activity>, Bundle) - Static method in class org.robolectric.Robolectric
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
buildFrom(GnssStatusBuilder.GnssSatelliteInfo...) - Static method in class org.robolectric.shadows.GnssStatusBuilder
Deprecated.
Convenience method to create a GnssStatus directly from known satellite info.
buildGlobalConfig() - Method in class org.robolectric.RobolectricTestRunner
Deprecated.
Provide a service implementation of GlobalConfigProvider instead. This method will be removed in Robolectric 4.3.
buildIntentService(Class<T>) - Static method in class org.robolectric.Robolectric
 
buildIntentService(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
 
buildResourceTable(AndroidManifest) - Method in class org.robolectric.res.ResourceMerger
 
buildService(Class<T>) - Static method in class org.robolectric.Robolectric
 
buildService(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
 
buildString(char[]) - Static method in class org.robolectric.res.android.ResourceString
Builds a string from a null-terminated char data.
buildSubscriptionInfo() - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
 
buildSystemFallback(String, String, FontCustomizationParser.Result, ArrayMap<String, FontFamily[]>, ArrayList<Font>) - Static method in class org.robolectric.shadows.ShadowNativeSystemFonts
 
buildSystemFallback(String, String, FontCustomizationParser.Result, ArrayMap<String, FontFamily[]>, ArrayList<Font>) - Static method in class org.robolectric.shadows.ShadowSystemFonts
 
buildSystemFallback(String, String, ArrayMap<String, Typeface>, ArrayMap<String, FontFamily[]>) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
buildSystemFallback(String, String, ArrayMap<String, Typeface>, ArrayMap<String, FontFamily[]>) - Static method in class org.robolectric.shadows.ShadowNativeTypeface
 
bulkInsert(Uri, ContentValues[]) - Method in class org.robolectric.shadows.ShadowContentProviderClient
 
bulkInsert(Uri, ContentValues[]) - Method in class org.robolectric.shadows.ShadowContentResolver
If a ContentProvider is registered for the given Uri, its ContentProvider.bulkInsert(Uri, ContentValues[]) method will be invoked.
bulkTransfer(UsbEndpoint, byte[], int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
 
bulkTransfer(UsbEndpoint, byte[], int, int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
 
bundle - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
Deprecated.
ByteBucketArray<T> - Class in org.robolectric.res.android
Stores a sparsely populated array.
ByteBucketArray(T) - Constructor for class org.robolectric.res.android.ByteBucketArray
 
bytes - Variable in class org.robolectric.shadows.ShadowMemoryMappedFile
 
bytes - Variable in class org.robolectric.shadows.ShadowMemoryMappedFileS
 
bytes() - Method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
 

C

CACHE - Enum constant in enum org.robolectric.fakes.RoboResponseSource
Return the response from the cache immediately.
CachedPathIteratorFactory - Class in org.robolectric.shadows
Class that returns iterators for a given path.
CachedPathIteratorFactory(PathIterator) - Constructor for class org.robolectric.shadows.CachedPathIteratorFactory
 
CachedPathIteratorFactory.CachedPathIterator - Class in org.robolectric.shadows
Class that allows us to iterate over a path multiple times
calculateSignalLevel(int, int) - Static method in class org.robolectric.shadows.ShadowWifiManager
 
call(Uri, String, String, Bundle) - Method in class org.robolectric.shadows.ShadowContentResolver
 
call(Class<?>, T, Object[]) - Method in interface org.robolectric.util.Function
 
call(String, String, Bundle) - Method in class org.robolectric.shadows.ShadowContentProviderClient
 
CALL_REAL_CODE - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
 
callActivityOnCreate(Activity, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callActivityOnDestroy(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callActivityOnPause(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callActivityOnRestart(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callActivityOnResume(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callActivityOnStart(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callActivityOnStop(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callApplicationOnCreate(Application) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
callApplyConfigurationToResourcesLocked(Configuration, CompatibilityInfo) - Method in class org.robolectric.shadows.ShadowResourcesManager
Exposes ResourcesManager#applyCompatConfigurationLocked(int, Configuration).
callAttach(Activity, Context, ActivityThread, Instrumentation, Application, Intent, ActivityInfo, IBinder, CharSequence, Object) - Method in interface org.robolectric.shadows._Activity_
 
callAttach(Context) - Method in class org.robolectric.shadows.ShadowApplication
Attaches an application to a base context.
callAttach(Intent) - Method in class org.robolectric.shadows.ShadowActivity
 
callAttach(Intent, Bundle) - Method in class org.robolectric.shadows.ShadowActivity
 
callAttach(Intent, Bundle, Object) - Method in class org.robolectric.shadows.ShadowActivity
 
callAttach(Intent, Bundle, Object, Configuration) - Method in class org.robolectric.shadows.ShadowActivity
 
callback() - Method in class org.robolectric.shadows.ShadowAccessibilityService.GestureDispatch
The callback that is to be invoked once the gesture has finished dispatching.
callConstructor(Class<? extends R>, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call the constructor of an object.
callDispatchResized() - Method in class org.robolectric.shadows.ShadowViewRootImpl
 
callGetThemeResId() - Method in class org.robolectric.shadows.ShadowContextThemeWrapper
 
callInstanceMethod(Class<?>, Object, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call an instance method on an object on a specific class.
callInstanceMethod(Object, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call an instance method on an object.
callLastOnFinished(Intent, int, String, Bundle) - Method in class org.robolectric.shadows.ShadowPendingIntent
callNativeMethodsByDefault - Variable in class org.robolectric.internal.bytecode.ShadowInfo
 
callNativeMethodsByDefault() - Element in annotation type org.robolectric.annotation.Implements
If set to true, Robolectric will invoke the native method variant instead of the no-op variant.
callOnActivityResult(int, int, Intent) - Method in class org.robolectric.shadows.ShadowActivity
Deprecated.
callOnAttachedToHierarchy(PreferenceManager) - Method in class org.robolectric.shadows.ShadowPreference
 
callOnAttachedToWindow() - Method in class org.robolectric.shadows.ShadowView
 
callOnCreate(Bundle) - Method in class org.robolectric.shadows.ShadowDialog
 
callOnDetachedFromWindow() - Method in class org.robolectric.shadows.ShadowView
 
callOnGetDirectActions(CancellationSignal, Consumer<List<DirectAction>>) - Method in class org.robolectric.shadows.ShadowActivity
Calls Activity#onGetDirectActions with the given parameters.
callParsePackage(Path) - Static method in class org.robolectric.shadows.ShadowPackageParser
Parses an AndroidManifest.xml file using the framework PackageParser.
CallRecord(PhoneAccountHandle, Bundle) - Constructor for class org.robolectric.shadows.ShadowTelecomManager.CallRecord
Deprecated.
 
callStaticMethod(Class<?>, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively call a static method on a class.
callStaticMethod(ClassLoader, String, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
Helper method for calling a static method using a class from a custom class loader
callThroughByDefault - Variable in class org.robolectric.internal.bytecode.ShadowInfo
 
callThroughByDefault() - Element in annotation type org.robolectric.annotation.Implements
If true, Robolectric will invoke the actual Android code for any method that isn't shadowed.
callWindowFocusChanged(boolean) - Method in class org.robolectric.shadows.ShadowViewRootImpl
 
canAddCall() - Method in class org.robolectric.shadows.ShadowInCallService
 
canAuthenticate() - Method in class org.robolectric.shadows.ShadowBiometricManager
 
canAuthenticate(int) - Method in class org.robolectric.shadows.ShadowBiometricManager
 
canAuthenticate(int, int) - Method in class org.robolectric.shadows.ShadowBiometricManager
 
cancel() - Method in class org.robolectric.shadows.ShadowCountDownTimer
 
cancel() - Method in class org.robolectric.shadows.ShadowJsResult
 
cancel() - Method in class org.robolectric.shadows.ShadowPendingIntent
 
cancel() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimator
 
cancel() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
 
cancel() - Method in class org.robolectric.shadows.ShadowSslErrorHandler
 
cancel() - Method in class org.robolectric.shadows.ShadowSystemVibrator
 
cancel() - Method in class org.robolectric.shadows.ShadowToast
 
cancel() - Method in class org.robolectric.shadows.ShadowWindowManagerGlobal.PredictiveBackGesture
Cancels the back gesture.
cancel(boolean) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
 
cancel(boolean) - Method in class org.robolectric.util.SimpleFuture
Deprecated.
 
cancel(int) - Method in class org.robolectric.shadows.ShadowJobScheduler
 
cancel(int) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
 
cancel(int) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
cancel(AlarmManager.OnAlarmListener) - Method in class org.robolectric.shadows.ShadowAlarmManager
 
cancel(PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
 
cancel(String, int) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
cancelAll() - Method in class org.robolectric.shadows.ShadowAlarmManager
 
cancelAll() - Method in class org.robolectric.shadows.ShadowJobScheduler
 
cancelAll() - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
 
cancelAll() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
cancelAllNotifications() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
 
cancelAutoFocus() - Method in class org.robolectric.shadows.ShadowCamera
 
cancelBondProcess() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
cancelBugreport() - Method in class org.robolectric.shadows.ShadowBugreportManager
Cancels bugreport in progress and executes BugreportManager.BugreportCallback.onError(int).
cancelConnection(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothGattServer
Disconnects an established connection, or cancels a connection attempt currently in progress.
cancelDiscovery() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
cancelMissedCallsNotification() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
cancelNotification(String) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
 
cancelOperation(int) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
 
cancelSync(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
 
canConfigureInteractAcrossProfiles(String) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
Unlike the real system, we will assume a package can always configure its own cross profile interaction.
canDrawOverlays(Context) - Static method in class org.robolectric.shadows.ShadowSettings
 
canGoBack() - Method in class org.robolectric.shadows.ShadowWebView
 
canGoForward() - Method in class org.robolectric.shadows.ShadowWebView
 
canInteractAcrossProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
Checks if the current application can interact across profile.
canNotifyAsPackage(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
canonicalToCurrentPackageNames(String[]) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
canPause() - Method in class org.robolectric.shadows.ShadowVideoView
 
canRequestInteractAcrossProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
Returns whether the calling package can request to navigate the user to the relevant settings page to request user consent to interact across profiles.
canRequestPackageInstalls() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
canScheduleExactAlarms() - Method in class org.robolectric.shadows.ShadowAlarmManager
 
canSwitchUsers() - Method in class org.robolectric.shadows.ShadowUserManager
Returns true by default, or the value specified via ShadowUserManager.setCanSwitchUser(boolean).
CanvasNatives - Class in org.robolectric.nativeruntime
Native methods for Canvas JNI registration.
CanvasPropertyNatives - Class in org.robolectric.nativeruntime
Native methods for CanvasProperty JNI registration.
canvasReflector - Variable in class org.robolectric.shadows.ShadowLegacyCanvas
 
CapabilityFailureInfo() - Constructor for class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
 
capture(CaptureRequest, CameraCaptureSession.CaptureCallback, Handler) - Method in class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
 
captureSingleRequest(CaptureRequest, Executor, CameraCaptureSession.CaptureCallback) - Method in class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
 
CastableTo(Supplier<Type>) - Constructor for class org.robolectric.errorprone.bugpatterns.Helpers.CastableTo
 
ceil(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
 
CellIdentityLteBuilder - Class in org.robolectric.shadows
Builder for CellIdentityLte.
CellIdentityNrBuilder - Class in org.robolectric.shadows
Builder for CellIdentityNr.
CellInfoLteBuilder - Class in org.robolectric.shadows
Builder for CellInfoLte.
CellInfoNrBuilder - Class in org.robolectric.shadows
Builder for CellInfoNr.
CellSignalStrengthLteBuilder - Class in org.robolectric.shadows
CellSignalStrengthNrBuilder - Class in org.robolectric.shadows
centerX - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
 
centerY - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
 
CESU8 - Enum constant in enum org.robolectric.res.android.ResourceString.Type
 
changeDisplay(int, String) - Static method in class org.robolectric.shadows.ShadowDisplayManager
Changes properties of a simulated display.
CHAR_SEQUENCE - Enum constant in enum org.robolectric.res.ResType
 
CHAR_SEQUENCE_ARRAY - Enum constant in enum org.robolectric.res.ResType
 
charset() - Method in enum org.robolectric.res.android.ResourceString.Type
 
CHECK(boolean) - Static method in class org.robolectric.res.android.Util
 
checkActivities(boolean) - Method in class org.robolectric.shadows.ShadowApplication
Set to true if you'd like Robolectric to strictly simulate the real Android behavior when calling Context.startActivity(android.content.Intent).
checkBluetoothAddress(String) - Static method in class org.robolectric.shadows.ShadowBluetoothAdapter
Validate a Bluetooth address, such as "00:43:A8:23:10:F0" Alphabetic characters must be uppercase to be valid.
checkCallingOrSelfPermission(String) - Method in class org.robolectric.shadows.ShadowContextImpl
 
checkCallingPermission(String) - Method in class org.robolectric.shadows.ShadowContextImpl
 
checkChar(String, int, char) - Method in class org.robolectric.shadows.ShadowTime
 
checkedPerformClick() - Method in class org.robolectric.shadows.ShadowView
Deprecated.
- Please use Espresso for View interactions.
checkIfCameraClosedOrInError() - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
 
checkMainThread() - Method in class org.robolectric.android.internal.RobolectricThreadChecker
 
checkNotMainThread() - Method in class org.robolectric.android.internal.RobolectricThreadChecker
 
checkOp(String, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
checkOpNoThrow(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
checkOpNoThrow(String, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
Deprecated.
checkPackage(int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
 
checkPermission(String, int, int) - Method in class org.robolectric.shadows.ShadowContextImpl
 
checkPermission(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
checkRecognitionSupport(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
 
checkRecycled(String) - Method in interface org.robolectric.shadows.ShadowBitmap.BitmapReflector
 
checkService(String) - Static method in class org.robolectric.shadows.ShadowServiceManager
checkSignatures(int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
checkSignatures(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
checkSlicePermission(Uri, int, int) - Method in class org.robolectric.shadows.ShadowSliceManager
 
checkStateAfterTestFailure(Throwable) - Method in class org.robolectric.android.internal.AndroidTestEnvironment
 
checkStateAfterTestFailure(Throwable) - Method in interface org.robolectric.internal.TestEnvironment
 
claimInterface(UsbInterface, boolean) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
 
CLASS_HANDLER_DATA_FIELD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
 
CLASS_NAME - Static variable in class org.robolectric.shadows.ShadowContextImpl
 
classBlock(RunNotifier) - Method in class org.robolectric.internal.SandboxTestRunner
 
ClassDetails - Class in org.robolectric.internal.bytecode
A more lightweight variant of MutableClass.
ClassDetails(byte[]) - Constructor for class org.robolectric.internal.bytecode.ClassDetails
 
classesToNotAcquire - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
classesToNotInstrument - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
classesToNotInstrumentRegex - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
classHandler - Variable in class org.robolectric.internal.bytecode.Sandbox
 
ClassHandler - Interface in org.robolectric.internal.bytecode
This interface is used by Robolectric when instrumented classes are created and interacted with.
classHandlerBuilder - Variable in class org.robolectric.internal.SandboxTestRunner
 
ClassHandlerBuilder - Interface in org.robolectric.internal.bytecode
Factory interface for ClassHandler.
classInitializing(Class) - Method in interface org.robolectric.internal.bytecode.ClassHandler
Called by Robolectric when an instrumented class is first loaded into a sandbox and is ready to be statically initialized.
classInitializing(Class) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
 
classInitializing(Class) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
 
ClassInstrumentor - Class in org.robolectric.internal.bytecode
Instruments (i.e.
ClassInstrumentor() - Constructor for class org.robolectric.internal.bytecode.ClassInstrumentor
 
ClassInstrumentor(ClassInstrumentor.Decorator) - Constructor for class org.robolectric.internal.bytecode.ClassInstrumentor
 
ClassInstrumentor.Decorator - Interface in org.robolectric.internal.bytecode
 
className - Variable in class org.robolectric.internal.bytecode.MethodRef
 
className - Variable in class org.robolectric.internal.bytecode.MethodSignature
 
className() - Element in annotation type org.robolectric.annotation.Implements
Android class name (if the Class object is not accessible).
className() - Element in annotation type org.robolectric.util.reflector.ForType
 
ClassName - Annotation Type in org.robolectric.annotation
Parameters with types that can't be resolved at compile time may be annotated @ClassName.
ClassNameResolver<T> - Class in org.robolectric.shadows
 
ClassNameResolver() - Constructor for class org.robolectric.shadows.ClassNameResolver
 
classNameTranslations - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
classNameTranslations() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
Map from a requested class to an alternate stand-in, or not.
classNode - Variable in class org.robolectric.internal.bytecode.MutableClass
 
ClassNodeProvider - Class in org.robolectric.internal.bytecode
 
ClassNodeProvider() - Constructor for class org.robolectric.internal.bytecode.ClassNodeProvider
 
ClassParameter(Class<? extends V>, V) - Constructor for class org.robolectric.util.ReflectionHelpers.ClassParameter
 
clazz - Variable in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
clean(Object) - Static method in class org.robolectric.fakes.CleanerCompat
 
CleanerCompat - Class in org.robolectric.fakes
Wrapper for Cleaner, used by AndroidInterceptors.CleanerInterceptor when running on Java 9+.
CleanerCompat() - Constructor for class org.robolectric.fakes.CleanerCompat
 
CleanerInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.CleanerInterceptor
 
cleanStackTrace(Throwable) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
 
clear() - Method in class org.robolectric.fakes.RoboMenu
 
clear() - Method in class org.robolectric.res.android.NativeObjRegistry
WARNING -- dangerous! Call NativeObjRegistry.unregister(long) instead!
clear() - Static method in class org.robolectric.shadows.ShadowLog
Clear all accumulated logs.
clear() - Method in class org.robolectric.shadows.ShadowVelocityTracker
 
Clear() - Method in class org.robolectric.res.android.CppAssetManager2.Theme
 
clearAccounts() - Method in class org.robolectric.shadows.ShadowTelecomManager
Deprecated. 
clearAccountsForPackage(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
clearAll() - Static method in class org.robolectric.shadows.ShadowEventLog
 
clearAllNetworks() - Method in class org.robolectric.shadows.ShadowConnectivityManager
Clears the list of all Networks.
clearAllowedNonPcmEncodings() - Static method in class org.robolectric.shadows.ShadowAudioTrack
Clears all encodings that have been added with ShadowAudioTrack.addAllowedNonPcmEncoding(int).
clearAnimation() - Method in class org.robolectric.shadows.ShadowView
 
clearAnimations() - Method in class org.robolectric.shadows.ShadowView
Resets the list returned by ShadowView.getAnimations() to an empty list.
clearApplicationUserData(String, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowActivityManager
 
clearApplicationUserData(String, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
clearBroadcastIntents() - Method in class org.robolectric.shadows.ShadowContextWrapper
Clears the broadcast intents sent during the tests (for all users).
clearBroadcastResponseStats(String, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
 
clearCache(boolean) - Method in class org.robolectric.shadows.ShadowWebView
 
clearCameraInfo() - Static method in class org.robolectric.shadows.ShadowCamera
 
clearCloudMediaChangedEventList() - Static method in class org.robolectric.shadows.ShadowMediaStore
 
clearCodecs() - Static method in class org.robolectric.shadows.ShadowMediaCodec
Clears any previously added encoders and decoders.
clearCommunicationDevice() - Method in class org.robolectric.shadows.ShadowAudioManager
 
clearContextHubClientWithPendingIntentList() - Static method in class org.robolectric.shadows.ShadowContextHubManager
 
clearControllers() - Method in class org.robolectric.shadows.ShadowMediaSessionManager
Clears all controllers such that ShadowMediaSessionManager.getActiveSessions(ComponentName) will return the empty list.
clearCrossProfileIntentFilters(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
clearDirectPlaybackSupportedFormats() - Static method in class org.robolectric.shadows.ShadowAudioTrack
Clears all encodings that have been added for direct playback support with ShadowAudioTrack.addDirectPlaybackSupport(android.media.AudioFormat, android.media.AudioAttributes).
clearDispatchedMediaKeyEvents() - Method in class org.robolectric.shadows.ShadowAudioManager
 
clearExistingInstancesAndStates() - Static method in class org.robolectric.shadows.ShadowImsMmTelManager
 
clearExternalPnoScanRequest() - Method in class org.robolectric.shadows.ShadowWifiManager
 
clearFormData() - Method in class org.robolectric.shadows.ShadowWebView
 
clearHasSentRttRequest() - Method in class org.robolectric.shadows.ShadowCall
"Forgets" that sendRttRequest() was called.
clearHeader() - Method in class org.robolectric.fakes.RoboSubMenu
 
clearHistory() - Method in class org.robolectric.shadows.ShadowWebView
 
clearHttpResponseRules() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
 
clearHttpResponseRules() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
clearHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
Call this method if you want to ensure that there's no http responses logged from this point until the next response arrives.
clearInstance() - Method in interface org.robolectric.shadows.ShadowSystemServiceRegistry._ServiceFetcherN_
 
clearIntentFilterForActivity(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Clears intent filters for given activity.
clearIntentFilterForProvider(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Clears intent filters for given provider.
clearIntentFilterForReceiver(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Clears intent filters for given receiver.
clearIntentFilterForService(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Clears intent filters for given service.
clearIsNavigationBarVisible() - Static method in class org.robolectric.shadows.ShadowViewRootImpl
Clears the last known state of ShadowViewRootImpl.isNavigationBarVisible.
clearIsStatusBarVisible() - Static method in class org.robolectric.shadows.ShadowViewRootImpl
Clears the last known state of ShadowViewRootImpl.isStatusBarVisible.
clearKilledProcesses() - Static method in class org.robolectric.shadows.ShadowProcess
 
clearLastDownloadedMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
clearLastDragClipData() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
clearLastSentDataMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
clearLastSentMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
clearLastSentMultipartTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
clearLastSentTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
clearLastSpokenText() - Method in class org.robolectric.shadows.ShadowTextToSpeech
 
clearLooperMode() - Static method in class org.robolectric.shadows.ShadowLooper
 
clearMappings() - Method in class org.robolectric.shadows.ShadowMimeTypeMap
 
clearModeInvalidatedClasses() - Method in class org.robolectric.internal.AndroidSandbox
 
clearModeInvalidatedClasses() - Method in class org.robolectric.internal.bytecode.Sandbox
 
clearNetworkRoamingStatus() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
Clears the local cache of roaming subscription Ids used by ShadowSubscriptionManager.isNetworkRoaming(int).
clearNextStartedActivities() - Method in class org.robolectric.shadows.ShadowContextWrapper
clearNextStartedActivities() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
clearOnExitAnimationListener() - Method in class org.robolectric.fakes.RoboSplashScreen
 
clearOverrideActivityTransition(int) - Method in class org.robolectric.shadows.ShadowActivity
 
clearPackagePersistentPreferredActivities(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
clearPackagePreferredActivities(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
clearPackagePreferredActivitiesInternal(String, SortedMap<ComponentName, List<IntentFilter>>) - Static method in class org.robolectric.shadows.ShadowPackageManager
 
clearPendingHttpResponses() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
 
clearPendingHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
clearPhoneIds() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
Removes all mappings between subscription IDs and phone IDs from the map used by ShadowSubscriptionManager.getPhoneId(int).
clearPhoneTypes() - Static method in class org.robolectric.shadows.ShadowTelephonyManager
Removes all subId to phoneType mappings.
clearPlayed() - Method in class org.robolectric.shadows.ShadowSoundPool
Clears the sounds played by this SoundPool.
clearPorts() - Method in class org.robolectric.shadows.ShadowUsbManager
Remove all added ports from UsbManager.
clearPrimaryClip() - Method in class org.robolectric.shadows.ShadowClipboardManager
 
clearProfileOwner(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
clearRegisterContentProviderException(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
clearRegisteredReceivers() - Method in class org.robolectric.shadows.ShadowApplication
Clears the list of ShadowApplication.Wrappers for registered receivers
clearRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
clearResponses() - Method in class org.robolectric.shadows.ShadowBluetoothGattServer
Clear the list of responses.
clearSeedAccountData() - Method in class org.robolectric.shadows.ShadowUserManager
 
clearServices() - Method in class org.robolectric.shadows.ShadowBluetoothGattServer
Remove all services from the list of provided services.
clearSource() - Static method in class org.robolectric.shadows.ShadowAudioRecord
Resets ShadowAudioRecord.AudioRecordSource to be used for providing data to AudioRecord, so that all requests are fulfilled for audio data by completely filling any requested buffers.
clearStartedServices() - Method in class org.robolectric.shadows.ShadowContextWrapper
Clears all Intent started by Context.startService(android.content.Intent).
clearStorageStats() - Method in class org.robolectric.shadows.ShadowStorageStatsManager
clearSupportedCloudMediaProviderAuthorities() - Static method in class org.robolectric.shadows.ShadowMediaStore
Mutator method to clear the list of supported cloud media provider authorities.
clearSystemAvailableFeatures() - Method in class org.robolectric.shadows.ShadowPackageManager
 
clearSystemSharedLibraryNames() - Method in class org.robolectric.shadows.ShadowPackageManager
Clears the values returned by PackageManager.getSystemSharedLibraryNames().
clearTargetUserProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
Clears the list of accessible handles.
clearThreadStatsTag() - Static method in class org.robolectric.shadows.ShadowTrafficStats
 
clearToken(Context, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
 
clearToken(Context, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
 
clearUsabilityScores() - Method in class org.robolectric.shadows.ShadowWifiManager
Clears wifi usability scores previous passed to WifiManager.updateWifiUsabilityScore(int, int, int)
clearUserRestriction(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
clearUserRestrictions(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
Removes all user restrictions set of a user identified by userHandle.
clearVcnConfig(ParcelUuid) - Method in class org.robolectric.shadows.ShadowVcnManager
 
clearView() - Method in class org.robolectric.shadows.ShadowWebView
 
clearWakeLocks() - Method in class org.robolectric.shadows.ShadowApplication
Deprecated.
use ShadowPowerManager.clearWakeLocks
clearWakeLocks() - Static method in class org.robolectric.shadows.ShadowPowerManager
Clears most recent recorded wakelock.
clearWasDataSetChangedCalledFlag() - Method in class org.robolectric.shadows.ShadowBaseAdapter
 
clearWasInvalidated() - Method in class org.robolectric.shadows.ShadowView
Clears the wasInvalidated flag
clearWifiConnectedNetworkScorer() - Method in class org.robolectric.shadows.ShadowWifiManager
 
clearWrittenBytes() - Method in class org.robolectric.shadows.ShadowBluetoothGattServer
Clear the list of written bytes.
click() - Method in class org.robolectric.fakes.RoboMenuItem
 
click() - Method in class org.robolectric.shadows.ShadowPreference
 
clickFirstItemContainingText(String) - Method in class org.robolectric.shadows.ShadowAdapterView
 
clickMenuItem(int) - Method in class org.robolectric.shadows.ShadowActivity
Perform a click on a menu item.
clickOn(int) - Method in class org.robolectric.shadows.ShadowDialog
 
clickOn(View) - Static method in class org.robolectric.shadows.ShadowView
Deprecated.
Please use Espresso for view interactions
clickOnItem(int) - Method in class org.robolectric.shadows.ShadowAlertDialog
Simulates a click on the Dialog item indicated by index.
clickOnText(int) - Method in class org.robolectric.shadows.ShadowDialog
 
clickOnText(String) - Method in class org.robolectric.shadows.ShadowDialog
 
close() - Method in class org.robolectric.android.controller.ActivityController
Transitions the underlying Activity to the 'destroyed' state by progressing through the appropriate lifecycle events.
close() - Method in class org.robolectric.android.XmlResourceParserImpl
 
close() - Method in class org.robolectric.fakes.BaseCursor
Deprecated.
 
close() - Method in class org.robolectric.fakes.RoboCursor
Deprecated.
 
close() - Method in class org.robolectric.fakes.RoboMenu
 
close() - Method in class org.robolectric.fakes.RoboWebMessagePort
 
close() - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
 
close() - Method in class org.robolectric.res.android.Asset
 
close() - Method in class org.robolectric.shadows.ShadowBasicTagTechnology
 
close() - Method in class org.robolectric.shadows.ShadowBluetoothGatt
Close this Bluetooth GATT client.
close() - Method in class org.robolectric.shadows.ShadowBluetoothGattServer
Close this GATT server instance.
close() - Method in class org.robolectric.shadows.ShadowBluetoothServerSocket
 
close() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
 
close() - Method in class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
 
close() - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
 
close() - Method in class org.robolectric.shadows.ShadowCloseGuard
 
close() - Method in class org.robolectric.shadows.ShadowContextHubClient
 
close() - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
close() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
 
close() - Method in class org.robolectric.shadows.ShadowImageReader
 
close() - Method in class org.robolectric.shadows.ShadowLegacyPath
 
close() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
 
close() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS
 
close() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
 
close() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
close() - Method in class org.robolectric.shadows.ShadowRangingSession
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.
close() - Method in class org.robolectric.shadows.ShadowUsbRequest
 
close() - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
Prevents a NPE when calling .close() on a VirtualDevice in unit tests.
close() - Method in class org.robolectric.shadows.ShadowVirtualInputDevice
 
close() - Method in class org.robolectric.shadows.ShadowWindowManagerGlobal.PredictiveBackGesture
Ends the back gesture.
close(FileDescriptor) - Method in class org.robolectric.shadows.ShadowBlockGuardOs
 
closeCurrentInput() - Method in class org.robolectric.shadows.ShadowInputMethodManager
The framework implementation does a blocking call to system server.
CloseGuardRule - Class in org.robolectric.junit.rules
Rule for failing tests that leave any CloseGuards open.
CloseGuardRule() - Constructor for class org.robolectric.junit.rules.CloseGuardRule
 
closeProfileProxy(int, BluetoothProfile) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
CloudMediaChangedEvent() - Constructor for class org.robolectric.shadows.ShadowMediaStore.CloudMediaChangedEvent
 
code() - Method in enum org.robolectric.res.android.DataType
 
CodecConfig(int, int, ShadowMediaCodec.CodecConfig.Codec) - Constructor for class org.robolectric.shadows.ShadowMediaCodec.CodecConfig
 
collapseActionView() - Method in class org.robolectric.fakes.RoboMenuItem
 
COLOR - Enum constant in enum org.robolectric.res.ResType
 
COLOR_MODE_HDR - Enum constant in enum org.robolectric.res.android.ResTable_config.Type
 
COLOR_MODE_WIDE_COLOR_GAMUT - Enum constant in enum org.robolectric.res.android.ResTable_config.Type
 
COLOR_STATE_LIST - Enum constant in enum org.robolectric.res.ResType
 
ColorFilterNatives - Class in org.robolectric.nativeruntime
Native methods for ColorFilter JNI registration.
ColorMatrixColorFilterNatives - Class in org.robolectric.nativeruntime
Native methods for ColorMatrixColorFilter JNI registration.
colorMode - Variable in class org.robolectric.android.internal.DisplayConfig
The active color mode.
colorMode - Variable in class org.robolectric.res.android.ResTable_config
 
colorModeHdr() - Method in class org.robolectric.res.android.ResTable_config
Returns the HDR section of ResTable_config.colorMode.
colorModeWideColorGamut() - Method in class org.robolectric.res.android.ResTable_config
Returns the wide color gamut section of ResTable_config.colorMode.
ColorNatives - Class in org.robolectric.nativeruntime
Native methods for Color JNI registration.
ColorSpaceRgbNatives - Class in org.robolectric.nativeruntime
Native methods for BitmapFactory JNI registration.
columnNames - Variable in class org.robolectric.fakes.RoboCursor
Deprecated.
 
commit() - Method in class org.robolectric.shadows.ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl
 
commit(IntentSender) - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
 
compare(Intent, Intent) - Method in class org.robolectric.shadows.ShadowPackageManager.IntentComparator
 
compareTo(Sdk) - Method in class org.robolectric.pluginapi.Sdk
Instances of Sdk are ordered by the API level they implement.
compareTo(ShadowAlarmManager.ScheduledAlarm) - Method in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
 
compareTo(JavaVersion) - Method in class org.robolectric.util.JavaVersion
 
compareTo(AndroidVersions.AndroidRelease) - Method in class org.robolectric.versioning.AndroidVersions.AndroidRelease
Implements comparable.
compileTimeSystemResourcesFile - Static variable in class org.robolectric.RuntimeEnvironment
 
CompletedDownload(String, String, boolean, String, String, long, boolean) - Constructor for class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
 
CompletedDownload(String, String, boolean, String, String, long, boolean, Uri, Uri) - Constructor for class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
 
COMPLEX_MANTISSA_MASK - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_MANTISSA_SHIFT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_RADIX_0p23 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_RADIX_16p7 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_RADIX_23p0 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_RADIX_8p15 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_RADIX_MASK - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_RADIX_SHIFT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_DIP - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_FRACTION - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_FRACTION_PARENT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_IN - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_MASK - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_MM - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_PT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_PX - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_SHIFT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
COMPLEX_UNIT_SP - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
component - Variable in class org.robolectric.android.controller.ComponentController
 
ComponentController<C extends ComponentController<C,T>,T> - Class in org.robolectric.android.controller
 
ComponentController(T) - Constructor for class org.robolectric.android.controller.ComponentController
 
ComponentController(T, Intent) - Constructor for class org.robolectric.android.controller.ComponentController
 
ComponentState(int, int) - Constructor for class org.robolectric.shadows.ShadowPackageManager.ComponentState
 
ComposePathEffectNatives - Class in org.robolectric.nativeruntime
Native methods for ComposePathEffect JNI registration.
ComposeShaderNatives - Class in org.robolectric.nativeruntime
Native methods for ComposeShader JNI registration.
compress(Bitmap.CompressFormat, int, OutputStream) - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
computeBounds(RectF, boolean) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
computeChargeTimeRemaining() - Method in class org.robolectric.shadows.ShadowBatteryManager
 
computeCurrentSdkFromBuildProps(Properties) - Static method in class org.robolectric.versioning.AndroidVersionInitTools
 
computeCurrentVelocity(int) - Method in class org.robolectric.shadows.ShadowVelocityTracker
 
computeCurrentVelocity(int, float) - Method in class org.robolectric.shadows.ShadowVelocityTracker
 
computeReleaseVersion(JarFile) - Static method in class org.robolectric.versioning.AndroidVersionInitTools
 
CONDITIONAL_CACHE - Enum constant in enum org.robolectric.fakes.RoboResponseSource
Make a conditional request to the host, returning the cache response if the cache is valid and the network response otherwise.
Config - Annotation Type in org.robolectric.annotation
Configuration settings that can be used on a per-class or per-test basis.
CONFIG_PROPERTIES - Static variable in class org.robolectric.RobolectricTestRunner
 
Config.Builder - Class in org.robolectric.annotation
 
Config.Implementation - Class in org.robolectric.annotation
 
ConfigConfigurer - Class in org.robolectric.plugins
Provides configuration to Robolectric for its @Config annotation.
ConfigConfigurer(PackagePropertiesLoader) - Constructor for class org.robolectric.plugins.ConfigConfigurer
 
ConfigConfigurer(PackagePropertiesLoader, GlobalConfigProvider) - Constructor for class org.robolectric.plugins.ConfigConfigurer
 
ConfigDescription - Class in org.robolectric.res.android
transliterated from https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r12/tools/aapt2/ConfigDescription.cpp
ConfigDescription() - Constructor for class org.robolectric.res.android.ConfigDescription
 
ConfigDescription.LocaleValue - Class in org.robolectric.res.android
 
ConfigMerger - Class in org.robolectric
Deprecated.
Provide an implementation of javax.inject.Provider<Config>. This class will be removed in Robolectric 4.3.
ConfigMerger() - Constructor for class org.robolectric.ConfigMerger
Deprecated.
 
configs - Variable in class org.robolectric.res.android.ResTable.Type
 
configurationChange() - Method in class org.robolectric.android.controller.ActivityController
Performs a configuration change on the Activity.
configurationChange(Configuration) - Method in class org.robolectric.android.controller.ActivityController
Performs a configuration change on the Activity.
configurationChange(Configuration, DisplayMetrics, int) - Method in class org.robolectric.android.controller.ActivityController
Performs a configuration change on the Activity.
ConfigurationImpl() - Constructor for class org.robolectric.plugins.HierarchicalConfigurationStrategy.ConfigurationImpl
 
ConfigurationRegistry - Class in org.robolectric.config
Holds configuration objects for the current test, computed using Configurer.
ConfigurationRegistry(Map<Class<?>, Object>) - Constructor for class org.robolectric.config.ConfigurationRegistry
 
ConfigurationStrategy - Interface in org.robolectric.pluginapi.config
Strategy for configuring individual tests.
ConfigurationStrategy.Configuration - Interface in org.robolectric.pluginapi.config
Heterogeneous typesafe collection of configuration objects managed by their Configurer.
ConfigurationV25 - Class in org.robolectric.android
 
ConfigurationV25() - Constructor for class org.robolectric.android.ConfigurationV25
 
configure(ClassHandler, Interceptors) - Method in class org.robolectric.internal.bytecode.Sandbox
 
configure(InstrumentationConfiguration.Builder, Interceptors) - Method in class org.robolectric.config.AndroidConfigurer
 
CONFIGURE_GEO_DETECTION_CAPABILITY - Static variable in class org.robolectric.shadows.ShadowTimeManager
 
configureDefaultDisplay(Configuration, DisplayMetrics) - Static method in class org.robolectric.shadows.ShadowDisplayManager
internal only
configuredSdks(Config, UsesSdk) - Method in class org.robolectric.plugins.DefaultSdkPicker
 
Configurer<T> - Interface in org.robolectric.pluginapi.config
Provides configuration data for tests.
configureSandbox(Sandbox, FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
 
ConfigUtils - Class in org.robolectric.annotation.internal
 
connect() - Method in class org.robolectric.shadows.ShadowBasicTagTechnology
 
connect() - Method in class org.robolectric.shadows.ShadowBluetoothGatt
connect() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
This method doesn't perform an actual connection and returns immediately
connect(int, WifiManager.ActionListener) - Method in class org.robolectric.shadows.ShadowWifiManager
 
connect(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
connect(WifiConfiguration, WifiManager.ActionListener) - Method in class org.robolectric.shadows.ShadowWifiManager
 
connectGatt(Context, boolean, BluetoothGattCallback) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
connectGatt(Context, boolean, BluetoothGattCallback, int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
connectGatt(Context, boolean, BluetoothGattCallback, int, int, Handler) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
connectionKeepAliveStrategy - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
connectionManager - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
connectionReuseStrategy - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
connManager - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
The connection manager.
ConscryptMode - Annotation Type in org.robolectric.annotation
Annotation for Conscrypt modes in Robolectric.
ConscryptMode.Mode - Enum in org.robolectric.annotation
Specifies the different supported Conscrypt modes.
ConscryptModeConfigurer - Class in org.robolectric.plugins
Provides configuration to Robolectric for its @ConscryptMode annotation.
ConscryptModeConfigurer(Properties, PackagePropertiesLoader) - Constructor for class org.robolectric.plugins.ConscryptModeConfigurer
 
CONSTANT_IDLE - Enum constant in enum org.robolectric.util.Scheduler.IdleState
Deprecated.
The Scheduler will automatically execute any runnables (past, present or future) as soon as they are posted and advance the clock if necessary.
Constructor - Annotation Type in org.robolectric.util.reflector
Indicates that the annotated method is a constructor.
CONSTRUCTOR_METHOD_NAME - Static variable in class org.robolectric.annotation.processing.validator.ImplementsValidator
 
CONSTRUCTOR_METHOD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
 
consumeBatchedInputEvents(long) - Method in class org.robolectric.shadows.ShadowInputEventReceiver
 
consumeContent() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
 
consumeContent() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
 
Consumer<T> - Interface in org.robolectric.util
Represents an operation that accepts a single input argument and returns no result.
contains(double, double) - Method in class org.robolectric.shadows.RoundRectangle
 
contains(double, double, double, double) - Method in class org.robolectric.shadows.RoundRectangle
 
contains(int, int) - Method in class org.robolectric.nativeruntime.RegionNatives
 
contains(int, int) - Method in class org.robolectric.shadows.ShadowNativeRegion
 
containsHeader(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
containsHeader(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
ContentProviderController<T extends ContentProvider> - Class in org.robolectric.android.controller
 
ContentProviderData - Class in org.robolectric.manifest
 
ContentProviderData(String, MetaData, String, Map<String, String>, List<PathPermissionData>) - Constructor for class org.robolectric.manifest.ContentProviderData
 
context - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
 
contextPackageName - Variable in class org.robolectric.res.AttributeResource
 
controlTransfer(int, int, int, int, byte[], int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
 
controlTransfer(int, int, int, int, byte[], int, int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
 
Converter<T> - Class in org.robolectric.shadows
 
Converter() - Constructor for class org.robolectric.shadows.Converter
 
Converter.FromArray - Class in org.robolectric.shadows
 
Converter.FromAttrData - Class in org.robolectric.shadows
 
Converter.FromCharSequence - Class in org.robolectric.shadows
 
Converter.FromColor - Class in org.robolectric.shadows
 
Converter.FromFilePath - Class in org.robolectric.shadows
 
Converter2<T> - Class in org.robolectric.shadows
 
Converter2() - Constructor for class org.robolectric.shadows.Converter2
 
Converter2.FromCharSequence - Class in org.robolectric.shadows
 
Converter2.FromColor - Class in org.robolectric.shadows
 
convertRawValue(String) - Method in interface org.robolectric.res.ResourceValueConverter
 
convertToShadowName(String) - Static method in class org.robolectric.internal.bytecode.ShadowMap
Deprecated.
do not use
cookie - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
 
copy() - Method in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
 
copy() - Method in class org.robolectric.res.android.ResourceTypes.Res_value
 
copy() - Method in class org.robolectric.res.ThemeStyleSet
 
copy() - Method in class org.robolectric.shadows.ShadowWifiConfiguration
 
copy(Bitmap.Config, boolean) - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
copy(FileDescriptor, FileDescriptor, long, CancellationSignal, Executor, FileUtils.ProgressListener) - Static method in class org.robolectric.shadows.ShadowFileUtils
 
copy(FileDescriptor, FileDescriptor, FileUtils.ProgressListener, CancellationSignal, long) - Static method in class org.robolectric.shadows.ShadowFileUtils
 
copy(InputStream, OutputStream) - Static method in class org.robolectric.util.Util
 
copyBackForwardList() - Method in class org.robolectric.shadows.ShadowWebView
 
copyFrom(DisplayConfig) - Method in class org.robolectric.android.internal.DisplayConfig
 
copyPixelsFromBuffer(Buffer) - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
copyPixelsToBuffer(Buffer) - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
copyStringToBuffer(int, CharArrayBuffer) - Method in class org.robolectric.fakes.BaseCursor
Deprecated.
 
copyStringToBuffer(int, CharArrayBuffer) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
copyTheme(long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
copyTo(DisplayInfo) - Method in class org.robolectric.android.internal.DisplayConfig
 
CornerPathEffectNatives - Class in org.robolectric.nativeruntime
Native methods for CornerPathEffect JNI registration.
cos(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
 
Counter() - Constructor for class org.robolectric.shadows.ShadowTrace.Counter
 
country - Variable in class org.robolectric.res.android.ResTable_config
Returns a packed 2-byte country code.
CppApkAssets - Class in org.robolectric.res.android
 
CppApkAssets(ZipArchiveHandle, String) - Constructor for class org.robolectric.res.android.CppApkAssets
 
CppAssetManager - Class in org.robolectric.res.android
 
CppAssetManager() - Constructor for class org.robolectric.res.android.CppAssetManager
 
CppAssetManager2 - Class in org.robolectric.res.android
 
CppAssetManager2() - Constructor for class org.robolectric.res.android.CppAssetManager2
 
CppAssetManager2.PackageFunc - Interface in org.robolectric.res.android
 
CppAssetManager2.ResolvedBag - Class in org.robolectric.res.android
 
CppAssetManager2.ResolvedBag.Entry - Class in org.robolectric.res.android
 
CppAssetManager2.ResourceName - Class in org.robolectric.res.android
 
CppAssetManager2.Theme - Class in org.robolectric.res.android
 
create() - Method in class org.robolectric.android.controller.ActivityController
 
create() - Method in class org.robolectric.android.controller.BackupAgentController
 
create() - Method in class org.robolectric.android.controller.ComponentController
 
create() - Method in class org.robolectric.android.controller.ContentProviderController
Create and register ContentProvider using ProviderInfo found from manifest.
create() - Method in class org.robolectric.android.controller.FragmentController
Deprecated.
 
create() - Method in class org.robolectric.android.controller.IntentServiceController
 
create() - Method in class org.robolectric.android.controller.ServiceController
 
create() - Static method in class org.robolectric.shadows.GnssStatusBuilder
Deprecated.
Creates a new GnssStatusBuilder.
create() - Static method in class org.robolectric.shadows.PolicyValueFactory
Return a real instance of StringPolicyValue
create() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
Simulates the creation of the VoiceInteractionSession, as if it was being created by the framework.
create() - Method in class org.robolectric.util.SoftThreadLocal
 
create(int, int, boolean, int[]) - Static method in class org.robolectric.shadows.PhoneCapabilityFactory
Creates PhoneCapability.
create(int, int, byte[]) - Static method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
 
create(int, long) - Static method in class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
 
create(int, Bundle) - Method in class org.robolectric.android.controller.FragmentController
Deprecated.
Creates the activity with Bundle and adds the fragment to the view with ID contentViewId.
create(Context) - Static method in class org.robolectric.shadows.ShadowWindow
 
create(Context, int) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
 
create(Context, Uri) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
 
create(ProviderInfo) - Method in class org.robolectric.android.controller.ContentProviderController
Create and register ContentProvider using the given ProviderInfo.
create(Typeface, int) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
create(Typeface, int, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
create(Bundle) - Method in class org.robolectric.android.controller.ActivityController
 
create(Bundle) - Method in class org.robolectric.android.controller.FragmentController
Deprecated.
Creates the activity with Bundle and adds the fragment to it.
create(UserHandle, String, Authority) - Static method in class org.robolectric.shadows.EnforcingAdminFactory
Return an EnforcingAdmin which can enforce a certain policy
create(String) - Method in class org.robolectric.android.controller.ContentProviderController
Create and register ContentProvider using ProviderInfo found from manifest.
create(String) - Static method in class org.robolectric.shadows.PolicyKeyFactory
 
create(String) - Method in class org.robolectric.util.TempDirectory
 
create(String, byte[]) - Static method in class org.robolectric.shadows.BackupDataEntity
Constructs a new entity where the size of the value is the entire array.
create(String, byte[], int) - Static method in class org.robolectric.shadows.BackupDataEntity
Constructs a new entity.
create(String, int) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
create(String, String) - Static method in class org.robolectric.shadows.BackupDataEntity
Constructs a pair with a string value.
create(String, String) - Static method in class org.robolectric.shadows.ShadowMediaStore.CloudMediaChangedEvent
 
create(Path, String) - Static method in class org.robolectric.res.builder.XmlBlock
 
create(KeyPair, Certificate[]) - Static method in class org.robolectric.shadows.AttestedKeyPairFactory
Create AttestedKeyPair.
create(Map<UserHandle, Map<PolicyKey, PolicyState<?>>>) - Static method in class org.robolectric.shadows.DevicePolicyStateBuilder
Return a real instance of DevicePolicyState
createAccelerateDecelerateInterpolator() - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createAccelerateDecelerateInterpolator() - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createAccelerateInterpolator(float) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createAccelerateInterpolator(float) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createActiveRecordingConfiguration(int, int, String) - Method in class org.robolectric.shadows.ShadowAudioManager
Creates simple active recording configuration.
createActivityContext(ActivityThread, LoadedApk, ActivityInfo, IBinder, int, Configuration) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
 
createAndroidManifest(ManifestIdentifier) - Static method in class org.robolectric.RobolectricTestRunner
Deprecated.
Do not use.
createAnticipateInterpolator(float) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createAnticipateInterpolator(float) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createAnticipateOvershootInterpolator(float) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createAnticipateOvershootInterpolator(float) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createAppContext(ActivityThread, LoadedApk) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
 
createAshmemBitmap() - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createAudioPlaybackConfiguration(AudioAttributes) - Method in class org.robolectric.shadows.ShadowAudioManager
 
createAuthenticationResult() - Method in class org.robolectric.shadows.ShadowFingerprintManager
 
createBitmap(int[], int, int, int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createBitmap(int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createBitmap(int, int, Bitmap.Config, boolean, ColorSpace) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createBitmap(Bitmap, int, int, int, int, Matrix, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createBitmap(DisplayMetrics, int[], int, int, int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createBitmap(DisplayMetrics, int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createBitmap(DisplayMetrics, int, int, Bitmap.Config, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createBond() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
Returns whether this device has been bonded with.
createBounceInterpolator() - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createBounceInterpolator() - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createBuffer(AssetManager, String, boolean, int) - Static method in class org.robolectric.shadows.ShadowFontBuilder
Re-implement to avoid call to DirectByteBuffer#array, which is not supported on JDK
createBuffer(AssetManager, String, boolean, int) - Static method in class org.robolectric.shadows.ShadowNativeFont.ShadowNativeFontBuilder
The Android implementation attempts to call ByteBuffer.array() on a direct byte buffer.
createCaptureRequest(int) - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
 
createCaptureSession(SessionConfiguration) - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
 
createCaptureSession(List<Surface>, CameraCaptureSession.StateCallback, Handler) - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
 
createClassHandler(ShadowMap, Sandbox) - Method in class org.robolectric.internal.SandboxTestRunner
 
createClassHandler(ShadowMap, Sandbox) - Method in class org.robolectric.RobolectricTestRunner
Create a ClassHandler appropriate for the given arguments.
createClassLoaderConfig(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
Create an InstrumentationConfiguration suitable for the provided FrameworkMethod.
createClassLoaderConfig(FrameworkMethod) - Method in class org.robolectric.RobolectricTestRunner
Create an InstrumentationConfiguration suitable for the provided FrameworkMethod.
createClient(Context, ContextHubInfo, PendingIntent, long) - Method in class org.robolectric.shadows.ShadowContextHubManager
 
createClient(Object, Object) - Method in class org.robolectric.shadows.ShadowContextHubManager
 
createClient(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowContextHubManager
 
createClient(Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowContextHubManager
 
createConfirmFactoryResetCredentialIntent(CharSequence, CharSequence, CharSequence) - Method in class org.robolectric.shadows.ShadowKeyguardManager
createConnectRequest(HttpRoute, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
Creates the CONNECT request for tunnelling.
createContext() - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
 
createCycleInterpolator(float) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createCycleInterpolator(float) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createDateIntervalFormat(String, String, String) - Static method in class org.robolectric.shadows.ShadowDateIntervalFormat
 
createdCameras - Static variable in class org.robolectric.shadows.ShadowCameraManager
 
createDecelerateInterpolator(float) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createDecelerateInterpolator(float) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createDeepProxy(Class<T>) - Static method in class org.robolectric.util.ReflectionHelpers
Create a proxy for the given class which returns other deep proxies from all it's methods.
createDelegatingProxy(Class<T>, Object) - Static method in class org.robolectric.util.ReflectionHelpers
Create a proxy for the given class which can delegate method calls to another object.
createDeletedEntity(String) - Static method in class org.robolectric.shadows.BackupDataEntity
Constructs a new entity with the given key but a negative size.
createDirectChannel(MemoryFile) - Method in class org.robolectric.shadows.ShadowSensorManager
 
createEventPayload(boolean, boolean, AudioFormat, int, byte[]) - Static method in class org.robolectric.shadows.ShadowAlwaysOnHotwordDetector
Invokes the normally hidden EventPayload constructor for passing to Callback#onDetected().
createExecutorService() - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
 
createFetchToFileTask(URL, File) - Method in class org.robolectric.internal.dependency.MavenArtifactFetcher
 
createFile(String, String) - Method in class org.robolectric.util.TempDirectory
 
createForCardId(int) - Method in class org.robolectric.shadows.ShadowEuiccManager
 
createForPhoneAccountHandle(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelephonyManager
createForSubscriptionId(int) - Static method in class org.robolectric.shadows.ShadowImsMmTelManager
Returns only one instance per subscription id.
createForSubscriptionId(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
createFromAsset(AssetManager.AssetInputStream, boolean, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowNativeImageDecoder
 
createFromAsset(AssetManager.AssetInputStream, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowNativeImageDecoder
 
createFromAsset(AssetManager, String) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromFamilies(Object) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromFamiliesWithDefault(Object) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromFamiliesWithDefault(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromFamiliesWithDefault(Object, Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromFile(File) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromFile(String) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromResourceId(int) - Static method in class org.robolectric.shadows.ShadowDrawable
Deprecated.
use ContextCompat.getDrawable(context, resourceId)
createFromResources(AssetManager, String, int) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromResources(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createFromShadowProviders(List<ShadowProvider>) - Static method in class org.robolectric.internal.bytecode.ShadowMap
 
createFuture(Callable<Result>) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
 
createGroup(WifiP2pManager.Channel, WifiP2pManager.ActionListener) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
 
createHardwareBitmap(RenderNode, int, int) - Static method in class org.robolectric.shadows.ShadowNativeHardwareRenderer
 
createHardwareBitmap(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowHardwareRenderer
 
createHardwareBitmap(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowNativeThreadedRenderer
 
createHardwareBitmap(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowThreadedRenderer
 
createHitTestResult(int, String) - Static method in class org.robolectric.shadows.ShadowWebView
Creates an instance of WebView.HitTestResult.
createIfNotExists(String) - Method in class org.robolectric.util.TempDirectory
 
createImmutableFrameworkIdmapsInZygote() - Method in class org.robolectric.shadows.ShadowOverlayConfig
 
createInsecureL2capChannel(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
createInstance(Context) - Static method in class org.robolectric.shadows.ShadowCookieSyncManager
 
createInstanceInfo(ContextHubInfo, int, long, int) - Method in class org.robolectric.shadows.ShadowContextHubManager
Creates and returns a NanoAppInstanceInfo.
createL2capChannel(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
createLaunchEmergencyDialerIntent(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
createLinearInterpolator() - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createLinearInterpolator() - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createListener - Static variable in class org.robolectric.shadows.ShadowMediaPlayer
Listener that is called when a new MediaPlayer is constructed.
createLockFile() - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
 
createLutInterpolator(float[]) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createLutInterpolator(float[]) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createManageBlockedNumbersIntent() - Method in class org.robolectric.shadows.ShadowTelecomManager
createMavenFetcher(String, String, String, String, int, File, ExecutorService) - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
 
createMockTag() - Static method in class org.robolectric.shadows.ShadowNfcAdapter
Factory method for creating a mock NfcAdapter.Tag
createMulticastLock(String) - Method in class org.robolectric.shadows.ShadowWifiManager
 
createNodesFromPathData(String) - Static method in class org.robolectric.shadows.ShadowPathParser
 
createNotificationChannel(Object) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
createNotificationChannelGroup(Object) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
createNotificationChannelGroups(List<Object>) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
createNotificationChannels(List<Object>) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
createNullProxy(Class<T>) - Static method in class org.robolectric.util.ReflectionHelpers
Create a proxy for the given class which returns default values for every method call.
createOnDeviceSpeechRecognizer(Context) - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
 
createOvershootInterpolator(float) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createOvershootInterpolator(float) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createPackage(AndroidManifest) - Static method in class org.robolectric.shadows.LegacyManifestParser
 
createPair() - Static method in class org.robolectric.fakes.RoboWebMessagePort
 
createPathFromPathData(String) - Static method in class org.robolectric.shadows.ShadowPathParser
 
createPathInterpolator(float[], float[]) - Static method in class org.robolectric.nativeruntime.NativeInterpolatorFactoryNatives
 
createPathInterpolator(float[], float[]) - Static method in class org.robolectric.shadows.ShadowNativeNativeInterpolatorFactory
 
createPipe() - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
createProfile(int, int, int, int, int, int, int, int, int, int, int, int) - Static method in class org.robolectric.shadows.ShadowCamcorderProfile
 
createProfile(String, String, Set<String>) - Method in class org.robolectric.shadows.ShadowUserManager
 
createProxy(Class<T>, T) - Method in class org.robolectric.internal.bytecode.ProxyMaker
Deprecated.
 
createReliablePipe() - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
createRequestInteractAcrossProfilesIntent() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
Returns an intent with the same action as the one returned by system when requesting the same.
createRfcommSocketToServiceRecord(UUID) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
createScaledBitmap(Bitmap, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyBitmap
 
createSensorEvent() - Method in class org.robolectric.shadows.ShadowSensorManager
Deprecated.
Use {@link SensorEventBuilder#newBuilder()} instead.
createSensorEvent(int) - Static method in class org.robolectric.shadows.ShadowSensorManager
Deprecated.
Use {@link SensorEventBuilder#newBuilder()} instead.
createSensorEvent(int, int) - Static method in class org.robolectric.shadows.ShadowSensorManager
Deprecated.
Use {@link SensorEventBuilder#newBuilder()} instead.
createSession(PackageInstaller.SessionParams) - Method in class org.robolectric.shadows.ShadowPackageInstaller
 
createShortcutResultIntent(ShortcutInfo) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
createSpeechRecognizer(Context, ComponentName) - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
 
createSystemContext(ActivityThread) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
 
createTelephonyDisplayInfo(int, int) - Static method in class org.robolectric.shadows.ShadowTelephonyManager
createTest() - Method in class org.robolectric.RobolectricTestRunner
 
createTest() - Method in class org.robolectric.RobolectricTestRunner.HelperTestRunner
 
createTunnelToProxy(HttpRoute, int, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
Creates a tunnel to an intermediate proxy.
createTunnelToTarget(HttpRoute, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
Creates a tunnel to the target server.
createUnderlyingTypeface(String, int) - Static method in class org.robolectric.shadows.ShadowLegacyTypeface
 
createView(Context, int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetHost
 
createVirtualDevice(int, VirtualDeviceParams) - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager
 
createVirtualDisplay(VirtualDisplayConfig, Executor, VirtualDisplay.Callback) - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
 
createVirtualKeyboard(VirtualKeyboardConfig) - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
 
createVirtualMouse(VirtualDisplay, String, int, int) - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
 
createVirtualMouse(VirtualMouseConfig) - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
 
createVirtualTouchscreen(VirtualDisplay, String, int, int) - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
 
createVirtualTouchscreen(VirtualTouchscreenConfig) - Method in class org.robolectric.shadows.ShadowVirtualDeviceManager.ShadowVirtualDevice
 
createWebMessageChannel() - Method in class org.robolectric.shadows.ShadowWebView
 
createWidget(Class<? extends AppWidgetProvider>, int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
Creates a widget by inflating its layout.
createWidgets(Class<? extends AppWidgetProvider>, int, int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
Creates a bunch of widgets by inflating the same layout multiple times.
createWifiLock(int, String) - Method in class org.robolectric.shadows.ShadowWifiManager
 
createWifiLock(String) - Method in class org.robolectric.shadows.ShadowWifiManager
 
CREATOR - Static variable in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
CREATOR - Static variable in class org.robolectric.shadows.ShadowGainmap
 
CREATOR - Static variable in class org.robolectric.shadows.ShadowSigningInfo
 
CREATOR - Static variable in class org.robolectric.shadows.ShadowVisualVoicemailSms
 
ctor(FileDescriptor) - Static method in class org.robolectric.shadows.ShadowBackupDataInput
 
ctor(FileDescriptor) - Static method in class org.robolectric.shadows.ShadowBackupDataOutput
 
cubicTo(float, float, float, float, float, float) - Method in class org.robolectric.shadows.ShadowLegacyPath
 
CURRENT - Static variable in class org.robolectric.versioning.AndroidVersions
The current release this process is running on.
currentActivityThread() - Static method in class org.robolectric.shadows.ShadowActivityThread
 
currentAnnotation - Variable in class org.robolectric.annotation.processing.validator.Validator
 
currentApplication() - Static method in class org.robolectric.shadows.ShadowActivityThread
 
currentElement - Variable in class org.robolectric.annotation.processing.validator.Validator
 
currentGnssTimeClock() - Static method in class org.robolectric.shadows.ShadowSystemClock
 
currentMediaCollectionId() - Method in class org.robolectric.shadows.ShadowMediaStore.CloudMediaChangedEvent
 
currentModeType - Variable in class org.robolectric.shadows.ShadowUIModeManager
 
currentNetworkTimeMillis() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
 
currentNetworkTimeMillis() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
 
currentNightMode - Variable in class org.robolectric.shadows.ShadowUIModeManager
 
currentSegment(double[]) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
 
currentSegment(float[]) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
 
currentSegment(float[], float) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
Returns the current segment up to certain length.
currentThreadTimeMicro() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
 
currentThreadTimeMicro() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
 
currentThreadTimeMillis() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
 
currentThreadTimeMillis() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
 
currentTimeMicro() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
 
currentTimeMicro() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
 
currentTimeMillis() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
Implements System.currentTimeMillis() through ShadowWrangler.
currentTimeMillis() - Static method in class org.robolectric.shadows.ShadowSystem
Implements System.currentTimeMillis() through ShadowWrangler.
currentTimeMillis() - Static method in class org.robolectric.shadows.ShadowSystemClock
Implements System.currentTimeMillis() through ShadowWrangler.
currentToCanonicalPackageNames(String[]) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
CursorWindowNatives - Class in org.robolectric.nativeruntime
Native methods for CursorWindow JNI registration.

D

d(String, String) - Static method in class org.robolectric.shadows.ShadowLog
 
d(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
 
DashPathEffectNatives - Class in org.robolectric.nativeruntime
Native methods for DashPathEffect JNI registration.
data - Variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
data - Variable in class org.robolectric.shadows.ShadowWebView.LoadData
 
data - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
 
data() - Method in class org.robolectric.shadows.BackupDataEntity
The byte array of data in a backup entity.
DATA_NULL_EMPTY - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
DATA_NULL_UNDEFINED - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
DataAuthority(String, String) - Constructor for class org.robolectric.manifest.IntentFilterData.DataAuthority
 
dataChanged() - Method in class org.robolectric.shadows.ShadowBackupManager
 
DataMessageParams(String, String, short, byte[], PendingIntent, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
 
dataSize() - Method in class org.robolectric.shadows.BackupDataEntity
The size of data in a backup entity.
DataSource - Class in org.robolectric.shadows.util
Opaque class for uniquely identifying a media data source, as used by ShadowMediaPlayer, ShadowMediaMetadataRetriever, and ShadowMediaExtractor
DataSource.FileDescriptorTransform - Interface in org.robolectric.shadows.util
Transform a FileDescriptor to a string.
dataType - Variable in class org.robolectric.res.android.ResourceTypes.Res_value
 
DataType - Enum in org.robolectric.res.android
Resource type codes.
deactivate() - Method in class org.robolectric.fakes.BaseCursor
Deprecated.
 
deactivate() - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
debug(String, Object...) - Static method in class org.robolectric.util.Logger
Log a debug message.
declareActionUnbindable(String) - Method in class org.robolectric.shadows.ShadowApplication
 
declareComponentUnbindable(ComponentName) - Method in class org.robolectric.shadows.ShadowApplication
Configures the ShadowApplication so that bindService calls for the given ComponentName return false and do not call onServiceConnected.
decodeByteArray(byte[], int, int) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeByteArray(byte[], int, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeFile(String) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeFile(String, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeFileDescriptor(FileDescriptor, Rect, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decoder() - Method in enum org.robolectric.res.android.ResourceString.Type
 
decodeRegion(Rect, BitmapFactory.Options) - Method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
 
decodeResource(Resources, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeResource(Resources, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowNativeBitmapFactory
 
decodeResourceStream(Resources, TypedValue, InputStream, Rect, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeSdk(int, int, int, int, int) - Method in class org.robolectric.plugins.DefaultSdkPicker
 
decodeStream(InputStream) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeStream(InputStream, Rect, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
decodeStream(InputStream, Rect, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowNativeBitmapFactory
The real implementation of BitmapFactory.decodeStream(InputStream, Rect, Options) checks if the stream is an AssetManager.AssetInputStream object and subsequently passes in native asset ids into native code.
decodeString(ByteBuffer, int, ResourceString.Type) - Static method in class org.robolectric.res.android.ResourceString
Given a buffer and an offset into the buffer, returns a String.
decorate(MutableClass) - Method in interface org.robolectric.internal.bytecode.ClassInstrumentor.Decorator
 
decorate(MutableClass) - Method in class org.robolectric.internal.bytecode.ShadowDecorator
 
decorFitsSystemWindows - Variable in class org.robolectric.shadows.ShadowPhoneWindow
 
deepEquals(Object) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
deepSleep(long) - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
Advances the current time (elapsed realtime only) by given millis, without sleeping the current thread.
DEFAULT_APPLICATION - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_ASSET_FOLDER - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_DENSITY - Static variable in class org.robolectric.android.DeviceConfig
 
DEFAULT_DISABLE_MASK - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DEFAULT_DISABLE2_MASK - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DEFAULT_FONT_SCALE - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_MANIFEST_NAME - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_MAX_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
 
DEFAULT_MIN_BUFFER_SIZE - Static variable in class org.robolectric.shadows.ShadowAudioTrack
 
DEFAULT_PACKAGE_NAME - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_QUALIFIERS - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_RES_FOLDER - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_SCREEN_SIZE - Static variable in class org.robolectric.android.DeviceConfig
 
DEFAULT_SDK - Static variable in annotation type org.robolectric.annotation.Implementation
 
DEFAULT_SECONDARY_USER_ID - Static variable in class org.robolectric.shadows.ShadowUserManager
The default user ID user for secondary user testing, when the ID is not otherwise specified.
DEFAULT_STORAGE_FREE_BYTES - Static variable in class org.robolectric.shadows.ShadowStorageStatsManager
 
DEFAULT_STORAGE_TOTAL_BYTES - Static variable in class org.robolectric.shadows.ShadowStorageStatsManager
 
DEFAULT_VALUE_INT - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_VALUE_STRING - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
 
defaultConfig() - Method in interface org.robolectric.pluginapi.config.Configurer
Returns the default configuration for tests that do not specify a configuration of this type.
defaultConfig() - Method in class org.robolectric.plugins.config.SingleValueConfigurer
 
defaultConfig() - Method in class org.robolectric.plugins.ConfigConfigurer
 
defaultConfig() - Method in class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
 
defaultInjector() - Static method in class org.robolectric.internal.SandboxTestRunner
 
defaultInjector() - Static method in class org.robolectric.RobolectricTestRunner
 
DefaultManifestFactory - Class in org.robolectric.internal
 
DefaultManifestFactory(Properties) - Constructor for class org.robolectric.internal.DefaultManifestFactory
 
defaultModeId - Variable in class org.robolectric.android.internal.DisplayConfig
The default display mode.
DefaultNativeRuntimeLoader - Class in org.robolectric.nativeruntime
Loads the Robolectric native runtime.
DefaultNativeRuntimeLoader() - Constructor for class org.robolectric.nativeruntime.DefaultNativeRuntimeLoader
 
DefaultRequestDirector - Class in org.robolectric.shadows.httpclient
Default implementation of RequestDirector.
DefaultRequestDirector(Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Constructor for class org.robolectric.shadows.httpclient.DefaultRequestDirector
 
DefaultRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Constructor for class org.robolectric.shadows.httpclient.DefaultRequestDirector
 
DefaultRequestMatcher(String, String) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.DefaultRequestMatcher
 
defaults() - Static method in class org.robolectric.annotation.Config.Builder
This returns actual default values where they exist, in the sense that we could use the values, rather than markers like -1 or --default.
DefaultSdk(int, String, String, String, int) - Constructor for class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
 
DefaultSdkPicker - Class in org.robolectric.plugins
Robolectric's default SdkPicker.
DefaultSdkPicker(SdkCollection, String) - Constructor for class org.robolectric.plugins.DefaultSdkPicker
 
DefaultSdkPicker(SdkCollection, Properties) - Constructor for class org.robolectric.plugins.DefaultSdkPicker
 
DefaultSdkProvider - Class in org.robolectric.plugins
Robolectric's default SdkProvider.
DefaultSdkProvider(DependencyResolver) - Constructor for class org.robolectric.plugins.DefaultSdkProvider
 
DefaultSdkProvider.DefaultSdk - Class in org.robolectric.plugins
Represents an Android SDK stored at Maven Central.
defaultsFor(Class<A>) - Static method in class org.robolectric.util.ReflectionHelpers
 
DefaultTestLifecycle - Class in org.robolectric
The default TestLifecycle used by Robolectric.
DefaultTestLifecycle() - Constructor for class org.robolectric.DefaultTestLifecycle
 
defaultValueForType(String) - Static method in class org.robolectric.util.ReflectionHelpers
 
defineEntityReplacementText(String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
 
delay - Variable in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
 
delete() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
 
delete(Uri, String, String[]) - Method in class org.robolectric.shadows.ShadowContentProviderClient
 
delete(Uri, String, String[]) - Method in class org.robolectric.shadows.ShadowContentResolver
If a ContentProvider is registered for the given Uri, its ContentProvider.delete(Uri, String, String[]) method will be invoked.
deleteApplicationCacheFiles(String, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
deleteApplicationCacheFilesAsUser(String, int, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
deleteIncidentReports(Uri) - Method in class org.robolectric.shadows.ShadowIncidentManager
 
deleteModule(String) - Method in class org.robolectric.shadows.ShadowPackageManager
Deletes a module when given the module's package name ModuleInfo be sure to give the correct name as this method does not ensure existence of the module before deletion.
deleteNotificationChannel(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
deleteNotificationChannelGroup(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
Delete a notification channel group and all notification channels associated with the group.
deletePackage(String) - Method in class org.robolectric.shadows.ShadowPackageManager
Uninstalls the package from the system in a way, that will allow its discovery through PackageManager.MATCH_UNINSTALLED_PACKAGES.
deletePackage(String, IPackageDeleteObserver, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
deletePackage(String, IPackageDeleteObserver, int) - Method in class org.robolectric.shadows.ShadowPackageManager
 
deletePackageAsUser(String, IPackageDeleteObserver, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
deleteProvisionedVpnProfile() - Method in class org.robolectric.shadows.ShadowVpnManager
 
deleteString(ContentResolver, String, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowConfig
 
deleteString(String, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowConfig
 
deleteTheme(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
density - Variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_ANY - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_DEFAULT - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_DPI - Enum constant in enum org.robolectric.res.android.ResTable_config.Type
 
DENSITY_DPI_ANY - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_DPI_MDPI - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_DPI_NONE - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_DPI_UNDEFINED - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_HIGH - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_LOW - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_MEDIUM - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_NONE - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_TV - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_XHIGH - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_XXHIGH - Static variable in class org.robolectric.res.android.ResTable_config
 
DENSITY_XXXHIGH - Static variable in class org.robolectric.res.android.ResTable_config
 
DENY_ALL - Enum constant in enum org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
Automatically denies all call requests.
denyIncomingCall(ShadowTelecomManager.IncomingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
denyOutgoingCall(ShadowTelecomManager.OutgoingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
denyPermissions(int, int, String...) - Method in class org.robolectric.shadows.ShadowContextWrapper
Revoke the given permissions for the given process and user.
denyPermissions(String...) - Method in class org.robolectric.shadows.ShadowContextWrapper
Revoke the given permissions for the current process and user.
DependencyJar - Class in org.robolectric.internal.dependency
 
DependencyJar(String, String, String) - Constructor for class org.robolectric.internal.dependency.DependencyJar
 
DependencyJar(String, String, String, String) - Constructor for class org.robolectric.internal.dependency.DependencyJar
 
DependencyResolver - Interface in org.robolectric.internal.dependency
Provides mapping between a Maven coordinate (e.g.
DeprecatedMethodMarkerException - Exception in org.robolectric.internal
 
DeprecatedMethodMarkerException() - Constructor for exception org.robolectric.internal.DeprecatedMethodMarkerException
 
DeprecatedMethodsCheck - Class in org.robolectric.errorprone.bugpatterns
Checks for the deprecated methods.
DeprecatedMethodsCheck() - Constructor for class org.robolectric.errorprone.bugpatterns.DeprecatedMethodsCheck
 
DeprecatedTestRunnerDefaultConfigProvider() - Constructor for class org.robolectric.RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider
Deprecated.
 
describeContents() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
describeContents() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
 
description - Variable in class org.robolectric.res.android.ResourceTable.flag_entry
 
description() - Method in class org.robolectric.shadows.ShadowAccessibilityService.GestureDispatch
The description of the gesture to be dispatched.
destroy() - Method in class org.robolectric.android.controller.ActivityController
 
destroy() - Method in class org.robolectric.android.controller.BackupAgentController
 
destroy() - Method in class org.robolectric.android.controller.ComponentController
 
destroy() - Method in class org.robolectric.android.controller.FragmentController
Deprecated.
 
destroy() - Method in class org.robolectric.android.controller.IntentServiceController
 
destroy() - Method in class org.robolectric.android.controller.ServiceController
 
destroy() - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
 
destroy() - Method in interface org.robolectric.shadows.ShadowSpeechRecognizer.ShadowSpeechRecognizerDirectAccessors
Invokes SpeechRecognizer.destroy() on a real instance of SpeechRecognizer.
destroy() - Method in class org.robolectric.shadows.ShadowWebView
 
destroy() - Method in class org.robolectric.util.TempDirectory
 
destroyAsset(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
destroyDateIntervalFormat(long) - Static method in class org.robolectric.shadows.ShadowDateIntervalFormat
 
determineRoute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
Determines the route for a request.
device - Variable in class org.robolectric.shadows.ShadowInputEvent
 
DeviceConfig - Class in org.robolectric.android
Supports device configuration for Robolectric tests.
DeviceConfig.ScreenSize - Enum in org.robolectric.android
Standard sizes for the screen size qualifier.
deviceConnected(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothServerSocket
Creates BluetoothSocket for the given device and makes this socket available immediately in the ShadowBluetoothServerSocket.accept(int) method.
deviceHasKeys(int, int[]) - Method in class org.robolectric.shadows.ShadowInputManager
 
DevicePolicyStateBuilder - Class in org.robolectric.shadows
Factory for DevicePolicyState
DeviceStateSensorOrientationBuilder - Class in org.robolectric.shadows
Builder for DeviceStateSensorOrientationMap which was introduced in Android T.
didClearCacheIncludeDiskFiles() - Method in class org.robolectric.shadows.ShadowWebView
 
didRequestLayout() - Method in class org.robolectric.shadows.ShadowView
 
DIMEN - Enum constant in enum org.robolectric.res.ResType
 
DIMENSION - Enum constant in enum org.robolectric.res.android.DataType
data holds a complex number encoding a dimension value, such as "100in".
direct() - Element in annotation type org.robolectric.util.reflector.ForType
 
Direct - Annotation Type in org.robolectric.util.reflector
Indicates that the annotated method should use the original $$robo$$-prefixed implementation so that it can be invoked in the shadow for the method.
directInitialize(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directInitialize(Class<?>) - Method in interface org.robolectric.internal.IShadow
 
directInitialize(Class<?>) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter<?>...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter<?>...) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(Object, String, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(Object, String, String, ReflectionHelpers.ClassParameter<?>...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directlyOn(Object, String, String, ReflectionHelpers.ClassParameter<?>...) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(T, Class<T>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
Deprecated.
This is incompatible with JDK17+. Use a Reflector interface with Direct.
directlyOn(T, Class<T>) - Method in interface org.robolectric.internal.IShadow
Deprecated.
This is incompatible with JDK17+. Use a Reflector interface with Direct.
directlyOn(T, Class<T>) - Static method in class org.robolectric.shadow.api.Shadow
Deprecated.
This is incompatible with JDK17+. Use a Reflector interface with Direct.
directlyOn(T, Class<T>, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(T, Class<T>, String, ReflectionHelpers.ClassParameter<?>...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directlyOn(T, Class<T>, String, ReflectionHelpers.ClassParameter<?>...) - Method in interface org.robolectric.internal.IShadow
 
directMethodName(String, String) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directMethodName(String, String) - Method in interface org.robolectric.internal.IShadow
 
directMethodName(String, String) - Static method in class org.robolectric.shadow.api.Shadow
 
directMethodName(MutableClass, String) - Static method in class org.robolectric.internal.bytecode.ClassInstrumentor
 
directNativeMethodName(String, String) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directNativeMethodName(String, String) - Method in interface org.robolectric.internal.IShadow
 
directNativeMethodName(String, String) - Static method in class org.robolectric.shadow.api.Shadow
 
DirectObjectMarker - Class in org.robolectric.internal.bytecode
 
disable() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
disable() - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
disable(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
disable(int) - Method in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE_CLOCK - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE_EXPAND - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE_HOME - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE_NONE - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE_NOTIFICATION_ALERTS - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE_RECENT - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE_SEARCH - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
disable2(int) - Method in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE2_NONE - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
DISABLE2_ROTATE_SUGGESTIONS - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
 
disableCarMode(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
 
disableForegroundDispatch(Activity) - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
disableKeyguard() - Method in class org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock
Sets the value to be returned by ShadowKeyguardManager.ShadowKeyguardLock.isEnabled() to false.
disableNetwork(int) - Method in class org.robolectric.shadows.ShadowWifiManager
 
disableReaderMode(Activity) - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
disableScoring() - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
 
disableShortcuts(List<String>) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
disableShortcuts(List<String>, CharSequence) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
disableVsync() - Static method in class org.robolectric.nativeruntime.HardwareRendererNatives
 
disableVsync() - Static method in class org.robolectric.shadows.ShadowNativeHardwareRenderer
 
disallowCharacteristicNotification(BluetoothGattCharacteristic) - Method in class org.robolectric.shadows.ShadowBluetoothGatt
Disallows the incoming characteristic to be set to enable notification.
disassociate(int) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
disassociate(String) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
 
disconnect() - Method in class org.robolectric.shadows.ShadowBluetoothGatt
Disconnects an established connection, or cancels a connection attempt currently in progress.
disconnect(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
discoverServices() - Method in class org.robolectric.shadows.ShadowBluetoothGatt
Overrides BluetoothGatt.discoverServices() to always return false unless there are discoverable services made available by ShadowBluetoothGatt.addDiscoverableService(android.bluetooth.BluetoothGattService)
DiscretePathEffectNatives - Class in org.robolectric.nativeruntime
Native methods for DiscretePathEffect JNI registration.
dismiss() - Method in class org.robolectric.shadows.ShadowDialog
 
dismiss() - Method in class org.robolectric.shadows.ShadowPopupMenu
 
dismissDialog(int) - Method in class org.robolectric.shadows.ShadowActivity
 
dispatchActivityResult(String, int, int, Intent) - Method in interface org.robolectric.shadows._Activity_
 
dispatchActivityResult(String, int, int, Intent, String) - Method in interface org.robolectric.shadows._Activity_
 
dispatchGesture(GestureDescription, AccessibilityService.GestureResultCallback, Handler) - Method in class org.robolectric.shadows.ShadowAccessibilityService
 
dispatchMediaKeyEvent(KeyEvent) - Method in class org.robolectric.shadows.ShadowAudioManager
Sends a simulated key event for a media button.
dispatchResized(Rect) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
 
dispatchResized(Rect, Rect, Rect, Rect, Rect, boolean, Configuration) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
 
dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Configuration) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
 
dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Configuration, Rect, boolean, boolean) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
 
dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Object, Rect, boolean, boolean, int) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
 
dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Object, Rect, boolean, boolean, int, Object) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
 
dispatchTagDiscovered(Tag) - Method in class org.robolectric.shadows.ShadowNfcAdapter
Dispatches the tag onto any registered readers.
displayCompletions(View, CompletionInfo[]) - Method in class org.robolectric.shadows.ShadowInputMethodManager
 
DisplayConfig - Class in org.robolectric.android.internal
Describes the characteristics of a particular logical display.
DisplayConfig() - Constructor for class org.robolectric.android.internal.DisplayConfig
 
DisplayConfig(DisplayInfo) - Constructor for class org.robolectric.android.internal.DisplayConfig
 
DisplayConfig(DisplayConfig) - Constructor for class org.robolectric.android.internal.DisplayConfig
 
displayCutout - Variable in class org.robolectric.android.internal.DisplayConfig
The area of the display that is not functional for displaying content
displaySet - Static variable in class org.robolectric.android.Bootstrap
internal only
dispose() - Method in class org.robolectric.shadows.ShadowCursorWindow
 
dispose(boolean) - Method in interface org.robolectric.shadows.ShadowDisplayEventReceiver.DisplayEventReceiverReflector
 
dispose(boolean) - Method in class org.robolectric.shadows.ShadowDisplayEventReceiver
 
dispose(boolean) - Method in class org.robolectric.shadows.ShadowInputEventReceiver
 
dispose(boolean) - Method in class org.robolectric.shadows.ShadowSQLiteConnection
 
DO_NOTHING - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
 
DO_NOTHING_HANDLER - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
 
DO_NOTHING_METHOD - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
 
DocumentedElement - Class in org.robolectric.annotation.processing
 
DocumentedElement(String) - Constructor for class org.robolectric.annotation.processing.DocumentedElement
 
DocumentedMethod - Class in org.robolectric.annotation.processing
 
DocumentedMethod(String) - Constructor for class org.robolectric.annotation.processing.DocumentedMethod
 
DocumentedPackage - Class in org.robolectric.annotation.processing
 
DocumentedType - Class in org.robolectric.annotation.processing
 
DocumentLoader - Class in org.robolectric.res
 
DocumentLoader(String, Path) - Constructor for class org.robolectric.res.DocumentLoader
 
documentMethod(TypeElement, DocumentedMethod) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
 
documentPackage(String, String) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
 
documentType(TypeElement, String, List<String>) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
 
doFrame(long, int) - Method in interface org.robolectric.shadows.ShadowChoreographer.ChoreographerReflector
 
doFrame(long, int) - Method in class org.robolectric.shadows.ShadowChoreographer
 
doLoad() - Method in class org.robolectric.shadows.util.SQLiteLibraryLoader
 
done() - Method in class org.robolectric.util.SimpleFuture
Deprecated.
 
doNotAcquireClass(Class<?>) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
doNotAcquireClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
doNotAcquirePackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
DoNotInstrument - Annotation Type in org.robolectric.annotation.internal
Indicates that a class should not be stripped/instrumented under any circumstances.
doNotInstrumentClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
doNotInstrumentPackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
doNotUseSetCrashOnIncorrectUsage(boolean) - Static method in class org.robolectric.shadows.ShadowTrace
Do not use this method unless absolutely necessary.
doParse(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxDocumentLoader
 
doPendingUninstallCallbacks() - Method in class org.robolectric.shadows.ShadowPackageManager
doSetDataSource(DataSource) - Method in class org.robolectric.shadows.ShadowMediaPlayer
Sets the data source without doing any other emulation.
doStart() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Starts simulated playback.
doStart() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimator
 
doStart() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
 
doStop() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Pauses simulated playback.
downloadMultimediaMessage(Context, String, Uri, Bundle, PendingIntent) - Method in class org.robolectric.shadows.ShadowSmsManager
 
downloadMultimediaMessage(Context, String, Uri, Bundle, PendingIntent, long) - Method in class org.robolectric.shadows.ShadowSmsManager
 
DownloadMultimediaMessageParams(Uri, String, Bundle, PendingIntent, long) - Constructor for class org.robolectric.shadows.ShadowSmsManager.DownloadMultimediaMessageParams
 
DragEventBuilder - Class in org.robolectric.shadows
Builder for DragEvent.
drainMainThreadUntilIdle() - Method in class org.robolectric.android.internal.LocalControlledLooper
 
draw(Canvas) - Method in class org.robolectric.shadows.ShadowBitmapDrawable
Draws the contained bitmap onto the canvas at 0,0 with a default Paint
draw(Canvas) - Method in class org.robolectric.shadows.ShadowView
 
DRAWABLE - Enum constant in enum org.robolectric.res.ResType
 
DrawableResourceLoader - Class in org.robolectric.res
DrawableResourceLoader
drawArc(RectF, float, float, boolean, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawBitmap(Bitmap, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawBitmap(Bitmap, Matrix, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawBitmap(Bitmap, Rect, RectF, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawBitmap(Bitmap, Rect, Rect, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawCircle(float, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawColor(int) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawLine(float, float, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawOval(RectF, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawPaint(Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawPath(Path, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawRect(float, float, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawRect(Rect, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawRoundRect(RectF, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawText(char[], int, int, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawText(CharSequence, int, int, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawText(String, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
drawText(String, int, int, float, float, Paint) - Method in class org.robolectric.shadows.ShadowLegacyCanvas
 
dtor(long) - Static method in class org.robolectric.shadows.ShadowBackupDataOutput
 
dump() - Method in class org.robolectric.shadows.ShadowView
Deprecated.
- Please use androidx.test.espresso.util.HumanReadables#describe(View)
dump(View) - Static method in class org.robolectric.shadows.ShadowView
Deprecated.
- Please use androidx.test.espresso.util.HumanReadables#describe(View)
dump(PrintStream, int) - Method in class org.robolectric.shadows.ShadowView
Deprecated.
- Please use androidx.test.espresso.util.HumanReadables#describe(View)
dump(PrintStream, int) - Method in class org.robolectric.shadows.ShadowViewGroup
Deprecated.
- Please use androidx.test.espresso.util.HumanReadables#describe(View)
dumpAttribute(PrintStream, String, String) - Method in class org.robolectric.shadows.ShadowView
Deprecated.
dumpAttributes(PrintStream) - Method in class org.robolectric.shadows.ShadowTextView
 
dumpAttributes(PrintStream) - Method in class org.robolectric.shadows.ShadowView
Deprecated.
dumpFirstPart(PrintStream, int) - Method in class org.robolectric.shadows.ShadowView
Deprecated.
dumpIndent(PrintStream, int) - Method in class org.robolectric.shadows.ShadowView
Deprecated.
dumpTheme(long, int, String, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
dup() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
dup(FileDescriptor) - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
Support shadowing of the static method ParcelFileDescriptor.dup(java.io.FileDescriptor).
duration - Variable in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
 
duration() - Method in class org.robolectric.shadows.ShadowToneGenerator.Tone
 
DURATION - Static variable in class org.robolectric.shadows.ShadowAppOpsManager
 
durationHint - Variable in class org.robolectric.shadows.ShadowAudioManager.AudioFocusRequest
 
DYNAMIC_ATTRIBUTE - Enum constant in enum org.robolectric.res.android.DataType
data holds an attribute resource identifier, which needs to be resolved before it can be used like a TYPE_ATTRIBUTE.
DYNAMIC_REFERENCE - Enum constant in enum org.robolectric.res.android.DataType
data holds a dynamic ResourceTableChunk entry reference.
DynamicRefTable - Class in org.robolectric.res.android
Holds the shared library ID table.

E

e(String, String) - Static method in class org.robolectric.shadows.ShadowLog
 
e(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
 
eglChooseConfig(EGLDisplay, int[], int, EGLConfig[], int, int, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglCreateContext(EGLDisplay, EGLConfig, EGLContext, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglCreatePbufferSurface(EGLDisplay, EGLConfig, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglCreateWindowSurface(EGLDisplay, EGLConfig, Object, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglGetCurrentContext() - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglGetDisplay(int) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglGetError() - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglInitialize(EGLDisplay, int[], int, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglMakeCurrent(EGLDisplay, EGLSurface, EGLSurface, EGLContext) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglQueryContext(EGLDisplay, EGLContext, int, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
 
eglSwapBuffers(EGLDisplay, EGLSurface) - Static method in class org.robolectric.shadows.ShadowEGL14
 
elapsedRealtime() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
 
elapsedRealtime() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
 
elapsedRealtimeNanos() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
 
elapsedRealtimeNanos() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
 
elements - Variable in class org.robolectric.annotation.processing.validator.Validator
 
ellipsize(CharSequence, TextPaint, float, TextUtils.TruncateAt) - Static method in class org.robolectric.shadows.ShadowTextUtils
 
EmbossMaskFilterNatives - Class in org.robolectric.nativeruntime
Native methods for EmbossMaskFilter JNI registration.
EmergencyNumberBuilder - Class in org.robolectric.shadows
Builder for EmergencyNumber.
EMPTY_VALUE - Static variable in class org.robolectric.res.AttributeResource
 
EmptyStyle - Class in org.robolectric.res
 
EmptyStyle() - Constructor for class org.robolectric.res.EmptyStyle
 
EMULATE - Enum constant in enum org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
 
emulateRequest(HttpHost, HttpRequest, HttpContext, RequestDirector) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
enable() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
enable() - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
enableCarMode(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
 
enableCarMode(int, int) - Method in class org.robolectric.shadows.ShadowUIModeManager
 
enableForegroundDispatch(Activity, PendingIntent, IntentFilter[], String[][]) - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
enableNetwork(int, boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
 
enablePhoneAccount(PhoneAccountHandle, boolean) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
enableReaderMode(Activity, NfcAdapter.ReaderCallback, int, Bundle) - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
enableSecureNfc(boolean) - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
enableShortcuts(List<String>) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
enableShutterSound(boolean) - Method in class org.robolectric.shadows.ShadowCamera
 
enableSmoothTransition() - Method in class org.robolectric.fakes.RoboWebSettings
 
enableSystemApp(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
encodeString(String, ResourceString.Type) - Static method in class org.robolectric.res.android.ResourceString
Encodes a string in either UTF-8 or UTF-16 and returns the bytes of the encoded string.
encoding - Variable in class org.robolectric.shadows.ShadowWebView.LoadData
 
encoding - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
 
end() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimator
 
end() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
 
end(Object) - Method in class org.robolectric.shadows.ShadowNativeRenderNodeOP
 
END - Enum constant in enum org.robolectric.shadows.ShadowMediaPlayer.State
 
END - Static variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_span
 
END_DOCUMENT - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
 
END_NAMESPACE - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
 
END_TAG - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
 
endAsyncSection(String, int) - Static method in class org.robolectric.shadows.ShadowTrace
Ends async trace trace section.
endCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
endSection() - Static method in class org.robolectric.shadows.ShadowTrace
Ends the most recent active trace section.
enforceInstallerCheck(boolean) - Method in class org.robolectric.shadows.ShadowLocaleManager
Sets the value of ShadowLocaleManager.enforceInstallerCheck.
enforcePermissionChecks(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
 
EnforcingAdminFactory - Class in org.robolectric.shadows
Factory for EnforcingAdmin
enqueue(DownloadManager.Request) - Method in class org.robolectric.shadows.ShadowDownloadManager
 
enqueue(JobInfo, JobWorkItem) - Method in class org.robolectric.shadows.ShadowJobScheduler
 
enqueue(JobInfo, JobWorkItem) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
 
enqueueMessage(Message, long) - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
 
enqueueMessage(Message, long) - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
 
ensureLoaded() - Method in class org.robolectric.nativeruntime.DefaultNativeRuntimeLoader
 
ensureLoaded() - Method in interface org.robolectric.pluginapi.NativeRuntimeLoader
 
ensureProviderCreated() - Method in class org.robolectric.shadows.ShadowWebView
 
enterAnim - Variable in class org.robolectric.shadows.ShadowActivity.OverriddenActivityTransition
 
enterPictureInPictureMode() - Method in class org.robolectric.shadows.ShadowActivity
 
enterPictureInPictureMode(PictureInPictureParams) - Method in class org.robolectric.shadows.ShadowActivity
 
entityContentStreamsHaveBeenClosed() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
entries - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag
 
entries() - Method in class org.robolectric.res.android.DynamicRefTable
 
entry - Variable in class org.robolectric.res.android.CppAssetManager2.ResourceName
 
Entry() - Constructor for class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
 
Entry() - Constructor for class org.robolectric.res.android.ResTable.Entry
 
entry_count - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag
 
entryCount - Variable in class org.robolectric.res.android.ResTable.Type
 
enumerateEnabledSdks(SdkCollection, String) - Static method in class org.robolectric.plugins.DefaultSdkPicker
 
EpsBearerQosSessionAttributesBuilder - Class in org.robolectric.shadows
equals(Object) - Method in class org.robolectric.android.internal.DisplayConfig
 
equals(Object) - Method in class org.robolectric.fakes.RoboIntentSender
 
equals(Object) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
 
equals(Object) - Method in class org.robolectric.internal.bytecode.MethodRef
 
equals(Object) - Method in class org.robolectric.internal.bytecode.ShadowInfo
 
equals(Object) - Method in class org.robolectric.internal.bytecode.ShadowMap
 
equals(Object) - Method in class org.robolectric.internal.ManifestIdentifier
 
equals(Object) - Method in class org.robolectric.manifest.AndroidManifest
 
equals(Object) - Method in class org.robolectric.pluginapi.perf.Metric
 
equals(Object) - Method in class org.robolectric.pluginapi.Sdk
 
equals(Object) - Method in class org.robolectric.res.android.String8
 
equals(Object) - Method in class org.robolectric.res.ResName
 
equals(Object) - Method in class org.robolectric.res.ResourcePath
 
equals(Object) - Method in class org.robolectric.res.StyleData
 
equals(Object) - Method in class org.robolectric.res.StyleResolver
 
equals(Object) - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
 
equals(Object) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
Equality check based on reference equality of the Views from which these instances were created, or the equality of their assigned IDs.
equals(Object) - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
 
equals(Object) - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
Deprecated.
 
equals(Object) - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
 
equals(Object) - Method in class org.robolectric.shadows.ShadowLegacyMatrix
 
equals(Object) - Method in class org.robolectric.shadows.ShadowLegacyTypeface
 
equals(Object) - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
 
equals(Object) - Method in class org.robolectric.shadows.ShadowLog.LogItem
 
equals(Object) - Method in class org.robolectric.shadows.ShadowPath.Point
 
equals(Object) - Method in class org.robolectric.shadows.ShadowPendingIntent
 
equals(Object) - Method in class org.robolectric.shadows.ShadowRegion
The real Region.equals(Object) calls into native code, which is a no-op in Robolectric, and will always return false no matter what is compared.
equals(Object) - Method in class org.robolectric.shadows.ShadowSoundPool.Playback
 
equals(Object) - Method in class org.robolectric.shadows.ShadowTypeface.FontDesc
 
equals(Object) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
 
equals(Object) - Method in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
 
equals(Object) - Method in class org.robolectric.shadows.util.DataSource
 
equals(Object) - Method in class org.robolectric.util.inject.Injector.Key
 
equals(DisplayConfig) - Method in class org.robolectric.android.internal.DisplayConfig
 
eraseColor(int) - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
error(String) - Method in class org.robolectric.annotation.processing.validator.Validator
 
error(String, Object...) - Static method in class org.robolectric.util.Logger
Log an error message.
error(String, Throwable) - Static method in class org.robolectric.util.Logger
Log an error message.
error(String, AnnotationValue) - Method in class org.robolectric.annotation.processing.validator.Validator
 
ERROR - Enum constant in enum org.robolectric.annotation.processing.validator.ImplementsValidator.SdkCheckMode
 
ERROR - Enum constant in enum org.robolectric.shadows.ShadowMediaPlayer.State
 
errorCode() - Method in class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
 
Errors - Class in org.robolectric.res.android
 
Errors() - Constructor for class org.robolectric.res.android.Errors
 
establishRoute(HttpRoute, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
Establishes the target route.
evaluate() - Method in class org.robolectric.internal.TimeLimitedStatement
 
evaluateJavascript(String, ValueCallback<String>) - Method in class org.robolectric.shadows.ShadowWebView
 
event_code_t() - Constructor for class org.robolectric.res.android.ResXMLParser.event_code_t
 
EventBuilder(int, Object) - Constructor for class org.robolectric.shadows.ShadowEventLog.EventBuilder
 
events - Variable in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
Map that maps time offsets to media events.
exception - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
 
exceptionArray(MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
 
exceptionPackages - Variable in class org.robolectric.shadows.ShadowAppOpsManager.ModeAndException
 
exceptions - Variable in class org.robolectric.annotation.processing.DocumentedMethod
 
EXCLUDED_ASSET - Static variable in class org.robolectric.res.android.Asset
 
execStartActivities(Context, IBinder, IBinder, Activity, Intent[], Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
execStartActivities(Context, IBinder, IBinder, Activity, Intent[], Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle) - Method in interface org.robolectric.shadows.ShadowInstrumentation._Instrumentation_
 
execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle, UserHandle) - Method in class org.robolectric.shadows.ShadowInstrumentation
Behaves as {@link #execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle).
execStartActivity(Context, IBinder, IBinder, Fragment, Intent, int, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
This API was added in Android API 23 (M)
execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle) - Method in interface org.robolectric.shadows.ShadowInstrumentation._Instrumentation_
 
execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle, UserHandle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
This API was added in Android API 17 (JELLY_BEAN_MR1)
execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle, UserHandle) - Method in class org.robolectric.shadows.ShadowInstrumentation
Behaves as {@link #execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle).
execute(Runnable) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
 
execute(Runnable) - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
 
execute(Runnable) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
Deprecated.
 
execute(HttpUriRequest) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(HttpUriRequest, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(HttpHost, HttpRequest) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
 
execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
execute(Params...) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
 
executeOnError(int) - Method in class org.robolectric.shadows.ShadowBugreportManager
Executes BugreportManager.BugreportCallback.onError(int) on the provided Executor.
executeOnExecutor(Executor, Params...) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
 
executeOnExecutor(Executor, Params...) - Method in class org.robolectric.shadows.ShadowPausedAsyncTask
 
executeOnFinished() - Method in class org.robolectric.shadows.ShadowBugreportManager
Executes BugreportManager.BugreportCallback.onFinished() on the provided Executor.
executeOnFinished(String) - Method in class org.robolectric.shadows.ShadowBugreportManager
executeOnMetadataChanged(MediaMetadata) - Method in class org.robolectric.shadows.ShadowMediaController
Executes all registered onMetadataChanged callbacks.
executeOnPlaybackStateChanged(PlaybackState) - Method in class org.robolectric.shadows.ShadowMediaController
Executes all registered onPlaybackStateChanged callbacks.
executeOnProgress(float) - Method in class org.robolectric.shadows.ShadowBugreportManager
Executes BugreportManager.BugreportCallback.onProgress(float) on the provided Executor.
executeOnSessionDestroyed() - Method in class org.robolectric.shadows.ShadowMediaController
Executes all registered onSessionDestroyed callbacks.
executor - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
Deprecated.
exit(int) - Method in class org.robolectric.preinstrumented.JarInstrumentor
exitAnim - Variable in class org.robolectric.shadows.ShadowActivity.OverriddenActivityTransition
 
expandActionView() - Method in class org.robolectric.fakes.RoboMenuItem
 
expected - Variable in class org.robolectric.errorprone.bugpatterns.Helpers.CastableTo
 
ExpectedLogMessagesRule - Class in org.robolectric.junit.rules
Allows tests to assert about the presence of log messages, and turns logged errors that are not explicitly expected into test failures.
ExpectedLogMessagesRule() - Constructor for class org.robolectric.junit.rules.ExpectedLogMessagesRule
 
expectErrorsForTag(String) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Blanket suppress test failures due to errors from a tag.
expectLogMessage(int, String, String) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Adds an expected log statement.
expectLogMessage(int, String, Matcher<String>) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Adds an expected log statement.
expectLogMessagePattern(int, String, Pattern) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Adds an expected log statement using a regular expression.
expectLogMessagePatternWithThrowableMatcher(int, String, Pattern, Matcher<Throwable>) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Adds an expected log statement using a regular expression, with an extra check of org.hamcrest.Matcher<Throwable>.
expectLogMessageWithThrowable(int, String, String, Throwable) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Adds an expected log statement with extra check of Throwable.
expectLogMessageWithThrowable(int, String, Matcher<String>, Matcher<Throwable>) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Adds an expected log statement with extra check of Throwable.
expectLogMessageWithThrowableMatcher(int, String, String, Matcher<Throwable>) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
Adds an expected log statement with extra check of Matcher.
extendVerificationTimeout(int, int, long) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
ExtensionPoint - Annotation Type in org.robolectric.pluginapi
Marks a component of Robolectric that may be replaced with a custom implementation.
externalize(Path) - Static method in class org.robolectric.res.Fs
 
extract(Object) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
extract(Object) - Method in interface org.robolectric.internal.IShadow
 
extract(Object) - Static method in class org.robolectric.shadow.api.Shadow
Retrieve corresponding Shadow of the object.
extractAlpha() - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
extractAlpha(Paint, int[]) - Method in class org.robolectric.shadows.ShadowLegacyBitmap
This shadow implementation ignores the given paint and offsetXY and simply calls ShadowLegacyBitmap.extractAlpha().
extractMetadata(int) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
 
extraFlags - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
 
extras - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
Deprecated.
 
extras - Variable in class org.robolectric.shadows.ShadowTelecomManager.OutgoingCallRecord
 
extras - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord

F

failExpeditedJob(boolean) - Method in class org.robolectric.shadows.ShadowJobScheduler
Whether to fail a job if it is set as expedited.
failExpeditedJob(boolean) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
 
failOnJob(int) - Method in class org.robolectric.shadows.ShadowJobScheduler
 
failOnJob(int) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
 
failSetApplicationHiddenFor(Collection<String>) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
FakeHttp - Class in org.robolectric.shadows.httpclient
Collection of static methods used interact with HTTP requests / responses.
FakeHttp() - Constructor for class org.robolectric.shadows.httpclient.FakeHttp
 
FakeHttpLayer - Class in org.robolectric.shadows.httpclient
 
FakeHttpLayer() - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer
 
FakeHttpLayer.DefaultRequestMatcher - Class in org.robolectric.shadows.httpclient
 
FakeHttpLayer.RequestMatcherBuilder - Class in org.robolectric.shadows.httpclient
 
FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher - Interface in org.robolectric.shadows.httpclient
 
FakeHttpLayer.RequestMatcherResponseRule - Class in org.robolectric.shadows.httpclient
 
FakeHttpLayer.UriRegexMatcher - Class in org.robolectric.shadows.httpclient
 
FakeHttpLayer.UriRequestMatcher - Class in org.robolectric.shadows.httpclient
 
FakeSurfaceHolder() - Constructor for class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
 
familyName - Variable in class org.robolectric.shadows.ShadowTypeface.FontDesc
 
fetchArtifact(MavenJarArtifact) - Method in class org.robolectric.internal.dependency.MavenArtifactFetcher
 
fetchUuidsWithSdp() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
file - Variable in class org.robolectric.res.android.AssetPath
 
file(File, String...) - Static method in class org.robolectric.util.Util
 
file(String...) - Static method in class org.robolectric.util.Util
 
FILE - Enum constant in enum org.robolectric.res.ResType
 
FileDescriptorInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.FileDescriptorInterceptor
 
fileFromPath(String) - Static method in class org.robolectric.res.Fs
Deprecated.
Use Fs.fromUrl(String) instead.
FileMap - Class in org.robolectric.res.android
 
FileMap() - Constructor for class org.robolectric.res.android.FileMap
 
FileTypedResource - Class in org.robolectric.res
 
FileTypedResource.Image - Class in org.robolectric.res
 
fillBounds(RectF) - Method in class org.robolectric.shadows.ShadowLegacyPath
Fills the given RectF with the path bounds.
fillBounds(RectF) - Method in class org.robolectric.shadows.ShadowNativePath
 
fillBounds(RectF) - Method in class org.robolectric.shadows.ShadowPath
Fills the given RectF with the path bounds.
fillInIntent - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
 
fillTypedValue(String, TypedValue) - Method in class org.robolectric.shadows.Converter.FromCharSequence
 
fillTypedValue(String, TypedValue) - Method in class org.robolectric.shadows.Converter.FromColor
 
fillTypedValue(String, TypedValue) - Method in class org.robolectric.shadows.Converter.FromFilePath
 
fillTypedValue(String, TypedValue, boolean) - Method in class org.robolectric.shadows.Converter2.FromCharSequence
 
fillTypedValue(String, TypedValue, boolean) - Method in class org.robolectric.shadows.Converter2.FromColor
 
fillTypedValue(AttrData, TypedValue) - Method in class org.robolectric.shadows.Converter.FromAttrData
 
fillTypedValue(T, TypedValue) - Method in class org.robolectric.shadows.Converter
 
fillTypedValue(T, TypedValue, boolean) - Method in class org.robolectric.shadows.Converter2
 
filter(CharSequence, Filter.FilterListener) - Method in class org.robolectric.shadows.ShadowFilter
 
finalize() - Method in class org.robolectric.android.XmlResourceParserImpl
 
finalize() - Method in class org.robolectric.res.android.ResStringPool
 
finalize() - Method in class org.robolectric.res.android.ResXMLTree
 
finalize() - Method in class org.robolectric.res.android.ZipFileRO
 
finalize() - Method in class org.robolectric.shadows.ShadowFileObserver
 
finalize() - Method in class org.robolectric.shadows.ShadowSurface
 
finalize() - Method in class org.robolectric.shadows.ShadowSurfaceControl
 
finalizeWorkProfileProvisioning(UserHandle, Account) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
finallyAfterTest(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
 
finallyAfterTest(FrameworkMethod) - Method in class org.robolectric.RobolectricTestRunner
 
find(int) - Method in class org.robolectric.res.android.AttributeResolution.BagAttributeFinder
 
find(int) - Method in class org.robolectric.res.android.AttributeResolution.XmlAttributeFinder
 
find(int) - Method in class org.robolectric.res.PluralRules
 
Find(int) - Method in class org.robolectric.res.android.AttributeResolution10.XmlAttributeFinder
 
Find(int) - Method in class org.robolectric.res.android.AttributeResolution9.XmlAttributeFinder
 
findAddress(String) - Static method in class org.robolectric.shadows.ShadowWebView
 
findIndexOfItemContainingText(String) - Method in class org.robolectric.shadows.ShadowAdapterView
 
findInterceptor(String, String) - Method in class org.robolectric.internal.bytecode.Interceptors
 
findInterceptors() - Method in class org.robolectric.internal.SandboxTestRunner
 
findInterceptors() - Method in class org.robolectric.RobolectricTestRunner
 
findItem(int) - Method in class org.robolectric.fakes.RoboMenu
 
findItemContainingText(String) - Method in class org.robolectric.shadows.ShadowAdapterView
 
findMenuItem(CharSequence) - Method in class org.robolectric.fakes.RoboMenu
 
findMenuItemContaining(CharSequence) - Method in class org.robolectric.fakes.RoboMenu
 
findShadowMethodHandle(Class<?>, String, MethodType, boolean, boolean) - Method in interface org.robolectric.internal.bytecode.ClassHandler
Called by Robolectric when an instrumented method is invoked.
findShadowMethodHandle(Class<?>, String, MethodType, boolean, boolean) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
 
findShadowMethodHandle(Class<?>, String, MethodType, boolean, boolean) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
 
findViewById(int) - Method in class org.robolectric.shadows.ShadowActivity
Checks to ensure that thecontentView has been set
finish() - Method in class org.robolectric.shadows.ShadowActivity
 
finish() - Method in class org.robolectric.shadows.ShadowBroadcastPendingResult
 
finish() - Method in class org.robolectric.shadows.ShadowVisualVoicemailTask
 
finish(int, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
 
finishActivity(Activity) - Method in class org.robolectric.android.internal.LocalActivityInvoker
 
finishAffinity() - Method in class org.robolectric.shadows.ShadowActivity
 
finishAndRemoveTask() - Method in class org.robolectric.shadows.ShadowActivity
 
finishAndRemoveTask() - Method in class org.robolectric.shadows.ShadowAppTask
For tests, marks the task as finished.
finishBroadcast() - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
 
finished() - Method in class org.robolectric.util.PerfStatsCollector.Event
 
finished(boolean) - Method in class org.robolectric.util.PerfStatsCollector.Event
 
finishOp(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
Removes a fake long-running operation from the set.
finishOp(String, int, String, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
Removes a fake long-running operation from the set.
finishSession(Bundle, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
Returns sessionBundle as the result of finishSession.
fireAlarm(ShadowAlarmManager.ScheduledAlarm) - Method in class org.robolectric.shadows.ShadowAlarmManager
Immediately removes the given alarm from the list of scheduled alarms (and then reschedules it in the case of a repeating alarm) and fires it.
FIRST_CHUNK_CODE - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
 
fixTracePath(String) - Static method in class org.robolectric.shadows.ShadowDebug
 
FLAG_ADMIN - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_DEMO - Static variable in class org.robolectric.shadows.ShadowUserManager
 
flag_entry(String, int, String) - Constructor for class org.robolectric.res.android.ResourceTable.flag_entry
 
FLAG_FULL - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_GUEST - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_MAIN - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_MANAGED_PROFILE - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_NO_ACTION - Static variable in class org.robolectric.shadows.ShadowAudioManager
 
FLAG_PRIMARY - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_PROFILE - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_RESTRICTED - Static variable in class org.robolectric.shadows.ShadowUserManager
 
FLAG_SYSTEM - Static variable in class org.robolectric.shadows.ShadowUserManager
 
flags - Variable in class org.robolectric.android.internal.DisplayConfig
Display flags.
flags - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
 
flags - Variable in class org.robolectric.shadows.ShadowPackageManager.ComponentState
 
flagsMask - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
 
flagsValues - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
 
FLOAT - Enum constant in enum org.robolectric.res.android.DataType
data holds a single-precision floating point number.
FLOAT - Enum constant in enum org.robolectric.res.ResType
 
floor(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
 
flush() - Method in class android.webkit.RoboCookieManager
 
flush() - Method in class org.robolectric.shadows.ShadowAudioTrack
 
flush(SensorEventListener) - Method in class org.robolectric.shadows.ShadowSensorManager
 
flushBackgroundThreadScheduler() - Static method in class org.robolectric.Robolectric
Execute all runnables that have been enqueued on the background scheduler.
flushForegroundThreadScheduler() - Static method in class org.robolectric.Robolectric
Execute all runnables that have been enqueued on the foreground scheduler.
flushGnssBatch() - Method in class org.robolectric.shadows.ShadowLocationManager
 
flushPackageRestrictionsAsUser(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
focusIn(View) - Method in class org.robolectric.shadows.ShadowInputMethodManager
 
FontBuilderNatives - Class in org.robolectric.nativeruntime
Native methods for android.graphics.fonts.Font$Builder JNI registration.
FontDesc(String, int) - Constructor for class org.robolectric.shadows.ShadowTypeface.FontDesc
 
FontFamilyBuilderNatives - Class in org.robolectric.nativeruntime
Native methods for android.graphics.fonts.FontFamily$Builder JNI registration.
FontFamilyNatives - Class in org.robolectric.nativeruntime
Native methods for the deprecated android.graphics.FontFamily JNI registration.
FontFileUtilNatives - Class in org.robolectric.nativeruntime
Native methods for android.graphics.fonts.FontFileUtil JNI registration.
FontNatives - Class in org.robolectric.nativeruntime
Native methods for android.graphics.fonts.Font JNI registration.
fontScale - Variable in class org.robolectric.annotation.Config.Builder
 
fontScale() - Element in annotation type org.robolectric.annotation.Config
The default font scale.
fontScale() - Method in class org.robolectric.annotation.Config.Implementation
 
FontsFontFamilyNatives - Class in org.robolectric.nativeruntime
Native methods for android.graphics.fonts.FontFamily JNI registration.
forceListenersToFail - Variable in class org.robolectric.shadows.ShadowSensorManager
 
ForEachPackage(CppAssetManager2.PackageFunc) - Method in class org.robolectric.res.android.CppAssetManager2
 
forInt(int) - Static method in class org.robolectric.res.android.ApkAssetsCookie
 
forJar(URL) - Static method in class org.robolectric.res.Fs
 
forJar(Path) - Static method in class org.robolectric.res.Fs
 
formatDateInterval(long, long, long) - Static method in class org.robolectric.shadows.ShadowDateIntervalFormat
 
Formatter - Class in org.robolectric.res.android
 
Formatter() - Constructor for class org.robolectric.res.android.Formatter
 
ForType - Annotation Type in org.robolectric.util.reflector
Indicates that the annotated interface is an accessor object for use by Reflector.
FoundOnImplementsValidator - Class in org.robolectric.annotation.processing.validator
Validator that checks usages of Implements.
FoundOnImplementsValidator(RobolectricModel.Builder, ProcessingEnvironment, String) - Constructor for class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
 
FRACTION - Enum constant in enum org.robolectric.res.android.DataType
data holds a complex number encoding a fraction of a container.
FRACTION - Enum constant in enum org.robolectric.res.ResType
 
FragmentController<F extends Fragment> - Class in org.robolectric.android.controller
Deprecated.
Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
FragmentTestUtil - Class in org.robolectric.util
Deprecated.
Please use Robolectric.buildFragment(Class) instead. This will be removed in a forthcoming release,
FragmentTestUtil() - Constructor for class org.robolectric.util.FragmentTestUtil
Deprecated.
 
FrameMetricsBuilder - Class in org.robolectric.shadows
Class to build FrameMetrics
FrameMetricsBuilder() - Constructor for class org.robolectric.shadows.FrameMetricsBuilder
 
FRAMEWORK_APK_PATH - Static variable in class org.robolectric.shadows.ShadowArscApkAssets9
 
frameworkMethod - Variable in class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
 
free() - Method in class org.robolectric.shadows.ShadowMediaCodec.ShadowCodecBuffer
Prevents attempting to free non-direct ByteBuffer objects.
freeByteBuffer(ByteBuffer) - Method in class org.robolectric.shadows.ShadowMediaCodec
Prevents attempting to free non-direct ByteBuffer objects.
freeByteBufferLocked(ByteBuffer) - Method in class org.robolectric.shadows.ShadowMediaCodec
 
freeStorage(long, IntentSender) - Method in class org.robolectric.shadows.ShadowPackageManager
 
freeStorage(String, long, IntentSender) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
freeStorageAndNotify(long, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
freeStorageAndNotify(long, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowPackageManager
 
freeStorageAndNotify(String, long, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
freeze() - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_header.Writer
 
freeze() - Method in class org.robolectric.shadows.ShadowFontFamily
 
from(Class<? extends V>, V) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
FromArray() - Constructor for class org.robolectric.shadows.Converter.FromArray
 
FromAttrData() - Constructor for class org.robolectric.shadows.Converter.FromAttrData
 
FromCharSequence() - Constructor for class org.robolectric.shadows.Converter.FromCharSequence
 
FromCharSequence() - Constructor for class org.robolectric.shadows.Converter2.FromCharSequence
 
fromCode(byte) - Static method in enum org.robolectric.res.android.DataType
 
fromCode(int) - Static method in enum org.robolectric.res.android.DataType
 
FromColor() - Constructor for class org.robolectric.shadows.Converter.FromColor
 
FromColor() - Constructor for class org.robolectric.shadows.Converter2.FromColor
 
fromComponentLists(Class<?>[], Object[]) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
fromEvent(UsageEvents.Event) - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
 
FromFilePath() - Constructor for class org.robolectric.shadows.Converter.FromFilePath
 
fromInt(int) - Static method in enum org.robolectric.res.android.Asset.AccessMode
 
fromParentDir(Path) - Static method in class org.robolectric.res.Qualifiers
 
fromProperties(Properties) - Static method in class org.robolectric.annotation.Config.Implementation
 
fromUrl(String) - Static method in class org.robolectric.res.Fs
Use this method instead of Paths.get(String, String...) or Paths.get(URI).
fromUrl(URL) - Static method in class org.robolectric.res.Fs
Isn't this what Paths.get(URI) should do?
Fs - Class in org.robolectric.res
 
Fs() - Constructor for class org.robolectric.res.Fs
 
FsFile - Interface in org.robolectric.res
Deprecated.
Use Path instead.
fstat(FileDescriptor) - Method in class org.robolectric.shadows.ShadowLinux
 
fstat(FileDescriptor) - Static method in class org.robolectric.shadows.ShadowPosix
 
fstat(String) - Method in class org.robolectric.shadows.ShadowLinux
 
fsync(OutputStream) - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
 
Function<R,T> - Interface in org.robolectric.util
Interface defining a function object.

G

GEN_CLASS - Static variable in class org.robolectric.annotation.processing.generator.Generator
 
generate() - Method in class org.robolectric.annotation.processing.generator.Generator
 
generate() - Method in class org.robolectric.annotation.processing.generator.JavadocJsonGenerator
 
generate() - Method in class org.robolectric.annotation.processing.generator.ServiceLoaderGenerator
 
generate() - Method in class org.robolectric.annotation.processing.generator.ShadowProviderGenerator
 
generate(String, String) - Method in class org.robolectric.res.ResourceIdGenerator
 
generateAudioSessionId() - Method in class org.robolectric.shadows.ShadowAudioManager
Provides a mock like interface for the AudioManager.generateAudioSessionId() method by returning positive distinct values, or AudioManager.ERROR if all possible values have already been returned.
generateClassHandlerCall(MutableClass, MethodNode, String, RobolectricGeneratorAdapter, boolean) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
 
generatePackageInfo(PackageParser.Package, int) - Method in class org.robolectric.shadows.ShadowPackageManager
 
Generator - Class in org.robolectric.annotation.processing.generator
Base class for code generators.
Generator() - Constructor for class org.robolectric.annotation.processing.generator.Generator
 
GestureDispatch(GestureDescription, AccessibilityService.GestureResultCallback) - Constructor for class org.robolectric.shadows.ShadowAccessibilityService.GestureDispatch
 
get() - Method in class org.robolectric.android.controller.ComponentController
 
get() - Method in class org.robolectric.android.controller.ContentProviderController
 
get() - Method in interface org.robolectric.pluginapi.config.GlobalConfigProvider
 
get() - Method in class org.robolectric.res.android.Ref
 
get() - Method in class org.robolectric.RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider
Deprecated.
 
get() - Method in interface org.robolectric.shadows.Provider
 
get() - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
 
get() - Method in interface org.robolectric.util.PerfStatsCollector.ThrowingSupplier
 
get() - Method in class org.robolectric.util.SimpleFuture
Deprecated.
 
get() - Method in class org.robolectric.util.SoftThreadLocal
 
get(int, int) - Static method in class org.robolectric.shadows.ShadowCamcorderProfile
 
get(long, Class<T>) - Static method in class org.robolectric.shadows.ShadowVirtualRefBasePtr
 
get(long, TimeUnit) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
 
get(long, TimeUnit) - Method in class org.robolectric.util.SimpleFuture
Deprecated.
 
get(Context) - Static method in class org.robolectric.shadows.ShadowAccountManager
 
get(CameraCharacteristics.Key<T>) - Method in class org.robolectric.shadows.ShadowCameraCharacteristics
 
get(CaptureRequest.Key<T>) - Method in class org.robolectric.shadows.ShadowCaptureRequestBuilder
Original implementation would store its state in a local CameraMetadataNative object.
get(CaptureResult.Key<T>) - Method in class org.robolectric.shadows.ShadowCaptureResult
Obtain a property of the CaptureResult.
get(AudioRecord) - Method in interface org.robolectric.shadows.ShadowAudioRecord.AudioRecordSourceProvider
 
get(Class<T>) - Static method in class org.robolectric.config.ConfigurationRegistry
Returns the configuration object of the specified class, computed using Configurer.
get(Class<T>) - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy.Configuration
Returns the configuration instance of the specified class for the current test.
get(Class<T>) - Method in class org.robolectric.pluginapi.perf.Metadata
 
get(Class<T>) - Method in class org.robolectric.plugins.HierarchicalConfigurationStrategy.ConfigurationImpl
 
get(String, boolean, int) - Static method in class org.robolectric.res.android.ApkAssetsCache
 
get(URI, String, Map<String, List<String>>) - Method in class org.robolectric.shadows.ShadowHttpResponseCache
 
get(Locale) - Static method in class org.robolectric.shadows.ShadowLocaleData
 
get(ConfigurationStrategy.Configuration) - Static method in class org.robolectric.plugins.ConfigConfigurer
 
get(ResName, ResTable_config) - Method in class org.robolectric.res.ResBunch
 
get(ResName, ResTable_config) - Method in class org.robolectric.res.ResBundle
 
get(DataSource) - Method in interface org.robolectric.shadows.ShadowMediaPlayer.MediaInfoProvider
 
GET_ROBO_DATA_METHOD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
 
getAcceptThirdPartyCookies() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAccessibilityServiceList() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
 
getAccessibleSubscriptionInfoList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
getAccessoryList() - Method in class org.robolectric.shadows.ShadowUsbManager
 
getAccountChangeEvents(Context, int, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
 
getAccountChangeEvents(Context, int, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
 
getAccountId(Context, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
 
getAccountId(Context, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
 
getAccounts() - Method in class org.robolectric.shadows.ShadowAccountManager
 
getAccountsByType(String) - Method in class org.robolectric.shadows.ShadowAccountManager
 
getAccountsByTypeAndFeatures(String, String[], AccountManagerCallback<Account[]>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
 
getAccountsByTypeForPackage(String, String) - Method in class org.robolectric.shadows.ShadowAccountManager
 
getAccountTypesWithManagementDisabled() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getAccuracy() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
 
getAcquireCount() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowLowPowerStandbyPortsLock
 
getActionProvider() - Method in class org.robolectric.fakes.RoboMenuItem
 
getActions() - Method in class org.robolectric.manifest.BroadcastReceiverData
 
getActions() - Method in class org.robolectric.manifest.IntentFilterData
 
getActions() - Method in class org.robolectric.manifest.ServiceData
 
getActionView() - Method in class org.robolectric.fakes.RoboMenuItem
 
getActiveAdmins() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getActiveDataSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
getActiveDevice() - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
 
getActiveDevice() - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
 
getActiveLockCount() - Method in class org.robolectric.shadows.ShadowWifiManager
Returns the number of WifiLocks and MulticastLocks that are currently acquired.
getActiveModemCount() - Method in class org.robolectric.shadows.ShadowTelephonyManager
Returns 1 by default or the value specified via ShadowTelephonyManager.setActiveModemCount(int).
getActiveNetwork() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getActiveNetworkInfo() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getActiveNotifications() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
getActiveNotifications(String[], int) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
Returns zero or more notifications, added by ShadowNotificationListenerService.addActiveNotification(java.lang.String, int, android.app.Notification), that match one of the provided keys.
getActivePlaybackConfigurations() - Method in class org.robolectric.shadows.ShadowAudioManager
 
getActiveProjectionTypes() - Method in class org.robolectric.shadows.ShadowUIModeManager
 
getActiveRecordingConfigurations() - Method in class org.robolectric.shadows.ShadowAudioManager
Returns list of active recording configurations that was set by ShadowAudioManager.setActiveRecordingConfigurations(java.util.List<android.media.AudioRecordingConfiguration>, boolean) or empty list otherwise.
getActiveScans() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
Returns all ShadowBluetoothLeScanner.ScanParamss representing active scans.
getActiveScorerPackage() - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
 
getActiveSessions(ComponentName) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
 
getActiveSubscriptionIdList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
getActiveSubscriptionInfo(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
Returns subscription that were set via ShadowSubscriptionManager.setActiveSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>) if it can find one with the specified id or null if none found.
getActiveSubscriptionInfoCount() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
getActiveSubscriptionInfoCountMax() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
 
getActiveSubscriptionInfoForSimSlotIndex(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
Returns subscription that were set via ShadowSubscriptionManager.setActiveSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>) if it can find one with the specified slot index or null if none found.
getActiveSubscriptionInfoList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
getActivities() - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
 
getActivities(Context, int, Intent[], int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
 
getActivities(Context, int, Intent[], int, Bundle) - Static method in class org.robolectric.shadows.ShadowPendingIntent
 
getActivity() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
 
getActivity(Context, int, Intent, int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
 
getActivity(Context, int, Intent, int, Bundle) - Static method in class org.robolectric.shadows.ShadowPendingIntent
 
getActivityData(String) - Method in class org.robolectric.manifest.AndroidManifest
 
getActivityDatas() - Method in class org.robolectric.manifest.AndroidManifest
 
getActivityIcon(ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getActivityInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getActivityLabel(String) - Method in class org.robolectric.manifest.AndroidManifest
 
getActivityList(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
 
getActivityResult() - Method in class org.robolectric.android.internal.LocalActivityInvoker
 
getActivityThread() - Static method in class org.robolectric.RuntimeEnvironment
 
getActualBinaryName() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
 
getActualName() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
 
getActualRepeatCount() - Method in class org.robolectric.shadows.ShadowValueAnimator
Returns the value that was set as the repeat count.
getActualTypeWithParams() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
 
getAdapter() - Method in class org.robolectric.shadows.ShadowAlertController
 
getAdapter() - Method in class org.robolectric.shadows.ShadowAlertDialog
 
getAdapter() - Method in class org.robolectric.shadows.ShadowBluetoothManager
Get the BluetoothAdapter for this device.
getAdapterState() - Method in class org.robolectric.shadows.ShadowUwbAdapterStateListener
getAdaptivePowerSaveEnabled() - Method in class org.robolectric.shadows.ShadowPowerManager
getAddedCallbackBuffers() - Method in class org.robolectric.shadows.ShadowCamera
 
getAddress() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
getAdnUriForPhoneAccount(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAdpuRequests() - Method in class org.robolectric.shadows.ShadowSecureElementService.MockApplet
 
getAdvertisementRequestCount() - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
Returns the count of current ongoing Bluetooth LE advertising requests.
getAdvertisingSetRequestCount() - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
Returns the count of current ongoing Bluetooth LE advertising set requests.
getAffectedClasses() - Static method in class org.robolectric.shadows.SQLiteShadowPicker
Returns a list of shadow classes that need to be invalidated when the SQLite Mode is switched.
getAffiliationIds(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getAffineTransform() - Method in class org.robolectric.shadows.ShadowLegacyMatrix
 
getAlarmClockInfo() - Method in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
 
getAlias() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
getAliasName() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
 
getAllAttributes() - Method in class org.robolectric.manifest.ActivityData
Get the map for all attributes defined for the activity XML.
getAllAttributes() - Method in class org.robolectric.manifest.BroadcastReceiverData
Get the map for all attributes defined for the broadcast receiver.
getAllAttributes() - Method in class org.robolectric.manifest.ServiceData
Get the map for all attributes defined for the service.
getAllCellInfo() - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getAllDataBundles() - Method in class org.robolectric.shadows.ShadowWearableSensingManager
 
getAllHeaders() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
getAllHeaders() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
getAllIncomingCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAllIntentFilters(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getAllLoopers() - Static method in class org.robolectric.shadows.ShadowLooper
Return all created loopers.
getAllManifests() - Method in class org.robolectric.manifest.AndroidManifest
Returns all transitively reachable manifests, including this one, in order and without duplicates.
getAllMethodRefs() - Method in class org.robolectric.internal.bytecode.Interceptors
 
getAllNetworkInfo() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getAllNetworks() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getAllNotifications() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
getAllocationByteCount() - Method in class org.robolectric.shadows.ShadowLegacyBitmap
 
getAllOutgoingCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAllowContentAccess() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAllowedNetworkTypes() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
 
getAllowedOverMetered() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
 
getAllowedOverRoaming() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
 
getAllowFileAccess() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAllowFileAccessFromFileURLs() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAllowUniversalAccessFromFileURLs() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAllPackageInstallerSessions() - Method in class org.robolectric.shadows.ShadowLauncherApps
 
getAllPendingJobs() - Method in class org.robolectric.shadows.ShadowJobScheduler
 
getAllPendingJobs() - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
 
getAllPermissionGroups(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getAllPhoneAccountHandles() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAllPhoneAccounts() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAllPhoneAccountsCount() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAllProfiles() - Method in class org.robolectric.shadows.ShadowUserManager
 
getAllProviders() - Method in class org.robolectric.shadows.ShadowLocationManager
 
getAllSessionCallbacks() - Method in class org.robolectric.shadows.ShadowPackageInstaller
 
getAllSessions() - Method in class org.robolectric.shadows.ShadowPackageInstaller
 
getAllShadowTypes() - Method in class org.robolectric.annotation.processing.RobolectricModel
 
getAllSharedMemories() - Method in class org.robolectric.shadows.ShadowWearableSensingManager
 
getAllStartedServices() - Method in class org.robolectric.shadows.ShadowContextWrapper
Returns all Intent started by #startService(android.content.Intent) without consuming them.
getAllUnknownCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAllWallpaperDimAmounts() - Method in class org.robolectric.shadows.ShadowWallpaperManager
Returns a list of all dim amounts set from calls to setWallpaperDimAmount.
getAlpha() - Method in class org.robolectric.shadows.ShadowPaint
 
getAlpha() - Method in class org.robolectric.shadows.ShadowRenderNode
 
getAlpha() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
 
getAlphabeticShortcut() - Method in class org.robolectric.fakes.RoboMenuItem
 
getAlwaysRecreateViewsDuringUpdate() - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
getAnchor() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
getAndroidCodeName() - Method in class org.robolectric.pluginapi.Sdk
Returns the Android codename for this SDK.
getAndroidCodeName() - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
 
getAndroidFrameworkJarPath() - Static method in class org.robolectric.RuntimeEnvironment
 
getAndroidJarSDKVersion() - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
 
getAndroidManifestFile() - Method in class org.robolectric.manifest.AndroidManifest
 
getAndroidSandbox(InstrumentationConfiguration, Sdk, ResourcesMode, LooperMode.Mode, SQLiteMode.Mode, GraphicsMode.Mode) - Method in class org.robolectric.internal.SandboxManager
 
getAndroidVersion() - Method in class org.robolectric.pluginapi.Sdk
Returns the Android Version for this SDK.
getAndroidVersion() - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
 
getAnimations() - Method in class org.robolectric.shadows.ShadowView
Returns a list of all animations that have been set on this view.
getAnnotationIntValue(AnnotationValue) - Static method in class org.robolectric.annotation.processing.Helpers
 
getAnnotationMirror(Types, Element, TypeElement) - Static method in class org.robolectric.annotation.processing.Helpers
 
getAnnotationStringValue(AnnotationValue) - Static method in class org.robolectric.annotation.processing.Helpers
 
getAnnotationType() - Method in class org.robolectric.annotation.processing.validator.Validator
 
getAnnotationTypeMirrorValue(AnnotationMirror, String) - Static method in class org.robolectric.annotation.processing.Helpers
 
getAnnotationTypeMirrorValue(AnnotationValue) - Static method in class org.robolectric.annotation.processing.Helpers
 
getAnnotationTypeMirrorValue(Element) - Static method in class org.robolectric.annotation.processing.Helpers
 
getApiLevel() - Method in class org.robolectric.pluginapi.Sdk
Returns the Android API level for this SDK.
getApiLevel() - Static method in class org.robolectric.RuntimeEnvironment
 
GetApkAssets() - Method in class org.robolectric.res.android.CppAssetManager2
 
getApkContentsSigners() - Method in class org.robolectric.shadows.ShadowSigningInfo
 
getApkFile() - Method in class org.robolectric.internal.ManifestIdentifier
 
getApkFile() - Method in class org.robolectric.manifest.AndroidManifest
 
getAppCacheEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAppCacheMaxSize() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAppCachePath() - Method in class org.robolectric.fakes.RoboWebSettings
 
getAppComponentFactory() - Method in class org.robolectric.manifest.AndroidManifest
 
getAppIcon() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSessionInfo
Real method makes a system call not available in tests.
getApplication() - Static method in class org.robolectric.RuntimeEnvironment
Get a reference to the Application under test.
getApplication() - Method in class org.robolectric.shadows.ShadowActivityThread
 
getApplicationAttributes() - Method in class org.robolectric.manifest.AndroidManifest
 
getApplicationEnabledSetting(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getApplicationHiddenSettingAsUser(String, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getApplicationIcon(ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getApplicationIcon(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getApplicationInfo(Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getApplicationInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getApplicationInfo(String, int, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
 
getApplicationLocales(String) - Method in class org.robolectric.shadows.ShadowLocaleManager
Returns the stored locales from in-memory map for the given package when LocaleManager.getApplicationLocales() is invoked in source code via tests.
getApplicationMetaData() - Method in class org.robolectric.manifest.AndroidManifest
 
getApplicationName() - Method in class org.robolectric.manifest.AndroidManifest
 
getApplicationNightMode() - Method in class org.robolectric.shadows.ShadowUIModeManager
 
getApplicationRestrictions() - Method in class org.robolectric.shadows.ShadowRestrictionsManager
 
getApplicationRestrictions(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getApplicationRestrictions(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
Returns all application restrictions of the packageName in a Bundle.
getApplicationRestrictions(String) - Method in class org.robolectric.shadows.ShadowUserManager
Compared to real Android, there is no check that the package name matches the application package name and the method returns instantly.
getAppMetadata() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
 
getAppResourceTable() - Static method in class org.robolectric.RuntimeEnvironment
 
getAppResourceTable(AndroidManifest) - Method in class org.robolectric.ApkLoader
 
getAppSaturationLevel(String) - Method in class org.robolectric.shadows.ShadowColorDisplayManager
Returns the current display saturation level for the packageName.
getAppStandbyBucket() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
Returns the current app's standby bucket that is set by setCurrentAppStandbyBucket.
getAppStandbyBucket(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
Returns the current standby bucket of the specified app that is set by setAppStandbyBucket.