$ 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 _ 

$

$$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
 
abortAnimation() - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
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
 
AccessibilityChecks - Annotation Type in org.robolectric.annotation
Robolectric can check for certain kinds of accessibility bugs while running your tests.
AccessibilityChecks.ForRobolectricVersion - Enum in org.robolectric.annotation
 
AccessibilityUtil - Class in org.robolectric.android
Utility class for checking Views for accessibility.
AccessibilityUtil() - Constructor for class org.robolectric.android.AccessibilityUtil
 
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.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
 
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
 
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
 
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 #visibileToPackages
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(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
addAction(AccessibilityNodeInfo.AccessibilityAction) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
addAction(String) - Method in class org.robolectric.manifest.BroadcastReceiverData
 
addAction(String) - Method in class org.robolectric.manifest.ServiceData
 
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.
addArc(float, float, float, float, float, float) - Method in class org.robolectric.shadows.ShadowPath
 
addAssetPath(String) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
addAssetPath(String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
addAssetPathNative(String, boolean) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
addAssetPathNative(String, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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.
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
 
addAvailableRestoreSets(long, List<String>) - Method in class org.robolectric.shadows.ShadowBackupManager
Adds a restore set available to be restored.
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
 
addCallback(SurfaceHolder.Callback) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
 
addCallbackBuffer(byte[]) - Method in class org.robolectric.shadows.ShadowCamera
 
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.
addCaptioningChangeListener(CaptioningManager.CaptioningChangeListener) - Method in class org.robolectric.shadows.ShadowCaptioningManager
 
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.ShadowPath
 
addClassNameTranslation(String, String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
addConnectedDevice(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
Adds the given BluetoothDevice to the shadow’s list of “connected devices”
addCorruptStreamSource(String) - Static method in class org.robolectric.shadows.ShadowDrawable
 
addCrossProfileIntentFilter(IntentFilter, int, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addCurrentToCannonicalName(String, String) - Method in class org.robolectric.shadows.ShadowPackageManager
 
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
 
addDirectCallConstructor(MutableClass) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
 
addDirectCallConstructor(MutableClass) - Method in class org.robolectric.internal.bytecode.InvokeDynamicClassInstrumentor
 
addDirectCallConstructor(MutableClass) - Method in class org.robolectric.internal.bytecode.OldClassInstrumentor
Generates code like this:
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.
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 #getShortcuts(ShortcutQuery, UserHandle).
addDynamicShortcuts(List<ShortcutInfo>) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
addEffect(AudioEffect.Descriptor) - Static method in class org.robolectric.shadows.ShadowAudioEffect
 
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
Deprecated.
Use #addEvent(Event) and ShadowUsageStatsManager.EventBuilder instead.
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
 
addExtensionMimeTypMapping(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
 
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
 
addGpsStatusListener(GpsStatus.Listener) - Method in class org.robolectric.shadows.ShadowLocationManager
 
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
 
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
 
addInstalledProvider(AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
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
 
addLikelySubtags(String) - Static method in class org.robolectric.shadows.ShadowICU
 
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
 
addMovement(MotionEvent) - Method in class org.robolectric.shadows.ShadowVelocityTracker
 
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
 
addNewIncomingCall(PhoneAccountHandle, Bundle) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
addNewUnknownCall(PhoneAccountHandle, Bundle) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
addOnAccountsUpdatedListener(OnAccountsUpdateListener, Handler, boolean) - Method in class org.robolectric.shadows.ShadowAccountManager
 
addOnPermissionsChangeListener(Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
addOnSubscriptionsChangedListener(SubscriptionManager.OnSubscriptionsChangedListener) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
Adds a listener to a local list of listeners.
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.
addOval(float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
 
addPackage(PackageInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
Deprecated.
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.ShadowPath
 
addPath(Path, float, float) - Method in class org.robolectric.shadows.ShadowPath
 
addPath(Path, Matrix) - Method in class org.robolectric.shadows.ShadowPath
 
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
 
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
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
 
addPlatformVersion(String, int) - Static method in class org.robolectric.res.Qualifiers
Deprecated.
Figure something else out.
addPort(String) - Method in class org.robolectric.shadows.ShadowUsbManager
Adds a USB port to UsbManager.
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
 
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.
addRect(float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
 
addRect(RectF, Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
 
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
addResolveInfoForIntent(Intent, List<ResolveInfo>) - Method in class org.robolectric.shadows.ShadowPackageManager
addResolveInfoForIntentNoDefaults(Intent, ResolveInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
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.ShadowPath
 
addRoundRect(float, float, float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
 
addRoundRect(RectF, float[], Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
 
addRoundRect(RectF, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
 
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
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
 
addSmallestScreenWidth(String, int) - Static method in class org.robolectric.res.Qualifiers
Deprecated.
addState(int[], Drawable) - Method in class org.robolectric.shadows.ShadowStateListDrawable
 
addState(int, int) - Method in class org.robolectric.shadows.ShadowStateListDrawable
 
addStorageVolume(StorageVolume) - Method in class org.robolectric.shadows.ShadowStorageManager
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
 
addSupportedPreviewSize(int, int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
Add custom preview sizes to supportedPreviewSizes.
addSystemAvailableFeature(FeatureInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
 
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.
addTextChangedListener(TextWatcher) - Method in class org.robolectric.shadows.ShadowTextView
 
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
Adds a profile associated for the user that the calling process is running on.
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
 
addWakeLock(PowerManager.WakeLock) - Method in class org.robolectric.shadows.ShadowApplication
 
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
advanceBy(long) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
advanceBy(long) - Method in class org.robolectric.util.Scheduler
advanceBy(long, TimeUnit) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
advanceBy(long, TimeUnit) - Method in class org.robolectric.util.Scheduler
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
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
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
Run the next runnable in the queue.
after(Time) - Method in class org.robolectric.shadows.ShadowTime
 
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.android.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
 
allowFileSchemeCookiesImpl() - Method in class android.webkit.RoboCookieManager
 
ALOGI(String, Object...) - Static method in class org.robolectric.res.android.Util
 
ALOGV(String, Object...) - Static method in class org.robolectric.res.android.Util
 
analyzeClass(byte[], InstrumentationConfiguration, ClassNodeProvider) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
 
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.media - package android.media
 
android.webkit - package android.webkit
 
AndroidConfigurer - Class in org.robolectric.internal
 
AndroidConfigurer(ShadowProviders) - Constructor for class org.robolectric.internal.AndroidConfigurer
 
AndroidInterceptors - Class in org.robolectric.android
 
AndroidInterceptors() - Constructor for class org.robolectric.android.AndroidInterceptors
 
AndroidInterceptors.CleanerInterceptor - Class in org.robolectric.android
Maps calls to Cleaner, which moved between Java 8 and 9:
AndroidInterceptors.LinkedHashMapEldestInterceptor - Class in org.robolectric.android
 
AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor - Class in org.robolectric.android
 
AndroidInterceptors.NoOpInterceptor - Class in org.robolectric.android
 
AndroidInterceptors.PolicyManagerMakeNewWindowInterceptor - Class in org.robolectric.android
 
AndroidInterceptors.SystemArrayCopyInterceptor - Class in org.robolectric.android
 
AndroidInterceptors.SystemLogEInterceptor - Class in org.robolectric.android
 
AndroidInterceptors.SystemTimeInterceptor - Class in org.robolectric.android
 
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
 
AndroidSandbox - Class in org.robolectric.internal
Sandbox simulating an Android device.
AndroidSandbox(Sdk, Sdk, ResourcesMode, ApkLoader, AndroidSandbox.TestEnvironmentSpec, AndroidSandbox.SdkSandboxClassLoader, ShadowProviders) - 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.
AndroidTestEnvironment - Class in org.robolectric.android.internal
 
AndroidTestEnvironment(Sdk, Sdk, ResourcesMode, ApkLoader, ShadowProvider[], TestEnvironmentLifecyclePlugin[]) - Constructor for class org.robolectric.android.internal.AndroidTestEnvironment
 
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.
AnnotatedMethodMatcher(Class<? extends Annotation>) - Constructor for class org.robolectric.errorprone.bugpatterns.Helpers.AnnotatedMethodMatcher
 
annotationType - Variable in class org.robolectric.annotation.processing.validator.Validator
 
annotationType() - Method in class org.robolectric.annotation.Config.Implementation
 
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
 
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 migrate to androidx.test.core.app.ApplicationProvider#getApplicationContext
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.ExpectedLogMessagesRule
 
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
 
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(int, int, int, int, int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
applyStyle(int, int, int, int, int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
applyStyle(long, int, int, long, int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
applyStyle(long, int, int, long, int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
applyStyle(long, int, int, long, int[], int, long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
applyStyle(long, int, int, long, int[], int, long, long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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
 
applyStyleToTheme(long, int, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
applyThemeStyle(int, int, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
applyThemeStyle(int, int, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
applyThemeStyle(long, int, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
applyThemeStyle(long, int, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
applyTransformation(float, Transformation) - Method in class org.robolectric.shadows.ShadowAnimationBridge
 
approximate(float) - Method in class org.robolectric.shadows.ShadowPath
 
AppUsageObserver(int, Collection<String>, long, TimeUnit, PendingIntent) - 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.
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.ShadowPath
 
arcTo(RectF, float, float) - Method in class org.robolectric.shadows.ShadowPath
 
arcTo(RectF, float, float, boolean) - Method in class org.robolectric.shadows.ShadowPath
 
areAnyRunnable() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
areAnyRunnable() - Method in class org.robolectric.util.Scheduler
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
 
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() - 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
 
asString() - Method in class org.robolectric.res.TypedResource
 
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) - Method in interface org.robolectric.shadows._Activity_
 
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_
 
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
 
attr(int, int, int, ResourceTypes.Res_value, String) - Method in class org.robolectric.res.android.ResourceTypes.ResXMLTree_attrExt.Writer
 
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_TYPE_PRECIDENCE - Static variable in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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.LegacyResourceResolver - Class in org.robolectric.android
 
AttributeSetBuilderImpl.ResourceResolver - Interface in org.robolectric.android
 
attrType - Variable in class org.robolectric.res.StaxLoader
 
audioFocusRequest - Variable in class org.robolectric.shadows.ShadowAudioManager.AudioFocusRequest
 
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.
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() - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
 
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
 

B

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.
BackupAgentController<T extends BackupAgent> - Class in org.robolectric.android.controller
 
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
 
BaseCursor - Class in org.robolectric.fakes
Robolectric implementation of Cursor.
BaseCursor() - Constructor for class org.robolectric.fakes.BaseCursor
 
baseUrl - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
 
before(Time) - Method in class org.robolectric.shadows.ShadowTime
 
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
 
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
 
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
 
bindAppWidgetIdIfAllowed(int, ComponentName) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
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.
bindProcessToNetwork(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
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
No-ops.
bindSocket(DatagramSocket) - Method in class org.robolectric.shadows.ShadowNetwork
No-ops.
bindSocket(Socket) - Method in class org.robolectric.shadows.ShadowNetwork
No-ops.
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
 
bootstrap(MethodHandles.Lookup, String, MethodType, MethodHandle) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
 
Bootstrap - Class in org.robolectric.android
 
Bootstrap() - Constructor for class org.robolectric.android.Bootstrap
 
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) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
 
bottom - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
 
broadcastPermission - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
 
broadcastReceiver - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
 
broadcastReceiver - Variable in class org.robolectric.shadows.support.v4.ShadowLocalBroadcastManager.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
 
BuckManifestFactory - Class in org.robolectric.internal
 
BuckManifestFactory() - Constructor for class org.robolectric.internal.BuckManifestFactory
 
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.ShadowEventLog.EventBuilder
 
build() - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
 
build() - Method in class org.robolectric.shadows.ShadowTypeface.ShadowBuilder
 
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.StorageVolumeBuilder
 
build() - Method in class org.robolectric.util.inject.Injector.Builder
Builds an injector as previously configured.
build(InstrumentationConfiguration, Sdk, Sdk, ResourcesMode, LooperMode.Mode) - Method in interface org.robolectric.internal.SandboxManager.SandboxBuilder
 
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.
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() - 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.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
 
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.
buildGlobalConfig() - Method in class org.robolectric.RobolectricTestRunner
Deprecated.
Provide a service implementation of GlobalConfigProvider instead. See Migration Notes for details. 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.ShadowSystemFonts
 
buildSystemFallback(String, String, ArrayMap<String, Typeface>, ArrayMap<String, FontFamily[]>) - Static method in class org.robolectric.shadows.ShadowTypeface
 
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.
bundle - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
 
ByteBucketArray<T> - Class in org.robolectric.res.android
Stores a sparsely populated array.
ByteBucketArray(T) - Constructor for class org.robolectric.res.android.ByteBucketArray
 

C

CachedDependencyResolver - Class in org.robolectric.internal.dependency
 
CachedDependencyResolver(DependencyResolver, File, long) - Constructor for class org.robolectric.internal.dependency.CachedDependencyResolver
 
CachedDependencyResolver(DependencyResolver, CachedDependencyResolver.Cache, CachedDependencyResolver.CacheNamingStrategy, CachedDependencyResolver.CacheValidationStrategy) - Constructor for class org.robolectric.internal.dependency.CachedDependencyResolver
 
CachedMavenDependencyResolver - Class in org.robolectric.plugins
 
CachedMavenDependencyResolver() - Constructor for class org.robolectric.plugins.CachedMavenDependencyResolver
 
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
 
CALL_REAL_CODE_PLAN - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
 
callApplyConfigurationToResourcesLocked(Configuration, CompatibilityInfo) - Method in class org.robolectric.shadows.ShadowResourcesManager
callAttach(Context) - Method in class org.robolectric.shadows.ShadowApplication
Attaches an application to a base context.
callAttach(Context, ActivityThread, Instrumentation, Application, Intent, ActivityInfo, CharSequence, Object) - Method in interface org.robolectric.shadows._Activity_
 
callAttach(Intent) - Method in class org.robolectric.shadows.ShadowActivity
 
callAttach(Intent, Object) - Method in class org.robolectric.shadows.ShadowActivity
 
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.
callOnActivityResult(int, int, Intent) - Method in class org.robolectric.shadows.ShadowActivity
For internal use only.
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
 
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
 
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
 
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.ShadowSslErrorHandler
 
cancel() - Method in class org.robolectric.shadows.ShadowSystemVibrator
 
cancel() - Method in class org.robolectric.shadows.ShadowToast
 
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.ShadowJobScheduler
 
cancelAll() - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
 
cancelAll() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
cancelAutoFocus() - Method in class org.robolectric.shadows.ShadowCamera
 
cancelDiscovery() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
cancelMissedCallsNotification() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
cancelOperation(int) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
 
cancelSync(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
 
canDrawOverlays(Context) - Static method in class org.robolectric.shadows.ShadowSettings
 
canGoBack() - Method in class org.robolectric.shadows.ShadowWebView
 
canonicalToCurrentPackageNames(String[]) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
canOpenPopup() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
canPause() - Method in class org.robolectric.shadows.ShadowVideoView
 
canRequestPackageInstalls() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
canSwitchUsers() - Method in class org.robolectric.shadows.ShadowUserManager
Returns false by default, or the value specified via ShadowUserManager.setCanSwitchUser(boolean).
CastableTo(Supplier<Type>) - Constructor for class org.robolectric.errorprone.bugpatterns.Helpers.CastableTo
 
castNativePtr(long) - Static method in class org.robolectric.RuntimeEnvironment
 
ceil(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
 
centerX - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
 
centerY - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
 
changeDisplay(int, String) - Static method in class org.robolectric.shadows.ShadowDisplayManager
Changes properties of a simulated display.
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
 
checkedPerformClick() - Method in class org.robolectric.shadows.ShadowView
Deprecated.
  • Please use Espresso for View interactions.
checkMainThread() - Method in class org.robolectric.android.internal.NoOpThreadChecker
 
checkNotMainThread() - Method in class org.robolectric.android.internal.NoOpThreadChecker
 
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
 
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
 
checkView(View) - Static method in class org.robolectric.android.AccessibilityUtil
Check a hierarchy of Views for accessibility, based on currently set options.
checkViewIfCheckingEnabled(View) - Static method in class org.robolectric.android.AccessibilityUtil
Check a hierarchy of Views for accessibility.
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
 
classesToNotAcquire - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
 
classesToNotInstrument - 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.
ClassHandler.Plan - Interface in org.robolectric.internal.bytecode
An execution plan, which can be invoked to satisfy a requested method call.
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
 
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 - Variable in class org.robolectric.util.ReflectionHelpers.StringParameter
 
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.
classNameVisitor - Static variable in class org.robolectric.errorprone.bugpatterns.ShadowUsageCheck
 
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.internal.bytecode.InvocationProfile
 
clazz - Variable in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
clean(Object) - Static method in class org.robolectric.android.fakes.CleanerCompat
 
CleanerCompat - Class in org.robolectric.android.fakes
Wrapper for Cleaner, used by AndroidInterceptors.CleanerInterceptor when running on Java 9+.
CleanerCompat() - Constructor for class org.robolectric.android.fakes.CleanerCompat
 
CleanerInterceptor() - Constructor for class org.robolectric.android.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(String) - Method in class org.robolectric.shadows.ShadowTime
 
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.
clearApplicationUserData(String, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
clearCache(boolean) - Method in class org.robolectric.shadows.ShadowWebView
 
clearCameraInfo() - Static method in class org.robolectric.shadows.ShadowCamera
 
clearCorruptStreamSources() - Static method in class org.robolectric.shadows.ShadowDrawable
 
clearCrossProfileIntentFilters(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
clearFormData() - Method in class org.robolectric.shadows.ShadowWebView
 
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.
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.
clearLastSentDataMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
Clear last recorded parameters for sendDataMessage.
clearLastSentMultipartTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
Clear last recorded parameters for sendMultipartTextMessage.
clearLastSentTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
Clear last recorded parameters for sendTextMessage.
clearLastSpokenText() - Method in class org.robolectric.shadows.ShadowTextToSpeech
 
clearMappings() - Method in class org.robolectric.shadows.ShadowMimeTypeMap
 
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
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 getPhoneId.
clearPhoneTypes() - 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.
clearProfileOwner(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
clearRegisteredReceivers() - Method in class org.robolectric.shadows.ShadowApplication
Removes all registered receivers.
clearRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
clearStartedServices() - Method in class org.robolectric.shadows.ShadowContextWrapper
Clears all Intent started by Context.startService(android.content.Intent).
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
 
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.
clearView() - Method in class org.robolectric.shadows.ShadowWebView
 
clearWakeLocks() - Method in class org.robolectric.shadows.ShadowApplication
 
clearWasDataSetChangedCalledFlag() - Method in class org.robolectric.shadows.ShadowBaseAdapter
 
clearWasInvalidated() - Method in class org.robolectric.shadows.ShadowView
Clears the wasInvalidated flag
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.XmlResourceParserImpl
 
close() - Method in class org.robolectric.fakes.BaseCursor
 
close() - Method in class org.robolectric.fakes.RoboCursor
 
close() - Method in class org.robolectric.fakes.RoboMenu
 
close() - Method in class org.robolectric.res.android.Asset
 
close() - Method in class org.robolectric.shadows.ShadowBasicTagTechnology
 
close() - Method in class org.robolectric.shadows.ShadowBluetoothServerSocket
 
close() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
 
close() - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
close() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
 
close() - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
 
close() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
 
close() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
 
close() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
close() - Method in class org.robolectric.shadows.ShadowPath
 
close(FileDescriptor) - Method in class org.robolectric.shadows.ShadowBlockGuardOs
 
closeDrawer(View, boolean) - Method in class org.robolectric.shadows.support.v4.ShadowDrawerLayout
Drawer animations are disabled in unit tests.
closeProfileProxy(int, BluetoothProfile) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
Overrides behavior of closeProfileProxy if ShadowBluetoothAdapter.setProfileProxy(int, android.bluetooth.BluetoothProfile) has been previously called.
code() - Method in enum org.robolectric.res.android.DataType
 
collapseActionView() - Method in class org.robolectric.fakes.RoboMenuItem
 
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.
columnNames - Variable in class org.robolectric.fakes.RoboCursor
 
commit(IntentSender) - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
 
compare(Intent, Intent) - Method in class org.robolectric.shadows.ShadowPackageManager.IntentComparator
 
compare(Time, Time) - Static method in class org.robolectric.shadows.ShadowTime
 
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
 
compileTimeSystemResourcesFile - Static variable in class org.robolectric.RuntimeEnvironment
 
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
 
compress(Bitmap.CompressFormat, int, OutputStream) - Method in class org.robolectric.shadows.ShadowBitmap
 
computeBounds(RectF, boolean) - Method in class org.robolectric.shadows.ShadowPath
 
computeCurrentVelocity(int) - Method in class org.robolectric.shadows.ShadowVelocityTracker
 
computeCurrentVelocity(int, float) - Method in class org.robolectric.shadows.ShadowVelocityTracker
 
computeScrollOffset() - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
computeScrollOffset() - Method in class org.robolectric.shadows.ShadowScroller
 
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
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 instead. See Migration Notes for details. 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
Applies the current system configuration to the Activity.
configurationChange(Configuration) - 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.internal.AndroidConfigurer
 
configureDefaultDisplay(Configuration, DisplayMetrics) - Static method in class org.robolectric.shadows.ShadowDisplayManager
internal only
configureDefaultDisplayForJBOnly(Configuration, DisplayMetrics) - Static method in class org.robolectric.shadows.ShadowWindowManagerImpl
internal only
configuredSdks(Config, UsesSdk) - Method in class org.robolectric.plugins.DefaultSdkPicker
 
configureMaven(DependenciesTask) - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
 
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
Overrides behavior of BluetoothGatt.connect() to always return true.
connect() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
This method doesn’t perform an actual connection and returns immediately
connect() - Method in class org.robolectric.shadows.support.v4.ShadowMediaBrowserCompat
 
connect(int, WifiManager.ActionListener) - Method in class org.robolectric.shadows.ShadowWifiManager
 
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.
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
 
containsHeader(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
containsHeader(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
containsStubs(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
 
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
 
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.ShadowBitmap
 
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.ShadowBitmap
 
copyPixelsToBuffer(Buffer) - Method in class org.robolectric.shadows.ShadowBitmap
 
copyStringToBuffer(int, CharArrayBuffer) - Method in class org.robolectric.fakes.BaseCursor
 
copyStringToBuffer(int, CharArrayBuffer) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
copyTheme(int, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
copyTheme(int, int) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
copyTheme(long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
 
copyTheme(long, long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
copyTo(DisplayInfo) - Method in class org.robolectric.android.internal.DisplayConfig
 
cos(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
 
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() - Method in class org.robolectric.shadows.support.v4.SupportFragmentController
 
create() - Method in class org.robolectric.util.SoftThreadLocal
 
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(int, Bundle) - Method in class org.robolectric.shadows.support.v4.SupportFragmentController
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(Resources, int[], int[], int[], int, CharSequence[]) - Static method in class org.robolectric.shadows.ShadowTypedArray
 
create(Typeface, int) - Static method in class org.robolectric.shadows.ShadowTypeface
 
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(Bundle) - Method in class org.robolectric.shadows.support.v4.SupportFragmentController
Creates the activity with Bundle and adds the fragment to it.
create(A, B) - Static method in class org.robolectric.util.Pair
 
create(String) - Method in class org.robolectric.android.controller.ContentProviderController
Create and register ContentProvider using ProviderInfo found from manifest.
create(String) - Method in class org.robolectric.util.TempDirectory
 
create(String, int) - Static method in class org.robolectric.shadows.ShadowTypeface
 
create(String, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
create(String, BitmapFactory.Options, Point) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
create(Path, String) - Static method in class org.robolectric.res.builder.XmlBlock
 
createAndroidManifest(ManifestIdentifier) - Static method in class org.robolectric.RobolectricTestRunner
Deprecated.
Do not use.
createAppContext(ActivityThread, LoadedApk) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
 
createAshmemBitmap() - Method in class org.robolectric.shadows.ShadowBitmap
 
createBitmap(int[], int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createBitmap(int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createBitmap(Bitmap) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createBitmap(Bitmap, int, int, int, int) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createBitmap(Bitmap, int, int, int, int, Matrix, boolean) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createBitmap(DisplayMetrics, int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createBitmap(DisplayMetrics, int, int, Bitmap.Config, boolean) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createBond() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
Returns whether this device has been bonded with.
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.
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.
createDateIntervalFormat(String, String, String) - Static method in class org.robolectric.shadows.ShadowDateIntervalFormat
 
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
 
createDependenciesTask() - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
 
createDirectChannel(MemoryFile) - Method in class org.robolectric.shadows.ShadowSensorManager
 
createFile(String, String) - Method in class org.robolectric.util.TempDirectory
 
createForPhoneAccountHandle(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelephonyManager
createForSubscriptionId(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
createFromAsset(AssetManager, String) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromFamilies(Object) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromFamiliesWithDefault(Object) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromFamiliesWithDefault(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromFamiliesWithDefault(Object, Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromFile(File) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromFile(String) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromPath(String) - Static method in class org.robolectric.shadows.ShadowDrawable
 
createFromResourceId(int) - Static method in class org.robolectric.shadows.ShadowDrawable
 
createFromResources(AssetManager, String, int) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromResources(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowTypeface
 
createFromResourceStream(Resources, TypedValue, InputStream, String, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowDrawable
 
createFromShadowProviders(List<ShadowProvider>) - Static method in class org.robolectric.internal.bytecode.ShadowMap
 
createFromStream(InputStream, String) - Static method in class org.robolectric.shadows.ShadowDrawable
 
createFromZip(String, ZipFile, ZipEntry, int, boolean) - Method in class org.robolectric.res.android.FileMap
 
createGroup(WifiP2pManager.Channel, WifiP2pManager.ActionListener) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
 
createHardwareBitmap(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowHardwareRenderer
 
createHardwareBitmap(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowThreadedRenderer
 
createIfNotExists(String) - Method in class org.robolectric.util.TempDirectory
 
createInstance(Context) - Static method in class org.robolectric.shadows.ShadowCookieSyncManager
 
createListener - Static variable in class org.robolectric.shadows.ShadowMediaPlayer
Listener that is called when a new MediaPlayer is constructed.
createMediaItem(String, String, String, int) - Method in class org.robolectric.shadows.support.v4.ShadowMediaBrowserCompat
Creates a MediaItem and returns it.
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
 
createPackage(AndroidManifest) - Static method in class org.robolectric.shadows.LegacyManifestParser
 
createPathFromPathData(String) - Static method in class org.robolectric.shadows.ShadowPathParser
 
createPipe() - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
createProxy(Class<T>, T) - Method in class org.robolectric.internal.bytecode.ProxyMaker
 
createReliablePipe() - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
createScaledBitmap(Bitmap, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowBitmap
 
createSensorEvent() - Method in class org.robolectric.shadows.ShadowSensorManager
 
createSensorEvent(int) - Static method in class org.robolectric.shadows.ShadowSensorManager
Creates a SensorEvent with the given value array size, which the caller should set based on the type of Sensor which is being emulated.
createSession(PackageInstaller.SessionParams) - Method in class org.robolectric.shadows.ShadowPackageInstaller
 
createShortcutResultIntent(ShortcutInfo) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
createSystemAssetsInZygoteLocked() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
 
createSystemAssetsInZygoteLocked() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
 
createSystemContext(ActivityThread) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
 
createTest() - Method in class org.robolectric.RobolectricTestRunner
 
createTest() - Method in class org.robolectric.RobolectricTestRunner.HelperTestRunner
 
createTheme() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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.
createView(Context, int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetHost
 
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.ShadowVisualVoicemailSms
 
cubicTo(float, float, float, float, float, float) - Method in class org.robolectric.shadows.ShadowPath
 
currentActivityThread() - Static method in class org.robolectric.shadows.ShadowActivityThread
 
currentAnnotation - Variable in class org.robolectric.annotation.processing.validator.Validator
 
currentElement - Variable in class org.robolectric.annotation.processing.validator.Validator
 
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
 

D

d(String, String) - Static method in class org.robolectric.shadows.ShadowLog
 
d(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
 
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_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
 
DataMessageParams(String, String, short, byte[], PendingIntent, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
 
DataSource - Class in org.robolectric.shadows.util
Opaque class for uniquely identifying a media data source, as used by ShadowMediaPlayer and ShadowMediaMetadataRetriever.
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
 
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
 
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
 
decodeRegion(Rect, BitmapFactory.Options) - Method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
 
decodeResource(Resources, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
 
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
 
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
 
decorateMethodPreClassHandler(MutableClass, MethodNode, String, RobolectricGeneratorAdapter) - Method in interface org.robolectric.internal.bytecode.ClassInstrumentor.Decorator
 
decorateMethodPreClassHandler(MutableClass, MethodNode, String, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.ShadowDecorator
For non-invokedynamic JVMs, generates this code:
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_MANIFEST_NAME - Static variable in annotation type org.robolectric.annotation.Config
 
DEFAULT_MAX_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
 
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_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.ConfigConfigurer
 
defaultConfig() - Method in class org.robolectric.plugins.LooperModeConfigurer
 
defaultConfig() - Method in class org.robolectric.plugins.TextLayoutModeConfigurer
 
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.
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
 
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
 
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
 
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
 
deleteTheme(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
deleteTheme(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
deleteTheme(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
deleteTheme(long) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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_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
 
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
 
DeprecatedMethodsCheck() - Constructor for class org.robolectric.errorprone.bugpatterns.DeprecatedMethodsCheck
 
DeprecatedTestRunnerDefaultConfigProvider() - Constructor for class org.robolectric.RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider
Deprecated.
 
describe() - Method in interface org.robolectric.internal.bytecode.ClassHandler.Plan
 
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
 
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.ShadowWebView
 
destroy() - Method in class org.robolectric.shadows.support.v4.SupportFragmentController
 
destroy() - Method in class org.robolectric.util.TempDirectory
 
destroyAsset(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
destroyAsset(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
destroyAsset(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
destroyAsset(long) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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
 
didClearCacheIncludeDiskFiles() - Method in class org.robolectric.shadows.ShadowWebView
 
didRequestLayout() - Method in class org.robolectric.shadows.ShadowView
 
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...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter...) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(Class<T>, 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(Object, String, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
directlyOn(T, Class<T>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
 
directlyOn(T, Class<T>) - Method in interface org.robolectric.internal.IShadow
 
directlyOn(T, Class<T>) - 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
 
directlyOn(T, Class<T>, String, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
 
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
 
DirectObjectMarker - Class in org.robolectric.internal.bytecode
 
disable() - 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.
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
 
disconnect() - Method in class org.robolectric.shadows.support.v4.ShadowMediaBrowserCompat
 
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
 
dispatchChange(boolean) - Method in class org.robolectric.shadows.ShadowContentObserver
 
dispatchChange(boolean, Uri) - Method in class org.robolectric.shadows.ShadowContentObserver
 
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
 
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
 
DO_NOTHING_PLAN - 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
 
doInBackground(Params...) - Method in class org.robolectric.shadows.ShadowAsyncTaskBridge
 
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
 
doStop() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Pauses simulated playback.
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
 
DrawableResourceLoader - Class in org.robolectric.res
DrawableResourceLoader
drawArc(RectF, float, float, boolean, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawBitmap(Bitmap, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawBitmap(Bitmap, Matrix, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawBitmap(Bitmap, Rect, RectF, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawBitmap(Bitmap, Rect, Rect, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawCircle(float, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawColor(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawLine(float, float, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawOval(RectF, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawPaint(Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawPath(Path, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawRect(float, float, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawText(char[], int, int, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawText(CharSequence, int, int, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawText(String, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
drawText(String, int, int, float, float, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
 
dump() - Method in class org.robolectric.shadows.ShadowView
Deprecated.
  • Please use androidx.test.espresso.util.HumanReadables#describe(View)
dump(TypedArray) - Static method in class org.robolectric.shadows.ShadowTypedArray
 
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
 
dumpTheme(long, int, String, String) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
duration - Variable in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
 
durationHint - Variable in class org.robolectric.shadows.ShadowAudioManager.AudioFocusRequest
 
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
 
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
 
EMPTY_VALUE - Static variable in class org.robolectric.res.AttributeResource
 
EmptyStyle - Class in org.robolectric.res
 
EmptyStyle() - Constructor for class org.robolectric.res.EmptyStyle
 
emulateRequest(HttpHost, HttpRequest, HttpContext, RequestDirector) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
enable() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
enableCarMode(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
 
ENABLED - Static variable in class org.robolectric.internal.bytecode.InvokeDynamic
 
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
 
enableShortcuts(List<String>) - Method in class org.robolectric.shadows.ShadowShortcutManager
 
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 - 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
 
endCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
endSection() - Static method in class org.robolectric.shadows.ShadowTrace
Ends the most recent active trace section.
enforcePermissionChecks(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
 
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
 
ensureProviderCreated() - Method in class org.robolectric.shadows.ShadowWebView
 
ensureStringBlocks() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
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
 
equals(Object) - Method in class org.robolectric.android.internal.DisplayConfig
 
equals(Object) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
 
equals(Object) - Method in class org.robolectric.internal.bytecode.InvocationProfile
 
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.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.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
 
equals(Object) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
equals(Object) - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
 
equals(Object) - Method in class org.robolectric.shadows.ShadowLog.LogItem
 
equals(Object) - Method in class org.robolectric.shadows.ShadowMatrix
 
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.ShadowPorterDuffColorFilter
 
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.AppUsageObserver
 
equals(Object) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
 
equals(Object) - Method in class org.robolectric.shadows.util.DataSource
 
equals(Object) - Method in class org.robolectric.util.inject.Injector.Key
 
equals(Object) - Method in class org.robolectric.util.Pair
 
equals(DisplayConfig) - Method in class org.robolectric.android.internal.DisplayConfig
 
eraseColor(int) - Method in class org.robolectric.shadows.ShadowBitmap
 
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
 
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.
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.shadows.ShadowInstrumentation
 
execStartActivity(Context, IBinder, IBinder, Activity, Intent, int) - Method in class org.robolectric.android.fakes.RoboMonitoringInstrumentation
 
execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle) - Method in class org.robolectric.android.fakes.RoboMonitoringInstrumentation
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.android.fakes.RoboMonitoringInstrumentation
This API was added in Android API 17 (JELLY_BEAN_MR1)
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.fakes.RoboMonitoringInstrumentation
This API was added in Android API 23 (M)
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.shadows.ShadowInstrumentation
 
execStartActivityAsCaller(Context, IBinder, IBinder, Activity, Intent, int, Bundle, boolean, int) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
execStartActivityFromAppTask(Context, IBinder, Object, Intent, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
 
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
 
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
 
executeOnExecutor(Executor, Params...) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
 
executeOnExecutor(Executor, Params...) - Method in class org.robolectric.shadows.ShadowPausedAsyncTask
 
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.
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.ShadowBitmap
 
extractMetadata(int) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
 
extraFlags - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
 

F

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
 
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
 
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.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.ShadowPathParser.ShadowPathData
 
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
 
findClass(String) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
 
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) - Method in interface org.robolectric.internal.bytecode.ClassHandler
Called by Robolectric when an instrumented method is invoked.
findShadowMethodHandle(Class<?>, String, MethodType, boolean) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
 
findShadowMethodHandle(Class<?>, String, MethodType, 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(int, Bundle) - Method in class org.robolectric.android.fakes.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
 
first - Variable in class org.robolectric.util.Pair
 
FIRST_CHUNK_CODE - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
 
FLAG_ADMIN - Static variable in class org.robolectric.shadows.ShadowUserManager
 
flag_entry(String, int, String) - Constructor for class org.robolectric.res.android.ResourceTable.flag_entry
 
FLAG_GUEST - 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_RESTRICTED - 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.ShadowPackageManager.ComponentState
 
flagsMask - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
 
flagsValues - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
 
floor(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
 
flush() - Method in class android.webkit.RoboCookieManager
 
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.
flushPackageRestrictionsAsUser(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
focusIn(View) - Method in class org.robolectric.shadows.ShadowInputMethodManager
 
FontDesc(String, int) - Constructor for class org.robolectric.shadows.ShadowTypeface.FontDesc
 
forceFinished(boolean) - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
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
 
format(String) - Method in class org.robolectric.shadows.ShadowTime
 
format(String, Date, Locale, TimeZone) - Static method in class org.robolectric.util.Strftime
Format a date string.
format2445() - Method in class org.robolectric.shadows.ShadowTime
 
format3339(boolean) - Method in class org.robolectric.shadows.ShadowTime
 
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
 
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.
 
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.
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
 
from(String, V) - Static method in class org.robolectric.util.ReflectionHelpers.StringParameter
 
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
 
generateClassHandlerCall(MutableClass, MethodNode, String, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
 
generateClassHandlerCall(MutableClass, MethodNode, String, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.InvokeDynamicClassInstrumentor
 
generateClassHandlerCall(MutableClass, MethodNode, String, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.OldClassInstrumentor
 
Generator - Class in org.robolectric.annotation.processing.generator
Base class for code generators.
Generator() - Constructor for class org.robolectric.annotation.processing.generator.Generator
 
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) - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
 
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
Deprecated.
This method will be removed in Robolectric 3.4 Use AccountManager.get(Context) instead.
get(Context) - Static method in class org.robolectric.shadows.ShadowViewConfiguration
 
get(CameraCharacteristics.Key<T>) - Method in class org.robolectric.shadows.ShadowCameraCharacteristics
 
get(CaptureResult.Key<T>) - Method in class org.robolectric.shadows.ShadowCaptureResult
Obtain a property of the CaptureResult.
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(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_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
 
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
 
getActionList() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
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
 
getActions() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
Obtain flags for actions supported.
getActionView() - Method in class org.robolectric.fakes.RoboMenuItem
 
getActiveAdmins() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getActiveLockCount() - Method in class org.robolectric.shadows.ShadowWifiManager
Returns the number of WifiLocks and MulticastLocks that are currently acquired.
getActiveNetwork() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getActiveNetworkInfo() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getActiveNotifications() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
getActivePlaybackConfigurations() - Method in class org.robolectric.shadows.ShadowAudioManager
 
getActiveScorerPackage() - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
 
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
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(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(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
 
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
 
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
 
getAffineTransform() - Method in class org.robolectric.shadows.ShadowMatrix
 
getAlarmClockInfo() - Method in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
 
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
 
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
 
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.ShadowBitmap
 
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
 
getAllProviders() - Method in class org.robolectric.shadows.ShadowLocationManager
 
getAllSessions() - Method in class org.robolectric.shadows.ShadowPackageInstaller
 
getAllShadowTypes() - Method in class org.robolectric.annotation.processing.RobolectricModel
 
getAllUnknownCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getAlpha() - Method in class org.robolectric.shadows.ShadowDrawable
 
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
 
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
 
getAndroidManifestFile() - Method in class org.robolectric.manifest.AndroidManifest
 
getAndroidSandbox(InstrumentationConfiguration, Sdk, ResourcesMode, LooperMode.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
 
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
 
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(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getApplicationMetaData() - Method in class org.robolectric.manifest.AndroidManifest
 
getApplicationName() - Method in class org.robolectric.manifest.AndroidManifest
 
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.
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.
getAppStandbyBuckets() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
 
getAppTasks() - Method in class org.robolectric.shadows.ShadowActivityManager
For tests, returns the list of ActivityManager.AppTask set using ShadowActivityManager.setAppTasks(List).
getAppWidgetId() - Method in class org.robolectric.shadows.ShadowAppWidgetHostView
 
getAppWidgetIds(ComponentName) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
getAppWidgetInfo() - Method in class org.robolectric.shadows.ShadowAppWidgetHostView
 
getAppWidgetInfo(int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
getAppWidgetManager() - Method in class org.robolectric.shadows.ShadowApplication
Deprecated.
Please use Context#getSystemService(Context.APPWIDGET_SERVICE) intstead.
getAppWidgetProviderFor(int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
getArcPaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
 
getArrayIntResource(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getArrayIntResource(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getArraySize(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getArraySize(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getArrayStringInfo(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getArrayStringInfo(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getArrayStringResource(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getArrayStringResource(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getArtifactId() - Method in class org.robolectric.internal.dependency.DependencyJar
 
getAssetAllocations() - Static method in class org.robolectric.res.android.Asset
 
getAssetAllocations() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
 
getAssetAllocations() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
 
getAssetDir() - Method in class org.robolectric.internal.ManifestIdentifier
 
getAssetLength(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getAssetLength(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getAssetLength(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getAssetLength(long) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
GetAssetManager() - Method in class org.robolectric.res.android.CppAssetManager2.Theme
 
getAssetPath() - Method in class org.robolectric.shadows.ShadowLegacyApkAssets
 
getAssetPaths() - Method in class org.robolectric.res.android.CppAssetManager
 
getAssetPaths() - Method in class org.robolectric.res.android.CppAssetManager2
 
getAssetRemainingLength(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getAssetRemainingLength(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getAssetRemainingLength(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getAssetRemainingLength(long) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getAssetsDir() - Method in class org.robolectric.res.ResourcePath
 
getAssetsDirectory() - Method in class org.robolectric.manifest.AndroidManifest
 
getAssignedPackageIdentifiers() - Method in class org.robolectric.shadows.ShadowArscAssetManager
 
getAssignedPackageIdentifiers() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getAttribute(String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
 
GetAttribute(int, Ref<ResourceTypes.Res_value>, Ref<Integer>) - Method in class org.robolectric.res.android.CppAssetManager2.Theme
 
GetAttribute(int, Ref<ResourceTypes.Res_value>, Ref<Integer>) - Method in class org.robolectric.res.android.ResTableTheme
 
getAttributeBooleanValue(int, boolean) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeBooleanValue(String, String, boolean) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeCount() - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeCount() - Method in class org.robolectric.res.android.ResXMLParser
 
getAttributeData(int) - Method in class org.robolectric.res.android.ResXMLParser
 
getAttributeDataType(int) - Method in class org.robolectric.res.android.ResXMLParser
 
getAttributeFloatValue(int, float) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeFloatValue(String, String, float) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeIntValue(int, int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeIntValue(String, String, int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeListValue(int, String[], int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeListValue(String, String, String[], int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeName(int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeNameID(int) - Method in class org.robolectric.res.android.ResXMLParser
 
getAttributeNameResID(int) - Method in class org.robolectric.res.android.ResXMLParser
 
getAttributeNameResource(int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeNamespace(int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeNamespaceID(int) - Method in class org.robolectric.res.android.ResXMLParser
 
getAttributePrefix(int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeResourceValue(int, int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeResourceValue(String, String, int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeType(int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeUnsignedIntValue(int, int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeUnsignedIntValue(String, String, int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeValue(int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeValue(int, Ref<ResourceTypes.Res_value>) - Method in class org.robolectric.res.android.ResXMLParser
 
getAttributeValue(String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getAttributeValueStringID(int) - Method in class org.robolectric.res.android.ResXMLParser
 
getAttrTypeData(ResName) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
 
getAttrValue(ResName) - Method in class org.robolectric.res.EmptyStyle
 
getAttrValue(ResName) - Method in interface org.robolectric.res.Style
 
getAttrValue(ResName) - Method in class org.robolectric.res.StyleData
 
getAttrValue(ResName) - Method in class org.robolectric.res.StyleResolver
 
getAttrValue(ResName) - Method in class org.robolectric.res.ThemeStyleSet
 
getAudioChannels() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getAudioEncoder() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getAudioEncodingBitRate() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getAudioSamplingRate() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getAudioSessionId() - Method in class org.robolectric.shadows.ShadowMediaPlayer
 
getAudioSource() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getAuthenticatorTypes() - Method in class org.robolectric.shadows.ShadowAccountManager
 
getAuthorities() - Method in class org.robolectric.manifest.ContentProviderData
 
getAuthorities() - Method in class org.robolectric.manifest.IntentFilterData
 
getAuthToken(Account, String, Bundle, boolean, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
 
getAuthToken(Account, String, Bundle, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
 
getAutomaticZenRule(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
 
getAutomaticZenRules() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
getAutoTimeRequired() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getAuxEffect() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Useful for assertions.
getAvailableBlocks() - Method in class org.robolectric.shadows.ShadowStatFs
 
getAvailableBlocksLong() - Method in class org.robolectric.shadows.ShadowStatFs
 
getAvailableBytes() - Method in class org.robolectric.shadows.ShadowStatFs
 
getAvailableSubscriptionInfoList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
getBackgroundDataSetting() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getBackgroundDrawable() - Method in class org.robolectric.shadows.ShadowWindow
 
getBackgroundPackage() - Method in class org.robolectric.shadows.ShadowActivityManager
 
getBackgroundThreadScheduler() - Static method in class org.robolectric.Robolectric
Return the background scheduler.
getBackgroundThreadScheduler() - Method in class org.robolectric.shadows.ShadowApplication
Return the background scheduler.
GetBag(int) - Method in class org.robolectric.res.android.CppAssetManager2
 
getBagLocked(int, Ref<ResTable.bag_entry[]>, Ref<Integer>) - Method in class org.robolectric.res.android.ResTable
 
getBasePackageCount() - Method in class org.robolectric.res.android.ResTable
 
getBasePackageId(int) - Method in class org.robolectric.res.android.ResTable
 
getBasePackageName(int) - Method in class org.robolectric.res.android.ResTable
 
getBaseShadowMap() - Method in class org.robolectric.internal.bytecode.ShadowProviders
 
getBestDateTimePattern(String, String) - Static method in class org.robolectric.shadows.ShadowICU
 
getBestDateTimePattern(String, Locale) - Static method in class org.robolectric.shadows.ShadowICU
 
getBestProvider(Criteria, boolean) - Method in class org.robolectric.shadows.ShadowLocationManager
 
getBigContentText() - Method in class org.robolectric.shadows.ShadowNotification
 
getBigContentTitle() - Method in class org.robolectric.shadows.ShadowNotification
 
getBigPicture() - Method in class org.robolectric.shadows.ShadowNotification
 
getBigText() - Method in class org.robolectric.shadows.ShadowNotification
 
getBitmap() - Method in class org.robolectric.shadows.ShadowIcon
 
getBitmap(ContentResolver, Uri) - Static method in class org.robolectric.shadows.ShadowMediaStore.ShadowImages.ShadowMedia
 
getBlob(int) - Method in class org.robolectric.fakes.BaseCursor
 
getBlob(int) - Method in class org.robolectric.fakes.RoboCursor
 
getBlob(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getBlockCount() - Method in class org.robolectric.shadows.ShadowStatFs
 
getBlockCountLong() - Method in class org.robolectric.shadows.ShadowStatFs
 
getBlockNetworkImage() - Method in class org.robolectric.fakes.RoboWebSettings
 
getBlockNetworkLoads() - Method in class org.robolectric.fakes.RoboWebSettings
 
getBlockSize() - Method in class org.robolectric.shadows.ShadowStatFs
 
getBlockSizeLong() - Method in class org.robolectric.shadows.ShadowStatFs
Robolectric always uses a block size of 4096.
getBluetoothAdapter() - Method in class org.robolectric.shadows.ShadowApplication
 
getBluetoothGatts() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
getBondedDevices() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
getBondState() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
Overrides behavior of BluetoothDevice.getBondState() to return pre-set result.
getBoundNetworkForProcess() - Method in class org.robolectric.shadows.ShadowConnectivityManager
 
getBounds() - Method in class org.robolectric.shadows.ShadowTouchDelegate
 
getBounds2D() - Method in class org.robolectric.shadows.RoundRectangle
 
getBoundServiceConnections() - Method in class org.robolectric.shadows.ShadowApplication
 
getBoundServiceConnections() - Method in class org.robolectric.shadows.ShadowInstrumentation
 
getBoundsInParent(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getBoundsInScreen(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getBoundsInScreen(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
getBroadcast(Context, int, Intent, int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
 
getBroadcastCookie(int) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
 
getBroadcastIntents() - Method in class org.robolectric.shadows.ShadowContextWrapper
 
getBroadcastItem(int) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
 
getBroadcastReceiver() - Method in class org.robolectric.shadows.ShadowApplication.Wrapper
 
getBroadcastReceiver(String) - Method in class org.robolectric.manifest.AndroidManifest
Returns data for the broadcast receiver with the provided name from this manifest.
getBroadcastReceivers() - Method in class org.robolectric.manifest.AndroidManifest
 
getBuffer(boolean) - Method in class org.robolectric.res.android.Asset
 
getBuffer(boolean, int) - Method in class org.robolectric.shadows.ShadowMediaCodec
Returns the input or output buffer corresponding to the given index, or null if invalid.
getBuffers(boolean) - Method in class org.robolectric.shadows.ShadowMediaCodec
Returns the shadow buffers used for input or output.
getBuildSystemApiProperties() - Method in class org.robolectric.RobolectricTestRunner
 
getBuiltInZoomControls() - Method in class org.robolectric.fakes.RoboWebSettings
 
getBulkContentValues() - Method in class org.robolectric.shadows.ShadowContentResolver.InsertStatement
 
getButtonDrawable() - Method in class org.robolectric.shadows.ShadowCompoundButton
 
getButtonDrawableId() - Method in class org.robolectric.shadows.ShadowCompoundButton
 
getByte(int) - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_header
 
getByteCode(String) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
 
getByteCount() - Method in class org.robolectric.shadows.ShadowBitmap
 
getBytes(Path) - Static method in class org.robolectric.res.Fs
 
getBytesPerPixel(Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowBitmap
 
getCacheMode() - Method in class org.robolectric.fakes.RoboWebSettings
 
getCalendar() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
 
getCallbackIntent() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
 
getCallbacks() - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
 
getCallCapablePhoneAccounts() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getCallCapablePhoneAccounts(boolean) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getCallingActivity() - Method in class org.robolectric.shadows.ShadowActivity
 
getCallingPackage() - Method in class org.robolectric.shadows.ShadowContentProvider
 
getCallingPid() - Static method in class org.robolectric.shadows.ShadowBinder
 
getCallingUid() - Static method in class org.robolectric.shadows.ShadowBinder
 
getCallingUserHandle() - Static method in class org.robolectric.shadows.ShadowBinder
 
getCallState() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getCallState() - Method in class org.robolectric.shadows.ShadowTelephonyManager
Call state may be specified via ShadowTelephonyManager.setCallState(int).
getCamera() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getCameraCharacteristics(String) - Method in class org.robolectric.shadows.ShadowCameraManager
 
getCameraDisabled(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getCameraDistance() - Method in class org.robolectric.shadows.ShadowRenderNode
 
getCameraDistance() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
 
getCameraIdList() - Method in class org.robolectric.shadows.ShadowCameraManager
 
getCameraInfo(int, Camera.CameraInfo) - Static method in class org.robolectric.shadows.ShadowCamera
 
getCap() - Method in class org.robolectric.shadows.ShadowPaint
 
getCaptivePortalServerUrl() - Method in class org.robolectric.shadows.ShadowConnectivityManager
Returns the captive portal URL previously set with ShadowConnectivityManager.setCaptivePortalServerUrl(java.lang.String).
getCarrierConfig() - Method in class org.robolectric.shadows.ShadowTelephonyManager
Returns a new empty PersistableBundle by default, or the value specified via ShadowTelephonyManager.setCarrierConfig(PersistableBundle).
getCarrierPackageNamesForIntent(Intent) - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getCarrierPackageNamesForIntentAndPhone(Intent, int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getCategories() - Method in class org.robolectric.manifest.IntentFilterData
 
getCellLocation() - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getChangedPackages(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
GetChangingConfigurations() - Method in class org.robolectric.res.android.CppAssetManager2.Theme
 
getChild(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getChild(int) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
getChildCount() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getChildCount() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
getChildren() - Method in class org.robolectric.ParameterizedRobolectricTestRunner
 
getChildren() - Method in class org.robolectric.RobolectricTestRunner
 
getCirclePaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
 
getClassAttribute() - Method in class org.robolectric.android.XmlResourceParserImpl
 
getClassBytes(String) - Method in class org.robolectric.internal.bytecode.ClassNodeProvider
 
getClasses(ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
 
getClassifier() - Method in class org.robolectric.internal.dependency.DependencyJar
 
getClassLoader() - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
 
getClassLoader() - Method in class org.robolectric.shadows.ShadowContextImpl
 
getClassLoader() - Method in class org.robolectric.shadows.ShadowLoadedApk
 
getClassName() - Method in class org.robolectric.manifest.PackageItemData
Deprecated.
getClassName() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getClazz() - Method in class org.robolectric.internal.AndroidSandbox.TestEnvironmentSpec
 
getClipToOutline() - Method in class org.robolectric.shadows.ShadowRenderNode
 
getClipToOutline() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
 
getCloseWasCalled() - Method in class org.robolectric.fakes.RoboCursor
 
getCollectionInfo() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getCollectionItemInfo() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getColor() - Method in class org.robolectric.shadows.ShadowPaint
 
getColor() - Method in class org.robolectric.shadows.ShadowPorterDuffColorFilter
 
getColor(String) - Static method in class org.robolectric.manifest.MetaData
Returns the color value represented by the given string value
getColor(String) - Static method in class org.robolectric.shadows.ResourceHelper
Returns the color value represented by the given string value
getColor0() - Method in class org.robolectric.shadows.ShadowLinearGradient
 
getColor1() - Method in class org.robolectric.shadows.ShadowLinearGradient
 
getColorFilter() - Method in class org.robolectric.shadows.ShadowPaint
 
getColorType(String) - Static method in class org.robolectric.shadows.ResourceHelper
Returns the TypedValue color type represented by the given string value
getColumnCount() - Method in class org.robolectric.fakes.BaseCursor
 
getColumnCount() - Method in class org.robolectric.fakes.RoboCursor
 
getColumnCount() - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getColumnIndex(String) - Method in class org.robolectric.fakes.BaseCursor
 
getColumnIndex(String) - Method in class org.robolectric.fakes.RoboCursor
 
getColumnIndex(String) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getColumnIndexOrThrow(String) - Method in class org.robolectric.fakes.BaseCursor
 
getColumnIndexOrThrow(String) - Method in class org.robolectric.fakes.RoboCursor
 
getColumnIndexOrThrow(String) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getColumnName(int) - Method in class org.robolectric.fakes.BaseCursor
 
getColumnName(int) - Method in class org.robolectric.fakes.RoboCursor
 
getColumnName(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getColumnNames() - Method in class org.robolectric.fakes.BaseCursor
 
getColumnNames() - Method in class org.robolectric.fakes.RoboCursor
 
getColumnNames() - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getColumnNumber() - Method in class org.robolectric.android.XmlResourceParserImpl
 
getCommonSuperClass(String, String) - Method in class org.robolectric.internal.bytecode.InstrumentingClassWriter
Returns the common super type of the two given types without actually loading the classes in the ClassLoader.
getCompileTimeResourceTable() - Static method in class org.robolectric.RuntimeEnvironment
 
getCompileTimeResTable() - Method in class org.robolectric.shadows.ShadowAssetManager.ArscBase
Deprecated.
Avoid use.
getCompileTimeSdkResourceTable() - Method in class org.robolectric.ApkLoader
Returns the ResourceTable for the compile time SDK.
getComponentEnabledSetting(ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getComponentEnabledSettingFlags(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
getComponentName() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
 
getCompoundDrawablesWithIntrinsicBoundsBottom() - Method in class org.robolectric.shadows.ShadowTextView
 
getCompoundDrawablesWithIntrinsicBoundsLeft() - Method in class org.robolectric.shadows.ShadowTextView
 
getCompoundDrawablesWithIntrinsicBoundsRight() - Method in class org.robolectric.shadows.ShadowTextView
 
getCompoundDrawablesWithIntrinsicBoundsTop() - Method in class org.robolectric.shadows.ShadowTextView
 
getConfig() - Method in class org.robolectric.res.Qualifiers
 
getConfig() - Method in class org.robolectric.res.TypedResource
 
getConfig() - Method in class org.robolectric.res.XmlContext
 
getConfig() - Method in class org.robolectric.shadows.ShadowBitmap
 
getConfig(Class<?>, Method) - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy
Determine the configuration for the given test class and method.
getConfig(Class<?>, Method) - Method in class org.robolectric.plugins.HierarchicalConfigurationStrategy
 
getConfig(Class<?>, Method, Config) - Method in class org.robolectric.ConfigMerger
Deprecated.
Calculate the Config for the given test.
getConfig(Method) - Method in class org.robolectric.RobolectricTestRunner
Deprecated.
Provide an implementation of javax.inject.Provider instead. See Migration Notes for details. This method will be removed in Robolectric 4.3.
getConfigChanges() - Method in class org.robolectric.manifest.ActivityData
 
getConfigClass() - Method in interface org.robolectric.pluginapi.config.Configurer
Retrieve the class type for this Configurer
getConfigClass() - Method in class org.robolectric.plugins.ConfigConfigurer
 
getConfigClass() - Method in class org.robolectric.plugins.LooperModeConfigurer
 
getConfigClass() - Method in class org.robolectric.plugins.TextLayoutModeConfigurer
 
getConfigFor(Class<?>) - Method in interface org.robolectric.pluginapi.config.Configurer
Returns the configuration for the given class.
getConfigFor(Class<?>) - Method in class org.robolectric.plugins.ConfigConfigurer
 
getConfigFor(Class<?>) - Method in class org.robolectric.plugins.LooperModeConfigurer
 
getConfigFor(Class<?>) - Method in class org.robolectric.plugins.TextLayoutModeConfigurer
 
getConfigFor(Method) - Method in interface org.robolectric.pluginapi.config.Configurer
Returns the configuration for the given method.
getConfigFor(Method) - Method in class org.robolectric.plugins.ConfigConfigurer
 
getConfigFor(Method) - Method in class org.robolectric.plugins.LooperModeConfigurer
 
getConfigFor(Method) - Method in class org.robolectric.plugins.TextLayoutModeConfigurer
 
getConfigFor(String) - Method in interface org.robolectric.pluginapi.config.Configurer
Returns the configuration for a given package.
getConfigFor(String) - Method in class org.robolectric.plugins.ConfigConfigurer
 
getConfigFor(String) - Method in class org.robolectric.plugins.LooperModeConfigurer
 
getConfigFor(String) - Method in class org.robolectric.plugins.TextLayoutModeConfigurer
 
getConfigForSubId(int) - Method in class org.robolectric.shadows.ShadowCarrierConfigManager
Returns PersistableBundle previously set by #setConfigForSubId(int), or default values for an invalid subId.
getConfigProperties(String) - Method in class org.robolectric.ConfigMerger
Deprecated.
Return a Properties file for the given package name, or null if none is available.
getConfigProperties(String) - Method in class org.robolectric.plugins.PackagePropertiesLoader
Return a Properties file for the given package name, or null if none is available.
getConfiguration(Method) - Method in class org.robolectric.RobolectricTestRunner
Deprecated.
Going away before 4.2. DO NOT SHIP.
getConfiguration(Ref<ResTable_config>) - Method in class org.robolectric.res.android.CppAssetManager
 
getConfiguredNetworks() - Method in class org.robolectric.shadows.ShadowWifiManager
 
getConnectedDevices() - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
Overrides behavior of getConnectedDevices.
getConnectionInfo() - Method in class org.robolectric.shadows.ShadowWifiManager
 
getConnectionKeepAliveStrategy() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getConnectionManager() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getConnectionManager() - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
 
getConnectionManager() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getConnectionReuseStrategy() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getConnectionState(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
Overrides behavior of getConnectionState.
getContent() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
 
getContent() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
 
getContentAsIntent() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
 
getContentDescription() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getContentEncoding() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
 
getContentEncoding() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
 
getContentInfo() - Method in class org.robolectric.shadows.ShadowNotification
 
getContentLength() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
 
getContentLength() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
 
getContentObservers(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
Returns the content observers registered for updates under the given URI.
getContentProvider() - Method in class org.robolectric.shadows.ShadowContentResolver.Statement
 
getContentProviderOperations(String) - Method in class org.robolectric.shadows.ShadowContentResolver
 
getContentProviders() - Method in class org.robolectric.manifest.AndroidManifest
 
getContentResolver() - Method in class org.robolectric.shadows.ShadowContextImpl
 
getContentText() - Method in class org.robolectric.shadows.ShadowNotification
 
getContentTitle() - Method in class org.robolectric.shadows.ShadowNotification
 
getContentType() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
 
getContentType() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
 
getContentValues() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
 
getContentValues() - Method in class org.robolectric.shadows.ShadowContentResolver.InsertStatement
 
getContentValues() - Method in class org.robolectric.shadows.ShadowContentResolver.UpdateStatement
 
getContentView() - Method in class org.robolectric.shadows.ShadowActivity
 
getContentView() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
 
getContentViewId() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
 
getContext() - Method in class org.robolectric.shadows.ShadowApplication.Wrapper
 
getContext() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
 
getContext() - Method in class org.robolectric.shadows.ShadowTextToSpeech
 
getConverter(ResType) - Static method in class org.robolectric.shadows.Converter
 
getConverterFor(AttrData, String) - Static method in class org.robolectric.shadows.Converter2
 
getCookie(String) - Method in class android.webkit.RoboCookieManager
 
getCookie(String, boolean) - Method in class android.webkit.RoboCookieManager
 
getCopyOfMediaItemChildren() - Method in class org.robolectric.shadows.support.v4.ShadowMediaBrowserCompat
 
getCount() - Method in class org.robolectric.fakes.BaseCursor
 
getCount() - Method in class org.robolectric.fakes.RoboCursor
 
getCount() - Method in class org.robolectric.pluginapi.perf.Metric
 
getCount() - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getCountDownInterval() - Method in class org.robolectric.shadows.ShadowCountDownTimer
 
getCreatedFromBitmap() - Method in class org.robolectric.shadows.ShadowBitmap
Reference to original Bitmap from which this Bitmap was created.
getCreatedFromBytes() - Method in class org.robolectric.shadows.ShadowBitmap
Bytes from which this Bitmap was created.
getCreatedFromColors() - Method in class org.robolectric.shadows.ShadowBitmap
Color array from which this Bitmap was created.
getCreatedFromFilter() - Method in class org.robolectric.shadows.ShadowBitmap
true if this Bitmap was created with filtering.
getCreatedFromHeight() - Method in class org.robolectric.shadows.ShadowBitmap
Height from ShadowBitmap.getCreatedFromX() within ShadowBitmap.getCreatedFromBitmap() of this Bitmap’s content, or -1.
getCreatedFromMatrix() - Method in class org.robolectric.shadows.ShadowBitmap
Matrix from which this Bitmap’s content was transformed, or null.
getCreatedFromPath() - Method in class org.robolectric.shadows.ShadowBitmap
Path from which this Bitmap was created.
getCreatedFromResId() - Method in class org.robolectric.shadows.ShadowBitmap
Resource ID from which this Bitmap was created.
getCreatedFromResId() - Method in class org.robolectric.shadows.ShadowBitmapDrawable
Deprecated.
use ShadowBitmap#getCreatedFromResId() instead.
getCreatedFromResId() - Method in class org.robolectric.shadows.ShadowDrawable
 
getCreatedFromStream() - Method in class org.robolectric.shadows.ShadowBitmap
InputStream from which this Bitmap was created.
getCreatedFromWidth() - Method in class org.robolectric.shadows.ShadowBitmap
Width from ShadowBitmap.getCreatedFromX() within ShadowBitmap.getCreatedFromBitmap() of this Bitmap’s content, or -1.
getCreatedFromX() - Method in class org.robolectric.shadows.ShadowBitmap
Horizontal offset within ShadowBitmap.getCreatedFromBitmap() of this Bitmap’s content, or -1.
getCreatedFromY() - Method in class org.robolectric.shadows.ShadowBitmap
Vertical offset within ShadowBitmap.getCreatedFromBitmap() of this Bitmap’s content, or -1.
getCreatorPackage() - Method in class org.robolectric.shadows.ShadowPendingIntent
 
getCurrentActivity() - Method in class org.robolectric.shadows.ShadowActivityGroup
 
getCurrentAnnotation() - Method in class org.robolectric.annotation.processing.validator.Validator
 
getCurrentFocus() - Method in class org.robolectric.shadows.ShadowActivity
 
getCurrentInterruptionFilter() - Method in class org.robolectric.shadows.ShadowNotificationManager
 
getCurrentModeType() - Method in class org.robolectric.shadows.ShadowUIModeManager
 
getCurrentPhoneType(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getCurrentPosition() - Method in class org.robolectric.shadows.ShadowMediaPlayer
getCurrentPosition() - Method in class org.robolectric.shadows.ShadowVideoView
 
getCurrentPositionRaw() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Retrieves the current position without doing the state checking that the emulated version of ShadowMediaPlayer.getCurrentPosition() does.
getCurrentSections() - Static method in class org.robolectric.shadows.ShadowTrace
Returns a stack of the currently active trace sections.
getCurrentSegmentEnd(float[]) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
Returns the point where the current segment ends
getCurrentSegmentLength() - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
 
getCurrentSizeRange(Point, Point) - Method in class org.robolectric.shadows.ShadowDisplay
 
getCurrentTab() - Method in class org.robolectric.shadows.ShadowTabHost
 
getCurrentTabSpec() - Method in class org.robolectric.shadows.ShadowTabHost
 
getCurrentTabTag() - Method in class org.robolectric.shadows.ShadowTabHost
 
getCurrentTime() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
getCurrentTime() - Method in class org.robolectric.util.Scheduler
Get the current time (as seen by the scheduler), in milliseconds.
getCurrentTimezone() - Static method in class org.robolectric.shadows.ShadowTime
 
getCurrentTtyMode() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getCurrentUser() - Static method in class org.robolectric.shadows.ShadowActivityManager
 
getCurrentVideoState() - Method in class org.robolectric.shadows.ShadowVideoView
 
getCurrentView() - Method in class org.robolectric.shadows.ShadowTabHost
 
getCurrentView() - Method in class org.robolectric.shadows.ShadowViewAnimator
 
getCurrentWebViewPackage() - Static method in class org.robolectric.shadows.ShadowWebView
Overrides the system implementation for getting the WebView package.
getCurrX() - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
getCurrX() - Method in class org.robolectric.shadows.ShadowScroller
 
getCurrY() - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
getCurrY() - Method in class org.robolectric.shadows.ShadowScroller
 
getCursiveFontFamily() - Method in class org.robolectric.fakes.RoboWebSettings
 
getCustomTitleView() - Method in class org.robolectric.shadows.ShadowAlertController
 
getCustomTitleView() - Method in class org.robolectric.shadows.ShadowAlertDialog
 
getCustomView() - Method in class org.robolectric.shadows.ShadowAlertDialog
 
getData() - Method in class org.robolectric.res.TypedResource
 
getData() - Method in class org.robolectric.shadows.ShadowEventLog.ShadowEvent
 
getData() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
 
getDatabaseEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDatabasePath() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDatabasePath(String) - Method in class org.robolectric.shadows.ShadowContextImpl
 
getDataBytes() - Method in class org.robolectric.shadows.ShadowIcon
 
getDataLength() - Method in class org.robolectric.shadows.ShadowIcon
 
getDataOffset() - Method in class org.robolectric.shadows.ShadowIcon
 
getDataSource() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Retrieves the data source (if any) that was passed in to ShadowMediaPlayer.setDataSource(DataSource).
getDateFormat(Context) - Static method in class org.robolectric.shadows.ShadowDateFormat
 
getDayOfMonth() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
 
getDefault() - Static method in class org.robolectric.shadows.ShadowActivityManagerNative
 
getDefaultActivityIcon() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getDefaultAdapter() - Static method in class org.robolectric.shadows.ShadowBluetoothAdapter
 
getDefaultBrowserPackageNameAsUser(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getDefaultDataSubId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
 
getDefaultDataSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
getDefaultDialerPackage() - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getDefaultDisplay() - Static method in class org.robolectric.shadows.ShadowDisplay
Returns the default display.
getDefaultDisplay() - Method in class org.robolectric.shadows.ShadowWindowManagerImpl
 
getDefaultDisplay() - Method in class org.robolectric.shadows.ShadowWindowManagerImpl.ShadowCompatModeWrapper
 
getDefaultFixedFontSize() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDefaultFontSize() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDefaultKeymode() - Method in class org.robolectric.shadows.ShadowActivity
 
getDefaultOutgoingPhoneAccount(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
 
getDefaultPhoneApp() - Method in class org.robolectric.shadows.ShadowTelecomManager
Deprecated. 
getDefaultSensor(int) - Method in class org.robolectric.shadows.ShadowSensorManager
 
getDefaultSmsPackage(Context) - Static method in class org.robolectric.shadows.ShadowTelephony.ShadowSms
 
getDefaultSmsSubId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
 
getDefaultSmsSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
getDefaultSubId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
 
getDefaultSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
getDefaultTextEncodingName() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDefaultVoiceSubId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
 
getDefaultVoiceSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
getDefaultZoom() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDelegateView() - Method in class org.robolectric.shadows.ShadowTouchDelegate
 
getDeletedPackages() - Method in class org.robolectric.shadows.ShadowPackageManager
Returns package names successfully deleted with PackageManager.deletePackage(String, IPackageDeleteObserver, int) Note that like real PackageManager the calling context must have Manifest.permission.DELETE_PACKAGES permission set.
getDeletedUris() - Method in class org.robolectric.shadows.ShadowContentResolver
 
getDeleteStatements() - Method in class org.robolectric.shadows.ShadowContentResolver
getDeliveryIntent() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
 
getDeliveryIntent() - Method in class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
 
getDeliveryIntents() - Method in class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
 
getDensity() - Method in class org.robolectric.shadows.ShadowBitmap
 
getDepth() - Method in class org.robolectric.android.XmlResourceParserImpl
 
getDescription() - Method in class org.robolectric.manifest.PermissionGroupItemData
 
getDescription() - Method in class org.robolectric.manifest.PermissionItemData
 
getDescription() - Method in class org.robolectric.shadows.ShadowBitmap
 
getDescription() - Method in class org.robolectric.shadows.ShadowCanvas
 
getDescription() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
 
getDescription() - Method in class org.robolectric.shadows.ShadowMatrix
 
getDestination() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
 
getDestinationAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
 
getDestinationAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
 
getDestinationAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
 
getDestinationPort() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
 
getDetailedState() - Method in class org.robolectric.shadows.ShadowNetworkInfo
 
getDevice() - Method in class org.robolectric.shadows.ShadowInputEvent
 
getDeviceBootProperties() - Method in class org.robolectric.AndroidMetadata
 
getDeviceConfigurationInfo() - Method in class org.robolectric.shadows.ShadowActivityManager
 
getDeviceId() - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getDeviceId(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
Returns null by default or the value specified via ShadowTelephonyManager.setDeviceId(int, String).
getDeviceList() - Method in class org.robolectric.shadows.ShadowUsbManager
Returns a HashMap containing all USB devices currently attached.
getDeviceOwner() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getDhcpInfo() - Method in class org.robolectric.shadows.ShadowWifiManager
 
getDialogById(int) - Method in class org.robolectric.shadows.ShadowActivity
 
getDialogMessage() - Method in class org.robolectric.shadows.ShadowPackageManager.PackageSetting
 
getDisable2Flags() - Method in class org.robolectric.shadows.ShadowStatusBarManager
Returns the disable flags previously set in ShadowStatusBarManager.disable2(int).
getDisabledActionModeMenuItems() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDisabledActivity() - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
getDisableFlags() - Method in class org.robolectric.shadows.ShadowStatusBarManager
Returns the disable flags previously set in ShadowStatusBarManager.disable(int).
getDisallowInterceptTouchEvent() - Method in class org.robolectric.shadows.ShadowViewGroup
 
getDisplayedChild() - Method in class org.robolectric.shadows.ShadowViewAnimator
 
getDisplayedValues() - Method in class org.robolectric.shadows.ShadowNumberPicker
 
getDisplayId() - Method in class org.robolectric.shadows.ShadowDisplay
Deprecated.
This behavior is deprecated and will be removed in Robolectric 3.7.
getDisplayOrientation() - Method in class org.robolectric.shadows.ShadowCamera
 
getDisplayZoomControls() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDocument() - Method in class org.robolectric.res.builder.XmlBlock
 
getDocumentation() - Method in class org.robolectric.annotation.processing.DocumentedElement
 
getDocumentedMethod(String) - Method in class org.robolectric.annotation.processing.DocumentedType
 
getDocumentedPackages() - Method in class org.robolectric.annotation.processing.RobolectricModel
 
getDocumentedType(String) - Method in class org.robolectric.annotation.processing.DocumentedPackage
 
getDocumentedTypes() - Method in class org.robolectric.annotation.processing.DocumentedPackage
 
getDomStorageEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
 
getDouble(int) - Method in class org.robolectric.fakes.BaseCursor
 
getDouble(int) - Method in class org.robolectric.fakes.RoboCursor
 
getDouble(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getDoubleTapTimeout() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
 
getDownEvent(char) - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
 
getDrawable(String, int, ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getDrawableForState(int[]) - Method in class org.robolectric.shadows.ShadowStateListDrawable
Non Android accessor to retrieve drawable added for a specific state.
getDrawerListener() - Method in class org.robolectric.shadows.support.v4.ShadowDrawerLayout
 
getDrawingOrder() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
Returns the drawing order of the view corresponding to this node.
getDrawnArc(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnCircle(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnLine(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnOval(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnPaint() - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnPath(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnPathPaint(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnRect(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDrawnTextEvent(int) - Method in class org.robolectric.shadows.ShadowCanvas
 
getDuration() - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
getDuration() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Simulates call to MediaPlayer.getDuration().
getDuration() - Method in class org.robolectric.shadows.ShadowScroller
 
getDuration() - Method in class org.robolectric.shadows.ShadowToast
 
getDuration() - Method in class org.robolectric.shadows.ShadowVideoView
 
getDurationRaw() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Retrieves the current duration without doing the state checking that the emulated version does.
getDynamicRefTableForCookie(int) - Method in class org.robolectric.res.android.ResTable
 
GetDynamicRefTableForCookie(ApkAssetsCookie) - Method in class org.robolectric.res.android.CppAssetManager2
 
getDynamicShortcuts() - Method in class org.robolectric.shadows.ShadowShortcutManager
 
getEdgeSlop() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
 
getEid() - Method in class org.robolectric.shadows.ShadowEuiccManager
 
getElapsedNs() - Method in class org.robolectric.pluginapi.perf.Metric
 
getElementNameID() - Method in class org.robolectric.res.android.ResXMLParser
 
getElementNamespaceID() - Method in class org.robolectric.res.android.ResXMLParser
 
getElevation() - Method in class org.robolectric.shadows.ShadowRenderNode
 
getElevation() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
 
getEnabledAccessibilityServiceList(int) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
 
getEnabledActivity() - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
getEnrolledFingerprints() - Method in class org.robolectric.shadows.ShadowFingerprintManager
 
getEntity() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
getEntity() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
getEntryIdentifier(int) - Static method in class org.robolectric.res.ResourceIds
 
getError() - Method in class org.robolectric.res.android.ResStringPool
 
getError() - Method in class org.robolectric.res.android.ResXMLTree
 
getError() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getErrorDialog(int, Activity, int) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
 
getErrorDialog(int, Activity, int) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
 
getErrorDialog(int, Activity, int, DialogInterface.OnCancelListener) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
 
getErrorDialog(int, Activity, int, DialogInterface.OnCancelListener) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
 
getErrorDialog(Activity, int, int) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
 
getErrorDialog(Activity, int, int, DialogInterface.OnCancelListener) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
 
getErrorListener() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getErrorPendingIntent(int, Context, int) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
 
getErrorPendingIntent(int, Context, int) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
 
getEventFlags() - Method in class org.robolectric.shadows.ShadowTelephonyManager
Deprecated.
Avoid using.
getEvents(char[]) - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
 
getEventType() - Method in class org.robolectric.android.XmlResourceParserImpl
 
getExpectedCount() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
 
getExposureCompensation() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
 
getExposureCompensationStep() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
 
getExtensionFromMimeType(String) - Method in class org.robolectric.shadows.ShadowMimeTypeMap
 
getExternalCacheDir() - Method in class org.robolectric.shadows.ShadowContextImpl
 
getExternalDirs() - Method in class org.robolectric.shadows.ShadowEnvironment.ShadowUserEnvironment
 
getExternalFilesDir(String) - Method in class org.robolectric.shadows.ShadowContextImpl
 
getExternalFilesDirs(String) - Method in class org.robolectric.shadows.ShadowContextImpl
 
getExternalStorageDirectory() - Static method in class org.robolectric.shadows.ShadowEnvironment
 
getExternalStoragePublicDirectory(String) - Static method in class org.robolectric.shadows.ShadowEnvironment
 
getExternalStorageState() - Static method in class org.robolectric.shadows.ShadowEnvironment
 
getExternalStorageState(File) - Static method in class org.robolectric.shadows.ShadowEnvironment
 
getExtras() - Method in class org.robolectric.fakes.BaseCursor
 
getExtras() - Method in class org.robolectric.fakes.RoboCursor
 
getExtras() - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getExtraShadows(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
 
getExtraShadows(FrameworkMethod) - Method in class org.robolectric.RobolectricTestRunner
 
getExtraShadowTypes() - Method in class org.robolectric.annotation.processing.RobolectricModel
 
getFadingEdgeLength() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
 
getFakeHttpLayer() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
 
getFakeSurfaceHolder() - Method in class org.robolectric.shadows.ShadowSurfaceView
 
getFamilyName() - Method in class org.robolectric.shadows.ShadowTypeface.FontDesc
 
getFantasyFontFamily() - Method in class org.robolectric.fakes.RoboWebSettings
 
getFd() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
getFeature(String) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getFetchUuidsWithSdpCount() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
Returns the number of times fetchUuidsWithSdp has been called.
getField(Object, String) - Static method in class org.robolectric.util.ReflectionHelpers
Reflectively get the value of a field.
getFields() - Method in class org.robolectric.internal.bytecode.MutableClass
 
getFields() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
 
getFile() - Method in class org.robolectric.res.android.Asset
 
getFileCount() - Method in class org.robolectric.res.android.AssetDir
 
getFileDescriptor() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
 
getFileName() - Method in class org.robolectric.res.android.Asset
 
getFileName(int) - Method in class org.robolectric.res.android.AssetDir
 
getFillEventHistory() - Method in class org.robolectric.shadows.ShadowAutofillManager
 
getFillType() - Method in class org.robolectric.shadows.ShadowPath
 
getFilters() - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
getFinalX() - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
getFinalX() - Method in class org.robolectric.shadows.ShadowScroller
 
getFinalY() - Method in class org.robolectric.shadows.ShadowLegacyOverScroller
 
getFinalY() - Method in class org.robolectric.shadows.ShadowScroller
 
getFingerprintId(int) - Method in class org.robolectric.shadows.ShadowFingerprintManager
 
getFirstHeader(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
getFirstHeader(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
getFixedFontFamily() - Method in class org.robolectric.fakes.RoboWebSettings
 
getFlag(int) - Method in class org.robolectric.shadows.ShadowWindow
 
getFlags() - Method in class org.robolectric.shadows.ShadowPaint
 
getFlags() - Method in class org.robolectric.shadows.ShadowPendingIntent
 
getFlashMode() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
 
getFloat(int) - Method in class org.robolectric.fakes.BaseCursor
 
getFloat(int) - Method in class org.robolectric.fakes.RoboCursor
 
getFloat(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getFloat(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
 
getFloat(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
 
getFloat(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
 
getFloat(ContentResolver, String, float) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
 
getFloat(ContentResolver, String, float) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
 
getFloat(ContentResolver, String, float) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
 
getFocusMode() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
 
getFocusX() - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
 
getFocusY() - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
 
getFontDescription() - Method in class org.robolectric.shadows.ShadowTypeface
Returns the font description.
getFontMetricsInt(Paint.FontMetricsInt) - Method in class org.robolectric.shadows.ShadowPaint
 
getFontScale() - Method in class org.robolectric.shadows.ShadowCaptioningManager
Returns 1.0 as default or the most recent value passed to #setFontScale()
getFontSync(FontRequest) - Static method in class org.robolectric.shadows.ShadowFontsContract
Returns a stub typeface immediately.
getFooterViews() - Method in class org.robolectric.shadows.ShadowListView
 
getForegroundService(Context, int, Intent, int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
 
getForegroundThreadScheduler() - Static method in class org.robolectric.Robolectric
Return the foreground scheduler (e.g.
getForegroundThreadScheduler() - Method in class org.robolectric.shadows.ShadowApplication
Return the foreground scheduler.
getFormat() - Method in class org.robolectric.res.AttrData
 
getFrameAtTime(long, int) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
 
getFrameInterval() - Static method in class org.robolectric.shadows.ShadowChoreographer
Return the current inter-frame interval.
getFrameInterval() - Static method in class org.robolectric.shadows.ShadowLegacyChoreographer
Return the current inter-frame interval.
getFrameTimeNanos() - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
 
getFreeBlocks() - Method in class org.robolectric.shadows.ShadowStatFs
 
getFreeBlocksLong() - Method in class org.robolectric.shadows.ShadowStatFs
 
getFreeBytes() - Method in class org.robolectric.shadows.ShadowStatFs
 
getFromLocation(double, double, int) - Method in class org.robolectric.shadows.ShadowGeocoder
Returns an empty list by default, or the last value set by ShadowGeocoder.setFromLocation(List)
getFullyQualifiedName() - Method in class org.robolectric.res.ResName
 
getFuture() - Method in class org.robolectric.shadows.ShadowBroadcastPendingResult
 
getGenerationId() - Method in class org.robolectric.shadows.ShadowBitmap
 
getGeolocationDatabasePath() - Method in class org.robolectric.fakes.RoboWebSettings
 
getGeolocationEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
 
getGlobalActionKeyTimeout() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
 
getGlobalActionsPerformed() - Method in class org.robolectric.shadows.ShadowAccessibilityService
 
getGlobalAssetCount() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
 
getGlobalAssetCount() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
 
getGlobalAssetManagerCount() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
 
getGlobalAssetManagerCount() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
 
getGlobalCount() - Static method in class org.robolectric.res.android.Asset
 
getGlobalCount() - Static method in class org.robolectric.res.android.CppAssetManager
 
getGlobalVisibleRect(Rect, Point) - Method in class org.robolectric.shadows.ShadowView
 
getGoBackInvocations() - Method in class org.robolectric.shadows.ShadowWebView
 
getGrantUriPermissions() - Method in class org.robolectric.manifest.ContentProviderData
 
getGravity() - Method in class org.robolectric.shadows.ShadowLinearLayout
 
getGravity() - Method in class org.robolectric.shadows.ShadowToast
 
getGroupId() - Method in class org.robolectric.fakes.RoboMenuItem
 
getGroupId() - Method in class org.robolectric.internal.dependency.DependencyJar
 
getGroupIdLevel1() - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getGroupInfoListener() - Method in class org.robolectric.shadows.ShadowWifiP2pManager
 
getHandler() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Retrieves the Handler object used by this ShadowMediaPlayer.
getHead() - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
 
getHead() - Method in class org.robolectric.shadows.ShadowMessageQueue
Retrieves the current Message at the top of the queue.
getHead() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
 
getHeader(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
 
getHeaders(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
getHeaders(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
getHeaderViews() - Method in class org.robolectric.shadows.ShadowListView
 
getHeight() - Method in class org.robolectric.shadows.RoundRectangle
 
getHeight() - Method in class org.robolectric.shadows.ShadowBitmap
 
getHeight() - Method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
 
getHeight() - Method in class org.robolectric.shadows.ShadowCanvas
 
getHeight() - Method in class org.robolectric.shadows.ShadowPicture
 
getHelperTestRunner(Class) - Method in class org.robolectric.internal.SandboxTestRunner
 
getHelperTestRunner(Class) - Method in class org.robolectric.RobolectricTestRunner
 
getHitCount() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
 
getHolder() - Method in class org.robolectric.shadows.ShadowSurfaceView
 
getHomeActivities(List<ResolveInfo>) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getHost() - Method in class org.robolectric.manifest.IntentFilterData.DataAuthority
 
getHost() - Method in class org.robolectric.shadows.ShadowAppWidgetHostView
 
getHostId() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
 
getHostname() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
 
getHourOfDay() - Method in class org.robolectric.shadows.ShadowTimePickerDialog
 
getHttpContext() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
 
getHttpHost() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
 
getHttpParams() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getHttpProcessor() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getHttpRequest() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
 
getHttpRequestExecutor() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getHttpRequestRetryHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
This method return a list containing all the HTTP responses logged by the fake http layer, be it mocked http responses, be it real http calls (if {code}interceptHttpRequests{/code} is set to false).
getHttpResposeContentList() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
getHttpRoutePlanner() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
 
getIcon() - Method in class org.robolectric.fakes.RoboMenuItem
 
getIconId() - Method in class org.robolectric.shadows.ShadowAlertController
 
getIconId() - Method in class org.robolectric.shadows.ShadowAlertDialog
 
getIconMaxHeight() - Method in class org.robolectric.shadows.ShadowShortcutManager
 
getIconMaxWidth() - Method in class org.robolectric.shadows.ShadowShortcutManager
 
getId() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
 
getId() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
 
getIdAttribute() - Method in class org.robolectric.android.XmlResourceParserImpl
 
getIdAttributeResourceValue(int) - Method in class org.robolectric.android.XmlResourceParserImpl
 
getIdentifier(String, String, String) - Method in class org.robolectric.android.AttributeSetBuilderImpl.ArscResourceResolver
 
getIdentifier(String, String, String) - Method in class org.robolectric.android.AttributeSetBuilderImpl.LegacyResourceResolver
 
getIdentifier(String, String, String) - Method in interface org.robolectric.android.AttributeSetBuilderImpl.ResourceResolver
 
getIdleState() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
getIdleState() - Method in class org.robolectric.util.Scheduler
Retrieves the current idling state of this Scheduler.
getIds() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowQuery
 
getImageSizeFromStream(InputStream) - Static method in class org.robolectric.shadows.ImageUtil
 
getImei() - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getImei(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
 
getImpl() - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
 
getImpl() - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
 
getImplementedClass(AnnotationMirror) - Method in class org.robolectric.annotation.processing.Helpers
 
getImplementsMirror(Element, Types, TypeElement) - Static method in class org.robolectric.annotation.processing.Helpers
 
getImports() - Method in class org.robolectric.annotation.processing.RobolectricModel
 
getIncludedResourcePaths() - Method in class org.robolectric.manifest.AndroidManifest
 
getIndeterminateProgressBar() - Method in class org.robolectric.shadows.ShadowWindow
 
getIndicatorAsView() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
 
getIndicatorIcon() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
 
getIndicatorLabel() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
 
getInfoListener() - Method in class org.robolectric.shadows.ShadowMediaRecorder
 
getInputEncoding() - Method in class org.robolectric.android.XmlResourceParserImpl
 
getInputStream() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
 
getInputStream() - Method in class org.robolectric.shadows.ShadowDrawable
 
getInputStream(Path) - Static method in class org.robolectric.res.Fs
 
getInputStreamFeeder() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
Returns PipedOutputStream that controls input stream of the BluetoothSocket.
getInputType() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getInsertStatements() - Method in class org.robolectric.shadows.ShadowContentResolver
getInstalled() - Static method in class org.robolectric.shadows.ShadowHttpResponseCache
 
getInstalledAccessibilityServiceList() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
 
getInstalledApplications(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getInstalledPackages(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getInstalledPackagesAsUser(int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getInstalledProviders() - Method in class org.robolectric.shadows.ShadowAppWidgetManager
 
getInstallerPackageName(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getInstance() - Static method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
 
getInstance() - Static method in class org.robolectric.shadows.ShadowApplication
Deprecated.
Use shadowOf(androidx.test.core.app.ApplicationProvider#getApplicationContext) instead.
getInstance() - Static method in class org.robolectric.shadows.ShadowCookieManager
 
getInstance() - Static method in class org.robolectric.shadows.ShadowCookieSyncManager
 
getInstance() - Static method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
 
getInstance() - Static method in class org.robolectric.shadows.ShadowLegacyChoreographer
 
getInstance() - Static method in class org.robolectric.shadows.ShadowLinkMovementMethod
 
getInstance() - Static method in class org.robolectric.shadows.ShadowTimeZoneFinder
 
getInstance() - Static method in class org.robolectric.shadows.ShadowTimeZoneFinderQ
 
getInstance() - Static method in class org.robolectric.shadows.ShadowWebStorage
 
getInstance() - Static method in class org.robolectric.util.PerfStatsCollector
 
getInstance(Context) - Static method in class org.robolectric.shadows.ShadowAccessibilityManager
 
getInstance(Context) - Static method in class org.robolectric.shadows.ShadowWallpaperManager
 
getInstance(Context) - Static method in class org.robolectric.shadows.ShadowWebViewDatabase
 
getInstance(Context) - Static method in class org.robolectric.shadows.support.v4.ShadowLocalBroadcastManager
 
getInstance(Class<T>) - Method in class org.robolectric.util.inject.Injector
Finds an instance for the given class.
getInstrumentation() - Static method in class org.robolectric.shadows.ShadowInstrumentation
 
getInstrumentationInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getInstrumentedPackages() - Method in class org.robolectric.internal.bytecode.ShadowProviders
 
getInt(int) - Method in class org.robolectric.fakes.BaseCursor
 
getInt(int) - Method in class org.robolectric.fakes.RoboCursor
 
getInt(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
 
getInt(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
 
getInt(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
 
getInt(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
 
getInt(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
 
getInt(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
 
getInt(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
 
getIntent() - Method in class org.robolectric.android.controller.ComponentController
 
getIntent() - Method in class org.robolectric.fakes.RoboMenuItem
 
getIntent() - Method in class org.robolectric.shadows.ShadowNfcAdapter
 
getIntentClass() - Method in class org.robolectric.shadows.ShadowIntent
Returns the Class object set by Intent.setClass(android.content.Context, Class)
getIntentFilter() - Method in class org.robolectric.shadows.ShadowApplication.Wrapper
 
getIntentFilters() - Method in class org.robolectric.manifest.ActivityData
Get the intent filters defined for activity.
getIntentFilters() - Method in class org.robolectric.manifest.BroadcastReceiverData
Get the intent filters defined for the broadcast receiver.
getIntentFilters() - Method in class org.robolectric.manifest.ServiceData
Get the intent filters defined for the service.
getIntentFiltersForActivity(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Get list of intent filters defined for given activity.
getIntentFiltersForProvider(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Get list of intent filters defined for given provider.
getIntentFiltersForReceiver(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Get list of intent filters defined for given receiver.
getIntentFiltersForService(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
Get list of intent filters defined for given service.
getIntentFilterVerifications(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getIntentForActivity(Class<? extends Activity>) - Method in class org.robolectric.android.internal.LocalActivityInvoker
 
getIntentRedelivery() - Method in class org.robolectric.shadows.ShadowIntentService
 
getIntentSender() - Method in class org.robolectric.shadows.ShadowPendingIntent
 
getIntentVerificationStatusAsUser(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getInterceptedTouchEvent() - Method in class org.robolectric.shadows.ShadowViewGroup
 
getInterceptionHandler(MethodSignature) - Method in class org.robolectric.internal.bytecode.Interceptors
 
getInterceptors() - Method in class org.robolectric.internal.SandboxTestRunner
 
getInternalMutablePackageInfo(String) - Method in class org.robolectric.shadows.ShadowPackageManager
Testing API allowing to retrieve internal package representation.
getInternalRClass() - Method in class org.robolectric.res.ResourcePath
 
getInternalResourceId(String) - Static method in class org.robolectric.shadows.ResourceHelper
 
getIntProperty(int) - Method in class org.robolectric.shadows.ShadowBatteryManager
 
getIntrinsicHeight() - Method in class org.robolectric.shadows.ShadowDrawable
 
getIntrinsicWidth() - Method in class org.robolectric.shadows.ShadowDrawable
 
getInvalidatedClasses(ShadowMap) - Method in class org.robolectric.internal.bytecode.ShadowMap
 
getInvalidStateBehavior() - Method in class org.robolectric.shadows.ShadowMediaPlayer
Retrieves current flag specifying the behavior of the media player when a method is invoked in an invalid state.
getIsJobFinished() - Method in class org.robolectric.shadows.ShadowJobService
Returns whether the job has finished running.
getIsRescheduleNeeded() - Method in class org.robolectric.shadows.ShadowJobService
Returns whether the job needs to be rescheduled.
getIsSyncable(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
 
getItem() - Method in class org.robolectric.fakes.RoboSubMenu
 
getItem(int) - Method in class org.robolectric.fakes.RoboMenu
 
getItem(String, MediaBrowserCompat.ItemCallback) - Method in class org.robolectric.shadows.support.v4.ShadowMediaBrowserCompat
 
getItemId() - Method in class org.robolectric.fakes.RoboMenuItem
 
getItems() - Method in class org.robolectric.shadows.ShadowAlertDialog
 
getItems(TypedResource) - Method in class org.robolectric.shadows.Converter.FromArray
 
getItems(TypedResource) - Method in class org.robolectric.shadows.Converter
 
getItemSelectedListener() - Method in class org.robolectric.shadows.ShadowAdapterView
 
getJarPath() - Method in class org.robolectric.pluginapi.Sdk
Returns the path to jar for this SDK.
getJarPath() - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
 
getJavaScriptCanOpenWindowsAutomatically() - Method in class org.robolectric.fakes.RoboWebSettings
 
getJavaScriptEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
 
getJavascriptInterface(String) - Method in class org.robolectric.shadows.ShadowWebView
 
getJavaVersion() - Static method in class org.robolectric.util.Util
Returns the Java version as an int value.
getJoin() - Method in class org.robolectric.shadows.ShadowPaint
 
getJulianDay(long, long) - Static method in class org.robolectric.shadows.ShadowTime
 
getJumpTapTimeout() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
 
getKeyboardType() - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
 
getKeyguardDisabledFeatures(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
 
getKeySetByAlias(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
 
getKnownSdks() - Method in class org.robolectric.plugins.SdkCollection
 
getLabel() - Method in class org.robolectric.manifest.ActivityData
 
getLabel() - Method in class org.robolectric.manifest.PermissionGroupItemData
 
getLabel() - Method in class org.robolectric.manifest.PermissionItemData
 
getLabel() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
 
getLabeledBy() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getLabelFor() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
 
getLabelRef() - Method in class org.robolectric.manifest.AndroidManifest
 
getLastAbandonedAudioFocusListener() - Method in class org.robolectric.shadows.ShadowAudioManager
 
getLastAbandonedAudioFocusRequest() - Method in class org.robolectric.shadows.ShadowAudioManager
 
getLastActiveDetector() - Static method in class org.robolectric.shadows.ShadowGestureDetector
 
getLastAdditionalHttpHeaders() - Method in class org.robolectric.shadows.ShadowWebView
 
getLastAudioFocusRequest() - Method in class org.robolectric.shadows.ShadowAudioManager
 
getLastBestProviderCriteria() - Method in class org.robolectric.shadows.ShadowLocationManager
Gets the criteria value used in the last call to ShadowLocationManager.getBestProvider(android.location.Criteria, boolean).
getLastBestProviderEnabledOnly() - Method in class org.robolectric.shadows.ShadowLocationManager
getLastDrawnRect() - Method in class org.robolectric.shadows.ShadowCanvas
 
getLastEnabledNetwork() - Method in class org.robolectric.shadows.ShadowWifiManager
 
getLastEvaluatedJavascript() - Method in class org.robolectric.shadows.ShadowWebView
 
getLastForegroundNotification() - Method in class org.robolectric.shadows.ShadowService
 
getLastForegroundNotificationId() - Method in class org.robolectric.shadows.ShadowService
 
getLastHeader(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
 
getLastHeader(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
 
getLastHttpResponse() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
Helper method that returns the latest received response from the server.
getLastIntentSenderRequest() - Method in class org.robolectric.shadows.ShadowActivity
Gets the last startIntentSenderForResult request made to this activity.
getLastKnownLocation(String) - Method in class org.robolectric.shadows.ShadowLocationManager
 
getLastLoadData() - Method in class org.robolectric.shadows.ShadowWebView
 
getLastLoadDataWithBaseURL() - Method in class org.robolectric.shadows.ShadowWebView
 
getLastLoadedUrl() - Method in class org.robolectric.shadows.ShadowWebView
 
getLastMessageSent() - Static method in class org.robolectric.shadows.ShadowMessenger
Returns the last Message sent, or null if there isn’t any message sent.
getLastNonConfigurationInstance() - Method in class org.robolectric.shadows.ShadowActivity
 
getLastOpenedCameraId() - Static method in class org.robolectric.shadows.ShadowCamera
 
getLastRequestedPermission() - Method in class org.robolectric.shadows.ShadowActivity
Gets the last permission request submitted to this activity.
getLastScheduledTaskTime() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
 
getLastScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowLegacyLooper
 
getLastScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowLooper
 
getLastScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowPausedLooper
 
getLastScheduledTaskTime() - Method in class org.robolectric.util.Scheduler
 
getLastSentDataMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
 
getLastSentHttpRequestInfo() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
 
getLastSentMultipartTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
 
getLastSentTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
 
getLastSetColor() - Method in class org.robolectric.shadows.ShadowGradientDrawable
Returns the color of this drawable as set by the last call to ShadowGradientDrawable.setColor(int color).
getLastSetPassword() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
getLastShownDialogId() - Method in class org.robolectric.shadows.ShadowActivity
 
getLastSmoothScrollByDistance() - Method in class org.robolectric.shadows.ShadowAbsListView
Robolectric accessor for the last smoothScrollBy distance
getLastSmoothScrollByDuration() - Method in class org.robolectric.shadows.ShadowAbsListView
Robolectric accessor for the last smoothScrollBy duration
getLastSpokenText() - Method in class org.robolectric.shadows.ShadowTextToSpeech
 
getLastTouchEvent() - Method in class org.robolectric.shadows.ShadowView
 
getLatestAlertDialog() - Static method in class org.robolectric.shadows.ShadowAlertDialog
 
getLatestAlertDialog() - Method in class org.robolectric.shadows.ShadowApplication
getLatestDialog() - Method in class org.robolectric.shadows.ShadowApplication
Deprecated.
getLatestDialog() - Static method in class org.robolectric.shadows.ShadowDialog
 
getLatestListPopupWindow() - Method in class org.robolectric.shadows.ShadowApplication
 
getLatestListPopupWindow() - Static method in class org.robolectric.shadows.ShadowListPop