Index
$ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
$
- $$robo$getData() - Method in interface org.robolectric.internal.bytecode.ShadowedObject
A
- abandon() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- abandonAudioFocus(AudioManager.OnAudioFocusChangeListener) - Method in class org.robolectric.shadows.ShadowAudioManager
- abandonAudioFocusRequest(AudioFocusRequest) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Provides a mock like interface for the abandonAudioFocusRequest method by storing the request object for later inspection and returning the value specified in setNextFocusRequestResponse.
- abandonSession(int) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- abortBroadcast() - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- abortCreation() - Method in class org.robolectric.shadows.ShadowFontFamily
- accept(int) - Method in class org.robolectric.shadows.ShadowBluetoothServerSocket
-
May block the current thread and wait until
BluetoothDevice
is offered viaShadowBluetoothServerSocket.deviceConnected(BluetoothDevice)
method or timeout occurred. - accept(T) - Method in interface org.robolectric.util.Consumer
-
Performs this operation on the given argument.
- acceptCookie() - Method in class android.webkit.RoboCookieManager
- acceptRingingCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- acceptThirdPartyCookies(WebView) - Method in class android.webkit.RoboCookieManager
- ACCESS_BUFFER - org.robolectric.res.android.Asset.AccessMode
- ACCESS_RANDOM - org.robolectric.res.android.Asset.AccessMode
- ACCESS_STREAMING - org.robolectric.res.android.Asset.AccessMode
- ACCESS_UNKNOWN - org.robolectric.res.android.Asset.AccessMode
- Accessor - Annotation Type in org.robolectric.util.reflector
-
Indicates that the annotated method is an accessor for a non-visible field.
- AConfiguration - Class in org.robolectric.res.android
- AConfiguration() - Constructor for class org.robolectric.res.android.AConfiguration
- ACONFIGURATION_COLOR_MODE - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for wide color gamut and HDR configurations.
- ACONFIGURATION_DENSITY - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for density configuration.
- ACONFIGURATION_DENSITY_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: any density.
- ACONFIGURATION_DENSITY_DEFAULT - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: default density.
- ACONFIGURATION_DENSITY_HIGH - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: value corresponding to the hdpi resource qualifier.
- ACONFIGURATION_DENSITY_LOW - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: value corresponding to the ldpi resource qualifier.
- ACONFIGURATION_DENSITY_MEDIUM - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: value corresponding to the mdpi resource qualifier.
- ACONFIGURATION_DENSITY_NONE - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: no density specified.
- ACONFIGURATION_DENSITY_TV - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: value corresponding to the tvdpi resource qualifier.
- ACONFIGURATION_DENSITY_XHIGH - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: value corresponding to the xhdpi resource qualifier.
- ACONFIGURATION_DENSITY_XXHIGH - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: value corresponding to the xxhdpi resource qualifier.
- ACONFIGURATION_DENSITY_XXXHIGH - Static variable in class org.robolectric.res.android.AConfiguration
-
Density: value corresponding to the xxxhdpi resource qualifier.
- ACONFIGURATION_HDR_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
HDR: not specified.
- ACONFIGURATION_HDR_NO - Static variable in class org.robolectric.res.android.AConfiguration
-
HDR: value that corresponds to lowdr resource qualifier specified.
- ACONFIGURATION_HDR_YES - Static variable in class org.robolectric.res.android.AConfiguration
-
HDR: value that corresponds to highdr resource qualifier specified.
- ACONFIGURATION_KEYBOARD - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for keyboard configuration.
- ACONFIGURATION_KEYBOARD_12KEY - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard: value corresponding to the 12key resource qualifier.
- ACONFIGURATION_KEYBOARD_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard: not specified.
- ACONFIGURATION_KEYBOARD_HIDDEN - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for keyboardHidden configuration.
- ACONFIGURATION_KEYBOARD_NOKEYS - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard: value corresponding to the nokeys resource qualifier.
- ACONFIGURATION_KEYBOARD_QWERTY - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard: value corresponding to the qwerty resource qualifier.
- ACONFIGURATION_KEYSHIDDEN_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard availability: not specified.
- ACONFIGURATION_KEYSHIDDEN_NO - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard availability: value corresponding to the keysexposed resource qualifier.
- ACONFIGURATION_KEYSHIDDEN_SOFT - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard availability: value corresponding to the keyssoft resource qualifier.
- ACONFIGURATION_KEYSHIDDEN_YES - Static variable in class org.robolectric.res.android.AConfiguration
-
Keyboard availability: value corresponding to the keyshidden resource qualifier.
- ACONFIGURATION_LAYOUTDIR - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for layout direction configuration.
- ACONFIGURATION_LAYOUTDIR_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Layout direction: not specified.
- ACONFIGURATION_LAYOUTDIR_LTR - Static variable in class org.robolectric.res.android.AConfiguration
-
Layout direction: value that corresponds to ldltr resource qualifier specified.
- ACONFIGURATION_LAYOUTDIR_RTL - Static variable in class org.robolectric.res.android.AConfiguration
-
Layout direction: value that corresponds to ldrtl resource qualifier specified.
- ACONFIGURATION_LOCALE - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for locale configuration.
- ACONFIGURATION_MCC - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for mcc configuration.
- ACONFIGURATION_MNC - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for mnc configuration.
- ACONFIGURATION_MNC_ZERO - Static variable in class org.robolectric.res.android.AConfiguration
-
Constant used to to represent MNC (Mobile Network Code) zero.
- ACONFIGURATION_NAVHIDDEN_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation availability: not specified.
- ACONFIGURATION_NAVHIDDEN_NO - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation availability: value corresponding to the navexposed resource qualifier.
- ACONFIGURATION_NAVHIDDEN_YES - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation availability: value corresponding to the navhidden resource qualifier.
- ACONFIGURATION_NAVIGATION - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for navigation configuration.
- ACONFIGURATION_NAVIGATION_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation: not specified.
- ACONFIGURATION_NAVIGATION_DPAD - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation: value corresponding to the dpad resource qualifier.
- ACONFIGURATION_NAVIGATION_NONAV - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation: value corresponding to the nonav resource qualifier.
- ACONFIGURATION_NAVIGATION_TRACKBALL - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation: value corresponding to the trackball resource qualifier.
- ACONFIGURATION_NAVIGATION_WHEEL - Static variable in class org.robolectric.res.android.AConfiguration
-
Navigation: value corresponding to the wheel resource qualifier.
- ACONFIGURATION_ORIENTATION - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for orientation configuration.
- ACONFIGURATION_ORIENTATION_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Orientation: not specified.
- ACONFIGURATION_ORIENTATION_LAND - Static variable in class org.robolectric.res.android.AConfiguration
-
Orientation: value corresponding to the land resource qualifier.
- ACONFIGURATION_ORIENTATION_PORT - Static variable in class org.robolectric.res.android.AConfiguration
-
Orientation: value corresponding to the port resource qualifier.
- ACONFIGURATION_ORIENTATION_SQUARE - Static variable in class org.robolectric.res.android.AConfiguration
-
Deprecated.Not currently supported or used.
- ACONFIGURATION_SCREEN_HEIGHT_DP_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen height DPI: not specified.
- ACONFIGURATION_SCREEN_LAYOUT - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for screen layout configuration.
- ACONFIGURATION_SCREEN_ROUND - Static variable in class org.robolectric.res.android.AConfiguration
- ACONFIGURATION_SCREEN_SIZE - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for screen size configuration.
- ACONFIGURATION_SCREEN_WIDTH_DP_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen width DPI: not specified.
- ACONFIGURATION_SCREENLONG_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen layout: not specified.
- ACONFIGURATION_SCREENLONG_NO - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen layout: value that corresponds to the notlong resource qualifier.
- ACONFIGURATION_SCREENLONG_YES - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen layout: value that corresponds to the long resource qualifier.
- ACONFIGURATION_SCREENROUND_ANY - Static variable in class org.robolectric.res.android.AConfiguration
- ACONFIGURATION_SCREENROUND_NO - Static variable in class org.robolectric.res.android.AConfiguration
- ACONFIGURATION_SCREENROUND_YES - Static variable in class org.robolectric.res.android.AConfiguration
- ACONFIGURATION_SCREENSIZE_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen size: not specified.
- ACONFIGURATION_SCREENSIZE_LARGE - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen size: value indicating the screen is at least approximately 480x640 dp units, corresponding to the large resource qualifier.
- ACONFIGURATION_SCREENSIZE_NORMAL - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen size: value indicating the screen is at least approximately 320x470 dp units, corresponding to the normal resource qualifier.
- ACONFIGURATION_SCREENSIZE_SMALL - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen size: value indicating the screen is at least approximately 320x426 dp units, corresponding to the small resource qualifier.
- ACONFIGURATION_SCREENSIZE_XLARGE - Static variable in class org.robolectric.res.android.AConfiguration
-
Screen size: value indicating the screen is at least approximately 720x960 dp units, corresponding to the xlarge resource qualifier.
- ACONFIGURATION_SMALLEST_SCREEN_SIZE - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for smallest screen width configuration.
- ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Smallest screen width DPI: not specified.
- ACONFIGURATION_TOUCHSCREEN - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for touchscreen configuration.
- ACONFIGURATION_TOUCHSCREEN_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Touchscreen: not specified.
- ACONFIGURATION_TOUCHSCREEN_FINGER - Static variable in class org.robolectric.res.android.AConfiguration
-
Touchscreen: value corresponding to the finger resource qualifier.
- ACONFIGURATION_TOUCHSCREEN_NOTOUCH - Static variable in class org.robolectric.res.android.AConfiguration
-
Touchscreen: value corresponding to the notouch resource qualifier.
- ACONFIGURATION_TOUCHSCREEN_STYLUS - Static variable in class org.robolectric.res.android.AConfiguration
-
Deprecated.Not currently supported or used.
- ACONFIGURATION_UI_MODE - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for ui mode configuration.
- ACONFIGURATION_UI_MODE_NIGHT_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
UI night mode: not specified.
- ACONFIGURATION_UI_MODE_NIGHT_NO - Static variable in class org.robolectric.res.android.AConfiguration
-
UI night mode: value that corresponds to notnight resource qualifier specified.
- ACONFIGURATION_UI_MODE_NIGHT_YES - Static variable in class org.robolectric.res.android.AConfiguration
-
UI night mode: value that corresponds to night resource qualifier specified.
- ACONFIGURATION_UI_MODE_TYPE_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: not specified.
- ACONFIGURATION_UI_MODE_TYPE_APPLIANCE - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: value that corresponds to appliance resource qualifier specified.
- ACONFIGURATION_UI_MODE_TYPE_CAR - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: value that corresponds to car resource qualifier specified.
- ACONFIGURATION_UI_MODE_TYPE_DESK - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: value that corresponds to desk resource qualifier specified.
- ACONFIGURATION_UI_MODE_TYPE_NORMAL - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: value that corresponds to no UI mode type resource qualifier specified.
- ACONFIGURATION_UI_MODE_TYPE_TELEVISION - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: value that corresponds to television resource qualifier specified.
- ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: value that corresponds to vr resource qualifier specified.
- ACONFIGURATION_UI_MODE_TYPE_WATCH - Static variable in class org.robolectric.res.android.AConfiguration
-
UI mode: value that corresponds to watch resource qualifier specified.
- ACONFIGURATION_VERSION - Static variable in class org.robolectric.res.android.AConfiguration
-
Bit mask for platform version configuration.
- ACONFIGURATION_WIDE_COLOR_GAMUT_ANY - Static variable in class org.robolectric.res.android.AConfiguration
-
Wide color gamut: not specified.
- ACONFIGURATION_WIDE_COLOR_GAMUT_NO - Static variable in class org.robolectric.res.android.AConfiguration
-
Wide color gamut: value that corresponds to no nowidecg resource qualifier specified.
- ACONFIGURATION_WIDE_COLOR_GAMUT_YES - Static variable in class org.robolectric.res.android.AConfiguration
-
Wide color gamut: value that corresponds to widecg resource qualifier specified.
- acquire() - Method in class org.robolectric.shadows.ShadowPowerManager.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
- action - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord
- activateResetToken(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Activates reset token for given admin.
- ActivityController<T extends Activity> - Class in org.robolectric.android.controller
-
ActivityController provides low-level APIs to control activity's lifecycle.
- ActivityData - Class in org.robolectric.manifest
- ActivityData(String, Map<String, String>, List<IntentFilterData>) - Constructor for class org.robolectric.manifest.ActivityData
- ActivityData(String, Map<String, String>, List<IntentFilterData>, ActivityData, MetaData) - Constructor for class org.robolectric.manifest.ActivityData
- ActivityData(Map<String, String>, List<IntentFilterData>) - Constructor for class org.robolectric.manifest.ActivityData
- activityThreadReflector - Variable in class org.robolectric.shadows.ShadowActivityThread
- actualIsPublic() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- add(int) - Method in class org.robolectric.fakes.RoboMenu
- add(int, int, int, int) - Method in class org.robolectric.fakes.RoboMenu
- add(int, int, int, CharSequence) - Method in class org.robolectric.fakes.RoboMenu
- add(CharSequence) - Method in class org.robolectric.fakes.RoboMenu
- add(T) - Method in class org.robolectric.res.android.SortedVector
- addAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- addAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener, Handler) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- addAccount(Account) - Method in class org.robolectric.shadows.ShadowAccountManager
- addAccount(Account, String...) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Adds an account to the AccountManager but when
AccountManager.getAccountsByTypeForPackage(String, String)
is called will be included if is in one of the #visibleToPackages - addAccount(String, String, String[], Bundle, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
- addAccountExplicitly(Account, String, Bundle) - Method in class org.robolectric.shadows.ShadowAccountManager
- addAction(String) - Method in class org.robolectric.manifest.BroadcastReceiverData
- addAction(String) - Method in class org.robolectric.manifest.ServiceData
- addActiveNotification(StatusBarNotification) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Adds the given
StatusBarNotification
to the list of active Notifications. - addActiveNotification(String, int, Notification) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Adds the given
Notification
to the list of active Notifications. - addActivity(UserHandle, LauncherActivityInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Adds a
LauncherActivityInfo
to be retrieved byShadowLauncherApps.getActivityList(String, UserHandle)
. - 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.
- addAllSatellites(Collection<GnssStatusBuilder.GnssSatelliteInfo>) - Method in class org.robolectric.shadows.GnssStatusBuilder
-
Deprecated.Adds a collection of satellites to the
GnssStatus
being built. - addApplicationExitInfo(Object) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Adds given
ApplicationExitInfo
, seeShadowActivityManager.ApplicationExitInfoBuilder
- addApplicationExitInfo(String, int, int, int) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Deprecated.Prefer using overload with
ShadowActivityManager.ApplicationExitInfoBuilder
- addApplicationInfo(UserHandle, String, ApplicationInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Adds a
ApplicationInfo
to be retrieved byShadowLauncherApps.getApplicationInfo(String, int, UserHandle)
. - 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
- addAssociation(AssociationInfo) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- addAssociation(String) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- addAttribute(int, String) - Method in interface org.robolectric.android.AttributeSetBuilder
-
Set an attribute to the given value.
- addAttribute(int, String) - Method in class org.robolectric.android.AttributeSetBuilderImpl
- addAttribute(int, String) - Method in interface org.robolectric.Robolectric.AttributeSetBuilder
-
Deprecated.Set an attribute to the given value.
- addAudioDataListener(ShadowAudioTrack.OnAudioDataWrittenListener) - Static method in class org.robolectric.shadows.ShadowAudioTrack
-
Registers an
ShadowAudioTrack.OnAudioDataWrittenListener
to theShadowAudioTrack
. - 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.
- addAvailableRole(String) - Method in class org.robolectric.shadows.ShadowRoleManager
-
Add a role that will be recognized as available when invoking
RoleManager.isRoleAvailable(String)
. - addAvailableRollbacks(RollbackInfo) - Method in class org.robolectric.shadows.ShadowRollbackManager
- addBinderService(String, Class<? extends IInterface>) - Static method in class org.robolectric.shadows.ShadowServiceManager
- addBinderService(String, Class<? extends IInterface>, boolean) - Static method in class org.robolectric.shadows.ShadowServiceManager
- addBinderService(String, Class<? extends IInterface>, String, boolean) - Static method in class org.robolectric.shadows.ShadowServiceManager
- addBinderService(String, String) - Static method in class org.robolectric.shadows.ShadowServiceManager
- addBluetoothRoute() - Method in class org.robolectric.shadows.ShadowMediaRouter
-
Adds the Bluetooth A2DP route and ensures it's the selected route, simulating connecting a Bluetooth device.
- addBoundWidget(int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- addBroadcastResponseStats(Object) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- addCall(Call) - Method in class org.robolectric.shadows.ShadowInCallService
- addCall(Call) - Method in class org.robolectric.shadows.ShadowPhone
-
Add Call to a collection that returns when getCalls is called.
- addCall(ParcelableCall) - Method in class org.robolectric.shadows.ShadowInCallService
- addCallback(SurfaceHolder.Callback) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- addCallbackBuffer(byte[]) - Method in class org.robolectric.shadows.ShadowCamera
- addCamera(String, CameraCharacteristics) - Method in class org.robolectric.shadows.ShadowCameraManager
-
Adds the given cameraId and characteristics to this shadow.
- addCameraInfo(int, Camera.CameraInfo) - Static method in class org.robolectric.shadows.ShadowCamera
-
Add a mock
Camera.CameraInfo
object to simulate the existence of one or more cameras. - addCanonicalName(String, String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds a canonical package name for a package.
- addCapability(int) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Adds
capability
to the NetworkCapabilities. - 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 particularsequenceNumber
. - 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
- addCodec(MediaCodecInfo) - Static method in class org.robolectric.shadows.ShadowMediaCodecList
-
Add a
MediaCodecInfo
to the list of MediaCodecInfos. - addCompletedDownload(String, String, boolean, String, String, long, boolean) - Method in class org.robolectric.shadows.ShadowDownloadManager
- addCompletedDownload(String, String, boolean, String, String, long, boolean, Uri, Uri) - Method in class org.robolectric.shadows.ShadowDownloadManager
- addConfigurationChangeListener(ShadowResources.OnConfigurationChangeListener) - Method in class org.robolectric.shadows.ShadowResources
-
Add a listener to observe resource configuration changes.
- addConnectedDevice(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
-
Adds the given BluetoothDevice to the shadow's list of "connected devices"
- addController(MediaController) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
-
Adds a
MediaController
that will be returned when callingShadowMediaSessionManager.getActiveSessions(ComponentName)
. - 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
-
Deprecated.
- addData(String, long, byte[]) - Method in class org.robolectric.shadows.ShadowDropBoxManager
-
Adds entry to the DropboxManager with the flag indicating data is text.
- addDecoder(String, ShadowMediaCodec.CodecConfig) - Static method in class org.robolectric.shadows.ShadowMediaCodec
-
Add a fake decoding codec to the Shadow.
- addDefaultAssets(String) - Method in class org.robolectric.res.android.CppAssetManager
- addDefaultAssets(Path) - Method in class org.robolectric.res.android.CppAssetManager
- addDefaultNetworkActiveListener(ConnectivityManager.OnNetworkActiveListener) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- addDevice(int, int, BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothManager
-
Add a remote bluetooth device that will be served by
BluetoothManager.getDevicesMatchingConnectionStates(int, int[])
for the specified profile and states of the profile connection. - addDevice(BluetoothDevice, int) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- addDirectCallConstructor(MutableClass) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- 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
ShadowLauncherApps.getShortcuts(ShortcutQuery, UserHandle)
. - addDynamicShortcuts(List<ShortcutInfo>) - Method in class org.robolectric.shadows.ShadowShortcutManager
- addEffect(AudioEffect.Descriptor) - Static method in class org.robolectric.shadows.ShadowAudioEffect
-
Adds an effect represented by an
AudioEffect.Descriptor
, only to be queried fromShadowAudioEffect.queryEffects()
. - addEnabledPackage(UserHandle, String) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Adds an enabled package to be checked by
ShadowLauncherApps.isPackageEnabled(String, UserHandle)
. - addEncoder(String, ShadowMediaCodec.CodecConfig) - Static method in class org.robolectric.shadows.ShadowMediaCodec
-
Add a fake encoding codec to the Shadow.
- 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.
- 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
- addGlobalPerformClickListener(View.OnClickListener) - Static method in class org.robolectric.shadows.ShadowView
-
Registers an
View.OnClickListener
to theShadowView
. - addGlobalPerformLongClickListener(View.OnLongClickListener) - Static method in class org.robolectric.shadows.ShadowView
-
Registers an
View.OnLongClickListener
to theShadowView
. - 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
- addHeldRole(String) - Method in class org.robolectric.shadows.ShadowRoleManager
-
Add a role that would be held by the calling app when invoking
RoleManager.isRoleHeld(String)
. - addHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
As a consumer of the fake http call, you should never call this method.
- addHttpResponseContent(byte[]) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(String, String) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(String, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(String, String, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(String, String, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(String, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule with a default method of GET.
- addHttpResponseRule(String, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(HttpEntityStub.ResponseRule) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addHttpResponseRule(RequestMatcher, List<? extends HttpResponse>) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(RequestMatcher, List<? extends HttpResponse>) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
Add a response rule.
- addHttpResponseRule(RequestMatcher, HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Adds an HTTP response rule.
- addHttpResponseRule(RequestMatcher, HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addIncomingRfcommConnection(BluetoothDevice, UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Creates an incoming socket connection from the given
BluetoothDevice
to a background Bluetooth server created withBluetoothAdapter.startRfcommServer(String, UUID, PendingIntent)
on the given uuid. - addInputSize(int, Size) - Method in class org.robolectric.shadows.StreamConfigurationMapBuilder
-
Adds an input size to be returned by
StreamConfigurationMap.getInputSizes(int)
for the provided format. - addInstalledProvider(AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- addInstalledProvidersForProfile(UserHandle, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- addInstalledUser(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Adds installed user.
- addInstrumentedClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- addInstrumentedPackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- addIntentFilterForActivity(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Add intent filter for given activity.
- addIntentFilterForProvider(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Add intent filter for given provider.
- addIntentFilterForReceiver(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Add intent filter for given receiver.
- addIntentFilterForService(ComponentName, IntentFilter) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Add intent filter for given service.
- addIntentOptions(int, int, int, ComponentName, Intent[], Intent, int, MenuItem[]) - Method in class org.robolectric.fakes.RoboMenu
- addInterceptedMethod(MethodRef) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- addInterface(String) - Method in class org.robolectric.internal.bytecode.MutableClass
- addJavascriptInterface(Object, String) - Method in class org.robolectric.shadows.ShadowWebView
- addLanguageAvailability(Locale) - Static method in class org.robolectric.shadows.ShadowTextToSpeech
-
Makes
Locale
an available language returned byTextToSpeech.isLanguageAvailable(Locale)
. - addLikelySubtags(String) - Static method in class org.robolectric.shadows.ShadowICU
- addListener(AccessibilityService.MagnificationController.OnMagnificationChangedListener) - Method in class org.robolectric.shadows.ShadowMagnificationController
- addListener(AccessibilityService.MagnificationController.OnMagnificationChangedListener, Handler) - Method in class org.robolectric.shadows.ShadowMagnificationController
- addMediaInfo(DataSource, ShadowMediaPlayer.MediaInfo) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
-
Adds a
ShadowMediaPlayer.MediaInfo
for aDataSource
. - 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
- addNanoApp(ContextHubInfo, int, long, int) - Method in class org.robolectric.shadows.ShadowContextHubManager
-
Adds a nanoApp to the list of nanoApps that are supported by the provided contexthubinfo.
- addNetwork(Network, NetworkInfo) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Adds new
network
to the list of allNetwork
s. - 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
- addNmeaListener(OnNmeaMessageListener, Handler) - Method in class org.robolectric.shadows.ShadowLocationManager
- addNmeaListener(Executor, OnNmeaMessageListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- addOnAccountsUpdatedListener(OnAccountsUpdateListener, Handler, boolean) - Method in class org.robolectric.shadows.ShadowAccountManager
- addOnAccountsUpdatedListener(OnAccountsUpdateListener, Handler, boolean, String[]) - Method in class org.robolectric.shadows.ShadowAccountManager
- addOnActiveSessionsChangedListener(MediaSessionManager.OnActiveSessionsChangedListener, ComponentName) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
- addOnActiveSessionsChangedListener(MediaSessionManager.OnActiveSessionsChangedListener, ComponentName, Handler) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
- addOnAttachStateChangeListener(View.OnAttachStateChangeListener) - Method in class org.robolectric.shadows.ShadowView
- addOnFrameMetricsAvailableListener(Window.OnFrameMetricsAvailableListener, Handler) - Method in class org.robolectric.shadows.ShadowWindow
- addOnLayoutChangeListener(View.OnLayoutChangeListener) - Method in class org.robolectric.shadows.ShadowView
- addOnPermissionsChangeListener(Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- addOnShowModeChangedListener(AccessibilityService.SoftKeyboardController.OnShowModeChangedListener) - Method in class org.robolectric.shadows.ShadowSoftKeyboardController
- addOnShowModeChangedListener(AccessibilityService.SoftKeyboardController.OnShowModeChangedListener, Handler) - Method in class org.robolectric.shadows.ShadowSoftKeyboardController
- addOnSubscriptionsChangedListener(SubscriptionManager.OnSubscriptionsChangedListener) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Adds a listener to a local list of listeners.
- addOnUidImportanceListener(Object, Object) - Method in class org.robolectric.shadows.ShadowActivityManager
- addOnWifiUsabilityStatsListener(Object, Object) - Method in class org.robolectric.shadows.ShadowWifiManager
- addOptionalUpdater(List<PackageSharedLibraryUpdater>, String, Supplier<PackageSharedLibraryUpdater>) - Static method in class org.robolectric.shadows.ShadowPackageBackwardCompatibility
-
Stubbing this out as if Android S+ is on the classpath, we'll get a ClassCastException instead of a ClassNotFoundException.
- addOrUpdateActivity(ActivityInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds or updates given activity in the system.
- addOrUpdateProvider(ProviderInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds or updates given content provider in the system.
- addOrUpdateReceiver(ActivityInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds or updates given broadcast receiver in the system.
- addOrUpdateService(ServiceInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds or updates given service in the system.
- addOrUpdateUsbDevice(UsbDevice, boolean) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Adds a USB device into available USB devices map with permission value.
- addOutputSize(int, Size) - Method in class org.robolectric.shadows.StreamConfigurationMapBuilder
-
Adds an output size to be returned by
StreamConfigurationMap.getOutputSizes(java.lang.Class<T>)
for the provided format. - addOutputSize(Size) - Method in class org.robolectric.shadows.StreamConfigurationMapBuilder
-
Adds an output size to be returned by
StreamConfigurationMap.getOutputSizes(java.lang.Class<T>)
. - addOval(float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.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
-
Deprecated.Use
ShadowPackageManager.installPackage(PackageInfo)
instead. - 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
- addPendingBackup(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Adds pending backup.
- addPendingHttpResponse(int, String, Header...) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Sets up an HTTP response to be returned by calls to Apache's
HttpClient
implementers. - addPendingHttpResponse(int, String, Header...) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addPendingHttpResponse(HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Sets up an HTTP response to be returned by calls to Apache's
HttpClient
implementers. - addPendingHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addPendingHttpResponse(HttpResponseGenerator) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Sets up an HTTP response to be returned by calls to Apache's
HttpClient
implementers. - addPendingHttpResponse(HttpResponseGenerator) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- addPendingHttpResponseWithContentType(int, String, Header) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Deprecated.
- addPendingRestore(int, int, String) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Adds pending restores.
- addPeriodicSync(Account, String, Bundle, long) - Static method in class org.robolectric.shadows.ShadowContentResolver
- addPermission(PermissionInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- addPermissionAsync(PermissionInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- addPermissionGroupInfo(PermissionGroupInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Allows overriding or adding permission-group elements.
- addPermissionInfo(PermissionInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
- addPermissions(String...) - Method in class org.robolectric.android.internal.LocalPermissionGranter
- addPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- 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 with given ID to UsbManager.
- addPort(String, int, int, boolean) - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
- addPort(String, int, int, int, int) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Adds a USB port with given ID and
UsbPortStatus
parameters to UsbManager for Q+. - addPreferredActivity(IntentFilter, int, ComponentName[], ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- addPreferredActivityInternal(IntentFilter, ComponentName, SortedMap<ComponentName, List<IntentFilter>>) - Static method in class org.robolectric.shadows.ShadowPackageManager
- addPrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener) - Method in class org.robolectric.shadows.ShadowClipboardManager
- addPrivateFlags(int) - Method in class org.robolectric.shadows.ShadowWindow
- addProfile(int, int, String, int) - Method in class org.robolectric.shadows.ShadowUserManager
-
Add a profile to be returned by
ShadowUserManager.getProfiles(int)
.* - addProviderIfNotPresent(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Makes sure that given provider exists.
- addReceiverIfNotPresent(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Makes sure that given receiver exists.
- addRecentlyCommittedRollbacks(RollbackInfo) - Method in class org.robolectric.shadows.ShadowRollbackManager
- addRect(float, float, float, float, Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
- addRect(RectF, Path.Direction) - Method in class org.robolectric.shadows.ShadowPath
- addRemoteAddress(InetSocketAddress) - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- addRemoteAddress(InetSocketAddress) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- addRequestInfo(HttpRequestInfo) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
This method is not supposed to be consumed by tests.
- addResetter(TypeElement, ExecutableElement) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
- addResolveInfoForIntent(Intent, ResolveInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Deprecated.use
ShadowPackageManager.addIntentFilterForComponent(android.content.ComponentName, android.content.IntentFilter, java.util.Map<android.content.ComponentName, java.util.List<android.content.IntentFilter>>)
instead and if the component doesn't exist add it using any ofShadowPackageManager.installPackage(android.content.pm.PackageInfo)
,ShadowPackageManager.addOrUpdateActivity(android.content.pm.ActivityInfo)
,ShadowPackageManager.addActivityIfNotPresent(android.content.ComponentName)
or their counterparts for other types of components. - addResolveInfoForIntent(Intent, List<ResolveInfo>) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Deprecated.
- addResolveInfoForIntentNoDefaults(Intent, ResolveInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Deprecated.see the note on
ShadowPackageManager.addResolveInfoForIntent(Intent, ResolveInfo)
. - address - Variable in class org.robolectric.shadows.ShadowTelecomManager.OutgoingCallRecord
- addressOf(Object) - Method in class org.robolectric.shadows.ShadowVMRuntime
-
Returns a unique identifier of the object instead of a 'native' address.
- addRoundRect(float, float, float, float, float[], Path.Direction) - Method in class org.robolectric.shadows.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
- addSatellite(GnssStatusBuilder.GnssSatelliteInfo) - Method in class org.robolectric.shadows.GnssStatusBuilder
-
Deprecated.Adds a satellite to the
GnssStatus
being built. - addScaledFrame(DataSource, long, int, int, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- addScheme(String) - Method in class org.robolectric.manifest.IntentFilterData
- addScreenWidth(String, int) - Static method in class org.robolectric.res.Qualifiers
-
Deprecated.Use
Configuration.screenWidthDp
instead. - addSensor(int, Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
-
Deprecated.Use
ShadowSensor.newInstance(int)
to construct yourSensor
and add to theSensorManager
usingShadowSensorManager.addSensor(Sensor)
instead. This method will be removed at some point allowing us to use more of the realSensorManager
code. - addSensor(Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
-
Adds a
Sensor
to theSensorManager
- addSensorOrientationMap(long[]) - Method in class org.robolectric.shadows.DeviceStateSensorOrientationBuilder
- addService(String, IBinder) - Static method in class org.robolectric.shadows.ShadowServiceManager
- addServiceIfNotPresent(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Makes sure that given service exists.
- addShadowClasses(Class<?>...) - Method in class org.robolectric.internal.bytecode.ShadowMap.Builder
- addShadowType(TypeElement, TypeElement, TypeElement) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
- addShortcutConfigActivity(UserHandle, LauncherActivityInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Adds a
LauncherActivityInfo
to be retrieved byShadowLauncherApps.getShortcutConfigActivityList(String, UserHandle)
. - addSmallestScreenWidth(String, int) - Static method in class org.robolectric.res.Qualifiers
-
Deprecated.Use
Configuration.smallestScreenWidthDp
instead. - addSnapshottedUser(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Adds snapshotted user.
- addState(int[], Drawable) - Method in class org.robolectric.shadows.ShadowStateListDrawable
- addStorageStats(UUID, String, UserHandle, StorageStats) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
- addStorageVolume(StorageVolume) - Method in class org.robolectric.shadows.ShadowStorageManager
-
Adds a
StorageVolume
to the list returned byShadowStorageManager.getStorageVolumes()
. - addStringResource(String, int, String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds a String resource with
resId
corresponding topackageName
. - 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
- addSystemFlags(int) - Method in class org.robolectric.shadows.ShadowWindow
- addSystemSharedLibraryName(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds a value to be returned by
PackageManager.getSystemSharedLibraryNames()
. - addTab(TabHost.TabSpec) - Method in class org.robolectric.shadows.ShadowTabHost
- addTargetUserProfile(UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Adds
userHandle
to the list of accessible handles. - addText(String, String) - Method in class org.robolectric.shadows.ShadowDropBoxManager
-
Adds a text entry to dropbox with the current timestamp using UTF-8 encoding.
- addTextChangedListener(TextWatcher) - Method in class org.robolectric.shadows.ShadowTextView
- addThermalStatusListener(Object) - Method in class org.robolectric.shadows.ShadowPowerManager
-
This function adds a listener for thermal status change.
- addTimeZoneDetectorListener(Executor, TimeManager.TimeZoneDetectorListener) - Method in class org.robolectric.shadows.ShadowTimeManager
- addTrack(DataSource, MediaFormat, byte[]) - Static method in class org.robolectric.shadows.ShadowMediaExtractor
-
Adds a track of data to an associated
DataSource
. - addTransportType(int) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Updates the transport types for this network capablities to include
transportType
. - addUsageStats(int, UsageStats) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Adds an aggregated
UsageStats
object, to be returned byShadowUsageStatsManager.queryUsageStats(int, long, long)
. - addUser(int, String, int) - Method in class org.robolectric.shadows.ShadowUserManager
-
Creates a user with the specified name, userId and flags.
- addUserProfile(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.use either addUser() or addProfile()
- addUserRestriction(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- addView(View, int, ViewGroup.LayoutParams) - Method in class org.robolectric.shadows.ShadowViewGroup
- addView(View, ViewGroup.LayoutParams) - Method in class org.robolectric.shadows.ShadowWindowManagerImpl
- addVoice(Voice) - Static method in class org.robolectric.shadows.ShadowTextToSpeech
-
Makes
Voice
an available voice returned byTextToSpeech.getVoices()
. - addWakeLock(PowerManager.WakeLock) - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.use PowerManager APIs instead
- addWindow(PhoneWindow) - Method in class org.robolectric.shadows.ShadowRotationWatcher
- addWindow(Object) - Method in class org.robolectric.shadows.ShadowRotationWatcherFor22
- adjustStreamVolume(int, int, int) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Implements
AudioManager.adjustStreamVolume(int, int, int)
. - advance() - Method in class org.robolectric.shadows.ShadowMediaExtractor
- advanceBy(long) - Method in class org.robolectric.util.Scheduler
-
Deprecated.
- advanceBy(long, TimeUnit) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- advanceBy(long, TimeUnit) - Static method in class org.robolectric.shadows.ShadowSystemClock
-
An alternate to
ShadowSystemClock.advanceBy(Duration)
for older Android code bases where Duration is not available. - advanceBy(long, TimeUnit) - Method in class org.robolectric.util.Scheduler
-
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.interceptors.AndroidInterceptors
- ALL_SDKS - Static variable in annotation type org.robolectric.annotation.Config
- ALL_STREAMS - Static variable in class org.robolectric.shadows.ShadowAudioManager
- allocateAppWidgetId() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- ALLOW_ALL - org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
-
Automatically allows all call requests.
- allowFileSchemeCookiesImpl() - Method in class android.webkit.RoboCookieManager
- allowIncomingCall(ShadowTelecomManager.IncomingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
- allowOutgoingCall(ShadowTelecomManager.OutgoingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
- allowWhileIdle - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- ALOGI(String, Object...) - Static method in class org.robolectric.res.android.Util
- ALOGV(String, Object...) - Static method in class org.robolectric.res.android.Util
- 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.config
-
Instruments the Android jars
- AndroidConfigurer(ShadowProviders) - Constructor for class org.robolectric.config.AndroidConfigurer
- AndroidInterceptors - Class in org.robolectric.interceptors
- AndroidInterceptors() - Constructor for class org.robolectric.interceptors.AndroidInterceptors
- AndroidInterceptors.CleanerInterceptor - Class in org.robolectric.interceptors
-
Maps calls to Cleaner, which moved between Java 8 and 9:
sun.misc.Cleaner.create()
->new java.lang.ref.Cleaner().register()
sun.misc.Cleaner.clean()
->java.lang.ref.Cleaner.Cleanable().clean()
- AndroidInterceptors.FileDescriptorInterceptor - Class in org.robolectric.interceptors
-
Intercepts calls to libcore-extensions to
FileDescriptor
. - AndroidInterceptors.LinkedHashMapEldestInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.NoOpInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.ReferenceRefersToInterceptor - Class in org.robolectric.interceptors
-
AndroidInterceptor for Reference.refersTo which is not available until JDK 16.
- AndroidInterceptors.SocketInterceptor - Class in org.robolectric.interceptors
-
Intercepts calls to methods in
Socket
not present in the OpenJDK. - AndroidInterceptors.SystemArrayCopyInterceptor - Class in org.robolectric.interceptors
- AndroidInterceptors.SystemLogInterceptor - Class in org.robolectric.interceptors
-
AndroidInterceptor for System.logE and System.logW.
- AndroidInterceptors.SystemTimeInterceptor - Class in org.robolectric.interceptors
- AndroidManifest - Class in org.robolectric.manifest
-
A wrapper for an Android App Manifest, which represents information about one's App to an Android system.
- AndroidManifest(Path, Path, Path) - Constructor for class org.robolectric.manifest.AndroidManifest
-
Creates a Robolectric configuration using specified locations.
- AndroidManifest(Path, Path, Path, String) - Constructor for class org.robolectric.manifest.AndroidManifest
-
Creates a Robolectric configuration using specified values.
- AndroidManifest(Path, Path, Path, List<AndroidManifest>, String) - Constructor for class org.robolectric.manifest.AndroidManifest
-
Creates a Robolectric configuration using specified values.
- AndroidManifest(Path, Path, Path, List<AndroidManifest>, String, Path) - Constructor for class org.robolectric.manifest.AndroidManifest
- AndroidMetadata - Class in org.robolectric
-
Data related to Android tests.
- AndroidMetadata(Map<String, String>, String) - Constructor for class org.robolectric.AndroidMetadata
- AndroidSandbox - Class in org.robolectric.internal
-
Sandbox simulating an Android device.
- AndroidSandbox(Sdk, Sdk, ResourcesMode, ApkLoader, AndroidSandbox.TestEnvironmentSpec, AndroidSandbox.SdkSandboxClassLoader, ShadowProviders, SQLiteMode.Mode) - Constructor for class org.robolectric.internal.AndroidSandbox
- AndroidSandbox.SdkSandboxClassLoader - Class in org.robolectric.internal
-
Adapter from Sdk to ResourceLoader.
- AndroidSandbox.TestEnvironmentSpec - Class in org.robolectric.internal
-
Provides a mechanism for tests to inject a different AndroidTestEnvironment.
- AndroidSdkShadowMatcher - Class in org.robolectric.android
-
Android-specific rules for matching shadow classes and methods by SDK level.
- AndroidSdkShadowMatcher(int) - Constructor for class org.robolectric.android.AndroidSdkShadowMatcher
- AndroidTestEnvironment - Class in org.robolectric.android.internal
- AndroidTestEnvironment(Sdk, Sdk, ResourcesMode, ApkLoader, ShadowProvider[], TestEnvironmentLifecyclePlugin[]) - Constructor for class org.robolectric.android.internal.AndroidTestEnvironment
- andThen(Consumer<? super T>) - Method in interface org.robolectric.util.Consumer
-
Returns a composed
Consumer
that performs, in sequence, this operation followed by theafter
operation. - 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 use {#getApplication} instead. Accessing this field directly is inherently incompatible with
LazyApplication
and Robolectric makes no guarantees if a test *modifies* this field during execution. - application() - Method in annotation type org.robolectric.annotation.Config
-
The
Application
class to use in the test, this takes precedence over any application specified in the AndroidManifest.xml. - application() - Method in class org.robolectric.annotation.Config.Implementation
- apply() - Method in class org.robolectric.shadows.ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl
- apply(Type, VisitorState) - Method in class org.robolectric.errorprone.bugpatterns.Helpers.CastableTo
- apply(String, byte) - Method in interface org.robolectric.res.android.CppAssetManager2.PackageFunc
- apply(Statement, Description) - Method in class org.robolectric.junit.rules.BackgroundTestRule
- 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
- AppUsageLimitObserver(int, List<String>, Duration, Duration, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- AppUsageObserver() - Constructor for class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
- appVsyncOffsetNanos - Variable in class org.robolectric.android.internal.DisplayConfig
-
This is a positive value indicating the phase offset of the VSYNC events provided by Choreographer relative to the display refresh.
- AppWidgetProviderInfoBuilder - Class in org.robolectric.shadows
-
Class to build
AppWidgetProviderInfo
- appWidth - Variable in class org.robolectric.android.internal.DisplayConfig
-
The width of the portion of the display that is available to applications, in pixels.
- ArcPaintHistoryEvent(RectF, float, float, boolean, Paint) - Constructor for class org.robolectric.shadows.ShadowCanvas.ArcPaintHistoryEvent
- arcTo(float, float, float, float, float, float, boolean) - Method in class org.robolectric.shadows.ShadowPath
- arcTo(RectF, float, float) - Method in class org.robolectric.shadows.ShadowPath
- arcTo(RectF, float, float, boolean) - Method in class org.robolectric.shadows.ShadowPath
- areAllPrimitivesSupported(int...) - Method in class org.robolectric.shadows.ShadowVibrator
- areAnyRunnable() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- areAnyRunnable() - Method in class org.robolectric.util.Scheduler
-
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
obtain
ed but neverrecycle
d. - areThereUnrecycledWindows(boolean) - Static method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
-
Check for leaked objects that were
obtain
ed but neverrecycle
d. - 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
- ASSERT - org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
- assertLooperMode(LooperMode.Mode) - Static method in class org.robolectric.shadows.ShadowLooper
- assertNoBroadcastListenersOfActionRegistered(ContextWrapper, String) - Method in class org.robolectric.shadows.ShadowApplication
- Asset - Class in org.robolectric.res.android
- Asset.AccessMode - Enum in org.robolectric.res.android
- assetDir - Variable in class org.robolectric.annotation.Config.Builder
- assetDir() - Method in annotation type org.robolectric.annotation.Config
-
Deprecated.If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure
- assetDir() - Method in class org.robolectric.annotation.Config.Implementation
- AssetDir - Class in org.robolectric.res.android
- AssetPath - Class in org.robolectric.res.android
- AssetPath(Path, boolean) - Constructor for class org.robolectric.res.android.AssetPath
- asShared() - Method in class org.robolectric.shadows.ShadowBitmap
- associate(AssociationRequest, CompanionDeviceManager.Callback, Handler) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- associate(AssociationRequest, Executor, CompanionDeviceManager.Callback) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- associations - Variable in class org.robolectric.shadows.ShadowCompanionDeviceManager
- asString() - Method in class org.robolectric.res.TypedResource
- AsyncTraceSection() - Constructor for class org.robolectric.shadows.ShadowTrace.AsyncTraceSection
- atomId() - Method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
- ATRACE_NAME(String) - Static method in class org.robolectric.res.android.Util
- attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration) - 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_
- attach(Context, ActivityThread, Instrumentation, IBinder, int, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object, Configuration, String, Object, Window, Object, IBinder, IBinder) - Method in interface org.robolectric.shadows._Activity_
- attach(AttachCallback, Handler) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
- attachAuxEffect(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- attachController(ActivityController) - Method in class org.robolectric.shadows.ShadowActivity
-
For internal use only.
- attached - Variable in class org.robolectric.android.controller.ComponentController
- AttestedKeyPairFactory - Class in org.robolectric.shadows
-
Factory to create AttestedKeyPair.
- AttestedKeyPairFactory() - Constructor for class org.robolectric.shadows.AttestedKeyPairFactory
- attr(int, int, int, ResourceTypes.Res_value, String) - Method in class org.robolectric.res.android.ResourceTypes.ResXMLTree_attrExt.Writer
- ATTR_DATA - org.robolectric.res.ResType
- ATTR_FEW - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_L10N - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_MANY - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_MAX - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_MIN - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_ONE - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_OTHER - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_TWO - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- ATTR_ZERO - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- AttrData - Class in org.robolectric.res
- AttrData(String, String, List<AttrData.Pair>) - Constructor for class org.robolectric.res.AttrData
- AttrData.Pair - Class in org.robolectric.res
- ATTRIBUTE - org.robolectric.res.android.DataType
-
data
holds an attribute resource identifier. - 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
AttributeSet
s. - 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
- audioAttributesFromLastVibration - Variable in class org.robolectric.shadows.ShadowVibrator
- 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()
orShadowFingerprintManager.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
-
Deprecated.
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.
- BackgroundTestRule - Class in org.robolectric.junit.rules
-
Let tests to run on background thread, if it has annotation
BackgroundTestRule.BackgroundTest
. - BackgroundTestRule() - Constructor for class org.robolectric.junit.rules.BackgroundTestRule
- BackgroundTestRule.BackgroundTest - Annotation Type in org.robolectric.junit.rules
-
Annotation for test methods that need to be executed in a background 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
-
Deprecated.Use
MatrixCursor
instead. - BaseCursor() - Constructor for class org.robolectric.fakes.BaseCursor
-
Deprecated.
- 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
- beginAsyncSection(String, int) - Static method in class org.robolectric.shadows.ShadowTrace
-
Starts a new async trace section with given name.
- beginBroadcast() - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- beginRecording(int, int) - Method in class org.robolectric.shadows.ShadowPicture
- beginRestoreSession() - Method in class org.robolectric.shadows.ShadowBackupManager
- beginSection(String) - Static method in class org.robolectric.shadows.ShadowTrace
-
Starts a new trace section with given name.
- bidi(int, char[], byte[], int, boolean) - Static method in class org.robolectric.shadows.ShadowAndroidBidi
- bigEndianIterator() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
- bigEndianIterator() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS
- BINARY - org.robolectric.internal.ResourcesMode
- bind() - Method in class org.robolectric.android.controller.IntentServiceController
- bind() - Method in class org.robolectric.android.controller.ServiceController
- bind(Class<T>, Class<? extends T>) - Method in class org.robolectric.util.inject.Injector.Builder
-
Registers an implementing class for the given dependency type.
- bind(Class<T>, T) - Method in class org.robolectric.util.inject.Injector.Builder
-
Registers an instance for the given dependency type.
- bind(Injector.Key<T>, T) - Method in class org.robolectric.util.inject.Injector.Builder
-
Registers an instance for the given key.
- bindAppWidgetId(int, ComponentName) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- bindAppWidgetId(int, ComponentName, Bundle) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- bindAppWidgetIdIfAllowed(int, ComponentName) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Create an internal presentation of the widget and cache it locally.
- bindAppWidgetIdIfAllowed(int, ComponentName, Bundle) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Create an internal presentation of the widget locally and store the options
Bundle
with it. - bindDefault(Class<T>, Class<? extends T>) - Method in class org.robolectric.util.inject.Injector.Builder
-
Registers a fallback implementing class for the given dependency type.
- bindDeviceAdminServiceAsUser(ComponentName, Intent, ServiceConnection, int, UserHandle) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Bind to the same package in another user.
- bindProcessToNetwork(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- bindService(Intent, int, Executor, ServiceConnection) - Method in class org.robolectric.shadows.ShadowContextImpl
- bindService(Intent, int, Executor, ServiceConnection) - Method in class org.robolectric.shadows.ShadowInstrumentation
- bindService(Intent, ServiceConnection, int) - Method in class org.robolectric.shadows.ShadowContextImpl
- bindService(Intent, ServiceConnection, int) - Method in class org.robolectric.shadows.ShadowInstrumentation
- bindServiceAsUser(Intent, ServiceConnection, int, UserHandle) - Method in class org.robolectric.shadows.ShadowContextImpl
-
Binds to a service but ignores the given UserHandle.
- bindSocket(FileDescriptor) - Method in class org.robolectric.shadows.ShadowNetwork
-
Simulates a socket bind.
- bindSocket(DatagramSocket) - Method in class org.robolectric.shadows.ShadowNetwork
-
Simulates a socket bind.
- bindSocket(Socket) - Method in class org.robolectric.shadows.ShadowNetwork
-
Simulates a socket bind.
- biometricServiceConnected - Variable in class org.robolectric.shadows.ShadowBiometricManager
- 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
- bluetoothLeAdvertiserReflector - Variable in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
- BOOLEAN - org.robolectric.res.ResType
- 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
- bootstrapAuthenticationRequest(Object, Object, Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- bootstrapInit(MethodHandles.Lookup, String, MethodType) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
- bootstrapIntrinsic(MethodHandles.Lookup, String, MethodType, String) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
- bootstrappedClass(Class<?>) - Method in class org.robolectric.internal.bytecode.Sandbox
- bootstrapStatic(MethodHandles.Lookup, String, MethodType, MethodHandle) - Static method in class org.robolectric.internal.bytecode.InvokeDynamicSupport
- bottom - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
- bottom - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
- boundSocketCount() - Method in class org.robolectric.shadows.ShadowNetwork
-
Returns the total number of sockets bound to this network interface.
- BrightnessChangeEventBuilder - Class in org.robolectric.shadows
-
Builder for
BrightnessChangeEvent
. - BrightnessChangeEventBuilder() - Constructor for class org.robolectric.shadows.BrightnessChangeEventBuilder
- broadcastPermission - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- broadcastReceiver - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- BroadcastReceiverData - Class in org.robolectric.manifest
- BroadcastReceiverData(String, MetaData) - Constructor for class org.robolectric.manifest.BroadcastReceiverData
- BroadcastReceiverData(Map<String, String>, MetaData, List<IntentFilterData>) - Constructor for class org.robolectric.manifest.BroadcastReceiverData
- BuckManifestFactory - Class in org.robolectric.internal
- BuckManifestFactory() - Constructor for class org.robolectric.internal.BuckManifestFactory
- buffer - Variable in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- buffer - Variable in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- build() - Method in interface org.robolectric.android.AttributeSetBuilder
-
Build an
AttributeSet
with the antecedent attributes. - build() - Method in class org.robolectric.android.AttributeSetBuilderImpl
- build() - Method in class org.robolectric.annotation.Config.Builder
- build() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- build() - Method in class org.robolectric.internal.bytecode.ShadowMap.Builder
- build() - Method in interface org.robolectric.Robolectric.AttributeSetBuilder
-
Deprecated.Build an
AttributeSet
with the antecedent attributes. - build() - Method in class org.robolectric.shadows.AppWidgetProviderInfoBuilder
- build() - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- build() - Method in class org.robolectric.shadows.DeviceStateSensorOrientationBuilder
- build() - Method in class org.robolectric.shadows.DragEventBuilder
- build() - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- build() - Method in class org.robolectric.shadows.FrameMetricsBuilder
- build() - Method in class org.robolectric.shadows.GnssStatusBuilder
-
Deprecated.Builds the
GnssStatus
from the satellites previously added. - build() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Builds the
GnssStatusBuilder.GnssSatelliteInfo
. - build() - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
- build() - Method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
- build() - Method in class org.robolectric.shadows.ModuleInfoBuilder
-
Returns a
ModuleInfo
with the data that was given. - build() - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- build() - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Returns a
PackageRollbackInfo
with the data that was given. - build() - Method in class org.robolectric.shadows.PlaybackInfoBuilder
- build() - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- build() - Method in class org.robolectric.shadows.RangingSessionBuilder
- build() - Method in class org.robolectric.shadows.RollbackInfoBuilder
-
Returns a
RollbackInfo
with the data that was given. - build() - Method in class org.robolectric.shadows.RunningTaskInfoBuilder
- build() - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- build() - Method in class org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- build() - Method in class org.robolectric.shadows.ShadowEventLog.EventBuilder
- build() - Method in class org.robolectric.shadows.ShadowFontsFontFamily.ShadowFontsFontFamilyBuilder
- build() - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- build() - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection.Builder
- build() - Method in class org.robolectric.shadows.ShadowTrace.Counter.Builder
- build() - Method in class org.robolectric.shadows.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.shadows.StreamConfigurationMapBuilder
-
Builds a StreamConfigurationMap based on data previously added to this builder.
- build() - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- build() - Method in class org.robolectric.shadows.UiccPortInfoBuilder
- build() - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
- build() - Method in class org.robolectric.shadows.VibrationAttributesBuilder
- build() - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- build() - Method in class org.robolectric.util.inject.Injector.Builder
-
Builds an injector as previously configured.
- build(int, Collection<String>, long, TimeUnit, PendingIntent) - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
- build(int, List<String>, Duration, Duration, PendingIntent, PendingIntent) - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- build(InstrumentationConfiguration, Sdk, Sdk, ResourcesMode, SQLiteMode.Mode) - Method in interface org.robolectric.internal.SandboxManager.SandboxBuilder
- build(ShadowMap, ShadowMatcher, Interceptors) - Method in interface org.robolectric.internal.bytecode.ClassHandlerBuilder
-
Builds a
instance
. - buildActivity(Class<T>) - Static method in class org.robolectric.Robolectric
-
Creates a ActivityController for the given activity class.
- buildActivity(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
-
Creates a ActivityController for the given activity class with the intent.
- buildActivity(Class<T>, Intent, Bundle) - Static method in class org.robolectric.Robolectric
-
Creates a ActivityController for the given activity class with the intent and activity options.
- buildAttributeSet() - Static method in class org.robolectric.Robolectric
-
Allows for the programmatic creation of an
AttributeSet
. - buildBackupAgent(Class<T>) - Static method in class org.robolectric.Robolectric
- buildContentProvider(Class<T>) - Static method in class org.robolectric.Robolectric
- builder() - Static method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.
- Builder() - Constructor for class org.robolectric.annotation.Config.Builder
- Builder() - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- Builder() - Constructor for class org.robolectric.internal.bytecode.ShadowMap.Builder
- Builder() - Constructor for class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.
- Builder() - Constructor for class org.robolectric.shadows.ShadowTrace.AsyncTraceSection.Builder
- Builder() - Constructor for class org.robolectric.shadows.ShadowTrace.Counter.Builder
- Builder() - Constructor for class org.robolectric.util.inject.Injector.Builder
-
Creates a new builder.
- Builder(int, MacAddress, long, int) - Constructor for class org.robolectric.shadows.ShadowRangingResult.Builder
- Builder(ClassLoader) - Constructor for class org.robolectric.util.inject.Injector.Builder
-
Creates a new builder using the specified ClassLoader for plugin loading.
- Builder(Config) - Constructor for class org.robolectric.annotation.Config.Builder
- Builder(InstrumentationConfiguration) - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- Builder(ShadowMap) - Constructor for class org.robolectric.internal.bytecode.ShadowMap.Builder
- Builder(Injector) - Constructor for class org.robolectric.util.inject.Injector.Builder
-
Creates a new builder with a parent injector.
- Builder(Injector, ClassLoader) - Constructor for class org.robolectric.util.inject.Injector.Builder
-
Creates a new builder with a parent injector and the specified ClassLoader for plugin loading.
- buildEvent() - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- buildExternalStorageAppCacheDirs(String) - Static method in class org.robolectric.shadows.ShadowEnvironment
- buildFragment(Class<T>) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFragment(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFragment(Class<T>, Intent, Bundle) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFragment(Class<T>, Bundle) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFragment(Class<T>, Class<? extends Activity>) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFragment(Class<T>, Class<? extends Activity>, Intent) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFragment(Class<T>, Class<? extends Activity>, Intent, Bundle) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFragment(Class<T>, Class<? extends Activity>, Bundle) - Static method in class org.robolectric.Robolectric
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- buildFrom(GnssStatusBuilder.GnssSatelliteInfo...) - Static method in class org.robolectric.shadows.GnssStatusBuilder
-
Deprecated.Convenience method to create a
GnssStatus
directly from known satellite info. - buildGlobalConfig() - Method in class org.robolectric.RobolectricTestRunner
-
Deprecated.Provide a service implementation of
GlobalConfigProvider
instead. This method will be removed in Robolectric 4.3. - buildIntentService(Class<T>) - Static method in class org.robolectric.Robolectric
- buildIntentService(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
- buildResourceTable(AndroidManifest) - Method in class org.robolectric.res.ResourceMerger
- buildService(Class<T>) - Static method in class org.robolectric.Robolectric
- buildService(Class<T>, Intent) - Static method in class org.robolectric.Robolectric
- buildString(char[]) - Static method in class org.robolectric.res.android.ResourceString
-
Builds a string from a null-terminated char data.
- buildSubscriptionInfo() - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- buildSystemFallback(String, String, FontCustomizationParser.Result, ArrayMap<String, FontFamily[]>, ArrayList<Font>) - Static method in class org.robolectric.shadows.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 givenUri
, itsContentProvider.bulkInsert(Uri, ContentValues[])
method will be invoked. - bulkTransfer(UsbEndpoint, byte[], int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- bulkTransfer(UsbEndpoint, byte[], int, int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- bundle - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
-
Deprecated.Use
ShadowTelecomManager.CallRecord.extras
instead. - ByteBucketArray<T> - Class in org.robolectric.res.android
-
Stores a sparsely populated array.
- ByteBucketArray(T) - Constructor for class org.robolectric.res.android.ByteBucketArray
- bytes - Variable in class org.robolectric.shadows.ShadowMemoryMappedFile
- bytes - Variable in class org.robolectric.shadows.ShadowMemoryMappedFileS
- bytes() - Method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
C
- CACHE - org.robolectric.fakes.RoboResponseSource
-
Return the response from the cache immediately.
- CachedPathIteratorFactory - Class in org.robolectric.shadows
-
Class that returns iterators for a given path.
- CachedPathIteratorFactory(PathIterator) - Constructor for class org.robolectric.shadows.CachedPathIteratorFactory
- CachedPathIteratorFactory.CachedPathIterator - Class in org.robolectric.shadows
-
Class that allows us to iterate over a path multiple times
- calculateSignalLevel(int, int) - Static method in class org.robolectric.shadows.ShadowWifiManager
- call() - Method in interface org.robolectric.shadows.ShadowArscApkAssets9.ApkAssetMaker
- call(Uri, String, String, Bundle) - Method in class org.robolectric.shadows.ShadowContentResolver
- call(Class<?>, T, Object[]) - Method in interface org.robolectric.util.Function
- call(String, String, Bundle) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- CALL_REAL_CODE - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- callActivityOnCreate(Activity, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callActivityOnDestroy(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callActivityOnPause(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callActivityOnRestart(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callActivityOnResume(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callActivityOnStart(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callActivityOnStop(Activity) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callApplicationOnCreate(Application) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- callApplyConfigurationToResourcesLocked(Configuration, CompatibilityInfo) - Method in class org.robolectric.shadows.ShadowResourcesManager
-
Exposes
ResourcesManager#applyCompatConfigurationLocked(int, Configuration)
. - callAttach(Activity, Context, ActivityThread, Instrumentation, Application, Intent, ActivityInfo, CharSequence, Object) - Method in interface org.robolectric.shadows._Activity_
- callAttach(Context) - Method in class org.robolectric.shadows.ShadowApplication
-
Attaches an application to a base context.
- callAttach(Intent) - Method in class org.robolectric.shadows.ShadowActivity
- callAttach(Intent, Bundle) - Method in class org.robolectric.shadows.ShadowActivity
- callAttach(Intent, Bundle, Object) - Method in class org.robolectric.shadows.ShadowActivity
- callback() - Method in class org.robolectric.shadows.ShadowAccessibilityService.GestureDispatch
-
The callback that is to be invoked once the gesture has finished dispatching.
- callConstructor(Class<? extends R>, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively call the constructor of an object.
- callDispatchResized() - Method in class org.robolectric.shadows.ShadowViewRootImpl
- callGetThemeResId() - Method in class org.robolectric.shadows.ShadowContextThemeWrapper
- callInstanceMethod(Class<?>, Object, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively call an instance method on an object on a specific class.
- callInstanceMethod(Object, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively call an instance method on an object.
- callLastOnFinished(Intent, int, String, Bundle) - Method in class org.robolectric.shadows.ShadowPendingIntent
- callOnActivityResult(int, int, Intent) - Method in class org.robolectric.shadows.ShadowActivity
-
Deprecated.
- callOnAttachedToHierarchy(PreferenceManager) - Method in class org.robolectric.shadows.ShadowPreference
- callOnAttachedToWindow() - Method in class org.robolectric.shadows.ShadowView
- callOnCreate(Bundle) - Method in class org.robolectric.shadows.ShadowDialog
- callOnDetachedFromWindow() - Method in class org.robolectric.shadows.ShadowView
- callOnGetDirectActions(CancellationSignal, Consumer<List<DirectAction>>) - Method in class org.robolectric.shadows.ShadowActivity
-
Calls Activity#onGetDirectActions with the given parameters.
- callParsePackage(Path) - Static method in class org.robolectric.shadows.ShadowPackageParser
-
Parses an AndroidManifest.xml file using the framework PackageParser.
- CallRecord(PhoneAccountHandle, Bundle) - Constructor for class org.robolectric.shadows.ShadowTelecomManager.CallRecord
-
Deprecated.
- callStaticMethod(Class<?>, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively call a static method on a class.
- callStaticMethod(ClassLoader, String, String, ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers
-
Helper method for calling a static method using a class from a custom class loader
- callThroughByDefault - Variable in class org.robolectric.internal.bytecode.ShadowInfo
- callThroughByDefault() - Method in annotation type org.robolectric.annotation.Implements
-
If true, Robolectric will invoke the actual Android code for any method that isn't shadowed.
- callWindowFocusChanged(boolean) - Method in class org.robolectric.shadows.ShadowViewRootImpl
- canAddCall() - Method in class org.robolectric.shadows.ShadowInCallService
- canAuthenticate() - Method in class org.robolectric.shadows.ShadowBiometricManager
- canAuthenticate(int) - Method in class org.robolectric.shadows.ShadowBiometricManager
- canAuthenticate(int, int) - Method in class org.robolectric.shadows.ShadowBiometricManager
- cancel() - Method in class org.robolectric.shadows.ShadowCountDownTimer
- cancel() - Method in class org.robolectric.shadows.ShadowJsResult
- cancel() - Method in class org.robolectric.shadows.ShadowPendingIntent
- cancel() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimator
- cancel() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
- cancel() - Method in class org.robolectric.shadows.ShadowSslErrorHandler
- cancel() - Method in class org.robolectric.shadows.ShadowSystemVibrator
- cancel() - Method in class org.robolectric.shadows.ShadowToast
- cancel(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
- cancelAllNotifications() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- cancelAutoFocus() - Method in class org.robolectric.shadows.ShadowCamera
- cancelBugreport() - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Cancels bugreport in progress and executes
BugreportManager.BugreportCallback.onError(int)
. - cancelDiscovery() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- cancelMissedCallsNotification() - Method in class org.robolectric.shadows.ShadowTelecomManager
- cancelNotification(String) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- cancelOperation(int) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
- cancelSync(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
- canConfigureInteractAcrossProfiles(String) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Unlike the real system, we will assume a package can always configure its own cross profile interaction.
- canDrawOverlays(Context) - Static method in class org.robolectric.shadows.ShadowSettings
- canGoBack() - Method in class org.robolectric.shadows.ShadowWebView
- canGoForward() - Method in class org.robolectric.shadows.ShadowWebView
- canInteractAcrossProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Checks if the current application can interact across profile.
- canNotifyAsPackage(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
- canonicalToCurrentPackageNames(String[]) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- canPause() - Method in class org.robolectric.shadows.ShadowVideoView
- canRequestInteractAcrossProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns whether the calling package can request to navigate the user to the relevant settings page to request user consent to interact across profiles.
- canRequestPackageInstalls() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- canScheduleExactAlarms() - Method in class org.robolectric.shadows.ShadowAlarmManager
-
Returns the schedule exact alarm state set by
ShadowAlarmManager.setCanScheduleExactAlarms(boolean)
. - canSwitchUsers() - Method in class org.robolectric.shadows.ShadowUserManager
-
Returns
true
by default, or the value specified viaShadowUserManager.setCanSwitchUser(boolean)
. - canvasReflector - Variable in class org.robolectric.shadows.ShadowCanvas
- CapabilityFailureInfo() - Constructor for class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
- capture(CaptureRequest, CameraCaptureSession.CaptureCallback, Handler) - Method in class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
- captureSingleRequest(CaptureRequest, Executor, CameraCaptureSession.CaptureCallback) - Method in class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
- CastableTo(Supplier<Type>) - Constructor for class org.robolectric.errorprone.bugpatterns.Helpers.CastableTo
- 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
- CESU8 - org.robolectric.res.android.ResourceString.Type
- changeDisplay(int, String) - Static method in class org.robolectric.shadows.ShadowDisplayManager
-
Changes properties of a simulated display.
- CHAR_SEQUENCE - org.robolectric.res.ResType
- CHAR_SEQUENCE_ARRAY - org.robolectric.res.ResType
- charset() - Method in enum org.robolectric.res.android.ResourceString.Type
- CHECK(boolean) - Static method in class org.robolectric.res.android.Util
- checkActivities(boolean) - Method in class org.robolectric.shadows.ShadowApplication
-
Set to true if you'd like Robolectric to strictly simulate the real Android behavior when calling
Context.startActivity(android.content.Intent)
. - checkBluetoothAddress(String) - Static method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Validate a Bluetooth address, such as "00:43:A8:23:10:F0" Alphabetic characters must be uppercase to be valid.
- checkCallingOrSelfPermission(String) - Method in class org.robolectric.shadows.ShadowContextImpl
- checkCallingPermission(String) - Method in class org.robolectric.shadows.ShadowContextImpl
- checkChar(String, int, char) - Method in class org.robolectric.shadows.ShadowTime
- checkedPerformClick() - Method in class org.robolectric.shadows.ShadowView
-
Deprecated.- Please use Espresso for View interactions.
- checkIfCameraClosedOrInError() - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
- checkMainThread() - Method in class org.robolectric.android.internal.NoOpThreadChecker
- checkNotMainThread() - Method in class org.robolectric.android.internal.NoOpThreadChecker
- checkOp(String, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Checks whether op was previously set using
ShadowAppOpsManager.setMode(java.lang.String, int, java.lang.String, int)
- checkOpNoThrow(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Like
AppOpsManager.checkOp(java.lang.String, int, java.lang.String)
but instead of throwing aSecurityException
it returnsAppOpsManager.MODE_ERRORED
. - checkOpNoThrow(String, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Deprecated.
- checkPackage(int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- checkPermission(String, int, int) - Method in class org.robolectric.shadows.ShadowContextImpl
- checkPermission(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- checkRecognitionSupport(Intent, Executor, RecognitionSupportCallback) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- checkService(String) - Static method in class org.robolectric.shadows.ShadowServiceManager
- checkSignatures(int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- checkSignatures(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- checkSlicePermission(Uri, int, int) - Method in class org.robolectric.shadows.ShadowSliceManager
- checkStateAfterTestFailure(Throwable) - Method in class org.robolectric.android.internal.AndroidTestEnvironment
- checkStateAfterTestFailure(Throwable) - Method in interface org.robolectric.internal.TestEnvironment
- claimInterface(UsbInterface, boolean) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- CLASS_HANDLER_DATA_FIELD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- CLASS_NAME - Static variable in class org.robolectric.shadows.ShadowContextImpl
- classBlock(RunNotifier) - Method in class org.robolectric.internal.SandboxTestRunner
- ClassDetails - Class in org.robolectric.internal.bytecode
-
A more lightweight variant of
MutableClass
. - ClassDetails(byte[]) - Constructor for class org.robolectric.internal.bytecode.ClassDetails
- classesToNotAcquire - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classesToNotInstrument - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classesToNotInstrumentRegex - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classHandler - Variable in class org.robolectric.internal.bytecode.Sandbox
- ClassHandler - Interface in org.robolectric.internal.bytecode
-
This interface is used by Robolectric when instrumented classes are created and interacted with.
- classHandlerBuilder - Variable in class org.robolectric.internal.SandboxTestRunner
- ClassHandlerBuilder - Interface in org.robolectric.internal.bytecode
-
Factory interface for
ClassHandler
. - classInitializing(Class) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when an instrumented class is first loaded into a sandbox and is ready to be statically initialized.
- classInitializing(Class) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- classInitializing(Class) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- ClassInstrumentor - Class in org.robolectric.internal.bytecode
-
Instruments (i.e.
- ClassInstrumentor() - Constructor for class org.robolectric.internal.bytecode.ClassInstrumentor
- ClassInstrumentor(ClassInstrumentor.Decorator) - Constructor for class org.robolectric.internal.bytecode.ClassInstrumentor
- ClassInstrumentor.Decorator - Interface in org.robolectric.internal.bytecode
- className - Variable in class org.robolectric.internal.bytecode.MethodRef
- className - Variable in class org.robolectric.internal.bytecode.MethodSignature
- className - Variable in class org.robolectric.util.ReflectionHelpers.StringParameter
- className() - Method in annotation type org.robolectric.annotation.Implements
-
Android class name (if the Class object is not accessible).
- className() - Method in annotation type org.robolectric.util.reflector.ForType
- ClassNameResolver<T> - Class in org.robolectric.shadows
- ClassNameResolver() - Constructor for class org.robolectric.shadows.ClassNameResolver
- classNameTranslations - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- classNameTranslations() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Map from a requested class to an alternate stand-in, or not.
- classNode - Variable in class org.robolectric.internal.bytecode.MutableClass
- ClassNodeProvider - Class in org.robolectric.internal.bytecode
- ClassNodeProvider() - Constructor for class org.robolectric.internal.bytecode.ClassNodeProvider
- ClassParameter(Class<? extends V>, V) - Constructor for class org.robolectric.util.ReflectionHelpers.ClassParameter
- clazz - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- clazz - Variable in class org.robolectric.util.ReflectionHelpers.ClassParameter
- clean(Object) - Static method in class org.robolectric.fakes.CleanerCompat
- CleanerCompat - Class in org.robolectric.fakes
-
Wrapper for
Cleaner
, used byAndroidInterceptors.CleanerInterceptor
when running on Java 9+. - CleanerCompat() - Constructor for class org.robolectric.fakes.CleanerCompat
- CleanerInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.CleanerInterceptor
- cleanStackTrace(Throwable) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- clear() - Method in class org.robolectric.fakes.RoboMenu
- clear() - Method in class org.robolectric.res.android.NativeObjRegistry
-
WARNING -- dangerous! Call
NativeObjRegistry.unregister(long)
instead! - clear() - Static method in class org.robolectric.shadows.ShadowLog
-
Clear all accumulated logs.
- clear() - Method in class org.robolectric.shadows.ShadowVelocityTracker
- clear(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
Network
s. - clearAnimation() - Method in class org.robolectric.shadows.ShadowView
- clearAnimations() - Method in class org.robolectric.shadows.ShadowView
-
Resets the list returned by
ShadowView.getAnimations()
to an empty list. - clearApplicationUserData(String, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowActivityManager
- clearApplicationUserData(String, IPackageDataObserver) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- clearBroadcastIntents() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Clears the broadcast intents sent during the tests (for all users).
- clearBroadcastResponseStats(String, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- clearCache(boolean) - Method in class org.robolectric.shadows.ShadowWebView
- clearCameraInfo() - Static method in class org.robolectric.shadows.ShadowCamera
- clearCodecs() - Static method in class org.robolectric.shadows.ShadowMediaCodec
-
Clears any previously added encoders and decoders.
- clearCommunicationDevice() - Method in class org.robolectric.shadows.ShadowAudioManager
- clearControllers() - Method in class org.robolectric.shadows.ShadowMediaSessionManager
-
Clears all controllers such that
ShadowMediaSessionManager.getActiveSessions(ComponentName)
will return the empty list. - clearCorruptStreamSources() - Static method in class org.robolectric.shadows.ShadowDrawable
- clearCrossProfileIntentFilters(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- clearExistingInstances() - Static method in class org.robolectric.shadows.ShadowImsMmTelManager
- clearFormData() - Method in class org.robolectric.shadows.ShadowWebView
- clearHasSentRttRequest() - Method in class org.robolectric.shadows.ShadowCall
-
"Forgets" that sendRttRequest() was called.
- clearHeader() - Method in class org.robolectric.fakes.RoboSubMenu
- clearHistory() - Method in class org.robolectric.shadows.ShadowWebView
- clearHttpResponseRules() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- clearHttpResponseRules() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- clearHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
Call this method if you want to ensure that there's no http responses logged from this point until the next response arrives.
- 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.
- clearKilledProcesses() - Static method in class org.robolectric.shadows.ShadowProcess
- clearLastDownloadedMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- clearLastDragClipData() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
-
Clears the data returned by
ShadowWindowManagerGlobal.getLastDragClipData()
. - clearLastSentDataMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
-
Clear last recorded parameters for
ShadowSmsManager.sendDataMessage(java.lang.String, java.lang.String, short, byte[], android.app.PendingIntent, android.app.PendingIntent)
. - clearLastSentMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
-
Clear last recorded parameters for
ShadowSmsManager.sendMultimediaMessage(android.content.Context, android.net.Uri, java.lang.String, android.os.Bundle, android.app.PendingIntent)
. - clearLastSentMultipartTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- clearLastSentTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
-
Clear last recorded parameters for
ShadowSmsManager.sendTextMessage(java.lang.String, java.lang.String, java.lang.String, android.app.PendingIntent, android.app.PendingIntent)
. - clearLastSpokenText() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- clearLooperMode() - Static method in class org.robolectric.shadows.ShadowLooper
- clearMappings() - Method in class org.robolectric.shadows.ShadowMimeTypeMap
- clearModeInvalidatedClasses() - Method in class org.robolectric.internal.AndroidSandbox
- clearModeInvalidatedClasses() - Method in class org.robolectric.internal.bytecode.Sandbox
- clearNetworkRoamingStatus() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Clears the local cache of roaming subscription Ids used by
ShadowSubscriptionManager.isNetworkRoaming(int)
. - clearNextStartedActivities() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Clears all
Intent
s started byContextWrapper.startActivity(android.content.Intent)
. - clearNextStartedActivities() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Clears all records of
ShadowCrossProfileApps.StartedActivity
s from calls toCrossProfileApps.startActivity(ComponentName, UserHandle)
orCrossProfileApps.startMainActivity(ComponentName, UserHandle)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity, Bundle)
. - clearOnExitAnimationListener() - Method in class org.robolectric.fakes.RoboSplashScreen
- clearPackagePersistentPreferredActivities(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- clearPackagePreferredActivities(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- clearPackagePreferredActivitiesInternal(String, SortedMap<ComponentName, List<IntentFilter>>) - Static method in class org.robolectric.shadows.ShadowPackageManager
- clearPendingHttpResponses() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- clearPendingHttpResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- clearPhoneIds() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Removes all mappings between subscription IDs and phone IDs from the map used by
ShadowSubscriptionManager.getPhoneId(int)
. - clearPhoneTypes() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Removes all
subId
tophoneType
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
- clearRegisterContentProviderException(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
-
Clears an exception previously set with
ShadowContentResolver.setRegisterContentProviderException(Uri, RuntimeException)
. - clearRegisteredReceivers() - Method in class org.robolectric.shadows.ShadowApplication
-
Clears the list of
ShadowApplication.Wrapper
s for registered receivers - clearRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- clearSeedAccountData() - Method in class org.robolectric.shadows.ShadowUserManager
- clearSource() - Static method in class org.robolectric.shadows.ShadowAudioRecord
-
Resets
ShadowAudioRecord.AudioRecordSource
to be used for providing data toAudioRecord
, so that all requests are fulfilled for audio data by completely filling any requested buffers. - clearStartedServices() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Clears all
Intent
started byContext.startService(android.content.Intent)
. - clearStorageStats() - Method in class org.robolectric.shadows.ShadowStorageStatsManager
- clearSystemAvailableFeatures() - Method in class org.robolectric.shadows.ShadowPackageManager
- clearSystemSharedLibraryNames() - Method in class org.robolectric.shadows.ShadowPackageManager
-
Clears the values returned by
PackageManager.getSystemSharedLibraryNames()
. - clearTargetUserProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Clears the list of accessible handles.
- clearThreadStatsTag() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- clearToken(Context, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- clearToken(Context, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- clearUsabilityScores() - Method in class org.robolectric.shadows.ShadowWifiManager
-
Clears wifi usability scores previous passed to
WifiManager.updateWifiUsabilityScore(int, int, int)
- clearUserRestriction(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- clearUserRestrictions(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
-
Removes all user restrictions set of a user identified by
userHandle
. - clearVcnConfig(ParcelUuid) - Method in class org.robolectric.shadows.ShadowVcnManager
- clearView() - Method in class org.robolectric.shadows.ShadowWebView
- clearWakeLocks() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.use ShadowPowerManager.clearWakeLocks
- clearWakeLocks() - Static method in class org.robolectric.shadows.ShadowPowerManager
-
Clears most recent recorded wakelock.
- clearWasDataSetChangedCalledFlag() - Method in class org.robolectric.shadows.ShadowBaseAdapter
- clearWasInvalidated() - Method in class org.robolectric.shadows.ShadowView
-
Clears the wasInvalidated flag
- 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 byindex
. - clickOnText(int) - Method in class org.robolectric.shadows.ShadowDialog
- clickOnText(String) - Method in class org.robolectric.shadows.ShadowDialog
- close() - Method in class org.robolectric.android.controller.ActivityController
-
Transitions the underlying Activity to the 'destroyed' state by progressing through the appropriate lifecycle events.
- close() - Method in class org.robolectric.android.XmlResourceParserImpl
- close() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- close() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- close() - Method in class org.robolectric.fakes.RoboMenu
- close() - Method in class org.robolectric.fakes.RoboWebMessagePort
- close() - Method in class org.robolectric.res.android.Asset
- close() - Method in class org.robolectric.shadows.ShadowArscApkAssets9
- 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.ShadowCameraCaptureSessionImpl
- close() - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
- close() - Method in class org.robolectric.shadows.ShadowCloseGuard
- close() - Method in class org.robolectric.shadows.ShadowContextHubClient
- close() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- close() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- close() - Method in class org.robolectric.shadows.ShadowImageReader
- close() - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- close() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
- close() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS
- close() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- close() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- close() - Method in class org.robolectric.shadows.ShadowPath
- close() - Method in class org.robolectric.shadows.ShadowRangingSession
-
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.
- close() - Method in class org.robolectric.shadows.ShadowUsbRequest
- close(FileDescriptor) - Method in class org.robolectric.shadows.ShadowBlockGuardOs
- closeCurrentInput() - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
The framework implementation does a blocking call to system server.
- CloseGuardRule - Class in org.robolectric.junit.rules
-
Rule for failing tests that leave any CloseGuards open.
- CloseGuardRule() - Constructor for class org.robolectric.junit.rules.CloseGuardRule
- closeProfileProxy(int, BluetoothProfile) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Overrides behavior of
ShadowBluetoothAdapter.closeProfileProxy(int,android.bluetooth.BluetoothProfile)
ifShadowBluetoothAdapter.setProfileProxy(int, android.bluetooth.BluetoothProfile)
has been previously called. - code() - Method in enum org.robolectric.res.android.DataType
- CodecConfig(int, int, ShadowMediaCodec.CodecConfig.Codec) - Constructor for class org.robolectric.shadows.ShadowMediaCodec.CodecConfig
- collapseActionView() - Method in class org.robolectric.fakes.RoboMenuItem
- COLOR - org.robolectric.res.ResType
- COLOR_MODE_HDR - org.robolectric.res.android.ResTable_config.Type
- COLOR_MODE_WIDE_COLOR_GAMUT - org.robolectric.res.android.ResTable_config.Type
- COLOR_STATE_LIST - org.robolectric.res.ResType
- 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
-
Deprecated.
- commit() - Method in class org.robolectric.shadows.ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl
- commit(IntentSender) - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- compare(Intent, Intent) - Method in class org.robolectric.shadows.ShadowPackageManager.IntentComparator
- 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
- CompletedDownload(String, String, boolean, String, String, long, boolean) - Constructor for class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- CompletedDownload(String, String, boolean, String, String, long, boolean, Uri, Uri) - Constructor for class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- COMPLEX_MANTISSA_MASK - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_MANTISSA_SHIFT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_RADIX_0p23 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_RADIX_16p7 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_RADIX_23p0 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_RADIX_8p15 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_RADIX_MASK - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_RADIX_SHIFT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_DIP - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_FRACTION - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_FRACTION_PARENT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_IN - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_MASK - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_MM - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_PT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_PX - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_SHIFT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- COMPLEX_UNIT_SP - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- component - Variable in class org.robolectric.android.controller.ComponentController
- ComponentController<C extends ComponentController<C,T>,T> - Class in org.robolectric.android.controller
- ComponentController(T) - Constructor for class org.robolectric.android.controller.ComponentController
- ComponentController(T, Intent) - Constructor for class org.robolectric.android.controller.ComponentController
- ComponentState(int, int) - Constructor for class org.robolectric.shadows.ShadowPackageManager.ComponentState
- 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
- CONDITIONAL_CACHE - org.robolectric.fakes.RoboResponseSource
-
Make a conditional request to the host, returning the cache response if the cache is valid and the network response otherwise.
- Config - Annotation Type in org.robolectric.annotation
-
Configuration settings that can be used on a per-class or per-test basis.
- CONFIG_PROPERTIES - Static variable in class org.robolectric.RobolectricTestRunner
- Config.Builder - Class in org.robolectric.annotation
- Config.Implementation - Class in org.robolectric.annotation
- ConfigConfigurer - Class in org.robolectric.plugins
-
Provides configuration to Robolectric for its @
Config
annotation. - ConfigConfigurer(PackagePropertiesLoader) - Constructor for class org.robolectric.plugins.ConfigConfigurer
- ConfigConfigurer(PackagePropertiesLoader, GlobalConfigProvider) - Constructor for class org.robolectric.plugins.ConfigConfigurer
- ConfigDescription - Class in org.robolectric.res.android
-
transliterated from https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r12/tools/aapt2/ConfigDescription.cpp
- ConfigDescription() - Constructor for class org.robolectric.res.android.ConfigDescription
- ConfigDescription.LocaleValue - Class in org.robolectric.res.android
- ConfigMerger - Class in org.robolectric
-
Deprecated.Provide an implementation of
Provider
. This class will be removed in Robolectric 4.3. - ConfigMerger() - Constructor for class org.robolectric.ConfigMerger
-
Deprecated.
- configs - Variable in class org.robolectric.res.android.ResTable.Type
- configurationChange() - Method in class org.robolectric.android.controller.ActivityController
-
Performs a configuration change on the Activity.
- configurationChange(Configuration) - Method in class org.robolectric.android.controller.ActivityController
-
Performs a configuration change on the Activity.
- configurationChange(Configuration, DisplayMetrics, int) - Method in class org.robolectric.android.controller.ActivityController
-
Performs a configuration change on the Activity.
- ConfigurationImpl() - Constructor for class org.robolectric.plugins.HierarchicalConfigurationStrategy.ConfigurationImpl
- ConfigurationRegistry - Class in org.robolectric.config
-
Holds configuration objects for the current test, computed using
Configurer
. - ConfigurationRegistry(Map<Class<?>, Object>) - Constructor for class org.robolectric.config.ConfigurationRegistry
- ConfigurationStrategy - Interface in org.robolectric.pluginapi.config
-
Strategy for configuring individual tests.
- ConfigurationStrategy.Configuration - Interface in org.robolectric.pluginapi.config
-
Heterogeneous typesafe collection of configuration objects managed by their
Configurer
. - ConfigurationV25 - Class in org.robolectric.android
- ConfigurationV25() - Constructor for class org.robolectric.android.ConfigurationV25
- configure(ClassHandler, Interceptors) - Method in class org.robolectric.internal.bytecode.Sandbox
- configure(InstrumentationConfiguration.Builder, Interceptors) - Method in class org.robolectric.config.AndroidConfigurer
- CONFIGURE_GEO_DETECTION_CAPABILITY - Static variable in class org.robolectric.shadows.ShadowTimeManager
- configureDefaultDisplay(Configuration, DisplayMetrics) - Static method in class org.robolectric.shadows.ShadowDisplayManager
-
internal only
- configureDefaultDisplayForJBOnly(Configuration, DisplayMetrics) - Static method in class org.robolectric.shadows.ShadowWindowManagerImpl
-
internal only
- configuredSdks(Config, UsesSdk) - Method in class org.robolectric.plugins.DefaultSdkPicker
- Configurer<T> - Interface in org.robolectric.pluginapi.config
-
Provides configuration data for tests.
- configureSandbox(Sandbox, FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
- ConfigUtils - Class in org.robolectric.annotation.internal
- connect() - Method in class org.robolectric.shadows.ShadowBasicTagTechnology
- connect() - Method in class org.robolectric.shadows.ShadowBluetoothGatt
-
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(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.
- ConscryptMode - Annotation Type in org.robolectric.annotation
-
Annotation for Conscrypt modes in Robolectric.
- ConscryptMode.Mode - Enum in org.robolectric.annotation
-
Specifies the different supported Conscrypt modes.
- ConscryptModeConfigurer - Class in org.robolectric.plugins
-
Provides configuration to Robolectric for its @
ConscryptMode
annotation. - ConscryptModeConfigurer(Properties) - Constructor for class org.robolectric.plugins.ConscryptModeConfigurer
- CONSTANT_IDLE - org.robolectric.util.Scheduler.IdleState
-
The
Scheduler
will automatically execute any runnables (past, present or future) as soon as they are posted and advance the clock if necessary. - 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
- ContentProviderController<T extends ContentProvider> - Class in org.robolectric.android.controller
- ContentProviderData - Class in org.robolectric.manifest
- ContentProviderData(String, MetaData, String, Map<String, String>, List<PathPermissionData>) - Constructor for class org.robolectric.manifest.ContentProviderData
- context - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- contextPackageName - Variable in class org.robolectric.res.AttributeResource
- controlTransfer(int, int, int, int, byte[], int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- controlTransfer(int, int, int, int, byte[], int, int, int) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- Converter<T> - Class in org.robolectric.shadows
- Converter() - Constructor for class org.robolectric.shadows.Converter
- Converter.FromArray - Class in org.robolectric.shadows
- Converter.FromAttrData - Class in org.robolectric.shadows
- Converter.FromCharSequence - Class in org.robolectric.shadows
- Converter.FromColor - Class in org.robolectric.shadows
- Converter.FromFilePath - Class in org.robolectric.shadows
- Converter2<T> - Class in org.robolectric.shadows
- Converter2() - Constructor for class org.robolectric.shadows.Converter2
- Converter2.FromCharSequence - Class in org.robolectric.shadows
- Converter2.FromColor - Class in org.robolectric.shadows
- convertRawValue(String) - Method in interface org.robolectric.res.ResourceValueConverter
- convertToShadowName(String) - Static method in class org.robolectric.internal.bytecode.ShadowMap
-
Deprecated.do not use
- cookie - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
- copy() - Method in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
- copy() - Method in class org.robolectric.res.android.ResourceTypes.Res_value
- copy() - Method in class org.robolectric.res.ThemeStyleSet
- copy() - Method in class org.robolectric.shadows.ShadowWifiConfiguration
- copy(Bitmap.Config, boolean) - Method in class org.robolectric.shadows.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
-
Deprecated.
- 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
- Counter() - Constructor for class org.robolectric.shadows.ShadowTrace.Counter
- country - Variable in class org.robolectric.res.android.ResTable_config
-
Returns a packed 2-byte country code.
- CppApkAssets - Class in org.robolectric.res.android
- CppApkAssets(ZipArchiveHandle, String) - Constructor for class org.robolectric.res.android.CppApkAssets
- CppAssetManager - Class in org.robolectric.res.android
- CppAssetManager() - Constructor for class org.robolectric.res.android.CppAssetManager
- CppAssetManager2 - Class in org.robolectric.res.android
- CppAssetManager2() - Constructor for class org.robolectric.res.android.CppAssetManager2
- CppAssetManager2.PackageFunc - Interface in org.robolectric.res.android
- CppAssetManager2.ResolvedBag - Class in org.robolectric.res.android
- CppAssetManager2.ResolvedBag.Entry - Class in org.robolectric.res.android
- CppAssetManager2.ResourceName - Class in org.robolectric.res.android
- CppAssetManager2.Theme - Class in org.robolectric.res.android
- create() - Method in class org.robolectric.android.controller.ActivityController
- create() - Method in class org.robolectric.android.controller.BackupAgentController
- create() - Method in class org.robolectric.android.controller.ComponentController
- create() - Method in class org.robolectric.android.controller.ContentProviderController
-
Create and register
ContentProvider
usingProviderInfo
found from manifest. - create() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- create() - Method in class org.robolectric.android.controller.IntentServiceController
- create() - Method in class org.robolectric.android.controller.ServiceController
- create() - Static method in class org.robolectric.shadows.GnssStatusBuilder
-
Deprecated.Creates a new
GnssStatusBuilder
. - create() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Simulates the creation of the
VoiceInteractionSession
, as if it was being created by the framework. - create() - Method in class org.robolectric.util.SoftThreadLocal
- create(int, int, byte[]) - Static method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
- create(int, long) - Static method in class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
- create(int, Bundle) - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.Creates the activity with
Bundle
and adds the fragment to the view with IDcontentViewId
. - 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 givenProviderInfo
. - 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(Typeface, int, boolean) - 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(String) - Method in class org.robolectric.android.controller.ContentProviderController
-
Create and register
ContentProvider
usingProviderInfo
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
-
Deprecated.Use
Bitmap.createBitmap(int, int, Config)
to create a simple Bitmap or any of the BitmapFactory.decode methods with real image data. - create(String, BitmapFactory.Options, Point) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
-
Deprecated.Use
Bitmap.createBitmap(int, int, Config)
to create a simple Bitmap or any of the BitmapFactory.decode methods with real image data. - create(Path, String) - Static method in class org.robolectric.res.builder.XmlBlock
- create(KeyPair, Certificate[]) - Static method in class org.robolectric.shadows.AttestedKeyPairFactory
-
Create AttestedKeyPair.
- createActiveRecordingConfiguration(int, int, String) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Creates simple active recording configuration.
- createActivityContext(ActivityThread, LoadedApk, ActivityInfo, IBinder, int, Configuration) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- createAdapter(Object) - Static method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Requires LooseSignatures because of
AttributionSource
parameter - 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
- createAudioPlaybackConfiguration(AudioAttributes) - Method in class org.robolectric.shadows.ShadowAudioManager
- createAuthenticationResult() - Method in class org.robolectric.shadows.ShadowFingerprintManager
- createBitmap(int[], int, int, int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowBitmap
- createBitmap(int, int, Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowBitmap
- createBitmap(int, int, Bitmap.Config, boolean, ColorSpace) - 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, int, int, int, Bitmap.Config) - 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.
- createBuffer(AssetManager, String, boolean, int) - Static method in class org.robolectric.shadows.ShadowFontBuilder
-
Re-implement to avoid call to DirectByteBuffer#array, which is not supported on JDK
- createCaptureRequest(int) - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
- createCaptureSession(SessionConfiguration) - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
- createCaptureSession(List<Surface>, CameraCaptureSession.StateCallback, Handler) - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
- createClassHandler(ShadowMap, Sandbox) - Method in class org.robolectric.internal.SandboxTestRunner
- createClassHandler(ShadowMap, Sandbox) - Method in class org.robolectric.RobolectricTestRunner
-
Create a
ClassHandler
appropriate for the given arguments. - createClassLoaderConfig(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
-
Create an
InstrumentationConfiguration
suitable for the providedFrameworkMethod
. - createClassLoaderConfig(FrameworkMethod) - Method in class org.robolectric.RobolectricTestRunner
-
Create an
InstrumentationConfiguration
suitable for the providedFrameworkMethod
. - createClient(Context, ContextHubInfo, PendingIntent, long) - Method in class org.robolectric.shadows.ShadowContextHubManager
- createClient(Object, Object) - Method in class org.robolectric.shadows.ShadowContextHubManager
- createClient(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowContextHubManager
- createClient(Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowContextHubManager
- createConfirmFactoryResetCredentialIntent(CharSequence, CharSequence, CharSequence) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
Returns the intent set via
ShadowKeyguardManager.setConfirmFactoryResetCredentialIntent(Intent)
, otherwise null. - 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
- createdCameras - Static variable in class org.robolectric.shadows.ShadowCameraManager
- 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
- createDirectChannel(MemoryFile) - Method in class org.robolectric.shadows.ShadowSensorManager
- createExecutorService() - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
- createFetchToFileTask(URL, File) - Method in class org.robolectric.internal.dependency.MavenArtifactFetcher
- createFile(String, String) - Method in class org.robolectric.util.TempDirectory
- createForCardId(int) - Method in class org.robolectric.shadows.ShadowEuiccManager
- createForPhoneAccountHandle(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default or the value specified viaShadowTelephonyManager.setTelephonyManagerForHandle(PhoneAccountHandle, TelephonyManager)
. - createForSubscriptionId(int) - Static method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Returns only one instance per subscription id.
- createForSubscriptionId(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default or the value specified viaShadowTelephonyManager.setTelephonyManagerForSubscriptionId(int, TelephonyManager)
- 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
- createFromShadowProviders(List<ShadowProvider>) - Static method in class org.robolectric.internal.bytecode.ShadowMap
- createFromStream(InputStream, String) - Static method in class org.robolectric.shadows.ShadowDrawable
- createFuture(Callable<Result>) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
- 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
- createHitTestResult(int, String) - Static method in class org.robolectric.shadows.ShadowWebView
-
Creates an instance of
WebView.HitTestResult
. - createIfNotExists(String) - Method in class org.robolectric.util.TempDirectory
- createImmutableFrameworkIdmapsInZygote() - Method in class org.robolectric.shadows.ShadowOverlayConfig
- createInsecureL2capChannel(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- createInstance(Context) - Static method in class org.robolectric.shadows.ShadowCookieSyncManager
- createInstanceInfo(ContextHubInfo, int, long, int) - Method in class org.robolectric.shadows.ShadowContextHubManager
-
Creates and returns a
NanoAppInstanceInfo
. - createL2capChannel(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- createLaunchEmergencyDialerIntent(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
- createListener - Static variable in class org.robolectric.shadows.ShadowMediaPlayer
-
Listener that is called when a new MediaPlayer is constructed.
- createLockFile() - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
- createManageBlockedNumbersIntent() - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Returns the intent set by
ShadowTelecomManager.setManageBlockNumbersIntent(Intent)
()} - createMavenFetcher(String, String, String, File, ExecutorService) - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
- 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
- createOnDeviceSpeechRecognizer(Context) - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
- createPackage(AndroidManifest) - Static method in class org.robolectric.shadows.LegacyManifestParser
- createPair() - Static method in class org.robolectric.fakes.RoboWebMessagePort
- createPathFromPathData(String) - Static method in class org.robolectric.shadows.ShadowPathParser
- createPipe() - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- createProfile(String, String, Set<String>) - Method in class org.robolectric.shadows.ShadowUserManager
- createProxy(Class<T>, T) - Method in class org.robolectric.internal.bytecode.ProxyMaker
-
Deprecated.
- createReliablePipe() - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- createRequestInteractAcrossProfilesIntent() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns an intent with the same action as the one returned by system when requesting the same.
- createRfcommSocketToServiceRecord(UUID) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- createScaledBitmap(Bitmap, int, int, boolean) - Static method in class org.robolectric.shadows.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 ofSensor
which is being emulated. - createSensorEvent(int, int) - Static method in class org.robolectric.shadows.ShadowSensorManager
-
Creates a
SensorEvent
for the givenSensor
type 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
- createSpeechRecognizer(Context, ComponentName) - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
- 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_
- createTelephonyDisplayInfo(int, int) - Static method in class org.robolectric.shadows.ShadowTelephonyManager
-
Creates a
TelephonyDisplayInfo
. - 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.
- createUnderlyingTypeface(String, int) - Static method in class org.robolectric.shadows.ShadowTypeface
- createView(Context, int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- createWebMessageChannel() - Method in class org.robolectric.shadows.ShadowWebView
- createWidget(Class<? extends AppWidgetProvider>, int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Creates a widget by inflating its layout.
- createWidgets(Class<? extends AppWidgetProvider>, int, int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Creates a bunch of widgets by inflating the same layout multiple times.
- createWifiLock(int, String) - Method in class org.robolectric.shadows.ShadowWifiManager
- createWifiLock(String) - Method in class org.robolectric.shadows.ShadowWifiManager
- CREATOR - Static variable in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- CREATOR - Static variable in class org.robolectric.shadows.ShadowSigningInfo
- 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
- currentApplication() - Static method in class org.robolectric.shadows.ShadowActivityThread
- currentElement - Variable in class org.robolectric.annotation.processing.validator.Validator
- currentGnssTimeClock() - Static method in class org.robolectric.shadows.ShadowSystemClock
- currentModeType - Variable in class org.robolectric.shadows.ShadowUIModeManager
- currentNetworkTimeMillis() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- currentNetworkTimeMillis() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- currentNightMode - Variable in class org.robolectric.shadows.ShadowUIModeManager
- currentSegment(double[]) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
- currentSegment(float[]) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
- currentSegment(float[], float) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
-
Returns the current segment up to certain length.
- currentThreadTimeMicro() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- currentThreadTimeMicro() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- currentThreadTimeMillis() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- currentThreadTimeMillis() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- currentTimeMicro() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- currentTimeMicro() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- currentTimeMillis() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
-
Implements
System.currentTimeMillis()
through ShadowWrangler. - currentTimeMillis() - Static method in class org.robolectric.shadows.ShadowSystem
-
Implements
System.currentTimeMillis()
through ShadowWrangler. - currentTimeMillis() - Static method in class org.robolectric.shadows.ShadowSystemClock
-
Implements
System.currentTimeMillis()
through ShadowWrangler. - currentToCanonicalPackageNames(String[]) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- CursorWindowNatives - Class in org.robolectric.nativeruntime
-
Native methods for CursorWindow JNI registration.
D
- d(String, String) - Static method in class org.robolectric.shadows.ShadowLog
- d(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
- 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
- dataChanged() - Method in class org.robolectric.shadows.ShadowBackupManager
- 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
,ShadowMediaMetadataRetriever
, andShadowMediaExtractor
- DataSource.FileDescriptorTransform - Interface in org.robolectric.shadows.util
-
Transform a
FileDescriptor
to a string. - dataType - Variable in class org.robolectric.res.android.ResourceTypes.Res_value
- DataType - Enum in org.robolectric.res.android
-
Resource type codes.
- deactivate() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- deactivate() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- debug(String, Object...) - Static method in class org.robolectric.util.Logger
-
Log a debug message.
- declareActionUnbindable(String) - Method in class org.robolectric.shadows.ShadowApplication
- declareComponentUnbindable(ComponentName) - Method in class org.robolectric.shadows.ShadowApplication
-
Configures the ShadowApplication so that bindService calls for the given ComponentName return false and do not call onServiceConnected.
- decodeByteArray(byte[], int, int) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- decodeByteArray(byte[], int, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- decodeFile(String) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- decodeFile(String, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- decodeFileDescriptor(FileDescriptor, Rect, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- decoder() - Method in enum org.robolectric.res.android.ResourceString.Type
- decodeRegion(Rect, BitmapFactory.Options) - Method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
- decodeResource(Resources, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- 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
- deepEquals(Object) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- 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_MIN_BUFFER_SIZE - Static variable in class org.robolectric.shadows.ShadowAudioTrack
- DEFAULT_PACKAGE_NAME - Static variable in annotation type org.robolectric.annotation.Config
- DEFAULT_QUALIFIERS - Static variable in annotation type org.robolectric.annotation.Config
- DEFAULT_RES_FOLDER - Static variable in annotation type org.robolectric.annotation.Config
- DEFAULT_SCREEN_SIZE - Static variable in class org.robolectric.android.DeviceConfig
- DEFAULT_SDK - Static variable in annotation type org.robolectric.annotation.Implementation
- DEFAULT_SECONDARY_USER_ID - Static variable in class org.robolectric.shadows.ShadowUserManager
-
The default user ID user for secondary user testing, when the ID is not otherwise specified.
- DEFAULT_STORAGE_FREE_BYTES - Static variable in class org.robolectric.shadows.ShadowStorageStatsManager
- DEFAULT_STORAGE_TOTAL_BYTES - Static variable in class org.robolectric.shadows.ShadowStorageStatsManager
- DEFAULT_VALUE_INT - Static variable in annotation type org.robolectric.annotation.Config
- DEFAULT_VALUE_STRING - Static variable in annotation type org.robolectric.annotation.Config
- DEFAULT_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
- defaultConfig() - Method in interface org.robolectric.pluginapi.config.Configurer
-
Returns the default configuration for tests that do not specify a configuration of this type.
- defaultConfig() - Method in class org.robolectric.plugins.ConfigConfigurer
- defaultConfig() - Method in class org.robolectric.plugins.ConscryptModeConfigurer
- defaultConfig() - Method in class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
- defaultConfig() - Method in class org.robolectric.plugins.LazyApplicationConfigurer
- defaultConfig() - Method in class org.robolectric.plugins.LooperModeConfigurer
- defaultConfig() - Method in class org.robolectric.plugins.SQLiteModeConfigurer
- 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.
- DefaultNativeRuntimeLoader - Class in org.robolectric.nativeruntime
-
Loads the Robolectric native runtime.
- DefaultNativeRuntimeLoader() - Constructor for class org.robolectric.nativeruntime.DefaultNativeRuntimeLoader
- DefaultRequestDirector - Class in org.robolectric.shadows.httpclient
-
Default implementation of
RequestDirector
. - DefaultRequestDirector(Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Constructor for class org.robolectric.shadows.httpclient.DefaultRequestDirector
- DefaultRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Constructor for class org.robolectric.shadows.httpclient.DefaultRequestDirector
- DefaultRequestMatcher(String, String) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.DefaultRequestMatcher
- defaults() - Static method in class org.robolectric.annotation.Config.Builder
-
This returns actual default values where they exist, in the sense that we could use the values, rather than markers like
-1
or--default
. - DefaultSdk(int, String, String, String, int) - Constructor for class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
- DefaultSdkPicker - Class in org.robolectric.plugins
-
Robolectric's default
SdkPicker
. - DefaultSdkPicker(SdkCollection, String) - Constructor for class org.robolectric.plugins.DefaultSdkPicker
- DefaultSdkPicker(SdkCollection, Properties) - Constructor for class org.robolectric.plugins.DefaultSdkPicker
- DefaultSdkProvider - Class in org.robolectric.plugins
-
Robolectric's default
SdkProvider
. - DefaultSdkProvider(DependencyResolver) - Constructor for class org.robolectric.plugins.DefaultSdkProvider
- DefaultSdkProvider.DefaultSdk - Class in org.robolectric.plugins
-
Represents an Android SDK stored at Maven Central.
- defaultsFor(Class<A>) - Static method in class org.robolectric.util.ReflectionHelpers
- DefaultTestLifecycle - Class in org.robolectric
-
The default
TestLifecycle
used by Robolectric. - DefaultTestLifecycle() - Constructor for class org.robolectric.DefaultTestLifecycle
- defaultValueForType(String) - Static method in class org.robolectric.util.ReflectionHelpers
- defineEntityReplacementText(String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
- delay - Variable in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
- delete() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- delete(Uri, String, String[]) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- delete(Uri, String, String[]) - Method in class org.robolectric.shadows.ShadowContentResolver
-
If a
ContentProvider
is registered for the givenUri
, itsContentProvider.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
- deleteModule(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Deletes a module when given the module's package name
ModuleInfo
be sure to give the correct name as this method does not ensure existence of the module before deletion. - deleteNotificationChannel(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
- deleteNotificationChannelGroup(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Delete a notification channel group and all notification channels associated with the group.
- deletePackage(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Uninstalls the package from the system in a way, that will allow its discovery through
PackageManager.MATCH_UNINSTALLED_PACKAGES
. - deletePackage(String, IPackageDeleteObserver, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- deletePackage(String, IPackageDeleteObserver, int) - Method in class org.robolectric.shadows.ShadowPackageManager
- deletePackageAsUser(String, IPackageDeleteObserver, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- 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 - org.robolectric.res.android.ResTable_config.Type
- DENSITY_DPI_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_DPI_MDPI - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_DPI_NONE - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_DPI_UNDEFINED - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_HIGH - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_LOW - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_MEDIUM - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_NONE - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_TV - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_XHIGH - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_XXHIGH - Static variable in class org.robolectric.res.android.ResTable_config
- DENSITY_XXXHIGH - Static variable in class org.robolectric.res.android.ResTable_config
- DENY_ALL - org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
-
Automatically denies all call requests.
- denyIncomingCall(ShadowTelecomManager.IncomingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
- denyOutgoingCall(ShadowTelecomManager.OutgoingCallRecord) - Method in class org.robolectric.shadows.ShadowTelecomManager
- denyPermissions(int, int, String...) - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Revoke the given permissions for the given process and user.
- denyPermissions(String...) - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Revoke the given permissions for the current process and user.
- DependencyJar - Class in org.robolectric.internal.dependency
- DependencyJar(String, String, String) - Constructor for class org.robolectric.internal.dependency.DependencyJar
- DependencyJar(String, String, String, String) - Constructor for class org.robolectric.internal.dependency.DependencyJar
- DependencyResolver - Interface in org.robolectric.internal.dependency
-
Provides mapping between a Maven coordinate (e.g.
- DeprecatedMethodMarkerException - Exception in org.robolectric.internal
- DeprecatedMethodMarkerException() - Constructor for exception org.robolectric.internal.DeprecatedMethodMarkerException
- DeprecatedMethodsCheck - Class in org.robolectric.errorprone.bugpatterns
-
Checks for the deprecated methods.
- DeprecatedMethodsCheck() - Constructor for class org.robolectric.errorprone.bugpatterns.DeprecatedMethodsCheck
- DeprecatedTestRunnerDefaultConfigProvider() - Constructor for class org.robolectric.RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider
-
Deprecated.
- describeContents() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- describeContents() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- description - Variable in class org.robolectric.res.android.ResourceTable.flag_entry
- description() - Method in class org.robolectric.shadows.ShadowAccessibilityService.GestureDispatch
-
The description of the gesture to be dispatched.
- destroy() - Method in class org.robolectric.android.controller.ActivityController
- destroy() - Method in class org.robolectric.android.controller.BackupAgentController
- destroy() - Method in class org.robolectric.android.controller.ComponentController
- destroy() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- destroy() - Method in class org.robolectric.android.controller.IntentServiceController
- destroy() - Method in class org.robolectric.android.controller.ServiceController
- destroy() - Method in class org.robolectric.shadows.ShadowWebView
- 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 theShadowBluetoothServerSocket.accept(int)
method. - deviceHasKeys(int, int[]) - Method in class org.robolectric.shadows.ShadowInputManager
- DeviceStateSensorOrientationBuilder - Class in org.robolectric.shadows
-
Builder for
DeviceStateSensorOrientationMap
which was introduced in Android T. - didClearCacheIncludeDiskFiles() - Method in class org.robolectric.shadows.ShadowWebView
- didRequestLayout() - Method in class org.robolectric.shadows.ShadowView
- DIMEN - org.robolectric.res.ResType
- DIMENSION - org.robolectric.res.android.DataType
-
data
holds a complex number encoding a dimension value, such as "100in". - direct() - Method in annotation type org.robolectric.util.reflector.ForType
- Direct - Annotation Type in org.robolectric.util.reflector
-
Indicates that the annotated method should use the original $$robo$$-prefixed implementation so that it can be invoked in the shadow for the method.
- directInitialize(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- directInitialize(Class<?>) - Method in interface org.robolectric.internal.IShadow
- directInitialize(Class<?>) - Static method in class org.robolectric.shadow.api.Shadow
- directlyOn(Class<T>, String, ReflectionHelpers.ClassParameter...) - 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
- directMethodName(MutableClass, String) - Static method in class org.robolectric.internal.bytecode.ClassInstrumentor
- DirectObjectMarker - Class in org.robolectric.internal.bytecode
- disable() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- disable() - Method in class org.robolectric.shadows.ShadowNfcAdapter
- disable(int) - Method in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE_CLOCK - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE_EXPAND - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE_HOME - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE_NONE - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE_NOTIFICATION_ALERTS - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE_RECENT - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE_SEARCH - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- disable2(int) - Method in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE2_NONE - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- DISABLE2_ROTATE_SUGGESTIONS - Static variable in class org.robolectric.shadows.ShadowStatusBarManager
- disableCarMode(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- disableForegroundDispatch(Activity) - Method in class org.robolectric.shadows.ShadowNfcAdapter
- disableKeyguard() - Method in class org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock
-
Sets the value to be returned by
ShadowKeyguardManager.ShadowKeyguardLock.isEnabled()
to false. - disableNetwork(int) - Method in class org.robolectric.shadows.ShadowWifiManager
- disableReaderMode(Activity) - Method in class org.robolectric.shadows.ShadowNfcAdapter
- disableScoring() - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
- disableShortcuts(List<String>) - Method in class org.robolectric.shadows.ShadowShortcutManager
- disableShortcuts(List<String>, CharSequence) - Method in class org.robolectric.shadows.ShadowShortcutManager
- disassociate(int) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- disassociate(String) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- dismiss() - Method in class org.robolectric.shadows.ShadowDialog
- dismiss() - Method in class org.robolectric.shadows.ShadowPopupMenu
- dismissDialog(int) - Method in class org.robolectric.shadows.ShadowActivity
- dispatchActivityResult(String, int, int, Intent) - Method in interface org.robolectric.shadows._Activity_
- dispatchActivityResult(String, int, int, Intent, String) - Method in interface org.robolectric.shadows._Activity_
- dispatchGesture(GestureDescription, AccessibilityService.GestureResultCallback, Handler) - Method in class org.robolectric.shadows.ShadowAccessibilityService
- dispatchResized(int, int, Rect, Rect, boolean, Configuration) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect, Rect, Rect, boolean, Configuration) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect, Rect, Rect, Rect, boolean, Configuration) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect, Rect, Rect, Rect, Rect, boolean, Configuration) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Configuration) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Configuration, Rect, boolean, boolean) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Object, Rect, boolean, boolean, int) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchResized(Rect, Rect, Rect, Rect, Rect, Rect, boolean, Object, Rect, boolean, boolean, int, Object) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- dispatchTagDiscovered(Tag) - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Dispatches the tag onto any registered readers.
- displayCompletions(View, CompletionInfo[]) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- DisplayConfig - Class in org.robolectric.android.internal
-
Describes the characteristics of a particular logical display.
- DisplayConfig() - Constructor for class org.robolectric.android.internal.DisplayConfig
- DisplayConfig(DisplayInfo) - Constructor for class org.robolectric.android.internal.DisplayConfig
- DisplayConfig(DisplayConfig) - Constructor for class org.robolectric.android.internal.DisplayConfig
- displayCutout - Variable in class org.robolectric.android.internal.DisplayConfig
-
The area of the display that is not functional for displaying content
- displaySet - Static variable in class org.robolectric.android.Bootstrap
-
internal only
- dispose() - Method in class org.robolectric.shadows.ShadowCursorWindow
- dispose(boolean) - Method in interface org.robolectric.shadows.ShadowDisplayEventReceiver.DisplayEventReceiverReflector
- dispose(boolean) - Method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- dispose(boolean) - Method in class org.robolectric.shadows.ShadowInputEventReceiver
- dispose(boolean) - Method in class org.robolectric.shadows.ShadowSQLiteConnection
- DO_NOTHING - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- DO_NOTHING_HANDLER - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- DO_NOTHING_METHOD - Static variable in class org.robolectric.internal.bytecode.ShadowWrangler
- DocumentedElement - Class in org.robolectric.annotation.processing
- DocumentedElement(String) - Constructor for class org.robolectric.annotation.processing.DocumentedElement
- DocumentedMethod - Class in org.robolectric.annotation.processing
- DocumentedMethod(String) - Constructor for class org.robolectric.annotation.processing.DocumentedMethod
- DocumentedPackage - Class in org.robolectric.annotation.processing
- DocumentedType - Class in org.robolectric.annotation.processing
- DocumentLoader - Class in org.robolectric.res
- DocumentLoader(String, Path) - Constructor for class org.robolectric.res.DocumentLoader
- documentMethod(TypeElement, DocumentedMethod) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
- documentPackage(String, String) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
- documentType(TypeElement, String, List<String>) - Method in class org.robolectric.annotation.processing.RobolectricModel.Builder
- doFrame(long, int) - Method in interface org.robolectric.shadows.ShadowChoreographer.ChoreographerReflector
- doFrame(long, int) - Method in class org.robolectric.shadows.ShadowChoreographer
- doLoad() - Method in class org.robolectric.shadows.util.SQLiteLibraryLoader
- done() - Method in class org.robolectric.util.SimpleFuture
-
Deprecated.
- doNotAcquireClass(Class<?>) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotAcquireClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotAcquirePackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- DoNotInstrument - Annotation Type in org.robolectric.annotation.internal
-
Indicates that a class should not be stripped/instrumented under any circumstances.
- doNotInstrumentClass(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotInstrumentPackage(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- doNotUseSetCrashOnIncorrectUsage(boolean) - Static method in class org.robolectric.shadows.ShadowTrace
-
Do not use this method unless absolutely necessary.
- doParse(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxDocumentLoader
- doPendingUninstallCallbacks() - Method in class org.robolectric.shadows.ShadowPackageManager
-
Runs the callbacks pending from calls to
PackageManager.deletePackage(String, IPackageDeleteObserver, int)
- doSetDataSource(DataSource) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Sets the data source without doing any other emulation.
- doStart() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Starts simulated playback.
- doStart() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimator
- doStart() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
- doStop() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Pauses simulated playback.
- downloadMultimediaMessage(Context, String, Uri, Bundle, PendingIntent) - Method in class org.robolectric.shadows.ShadowSmsManager
- downloadMultimediaMessage(Context, String, Uri, Bundle, PendingIntent, long) - Method in class org.robolectric.shadows.ShadowSmsManager
- DownloadMultimediaMessageParams(Uri, String, Bundle, PendingIntent, long) - Constructor for class org.robolectric.shadows.ShadowSmsManager.DownloadMultimediaMessageParams
- DragEventBuilder - Class in org.robolectric.shadows
-
Builder for
DragEvent
. - drainMainThreadUntilIdle() - Method in class org.robolectric.android.internal.LocalControlledLooper
- draw(Canvas) - Method in class org.robolectric.shadows.ShadowBitmapDrawable
-
Draws the contained bitmap onto the canvas at 0,0 with a default
Paint
- draw(Canvas) - Method in class org.robolectric.shadows.ShadowView
- DRAWABLE - org.robolectric.res.ResType
- 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
- drawRect(Rect, Paint) - Method in class org.robolectric.shadows.ShadowCanvas
- drawRoundRect(RectF, 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
- duration() - Method in class org.robolectric.shadows.ShadowToneGenerator.Tone
- DURATION - Static variable in class org.robolectric.shadows.ShadowAppOpsManager
- durationHint - Variable in class org.robolectric.shadows.ShadowAudioManager.AudioFocusRequest
- DYNAMIC_ATTRIBUTE - org.robolectric.res.android.DataType
-
data
holds an attribute resource identifier, which needs to be resolved before it can be used like a TYPE_ATTRIBUTE. - DYNAMIC_REFERENCE - org.robolectric.res.android.DataType
-
data
holds a dynamicResourceTableChunk
entry reference. - DynamicRefTable - Class in org.robolectric.res.android
-
Holds the shared library ID table.
E
- e(String, String) - Static method in class org.robolectric.shadows.ShadowLog
- e(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
- eglChooseConfig(EGLDisplay, int[], int, EGLConfig[], int, int, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglCreateContext(EGLDisplay, EGLConfig, EGLContext, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglCreatePbufferSurface(EGLDisplay, EGLConfig, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglCreateWindowSurface(EGLDisplay, EGLConfig, Object, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglGetDisplay(int) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglGetError() - Static method in class org.robolectric.shadows.ShadowEGL14
- eglInitialize(EGLDisplay, int[], int, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglMakeCurrent(EGLDisplay, EGLSurface, EGLSurface, EGLContext) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglQueryContext(EGLDisplay, EGLContext, int, int[], int) - Static method in class org.robolectric.shadows.ShadowEGL14
- eglSwapBuffers(EGLDisplay, EGLSurface) - Static method in class org.robolectric.shadows.ShadowEGL14
- elapsedRealtime() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- elapsedRealtime() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- elapsedRealtimeNanos() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- elapsedRealtimeNanos() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- elements - Variable in class org.robolectric.annotation.processing.validator.Validator
- ellipsize(CharSequence, TextPaint, float, TextUtils.TruncateAt) - Static method in class org.robolectric.shadows.ShadowTextUtils
- EMPTY_VALUE - Static variable in class org.robolectric.res.AttributeResource
- EmptyStyle - Class in org.robolectric.res
- EmptyStyle() - Constructor for class org.robolectric.res.EmptyStyle
- EMULATE - org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
- emulateRequest(HttpHost, HttpRequest, HttpContext, RequestDirector) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- enable() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- enable() - Method in class org.robolectric.shadows.ShadowNfcAdapter
- enableCarMode(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- enableCarMode(int, int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- enableForegroundDispatch(Activity, PendingIntent, IntentFilter[], String[][]) - Method in class org.robolectric.shadows.ShadowNfcAdapter
- enableNetwork(int, boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
- enablePhoneAccount(PhoneAccountHandle, boolean) - Method in class org.robolectric.shadows.ShadowTelecomManager
- enableReaderMode(Activity, NfcAdapter.ReaderCallback, int, Bundle) - Method in class org.robolectric.shadows.ShadowNfcAdapter
- enableShortcuts(List<String>) - Method in class org.robolectric.shadows.ShadowShortcutManager
- enableShutterSound(boolean) - Method in class org.robolectric.shadows.ShadowCamera
- enableSmoothTransition() - Method in class org.robolectric.fakes.RoboWebSettings
- enableSystemApp(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- encodeString(String, ResourceString.Type) - Static method in class org.robolectric.res.android.ResourceString
-
Encodes a string in either UTF-8 or UTF-16 and returns the bytes of the encoded string.
- encoding - Variable in class org.robolectric.shadows.ShadowWebView.LoadData
- encoding - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
- end() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimator
- end() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
- END - org.robolectric.shadows.ShadowMediaPlayer.State
- END - Static variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_span
- END_DOCUMENT - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- END_NAMESPACE - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- END_TAG - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- endAsyncSection(String, int) - Static method in class org.robolectric.shadows.ShadowTrace
-
Ends async trace trace section.
- endCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- endSection() - Static method in class org.robolectric.shadows.ShadowTrace
-
Ends the most recent active trace section.
- enforceInstallerCheck(boolean) - Method in class org.robolectric.shadows.ShadowLocaleManager
-
Sets the value of
ShadowLocaleManager.enforceInstallerCheck
. - enforcePermissionChecks(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
- 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
- ensureLoaded() - Method in class org.robolectric.nativeruntime.DefaultNativeRuntimeLoader
- ensureLoaded() - Method in interface org.robolectric.pluginapi.NativeRuntimeLoader
- ensureProviderCreated() - Method in class org.robolectric.shadows.ShadowWebView
- ensureStringBlocks() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- enterPictureInPictureMode() - Method in class org.robolectric.shadows.ShadowActivity
- enterPictureInPictureMode(PictureInPictureParams) - Method in class org.robolectric.shadows.ShadowActivity
- entityContentStreamsHaveBeenClosed() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- entries - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag
- entries() - Method in class org.robolectric.res.android.DynamicRefTable
- entry - Variable in class org.robolectric.res.android.CppAssetManager2.ResourceName
- Entry() - Constructor for class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
- Entry() - Constructor for class org.robolectric.res.android.ResTable.Entry
- entry_count - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag
- entryCount - Variable in class org.robolectric.res.android.ResTable.Type
- enumerateEnabledSdks(SdkCollection, String) - Static method in class org.robolectric.plugins.DefaultSdkPicker
- EpsBearerQosSessionAttributesBuilder - Class in org.robolectric.shadows
-
Class to build
EpsBearerQosSessionAttributes
. - equals(Object) - Method in class org.robolectric.android.internal.DisplayConfig
- equals(Object) - Method in class org.robolectric.fakes.RoboIntentSender
- equals(Object) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- equals(Object) - Method in class org.robolectric.internal.bytecode.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.RobolectricTestRunner.RobolectricFrameworkMethod
- equals(Object) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Equality check based on reference equality of the Views from which these instances were created, or the equality of their assigned IDs.
- equals(Object) - Method in class org.robolectric.shadows.ShadowArscApkAssets9.Key
- equals(Object) - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- equals(Object) - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
-
Deprecated.
- equals(Object) - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- equals(Object) - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- 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.ShadowRegion
-
The real
Region.equals(Object)
calls into native code, which is a no-op in Robolectric, and will always return false no matter what is compared. - equals(Object) - Method in class org.robolectric.shadows.ShadowSoundPool.Playback
- equals(Object) - Method in class org.robolectric.shadows.ShadowTypeface
- equals(Object) - Method in class org.robolectric.shadows.ShadowTypeface.FontDesc
- equals(Object) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- equals(Object) - Method in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
- equals(Object) - Method in class org.robolectric.shadows.util.DataSource
- equals(Object) - Method in class org.robolectric.util.inject.Injector.Key
- equals(DisplayConfig) - Method in class org.robolectric.android.internal.DisplayConfig
- eraseColor(int) - Method in class org.robolectric.shadows.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
- ERROR - org.robolectric.annotation.processing.validator.ImplementsValidator.SdkCheckMode
- ERROR - org.robolectric.shadows.ShadowMediaPlayer.State
- errorCode() - Method in class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
- Errors - Class in org.robolectric.res.android
- Errors() - Constructor for class org.robolectric.res.android.Errors
- establishRoute(HttpRoute, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Establishes the target route.
- evaluateJavascript(String, ValueCallback<String>) - Method in class org.robolectric.shadows.ShadowWebView
- event_code_t() - Constructor for class org.robolectric.res.android.ResXMLParser.event_code_t
- EventBuilder(int, Object) - Constructor for class org.robolectric.shadows.ShadowEventLog.EventBuilder
- events - Variable in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Map that maps time offsets to media events.
- exception - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- exceptionArray(MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- exceptionPackages - Variable in class org.robolectric.shadows.ShadowAppOpsManager.ModeAndException
- exceptions - Variable in class org.robolectric.annotation.processing.DocumentedMethod
- EXCLUDED_ASSET - Static variable in class org.robolectric.res.android.Asset
- execStartActivities(Context, IBinder, IBinder, Activity, Intent[], Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- execStartActivities(Context, IBinder, IBinder, Activity, Intent[], Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle) - Method in interface org.robolectric.shadows.ShadowInstrumentation._Instrumentation_
- execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle, UserHandle) - Method in class org.robolectric.shadows.ShadowInstrumentation
-
Behaves as {@link #execStartActivity(Context, IBinder, IBinder, Activity, Intent, int, Bundle).
- execStartActivity(Context, IBinder, IBinder, Fragment, Intent, int, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
-
This API was added in Android API 23 (M)
- execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle) - Method in interface org.robolectric.shadows.ShadowInstrumentation._Instrumentation_
- execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle, UserHandle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
-
This API was added in Android API 17 (JELLY_BEAN_MR1)
- execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle, UserHandle) - Method in class org.robolectric.shadows.ShadowInstrumentation
-
Behaves as {@link #execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle).
- execute(Runnable) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- execute(Runnable) - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- execute(Runnable) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- execute(HttpUriRequest) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpUriRequest, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- execute(Params...) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
- executeOnError(int) - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Executes
BugreportManager.BugreportCallback.onError(int)
on the provided Executor. - executeOnExecutor(Executor, Params...) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
- executeOnExecutor(Executor, Params...) - Method in class org.robolectric.shadows.ShadowPausedAsyncTask
- executeOnFinished() - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Executes
BugreportManager.BugreportCallback.onFinished()
on the provided Executor. - executeOnMetadataChanged(MediaMetadata) - Method in class org.robolectric.shadows.ShadowMediaController
-
Executes all registered onMetadataChanged callbacks.
- executeOnPlaybackStateChanged(PlaybackState) - Method in class org.robolectric.shadows.ShadowMediaController
-
Executes all registered onPlaybackStateChanged callbacks.
- executeOnProgress(float) - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Executes
BugreportManager.BugreportCallback.onProgress(float)
on the provided Executor. - executeOnSessionDestroyed() - Method in class org.robolectric.shadows.ShadowMediaController
-
Executes all registered onSessionDestroyed callbacks.
- existingInstances - Static variable in class org.robolectric.shadows.ShadowImsMmTelManager
- 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.
- expectLogMessagePattern(int, String, Pattern) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
-
Adds an expected log statement using a regular expression.
- expectLogMessagePatternWithThrowableMatcher(int, String, Pattern, Matcher<Throwable>) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
-
Adds an expected log statement using a regular expression, with an extra check of
Matcher
. - expectLogMessageWithThrowable(int, String, String, Throwable) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
-
Adds an expected log statement with extra check of
Throwable
. - expectLogMessageWithThrowableMatcher(int, String, String, Matcher<Throwable>) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
-
Adds an expected log statement with extra check of
Matcher
. - extendVerificationTimeout(int, int, long) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- ExtensionPoint - Annotation Type in org.robolectric.pluginapi
-
Marks a component of Robolectric that may be replaced with a custom implementation.
- externalize(Path) - Static method in class org.robolectric.res.Fs
- extract(Object) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- extract(Object) - Method in interface org.robolectric.internal.IShadow
- extract(Object) - Static method in class org.robolectric.shadow.api.Shadow
-
Retrieve corresponding Shadow of the object.
- extractAlpha() - Method in class org.robolectric.shadows.ShadowBitmap
- extractAlpha(Paint, int[]) - Method in class org.robolectric.shadows.ShadowBitmap
-
This shadow implementation ignores the given paint and offsetXY and simply calls
ShadowBitmap.extractAlpha()
. - extractMetadata(int) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- extraFlags - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- extras - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
-
Deprecated.
- extras - Variable in class org.robolectric.shadows.ShadowTelecomManager.OutgoingCallRecord
- extras - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord
F
- 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
-
Set package names for witch
DevicePolicyManager.setApplicationHidden(android.content.ComponentName, java.lang.String, boolean)
should fail. - FakeHttp - Class in org.robolectric.shadows.httpclient
-
Collection of static methods used interact with HTTP requests / responses.
- FakeHttp() - Constructor for class org.robolectric.shadows.httpclient.FakeHttp
- FakeHttpLayer - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer() - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer
- FakeHttpLayer.DefaultRequestMatcher - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.RequestMatcherBuilder - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher - Interface in org.robolectric.shadows.httpclient
- FakeHttpLayer.RequestMatcherResponseRule - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.UriRegexMatcher - Class in org.robolectric.shadows.httpclient
- FakeHttpLayer.UriRequestMatcher - Class in org.robolectric.shadows.httpclient
- FakeSurfaceHolder() - Constructor for class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- familyName - Variable in class org.robolectric.shadows.ShadowTypeface.FontDesc
- fetchArtifact(MavenJarArtifact) - Method in class org.robolectric.internal.dependency.MavenArtifactFetcher
- fetchUuidsWithSdp() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Overrides behavior of
BluetoothDevice.fetchUuidsWithSdp()
. - file - Variable in class org.robolectric.res.android.AssetPath
- file(File, String...) - Static method in class org.robolectric.util.Util
- file(String...) - Static method in class org.robolectric.util.Util
- FILE - org.robolectric.res.ResType
- FileDescriptorInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.FileDescriptorInterceptor
- fileFromPath(String) - Static method in class org.robolectric.res.Fs
-
Deprecated.Use
Fs.fromUrl(String)
instead. - FileMap - Class in org.robolectric.res.android
- FileMap() - Constructor for class org.robolectric.res.android.FileMap
- FileTypedResource - Class in org.robolectric.res
- FileTypedResource.Image - Class in org.robolectric.res
- fillBounds(RectF) - Method in class org.robolectric.shadows.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.RobolectricTestRunner.RobolectricFrameworkMethod
- finalize() - Method in class org.robolectric.shadows.ShadowFileObserver
- finalize() - Method in class org.robolectric.shadows.ShadowPathParser.ShadowPathData
- finalize() - Method in class org.robolectric.shadows.ShadowSurface
- finalize() - Method in class org.robolectric.shadows.ShadowSurfaceControl
- finalizeWorkProfileProvisioning(UserHandle, Account) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- finallyAfterTest(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
- finallyAfterTest(FrameworkMethod) - Method in class org.robolectric.RobolectricTestRunner
- find(int) - Method in class org.robolectric.res.android.AttributeResolution.BagAttributeFinder
- find(int) - Method in class org.robolectric.res.android.AttributeResolution.XmlAttributeFinder
- find(int) - Method in class org.robolectric.res.PluralRules
- Find(int) - Method in class org.robolectric.res.android.AttributeResolution10.XmlAttributeFinder
- Find(int) - Method in class org.robolectric.res.android.AttributeResolution9.XmlAttributeFinder
- findAddress(String) - Static method in class org.robolectric.shadows.ShadowWebView
- findIndexOfItemContainingText(String) - Method in class org.robolectric.shadows.ShadowAdapterView
- findInterceptor(String, String) - Method in class org.robolectric.internal.bytecode.Interceptors
- findInterceptors() - Method in class org.robolectric.internal.SandboxTestRunner
- findInterceptors() - Method in class org.robolectric.RobolectricTestRunner
- findItem(int) - Method in class org.robolectric.fakes.RoboMenu
- findItemContainingText(String) - Method in class org.robolectric.shadows.ShadowAdapterView
- findMenuItem(CharSequence) - Method in class org.robolectric.fakes.RoboMenu
- findMenuItemContaining(CharSequence) - Method in class org.robolectric.fakes.RoboMenu
- findShadowMethodHandle(Class<?>, String, MethodType, boolean) - 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 the
contentView
has been set - finish() - Method in class org.robolectric.shadows.ShadowActivity
- finish() - Method in class org.robolectric.shadows.ShadowBroadcastPendingResult
- finish() - Method in class org.robolectric.shadows.ShadowVisualVoicemailTask
- finish(int, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- finishActivity(Activity) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- finishAffinity() - Method in class org.robolectric.shadows.ShadowActivity
- finishAndRemoveTask() - Method in class org.robolectric.shadows.ShadowActivity
- finishAndRemoveTask() - Method in class org.robolectric.shadows.ShadowAppTask
-
For tests, marks the task as finished.
- finishBroadcast() - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- finished() - Method in class org.robolectric.util.PerfStatsCollector.Event
- finished(boolean) - Method in class org.robolectric.util.PerfStatsCollector.Event
- finishOp(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Removes a fake long-running operation from the set.
- finishOp(String, int, String, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Removes a fake long-running operation from the set.
- finishSession(Bundle, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Returns sessionBundle as the result of finishSession.
- FIRST_CHUNK_CODE - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- fixTracePath(String) - Static method in class org.robolectric.shadows.ShadowDebug
- FLAG_ADMIN - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_DEMO - Static variable in class org.robolectric.shadows.ShadowUserManager
- flag_entry(String, int, String) - Constructor for class org.robolectric.res.android.ResourceTable.flag_entry
- FLAG_FULL - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_GUEST - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_MANAGED_PROFILE - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_NO_ACTION - Static variable in class org.robolectric.shadows.ShadowAudioManager
- FLAG_PRIMARY - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_PROFILE - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_RESTRICTED - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_SYSTEM - Static variable in class org.robolectric.shadows.ShadowUserManager
- flags - Variable in class org.robolectric.android.internal.DisplayConfig
-
Display flags.
- flags - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- flags - Variable in class org.robolectric.shadows.ShadowPackageManager.ComponentState
- flagsMask - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- flagsValues - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- FLOAT - org.robolectric.res.android.DataType
-
data
holds a single-precision floating point number. - FLOAT - org.robolectric.res.ResType
- floor(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
- flush() - Method in class android.webkit.RoboCookieManager
- flush() - Method in class org.robolectric.shadows.ShadowAudioTrack
- 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
- 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
- FRACTION - org.robolectric.res.android.DataType
-
data
holds a complex number encoding a fraction of a container. - FRACTION - org.robolectric.res.ResType
- FragmentController<F extends Fragment> - Class in org.robolectric.android.controller
-
Deprecated.Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
- FragmentTestUtil - Class in org.robolectric.util
-
Deprecated.Please use
Robolectric.buildFragment(Class)
instead. This will be removed in a forthcoming release, - FragmentTestUtil() - Constructor for class org.robolectric.util.FragmentTestUtil
-
Deprecated.
- FrameMetricsBuilder - Class in org.robolectric.shadows
-
Class to build
FrameMetrics
- FrameMetricsBuilder() - Constructor for class org.robolectric.shadows.FrameMetricsBuilder
- FRAMEWORK_APK_PATH - Static variable in class org.robolectric.shadows.ShadowArscApkAssets9
- frameworkMethod - Variable in class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
- free() - Method in class org.robolectric.shadows.ShadowMediaCodec.ShadowCodecBuffer
-
Prevents attempting to free non-direct ByteBuffer objects.
- freeByteBuffer(ByteBuffer) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Prevents attempting to free non-direct ByteBuffer objects.
- 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...)
orPaths.get(URI)
. - fromUrl(URL) - Static method in class org.robolectric.res.Fs
-
Isn't this what
Paths.get(URI)
should do? - Fs - Class in org.robolectric.res
- Fs() - Constructor for class org.robolectric.res.Fs
- FsFile - Interface in org.robolectric.res
-
Deprecated.Use
Path
instead. - fstat(FileDescriptor) - Method in class org.robolectric.shadows.ShadowLinux
- fstat(FileDescriptor) - Static method in class org.robolectric.shadows.ShadowPosix
- fstat(String) - Method in class org.robolectric.shadows.ShadowLinux
- fsync(OutputStream) - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- Function<R,T> - Interface in org.robolectric.util
-
Interface defining a function object.
G
- GEN_CLASS - Static variable in class org.robolectric.annotation.processing.generator.Generator
- generate() - Method in class org.robolectric.annotation.processing.generator.Generator
- generate() - Method in class org.robolectric.annotation.processing.generator.JavadocJsonGenerator
- generate() - Method in class org.robolectric.annotation.processing.generator.ServiceLoaderGenerator
- generate() - Method in class org.robolectric.annotation.processing.generator.ShadowProviderGenerator
- generate(String, String) - Method in class org.robolectric.res.ResourceIdGenerator
- generateAudioSessionId() - Method in class org.robolectric.shadows.ShadowAudioManager
-
Provides a mock like interface for the
AudioManager.generateAudioSessionId()
method by returning positive distinct values, orAudioManager.ERROR
if all possible values have already been returned. - generateClassHandlerCall(MutableClass, MethodNode, String, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- generatePackageInfo(PackageParser.Package, int) - Method in class org.robolectric.shadows.ShadowPackageManager
- Generator - Class in org.robolectric.annotation.processing.generator
-
Base class for code generators.
- Generator() - Constructor for class org.robolectric.annotation.processing.generator.Generator
- GestureDispatch(GestureDescription, AccessibilityService.GestureResultCallback) - Constructor for class org.robolectric.shadows.ShadowAccessibilityService.GestureDispatch
- get() - Method in class org.robolectric.android.controller.ComponentController
- get() - Method in class org.robolectric.android.controller.ContentProviderController
- get() - Method in interface org.robolectric.pluginapi.config.GlobalConfigProvider
- get() - Method in class org.robolectric.res.android.Ref
- get() - Method in class org.robolectric.RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider
-
Deprecated.
- get() - Method in interface org.robolectric.shadows.Provider
- get() - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
- get() - Method in interface org.robolectric.util.PerfStatsCollector.ThrowingSupplier
- get() - Method in class org.robolectric.util.SimpleFuture
-
Deprecated.
- get() - Method in class org.robolectric.util.SoftThreadLocal
- get(int, int) - 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
- get(Context) - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- get(CameraCharacteristics.Key<T>) - Method in class org.robolectric.shadows.ShadowCameraCharacteristics
- get(CaptureRequest.Key<T>) - Method in class org.robolectric.shadows.ShadowCaptureRequestBuilder
-
Original implementation would store its state in a local CameraMetadataNative object.
- get(CaptureResult.Key<T>) - Method in class org.robolectric.shadows.ShadowCaptureResult
-
Obtain a property of the CaptureResult.
- get(AudioRecord) - Method in interface org.robolectric.shadows.ShadowAudioRecord.AudioRecordSourceProvider
- get(Class<T>) - Static method in class org.robolectric.config.ConfigurationRegistry
-
Returns the configuration object of the specified class, computed using
Configurer
. - get(Class<T>) - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy.Configuration
-
Returns the configuration instance of the specified class for the current test.
- get(Class<T>) - Method in class org.robolectric.pluginapi.perf.Metadata
- get(Class<T>) - Method in class org.robolectric.plugins.HierarchicalConfigurationStrategy.ConfigurationImpl
- get(String) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- get(URI, String, Map<String, List<String>>) - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- get(Locale) - Static method in class org.robolectric.shadows.ShadowLocaleData
- get(ConfigurationStrategy.Configuration) - Static method in class org.robolectric.plugins.ConfigConfigurer
- get(ResName, ResTable_config) - Method in class org.robolectric.res.ResBunch
- get(ResName, ResTable_config) - Method in class org.robolectric.res.ResBundle
- get(DataSource) - Method in interface org.robolectric.shadows.ShadowMediaPlayer.MediaInfoProvider
- GET_ROBO_DATA_METHOD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- getAcceptThirdPartyCookies() - Method in class org.robolectric.fakes.RoboWebSettings
- getAccessibilityServiceList() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- getAccessoryList() - Method in class org.robolectric.shadows.ShadowUsbManager
- getAccountChangeEvents(Context, int, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getAccountChangeEvents(Context, int, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getAccountId(Context, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getAccountId(Context, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getAccounts() - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountsByType(String) - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountsByTypeAndFeatures(String, String[], AccountManagerCallback<Account[]>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountsByTypeForPackage(String, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountTypesWithManagementDisabled() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getAccuracy() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- getActionProvider() - Method in class org.robolectric.fakes.RoboMenuItem
- getActions() - Method in class org.robolectric.manifest.BroadcastReceiverData
- getActions() - Method in class org.robolectric.manifest.IntentFilterData
- getActions() - Method in class org.robolectric.manifest.ServiceData
- getActionView() - Method in class org.robolectric.fakes.RoboMenuItem
- getActiveAdmins() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getActiveDevice() - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- getActiveDevice() - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
- getActiveLockCount() - Method in class org.robolectric.shadows.ShadowWifiManager
-
Returns the number of WifiLocks and MulticastLocks that are currently acquired.
- getActiveNetwork() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getActiveNetworkInfo() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getActiveNotifications() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getActiveNotifications(String[], int) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Returns zero or more notifications, added by
ShadowNotificationListenerService.addActiveNotification(java.lang.String, int, android.app.Notification)
, that match one of the provided keys. - getActivePlaybackConfigurations() - Method in class org.robolectric.shadows.ShadowAudioManager
- getActiveProjectionTypes() - Method in class org.robolectric.shadows.ShadowUIModeManager
- getActiveRecordingConfigurations() - Method in class org.robolectric.shadows.ShadowAudioManager
-
Returns list of active recording configurations that was set by
ShadowAudioManager.setActiveRecordingConfigurations(java.util.List<android.media.AudioRecordingConfiguration>, boolean)
or empty list otherwise. - getActiveScans() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
-
Returns all
ShadowBluetoothLeScanner.ScanParams
s representing active scans. - getActiveScorerPackage() - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
- getActiveSessions(ComponentName) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
- getActiveSubscriptionIdList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Returns subscription Ids that were set via
ShadowSubscriptionManager.setActiveSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>)
. - 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
-
Returns the size of the list of
SubscriptionInfo
that were set viaShadowSubscriptionManager.setActiveSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>)
. - getActiveSubscriptionInfoCountMax() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
- getActiveSubscriptionInfoForSimSlotIndex(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Returns subscription that were set via
ShadowSubscriptionManager.setActiveSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>)
if it can find one with the specified slot index or null if none found. - getActiveSubscriptionInfoList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Returns the active list of
SubscriptionInfo
that were set viaShadowSubscriptionManager.setActiveSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>)
. - getActivities() - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- getActivities(Context, int, Intent[], int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- getActivities(Context, int, Intent[], int, Bundle) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- getActivity() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- getActivity(Context, int, Intent, int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- getActivity(Context, int, Intent, int, Bundle) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- getActivityData(String) - Method in class org.robolectric.manifest.AndroidManifest
- getActivityDatas() - Method in class org.robolectric.manifest.AndroidManifest
- getActivityIcon(ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getActivityInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getActivityLabel(String) - Method in class org.robolectric.manifest.AndroidManifest
- getActivityList(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- getActivityResult() - Method in class org.robolectric.android.internal.LocalActivityInvoker
- getActivityThread() - Static method in class org.robolectric.RuntimeEnvironment
- getActivityToken() - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- 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
- getAdapterState() - Method in class org.robolectric.shadows.ShadowUwbAdapterStateListener
-
Gets the adapter state set via
ShadowUwbAdapterStateListener.setEnabled(boolean)
- getAdaptivePowerSaveEnabled() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Gets the value set by
ShadowPowerManager.setAdaptivePowerSaveEnabled(boolean)
. - 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
- getAdvertisementRequestCount() - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
-
Returns the count of current ongoing Bluetooth LE advertising requests.
- getAffectedClasses() - Static method in class org.robolectric.shadows.SQLiteShadowPicker
-
Returns a list of shadow classes that need to be invalidated when the SQLite Mode is switched.
- getAffiliationIds(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getAffineTransform() - Method in class org.robolectric.shadows.ShadowMatrix
- getAlarmClockInfo() - Method in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- getAlias() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- getAliasName() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- getAllAttributes() - Method in class org.robolectric.manifest.ActivityData
-
Get the map for all attributes defined for the activity XML.
- getAllAttributes() - Method in class org.robolectric.manifest.BroadcastReceiverData
-
Get the map for all attributes defined for the broadcast receiver.
- getAllAttributes() - Method in class org.robolectric.manifest.ServiceData
-
Get the map for all attributes defined for the service.
- getAllCellInfo() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getAllHeaders() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getAllHeaders() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getAllIncomingCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getAllIntentFilters(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getAllLoopers() - Static method in class org.robolectric.shadows.ShadowLooper
-
Return all created loopers.
- getAllManifests() - Method in class org.robolectric.manifest.AndroidManifest
-
Returns all transitively reachable manifests, including this one, in order and without duplicates.
- getAllMethodRefs() - Method in class org.robolectric.internal.bytecode.Interceptors
- getAllNetworkInfo() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getAllNetworks() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getAllNotifications() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getAllocationByteCount() - Method in class org.robolectric.shadows.ShadowBitmap
- getAllOutgoingCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getAllowContentAccess() - Method in class org.robolectric.fakes.RoboWebSettings
- getAllowedNetworkTypes() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getAllowedOverMetered() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getAllowedOverRoaming() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getAllowFileAccess() - Method in class org.robolectric.fakes.RoboWebSettings
- getAllowFileAccessFromFileURLs() - Method in class org.robolectric.fakes.RoboWebSettings
- getAllowUniversalAccessFromFileURLs() - Method in class org.robolectric.fakes.RoboWebSettings
- getAllPackageInstallerSessions() - Method in class org.robolectric.shadows.ShadowLauncherApps
- getAllPendingJobs() - Method in class org.robolectric.shadows.ShadowJobScheduler
- getAllPendingJobs() - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
- getAllPermissionGroups(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getAllPhoneAccountHandles() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getAllPhoneAccounts() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getAllPhoneAccountsCount() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getAllProfiles() - Method in class org.robolectric.shadows.ShadowUserManager
- getAllProviders() - Method in class org.robolectric.shadows.ShadowLocationManager
- getAllSessionCallbacks() - Method in class org.robolectric.shadows.ShadowPackageInstaller
- getAllSessions() - Method in class org.robolectric.shadows.ShadowPackageInstaller
- getAllShadowTypes() - Method in class org.robolectric.annotation.processing.RobolectricModel
- getAllStartedServices() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns all
Intent
started by#startService(android.content.Intent)
without consuming them. - getAllUnknownCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getAlpha() - Method in class org.robolectric.shadows.ShadowPaint
- getAlpha() - Method in class org.robolectric.shadows.ShadowRenderNode
- getAlpha() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getAlphabeticShortcut() - Method in class org.robolectric.fakes.RoboMenuItem
- getAlwaysRecreateViewsDuringUpdate() - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- getAnchor() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getAndroidCodeName() - Method in class org.robolectric.pluginapi.Sdk
-
Returns the Android codename for this SDK.
- getAndroidCodeName() - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
- getAndroidFrameworkJarPath() - Static method in class org.robolectric.RuntimeEnvironment
- getAndroidManifestFile() - Method in class org.robolectric.manifest.AndroidManifest
- getAndroidSandbox(InstrumentationConfiguration, Sdk, ResourcesMode, LooperMode.Mode, SQLiteMode.Mode) - Method in class org.robolectric.internal.SandboxManager
- getAndroidVersion() - Method in class org.robolectric.pluginapi.Sdk
-
Returns the Android Version for this SDK.
- getAndroidVersion() - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
- getAnimations() - Method in class org.robolectric.shadows.ShadowView
-
Returns a list of all animations that have been set on this view.
- getAnnotationIntValue(AnnotationValue) - Static method in class org.robolectric.annotation.processing.Helpers
- getAnnotationMirror(Types, Element, TypeElement) - Static method in class org.robolectric.annotation.processing.Helpers
- getAnnotationStringValue(AnnotationValue) - Static method in class org.robolectric.annotation.processing.Helpers
- getAnnotationType() - Method in class org.robolectric.annotation.processing.validator.Validator
- getAnnotationTypeMirrorValue(AnnotationMirror, String) - Static method in class org.robolectric.annotation.processing.Helpers
- getAnnotationTypeMirrorValue(AnnotationValue) - Static method in class org.robolectric.annotation.processing.Helpers
- getAnnotationTypeMirrorValue(Element) - Static method in class org.robolectric.annotation.processing.Helpers
- getApiLevel() - Method in class org.robolectric.pluginapi.Sdk
-
Returns the Android API level for this SDK.
- getApiLevel() - Static method in class org.robolectric.RuntimeEnvironment
- GetApkAssets() - Method in class org.robolectric.res.android.CppAssetManager2
- getApkContentsSigners() - Method in class org.robolectric.shadows.ShadowSigningInfo
- getApkFile() - Method in class org.robolectric.internal.ManifestIdentifier
- getApkFile() - Method in class org.robolectric.manifest.AndroidManifest
- getAppCacheEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
- getAppCacheMaxSize() - Method in class org.robolectric.fakes.RoboWebSettings
- getAppCachePath() - Method in class org.robolectric.fakes.RoboWebSettings
- getAppIcon() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSessionInfo
-
Real method makes a system call not available in tests.
- getApplication() - Static method in class org.robolectric.RuntimeEnvironment
-
Get a reference to the
Application
under test. - getApplication() - Method in class org.robolectric.shadows.ShadowActivityThread
- getApplicationAttributes() - Method in class org.robolectric.manifest.AndroidManifest
- getApplicationEnabledSetting(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getApplicationHiddenSettingAsUser(String, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getApplicationIcon(ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getApplicationIcon(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getApplicationInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getApplicationInfo(String, int, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- getApplicationLocales(String) - Method in class org.robolectric.shadows.ShadowLocaleManager
-
Returns the stored locales from in-memory map for the given package when
LocaleManager.getApplicationLocales()
is invoked in source code via tests. - getApplicationMetaData() - Method in class org.robolectric.manifest.AndroidManifest
- getApplicationName() - Method in class org.robolectric.manifest.AndroidManifest
- getApplicationNightMode() - Method in class org.robolectric.shadows.ShadowUIModeManager
- getApplicationRestrictions() - Method in class org.robolectric.shadows.ShadowRestrictionsManager
- getApplicationRestrictions(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getApplicationRestrictions(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns all application restrictions of the
packageName
in aBundle
. - 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 usingShadowActivityManager.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. - getAppWidgetOptions(int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Gets the appWidgetOptions Bundle stored in a local cache.
- 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
- getAssistantActivityIntents() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns the list of
Intent
instances passed intoVoiceInteractionSession.startAssistantActivity(Intent)
in invocation order. - getAssociations() - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- 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
- getAttributeSetSourceResId(AttributeSet) - Static method in class org.robolectric.shadows.ShadowResources
-
Returns the layout resource id the attribute set was inflated from.
- 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
- getAudioAttributesFromLastVibration() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the
AudioAttributes
from the last vibration. - getAudioChannels() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getAudioEffects() - Static method in class org.robolectric.shadows.ShadowAudioEffect
-
Returns all effects created with an
AudioEffect
constructor. - getAudioEncoder() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getAudioEncodingBitRate() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getAudioRoute() - Method in class org.robolectric.shadows.ShadowInCallAdapter
-
Returns audioRoute set by setAudioRoute.
- getAudioSamplingRate() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getAudioSession() - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Returns the audio session set in the
AudioEffect
ctor. - 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
- getAutofillServiceComponentName() - Method in class org.robolectric.shadows.ShadowAutofillManager
-
Returns the overridden value set by
ShadowAutofillManager.setAutofillServiceComponentName(ComponentName)
. - 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
- getAutoTimeZoneEnabled(ComponentName) - 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
- getAvailableRestoreToken(String) - Method in class org.robolectric.shadows.ShadowBackupManager
- getAvailableRollbacks() - Method in class org.robolectric.shadows.ShadowRollbackManager
- getAvailableSubscriptionInfoList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Returns the available list of
SubscriptionInfo
that were set viaShadowSubscriptionManager.setAvailableSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>)
. - getAzimuth() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
azimuth
of the satellite, in degrees. - getBackgroundColor() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the
Color
int that has been set byShadowWebView.setBackgroundColor(int)
. - 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
-
Deprecated.
- 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
- getBatteryDischargePrediction() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns the current battery life remaining estimate.
- getBatteryLevel() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- 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
- getBindDeviceAdminTargetUsers(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns the list of target users that the calling device or profile owner can use when calling
ShadowDevicePolicyManager.bindDeviceAdminServiceAsUser(android.content.ComponentName, android.content.Intent, android.content.ServiceConnection, int, android.os.UserHandle)
. - getBitmap() - Method in class org.robolectric.shadows.ShadowIcon
- getBitmap(int) - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Returns the memory cached
Bitmap
associated withwhich
. - getBitmap(ContentResolver, Uri) - Static method in class org.robolectric.shadows.ShadowMediaStore.ShadowImages.ShadowMedia
- getBlob(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getBlob(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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
-
Deprecated.Use
BluetoothAdapter.getDefaultAdapter()
()} instead. - getBluetoothAudio() - Method in class org.robolectric.shadows.ShadowInCallService
- getBluetoothClass() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Overrides behavior of
BluetoothDevice.getBluetoothClass()
to return pre-set result. - getBluetoothGatts() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Returns all
BluetoothGatt
objects created by callingShadowBluetoothDevice.connectGatt(android.content.Context, boolean, android.bluetooth.BluetoothGattCallback)
. - 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. - getBootstrapAuthenticationCallback() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getBottom() - Method in class org.robolectric.shadows.ShadowRenderNode
- getBottom() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getBoundApplication() - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- 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
- getBoundsInScreen(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getBrightnessConfigurationForUser(int) - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- getBrightnessEvents(String) - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- 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
-
Returns the broadcast intents sent during the tests (for all users).
- getBroadcastIntentsForUser(UserHandle) - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns the broadcast intents sent to the given user.
- getBroadcastItem(int) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- getBroadcastOptions(Intent) - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns the broadcast options when the intent was last sent.
- 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.
- getBufferLengthMillis(int) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- 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
- getBytesSoFar() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getCacheMode() - Method in class org.robolectric.fakes.RoboWebSettings
- getCalendar() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- getCallAudioState() - Method in class org.robolectric.shadows.ShadowInCallService
- getCallAudioState() - Method in class org.robolectric.shadows.ShadowPhone
- getCallbackForListener(Class<T>) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns a view of
telephonyCallbackRegistrations
containing all elements that are of the typeclazz
. - getCallbackIntent() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- getCallbackIntent() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
- getCallbacks() - Method in class org.robolectric.shadows.ShadowMediaController
-
Gets the callbacks registered to MediaController.
- 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
- getCallComposerStatus() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getCallDetails() - Method in class org.robolectric.shadows.ShadowCallScreeningService.RespondToCallInput
- getCallingActivity() - Method in class org.robolectric.shadows.ShadowActivity
- getCallingPackage() - 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
- getCallingUidOrThrow() - Static method in class org.robolectric.shadows.ShadowBinder
- getCallingUserHandle() - Static method in class org.robolectric.shadows.ShadowBinder
- getCallRequestMode() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getCallResponse() - Method in class org.robolectric.shadows.ShadowCallScreeningService.RespondToCallInput
- getCalls() - Method in class org.robolectric.shadows.ShadowPhone
- 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 viaShadowTelephonyManager.setCarrierConfig(PersistableBundle)
. - getCarrierFrequencyHz() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
carrier frequency
of the satellite, in Hz, if present; ifnull
, indicates that the carrier frequencyis not available
. - getCarrierIdFromSimMccMnc() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- 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
- getCenterX() - Method in class org.robolectric.shadows.ShadowMagnificationController
- getCenterY() - Method in class org.robolectric.shadows.ShadowMagnificationController
- getChangedPackages(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- GetChangingConfigurations() - Method in class org.robolectric.res.android.CppAssetManager2.Theme
- getChar(String, int, int) - Static method in class org.robolectric.shadows.ShadowTime
- 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
- getChipInfos() - Method in class org.robolectric.shadows.ShadowUwbManager
-
Simply returns the List of bundles provided by
ShadowUwbManager.setChipInfos(List)
, allowing the tester to set multi-chip configuration. - getCirclePaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getClassAttribute() - Method in class org.robolectric.android.XmlResourceParserImpl
- getClassBytes() - Method in class org.robolectric.internal.bytecode.ClassDetails
- 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.- Use
PackageItemData.getName()
instead. - getClazz() - Method in class org.robolectric.internal.AndroidSandbox.TestEnvironmentSpec
- getClearedApplicationUserDataPackages() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Returns the list of package names that were requested to be cleared.
- getClientsWithAttributionTag(String) - Method in class org.robolectric.shadows.ShadowContextHubManager
- getClipBounds(Rect) - Method in class org.robolectric.shadows.ShadowCanvas
- getClipToOutline() - Method in class org.robolectric.shadows.ShadowRenderNode
- getClipToOutline() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getCloseGuard() - Method in interface org.robolectric.shadows.ShadowDisplayEventReceiver.DisplayEventReceiverReflector
- getCloseWasCalled() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getCn0DbHz() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
carrier-to-noise density
of the satellite. - 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
- getColorSpace() - Method in class org.robolectric.shadows.ShadowBitmap
- 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
-
Deprecated.
- getColumnCount() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getColumnCount() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getColumnIndex(String) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getColumnIndex(String) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getColumnIndex(String) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getColumnIndexOrThrow(String) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getColumnIndexOrThrow(String) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getColumnIndexOrThrow(String) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getColumnName(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getColumnName(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getColumnName(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getColumnNames() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getColumnNames() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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.
- getCommunicationDevice() - Method in class org.robolectric.shadows.ShadowAudioManager
- 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.
- getCompletedDownload(long) - Method in class org.robolectric.shadows.ShadowDownloadManager
- getCompletedDownloadsCount() - Method in class org.robolectric.shadows.ShadowDownloadManager
- getComponentEnabledSetting(ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getComponentEnabledSettingFlags(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Return the flags set in call to
ApplicationPackageManager.setComponentEnabledSetting(ComponentName, int, int)
. - getComponentName() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- getComponentName() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
-
Deprecated.
- 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
Provider
instead. 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.ConscryptModeConfigurer
- getConfigClass() - Method in class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
- getConfigClass() - Method in class org.robolectric.plugins.LazyApplicationConfigurer
- getConfigClass() - Method in class org.robolectric.plugins.LooperModeConfigurer
- getConfigClass() - Method in class org.robolectric.plugins.SQLiteModeConfigurer
- 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.ConscryptModeConfigurer
- getConfigFor(Class<?>) - Method in class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
- getConfigFor(Class<?>) - Method in class org.robolectric.plugins.LazyApplicationConfigurer
- getConfigFor(Class<?>) - Method in class org.robolectric.plugins.LooperModeConfigurer
- getConfigFor(Class<?>) - Method in class org.robolectric.plugins.SQLiteModeConfigurer
- 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.ConscryptModeConfigurer
- getConfigFor(Method) - Method in class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
- getConfigFor(Method) - Method in class org.robolectric.plugins.LazyApplicationConfigurer
- getConfigFor(Method) - Method in class org.robolectric.plugins.LooperModeConfigurer
- getConfigFor(Method) - Method in class org.robolectric.plugins.SQLiteModeConfigurer
- 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.ConscryptModeConfigurer
- getConfigFor(String) - Method in class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
- getConfigFor(String) - Method in class org.robolectric.plugins.LazyApplicationConfigurer
- getConfigFor(String) - Method in class org.robolectric.plugins.LooperModeConfigurer
- getConfigFor(String) - Method in class org.robolectric.plugins.SQLiteModeConfigurer
- getConfigFor(String) - Method in class org.robolectric.plugins.TextLayoutModeConfigurer
- getConfigForSubId(int) - Method in class org.robolectric.shadows.ShadowCarrierConfigManager
-
Returns
PersistableBundle
previously set byShadowCarrierConfigManager.overrideConfig(int, android.os.PersistableBundle)
orShadowCarrierConfigManager.setConfigForSubId(int, PersistableBundle)
, or default values for an invalidsubId
. - getConfigOverrides() - Method in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- getConfigProperties(String) - Method in class org.robolectric.ConfigMerger
-
Deprecated.Return a
Properties
file for the given package name, ornull
if none is available. - getConfigProperties(String) - Method in class org.robolectric.plugins.PackagePropertiesLoader
-
Return a
Properties
file for the given package name, ornull
if none is available. - getConfiguration() - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- getConfiguration(Ref<ResTable_config>) - Method in class org.robolectric.res.android.CppAssetManager
- getConfiguredApplicationClass() - Static method in class org.robolectric.RuntimeEnvironment
- getConfiguredNetworks() - Method in class org.robolectric.shadows.ShadowWifiManager
- getConfiguredSubscriptionGroups() - Method in class org.robolectric.shadows.ShadowVcnManager
- getConnectedDevices() - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- getConnectedDevices() - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
-
Overrides behavior of
ShadowBluetoothHeadset.getConnectedDevices()
. - getConnectedPort() - Method in class org.robolectric.fakes.RoboWebMessagePort
- 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.ShadowBluetoothA2dp
- getConnectionState(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
-
Overrides behavior of
ShadowBluetoothHeadset.getConnectionState(android.bluetooth.BluetoothDevice)
. - getConstellation() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
GNSS constellation
of the satellite. - 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
- getContentCaptureConditions() - Method in class org.robolectric.shadows.ShadowContentCaptureManager
- 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
-
Deprecated.
- 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
- getContentUri() - Method in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- getContentValues() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
-
Deprecated.implementation detail - use public Android APIs instead
- 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.android.internal.RoboMonitoringInstrumentation
- 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
- getContextHubClientWithPendingIntentList() - Method in class org.robolectric.shadows.ShadowContextHubManager
- getContextHubHandles() - Method in class org.robolectric.shadows.ShadowContextHubManager
-
Provides an array of fake handles.
- getContextHubInfo(int) - Method in class org.robolectric.shadows.ShadowContextHubManager
- getContextHubs() - Method in class org.robolectric.shadows.ShadowContextHubManager
-
Provides a list with fake
ContextHubInfo
s. - getConverter(ResType) - Static method in class org.robolectric.shadows.Converter
- getConverterFor(AttrData, String) - Static method in class org.robolectric.shadows.Converter2
- getCookie() - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection
- getCookie(String) - Method in class android.webkit.RoboCookieManager
- getCookie(String, boolean) - Method in class android.webkit.RoboCookieManager
- getCount() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getCount() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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
- getCounters() - Static method in class org.robolectric.shadows.ShadowTrace
-
Returns an ordered list of previous counters.
- 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()
withinShadowBitmap.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()
withinShadowBitmap.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. - getCreatedPorts() - Method in class org.robolectric.shadows.ShadowWebView
- getCreatorPackage() - Method in class org.robolectric.shadows.ShadowPendingIntent
- getCreatorUid() - 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
- getCurrentAsyncSections() - Static method in class org.robolectric.shadows.ShadowTrace
-
Returns a set of all the current active async trace sections.
- getCurrentEdgeEffectBehavior() - Method in class org.robolectric.shadows.ShadowEdgeEffect
-
Disable edge effects for Android S and above.
- getCurrentFocus() - Method in class org.robolectric.shadows.ShadowActivity
- getCurrentInputMethodSubtype() - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Returns the
InputMethodSubtype
that is installed. - getCurrentInstructionSet() - Static method in class org.robolectric.shadows.ShadowVMRuntime
-
Returns the instruction set of the current runtime.
- getCurrentInterruptionFilter() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- getCurrentInterruptionFilter() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getCurrentLanguage() - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns
Locale
set usingTextToSpeech.setLanguage(Locale)
or null if not set. - getCurrentListenerHints() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- getCurrentLocation(String, LocationRequest, CancellationSignal, Executor, Consumer<Location>) - Method in class org.robolectric.shadows.ShadowLocationManager
- getCurrentLocation(String, CancellationSignal, Executor, Consumer<Location>) - Method in class org.robolectric.shadows.ShadowLocationManager
- 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
-
Simulates call to
MediaPlayer.getCurrentPosition()
. - 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. - getCurrentRanking() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- getCurrentRuleSetProvider() - Method in class org.robolectric.shadows.ShadowAppIntegrityManager
-
Overrides the implementation of the
getCurrentRuleSetProvider
method to return the gmscore package name for all the requests when a rule set exists. - getCurrentRuleSetVersion() - Method in class org.robolectric.shadows.ShadowAppIntegrityManager
-
Overrides the implementation of the
getCurrentRuleSetVersion
method to return the version stored in the recorded rule set. - getCurrentSections() - Static method in class org.robolectric.shadows.ShadowTrace
-
Returns a stack of the currently active trace sections for the current thread.
- 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
- getCurrentSyncs() - Static method in class org.robolectric.shadows.ShadowContentResolver
- getCurrentTab() - Method in class org.robolectric.shadows.ShadowTabHost
- getCurrentTabSpec() - Method in class org.robolectric.shadows.ShadowTabHost
- getCurrentTabTag() - Method in class org.robolectric.shadows.ShadowTabHost
- getCurrentThermalStatus() - Method in class org.robolectric.shadows.ShadowPowerManager
-
This function returns the current thermal status of the device.
- 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
- getCurrentVoice() - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns
Voice
set usingTextToSpeech.setVoice(Voice)
, or null if not set. - getCurrentWebViewPackage() - Static method in class org.robolectric.shadows.ShadowWebView
-
Overrides the system implementation for getting the WebView package.
- 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 interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- getDatabasePath(String) - Method in class org.robolectric.shadows.ShadowContextImpl
- getDataBytes() - Method in class org.robolectric.shadows.ShadowIcon
- getDataChangedCount() - Method in class org.robolectric.shadows.ShadowBackupManager
-
Returns number of times
ShadowBackupManager.dataChanged()
was called. - getDataLength() - Method in class org.robolectric.shadows.ShadowIcon
- getDataNetworkType() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns whatever value was set by the last call to
ShadowTelephonyManager.setDataNetworkType(int)
, defaulting toTelephonyManager.NETWORK_TYPE_UNKNOWN
if it was never called. - 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)
. - getDataState() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Data state may be specified via
ShadowTelephonyManager.setDataState(int)
. - 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
- getDefaultBrightnessConfiguration() - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- 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
-
Returns value set with
ShadowSubscriptionManager.setDefaultDataSubscriptionId(int)
. - 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
-
Returns default outgoing phone account set through
ShadowTelecomManager.setDefaultOutgoingPhoneAccount(String, PhoneAccountHandle)
for correspondinguriScheme
. - getDefaultParameter(ByteBuffer) - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Allows sub-classes to provide default parameters.
- getDefaultParameter(ByteBuffer) - Method in class org.robolectric.shadows.ShadowDynamicsProcessing
- 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.ShadowSmsManager
-
Returns
-1
by default or the value specified inShadowSmsManager.setDefaultSmsSubscriptionId(int)
. - getDefaultSmsSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Returns value set with
ShadowSubscriptionManager.setDefaultSmsSubscriptionId(int)
. - getDefaultSubId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
- getDefaultSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Returns value set with
ShadowSubscriptionManager.setDefaultSubscriptionId(int)
. - getDefaultTextEncodingName() - Method in class org.robolectric.fakes.RoboWebSettings
- getDefaultUserAgent(Context) - Static method in class org.robolectric.shadows.ShadowWebSettings
-
Returns the default User-Agent used by a WebView.
- getDefaultVoiceSubId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
- getDefaultVoiceSubscriptionId() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Returns value set with
ShadowSubscriptionManager.setDefaultVoiceSubscriptionId(int)
. - 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 realPackageManager
the calling context must haveManifest.permission.DELETE_PACKAGES
permission set. - getDeletedUris() - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.
- getDeleteStatements() - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.
- 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
- 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.CompletedDownload
- 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
- getDestinationAddress() - Method in class org.robolectric.shadows.ShadowTelephonyManager.VisualVoicemailSmsParams
- 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 viaShadowTelephonyManager.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
- getDevicePolicyManagementRoleHolderPackage() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getDevices(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- getDevicesForAttributes(AudioAttributes) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Returns the devices associated with the given audio stream.
- getDevicesMatchingConnectionStates(int[]) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- getDevicesMatchingConnectionStates(int, int[]) - Method in class org.robolectric.shadows.ShadowBluetoothManager
- getDhcpInfo() - Method in class org.robolectric.shadows.ShadowWifiManager
- getDialogById(int) - Method in class org.robolectric.shadows.ShadowActivity
- getDialogInfo() - Method in class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- getDialogMessage() - Method in class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- getDialogMessage() - Method in class org.robolectric.shadows.ShadowSuspendDialogInfo
-
Returns the text to be shown in the dialog's body, or
null
ifShadowSuspendDialogInfo.getDialogMessageResId()
returns a valid resource id. - getDialogMessageResId() - Method in class org.robolectric.shadows.ShadowSuspendDialogInfo
-
Returns the resource id of the text to be shown in the dialog's body.
- getDirectActionsInvalidationCount() - Method in class org.robolectric.shadows.ShadowVoiceInteractor
-
Returns the number of times
notifyDirectActionsChanged
was called on theVoiceInteractor
instance associated with this shadow - 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
- getDiscoverableTimeout() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Needs looseSignatures because the return value changed from
int
toDuration
starting in T. - getDisplay() - Method in class org.robolectric.shadows.ShadowViewRootImpl
- getDisplay() - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- 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.
- getDisplayLabel(int) - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
- getDisplayOrientation() - Method in class org.robolectric.shadows.ShadowCamera
- getDisplayZoomControls() - Method in class org.robolectric.fakes.RoboWebSettings
- getDistractingPackageRestrictions(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Returns the last value provided to
setDistractingPackageRestrictions
forpkg
. - 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
-
Deprecated.
- getDouble(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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
- getDownloadedIntent() - Method in class org.robolectric.shadows.ShadowSmsManager.DownloadMultimediaMessageParams
- getDownloadListener() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the
DownloadListener
set withShadowWebView.setDownloadListener(android.webkit.DownloadListener)
, if any. - 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.
- 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
- getDrawnRoundRect(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnTextEvent(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDuration() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates call to
MediaPlayer.getDuration()
. - 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.
- getDynamicBufferSupport() - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- 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
- getEffectId() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the last vibration effect ID of a
VibrationEffect#Prebaked
(e.g. - 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.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
elevation
of the satellite, in degrees. - 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
- getEnabledInputMethodList() - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Returns the list of
InputMethodInfo
that are enabled. - getEnabledProfiles() - Method in class org.robolectric.shadows.ShadowUserManager
- 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
- 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
- getErrors() - Static method in class org.robolectric.shadows.ShadowCloseGuard
- 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
-
Deprecated.implementation detail - use public Android APIs instead
- 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
- 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
- getExternalStorageAppCacheDirectory(String) - Static method in class org.robolectric.shadows.ShadowEnvironment
- 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
-
Deprecated.
- getExtras() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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
- getFactory() - Static method in class org.robolectric.shadows.ShadowWebView
- 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
- getFavicon() - Method in class org.robolectric.shadows.ShadowWebView
-
Gets the favicon for the current page set by
ShadowWebView.setFavicon(android.graphics.Bitmap)
. - 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.
- getFft(byte[]) - Method in interface org.robolectric.shadows.ShadowVisualizer.VisualizerSource
- 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
- 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
-
Deprecated.
- getFloat(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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
- getFocusAreas() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- 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
- getFont(int) - Method in class org.robolectric.shadows.ShadowFontsFontFamily
-
The real
FontFamily.getFont(int)
calls into native code, so it needs to be shadowed to prevent an NPE. - 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
- getForceDark() - Method in class org.robolectric.fakes.RoboWebSettings
- getForegroundService(Context, int, Intent, int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- getForegroundServiceType() - Method in class org.robolectric.shadows.ShadowService
- getForegroundThreadScheduler() - Static method in class org.robolectric.Robolectric
-
Return the foreground scheduler (e.g.
- getForegroundThreadScheduler() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.
- getFormat() - Method in class org.robolectric.res.AttrData
- getFormat() - Method in class org.robolectric.shadows.ShadowImageReader.ShadowSurfaceImage
- getFrameAtTime(long, int) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- getFrameDelay() - Static method in class org.robolectric.shadows.ShadowChoreographer
- getFrameInterval() - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Deprecated.Use the
LooperMode.Mode.PAUSED
looper andShadowChoreographer.getFrameDelay()
to configure the frame delay. - 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
- getFreeBytes(UUID) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
-
Fake implementation of
StorageStatsManager.getFreeBytes(java.util.UUID)
that returns test setup values. - getFromCacheOrLoad(ShadowArscApkAssets9.Key, ShadowArscApkAssets9.ApkAssetMaker) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- 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
- getGesturesDispatched() - Method in class org.robolectric.shadows.ShadowAccessibilityService
-
Returns a list of gestures that have been dispatched.
- 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
- getGnssHardwareModelName() - Method in class org.robolectric.shadows.ShadowLocationManager
- getGnssYearOfHardware() - Method in class org.robolectric.shadows.ShadowLocationManager
- getGoBackInvocations() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the number of times
android.webkit.WebView#goBack()
was invoked. - getGoForwardInvocations() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the number of times
android.webkit.WebView#goForward()
was invoked. - getGpsStatusListeners() - Method in class org.robolectric.shadows.ShadowLocationManager
-
Returns the list of currently registered
GpsStatus.Listener
s. - 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
- getGroupOfPlatformPermission(String, Executor, Consumer<String>) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getHandler() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the
Handler
object used by thisShadowMediaPlayer
. - getHasAlmanac() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets whether the satellite
has almanac data
. - getHasEphemeris() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets whether the satellite
has ephemeris data
. - 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
- getHeapBufferIterator(ByteOrder) - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
- getHeapBufferIterator(ByteOrder) - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS
- 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.ShadowImageReader.ShadowSurfaceImage
- getHeight() - Method in class org.robolectric.shadows.ShadowPicture
- getHeight() - Method in class org.robolectric.shadows.ShadowRenderNode
- getHeight() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getHelperTestRunner(Class<?>) - Method in class org.robolectric.internal.SandboxTestRunner
- getHelperTestRunner(Class<?>) - Method in class org.robolectric.RobolectricTestRunner
- getHistoricalProcessExitReasons(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Returns the matched
ApplicationExitInfo
added byShadowActivityManager.addApplicationExitInfo(java.lang.String, int, int, int)
. - getHitCount() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- getHitTestResult() - Method in class org.robolectric.shadows.ShadowWebView
- 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
- getIconResId() - Method in class org.robolectric.shadows.ShadowSuspendDialogInfo
-
Returns the resource id of the icon to be used with the dialog.
- getId() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getId() - Method in class org.robolectric.shadows.ShadowCall
- 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
- 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
- getImportance() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getImports() - Method in class org.robolectric.annotation.processing.RobolectricModel
- getIncludedResourcePaths() - Method in class org.robolectric.manifest.AndroidManifest
- 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
- getInitialApplication() - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
-
internal use only.
- getInputDeviceIds() - Method in class org.robolectric.shadows.ShadowInputManager
-
Used in
InputDevice.getDeviceIds()
- getInputEncoding() - Method in class org.robolectric.android.XmlResourceParserImpl
- getInputMethodList() - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Returns the list of
InputMethodInfo
that are installed. - 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 theBluetoothSocket
. - getInsertStatements() - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.This method does not work with
ContentResolver.acquireContentProviderClient(android.net.Uri)
- 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
- getInstalledModules(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
- getInstalledProvidersForPackage(String, UserHandle) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- getInstalledProvidersForProfile(UserHandle) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- getInstallerPackageName(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- GetInstallerPackageNameMode - Annotation Type in org.robolectric.annotation
-
A
Configurer
annotation for controlling how Robolectric executesPackageManager#getInstallerPackageName
method. - GetInstallerPackageNameMode.Mode - Enum in org.robolectric.annotation
-
Specifies the different
ShadowApplicationPackageManager#getInstallerPackageName
modes. - GetInstallerPackageNameModeConfigurer - Class in org.robolectric.plugins
-
Provides configuration to Robolectric for its @
GetInstallerPackageNameMode
annotation. - GetInstallerPackageNameModeConfigurer() - Constructor for class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
- getInstallSourceInfo(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({@link 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.ShadowTimeZoneFinderS
- 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.ShadowWebViewDatabase
- getInstance(Class<T>) - Method in class org.robolectric.util.inject.Injector
-
Finds an instance for the given class.
- getInstrumentation() - Method in interface org.robolectric.shadows._Activity_
- 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
-
Deprecated.
- getInt(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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.ShadowCrossProfileApps.StartedActivity
- getIntent() - Method in class org.robolectric.shadows.ShadowNfcAdapter
- getIntentClass() - Method in class org.robolectric.shadows.ShadowIntent
-
Returns the
Class
object set byIntent.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
- getIntervalMillis() - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- getIntForUser(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- getIntForUser(ContentResolver, String, int, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- getInTouchMode() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
- 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.
- getInverseMatrix(Matrix) - Method in class org.robolectric.shadows.ShadowRenderNode
- getInverseMatrix(Matrix) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getIs24HourView() - Method in class org.robolectric.shadows.ShadowTimePickerDialog
- 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
- 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
- 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
- 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
- getLastAssistantActivityIntent() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns the last
Intent
passed intoVoiceInteractionSession.startAssistantActivity(Intent)
ornull
if there wasn't any. - getLastAssociationCallback() - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- getLastAssociationRequest() - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- getLastAudioFocusRequest() - Method in class org.robolectric.shadows.ShadowAudioManager
- getLastConnectionEvent() - Method in class org.robolectric.shadows.ShadowConnection
- getLastDownloadedMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- getLastDragClipData() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
-
Returns the last
ClipData
passed to a drag initiated from a call toView.startDrag(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)
orView.startDragAndDrop(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)
, or null if there isn't one. - getLastDrawnRect() - Method in class org.robolectric.shadows.ShadowCanvas
- getLastDrawnRoundRect() - Method in class org.robolectric.shadows.ShadowCanvas
- getLastEnabledNetwork() - Method in class org.robolectric.shadows.ShadowWifiManager
- getLastEvaluatedJavascript() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the last evaluated Javascript value provided to
ShadowWebView.evaluateJavascript(String, ValueCallback)
or null if the method has not been called. - getLastEvaluatedJavascriptCallback() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the last callback value provided to
ShadowWebView.evaluateJavascript(String, ValueCallback)
or null if the method has not been called. - 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.
- getLastIncomingCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- 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, ornull
if there isn't any message sent. - getLastNonConfigurationInstance() - Method in class org.robolectric.shadows.ShadowActivity
- getLastOpenedCameraId() - Static method in class org.robolectric.shadows.ShadowCamera
- getLastOutgoingCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getLastOutgoingCall(Context) - Static method in class org.robolectric.shadows.ShadowCallLogCalls
-
Gets the last outgoing call String set by
ShadowCallLogCalls.setLastOutgoingCall(String)
. - getLastRecognizerIntent() - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
-
Returns the argument passed to the last call to
SpeechRecognizer.startListening(android.content.Intent)
. - getLastRegisterObserverRequest() - Method in class org.robolectric.shadows.ShadowAmbientContextManager
-
Returns the last
AmbientContextEventRequest
passed intoAmbientContextManager.registerObserver(AmbientContextEventRequest, PendingIntent, Executor, Consumer)
. - getLastRequestedEventCodesForConsentActivity() - Method in class org.robolectric.shadows.ShadowAmbientContextManager
-
Returns the last requested event codes that were passed into
ShadowAmbientContextManager.startConsentActivity(Set)
. - getLastRequestedNotificationAccess() - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- getLastRequestedPermission() - Method in class org.robolectric.shadows.ShadowActivity
-
Gets the last permission request submitted to this activity.
- getLastRespondToCallInput() - Method in class org.robolectric.shadows.ShadowCallScreeningService
-
If
CallScreeningService
has calledShadowCallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse)
, returns the values of its parameters. - getLastSafetyEvent(String) - Method in class org.robolectric.shadows.ShadowSafetyCenterManager
-
Returns the
SafetyEvent
that was given toSafetyCenterManager
the last timeShadowSafetyCenterManager.setSafetySourceData(java.lang.String, android.safetycenter.SafetySourceData, android.safetycenter.SafetyEvent)
was called with thissafetySourceId
. - getLastSafetySourceError(String) - Method in class org.robolectric.shadows.ShadowSafetyCenterManager
-
Returns the
SafetySourceErrorDetails
that was given toSafetyCenterManager
the last timeShadowSafetyCenterManager.reportSafetySourceError(java.lang.String, android.safetycenter.SafetySourceErrorDetails)
was called with thissafetySourceId
. - 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
- getLastSentMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- getLastSentMultipartTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- getLastSentTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- getLastSentVisualVoicemailSmsParams() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getLastSessionBundle() - Method in class org.robolectric.shadows.ShadowVoiceInteractionService
-
Returns the last Bundle object set via
ShadowVoiceInteractionService.setUiHints(Bundle bundle)
or null if there wasn't any. - 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
-
Retrieves last password set through
DevicePolicyManager.resetPassword(java.lang.String, int)
orDevicePolicyManager.resetPasswordWithToken(android.content.ComponentName, java.lang.String, byte[], int)
. - 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
- getLastSynthesizeToFile() - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns last file
File
written to byTextToSpeech.synthesizeToFile(CharSequence, Bundle, File, String)
. - getLastSynthesizeToFileText() - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns last text
CharSequence
passed toTextToSpeech.synthesizeToFile(CharSequence, Bundle, File, String)
. - getLastTelephonyCallback() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the most recent callback passed to #registerTelephonyCallback().
- getLastTextToSpeechInstance() - Static method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns the most recently instantiated
TextToSpeech
or null if none exist. - getLastTouchEvent() - Method in class org.robolectric.shadows.ShadowView
- getLastUiHintBundle() - Method in class org.robolectric.shadows.ShadowVoiceInteractionService
-
Returns the last Bundle object set via
ShadowVoiceInteractionService.setUiHints(Bundle bundle)
or null if there wasn't any. - getLastUnknownCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getLastVoiceActivityIntent() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns the last
Intent
passed intoVoiceInteractionSession.startVoiceActivity(Intent)
ornull
if there wasn't any. - getLatestAlertDialog() - Static method in class org.robolectric.shadows.ShadowAlertDialog
- getLatestAlertDialog() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.Use
ShadowAlertDialog.getLatestAlertDialog()
instead. - getLatestDialog() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.Use
ShadowDialog.getLatestDialog()
instead. - 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.ShadowListPopupWindow
- getLatestModelDownloadIntent() - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- getLatestPopupMenu() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.Use
ShadowPopupMenu.getLatestPopupMenu()
instead. - getLatestPopupMenu() - Static method in class org.robolectric.shadows.ShadowPopupMenu
- getLatestPopupWindow() - Method in class org.robolectric.shadows.ShadowApplication
- getLatestSentHttpRequest() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- getLatestSentHttpRequest() - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getLatestSentHttpRequestInfo() - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getLatestSpeechRecognizer() - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
-
Returns the latest SpeechRecognizer.
- getLatestToast() - Static method in class org.robolectric.shadows.ShadowToast
-
Returns the most recently shown
Toast
. - getLatestVsyncEventData() - Method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- getLatestWakeLock() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.use ShadowPowerManager.getLatestWakeLock
- getLatestWakeLock() - Static method in class org.robolectric.shadows.ShadowPowerManager
-
Retrieves the most recent wakelock registered by the application
- getLaunchIntentForPackage(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getLaunchMode() - Method in class org.robolectric.manifest.ActivityData
- getLayer() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getLayerType() - Method in class org.robolectric.shadows.ShadowView
- getLayoutAlgorithm() - Method in class org.robolectric.fakes.RoboWebSettings
- getLayoutInflater() - Method in class org.robolectric.shadows.ShadowActivity
- getLeanbackLaunchIntentForPackage(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getLeft() - Method in class org.robolectric.shadows.ShadowRenderNode
- getLeft() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getLeftVolume() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the current setting for the left channel volume.
- getLegacyLocationRequests(String) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Returns the list of
ShadowLocationManager.RoboLocationRequest
currently registered under the given provider. - getLeMaximumAdvertisingDataLength() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- getLength() - Method in class org.robolectric.res.android.Asset
- getLength() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- getLength() - Method in class org.robolectric.shadows.ShadowPathMeasure
-
Return the total length of the current contour, or 0 if no path is associated with this measure object.
- getLeScanCallbacks() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- getLeState() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Decides the correct LE state.
- getLetterSpacing() - Method in class org.robolectric.shadows.ShadowPaint
- getLibClasspathResourceName() - Method in class org.robolectric.shadows.util.SQLiteLibraryLoader
- getLibraries() - Method in class org.robolectric.internal.ManifestIdentifier
- getLibraryManifests() - Method in class org.robolectric.manifest.AndroidManifest
- getLightTouchEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
- getLine1Number() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getLine1Number(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- getLineNumber() - Method in class org.robolectric.android.XmlResourceParserImpl
- getLineNumber() - Method in class org.robolectric.res.android.ResXMLParser
- getLinePaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getLinkProperties(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getListener() - Method in class org.robolectric.shadows.ShadowGestureDetector
- getListener() - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- getListener() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Deprecated.Avoid using.
- getListeners() - Method in class org.robolectric.shadows.ShadowAccountManager
- getListeners() - Method in class org.robolectric.shadows.ShadowSensorManager
-
Returns the list of
SensorEventListener
s registered on this SensorManager. - getListenersForFlags(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getListeningChannel() - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- GetLoadedArsc() - Method in class org.robolectric.res.android.CppApkAssets
- getLoadedFromResourceId() - Method in class org.robolectric.shadows.ShadowLayoutAnimationController
- getLoadsImagesAutomatically() - Method in class org.robolectric.fakes.RoboWebSettings
- getLoadWithOverviewMode() - Method in class org.robolectric.fakes.RoboWebSettings
- getLocalArtifactUrl(DependencyJar) - Method in interface org.robolectric.internal.dependency.DependencyResolver
- getLocalArtifactUrl(DependencyJar) - Method in class org.robolectric.internal.dependency.LocalDependencyResolver
- getLocalArtifactUrl(DependencyJar) - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
- getLocalArtifactUrl(DependencyJar) - Method in class org.robolectric.internal.dependency.PropertiesDependencyResolver
- getLocalArtifactUrl(DependencyJar) - Method in class org.robolectric.plugins.LegacyDependencyResolver
- getLocalArtifactUrls(DependencyJar) - Method in interface org.robolectric.internal.dependency.DependencyResolver
-
Deprecated.Robolectric will never ask for a dependency composed of more than one artifact, so this method isn't necessary.
- getLocalArtifactUrls(DependencyJar) - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
- getLocalArtifactUrls(DependencyJar) - Method in class org.robolectric.plugins.LegacyDependencyResolver
- getLocalArtifactUrls(DependencyJar...) - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
-
Get an array of local artifact URLs for the given dependencies.
- getLocalContentProvider() - Method in class org.robolectric.shadows.ShadowContentProviderClient
- getLocale() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getLocale() - Method in class org.robolectric.shadows.ShadowCaptioningManager
-
Returns null or the most recent value passed to
ShadowCaptioningManager.setLocale(Locale)
- getLocales() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getLocalRepositoryDir() - Method in class org.robolectric.internal.dependency.MavenDependencyResolver
-
Locates the local maven repo.
- getLocationOnScreen(int[]) - Method in class org.robolectric.shadows.ShadowView
- getLocationPowerSaveMode() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns how location features should behave when battery saver is on.
- getLocationRequest() - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- getLocationRequests(String) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Returns the list of
LocationRequest
currently registered under the given provider. - getLocationUpdateListeners() - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Do not test listeners, instead use
ShadowLocationManager.simulateLocation(Location)
and test the results of those listeners being invoked. - getLocationUpdateListeners(String) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Do not test listeners, instead use
ShadowLocationManager.simulateLocation(Location)
and test the results of those listeners being invoked. - getLocationUpdatePendingIntents() - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Do not test pending intents, instead use
ShadowLocationManager.simulateLocation(Location)
and test the results of those pending intent being invoked. - getLocationUpdatePendingIntents(String) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Do not test pending intents, instead use
ShadowLocationManager.simulateLocation(Location)
and test the results of those pending intent being invoked. - getLocationUrl() - Method in class org.robolectric.shadows.ShadowSmsManager.DownloadMultimediaMessageParams
- getLocationUrl() - Method in class org.robolectric.shadows.ShadowSmsManager.SendMultimediaMessageParams
- getLockTaskModeState() - Method in class org.robolectric.shadows.ShadowActivityManager
- getLockTaskPackages(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getLog() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getLogs() - Static method in class org.robolectric.shadows.ShadowLog
-
Returns ordered list of all log entries.
- getLogsForTag(String) - Static method in class org.robolectric.shadows.ShadowLog
-
Returns ordered list of all log items for a specific tag.
- getLong(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getLong(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getLong(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getLong(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- getLong(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- getLong(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- getLong(ContentResolver, String, long) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- getLong(ContentResolver, String, long) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- getLong(ContentResolver, String, long) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- getLongPressTimeout() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getLongProperty(int) - Method in class org.robolectric.shadows.ShadowBatteryManager
- getLongSupportMessage(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getLooperForThread(Thread) - Static method in class org.robolectric.shadows.ShadowLegacyLooper
- getLooperForThread(Thread) - Static method in class org.robolectric.shadows.ShadowLooper
- getLoopers() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
-
Return loopers for all threads including main thread.
- getLoopers() - Static method in class org.robolectric.shadows.ShadowPausedLooper
- getMagnificationRegion() - Method in class org.robolectric.shadows.ShadowMagnificationController
- getMainLooper() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
- getMainThread() - Static method in class org.robolectric.RuntimeEnvironment
-
Retrieves the main thread.
- getManagedCursors() - Method in class org.robolectric.shadows.ShadowActivity
- getManifestFactory(Config) - Method in class org.robolectric.RobolectricTestRunner
-
Detects which build system is in use and returns the appropriate ManifestFactory implementation.
- getManifestFile() - Method in class org.robolectric.internal.ManifestIdentifier
- getManifestShortcuts() - Method in class org.robolectric.shadows.ShadowShortcutManager
- getMasterScheduler() - Static method in class org.robolectric.RuntimeEnvironment
-
Retrieves the current master scheduler.
- getMasterSyncAutomatically() - Static method in class org.robolectric.shadows.ShadowContentResolver
- getMatrix(Matrix) - Method in class org.robolectric.shadows.ShadowRenderNode
- getMatrix(Matrix) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getMavenRepositoryId() - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- getMavenRepositoryPassword() - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- getMavenRepositoryUrl() - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- getMavenRepositoryUserName() - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- getMax() - Method in class org.robolectric.shadows.ShadowNotification
- getMaxDuration() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getMaxExposureCompensation() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getMaxFileSize() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getMaximumDrawingCacheSize() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getMaximumFailedPasswordsForWipe(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getMaximumFlingVelocity() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getMaximumRange() - Method in class org.robolectric.shadows.ShadowSensor
- getMaximumTimeToLock(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getMaxNs() - Method in class org.robolectric.pluginapi.perf.Metric
- getMaxNumFocusAreas() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getMaxNumMeteringAreas() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getMaxSdk() - Method in class org.robolectric.annotation.processing.RobolectricModel.ResetterInfo
- getMaxSdkVersion() - Method in class org.robolectric.manifest.AndroidManifest
- getMaxSdkVersion() - Method in interface org.robolectric.pluginapi.UsesSdk
-
Returns the maximum Android SDK version that this package expects to be runnable on, as specified in the manifest.
- getMaxShortcutCountPerActivity() - Method in class org.robolectric.shadows.ShadowShortcutManager
- getMaxSupportedSdk() - Method in class org.robolectric.plugins.SdkCollection
- getMaxSupportedUsers() - Static method in class org.robolectric.shadows.ShadowUserManager
- getMaxTransceiveLength() - Method in class org.robolectric.shadows.ShadowIsoDep
- getMaxValue() - Method in class org.robolectric.shadows.ShadowNumberPicker
- getMediaInfo() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the currently selected
ShadowMediaPlayer.MediaInfo
. - getMediaInfo(DataSource) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
- getMediaPlaybackRequiresUserGesture() - Method in class org.robolectric.fakes.RoboWebSettings
- getMeid() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getMeid(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getMemoryClass() - Method in class org.robolectric.shadows.ShadowActivityManager
- getMemoryInfo(ActivityManager.MemoryInfo) - Method in class org.robolectric.shadows.ShadowActivityManager
- getMenuInflater() - Method in class org.robolectric.shadows.ShadowActivity
- getMenuInfo() - Method in class org.robolectric.fakes.RoboMenuItem
- getMessage() - Method in class org.robolectric.shadows.ShadowAlertController
- getMessage() - Method in class org.robolectric.shadows.ShadowAlertDialog
- getMessage() - Method in class org.robolectric.shadows.ShadowProgressDialog
- getMessageBody() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- getMessageId() - Method in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- getMessageId() - Method in class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
- getMessageId() - Method in class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
- getMessages() - Method in class org.robolectric.shadows.ShadowContextHubClient
- getMetadata() - Method in class org.robolectric.shadows.ShadowMediaController
-
Gets the mediaMetadata set via
ShadowMediaController.setMetadata(android.media.MediaMetadata)
. - getMetadata() - Method in class org.robolectric.util.PerfStatsCollector
- getMetadata(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- getMetaData() - Method in class org.robolectric.manifest.ActivityData
- getMetaData() - Method in class org.robolectric.manifest.PackageItemData
- getMeteringAreas() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getMethod() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getMethodCall() - Method in class org.robolectric.annotation.processing.RobolectricModel.ResetterInfo
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.CleanerInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.FileDescriptorInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.LinkedHashMapEldestInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.NoOpInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.ReferenceRefersToInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SocketInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemArrayCopyInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemLogInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemTimeInterceptor
- getMethodHandle(String, MethodType) - Method in class org.robolectric.internal.bytecode.Interceptor
- getMethodRefs() - Method in class org.robolectric.internal.bytecode.Interceptor
- getMethods() - Method in class org.robolectric.annotation.processing.DocumentedType
- getMethods() - Method in class org.robolectric.internal.bytecode.MutableClass
- getMetrics() - Method in class org.robolectric.util.PerfStatsCollector
- getMetrics(DisplayMetrics) - Method in class org.robolectric.shadows.ShadowDisplay
-
Deprecated.This behavior is deprecated and will be removed in Robolectric 3.7.
- getMilliseconds() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the last vibration duration in MS.
- getMillisInFuture() - Method in class org.robolectric.shadows.ShadowCountDownTimer
- getMimeType() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- getMimeType() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getMimeTypeFromExtension(String) - Method in class org.robolectric.shadows.ShadowMimeTypeMap
- getMimeTypes() - Method in class org.robolectric.manifest.IntentFilterData
- getMinExposureCompensation() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getMinimumFlingVelocity() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getMinimumFontSize() - Method in class org.robolectric.fakes.RoboWebSettings
- getMinimumLogicalFontSize() - Method in class org.robolectric.fakes.RoboWebSettings
- getMinNs() - Method in class org.robolectric.pluginapi.perf.Metric
- getMinSdk() - Method in class org.robolectric.annotation.processing.RobolectricModel.ResetterInfo
- getMinSdkVersion() - Method in class org.robolectric.manifest.AndroidManifest
-
Returns the minimum Android SDK version that this package expects to be runnable on, as specified in the manifest.
- getMinSdkVersion() - Method in interface org.robolectric.pluginapi.UsesSdk
-
Returns the minimum Android SDK version that this package expects to be runnable on, as specified in the manifest.
- getMinUpdateDistanceMeters() - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- getMinute() - Method in class org.robolectric.shadows.ShadowTimePickerDialog
- getMinValue() - Method in class org.robolectric.shadows.ShadowNumberPicker
- getMixedContentMode() - Method in class org.robolectric.fakes.RoboWebSettings
- getMobileRxBytes() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getMobileRxPackets() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getMobileTxBytes() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getMobileTxPackets() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getMode() - Method in class org.robolectric.shadows.ShadowAudioManager
- getMode() - Method in class org.robolectric.shadows.ShadowPorterDuffColorFilter
- getModeInvalidatedClasses() - Method in class org.robolectric.internal.AndroidSandbox
- getModeInvalidatedClasses() - Method in class org.robolectric.internal.bytecode.Sandbox
- getModuleInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getMonthOfYear() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- getMoveStatus(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getMyAssociations() - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- getMyMemoryState(ActivityManager.RunningAppProcessInfo) - Static method in class org.robolectric.shadows.ShadowActivityManager
-
Returns information seeded by
ShadowActivityManager.setProcesses(java.util.List<android.app.ActivityManager.RunningAppProcessInfo>)
. - getMySessions() - Method in class org.robolectric.shadows.ShadowPackageInstaller
- getName() - Method in class org.robolectric.android.XmlResourceParserImpl
- getName() - Method in class org.robolectric.annotation.processing.DocumentedElement
- getName() - Method in class org.robolectric.internal.bytecode.ClassDetails
- getName() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- getName() - Method in class org.robolectric.internal.bytecode.MutableClass
- getName() - Method in class org.robolectric.manifest.ActivityData
- getName() - Method in class org.robolectric.manifest.PackageItemData
- getName() - Method in class org.robolectric.pluginapi.perf.Metric
- getName() - Method in class org.robolectric.res.AttrData
- getName() - Method in class org.robolectric.res.StyleData
- getName() - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- getName() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- getName() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- getName() - Method in class org.robolectric.shadows.ShadowInputDevice
- getName() - Method in class org.robolectric.shadows.ShadowTrace.Counter
- getNameAttr(String) - Static method in class org.robolectric.manifest.ActivityData
- getNameForUid(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getNamespace() - Method in class org.robolectric.android.XmlResourceParserImpl
- getNamespace(String) - Method in class org.robolectric.android.XmlResourceParserImpl
- getNamespaceCount(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getNamespacePrefix(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getNamespaceUri() - Method in class org.robolectric.res.ResName
- getNamespaceUri(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getNanoAppInstanceInfo(int) - Method in class org.robolectric.shadows.ShadowContextHubManager
- getNativeHeapAllocatedSize() - Static method in class org.robolectric.shadows.ShadowDebug
- getNativeInstance() - Method in class org.robolectric.shadows.ShadowColorSpace.ShadowRgb
- getNativeObject(long) - Method in class org.robolectric.res.android.NativeObjRegistry
-
Retrieve the native object for given id.
- getNativeObject(long) - Static method in class org.robolectric.res.android.ResStringPool
- getNativeObjectId(T) - Method in class org.robolectric.res.android.NativeObjRegistry
-
Deprecated.Use
NativeObjRegistry.register(Object)
instead. - getNativePtr() - Method in class org.robolectric.res.android.ResStringPool
- getNativePtr() - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl.ShadowLegacyThemeImpl
- getNativePtr() - Method in class org.robolectric.shadows.ShadowPathParser.ShadowPathData
- getNativeStringBlock(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getNativeStringBlock(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getNavBarMode() - Method in class org.robolectric.shadows.ShadowStatusBarManager
- getNavDump() - Method in class org.robolectric.fakes.RoboWebSettings
- getNdefPushMessage() - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Returns last set NDEF message, or throws
IllegalStateException
if it was never set. - getNdefPushMessageCallback() - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Returns last registered callback, or
null
if none was set. - getNearbyAppStreamingPolicy() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getNearbyNotificationStreamingPolicy() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getNeedInitialFocus() - Method in class org.robolectric.fakes.RoboWebSettings
- getNetId() - Method in class org.robolectric.shadows.ShadowNetwork
-
Allows to get the stored netId.
- getNetworkCallbacks() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getNetworkCapabilities(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Gets the network capabilities of a given
Network
. - getNetworkCount() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- getNetworkCountryIso() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the SIM country lowercase.
- getNetworkInfo(int) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getNetworkInfo(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getNetworkOperator() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getNetworkOperatorName() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getNetworkPreference() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getNetworkType() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getNeutralButtonAction() - Method in class org.robolectric.shadows.ShadowSuspendDialogInfo
-
Returns the action expected to happen on neutral button tap.
- getNeutralButtonTextResId() - Method in class org.robolectric.shadows.ShadowSuspendDialogInfo
-
Returns the text to be shown.
- getNewCodecInfoAt(int) - Static method in class org.robolectric.shadows.ShadowMediaCodecList
- getNewInsetsMode() - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- getNext() - Method in class org.robolectric.shadows.ShadowLegacyMessage
- getNext() - Method in class org.robolectric.shadows.ShadowMessage
-
Convenience method to provide getter access to the private field
Message.next
. - getNext() - Method in class org.robolectric.shadows.ShadowPausedMessage
- getNextAddAccountOptions() - Method in class org.robolectric.shadows.ShadowAccountManager
-
Consumes and returns the next
addAccountOptions
passed toShadowAccountManager.addAccount(android.accounts.Account)
. - getNextAlarmClock() - Method in class org.robolectric.shadows.ShadowAlarmManager
- getNextEntry(String, long) - Method in class org.robolectric.shadows.ShadowDropBoxManager
- getNextScheduledAlarm() - Method in class org.robolectric.shadows.ShadowAlarmManager
- getNextScheduledTaskTime() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- getNextScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- getNextScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowLooper
- getNextScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowPausedLooper
- getNextScheduledTaskTime() - Method in class org.robolectric.util.Scheduler
- getNextSentHttpRequest() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain HTTP requests made during the current test in the order in which they were made.
- getNextSentHttpRequestInfo() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain metadata for an HTTP request made during the current test in the order in which they were made.
- getNextSentHttpRequestInfo() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getNextStartedActivity() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Consumes the most recent
Intent
started byContextWrapper.startActivity(android.content.Intent)
and returns it. - getNextStartedActivity() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Consumes the most recent
ComponentName
,UserHandle
pair started byCrossProfileApps.startMainActivity(ComponentName, UserHandle)
orCrossProfileApps.startActivity(ComponentName, UserHandle)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity, Bundle)
, and returns it wrapped inShadowCrossProfileApps.StartedActivity
. - getNextStartedActivityForResult() - Method in class org.robolectric.shadows.ShadowActivity
-
Consumes and returns the next
Intent
on the started activities for results stack. - getNextStartedActivityForResult() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Consumes the most recent
IntentForResult
started by {@link * ContextWrapper#startActivity(android.content.Intent, android.os.Bundle)} and returns it. - getNextStartedService() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Consumes the most recent
Intent
started byContext.startService(android.content.Intent)
and returns it. - getNextStoppedService() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Consumes the
Intent
requested to stop a service byContext.stopService(android.content.Intent)
from the bottom of the stack of stop requests. - getNfcAdapter(Context) - Static method in class org.robolectric.shadows.ShadowNfcAdapter
- getNightDisplayAutoMode() - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- getNightDisplayColorTemperature() - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- getNightMode() - Method in class org.robolectric.shadows.ShadowUIModeManager
- getNightModeCustomType() - Method in class org.robolectric.shadows.ShadowUIModeManager
- getNonConfigurationString(int, int) - Method in class org.robolectric.shadows.ShadowTypedArray
- getNonResourceString(int) - Method in class org.robolectric.shadows.ShadowTypedArray
- getNotification(int) - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotification(String, int) - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotificationChannel(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotificationChannel(String, String) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Returns a NotificationChannel that has the given parent and conversation ID.
- getNotificationChannelGroup(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotificationChannelGroups() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotificationChannels() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotificationDelegate() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotificationPolicy() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getNotificationShouldRemoved() - Method in class org.robolectric.shadows.ShadowService
- getNotificationUri() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getNotificationUri() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getNotificationUri_Compatibility() - Method in class org.robolectric.shadows.ShadowAbstractCursor
-
Returns the Uri set by
setNotificationUri()
. - getNotificationVisibility() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getNotifiedUris() - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.
- getNotifyNativeInterval() - Static method in class org.robolectric.shadows.ShadowVMRuntime
- getNumberOfCameras() - Static method in class org.robolectric.shadows.ShadowCamera
- getNumericShortcut() - Method in class org.robolectric.fakes.RoboMenuItem
- getObjectForAddress(long) - Method in class org.robolectric.shadows.ShadowVMRuntime
-
Returns the object previously registered with
ShadowVMRuntime.addressOf(Object)
. - getObserverId() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- getObserverId() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
- getObserverId() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- getOffscreenPreRaster() - Method in class org.robolectric.fakes.RoboWebSettings
- getOnAttachStateChangeListeners() - Method in class org.robolectric.shadows.ShadowView
- getOnCancelListener() - Method in class org.robolectric.shadows.ShadowDialog
- getOnClickListener() - Method in class org.robolectric.shadows.ShadowView
- getOnCompletionListener() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getOnCompletionListener() - Method in class org.robolectric.shadows.ShadowVideoView
- getOnCreateContextMenuListener() - Method in class org.robolectric.shadows.ShadowView
- getOnDateSetListenerCallback() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- getOnDoubleTapListener() - Method in class org.robolectric.shadows.ShadowGestureDetector
- getOnEditorActionListener() - Method in class org.robolectric.shadows.ShadowTextView
- getOnErrorListener() - Method in class org.robolectric.shadows.ShadowVideoView
- getOnInitListener() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- getOnLayoutChangeListeners() - Method in class org.robolectric.shadows.ShadowView
- getOnLongClickListener() - Method in class org.robolectric.shadows.ShadowView
- getOnlyIncomingCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getOnlyOutgoingCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getOnlyUnknownCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getOnMenuItemClickListener() - Method in class org.robolectric.shadows.ShadowPopupMenu
- getOnNdefPushCompleteCallback() - Method in class org.robolectric.shadows.ShadowNfcAdapter
- getOnPreparedListener() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getOnPreparedListener() - Method in class org.robolectric.shadows.ShadowVideoView
- getOnScrollListener() - Method in class org.robolectric.shadows.ShadowAbsListView
-
Robolectric accessor for the onScrollListener
- getOnSeekBarChangeListener() - Method in class org.robolectric.shadows.ShadowSeekBar
- getOnSystemUiVisibilityChangeListener() - Method in class org.robolectric.shadows.ShadowView
- getOnTouchEventMotionEvent() - Method in class org.robolectric.shadows.ShadowGestureDetector
- getOnTouchEventMotionEvent() - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- getOnTouchListener() - Method in class org.robolectric.shadows.ShadowView
- getOnValueChangeListener() - Method in class org.robolectric.shadows.ShadowNumberPicker
- getOpenSourceSoftwareLicenseInfo(Context) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- getOpenSourceSoftwareLicenseInfo(Context) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- getOpenSourceSoftwareLicenseInfo(Context) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- getOperatingChannel() - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- getOpsForPackage(int, String, int[]) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- getOpsForPackage(int, String, String[]) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- getOptions() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- getOptions() - Method in class org.robolectric.shadows.ShadowPendingIntent
- getOptionsMenu() - Method in class org.robolectric.shadows.ShadowActivity
-
Return the options menu.
- getOptionsPanelGravity() - Method in class org.robolectric.shadows.ShadowPhoneWindow
- getOptionsPanelGravity() - Method in class org.robolectric.shadows.ShadowPhoneWindowFor22
- getOrder() - Method in class org.robolectric.fakes.RoboMenuItem
- getOrganizationColor(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getOrganizationName(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns organization name.
- getOrientation(String) - Static method in class org.robolectric.res.Qualifiers
-
Deprecated.Use
Configuration.orientation
instead. - getOriginal() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- getOriginalPendingResult() - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- getOriginalUrl() - Method in class org.robolectric.shadows.ShadowWebView
- getOutgoingMessages() - Method in class org.robolectric.fakes.RoboWebMessagePort
-
Returns the list of all messages sent to its connected ports.
- getOutputFormat() - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Returns a default
MediaFormat
if not set viaShadowMediaCodec.getOutputFormat()
. - getOutputFormat() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getOutputPath() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getOutputStream() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
- getOutputStreamSink() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
-
Returns
PipedInputStream
that controls output stream of theBluetoothSocket
. - getOvalPaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getPackageArchiveInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Starting in Android S, this method was moved from
PackageManager
toApplicationPackageManager
. - getPackageArchiveInfo(String, int) - Method in class org.robolectric.shadows.ShadowPackageManager
- getPackageCandidateVolumes(ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageCurrentVolume(Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageElement(String) - Method in class org.robolectric.annotation.processing.Helpers
- getPackageGids(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageGids(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageIdentifier(int) - Static method in class org.robolectric.res.ResourceIds
- getPackageImportance(String) - Method in class org.robolectric.shadows.ShadowActivityManager
- getPackageInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageInfoAsUser(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageManager() - Static method in class org.robolectric.shadows.ShadowActivityThread
- getPackageName() - Method in class org.robolectric.android.AttributeSetBuilderImpl.ArscResourceResolver
- getPackageName() - Method in class org.robolectric.android.AttributeSetBuilderImpl.LegacyResourceResolver
- getPackageName() - Method in interface org.robolectric.android.AttributeSetBuilderImpl.ResourceResolver
- getPackageName() - Method in class org.robolectric.internal.ManifestIdentifier
- getPackageName() - Method in class org.robolectric.manifest.AndroidManifest
- getPackageName() - Method in class org.robolectric.res.builder.XmlBlock
- getPackageName() - Method in class org.robolectric.res.PackageResourceTable
- getPackageName() - Method in interface org.robolectric.res.ResourceTable
- getPackageName() - Method in class org.robolectric.res.RoutingResourceTable
- getPackageName() - Method in class org.robolectric.res.StyleData
- getPackageName() - Method in class org.robolectric.res.XmlContext
- getPackageNames() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- getPackageNames() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
- getPackageNames() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- getPackageRestoreToken(String) - Method in class org.robolectric.shadows.ShadowBackupManager
-
Returns the restore token for the given package, or
0
if the package was not restored. - getPackageSetting(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Returns the current
ShadowPackageManager.PackageSetting
ofpackageName
. - getPackagesForOps(int[]) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Returns app op details for all packages for which one of
ShadowAppOpsManager.setMode(java.lang.String, int, java.lang.String, int)
methods was used to set the value of one of the given app ops (it does return those set to 'default' mode, while the true implementation usually doesn't). - getPackagesForOps(String[]) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Returns app op details for all packages for which one of
ShadowAppOpsManager.setMode(java.lang.String, int, java.lang.String, int)
methods was used to set the value of one of the given app ops (it does return those set to 'default' mode, while the true implementation usually doesn't). - getPackagesForUid(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackagesForUid(int) - Method in class org.robolectric.shadows.ShadowPackageManager
- getPackagesHoldingPermissions(String[], int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageSizeInfo(Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageSizeInfo(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageSizeInfoAsUser(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageUid(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageUidAsUser(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageUidAsUser(String, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPairingConfirmation() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Get the confirmation value previously set with a call to
BluetoothDevice.setPairingConfirmation(boolean)
, or null if no value is set. - getParam(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getParamClasses(ClassLoader) - Method in class org.robolectric.internal.bytecode.InvocationProfile
- getParamDefStr() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- getParameter(String) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Returns a single parameter that was set via
ShadowAudioManager.setParameters(String)
. - getParameters() - Method in class org.robolectric.shadows.ShadowCamera
- getParameters(String) - Method in class org.robolectric.shadows.ShadowAudioManager
-
The expected composition for keys is not well defined.
- getParams() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getParams() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getParams() - Method in class org.robolectric.shadows.ShadowAndroidHttpClient
- getParent() - Method in class org.robolectric.res.StyleData
- getParent() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getParent() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getParent() - Method in class org.robolectric.shadows.ShadowActivity
- getParentActivityName() - Method in class org.robolectric.manifest.ActivityData
- getParts() - Method in class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
- getPassword(Account) - Method in class org.robolectric.shadows.ShadowAccountManager
- getPasswordComplexity() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordExpiration(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordExpirationTimeout(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordHistoryLength(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordMinimumLength(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordMinimumLetters(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordMinimumLowerCase(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordMinimumNonLetter(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordMinimumNumeric(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordMinimumSymbols(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordMinimumUpperCase(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPasswordQuality(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPath() - Method in class org.robolectric.res.builder.XmlBlock
- getPath() - Method in class org.robolectric.res.FileTypedResource
- getPath() - Method in interface org.robolectric.res.FsFile
-
Deprecated.use
Fs.externalize(Path)
instead. - getPath() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- getPath() - Method in class org.robolectric.shadows.ShadowBitmapDrawable
- getPath() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- getPath() - Method in interface org.robolectric.shadows.ShadowPackageParser._Package_
- GetPath() - Method in class org.robolectric.res.android.CppApkAssets
- getPathEffect() - Method in class org.robolectric.shadows.ShadowPaint
- getPathExtension() - Method in class org.robolectric.res.android.String8
- getPathIterator(AffineTransform) - Method in class org.robolectric.shadows.RoundRectangle
- getPathPaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getPathPatterns() - Method in class org.robolectric.manifest.IntentFilterData
- getPathPermissionDatas() - Method in class org.robolectric.manifest.ContentProviderData
- getPathPlaybacks(String) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Return a list of calls to
play
made for the given path. - getPathPrefixes() - Method in class org.robolectric.manifest.IntentFilterData
- getPaths() - Method in class org.robolectric.manifest.IntentFilterData
- getPattern() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the last vibration pattern.
- getPeakRms(Visualizer.MeasurementPeakRms) - Method in interface org.robolectric.shadows.ShadowVisualizer.VisualizerSource
- getPendingIntent() - Method in class org.robolectric.fakes.RoboIntentSender
- getPendingJob(int) - Method in class org.robolectric.shadows.ShadowJobScheduler
- getPendingJob(int) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
- getPendingSeek() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the pending seek setting.
- getPendingTransitionEnterAnimationResourceId() - Method in class org.robolectric.shadows.ShadowActivity
- getPendingTransitionExitAnimationResourceId() - Method in class org.robolectric.shadows.ShadowActivity
- getPerformedActions() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getPerformedActionsWithArgs() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getPeriodicSyncs(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
- getPermission() - Method in class org.robolectric.manifest.ActivityData
- getPermission() - Method in class org.robolectric.manifest.BroadcastReceiverData
- getPermission() - Method in class org.robolectric.manifest.ServiceData
- getPermissionControllerPackageName() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPermissionFlags(String, String, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
This method differs from the real implementation in that we only return the permission flags that were added via updatePermissionFlags, and do not perform any verification of permissions, packages or users.
- getPermissionGrantState(ComponentName, String, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPermissionGroup() - Method in class org.robolectric.manifest.PermissionItemData
- getPermissionGroupInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPermissionGroups() - Method in class org.robolectric.manifest.AndroidManifest
- getPermissionInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPermissionManager() - Static method in class org.robolectric.shadows.ShadowActivityThread
- getPermissionPolicy(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPermissions() - Method in class org.robolectric.manifest.AndroidManifest
- getPermittedAccessibilityServices(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPermittedInputMethods(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getPersistedUriPermissions() - Method in class org.robolectric.shadows.ShadowContentResolver
- getPersistentPreferredActivities(List<IntentFilter>, List<ComponentName>, String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Method to retrieve persistent preferred activities as set by
DevicePolicyManager.addPersistentPreferredActivity(android.content.ComponentName, android.content.IntentFilter, android.content.ComponentName)
. - getPhoneAccount(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- getPhoneAccountHandle() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- getPhoneAccountsForPackage() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getPhoneAccountsSupportingScheme(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
- getPhoneCount() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns 1 by default or the value specified via
ShadowTelephonyManager.setPhoneCount(int)
. - getPhoneId(int) - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Uses the map of subscription IDs to phone IDs managed by
ShadowSubscriptionManager.putPhoneId(int,int)
andShadowSubscriptionManager.removePhoneId(int)
to return the phone ID for a given subscription ID. - getPhoneType() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getPictureHeight() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPictureSize() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPictureWidth() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPin() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Get the PIN previously set with a call to
BluetoothDevice.setPin(byte[])
, or null if no PIN has been set. - getPinnedShortcuts() - Method in class org.robolectric.shadows.ShadowShortcutManager
- getPinnedSlices() - Method in class org.robolectric.shadows.ShadowSliceManager
- getPinnedSpecs(Uri) - Method in class org.robolectric.shadows.ShadowSliceManager
- getPivotX() - Method in class org.robolectric.shadows.ShadowRenderNode
- getPivotX() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getPivotY() - Method in class org.robolectric.shadows.ShadowRenderNode
- getPivotY() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getPixel(int, int) - Method in class org.robolectric.shadows.ShadowBitmap
- getPixelFormat() - Method in class org.robolectric.shadows.ShadowDisplay
-
Deprecated.This behavior is deprecated and will be removed in Robolectric 3.7.
- getPixels(int[], int, int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowBitmap
-
Note that this method will return a RuntimeException unless: -
pixels
has the same length as the number of pixels of the bitmap. - getPlatformVersion(String) - Static method in class org.robolectric.res.Qualifiers
-
Deprecated.Use
Build.VERSION.SDK_INT
instead. - getPlaybackHeadPosition() - Method in class org.robolectric.shadows.ShadowAudioTrack
- getPlaybackInfo() - Method in class org.robolectric.shadows.ShadowMediaController
-
Gets the playbackInfo set via
ShadowMediaController.setPlaybackInfo(android.media.session.MediaController.PlaybackInfo)
. - getPlaybackState() - Method in class org.robolectric.shadows.ShadowMediaController
-
Gets the playbackState set via
ShadowMediaController.setPlaybackState(android.media.session.PlaybackState)
. - getPlayCount(int) - Static method in class org.robolectric.shadows.ShadowMediaActionSound
-
Get the number of times a sound has been played.
- getPlayedTones() - Static method in class org.robolectric.shadows.ShadowToneGenerator
-
This function returns the list of tones that the application requested to be played.
- getPluginsEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
- getPluginState() - Method in class org.robolectric.fakes.RoboWebSettings
- getPoints() - Method in class org.robolectric.shadows.ShadowPath
- getPolicyManagedProfiles(UserHandle) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns the managed profiles set in
ShadowDevicePolicyManager.setPolicyManagedProfiles(List)
. - getPort() - Method in class org.robolectric.manifest.IntentFilterData.DataAuthority
- getPort() - Method in class org.robolectric.shadows.ShadowTelephonyManager.VisualVoicemailSmsParams
- getPorts() - Method in interface org.robolectric.shadows.ShadowUsbManager._UsbManager_
- getPorts() - Method in interface org.robolectric.shadows.ShadowUsbManager._UsbManagerQ_
- getPorts() - Method in class org.robolectric.shadows.ShadowUsbManager
- getPortStatus(UsbPort) - Method in interface org.robolectric.shadows.ShadowUsbManager._UsbManager_
- getPortStatus(Object) - Method in class org.robolectric.shadows.ShadowUsbManager
- getPortStatus(String) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Returns the
UsbPortStatus
corresponding to theUsbPort
with givenportId
if present; otherwise returnsnull
. - getPosition() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getPosition() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getPosition() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getPositionDescription() - Method in class org.robolectric.android.XmlResourceParserImpl
- getPositionDescription() - Method in class org.robolectric.shadows.ShadowTypedArray
- getPosTan(float, float[], float[]) - Method in class org.robolectric.shadows.ShadowPathMeasure
-
Note: This is not mathematically correct.
- getPostOperations() - Method in class org.robolectric.shadows.ShadowMatrix
-
A list of all 'post' operations performed on this Matrix.
- getPowerUsage() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- getPreferredActivities(List<IntentFilter>, List<ComponentName>, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPreferredActivitiesInternal(List<IntentFilter>, List<ComponentName>, String, SortedMap<ComponentName, List<IntentFilter>>) - Static method in class org.robolectric.shadows.ShadowPackageManager
- getPreferredPackages(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPreferredService() - Static method in class org.robolectric.shadows.ShadowCardEmulation
-
Utility function that returns the latest
ComponentName
captured when callingShadowCardEmulation.setPreferredService(Activity, ComponentName)
. - getPrefix() - Method in class org.robolectric.android.XmlResourceParserImpl
- getPrefix() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- getPreOperations() - Method in class org.robolectric.shadows.ShadowMatrix
-
A list of all 'pre' operations performed on this Matrix.
- getPreparationDelay() - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Retrieves the current preparation delay for this media.
- getPressedStateDuration() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getPreviewDisplay() - Method in class org.robolectric.shadows.ShadowCamera
- getPreviewDisplay() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getPreviewFormat() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPreviewFpsRange(int[]) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPreviewFrameRate() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPreviewHeight() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPreviewSize() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPreviewWidth() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getPreviousAsyncSections() - Static method in class org.robolectric.shadows.ShadowTrace
-
Returns a set of all the previously active async trace sections.
- getPreviousKeyCode(int) - Method in class org.robolectric.shadows.ShadowTextView
- getPreviousKeyEvent(int) - Method in class org.robolectric.shadows.ShadowTextView
- getPreviousName(Account) - Method in class org.robolectric.shadows.ShadowAccountManager
- getPreviousSections() - Static method in class org.robolectric.shadows.ShadowTrace
-
Returns a queue of all the previously active trace sections for the current thread.
- getPreviousUiHintBundles() - Method in class org.robolectric.shadows.ShadowVoiceInteractionService
-
Returns list of bundles provided with calls to
ShadowVoiceInteractionService.setUiHints(Bundle bundle)
in invocation order. - getPrevVideoState() - Method in class org.robolectric.shadows.ShadowVideoView
- getPrimaryClip() - Method in class org.robolectric.shadows.ShadowClipboardManager
- getPrimaryClipDescription() - Method in class org.robolectric.shadows.ShadowClipboardManager
- getPrimaryStorageCandidateVolumes() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPrimaryStorageCurrentVolume() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPrimitiveEffects() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the last list of
ShadowVibrator.PrimitiveEffect
. - getPriority() - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Returns the priority set in the
AudioEffect
ctor. - getPrivateFlag(int) - Method in class org.robolectric.shadows.ShadowWindow
-
Return the value from a private flag (a.k.a system flag).
- getPrivilegedConfiguredNetworks() - Method in class org.robolectric.shadows.ShadowWifiManager
- getProcess() - Method in class org.robolectric.manifest.ActivityData
- getProcessId() - Method in class org.robolectric.shadows.ShadowEventLog.ShadowEvent
- getProcessName() - Method in class org.robolectric.manifest.AndroidManifest
- getProductId() - Method in class org.robolectric.shadows.ShadowInputDevice
- getProfileConnectionState(int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Returns the connection state for the given Bluetooth
profile
, defaulting toBluetoothProfile.STATE_DISCONNECTED
if the profile's connection state was never set. - getProfileOwner() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getProfileOwnerNameAsUser(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns the human-readable name of the profile owner for a user if set using
ShadowDevicePolicyManager.setProfileOwnerName(int, java.lang.String)
, otherwise null. - getProfileParent(int) - Method in class org.robolectric.shadows.ShadowUserManager
- getProfileProxy(Context, BluetoothProfile.ServiceListener, int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Overrides behavior of
ShadowBluetoothAdapter.getProfileProxy(android.content.Context,android.bluetooth.BluetoothProfile.ServiceListener,int)
ifShadowBluetoothAdapter.setProfileProxy(int, android.bluetooth.BluetoothProfile)
has been previously called. - getProfiles(int) - Method in class org.robolectric.shadows.ShadowUserManager
-
If any profiles have been added using
ShadowUserManager.addProfile(int, int, java.lang.String, int)
, return those profiles. - getProfileSwitchingIconDrawable(UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns a
Drawable
that can be shown for profile switching, which is guaranteed to always be the same for a particular user and to be distinct between users. - getProfileSwitchingLabel(UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns a
CharSequence
that can be shown as a label for profile switching, which is guaranteed to always be the same for a particular user and to be distinct between users. - getProgress() - Method in class org.robolectric.shadows.ShadowNotification
- getProgressStyle() - Method in class org.robolectric.shadows.ShadowProgressDialog
- getProperty(String) - Method in class org.robolectric.android.XmlResourceParserImpl
- getProperty(String, String) - Static method in class org.robolectric.shadows.ShadowDeviceConfig
- getProtectionLevel() - Method in class org.robolectric.manifest.PermissionItemData
- getProtocolVersion() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getProtocolVersion() - Method in class org.robolectric.shadows.httpclient.StatusLineStub
- getProtocolVersion() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- getProvidedPackageNames() - Method in interface org.robolectric.internal.ShadowProvider
-
Array of Java package names that are shadowed by this package.
- getProvidedPackageNames() - Method in class org.robolectric.Shadows
- getProvidedPackageNames() - Method in class org.robolectric.shadows.gms.Shadows
- getProvidedPackageNames() - Method in class org.robolectric.shadows.httpclient.Shadows
- getProvidedPackageNames() - Method in class org.robolectric.shadows.multidex.Shadows
- getProvider(Uri) - Static method in class org.robolectric.shadows.ShadowContentResolver
- getProvider(String) - Method in class org.robolectric.shadows.ShadowLocationManager
- getProviderInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getProviderProperties(Object) - Method in class org.robolectric.shadows.ShadowLocationManager
- getProviders(boolean) - Method in class org.robolectric.shadows.ShadowLocationManager
- getProviders(Criteria, boolean) - Method in class org.robolectric.shadows.ShadowLocationManager
- getProxyAuthenticationHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getProxyForNetwork(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Returns a proxy for a given
Network
. - getQsTile() - Method in class org.robolectric.shadows.ShadowTileService
- getQualifiers() - Method in class org.robolectric.res.XmlContext
- getQualifiers() - Static method in class org.robolectric.RuntimeEnvironment
-
Returns a qualifier string describing the current
Configuration
of the system resources. - getQualifiers(Configuration, DisplayMetrics) - Static method in class org.robolectric.RuntimeEnvironment
-
Returns a qualifier string describing the given configuration and display metrics.
- getQuantityString(int, int) - Method in class org.robolectric.shadows.ShadowArscResourcesImpl
- getQuantityString(int, int) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- getQuantityString(int, int) - Method in class org.robolectric.shadows.ShadowResources
- getQuantityString(int, int, Object...) - Method in class org.robolectric.shadows.ShadowArscResourcesImpl
- getQuantityString(int, int, Object...) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- getQuantityString(int, int, Object...) - Method in class org.robolectric.shadows.ShadowResources
- getQueueMode() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- getRadioVersion() - Static method in class org.robolectric.shadows.ShadowBuild
- getRadius() - Method in class org.robolectric.shadows.ShadowCornerPathEffect
- getRatingType() - Method in class org.robolectric.shadows.ShadowMediaController
-
Gets the rating type set via
ShadowMediaController.setRatingType(int)
. - getRawValue(int, ResTable_config) - Method in class org.robolectric.res.PackageResourceTable
- getRawValue(int, ResTable_config) - Method in interface org.robolectric.res.ResourceTable
- getRawValue(int, ResTable_config) - Method in class org.robolectric.res.RoutingResourceTable
- getRawValue(ResName, ResTable_config) - Method in class org.robolectric.res.PackageResourceTable
- getRawValue(ResName, ResTable_config) - Method in interface org.robolectric.res.ResourceTable
- getRawValue(ResName, ResTable_config) - Method in class org.robolectric.res.RoutingResourceTable
- getRClass() - Method in class org.robolectric.manifest.AndroidManifest
- getRClass() - Method in class org.robolectric.res.ResourcePath
- getRClassName() - Method in class org.robolectric.manifest.AndroidManifest
- getReadPermission() - Method in class org.robolectric.manifest.ContentProviderData
- getRealMetrics(DisplayMetrics) - Method in class org.robolectric.shadows.ShadowDisplay
-
Deprecated.This behavior is deprecated and will be removed in Robolectric 3.7.
- getRealSize(Point) - Method in class org.robolectric.shadows.ShadowDisplay
- getReasonPhrase() - Method in class org.robolectric.shadows.httpclient.StatusLineStub
- getReasonPhrase() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- getRebindRequestCount() - Static method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Returns the number of times rebind was requested.
- getRebootReasons() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns the list of reasons for each reboot, in chronological order.
- getReceivedMessages() - Method in class org.robolectric.fakes.RoboWebMessagePort
-
Returns the list of all messages received from its connected ports.
- getReceiverInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getReceiversForIntent(Intent) - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.use PackageManager.queryBroadcastReceivers instead
- getRecentlyCommittedRollbacks() - Method in class org.robolectric.shadows.ShadowRollbackManager
- getRectPaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getRedirectHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getReferenceResId() - Method in class org.robolectric.res.AttributeResource
- getReferrer() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- getRefreshRate() - Method in class org.robolectric.shadows.ShadowDisplay
-
Deprecated.This behavior is deprecated and will be removed in Robolectric 3.7.
- getRegisteredAppUsageLimitObservers() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Returns the
ShadowUsageStatsManager.AppUsageLimitObserver
s currently registered inUsageStatsManager
. - getRegisteredAppUsageObservers() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Returns the
ShadowUsageStatsManager.AppUsageObserver
s currently registered inUsageStatsManager
. - getRegisteredCallbackCount() - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- getRegisteredReceivers() - Method in class org.robolectric.shadows.ShadowApplication
- getRegisteredRfcommServerUuids() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Returns an immutable set of
UUID
s representing the currently registered RFCOMM servers. - getRegisteredSubscriptionGroup(VcnManager.VcnStatusCallback) - Method in class org.robolectric.shadows.ShadowVcnManager
-
Gets the subscription group of given VcnStatusCallback in
ShadowVcnManager.callbacks
. - getRegisteredUsageSessionObservers() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Returns the
ShadowUsageStatsManager.UsageSessionObserver
s currently registered inUsageStatsManager
. - getRegisteredVcnStatusCallbacks() - Method in class org.robolectric.shadows.ShadowVcnManager
-
Gets a list of all registered VcnStatusCallbacks.
- getReloadInvocations() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the number of times
android.webkit.WebView#reload()
was invoked - getRemainingLength() - Method in class org.robolectric.res.android.Asset
- getRemoteContext(Context) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- getRemoteContext(Context) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- getRemoteDevice(String) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- getRemoteResource(Context) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- getRemoteResource(Context) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- getRemoteServiceComponentName(Context) - Static method in class org.robolectric.shadows.ShadowRoleControllerManager
- getRenderPriority() - Method in class org.robolectric.fakes.RoboWebSettings
- getRepeat() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the last vibration repeat times.
- getReportedNetworkConnectivity() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getReportFullyDrawn() - Method in class org.robolectric.shadows.ShadowActivity
- getRequest(long) - Method in class org.robolectric.shadows.ShadowDownloadManager
- getRequestCode() - Method in class org.robolectric.shadows.ShadowPendingIntent
- getRequestCount() - Method in class org.robolectric.shadows.ShadowDownloadManager
- getRequestCount() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- getRequestDirector() - Method in class org.robolectric.shadows.httpclient.HttpRequestInfo
- getRequestedOrientation() - Method in class org.robolectric.shadows.ShadowActivity
- getRequestHeaders() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getRequestLocationUpdateListeners() - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Do not test listeners, instead use
ShadowLocationManager.simulateLocation(Location)
and test the results of those listeners being invoked. - getResDir() - Method in class org.robolectric.internal.ManifestIdentifier
- getResDirectory() - Method in class org.robolectric.manifest.AndroidManifest
- getResetters() - Method in class org.robolectric.annotation.processing.RobolectricModel
- getResId() - Method in class org.robolectric.shadows.ShadowIcon
- getResName(int) - Method in class org.robolectric.res.PackageResourceTable
- getResName(int) - Method in interface org.robolectric.res.ResourceTable
- getResName(int) - Method in class org.robolectric.res.RoutingResourceTable
- getResource(int, Ref<ResourceTypes.Res_value>, boolean, int, Ref<Integer>, Ref<ResTable_config>) - Method in class org.robolectric.res.android.ResTable
- getResource(String) - Method in interface org.robolectric.internal.bytecode.ResourceProvider
- getResource(String) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- GetResource(int, boolean, short, Ref<ResourceTypes.Res_value>, Ref<ResTable_config>, Ref<Integer>) - Method in class org.robolectric.res.android.CppAssetManager2
- getResourceAsStream(String) - Method in interface org.robolectric.internal.bytecode.ResourceProvider
- getResourceBagText(int, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceBagValue(int, int, ResTable) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceBagValues(int, ResTable) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceBase() - Method in class org.robolectric.res.ResourcePath
- GetResourceConfigurations(boolean, boolean) - Method in class org.robolectric.res.android.CppAssetManager2
- getResourceEntryName(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceEntryName(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceId() - Method in class org.robolectric.shadows.ShadowArrayAdapter
- getResourceId(ResName) - Method in class org.robolectric.res.PackageResourceTable
- getResourceId(ResName) - Method in interface org.robolectric.res.ResourceTable
- getResourceId(ResName) - Method in class org.robolectric.res.RoutingResourceTable
- GetResourceId(String, String, String) - Method in class org.robolectric.res.android.CppAssetManager2
- getResourceIdentifier(String, String, String) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceIdentifier(String, String, String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceIntArray(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- GetResourceLocales(boolean, boolean) - Method in class org.robolectric.res.android.CppAssetManager2
- getResourceName(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceName(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceName(int, boolean, ResTable.ResourceName) - Method in class org.robolectric.res.android.ResTable
- getResourceName(Integer) - Method in class org.robolectric.android.AttributeSetBuilderImpl.ArscResourceResolver
- getResourceName(Integer) - Method in class org.robolectric.android.AttributeSetBuilderImpl.LegacyResourceResolver
- getResourceName(Integer) - Method in interface org.robolectric.android.AttributeSetBuilderImpl.ResourceResolver
- GetResourceName(int, CppAssetManager2.ResourceName) - Method in class org.robolectric.res.android.CppAssetManager2
- getResourcePackageName(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourcePackageName(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourcePath() - Method in class org.robolectric.manifest.AndroidManifest
- getResourcePlaybacks(int) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Return a list of calls to
play
made for the given resource. - getResourceReference() - Method in class org.robolectric.res.AttributeResource
- getResourceReference(String, String, String) - Static method in class org.robolectric.res.AttributeResource
- getResources() - Method in class org.robolectric.res.android.CppAssetManager
- getResourcesForActivity(ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getResourcesForApplication(ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getResourcesForApplication(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getResourcesForApplicationAsUser(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getResourcesMode() - Method in class org.robolectric.AndroidMetadata
- getResourcesMode() - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- getResourceStringArray(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceTable() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceText(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceTextArray(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceTypeName(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceTypeName(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceValue(int, int, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResponse() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- getResponse() - Method in interface org.robolectric.shadows.httpclient.HttpEntityStub.ResponseRule
- getResponse(HttpRequest) - Method in interface org.robolectric.shadows.httpclient.HttpResponseGenerator
- getResTable() - Method in class org.robolectric.res.android.ResTableTheme
- getRestrictBackgroundStatus() - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Gets the RESTRICT_BACKGROUND_STATUS value.
- getRestriction(int, int) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- getResType() - Method in class org.robolectric.res.TypedResource
- getResultCode() - Method in class org.robolectric.shadows.ShadowActivity
- getResultIntent() - Method in class org.robolectric.shadows.ShadowActivity
- getReturnType() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- getRight() - Method in class org.robolectric.shadows.ShadowRenderNode
- getRight() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getRightVolume() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getRingerMode() - Method in class org.robolectric.shadows.ShadowAudioManager
- getRobolectricClassLoader() - Method in class org.robolectric.internal.bytecode.Sandbox
- getRoot() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getRotation() - Method in class org.robolectric.shadows.ShadowRenderNode
- getRotationX() - Method in class org.robolectric.shadows.ShadowRenderNode
- getRotationX() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getRotationY() - Method in class org.robolectric.shadows.ShadowRenderNode
- getRotationY() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getRotationZ() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getRoundRectPaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getRowBytes() - Method in class org.robolectric.shadows.ShadowBitmap
- getRunningAppProcesses() - Method in class org.robolectric.shadows.ShadowActivityManager
- getRunningServices(int) - Method in class org.robolectric.shadows.ShadowActivityManager
- getRunningTasks(int) - Method in class org.robolectric.shadows.ShadowActivityManager
- getRuntimeStats() - Static method in class org.robolectric.shadows.ShadowDebug
- getSafeBrowsingEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
- getSafetySourceData(String) - Method in class org.robolectric.shadows.ShadowSafetyCenterManager
- getSampleTrackIndex() - Method in class org.robolectric.shadows.ShadowMediaExtractor
- getSamplingRate() - Method in interface org.robolectric.shadows.ShadowVisualizer.VisualizerSource
- getSandbox(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
- getSandbox(FrameworkMethod) - Method in class org.robolectric.RobolectricTestRunner
- getSansSerifFontFamily() - Method in class org.robolectric.fakes.RoboWebSettings
- getSaturationLevel() - Method in class org.robolectric.shadows.ShadowColorDisplayManager
-
Returns the current display saturation level.
- getSaturationLevel() - Method in class org.robolectric.shadows.ShadowDisplayManager
-
Returns the current display saturation level set via
DisplayManager.setSaturationLevel(float)
. - getSaveCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getSavedContext() - Method in class org.robolectric.shadows.ShadowPendingIntent
- getSavedIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
This returns the last Intent in the Intent[] to be delivered when the PendingIntent is sent.
- getSavedIntents() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
This method is particularly useful for PendingIntents created with multiple Intents:
ShadowPendingIntent.getActivities(Context, int, Intent[], int)
ShadowPendingIntent.getActivities(Context, int, Intent[], int, Bundle)
- getSavedMimeTypes() - Static method in class org.robolectric.shadows.ShadowMediaScannerConnection
-
Return the set of file mimeTypes scanned by scanFile()
- getSavedPaths() - Static method in class org.robolectric.shadows.ShadowMediaScannerConnection
-
Return the set of file paths scanned by scanFile()
- getSaveFormData() - Method in class org.robolectric.fakes.RoboWebSettings
- getSavePassword() - Method in class org.robolectric.fakes.RoboWebSettings
- getScAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
- getScAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
- getScAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
- getScale() - Method in class org.robolectric.shadows.ShadowMagnificationController
- getScaledDoubleTapSlop() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledEdgeSlop() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledFadingEdgeLength() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledFrameAtTime(long, int, int, int) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- getScaledMaximumFlingVelocity() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledMinimumFlingVelocity() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledPagingTouchSlop() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledScrollBarSize() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledTouchSlop() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaledWindowTouchSlop() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- getScaleFactor() - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- getScaleX() - Method in class org.robolectric.shadows.ShadowRenderNode
- getScaleX() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getScaleY() - Method in class org.robolectric.shadows.ShadowRenderNode
- getScaleY() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getScanCallbacks() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
-
Returns all currently active
ScanCallback
s. - getScanMode() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- getScanResults() - Method in class org.robolectric.shadows.ShadowWifiManager
- getScheduledAlarms() - Method in class org.robolectric.shadows.ShadowAlarmManager
- getScheduler() - Method in class org.robolectric.shadows.ShadowLegacyLooper
-
Returns the
Scheduler
that is being used to manage the enqueued tasks. - getScheduler() - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- getScheduler() - Method in class org.robolectric.shadows.ShadowLooper
-
Returns the
Scheduler
that is being used to manage the enqueued tasks. - getScheduler() - Method in class org.robolectric.shadows.ShadowMessageQueue
-
Return this queue's Scheduler.
- getScheduler() - Method in class org.robolectric.shadows.ShadowPausedLooper
- getScheduler() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- getSchemes() - Method in class org.robolectric.manifest.IntentFilterData
- getScreenOrientation() - Method in class org.robolectric.manifest.ActivityData
- getScreenSize(Configuration) - Static method in class org.robolectric.android.DeviceConfig
- getScreenWidth(String) - Static method in class org.robolectric.res.Qualifiers
-
Deprecated.Use
Configuration.screenWidthDp
instead. - getScrollBarFadeDuration() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getScrollBarSize() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getScrollDefaultDelay() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getScrollFriction() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getScrollX() - Method in class org.robolectric.shadows.ShadowView
- getScrollY() - Method in class org.robolectric.shadows.ShadowView
- getSdk() - Method in class org.robolectric.internal.AndroidSandbox
- getSdk() - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- getSdk(int) - Method in class org.robolectric.plugins.SdkCollection
- getSdks() - Method in interface org.robolectric.pluginapi.SdkProvider
-
Returns the set of SDKs available to run tests against.
- getSdks() - Method in class org.robolectric.plugins.DefaultSdkProvider
- getSdksFile(Map<String, String>, String) - Method in class org.robolectric.annotation.processing.RobolectricProcessor
-
Extendable to support Bazel environments, where the sdks file is generated as a build artifact.
- getSearchableInfo(ComponentName) - Method in class org.robolectric.shadows.ShadowSearchManager
- getSectionName() - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection
- getSecurityTypes() - Method in class org.robolectric.shadows.ShadowWifiConfiguration
-
Returns the security type set by
setSecurityParams
. - getSeedAccountName() - Method in class org.robolectric.shadows.ShadowUserManager
- getSeedAccountOptions() - Method in class org.robolectric.shadows.ShadowUserManager
- getSeedAccountType() - Method in class org.robolectric.shadows.ShadowUserManager
- getSeekDelay() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getSelection() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
-
Deprecated.implementation detail - use public Android APIs instead
- getSelectionArgs() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
-
Deprecated.implementation detail - use public Android APIs instead
- getSelectionArgs() - Method in class org.robolectric.shadows.ShadowContentResolver.DeleteStatement
- getSelectionArgs() - Method in class org.robolectric.shadows.ShadowContentResolver.UpdateStatement
- getSelectionArgsBackReferences() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
-
Deprecated.implementation detail - use public Android APIs instead
- getSelfManagedPhoneAccounts() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getSensorList(int) - Method in class org.robolectric.shadows.ShadowSensorManager
- getSentAccessibilityEvents() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
-
Returns a list of all accessibility events that have been sent via
ShadowAccessibilityManager.sendAccessibilityEvent(android.view.accessibility.AccessibilityEvent)
. - getSentDialerSpecialCodes() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns immutable list of special codes sent using
TelephonyManager.sendDialerSpecialCode(String)
. - getSentHttpRequest(int) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain HTTP requests made during the current test in the order in which they were made.
- getSentHttpRequest(int) - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
-
Deprecated.Use
FakeHttp.getSentHttpRequestInfo(int)
instead.) - getSentHttpRequestInfo(int) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to obtain metadata for an HTTP request made during the current test in the order in which they were made.
- getSentHttpRequestInfo(int) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getSentHttpRequestInfo(int) - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
-
Deprecated.Use
FakeHttp.getSentHttpRequest(int)
instead.) - getSentHttpRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- getSentIntent() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
- getSentIntent() - Method in class org.robolectric.shadows.ShadowSmsManager.SendMultimediaMessageParams
- getSentIntent() - Method in class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
- getSentIntent() - Method in class org.robolectric.shadows.ShadowTelephonyManager.VisualVoicemailSmsParams
- getSentIntents() - Method in class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
- getSerial() - Static method in class org.robolectric.shadows.ShadowBuild
- getSerialNumberForUser(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- getSerialNumbersOfUsers(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
- getSerifFontFamily() - Method in class org.robolectric.fakes.RoboWebSettings
- getService() - Static method in class org.robolectric.shadows.ShadowActivityManager
- getService() - Static method in class org.robolectric.shadows.ShadowActivityTaskManager
- getService() - Static method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Implements getService() in the same way the original method does, but ignores any Exceptions from invoking
BluetoothAdapter.getBluetoothService()
. - getService() - Static method in class org.robolectric.shadows.ShadowPlayerBase
- getService() - Static method in class org.robolectric.shadows.ShadowSoundPool
- getService(Context, int, Intent, int) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- getService(String) - Static method in class org.robolectric.shadows.ShadowServiceManager
-
Returns the binder associated with the given system service.
- getServiceComponentName() - Method in class org.robolectric.shadows.ShadowContentCaptureManager
- getServiceData(String) - Method in class org.robolectric.manifest.AndroidManifest
- getServiceEvents() - Static method in class org.robolectric.shadows.ShadowQuickAccessWalletService
-
Returns a list of service events sent with
ShadowQuickAccessWalletService.sendWalletServiceEvent(android.service.quickaccesswallet.WalletServiceEvent)
- getServiceInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getServices() - Method in class org.robolectric.manifest.AndroidManifest
- getServicesSystemSharedLibraryPackageName() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getServiceState() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default or the value specified viaShadowTelephonyManager.setServiceState(ServiceState)
- getServiceState(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default or the value specified viaShadowTelephonyManager.setServiceState(ServiceState)
- getSessionActivity() - Method in class org.robolectric.shadows.ShadowMediaController
-
Gets the playbackState set via
ShadowMediaController.setSessionActivity(android.app.PendingIntent)
. - getSessionEndedIntent() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- getSessionInfo(int) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- getSessionStepDuration() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- getSessionStepTriggeredIntent() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- getSetOperations() - Method in class org.robolectric.shadows.ShadowMatrix
-
A map of all 'set' operations performed on this Matrix.
- getSettingForType(int) - Static method in class org.robolectric.shadows.ShadowRingtoneManager
- getSettings() - Method in class org.robolectric.shadows.ShadowWebView
- getShader() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowBaseName() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- getShadowBinaryName() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- getShadowColor() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowCreator(Class<?>) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric to determine how to create and initialize a shadow object when a new instance of an instrumented class has been instantiated.
- getShadowCreator(Class<?>) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- getShadowCreator(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- getShadowDx() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowDy() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowedPackages() - Method in class org.robolectric.annotation.processing.RobolectricModel
- getShadowInfo(Class<?>, ShadowMatcher) - Method in class org.robolectric.internal.bytecode.ShadowMap
- getShadowInvalidator() - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- getShadowMainLooper() - Static method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.Use
shadowOf({@link Looper#getMainLooper()})
instead. - getShadowName() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- getShadowPackageArchiveInfo(String, int) - Method in class org.robolectric.shadows.ShadowPackageManager
- getShadowPickerBinaryName() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- getShadowPickerClass() - Method in class org.robolectric.internal.bytecode.ShadowInfo
- getShadowPickerMap() - Method in interface org.robolectric.internal.ShadowProvider
-
Map of framework classes which may be represented by more than one shadow, to be picked at runtime.
- getShadowPickerMap() - Method in class org.robolectric.Shadows
- getShadowPickers() - Method in class org.robolectric.annotation.processing.RobolectricModel
- getShadowRadius() - Method in class org.robolectric.shadows.ShadowPaint
- getShadows() - Method in interface org.robolectric.internal.ShadowProvider
-
Return a collection of Map.Entry objects representing the mapping of class name to shadow name.
- getShadows() - Method in class org.robolectric.Shadows
- getShadows() - Method in class org.robolectric.shadows.gms.Shadows
- getShadows() - Method in class org.robolectric.shadows.httpclient.Shadows
- getShadows() - Method in class org.robolectric.shadows.multidex.Shadows
- getShadowTypeWithParams() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- getShareDescription() - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Returns the description of the bugreport if set with
requestBugreport
, else null. - getSharedPreferences(String, int) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- getSharedPreferences(String, int) - Method in class org.robolectric.shadows.ShadowContextImpl
- getSharedSystemSharedLibraryPackageName() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getShareTitle() - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Returns the title of the bugreport if set with
requestBugreport
, else null. - getShort(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getShort(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getShort(int) - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_header
- getShort(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getShortcutConfigActivityIntent(LauncherActivityInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
- getShortcutConfigActivityList(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- getShortcuts(int) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
In Robolectric, ShadowShortcutManager doesn't perform any caching so long lived shortcuts are returned on place of shortcuts cached when shown in notifications.
- getShortcuts(LauncherApps.ShortcutQuery, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
This method is an incomplete implementation of this API that only supports querying for pinned dynamic shortcuts.
- getShortName() - Method in class org.robolectric.internal.dependency.DependencyJar
- getShortSupportMessage(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getShowMode() - Method in class org.robolectric.shadows.ShadowSoftKeyboardController
- getShownDialogs() - Static method in class org.robolectric.shadows.ShadowDialog
- getShownToasts() - Method in class org.robolectric.shadows.ShadowApplication
- getShowWhenLocked() - Method in class org.robolectric.shadows.ShadowActivity
- getSignalStrength() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSigningCertificateHistory() - Method in class org.robolectric.shadows.ShadowSigningInfo
- getSimCallManager() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getSimCallManager(int) - Method in class org.robolectric.shadows.ShadowTelecomManager
- getSimCarrierId() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSimCountryIso() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the SIM country lowercase.
- getSimCountryIso(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSimLocale() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns sim locale set by
ShadowTelephonyManager.setSimLocale(java.util.Locale)
. - getSimOperator() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSimOperatorName() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSimSerialNumber() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSimState() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSimState(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSingleLeScanCallback() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- getSingleton() - Static method in class org.robolectric.shadows.ShadowMimeTypeMap
- getSingleton(Class<T>, Provider<T>) - Method in class org.robolectric.shadows.ShadowApplication
- getSizeInternal(Point, boolean) - Method in class org.robolectric.shadows.ShadowDisplay
- getSmallestScreenWidth(String) - Static method in class org.robolectric.res.Qualifiers
-
Deprecated.Use
Configuration.smallestScreenWidthDp
instead. - getSmoothScrolledPosition() - Method in class org.robolectric.shadows.ShadowAbsListView
-
Robolectric accessor for the last smoothScrolledPosition
- getSmscAddress() - Method in class org.robolectric.shadows.ShadowSmsManager
-
Returns
null
by default or the value specified viaShadowSmsManager.setSmscAddress(String)
. - getSoftInputMode() - Method in class org.robolectric.shadows.ShadowWindow
- getSource() - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
-
Returns the
AccessibilityNodeInfo
of the event source ornull
if there is none. - getSource() - Method in class org.robolectric.shadows.ShadowBitmapDrawable
- getSourceLayoutResId() - Method in class org.robolectric.shadows.ShadowView
-
Returns the layout resource id this view was inflated from.
- getSourceResId() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the resource ID used in the call to
ShadowMediaPlayer.create(Context, int)
(if any). - getSourceResourceId() - Method in class org.robolectric.res.android.ResXMLParser
- getSourceRoot() - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
- getSourceUri() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the source path (if any) that was passed in to
MediaPlayer.setDataSource(Context, Uri, Map)
orMediaPlayer.setDataSource(Context, Uri)
. - getSpecByTag(String) - Method in class org.robolectric.shadows.ShadowTabHost
- getSpecificationInfo() - Method in class org.robolectric.shadows.ShadowUwbManager
-
Simply returns the bundle provided by
ShadowUwbManager#setSpecificationInfo()
, allowing the tester to dictate available features. - getSplashScreen() - Method in class org.robolectric.shadows.ShadowActivity
- getSplashScreenTheme() - Method in class org.robolectric.fakes.RoboSplashScreen
- getSplitClassLoader(String) - Method in class org.robolectric.shadows.ShadowLoadedApk
- getSpokenTextList() - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns list of all the text spoken by
ShadowTextToSpeech.speak(java.lang.String, int, java.util.HashMap<java.lang.String, java.lang.String>)
. - getStableDisplaySize() - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
-
Returns the 'natural' dimensions of the default display.
- getStandardFontFamily() - Method in class org.robolectric.fakes.RoboWebSettings
- getState() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- getState() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the current state of the
MediaPlayer
. - getState() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getState() - Method in class org.robolectric.shadows.ShadowNetworkInfo
- getStatements() - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.This method does not work with
ContentResolver.acquireContentProviderClient(android.net.Uri)
- getStaticField(Class<?>, String) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively get the value of a static field.
- getStaticField(Field) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively get the value of a static field.
- getStatSize() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- getStatsLogs() - Static method in class org.robolectric.shadows.ShadowStatsLog
- getStatus() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getStatus() - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
- getStatus(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
- getStatus(Account, String, boolean) - Static method in class org.robolectric.shadows.ShadowContentResolver
-
Retrieve information on the status of the given account.
- getStatusCode() - Method in class org.robolectric.shadows.httpclient.StatusLineStub
- getStatusCode() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- getStatusLine() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- getStatusLine() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- getStopSelfId() - Method in class org.robolectric.shadows.ShadowService
-
Returns id passed to
ShadowService.stopSelf(int)
method. - getStopSelfResultId() - Method in class org.robolectric.shadows.ShadowService
-
Returns id passed to
ShadowService.stopSelfResult(int)
method. - getStorageEncryption(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getStorageEncryptionStatus() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getStorageState(File) - Static method in class org.robolectric.shadows.ShadowEnvironment
- getStorageVolume(File) - Method in class org.robolectric.shadows.ShadowStorageManager
-
Checks whether File belongs to any
StorageVolume
in the list returned byShadowStorageManager.getStorageVolumes()
. - getStorageVolumes() - Method in class org.robolectric.shadows.ShadowStorageManager
-
Returns the storage volumes configured via
#addStorageVolume()
. - getStreamMaxVolume(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- getStreamTypes(Uri, String) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- getStreamVolume(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- getStreamVolumeDb(int, int, int) - Method in class org.robolectric.shadows.ShadowAudioManager
- getString() - Method in class org.robolectric.res.Plural
- getString(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getString(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getString(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getString(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- getString(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- getString(ContentResolver, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- getString(String, Supplier<String>) - Method in class org.robolectric.shadows.ShadowDevicePolicyResourcesManager
- getStringBlockCount() - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getStringBlockCount() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getStringForUser(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- getStringForUser(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- getStringForUser(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- GetStringPool() - Method in class org.robolectric.res.android.LoadedArsc
- getStrings() - Method in class org.robolectric.res.android.ResXMLParser
- getStrings() - Method in class org.robolectric.res.android.ResXMLTree
- getStrokeCap() - Method in class org.robolectric.shadows.ShadowPaint
- getStrokeColor() - Method in class org.robolectric.shadows.ShadowGradientDrawable
- getStrokeJoin() - Method in class org.robolectric.shadows.ShadowPaint
- getStrokeWidth() - Method in class org.robolectric.shadows.ShadowGradientDrawable
- getStrokeWidth() - Method in class org.robolectric.shadows.ShadowPaint
- getStyle() - Method in class org.robolectric.shadows.ShadowPaint
- getStyle() - Method in class org.robolectric.shadows.ShadowTypeface.FontDesc
- getStyle() - Method in class org.robolectric.shadows.ShadowTypeface
- getStyleAttribute() - Method in class org.robolectric.android.XmlResourceParserImpl
- getStyleReference() - Method in class org.robolectric.res.AttributeResource
- getStyleReference(String, String, String) - Static method in class org.robolectric.res.AttributeResource
- getSubMenu() - Method in class org.robolectric.fakes.RoboMenuItem
- getSubscriberId() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSubscriptionId() - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Get subscription id
- getSubtype() - Method in class org.robolectric.shadows.ShadowNetworkInfo
- getSupportedFlashModes() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedFocusModes() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedHashAlgorithms() - Method in class org.robolectric.shadows.ShadowDisplayHashManager
- getSupportedPictureFormats() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedPictureSizes() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedPreviewFormats() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedPreviewFpsRange() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedPreviewFrameRates() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedPreviewSizes() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getSupportedSdks() - Method in class org.robolectric.plugins.SdkCollection
- getSupportedSourceVersion() - Method in class org.robolectric.annotation.processing.RobolectricProcessor
- getSupportMultipleWindows() - Method in class org.robolectric.fakes.RoboWebSettings
- getSupportZoom() - Method in class org.robolectric.fakes.RoboWebSettings
- getSurface() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getSurface() - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- getSurfaceControl() - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- getSurfaceFrame() - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- getSurfaceTexture() - Method in class org.robolectric.shadows.ShadowSurface
- getSuspendedAppExtras() - Method in class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- getSuspendedLauncherExtras() - Method in class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- getSuspendedPackageLauncherExtras(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- getSvid() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
identification number
of the satellite. - getSwitchPoint(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowInvalidator
- getSwitchPoint(String) - Method in class org.robolectric.internal.bytecode.ShadowInvalidator
- getSyncAdapterTypes() - Static method in class org.robolectric.shadows.ShadowContentResolver
- getSyncAutomatically(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
- getSystem() - Static method in class org.robolectric.shadows.ShadowResources
- getSystemActions() - Method in class org.robolectric.shadows.ShadowAccessibilityService
- getSystemAvailableFeatures() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getSystemDialerPackage() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getSystemFallback(String) - Static method in class org.robolectric.shadows.ShadowSystemFonts
- getSystemFontConfigInternal(String, String, String, String, Map<String, File>, long, int) - Static method in class org.robolectric.shadows.ShadowSystemFonts
-
Overrides to prevent the Log.e Failed to open/read system font configurations
- getSystemResourceTable() - Static method in class org.robolectric.RuntimeEnvironment
- getSystemService(String) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- getSystemService(String) - Method in class org.robolectric.shadows.ShadowContextImpl
-
Returns the handle to a system-level service by name.
- getSystemSharedLibraryNames() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Returns all the values added via
ShadowPackageManager.addSystemSharedLibraryName(String)
. - getSystemTextClassifierPackageName() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getSystemUpdatePolicy() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getTabHost() - Method in class org.robolectric.shadows.ShadowTabActivity
- getTableCookie(int) - Method in class org.robolectric.res.android.ResTable
- getTableCount() - Method in class org.robolectric.res.android.ResTable
- getTableStringBlock(int) - Method in class org.robolectric.res.android.ResTable
- getTabWidget() - Method in class org.robolectric.shadows.ShadowTabActivity
- getTabWidget() - Method in class org.robolectric.shadows.ShadowTabHost
- getTag() - Method in class org.robolectric.shadows.ShadowEventLog.ShadowEvent
- getTag() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
-
Returns the tag.
- getTag() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- getTapTimeout() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getTarget() - Method in class org.robolectric.shadows.ShadowPausedMessage
- getTargetActivity() - Method in class org.robolectric.manifest.ActivityData
- getTargetActivityName() - Method in class org.robolectric.manifest.ActivityData
- getTargetAttr(String) - Static method in class org.robolectric.manifest.ActivityData
- getTargetAuthenticationHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getTargetContext() - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- getTargetPackage() - Method in class org.robolectric.shadows.ShadowPendingIntent
- getTargetSdkVersion() - Method in class org.robolectric.manifest.AndroidManifest
-
Returns the Android SDK version that this package prefers to be run on, as specified in the manifest.
- getTargetSdkVersion() - Method in interface org.robolectric.pluginapi.UsesSdk
-
Returns the Android SDK version that this package prefers to be run on, as specified in the manifest.
- getTargetUserProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns a list of
UserHandle
s currently accessible. - getTaskAffinity() - Method in class org.robolectric.manifest.ActivityData
- getTaskId() - Method in class org.robolectric.shadows.ShadowActivity
- getTaskInfo() - Method in class org.robolectric.shadows.ShadowAppTask
-
For tests, returns the
ActivityManager.RecentTaskInfo
set usingShadowAppTask.setTaskInfo(RecentTaskInfo)
. - getTechLists() - Method in class org.robolectric.shadows.ShadowNfcAdapter
- getTelephonyServiceManager() - Static method in class org.robolectric.shadows.ShadowTelephonyFrameworkInitializer
- getTempDirectory() - Static method in class org.robolectric.RuntimeEnvironment
- getTestEnvironment() - Method in class org.robolectric.internal.AndroidSandbox
- getTestLifecycleClass() - Method in class org.robolectric.RobolectricTestRunner
-
An instance of the returned class will be created for each test invocation.
- getText() - Method in class org.robolectric.android.XmlResourceParserImpl
- getText() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getText() - Method in class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
- getText() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
-
Same as GetIndicatorLabel()
- getText() - Method in class org.robolectric.shadows.ShadowTelephonyManager.VisualVoicemailSmsParams
- getText(String, int, ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Returns a user stored String resource with
resId
corresponding topackageName
. - getTextAlign() - Method in class org.robolectric.shadows.ShadowPaint
- getTextAppearanceId() - Method in class org.robolectric.shadows.ShadowTextView
- getTextCharacters(int[]) - Method in class org.robolectric.android.XmlResourceParserImpl
- getTextHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getTextID() - Method in class org.robolectric.res.android.ResXMLParser
- getTextOfLatestToast() - Static method in class org.robolectric.shadows.ShadowToast
-
Returns the text of the most recently shown
Toast
. - getTextScaleX() - Method in class org.robolectric.shadows.ShadowPaint
- getTextServicesLocale() - Method in class org.robolectric.shadows.ShadowTextView
- getTextSize() - Method in class org.robolectric.shadows.ShadowPaint
- getTextSkewX() - Method in class org.robolectric.shadows.ShadowPaint
- getTextViewResourceId() - Method in class org.robolectric.shadows.ShadowArrayAdapter
- getTextZoom() - Method in class org.robolectric.fakes.RoboWebSettings
- getTheAudioStreamType() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Note: This has a funny name at the moment to avoid having to produce an API-specific shadow - if it were called
getAudioStreamType()
then theRobolectricWiringTest
will inform us that it should be annotated withImplementation
, because there is a private method in the later API versions with the same name, however this would fail on earlier versions. - getTheClass() - Method in class org.robolectric.internal.bytecode.RoboCallSite
- getThemeRef() - Method in class org.robolectric.manifest.ActivityData
-
Convenience accessor for value of android:THEME attribute.
- getThemeRef() - Method in class org.robolectric.manifest.AndroidManifest
- getThemeRef(String) - Method in class org.robolectric.manifest.AndroidManifest
- getThemeValue(int, int, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getThemeValue(long, int, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getThermalStatusListeners() - Method in class org.robolectric.shadows.ShadowPowerManager
-
This function gets listeners for thermal status change.
- getThreadId() - Method in class org.robolectric.shadows.ShadowEventLog.ShadowEvent
- getThreadInstance() - Method in interface org.robolectric.shadows.ShadowChoreographer.ChoreographerReflector
- getThreadPriority(int) - Static method in class org.robolectric.shadows.ShadowProcess
-
Returns priority stored for the given thread.
- getThreadState() - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- getThreadStatsTag() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getThresholdDuration() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- getThumbnail(ContentResolver, long, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowMediaStore.ShadowImages.ShadowThumbnails
- getThumbnail(ContentResolver, long, int, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowMediaStore.ShadowVideo.ShadowThumbnails
- getTile() - Method in class org.robolectric.shadows.ShadowLinearGradient
- getTimeLimit() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- getTimeLimit() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
- getTimeNanos() - Method in class org.robolectric.shadows.ShadowEventLog.ShadowEvent
- getTimeout() - Method in class org.robolectric.shadows.ShadowIsoDep
- getTimesHeld() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
-
Returns how many times the wakelock was held.
- getTimesRebooted() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns the number of times
ShadowPowerManager.reboot(String)
was called. - getTimeUnit() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageObserver
- getTimeUsed() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- getTimeZone() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns the time zone set by setTimeZone.
- getTimeZoneCapabilitiesAndConfig() - Method in class org.robolectric.shadows.ShadowTimeManager
- getTitle() - Method in class org.robolectric.fakes.RoboMenuItem
- getTitle() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
-
Returns the title of this window, or
null
if none is available. - getTitle() - Method in class org.robolectric.shadows.ShadowAlertController
- getTitle() - Method in class org.robolectric.shadows.ShadowAlertDialog
- getTitle() - Method in class org.robolectric.shadows.ShadowDialog
- getTitle() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- getTitle() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getTitle() - Method in class org.robolectric.shadows.ShadowWebView
- getTitle() - Method in class org.robolectric.shadows.ShadowWindow
- getTitleCondensed() - Method in class org.robolectric.fakes.RoboMenuItem
- getTitleResId() - Method in class org.robolectric.shadows.ShadowSuspendDialogInfo
-
Returns the resource id of the title to be used with the dialog.
- getToken() - Method in interface org.robolectric.shadows._Activity_
- getToken(Context, Account, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getToken(Context, Account, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getToken(Context, Account, String, Bundle) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getToken(Context, Account, String, Bundle) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getToken(Context, String, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getToken(Context, String, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getToken(Context, String, String, Bundle) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getToken(Context, String, String, Bundle) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getTokenWithNotification(Context, Account, String, Bundle) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getTokenWithNotification(Context, Account, String, Bundle) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getTokenWithNotification(Context, Account, String, Bundle, Intent) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getTokenWithNotification(Context, Account, String, Bundle, Intent) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getTokenWithNotification(Context, Account, String, Bundle, String, Bundle) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getTokenWithNotification(Context, Account, String, Bundle, String, Bundle) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getTokenWithNotification(Context, String, String, Bundle) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getTokenWithNotification(Context, String, String, Bundle) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getTokenWithNotification(Context, String, String, Bundle, Intent) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getTokenWithNotification(Context, String, String, Bundle, Intent) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getTokenWithNotification(Context, String, String, Bundle, String, Bundle) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- getTokenWithNotification(Context, String, String, Bundle, String, Bundle) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- getTop() - Method in class org.robolectric.shadows.ShadowRenderNode
- getTop() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getTorchMode(String) - Method in class org.robolectric.shadows.ShadowCameraManager
-
Returns what the supplied camera's torch is set to.
- getTotalBytes() - Method in class org.robolectric.shadows.ShadowStatFs
- getTotalBytes(UUID) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
-
Fake implementation of
StorageStatsManager.getTotalBytes(java.util.UUID)
that returns test setup values. - getTotalLength() - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
-
Returns the total length of the path
- getTotalRxBytes() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getTotalRxPackets() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getTotalSize() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getTotalTxBytes() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getTotalTxPackets() - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getTouchSlop() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getTrackCount() - Method in class org.robolectric.shadows.ShadowMediaExtractor
- getTrackFormat(int) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- getTransformCapabilities() - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- getTranslationX() - Method in class org.robolectric.shadows.ShadowRenderNode
- getTranslationX() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getTranslationY() - Method in class org.robolectric.shadows.ShadowRenderNode
- getTranslationY() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getTranslationZ() - Method in class org.robolectric.shadows.ShadowRenderNode
- getTranslationZ() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getTraversalAfter() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getTraversalBefore() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getTurnScreenOn() - Method in class org.robolectric.shadows.ShadowActivity
- getType() - Method in class org.robolectric.internal.dependency.DependencyJar
- getType() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getType() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Overrides behavior of
BluetoothDevice.getType()
to return pre-set result. - getType() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
-
Deprecated.implementation detail - use public Android APIs instead
- getType() - Method in class org.robolectric.shadows.ShadowIcon
- getType() - Method in class org.robolectric.shadows.ShadowNetworkInfo
- getType() - Method in class org.robolectric.shadows.ShadowPath.Point
- getType(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getType(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- getType(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getType(Uri) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- getType(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
- getTypedArrayResource(Resources, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getTypeElement(String) - Method in class org.robolectric.annotation.processing.Helpers
- getTypeface() - Method in class org.robolectric.shadows.ShadowPaint
- getTypeIdentifier(int) - Static method in class org.robolectric.res.ResourceIds
- getUiAutomation() - Method in class org.robolectric.shadows.ShadowInstrumentation
- getUiAutomation(int) - Method in class org.robolectric.shadows.ShadowInstrumentation
- getUiccSlotsInfo() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the UICC slots information set by
ShadowTelephonyManager.setUiccSlotsInfo(java.lang.Object)
. - getUidForSharedUser(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getUidImportance(int) - Method in class org.robolectric.shadows.ShadowActivityManager
- getUidRxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidRxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidTcpRxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidTcpRxSegments(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidTcpTxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidTcpTxSegments(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidTxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidTxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidUdpRxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidUdpRxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidUdpTxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUidUdpTxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- getUIOptions() - Method in class org.robolectric.manifest.ActivityData
- getUnbindableActions() - Method in class org.robolectric.shadows.ShadowInstrumentation
- getUnbindRequestCount() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Returns the number of times unbind was requested.
- getUnboundServiceConnections() - Method in class org.robolectric.shadows.ShadowApplication
- getUnboundServiceConnections() - Method in class org.robolectric.shadows.ShadowInstrumentation
- getUnsupportedMessage() - Method in class org.robolectric.pluginapi.Sdk
-
Returns a human-readable message explaining why this SDK isn't supported.
- getUnsupportedMessage() - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
- getUnsuspendablePackages(String[]) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getUpdateStatements() - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.This method does not work with
ContentResolver.acquireContentProviderClient(android.net.Uri)
- getUpEvent(char) - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
- getUri() - Method in class org.robolectric.shadows.ShadowContentResolver.Statement
- getUri() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- getUri() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getUri() - Method in class org.robolectric.shadows.ShadowIcon
- getUrl() - Method in class org.robolectric.shadows.ShadowWebView
- getUsabilityScores() - Method in class org.robolectric.shadows.ShadowWifiManager
-
Returns wifi usability scores previous passed to
WifiManager.updateWifiUsabilityScore(int, int, int)
- getUsageSource() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- getUsedPermissions() - Method in class org.robolectric.manifest.AndroidManifest
- getUserAgent() - Method in class org.robolectric.fakes.RoboWebSettings
- getUserAgentString() - Method in class org.robolectric.fakes.RoboWebSettings
- getUserBadgedIcon(Drawable, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Adds a profile badge to the icon.
- getUserBadgeForDensity(UserHandle, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getUserData(Account, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- getUserForSerialNumber(long) - Method in class org.robolectric.shadows.ShadowUserManager
- getUserHandle() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- getUserHandle() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
-
Deprecated.
- getUserHandle(int) - Method in class org.robolectric.shadows.ShadowUserManager
- getUserIcon() - Method in class org.robolectric.shadows.ShadowUserManager
- getUserId() - Method in class org.robolectric.shadows.ShadowContextImpl
- getUserInfo(int) - Method in class org.robolectric.shadows.ShadowUserManager
- getUserName() - Method in class org.robolectric.shadows.ShadowUserManager
-
Returns the name of the user.
- getUserProfiles() - Method in class org.robolectric.shadows.ShadowUserManager
- getUserProvisioningState() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns the provisioning state set in
ShadowDevicePolicyManager.setUserProvisioningState(int)
, orDevicePolicyManager.STATE_USER_UNMANAGED
if none is set. - getUserProvisioningStateForUser(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns the user provisioning state set by
ShadowDevicePolicyManager.setUserProvisioningState(int, UserHandle)
, orDevicePolicyManager.STATE_USER_UNMANAGED
if none is set. - getUserRestrictions() - Method in class org.robolectric.shadows.ShadowUserManager
- getUserRestrictions(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- getUsers() - Method in class org.robolectric.shadows.ShadowUserManager
- getUserSelectedOutgoingPhoneAccount() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getUserSerialNumber(int) - Method in class org.robolectric.shadows.ShadowUserManager
- getUserSwitchability() - Method in class org.robolectric.shadows.ShadowUserManager
- getUserTokenHandler() - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- getUseWebViewBackgroundForOverscrollBackground() - Method in class org.robolectric.fakes.RoboWebSettings
- getUseWideViewPort() - Method in class org.robolectric.fakes.RoboWebSettings
- getUtteranceProgressListener() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- getUuids() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Overrides behavior of
BluetoothDevice.getUuids()
to return pre-set result. - getValue() - Method in class org.robolectric.shadows.NativeBitSet64
- getValue() - Method in class org.robolectric.shadows.ShadowNumberPicker
- getValue() - Method in class org.robolectric.shadows.ShadowTrace.Counter
- getValue(int, ResTable_config) - Method in class org.robolectric.res.PackageResourceTable
- getValue(int, ResTable_config) - Method in interface org.robolectric.res.ResourceTable
- getValue(int, ResTable_config) - Method in class org.robolectric.res.RoutingResourceTable
- getValue(String, String, boolean) - Static method in class org.robolectric.shadows.ResourceHelper
-
Returns the raw value from the given attribute float-type value string.
- getValue(String, String, boolean) - Static method in class org.robolectric.shadows.ResourceHelper2
-
Returns the raw value from the given attribute float-type value string.
- getValue(ResName, ResTable_config) - Method in class org.robolectric.res.PackageResourceTable
- getValue(ResName, ResTable_config) - Method in interface org.robolectric.res.ResourceTable
- getValue(ResName, ResTable_config) - Method in class org.robolectric.res.RoutingResourceTable
- getValueFor(String) - Method in class org.robolectric.res.AttrData
- getValueMap() - Method in class org.robolectric.manifest.MetaData
- getValues(float[]) - Method in class org.robolectric.shadows.ShadowMatrix
- getValues(ReflectionHelpers.ClassParameter<?>...) - Static method in class org.robolectric.util.ReflectionHelpers.ClassParameter
- getValuesBackReferences() - Method in class org.robolectric.shadows.ShadowContentProviderOperation
-
Deprecated.implementation detail - use public Android APIs instead
- getVendorId() - Method in class org.robolectric.shadows.ShadowInputDevice
- getVerificationExtendedTimeout(int) - Method in class org.robolectric.shadows.ShadowPackageManager
- getVerificationResult(int) - Method in class org.robolectric.shadows.ShadowPackageManager
- getVerifierDeviceIdentity() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getVersion() - Method in class org.robolectric.internal.dependency.DependencyJar
- getVersionCode() - Method in class org.robolectric.manifest.AndroidManifest
- getVersionName() - Method in class org.robolectric.manifest.AndroidManifest
- getVibrationAttributesFromLastVibration() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the
VibrationAttributes
from the last vibration. - getVibrationEffectSegments() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the last list of
VibrationEffectSegment
. - getVideoEncoder() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getVideoEncodingBitRate() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getVideoFrameRate() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getVideoHeight() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getVideoHeight() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getVideoOverlayForEmbeddedEncryptedVideoEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
- getVideoPath() - Method in class org.robolectric.shadows.ShadowVideoView
- getVideoSource() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getVideoURIString() - Method in class org.robolectric.shadows.ShadowVideoView
- getVideoWidth() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getVideoWidth() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getView() - Method in class org.robolectric.shadows.ShadowAlertController
- getView() - Method in class org.robolectric.shadows.ShadowAlertDialog
- getView() - Method in class org.robolectric.shadows.ShadowToast
- getViewFor(int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- getViews() - Method in class org.robolectric.shadows.ShadowWindowManagerImpl
- getVirtualDescendantId() - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
- getVisibleInDownloadsUi() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getVisibleShadowTypes() - Method in class org.robolectric.annotation.processing.RobolectricModel
- getVisualVoicemailPackageName() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the value set by
ShadowTelephonyManager.setVisualVoicemailPackageName(String)
. - getVisualVoicemailSmsFilterSettings() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the last set
VisualVoicemailSmsFilterSettings
. - getVoiceActivityIntents() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns the list of
Intent
instances passed intoVoiceInteractionSession.startVoiceActivity(Intent)
in invocation order. - getVoiceInteractions() - Method in class org.robolectric.shadows.ShadowVoiceInteractor
-
Returns the voice interactions called on
VoiceInteractor
instance associated with this shadow. - getVoiceMailAlphaTag() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default or the value specified viaShadowTelephonyManager.setVoiceMailAlphaTag(String)
. - getVoiceMailNumber() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default, or the value specified viaShadowTelephonyManager.setVoiceMailNumber(String)
. - getVoiceMailNumber(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- getVoicemailRingtoneUri(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default or the value specified viaShadowTelephonyManager.setVoicemailRingtoneUri(PhoneAccountHandle, Uri)
. - getVoiceNetworkType() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns whatever value was set by the last call to
ShadowTelephonyManager.setVoiceNetworkType(int)
, defaulting toTelephonyManager.NETWORK_TYPE_UNKNOWN
if it was never called. - getVoices() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- getVolumeControlStream() - Method in class org.robolectric.shadows.ShadowActivity
- getVolumeList() - Method in class org.robolectric.shadows.ShadowStorageManager
-
Gets the volume list from
ShadowStorageManager.getVolumeList(int, int)
- getVolumeList(int, int) - Static method in class org.robolectric.shadows.ShadowStorageManager
- getWallpaperCommandRecords() - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Returns all the invocation records to
WallpaperManager.sendWallpaperCommand(android.os.IBinder, java.lang.String, int, int, int, android.os.Bundle)
- getWallpaperDimAmount() - Method in class org.robolectric.shadows.ShadowWallpaperManager
- getWallpaperFile(int) - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Gets a wallpaper file associated with
which
. - getWallpaperInfo() - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Returns the information about the wallpaper if the current wallpaper is a live wallpaper component.
- getWantsAllOnMoveCalls() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- getWantsAllOnMoveCalls() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getWatchers() - Method in class org.robolectric.shadows.ShadowTextView
- getWaveForm(byte[]) - Method in interface org.robolectric.shadows.ShadowVisualizer.VisualizerSource
- getWebChromeClient() - Method in class org.robolectric.shadows.ShadowWebView
- getWebMessageCallback() - Method in class org.robolectric.fakes.RoboWebMessagePort
- getWebViewClient() - Method in class org.robolectric.shadows.ShadowWebView
- getWhen() - Method in class org.robolectric.shadows.ShadowPausedMessage
- getWhere() - Method in class org.robolectric.shadows.ShadowContentResolver.DeleteStatement
- getWhere() - Method in class org.robolectric.shadows.ShadowContentResolver.UpdateStatement
- getWidth() - Method in class org.robolectric.shadows.RoundRectangle
- getWidth() - Method in class org.robolectric.shadows.ShadowBitmap
- getWidth() - Method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
- getWidth() - Method in class org.robolectric.shadows.ShadowCanvas
- getWidth() - Method in class org.robolectric.shadows.ShadowImageReader.ShadowSurfaceImage
- getWidth() - Method in class org.robolectric.shadows.ShadowPaint
- getWidth() - Method in class org.robolectric.shadows.ShadowPicture
- getWidth() - Method in class org.robolectric.shadows.ShadowRenderNode
- getWidth() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getWifiApConfiguration() - Method in class org.robolectric.shadows.ShadowWifiManager
- getWifiConfiguration(int) - Method in class org.robolectric.shadows.ShadowWifiManager
- getWifiDisplayStatus() - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- getWifiState() - Method in class org.robolectric.shadows.ShadowWifiManager
- getWindingRule() - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
- getWindow() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getWindow() - Method in class org.robolectric.shadows.ShadowActivity
-
Constructs a new Window (a
PhoneWindow
) if no window has previously been set. - getWindowAdded() - Method in interface org.robolectric.shadows._Activity_
- getWindowDisplayFrame(Rect) - Method in class org.robolectric.shadows.ShadowView
- getWindowId() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Returns the id of the window from which the info comes.
- getWindowId() - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
-
Returns the id of the window from which the event comes.
- getWindowId() - Method in class org.robolectric.shadows.ShadowView
- getWindowId(ShadowView) - Static method in class org.robolectric.shadows.ShadowView.WindowIdHelper
- getWindowInsetsFromServer(WindowManager.LayoutParams, Rect) - Method in class org.robolectric.shadows.ShadowWindowManagerImpl
-
Re implement to avoid server call
- getWindowManagerService() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
- getWindows() - Method in class org.robolectric.shadows.ShadowAccessibilityService
-
Returns a representation of interactive windows shown on the device screen.
- getWindowSession() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
- getWindowSession(Looper) - Static method in class org.robolectric.shadows.ShadowViewRootImpl
- getWindowSession(Looper) - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
- getWindowSoftInputMode() - Method in class org.robolectric.manifest.ActivityData
- getWindowTouchSlop() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getWindowVisibleDisplayFrame(Rect) - Method in class org.robolectric.shadows.ShadowView
- getWipeCalledTimes() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getWordSpacing() - Method in class org.robolectric.shadows.ShadowPaint
- getWorkSource() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
- getWrappedCursor() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- getWrapSelectorWheel() - Method in class org.robolectric.shadows.ShadowNumberPicker
- getWritePermission() - Method in class org.robolectric.manifest.ContentProviderData
- getX() - Method in class org.robolectric.shadows.RoundRectangle
- getX() - Method in class org.robolectric.shadows.ShadowPath.Point
- getX0() - Method in class org.robolectric.shadows.ShadowLinearGradient
- getX1() - Method in class org.robolectric.shadows.ShadowLinearGradient
- getXml(ResName, ResTable_config) - Method in class org.robolectric.res.PackageResourceTable
- getXml(ResName, ResTable_config) - Method in interface org.robolectric.res.ResourceTable
- getXml(ResName, ResTable_config) - Method in class org.robolectric.res.RoutingResourceTable
- getXmlContext() - Method in class org.robolectric.res.TypedResource
- getXmlFile() - Method in class org.robolectric.res.XmlContext
- getXOffset() - Method in class org.robolectric.shadows.ShadowToast
- getXVelocity() - Method in class org.robolectric.shadows.ShadowVelocityTracker
- getXVelocity(int) - Method in class org.robolectric.shadows.ShadowVelocityTracker
- getY() - Method in class org.robolectric.shadows.RoundRectangle
- getY() - Method in class org.robolectric.shadows.ShadowPath.Point
- getY0() - Method in class org.robolectric.shadows.ShadowLinearGradient
- getY1() - Method in class org.robolectric.shadows.ShadowLinearGradient
- getYear() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- getYOffset() - Method in class org.robolectric.shadows.ShadowToast
- getYVelocity() - Method in class org.robolectric.shadows.ShadowVelocityTracker
- getYVelocity(int) - Method in class org.robolectric.shadows.ShadowVelocityTracker
- getZipEntry() - Method in class org.robolectric.res.android.FileMap
- getZoomControlsTimeout() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getZygoteInstance() - Static method in class org.robolectric.shadows.ShadowOverlayConfig
-
Override to skip the check on pid == ROOT_PID
- gFormatFlags - Static variable in class org.robolectric.res.android.ResourceTable
- glCheckFramebufferStatus(int) - Static method in class org.robolectric.shadows.ShadowGLES20
-
Always returns
GLES20.GL_FRAMEBUFFER_COMPLETE
. - glCreateProgram() - Static method in class org.robolectric.shadows.ShadowGLES20
- glCreateShader(int) - Static method in class org.robolectric.shadows.ShadowGLES20
- glGenFramebuffers(int, int[], int) - Static method in class org.robolectric.shadows.ShadowGLES20
- glGenTextures(int, int[], int) - Static method in class org.robolectric.shadows.ShadowGLES20
- glGetProgramiv(int, int, int[], int) - Static method in class org.robolectric.shadows.ShadowGLES20
- glGetShaderiv(int, int, int[], int) - Static method in class org.robolectric.shadows.ShadowGLES20
- GlobalConfigProvider - Interface in org.robolectric.pluginapi.config
-
Provides the default config for a test.
- GnssSatelliteInfo() - Constructor for class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.
- GnssStatusBuilder - Class in org.robolectric.shadows
-
Deprecated.Use
GnssStatus.Builder
instead where possible. - GnssStatusBuilder.GnssSatelliteInfo - Class in org.robolectric.shadows
-
Deprecated.Information about a single satellite in a
GnssStatus
. - GnssStatusBuilder.GnssSatelliteInfo.Builder - Class in org.robolectric.shadows
-
Deprecated.Builder for
GnssStatusBuilder.GnssSatelliteInfo
. - goAsync() - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- goBack() - Method in class org.robolectric.shadows.ShadowWebView
- goBackOrForward(int) - Method in class org.robolectric.shadows.ShadowWebView
- goForward() - Method in class org.robolectric.shadows.ShadowWebView
- GoogleAuthUtilImpl() - Constructor for class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- GooglePlayServicesUtilImpl() - Constructor for class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- grantPermission(UsbAccessory) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Grants permission for the accessory.
- grantPermission(UsbDevice) - Method in class org.robolectric.shadows.ShadowUsbManager
- grantPermission(UsbDevice, String) - Method in class org.robolectric.shadows.ShadowUsbManager
- grantPermissions(int, int, String...) - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Grant the given permissions for the given process and user.
- grantPermissions(String...) - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Grant the given permissions for the current process and user.
- grantPolicy(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Grants a particular device policy for an active ComponentName.
- grantRuntimePermission(String, String, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- grantSlicePermission(String, Uri) - Method in class org.robolectric.shadows.ShadowSliceManager
- grep(Pattern) - Method in class org.robolectric.res.StyleData
H
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.CleanerInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.FileDescriptorInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.LinkedHashMapEldestInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.NoOpInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.ReferenceRefersToInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SocketInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemArrayCopyInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemLogInterceptor
- handle(MethodSignature) - Method in class org.robolectric.interceptors.AndroidInterceptors.SystemTimeInterceptor
- handle(MethodSignature) - Method in class org.robolectric.internal.bytecode.Interceptor
- handleChangeListener(RecognitionListener) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
-
Handles changing the listener and allows access to the internal listener to trigger events and sets the latest SpeechRecognizer.
- handleIntent() - Method in class org.robolectric.android.controller.IntentServiceController
- handleMmi(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
- handleMmi(String, PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- handler - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- handleResponse(RoutedRequest, HttpResponse, HttpContext) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Analyzes a response to check need for a followup.
- handleSoftInputVisibilityChange(boolean) - Method in interface org.robolectric.shadows.ShadowInputMethodManager.SoftInputVisibilityChangeHandler
- hasActiveProfileProxy(int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- hasAlpha() - Method in class org.robolectric.shadows.ShadowBitmap
- hasAltitudeSupport() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- hasAmplitudeControl() - Method in class org.robolectric.shadows.ShadowSystemVibrator
- hasAnnotation(Class<? extends Annotation>) - Method in class org.robolectric.internal.bytecode.ClassDetails
- hasBearingSupport() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- hasBeenDismissed() - Method in class org.robolectric.shadows.ShadowDialog
- hasCancelledPendingTransitions() - Method in class org.robolectric.shadows.ShadowActivity
- hasCookies() - Method in class android.webkit.RoboCookieManager
- hasCookies(boolean) - Method in class android.webkit.RoboCookieManager
- hasDrawnCircle() - Method in class org.robolectric.shadows.ShadowCanvas
- hasDrawnPath() - Method in class org.robolectric.shadows.ShadowCanvas
- hasEnrolledFingerprints() - Method in class org.robolectric.shadows.ShadowFingerprintManager
-
Returns
false
by default, or the value specified viaShadowFingerprintManager.setHasEnrolledFingerprints(boolean)
. - hasEntries() - Method in class org.robolectric.res.android.IdmapEntries
- hasExtension(String) - Method in class org.robolectric.shadows.ShadowMimeTypeMap
- hasFeatures(Account, String[], AccountManagerCallback<Boolean>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
- hasGrantedPolicy(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- hashCode - Variable in class org.robolectric.res.ResName
- hashCode() - Method in class org.robolectric.android.internal.DisplayConfig
- hashCode() - Method in class org.robolectric.fakes.RoboIntentSender
- hashCode() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- hashCode() - Method in class org.robolectric.internal.bytecode.InvocationProfile
- hashCode() - Method in class org.robolectric.internal.bytecode.MethodRef
- hashCode() - Method in class org.robolectric.internal.bytecode.ShadowInfo
- hashCode() - Method in class org.robolectric.internal.bytecode.ShadowMap
- hashCode() - Method in class org.robolectric.internal.ManifestIdentifier
- hashCode() - Method in class org.robolectric.manifest.AndroidManifest
- hashCode() - Method in class org.robolectric.pluginapi.perf.Metric
- hashCode() - Method in class org.robolectric.pluginapi.Sdk
- hashCode() - Method in class org.robolectric.res.android.String8
- hashCode() - Method in class org.robolectric.res.ResName
- hashCode() - Method in class org.robolectric.res.ResourcePath
- hashCode() - Method in class org.robolectric.res.StyleData
- hashCode() - Method in class org.robolectric.res.StyleResolver
- hashCode() - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- hashCode() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- hashCode() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- hashCode() - Method in class org.robolectric.shadows.ShadowArscApkAssets9.Key
- hashCode() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- hashCode() - Method in class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
-
Deprecated.
- hashCode() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- hashCode() - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- hashCode() - Method in class org.robolectric.shadows.ShadowLog.LogItem
- hashCode() - Method in class org.robolectric.shadows.ShadowMatrix
- hashCode() - Method in class org.robolectric.shadows.ShadowPath.Point
- hashCode() - Method in class org.robolectric.shadows.ShadowPendingIntent
- hashCode() - Method in class org.robolectric.shadows.ShadowSoundPool.Playback
- hashCode() - Method in class org.robolectric.shadows.ShadowTypeface.FontDesc
- hashCode() - Method in class org.robolectric.shadows.ShadowTypeface
- hashCode() - Method in class org.robolectric.shadows.ShadowUsageStatsManager.AppUsageLimitObserver
- hashCode() - Method in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
- hashCode() - Method in class org.robolectric.shadows.util.DataSource
- hashCode() - Method in class org.robolectric.util.inject.Injector.Key
- hasIdentityMatrix() - Method in class org.robolectric.shadows.ShadowRenderNode
- hasIdentityMatrix() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- hasListener(SensorEventListener) - Method in class org.robolectric.shadows.ShadowSensorManager
-
Tests if the sensor manager has a registration for the given listener.
- hasListener(SensorEventListener, Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
-
Tests if the sensor manager has a registration for the given listener for the given sensor.
- hasMimeType(String) - Method in class org.robolectric.shadows.ShadowMimeTypeMap
- hasMipMap() - Method in class org.robolectric.shadows.ShadowBitmap
- hasMovedToFront() - Method in class org.robolectric.shadows.ShadowAppTask
-
Returns true if task has been moved to the front.
- hasMultipleSigners() - Method in class org.robolectric.shadows.ShadowSigningInfo
- hasNetworkRequirement() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- hasNotificationAccess - Variable in class org.robolectric.shadows.ShadowCompanionDeviceManager
- hasNotificationAccess(ComponentName) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- hasOverlappingRendering() - Method in class org.robolectric.shadows.ShadowRenderNode
- hasOverlappingRendering() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- hasPastSigningCertificates() - Method in class org.robolectric.shadows.ShadowSigningInfo
- hasPendingResponses() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- hasPermanentMenuKey() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- hasPermission(UsbAccessory) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Returns true if the caller has permission to access the accessory.
- hasPermission(UsbDevice) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Returns true if the caller has permission to access the device.
- hasPermissionForPackage(UsbAccessory, String) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Returns true if the given package has permission to access the device.
- hasPermissionForPackage(UsbDevice, String) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Returns true if the given package has permission to access the device.
- hasPrimaryClip() - Method in class org.robolectric.shadows.ShadowClipboardManager
- hasProvider(String) - Method in class org.robolectric.shadows.ShadowLocationManager
- hasQueuedTasks() - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- hasQuit() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- hasQuit() - Method in class org.robolectric.shadows.ShadowLooper
- hasQuit() - Method in class org.robolectric.shadows.ShadowPausedLooper
- hasReceiverForIntent(Intent) - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.use PackageManager.queryBroadcastReceivers instead
- hasRequestedAutoFocus() - Method in class org.robolectric.shadows.ShadowCamera
- hasRequestInfos() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- hasRequestMatchingRule(RequestMatcher) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- hasResources() - Method in class org.robolectric.res.ResourcePath
- hasResourceWallpaper(int) - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Returns whether the current wallpaper has been set through
ShadowWallpaperManager.setResource(int)
orShadowWallpaperManager.setResource(int, int)
with the same resource id. - hasRespondedToRttRequest() - Method in class org.robolectric.shadows.ShadowCall
-
Determines whether respondToRttRequest() was called.
- hasResponseRules() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- hasSatelliteRequirement() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- hasSentRttRequest() - Method in class org.robolectric.shadows.ShadowCall
-
Determines whether sendRttRequest() was called.
- hasShadowPicker() - Method in class org.robolectric.internal.bytecode.ShadowInfo
- hasShortcutHostPermission() - Method in class org.robolectric.shadows.ShadowLauncherApps
- hasSpeedSupport() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- hasStarted() - Method in class org.robolectric.shadows.ShadowCountDownTimer
- hasSubMenu() - Method in class org.robolectric.fakes.RoboMenuItem
- hasSystemFeature(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- hasSystemFeature(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- hasText() - Method in class org.robolectric.shadows.ShadowClipboardManager
- hasUserRestriction(String, UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- hasUserRestrictionForUser(String, int) - Method in class org.robolectric.shadows.ShadowUserManager
- hasUserRestrictionForUser(String, UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- hasVibrator() - Method in class org.robolectric.shadows.ShadowSystemVibrator
- hasVisibleItems() - Method in class org.robolectric.fakes.RoboMenu
- HDR_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- HDR_NO - Static variable in class org.robolectric.res.android.ResTable_config
- HDR_YES - Static variable in class org.robolectric.res.android.ResTable_config
- hdrCapabilities - Variable in class org.robolectric.android.internal.DisplayConfig
-
The display's HDR capabilities
- header - Variable in class org.robolectric.res.android.ResourceTypes.ResXMLTree_header
- header(String, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- Header(ResTable) - Constructor for class org.robolectric.res.android.ResTable.Header
- headerIterator() - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- headerIterator() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- headerIterator(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- headerIterator(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- height - Variable in enum org.robolectric.android.DeviceConfig.ScreenSize
- height - Variable in class org.robolectric.shadows.RoundRectangle
- helpers - Variable in class org.robolectric.annotation.processing.validator.Validator
- Helpers - Class in org.robolectric.annotation.processing
- Helpers - Class in org.robolectric.errorprone.bugpatterns
-
Matchers for
ShadowUsageCheck
. - Helpers() - Constructor for class org.robolectric.errorprone.bugpatterns.Helpers
- Helpers(ProcessingEnvironment) - Constructor for class org.robolectric.annotation.processing.Helpers
- Helpers.CastableTo - Class in org.robolectric.errorprone.bugpatterns
-
Matches implementations of the given interface.
- HelperTestRunner(Class) - Constructor for class org.robolectric.RobolectricTestRunner.HelperTestRunner
- HelperTestRunner(Class<?>) - Constructor for class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
- HiddenApi - Annotation Type in org.robolectric.annotation
-
Indicates that the annotated method is hidden in the public Android API.
- hideSoftInputFromWindow(IBinder, int) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- hideSoftInputFromWindow(IBinder, int, ResultReceiver) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- hideSoftInputFromWindow(IBinder, int, ResultReceiver, int) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- HierarchicalConfigurationStrategy - Class in org.robolectric.plugins
-
Robolectric's default
ConfigurationStrategy
. - HierarchicalConfigurationStrategy(Configurer<?>...) - Constructor for class org.robolectric.plugins.HierarchicalConfigurationStrategy
- HierarchicalConfigurationStrategy.ConfigurationImpl - Class in org.robolectric.plugins
- historyUrl - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
- host(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- HSVToColor(int, float[]) - Static method in class org.robolectric.shadows.ShadowColor
- HttpEntityStub - Class in org.robolectric.shadows.httpclient
- HttpEntityStub() - Constructor for class org.robolectric.shadows.httpclient.HttpEntityStub
- HttpEntityStub.ResponseRule - Interface in org.robolectric.shadows.httpclient
- httpParams - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- httpProcessor - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The HTTP protocol processor.
- httpProcessor - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- httpRequestExecutor - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- HttpRequestInfo - Class in org.robolectric.shadows.httpclient
- HttpRequestInfo(HttpRequest, HttpHost, HttpContext, RequestDirector) - Constructor for class org.robolectric.shadows.httpclient.HttpRequestInfo
- httpRequestRetryHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- httpRequestWasMade() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
-
Accessor to find out if HTTP requests were made during the current test.
- httpRequestWasMade(String) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- HttpResponseGenerator - Interface in org.robolectric.shadows.httpclient
- HttpResponseStub - Class in org.robolectric.shadows.httpclient
- HttpResponseStub() - Constructor for class org.robolectric.shadows.httpclient.HttpResponseStub
- httpRoutePlanner - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
I
- i(String, String) - Static method in class org.robolectric.shadows.ShadowLog
- i(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
- icon - Variable in class org.robolectric.fakes.RoboMenuItem
- id - Variable in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
- ID_TYPE - Static variable in class org.robolectric.res.ResName
- ident - Variable in class org.robolectric.res.android.ResourceTypes.ResTable_ref
- identifierForName(String, String, String) - Method in class org.robolectric.res.android.ResTable
- identifierForName(String, String, String, Ref<Integer>) - Method in class org.robolectric.res.android.ResTable
- identify(Config) - Method in class org.robolectric.internal.BuckManifestFactory
- identify(Config) - Method in class org.robolectric.internal.DefaultManifestFactory
- identify(Config) - Method in interface org.robolectric.internal.ManifestFactory
-
Creates a
ManifestIdentifier
which represents an Android app, service, or library under test, indicating its manifest file, resources and assets directories, and optionally dependency libraries and an overridden package name. - identify(Config) - Method in class org.robolectric.internal.MavenManifestFactory
-
Deprecated.
- idle() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- idle() - Method in class org.robolectric.shadows.ShadowLooper
-
Executes all posted tasks scheduled before or at the current time.
- idle() - Method in class org.robolectric.shadows.ShadowPausedLooper
- idle(long) - Method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.
- idle(long, TimeUnit) - Method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.
- IDLE - org.robolectric.shadows.ShadowMediaPlayer.State
- idleConstantly(boolean) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
-
Deprecated.
- idleConstantly(boolean) - Method in class org.robolectric.shadows.ShadowLegacyLooper
- idleConstantly(boolean) - Method in class org.robolectric.shadows.ShadowLooper
- idleConstantly(boolean) - Method in class org.robolectric.shadows.ShadowPausedLooper
- idleConstantly(boolean) - Method in class org.robolectric.util.Scheduler
-
Deprecated.This method is ambiguous in how it should behave when turning off constant idle. Use
Scheduler.setIdleState(IdleState)
instead to explicitly set the state. - idleFor(long, TimeUnit) - Method in class org.robolectric.shadows.ShadowLegacyLooper
- idleFor(long, TimeUnit) - Method in class org.robolectric.shadows.ShadowLooper
-
Advances the system clock by the given time, then executes all posted tasks scheduled before or at the given time.
- idleFor(long, TimeUnit) - Method in class org.robolectric.shadows.ShadowPausedLooper
- idleFor(Duration) - Method in class org.robolectric.shadows.ShadowLooper
-
A variant of
ShadowLooper.idleFor(long, TimeUnit)
that accepts a Duration. - idleIfPaused() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- idleIfPaused() - Method in class org.robolectric.shadows.ShadowLooper
-
Helper method to selectively call idle() only if LooperMode is PAUSED.
- idleIfPaused() - Method in class org.robolectric.shadows.ShadowPausedLooper
- idleMainLooper() - Static method in class org.robolectric.shadows.ShadowLooper
- idleMainLooper(long) - Static method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.
- idleMainLooper(long, TimeUnit) - Static method in class org.robolectric.shadows.ShadowLooper
- idleMainLooperConstantly(boolean) - Static method in class org.robolectric.shadows.ShadowLooper
- IdlingResourceTimeoutException - Exception in org.robolectric.android.internal
-
Timeout exception thrown when idling resources are not idle for longer than the configured timeout.
- IdlingResourceTimeoutException(List<String>) - Constructor for exception org.robolectric.android.internal.IdlingResourceTimeoutException
- idmapEntries - Variable in class org.robolectric.res.android.ResTable.Type
- IdmapEntries - Class in org.robolectric.res.android
- IdmapEntries() - Constructor for class org.robolectric.res.android.IdmapEntries
- ignoreMissingLoggedTags(boolean) - Method in class org.robolectric.junit.rules.ExpectedLogMessagesRule
-
If set true, tests that call
ExpectedLogMessagesRule.expectErrorsForTag(String)
but do not log errors for the given tag will not fail. - ImageDecoder_nCreateAsset(long, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- ImageDecoder_nCreateByteArray(byte[], int, int, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- ImageDecoder_nCreateByteBuffer(ByteBuffer, int, int, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- ImageDecoder_nCreateFd(FileDescriptor, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- ImageDecoder_nCreateInputStream(InputStream, byte[], ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- ImageDecoder_nDecodeBitmap(long, ImageDecoder, boolean, int, int, Rect, boolean, int, boolean, boolean, boolean, ColorSpace) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- ImageUtil - Class in org.robolectric.shadows
- ImageUtil() - Constructor for class org.robolectric.shadows.ImageUtil
- imp - Variable in class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
- Implementation - Annotation Type in org.robolectric.annotation
-
Indicates that a method declaration is intended to shadow a method with the same signature on the associated Android class.
- Implementation(int[], int, int, String, String, String, String, String, Class<?>[], String[], Class<? extends Application>, String[]) - Constructor for class org.robolectric.annotation.Config.Implementation
- ImplementationValidator - Class in org.robolectric.annotation.processing.validator
-
Validator that checks usages of
Implementation
. - ImplementationValidator(RobolectricModel.Builder, ProcessingEnvironment) - Constructor for class org.robolectric.annotation.processing.validator.ImplementationValidator
- Implements - Annotation Type in org.robolectric.annotation
-
Indicates that a class declaration is intended to shadow an Android class declaration.
- IMPLEMENTS_CLASS - Static variable in class org.robolectric.annotation.processing.validator.ImplementsValidator
- Implements.DefaultShadowPicker - Interface in org.robolectric.annotation
-
An interface used as the default for the
picker
param. - ImplementsValidator - Class in org.robolectric.annotation.processing.validator
-
Validator that checks usages of
Implements
. - ImplementsValidator(RobolectricModel.Builder, ProcessingEnvironment, ImplementsValidator.SdkCheckMode, SdkStore) - Constructor for class org.robolectric.annotation.processing.validator.ImplementsValidator
- ImplementsValidator.SdkCheckMode - Enum in org.robolectric.annotation.processing.validator
-
Supported modes for validation of
Implementation
methods against SDKs. - imports - Variable in class org.robolectric.annotation.processing.DocumentedType
- inClassLoader(ClassLoader) - Method in class org.robolectric.internal.bytecode.ShadowProviders
- IncomingCallRecord(PhoneAccountHandle, Bundle) - Constructor for class org.robolectric.shadows.ShadowTelecomManager.IncomingCallRecord
- incrementBroadcastsDispatchedCount(int) - Method in class org.robolectric.shadows.ShadowBroadcastResponseStats
- incrementCount() - Method in class org.robolectric.pluginapi.perf.Metric
- incrementCount(String) - Method in class org.robolectric.util.PerfStatsCollector
- incrementNotificationsCancelledCount(int) - Method in class org.robolectric.shadows.ShadowBroadcastResponseStats
- incrementNotificationsPostedCount(int) - Method in class org.robolectric.shadows.ShadowBroadcastResponseStats
- incrementNotificationsUpdatedCount(int) - Method in class org.robolectric.shadows.ShadowBroadcastResponseStats
- incrementOperationCount(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- incrementOperationCount(int, int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- incReserve(int) - Method in class org.robolectric.shadows.ShadowPath
- index - Variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_ref
- indexOf(T) - Method in class org.robolectric.res.android.SortedVector
- indexOfAttribute(String, int, String, int) - Method in class org.robolectric.res.android.ResXMLParser
- indexOfClass() - Method in class org.robolectric.res.android.ResXMLParser
- indexOfID() - Method in class org.robolectric.res.android.ResXMLParser
- indexOfString(String) - Method in class org.robolectric.res.android.ResStringPool
- indexOfStyle() - Method in class org.robolectric.res.android.ResXMLParser
- inferFromValue(String) - Static method in enum org.robolectric.res.ResType
-
Parses a resource value to infer the type
- inferType(String) - Static method in enum org.robolectric.res.ResType
- info(String, Object...) - Static method in class org.robolectric.util.Logger
-
Log an info message.
- init() - Method in class org.robolectric.shadows.ShadowArscAssetManager
- init() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- init() - Method in class org.robolectric.shadows.ShadowNsdManager
- init() - Static method in class org.robolectric.shadows.ShadowTypeface
-
Avoid spurious error message about /system/etc/fonts.xml
- init(boolean) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- init(boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- init(ActivityThread, Context, Context, ComponentName, Object) - Method in interface org.robolectric.shadows.ShadowInstrumentation._Instrumentation_
- init(ActivityThread, Context, Context, ComponentName, Object, Object) - Method in interface org.robolectric.shadows.ShadowInstrumentation._Instrumentation_
- init(AccessibilityRecord) - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
- init(ProcessingEnvironment) - Method in class org.robolectric.annotation.processing.RobolectricProcessor
- init(Element, Element) - Method in class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
- init(Element, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- init(ResourceTable, String) - Method in class org.robolectric.manifest.MetaData
- initConstants() - Static method in class org.robolectric.shadows.ShadowLibcoreOsConstants
- initConstants() - Static method in class org.robolectric.shadows.ShadowOsConstants
- initialAwakenScrollBars() - Method in class org.robolectric.shadows.ShadowView
- initialize(Context, Looper, WifiP2pManager.ChannelListener) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- initialize(UsbDeviceConnection, UsbEndpoint) - Method in class org.robolectric.shadows.ShadowUsbRequest
- INITIALIZED - org.robolectric.shadows.ShadowMediaPlayer.State
- initializeVoiceInteractor() - Method in class org.robolectric.shadows.ShadowActivity
-
Initializes the associated Activity with an
VoiceInteractor
instance. - initializing(Object) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when a new instance of an instrumented class has been created and is ready to be initialized (but only on JVMs which don't support the
invokedynamic
instruction). - initializing(Object) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- initializing(Object) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- initListener(PhoneStateListener, int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- initMetaData(ResourceTable) - Method in class org.robolectric.manifest.AndroidManifest
-
Allows ShadowPackageManager to provide a resource index for initialising the resource attributes in all the metadata elements
- initRaster(int) - Static method in class org.robolectric.shadows.ShadowCanvas
- initRaster(long) - Static method in class org.robolectric.shadows.ShadowCanvas
- initRaster(Bitmap) - Static method in class org.robolectric.shadows.ShadowCanvas
- initServiceCache(Map<String, IBinder>) - Static method in class org.robolectric.shadows.ShadowServiceManager
- initSupportedPreviewSizes() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
-
Explicitly initialize custom preview sizes array, to switch from default values to individually added.
- initSystemDefaultTypefaces(Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowTypeface
- initTabWidget() - Method in class org.robolectric.shadows.ShadowTabWidget
- initTelephonyCallback(TelephonyCallback) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- initTts() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- injectInputEvent(InputEvent, int) - Method in class org.robolectric.shadows.ShadowInputManager
- InjectionException - Exception in org.robolectric.util.inject
- InjectionException(Class<?>, String) - Constructor for exception org.robolectric.util.inject.InjectionException
- InjectionException(Class<?>, String, Throwable) - Constructor for exception org.robolectric.util.inject.InjectionException
- InjectionException(Class<?>, Throwable) - Constructor for exception org.robolectric.util.inject.InjectionException
- InjectionException(Injector.Key<?>, String) - Constructor for exception org.robolectric.util.inject.InjectionException
- InjectionException(Injector.Key<?>, String, Throwable) - Constructor for exception org.robolectric.util.inject.InjectionException
- InjectionException(Injector.Key<?>, Throwable) - Constructor for exception org.robolectric.util.inject.InjectionException
- injectKeyEvent(KeyEvent) - Method in class org.robolectric.android.internal.LocalUiController
- injectLocation(Location) - Method in class org.robolectric.shadows.ShadowLocationManager
- injectMotionEvent(MotionEvent) - Method in class org.robolectric.android.internal.LocalUiController
- Injector - Class in org.robolectric.util.inject
-
A tiny dependency injection and plugin helper for Robolectric.
- Injector() - Constructor for class org.robolectric.util.inject.Injector
-
Creates a new empty injector.
- Injector.Builder - Class in org.robolectric.util.inject
-
Builder for
Injector
. - Injector.Key<T> - Class in org.robolectric.util.inject
-
Identifies an injection point.
- injectString(String) - Method in class org.robolectric.android.internal.LocalUiController
- inKeyguardRestrictedInputMode() - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests, returns the value set via
ShadowKeyguardManager.setinRestrictedInputMode(boolean)
, or false by default. - InlineExecutorService - Class in org.robolectric.android.util.concurrent
-
Executor service that executes posted tasks as soon as they are posted.
- InlineExecutorService() - Constructor for class org.robolectric.android.util.concurrent.InlineExecutorService
- innerText() - Method in class org.robolectric.shadows.ShadowTextView
-
Returns the text string of this
TextView
. - innerText() - Method in class org.robolectric.shadows.ShadowView
-
Returns a string representation of this
View
. - innerText() - Method in class org.robolectric.shadows.ShadowViewGroup
-
Returns a string representation of this
ViewGroup
by concatenating all of the strings contained in all of the descendants of thisViewGroup
. - innerText(View) - Static method in class org.robolectric.shadows.ShadowView
-
Returns the text contained within this view.
- inputFlags - Variable in class org.robolectric.res.android.ResTable_config
- insert(Uri, ContentValues) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- insert(Uri, ContentValues) - Method in class org.robolectric.shadows.ShadowContentResolver
-
If a
ContentProvider
is registered for the givenUri
, itsContentProvider.insert(Uri, ContentValues)
method will be invoked. - install(Context) - Static method in class org.robolectric.shadows.multidex.ShadowAndroidXMultiDex
- install(Context) - Static method in class org.robolectric.shadows.multidex.ShadowMultiDex
- install(File, long) - Static method in class org.robolectric.shadows.ShadowHttpResponseCache
- installExistingPackage(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- installExistingPackageAsUser(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- installModule(Object) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Installs a module with the
PackageManager
as long as it is notnull
- installPackage(PackageInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Installs a package with the
PackageManager
. - installPackage(Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- instance - Static variable in class org.robolectric.config.ConfigurationRegistry
- INSTANCE - Static variable in class org.robolectric.internal.bytecode.DirectObjectMarker
- instrument(ClassDetails, InstrumentationConfiguration, ClassNodeProvider) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- instrument(MutableClass) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- Instrument - Annotation Type in org.robolectric.annotation.internal
-
Indicates that a class should always be instrumented regardless of its package.
- InstrumentationConfiguration - Class in org.robolectric.internal.bytecode
-
Configuration rules for
SandboxClassLoader
. - InstrumentationConfiguration(Map<String, String>, Collection<MethodRef>, Collection<String>, Collection<String>, Collection<String>, Collection<String>, Collection<String>, Collection<String>, String) - Constructor for class org.robolectric.internal.bytecode.InstrumentationConfiguration
- InstrumentationConfiguration.Builder - Class in org.robolectric.internal.bytecode
- instrumentedClasses - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- InstrumentedInterface - Interface in org.robolectric.internal.bytecode
-
Marker interface used by Robolectric to indicate that an interface has been instrumented
- instrumentedPackages - Variable in class org.robolectric.annotation.Config.Builder
- instrumentedPackages - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- instrumentedPackages() - Method in class org.robolectric.annotation.Config.Implementation
- instrumentedPackages() - Method in annotation type org.robolectric.annotation.Config
-
A list of instrumented packages, in addition to those that are already instrumented.
- instrumentedPackages() - Method in annotation type org.robolectric.internal.bytecode.SandboxConfig
-
A list of instrumented packages, in addition to those that are already instrumented.
- InstrumentingClassWriter - Class in org.robolectric.internal.bytecode
-
ClassWriter implementation that verifies classes by comparing type information obtained from loading the classes as resources.
- InstrumentingClassWriter(ClassNodeProvider, ClassNode) - Constructor for class org.robolectric.internal.bytecode.InstrumentingClassWriter
-
Preserve stack map frames for V51 and newer bytecode.
- instrumentNativeMethod(MutableClass, MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Creates native stub which returns the default return value.
- instrumentNormalMethod(MutableClass, MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Instruments a normal method Rename the method from
methodName
to$$robo$$methodName
. - INT_BOOLEAN - org.robolectric.res.android.DataType
-
data
is either 0 (false) or 1 (true). - INT_COLOR_ARGB4 - org.robolectric.res.android.DataType
-
data
is a raw integer value of the form #argb. - INT_COLOR_ARGB8 - org.robolectric.res.android.DataType
-
data
is a raw integer value of the form #aarrggbb. - INT_COLOR_RGB4 - org.robolectric.res.android.DataType
-
data
is a raw integer value of the form #rgb. - INT_COLOR_RGB8 - org.robolectric.res.android.DataType
-
data
is a raw integer value of the form #rrggbb. - INT_DEC - org.robolectric.res.android.DataType
-
data
is a raw integer value of the form n..n. - INT_HEX - org.robolectric.res.android.DataType
-
data
is a raw integer value of the form 0xn..n. - intArrayToList(int[]) - Static method in class org.robolectric.util.Util
-
Deprecated.
- INTEGER - org.robolectric.res.ResType
- INTEGER_ARRAY - org.robolectric.res.ResType
- intent - Variable in class org.robolectric.android.controller.ComponentController
- intent - Variable in class org.robolectric.fakes.RoboIntentSender
- intent - Variable in class org.robolectric.shadows.ShadowActivity.IntentForResult
- IntentComparator() - Constructor for class org.robolectric.shadows.ShadowPackageManager.IntentComparator
- intentFilter - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- IntentFilterData - Class in org.robolectric.manifest
- IntentFilterData(List<String>, List<String>) - Constructor for class org.robolectric.manifest.IntentFilterData
- IntentFilterData.DataAuthority - Class in org.robolectric.manifest
- IntentForResult(Intent, int) - Constructor for class org.robolectric.shadows.ShadowActivity.IntentForResult
- IntentForResult(Intent, int, Bundle) - Constructor for class org.robolectric.shadows.ShadowActivity.IntentForResult
- intentSender - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- IntentSenderRequest(IntentSender, int, Intent, int, int, int, Bundle) - Constructor for class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- IntentServiceController<T extends IntentService> - Class in org.robolectric.android.controller
- intercept(String, Object, Object[], Class) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- intercept(String, Object, Object[], Class) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- intercept(String, Object, Object[], Class<?>) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Called by Robolectric when an intercepted method is invoked.
- interceptedMethods - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- interceptHttpRequests(boolean) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
-
You can disable Robolectric's fake HTTP layer temporarily by calling this method.
- interceptInvokeVirtualMethod(MutableClass, ListIterator<AbstractInsnNode>, MethodInsnNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Decides to call through the appropriate method to intercept the method with an INVOKEVIRTUAL Opcode, depending if the invokedynamic bytecode instruction is available (Java 7+).
- Interceptor - Class in org.robolectric.internal.bytecode
- Interceptor(MethodRef...) - Constructor for class org.robolectric.internal.bytecode.Interceptor
- Interceptors - Class in org.robolectric.internal.bytecode
- Interceptors(Collection<Interceptor>) - Constructor for class org.robolectric.internal.bytecode.Interceptors
- Interceptors(Interceptor...) - Constructor for class org.robolectric.internal.bytecode.Interceptors
- interceptResponseContent(boolean) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- internalCallDispatchActivityResult(String, int, int, Intent) - Method in class org.robolectric.shadows.ShadowActivity
-
For internal use only.
- internalGetSize() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
-
Internal method to get the number of entries in the MessageQueue.
- internalInitializeBackgroundThreadScheduler() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
-
Internal API to initialize background thread scheduler from AndroidTestEnvironment.
- interpolatePathData(PathParser.PathData, PathParser.PathData, PathParser.PathData, float) - Static method in class org.robolectric.shadows.ShadowPathParser
- interpolatePathDataNode(ShadowPathParser.PathDataNode, ShadowPathParser.PathDataNode, float) - Method in class org.robolectric.shadows.ShadowPathParser.PathDataNode
-
The current PathDataNode will be interpolated between the
nodeFrom
andnodeTo
according to thefraction
. - intersects(double, double, double, double) - Method in class org.robolectric.shadows.RoundRectangle
- interval - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- intValue() - Method in class org.robolectric.res.android.ApkAssetsCookie
- INVALID_PHONE_INDEX - Static variable in class org.robolectric.shadows.ShadowSubscriptionManager
- INVALID_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
- invalidate() - Method in class org.robolectric.shadows.ShadowView
- invalidateAuthToken(String, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- invalidateByteBuffer(ByteBuffer[], int) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Prevents calling Android-only methods on basic ByteBuffer objects.
- invalidateByteBuffers(ByteBuffer[]) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Prevents calling Android-only methods on basic ByteBuffer objects.
- invalidateClasses(Collection<String>) - Method in class org.robolectric.internal.bytecode.ShadowInvalidator
- invalidateSelf() - Method in class org.robolectric.shadows.ShadowDrawable
- invalidateToken(Context, String) - Method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil.GoogleAuthUtilImpl
- invalidateToken(Context, String) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- invert(Matrix) - Method in class org.robolectric.shadows.ShadowMatrix
- InvocationProfile - Class in org.robolectric.internal.bytecode
- InvocationProfile(String, boolean, ClassLoader) - Constructor for class org.robolectric.internal.bytecode.InvocationProfile
- invokeAll(Collection<? extends Callable<T>>) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- invokeAll(Collection<? extends Callable<T>>) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- invokeAny(Collection<? extends Callable<T>>) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- invokeAny(Collection<? extends Callable<T>>) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- invokeAutoFocusCallback(boolean, Camera) - Method in class org.robolectric.shadows.ShadowCamera
- invokeCompletionListener() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates end-of-playback.
- invokeConstructor(Class<? extends R>, R, ReflectionHelpers.ClassParameter...) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- invokeConstructor(Class<? extends R>, R, ReflectionHelpers.ClassParameter...) - Method in interface org.robolectric.internal.IShadow
- invokeConstructor(Class<? extends R>, R, ReflectionHelpers.ClassParameter...) - Static method in class org.robolectric.shadow.api.Shadow
- InvokeDynamicClassInstrumentor - Class in org.robolectric.internal.bytecode
-
Deprecated.The invoke-dynamic case has been moved to ClassInstrumentor. Classes previously extending this class should extend
ClassInstrumentor
directly. - InvokeDynamicClassInstrumentor(ClassInstrumentor.Decorator) - Constructor for class org.robolectric.internal.bytecode.InvokeDynamicClassInstrumentor
-
Deprecated.
- InvokeDynamicSupport - Class in org.robolectric.internal.bytecode
- InvokeDynamicSupport() - Constructor for class org.robolectric.internal.bytecode.InvokeDynamicSupport
- invokeErrorListener(int, int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Allows test cases to directly simulate invocation of the OnError event.
- invokeFinish() - Method in class org.robolectric.shadows.ShadowCountDownTimer
- invokeInfoListener(int, int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Allows test cases to directly simulate invocation of the OnInfo event.
- invokeMethod(String, MethodNode) - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- invokePopup(WindowManager.LayoutParams) - Method in class org.robolectric.shadows.ShadowPopupWindow
- invokePreparedListener() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Allows test cases to simulate 'prepared' state by invoking callback.
- invokePreviewCallback(byte[]) - Method in class org.robolectric.shadows.ShadowCamera
-
Allows test cases to invoke the preview callback, to simulate a frame of camera data.
- invokeSeekCompleteListener() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Allows test cases to simulate seek completion by invoking callback.
- invokeTick(long) - Method in class org.robolectric.shadows.ShadowCountDownTimer
- invokeWhilePaused(Runnable) - Method in class org.robolectric.android.controller.ComponentController
- invokeWhilePaused(String, ReflectionHelpers.ClassParameter<?>...) - Method in class org.robolectric.android.controller.ComponentController
- IS_RESOURCE_REFERENCE - Static variable in class org.robolectric.res.AttributeResource
- is5GHzBandSupported() - Method in class org.robolectric.shadows.ShadowWifiManager
- is64Bit() - Method in class org.robolectric.shadows.ShadowVMRuntime
-
Returns whether the VM is running in 64-bit mode.
- isAccessibilityButtonSupported() - Static method in class org.robolectric.shadows.ShadowAccessibilityManager
-
Returns
true
by default, or the value specified viaShadowAccessibilityManager.setAccessibilityButtonSupported(boolean)
. - isAccessibilityFocused() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- isActionViewExpanded() - Method in class org.robolectric.fakes.RoboMenuItem
- isActive() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- isActive() - Method in class org.robolectric.shadows.ShadowInputMethodManager
- isActive(View) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- isActiveNetworkMetered() - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Counts
ConnectivityManager.TYPE_MOBILE
networks as metered. - isActivePasswordSufficient() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isActiveService(Context, ComponentName) - Static method in class org.robolectric.shadows.ShadowVoiceInteractionService
- isActivity() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Returns
true
if thisPendingIntent
was created withShadowPendingIntent.getActivity(android.content.Context, int, android.content.Intent, int)
orShadowPendingIntent.getActivities(android.content.Context, int, android.content.Intent[], int)
. - isActivityEnabled(ComponentName, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- isActivityIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Deprecated.prefer
ShadowPendingIntent.isActivity()
which was added toPendingIntent
in API 31 (Android S). - isAdminActive(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isAffine() - Method in class org.robolectric.shadows.ShadowMatrix
- isAfterLast() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- isAfterLast() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- isAfterLast() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- isAllowTaskReparenting() - Method in class org.robolectric.manifest.ActivityData
- isAlwaysRetainTaskState() - Method in class org.robolectric.manifest.ActivityData
- isAmbientDisplayAvailable() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns true by default, or the value specified via
ShadowPowerManager.setAmbientDisplayAvailable(boolean)
. - isAmbientDisplaySuppressed() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns true if
ShadowPowerManager.suppressAmbientDisplay(String, boolean)
has been called with any token. - isAnimatedTransition() - Method in class org.robolectric.shadows.ShadowAbsSpinner
- isAnnotation() - Method in class org.robolectric.internal.bytecode.ClassDetails
- isAnnotation() - Method in class org.robolectric.internal.bytecode.MutableClass
- isAntiAlias() - Method in class org.robolectric.shadows.ShadowPaint
- isAnyAudioPolicyRegistered() - Method in class org.robolectric.shadows.ShadowAudioManager
-
Returns true if at least one audio policy is registered with this manager, and false otherwise.
- isApplicationHidden(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isApplicationUserDataCleared() - Method in class org.robolectric.shadows.ShadowActivityManager
-
Returns true after clearing application user data was requested by calling
ActivityManager.clearApplicationUserData()
. - isArray() - Method in class org.robolectric.util.inject.Injector.Key
- isAttachedToWindow() - Method in class org.robolectric.shadows.ShadowView
- isAttributeDefault(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- isAudioConnected(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
- isAutofillSupported() - Method in class org.robolectric.shadows.ShadowAutofillManager
-
Returns the overridden value set by
ShadowAutofillManager.setAutofillSupported(boolean)
. - isAutoRevokeWhitelisted() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isAvailable() - Method in class org.robolectric.shadows.ShadowNetworkInfo
- isAvailable() - Method in class org.robolectric.shadows.ShadowWifiAwareManager
- isAvailable() - Method in class org.robolectric.shadows.ShadowWifiRttManager
-
Assumes the WifiRttManager is always available.
- isAvailable(int, int) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
- isBackgroundRestricted() - Method in class org.robolectric.shadows.ShadowActivityManager
-
Returns the background restriction state set by
ShadowActivityManager.setBackgroundRestricted(boolean)
. - isBackupEnabled() - Method in class org.robolectric.shadows.ShadowBackupManager
- isBatteryDischargePredictionPersonalized() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns whether the current battery life remaining estimate is personalized based on device usage history or not.
- isBeforeFirst() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- isBeforeFirst() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- isBeforeFirst() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- isBetterThan(ResTable_config, ResTable_config) - Method in class org.robolectric.res.android.ResTable_config
- isBleScanAlwaysAvailable() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
When true, overrides the value of
ShadowBluetoothAdapter.getLeState()
. - isBluetoothA2dpOn() - Method in class org.robolectric.shadows.ShadowAudioManager
- isBluetoothRouteSelected(int) - Method in class org.robolectric.shadows.ShadowMediaRouter
-
Returns whether the Bluetooth A2DP route is the currently selected route.
- isBluetoothScoAvailableOffCall() - Method in class org.robolectric.shadows.ShadowAudioManager
- isBluetoothScoOn() - Method in class org.robolectric.shadows.ShadowAudioManager
- isBroadcast() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Returns
true
if thisPendingIntent
was created withShadowPendingIntent.getBroadcast(android.content.Context, int, android.content.Intent, int)
. - isBroadcastIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Deprecated.prefer
ShadowPendingIntent.isBroadcast()
which was added toPendingIntent
in API 31 (Android S). - isBuck() - Static method in class org.robolectric.internal.BuckManifestFactory
- isBugreportInProgress() - Method in class org.robolectric.shadows.ShadowBugreportManager
- isCancelable() - Method in class org.robolectric.shadows.ShadowDialog
- isCancelableOnTouchOutside() - Method in class org.robolectric.shadows.ShadowDialog
- isCanceled() - Method in class org.robolectric.shadows.ShadowPendingIntent
- isCancelled() - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
- isCancelled() - Method in class org.robolectric.shadows.ShadowToast
- isCancelled() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns true if the Vibrator has been cancelled.
- isCancelled() - Method in class org.robolectric.util.SimpleFuture
-
Deprecated.
- isCastableTo(Supplier<Type>) - Static method in class org.robolectric.errorprone.bugpatterns.Helpers
-
Match sub-types or implementations of the given type.
- isCastableTo(String) - Static method in class org.robolectric.errorprone.bugpatterns.Helpers
-
Match sub-types or implementations of the given type.
- isChangeEnabled(long) - Static method in class org.robolectric.shadows.ShadowCompatibility
- isChannelDeleted(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Checks whether a channel is considered a "deleted" channel by Android.
- isCharging() - Method in class org.robolectric.shadows.ShadowBatteryManager
- isCheckable() - Method in class org.robolectric.fakes.RoboMenuItem
- isChecked() - Method in class org.robolectric.fakes.RoboMenuItem
- isChunked() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- isClearTaskOnLaungh() - Method in class org.robolectric.manifest.ActivityData
- isClosed() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- isClosed() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- isClosed() - Method in class org.robolectric.fakes.RoboWebMessagePort
- isClosed() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- isCollection() - Method in class org.robolectric.util.inject.Injector.Key
- isConnected() - Method in class org.robolectric.shadows.ShadowBasicTagTechnology
- isConnected() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
- isConnected() - Method in class org.robolectric.shadows.ShadowNetworkInfo
- isConnectedOrConnecting() - Method in class org.robolectric.shadows.ShadowNetworkInfo
- isContentCaptureEnabled() - Method in class org.robolectric.shadows.ShadowContentCaptureManager
- isConvex() - Method in class org.robolectric.shadows.ShadowPath
- isCreating() - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- isDataChanged() - Method in class org.robolectric.shadows.ShadowBackupManager
-
Returns whether
ShadowBackupManager.dataChanged()
was called. - isDataConnectionAllowed() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- isDataEnabled() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Implementation for
TelephonyManager.isDataEnabled()
. - isDeclaredOnObject() - Method in class org.robolectric.internal.bytecode.InvocationProfile
- isDefault() - Method in class org.robolectric.res.android.ResTable_config
-
Returns true if this is the default "any" configuration.
- isDefaultApplication(Class<? extends Application>) - Static method in class org.robolectric.annotation.Config.Builder
- isDefaultNetworkActive() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- isDefaultServiceForCategory(ComponentName, String) - Method in class org.robolectric.shadows.ShadowCardEmulation
- isDemoUser() - Method in class org.robolectric.shadows.ShadowUserManager
- isDeviceIdleMode() - Method in class org.robolectric.shadows.ShadowPowerManager
- isDeviceLightIdleMode() - Method in class org.robolectric.shadows.ShadowPowerManager
- isDeviceLocked() - Method in class org.robolectric.shadows.ShadowKeyguardManager
- isDeviceLocked(int) - Method in class org.robolectric.shadows.ShadowKeyguardManager
- isDeviceManaged() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isDeviceOwnerApp(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isDeviceProvisioned() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isDeviceProvisioningConfigApplied() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isDeviceSecure() - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests on Android >=M, returns the value set by
ShadowKeyguardManager.setIsDeviceSecure(boolean)
, or false by default. - isDeviceSecure(int) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests on Android >=M, returns the value set by
ShadowKeyguardManager.setIsDeviceSecure(int, boolean)
, or false by default. - isDexOptNeeded(String) - Static method in class org.robolectric.shadows.ShadowDexFile
- isDiscovering() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- isDither() - Method in class org.robolectric.shadows.ShadowPaint
- isDone() - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
- isEmergencyNumber(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Cribbed from
PhoneNumberUtils.isEmergencyNumberInternal(java.lang.String, boolean)
. - isEmpty() - Method in class org.robolectric.res.AttributeResource
- isEmpty() - Method in class org.robolectric.shadows.RoundRectangle
- isEmpty() - Method in class org.robolectric.shadows.ShadowPath
- isEmpty(String) - Static method in class org.robolectric.res.AttributeResource
- isEmptyElementTag() - Method in class org.robolectric.android.XmlResourceParserImpl
- isEnabled() - Method in class org.robolectric.fakes.RoboMenuItem
- isEnabled() - Method in class org.robolectric.manifest.ActivityData
- isEnabled() - Method in class org.robolectric.manifest.BroadcastReceiverData
- isEnabled() - Method in class org.robolectric.manifest.ContentProviderData
- isEnabled() - Method in class org.robolectric.manifest.ServiceData
- isEnabled() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- isEnabled() - Method in class org.robolectric.shadows.ShadowAutofillManager
-
Returns the overridden value set by
ShadowAutofillManager.setEnabled(boolean)
. - isEnabled() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- isEnabled() - Method in class org.robolectric.shadows.ShadowCaptioningManager
-
Returns false or the most recent value passed to
ShadowCaptioningManager.setEnabled(boolean)
- isEnabled() - Method in class org.robolectric.shadows.ShadowEuiccManager
-
Returns
false
, or the value specified by callingShadowEuiccManager.setIsEnabled(boolean)
. - isEnabled() - Method in class org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock
-
For tests, returns the value set via
ShadowKeyguardManager.ShadowKeyguardLock.disableKeyguard()
orShadowKeyguardManager.ShadowKeyguardLock.reenableKeyguard()
, or true by default. - isEnabled() - Method in class org.robolectric.shadows.ShadowNfcAdapter
- isEnabled() - Static method in class org.robolectric.shadows.ShadowTrace
-
Returns whether systrace is enabled.
- isEnd() - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_span
- isEpoch(Time) - Static method in class org.robolectric.shadows.ShadowTime
- isExcludedFromRecents() - Method in class org.robolectric.manifest.ActivityData
- isExcludedFromRecents() - Method in class org.robolectric.shadows.ShadowAppTask
-
Returns true if task has been excluded from recents.
- isExported() - Method in class org.robolectric.manifest.ActivityData
- isExported() - Method in class org.robolectric.manifest.BroadcastReceiverData
-
Returns whether this broadcast receiver is exported by checking the XML attribute.
- isExported() - Method in class org.robolectric.manifest.ServiceData
-
Returns whether this service is exported by checking the XML attribute.
- isExtendedLengthApduSupported() - Method in class org.robolectric.shadows.ShadowIsoDep
- isExternalStorageEmulated() - Static method in class org.robolectric.shadows.ShadowEnvironment
- isExternalStorageEmulated(File) - Static method in class org.robolectric.shadows.ShadowEnvironment
- isExternalStorageLegacy() - Static method in class org.robolectric.shadows.ShadowEnvironment
- isExternalStorageLegacy(File) - Static method in class org.robolectric.shadows.ShadowEnvironment
- isExternalStorageRemovable() - Static method in class org.robolectric.shadows.ShadowEnvironment
- isExternalStorageRemovable(File) - Static method in class org.robolectric.shadows.ShadowEnvironment
- isFile() - Method in class org.robolectric.res.FileTypedResource
- isFile() - Method in class org.robolectric.res.TypedResource
- isFileEncryptedNativeOrEmulated() - Static method in class org.robolectric.shadows.ShadowStorageManager
- isFinished() - Method in class org.robolectric.shadows.ShadowVisualVoicemailTask
- isFinishedAndRemoved() - Method in class org.robolectric.shadows.ShadowAppTask
-
Returns true if
ShadowAppTask.finishAndRemoveTask()
has been called before. - isFinishing() - Method in class org.robolectric.shadows.ShadowActivity
-
Returns whether
ShadowActivity.finish()
was called. - isFinishing() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns whether the
VoiceInteractionSession
is in the process of being destroyed and finishing. - isFinishOnTaskLaunch() - Method in class org.robolectric.manifest.ActivityData
- isFirst() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- isFirst() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- isFirst() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- isFocused() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- isForegroundService() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Returns
true
if thisPendingIntent
was created withShadowPendingIntent.getForegroundService(android.content.Context, int, android.content.Intent, int)
. - isForegroundServiceIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Deprecated.prefer
ShadowPendingIntent.isForegroundService()
which was added toPendingIntent
in API 31 (Android S). - isForegroundStopped() - Method in class org.robolectric.shadows.ShadowService
- isFrameworkResource(int) - Static method in class org.robolectric.res.ResourceIds
- isFullscreenMode() - Method in class org.robolectric.shadows.ShadowInputMethodManager
- isGooglePlayServicesAvailable(Context) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- isGooglePlayServicesAvailable(Context) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- isGooglePlayServicesAvailable(Context) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- IShadow - Interface in org.robolectric.internal
- isHardwareAccelerated() - Method in class org.robolectric.manifest.ActivityData
- isHardwareDetected() - Method in class org.robolectric.shadows.ShadowFingerprintManager
- isHasMonetaryCost() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- isHearingAidCompatibilitySupported() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Implementation for
TelephonyManager.isHearingAidCompatibilitySupported()
. - isHeld() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
- isHeld() - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowMulticastLock
- isHeld() - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
- isIdentity() - Method in class org.robolectric.shadows.ShadowMatrix
- isIdle() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- isIdle() - Method in class org.robolectric.shadows.ShadowLooper
-
Returns true if there are no pending tasks scheduled to be executed before current time.
- isIdle() - Method in class org.robolectric.shadows.ShadowPausedLooper
- isIdle() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
-
Exposes the API23+_isIdle method to older platforms
- isIgnoringBatteryOptimizations(String) - Method in class org.robolectric.shadows.ShadowPowerManager
- isImmutable() - Method in class org.robolectric.shadows.ShadowPendingIntent
- isImplementation - Variable in class org.robolectric.annotation.processing.DocumentedMethod
- isInAndroidSdk() - Method in annotation type org.robolectric.annotation.Implements
-
Denotes that this type exists in the public Android SDK.
- isInAndroidSdk() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- isInCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Overrides behavior of
TelecomManager.isInCall()
to return pre-set result. - isIndeterminate() - Method in class org.robolectric.shadows.ShadowNotification
- isInLockTaskMode() - Method in class org.robolectric.shadows.ShadowActivityManager
- isInMultiWindowMode() - Method in class org.robolectric.shadows.ShadowActivity
- isInPictureInPictureMode() - Method in class org.robolectric.shadows.ShadowActivity
- isInReaderMode() - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Returns true if NFC is in reader mode.
- isInShadowClass(TreePath, VisitorState) - Static method in class org.robolectric.errorprone.bugpatterns.Helpers
- isInSilenceMode() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- isInstantApp(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isInstrumented() - Method in class org.robolectric.internal.bytecode.ClassDetails
- isInteractive() - Method in class org.robolectric.shadows.ShadowPowerManager
- isInterceptingHttpRequests() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- isInterceptingResponseContent() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- isInterface() - Method in class org.robolectric.internal.bytecode.ClassDetails
- isInterface() - Method in class org.robolectric.internal.bytecode.MutableClass
- isInverseFillType() - Method in class org.robolectric.shadows.ShadowPath
- isKeyguardLocked() - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests, returns the value set via
ShadowKeyguardManager.setKeyguardLocked(boolean)
, or false by default. - isKeyguardSecure() - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests, returns the value set by
ShadowKeyguardManager.setIsKeyguardSecure(boolean)
, or false by default. - isKnown() - Method in class org.robolectric.pluginapi.Sdk
-
Determines if this SDK is known by its provider.
- isLanguageAvailable(Locale) - Method in class org.robolectric.shadows.ShadowTextToSpeech
- isLast() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- isLast() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- isLast() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- isLastForegroundNotificationAttached() - Method in class org.robolectric.shadows.ShadowService
-
Returns whether the last foreground notification is still "attached" to the service, meaning it will be removed when the service is destroyed.
- isLeExtendedAdvertisingSupported() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Returns the last value of
ShadowBluetoothAdapter.setIsLeExtendedAdvertisingSupported(boolean)
, defaulting to true. - isLegacy() - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- isLightDeviceIdleMode() - Method in class org.robolectric.shadows.ShadowPowerManager
- isLinkedUser() - Method in class org.robolectric.shadows.ShadowUserManager
- isListening() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
-
Returns true if this host is listening for updates.
- isLoaded() - Method in class org.robolectric.shadows.util.SQLiteLibraryLoader
- isLocationEnabled() - Method in class org.robolectric.shadows.ShadowLocationManager
- isLocationEnabledForUser(UserHandle) - Method in class org.robolectric.shadows.ShadowLocationManager
- isLocked() - Method in class org.robolectric.shadows.ShadowCamera
- isLocked() - Method in class org.robolectric.shadows.ShadowTileService
- isLockTask() - Method in class org.robolectric.shadows.ShadowActivity
-
Deprecated.Use
ActivityManager.getLockTaskModeState()
instead. - isLockTaskPermitted(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isLoggable(String, int) - Static method in class org.robolectric.shadows.ShadowLog
- isLooping() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- isLowRamDevice() - Method in class org.robolectric.shadows.ShadowActivityManager
- isMainThread() - Static method in class org.robolectric.RuntimeEnvironment
-
Tests if the current thread is currently set as the main thread.
- isMainThread(Thread) - Static method in class org.robolectric.RuntimeEnvironment
-
Tests if the given thread is currently set as the main thread.
- isManagedProfile() - Method in class org.robolectric.shadows.ShadowUserManager
-
If permissions are enforced (see
ShadowUserManager.enforcePermissionChecks(boolean)
) and the application doesn't have theManifest.permission.MANAGE_USERS
permission, throws aSecurityManager
exception. - isManagedProfile(int) - Method in class org.robolectric.shadows.ShadowUserManager
-
If permissions are enforced (see
ShadowUserManager.enforcePermissionChecks(boolean)
) and the application doesn't have theManifest.permission.MANAGE_USERS
permission, throws aSecurityManager
exception. - isMediaScannerScannable() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- isMicrophoneMute() - Method in class org.robolectric.shadows.ShadowAudioManager
- isMultipleAdvertisementSupported() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- isMultiprocess() - Method in class org.robolectric.manifest.ActivityData
- isMusicActive() - Method in class org.robolectric.shadows.ShadowAudioManager
- isMutable() - Method in class org.robolectric.shadows.ShadowBitmap
- isNetworkEnabled(int) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Whether the network is enabled or not.
- isNetworkRoaming() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
false
by default or the value specified viaShadowTelephonyManager.setIsNetworkRoaming(boolean)
- isNetworkRoaming(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Uses the local cache of roaming sim subscription Ids managed by
ShadowSubscriptionManager.setNetworkRoamingStatus(int, boolean)
to return subscription Ids marked as roaming. - isNightDisplayActivated() - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- isNightModeOn() - Method in class org.robolectric.shadows.ShadowUIModeManager
-
Returns whether night mode is currently on when a custom night mode type is selected.
- isNinePatch() - Method in class org.robolectric.res.android.Asset
- isNinePatch() - Method in class org.robolectric.res.FileTypedResource.Image
- isNinePatchChunk(byte[]) - Static method in class org.robolectric.shadows.ShadowNinePatch
- isNoHistory() - Method in class org.robolectric.manifest.ActivityData
- isNoParams() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- isNotificationListenerAccessGranted(ComponentName) - Method in class org.robolectric.shadows.ShadowNotificationManager
- isNotificationPolicyAccessGranted() - Method in class org.robolectric.shadows.ShadowNotificationManager
- isNull() - Method in class org.robolectric.res.AttributeResource
- isNull(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- isNull(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- isNull(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- isNull(String) - Static method in class org.robolectric.res.AttributeResource
- isOnDeviceRecognitionAvailable(Context) - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
- isOngoing() - Method in class org.robolectric.shadows.ShadowNotification
- isOpActive(String, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Checks whether the given op is active, i.e.
- isOrganizationOwnedDeviceWithManagedProfile() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns the value stored using in the shadow, while the real method returns the value store on the device.
- isOsSupported() - Static method in class org.robolectric.shadows.util.SQLiteLibraryLoader
- isPackageAvailable(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isPackageEnabled(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- isPackageSuspended(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isPackageSuspended(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isPackageSuspendedForUser(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isPasteable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isPaused() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- isPaused() - Static method in class org.robolectric.shadows.ShadowChoreographer
- isPaused() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- isPaused() - Method in class org.robolectric.shadows.ShadowLooper
- isPaused() - Method in class org.robolectric.shadows.ShadowPausedLooper
- isPaused() - Method in class org.robolectric.util.Scheduler
-
Determine if the scheduler is paused.
- isPermissionGranted(String, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isPermissionRevokedByPolicy(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isPivotExplicitlySet() - Method in class org.robolectric.shadows.ShadowRenderNode
- isPivotExplicitlySet() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- isPlaying() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- isPlaying() - Method in class org.robolectric.shadows.ShadowVideoView
- isPolling() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- isPotentialEmergencyNumber(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- isPowerSaveMode() - Method in class org.robolectric.shadows.ShadowPowerManager
- isPremultiplied() - Method in class org.robolectric.shadows.ShadowBitmap
- isPrepared() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Tests to see if the player is in the PREPARED state.
- isPresent() - Static method in class org.robolectric.shadows.ShadowGeocoder
- isPreviewing() - Method in class org.robolectric.shadows.ShadowCamera
- isPrintingKey(int) - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
- isProfile() - Method in class org.robolectric.shadows.ShadowUserManager
- isProfileOwnerApp(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isProviderEnabled(String) - Method in class org.robolectric.shadows.ShadowLocationManager
- isQuietModeEnabled(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
-
Query whether the quiet mode is enabled for a managed profile.
- isRateLimitingActive() - Method in class org.robolectric.shadows.ShadowShortcutManager
- isReallyPlaying() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Tests to see if the player is really playing.
- isRebootingUserspaceSupported() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns last value specified in
ShadowPowerManager.setIsRebootingUserspaceSupported(boolean)
orfalse
by default. - isRect(RectF) - Method in class org.robolectric.shadows.ShadowPath
- isRecycled() - Method in class org.robolectric.shadows.ShadowBitmap
- isReference() - Method in class org.robolectric.res.TypedResource
- isReferenceCounted() - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
-
Retrieves if the wake lock is reference counted or not
- isReleased() - Method in class org.robolectric.shadows.ShadowCamera
- isReleased() - Method in class org.robolectric.shadows.ShadowContentProviderClient
- isRepeatable() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- isRepeatable() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- isRequestInteractAcrossProfilesIntent(Intent) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Checks whether the given intent will redirect toward the screen allowing the user to change the interact across profiles AppOps.
- isRequestPinAppWidgetSupported() - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Returns true if
setSupportedToRequestPinAppWidget
is called withtrue
- isRequestPinShortcutSupported() - Method in class org.robolectric.shadows.ShadowShortcutManager
- isRequiresCell() - Method in class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- isResetPasswordTokenActive(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isResourceReference() - Method in class org.robolectric.res.AttributeResource
- isResourceReference(String) - Static method in class org.robolectric.res.AttributeResource
- isRestrictedProfile() - Method in class org.robolectric.shadows.ShadowUserManager
-
Returns 'false' by default, or the value specified via
ShadowUserManager.setIsRestrictedProfile(boolean)
. - isRinging - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
-
Deprecated.
- isRinging() - Method in class org.robolectric.shadows.ShadowTelecomManager
- isRoleAvailable(String) - Method in class org.robolectric.shadows.ShadowRoleManager
-
Check whether a particular role is available on the device.
- isRoleHeld(String) - Method in class org.robolectric.shadows.ShadowRoleManager
-
Check whether the calling application is holding a particular role.
- isRttSupported() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Implementation for
TelephonyManager.isRttSupported()
. - isSafeMode() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isSafetyCenterEnabled() - Method in class org.robolectric.shadows.ShadowSafetyCenterManager
- isSameParameterList(List<? extends TypeParameterElement>, List<? extends TypeParameterElement>) - Method in class org.robolectric.annotation.processing.Helpers
- isSameProfileGroup(UserHandle, UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- isScanAlwaysAvailable() - Method in class org.robolectric.shadows.ShadowWifiManager
- isScoringEnabled() - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
-
Whether scoring is enabled.
- isScreenOn() - Method in class org.robolectric.shadows.ShadowPowerManager
- isService() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Returns
true
if thisPendingIntent
was created withShadowPendingIntent.getService(android.content.Context, int, android.content.Intent, int)
. - isServiceIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
-
Deprecated.prefer
ShadowPendingIntent.isService()
which was added toPendingIntent
in API 31 (Android S). - isSetWallpaperAllowed() - Method in class org.robolectric.shadows.ShadowWallpaperManager
- isShadowOf(Class<?>) - Method in class org.robolectric.internal.bytecode.ShadowInfo
- isShortcutKey(int, KeyEvent) - Method in class org.robolectric.fakes.RoboMenu
- isShowing() - Method in class org.robolectric.shadows.ShadowPopupMenu
- isShutdown() - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- isShutdown() - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- isShutdown() - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- isShutdown() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- isShutterSoundEnabled() - Method in class org.robolectric.shadows.ShadowCamera
-
Returns
true
if the default shutter sound is played when taking a picture. - isSimplePath - Variable in class org.robolectric.shadows.ShadowPath
- isSingleShot() - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- isSmsCapable() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- isSocketBound(FileDescriptor) - Method in class org.robolectric.shadows.ShadowNetwork
-
Checks if the
fileDescriptor
was previously bound to this network. - isSocketBound(DatagramSocket) - Method in class org.robolectric.shadows.ShadowNetwork
-
Checks if the
datagramSocket
was previously bound to this network. - isSocketBound(Socket) - Method in class org.robolectric.shadows.ShadowNetwork
-
Checks if the
socket
was previously bound to this network. - isSoftInputVisible() - Method in class org.robolectric.shadows.ShadowInputMethodManager
- isSpeakerphoneOn() - Method in class org.robolectric.shadows.ShadowAudioManager
- isStaApConcurrencySupported() - Method in class org.robolectric.shadows.ShadowWifiManager
-
Returns last value provided to #setStaApConcurrencySupported.
- isStable() - Method in class org.robolectric.shadows.ShadowContentProviderClient
- isStateNotNeeded() - Method in class org.robolectric.manifest.ActivityData
- isStatic - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- isStatic() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- isStatic() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- isStopped() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- isStoppedBySelf() - Method in class org.robolectric.shadows.ShadowService
- isStreaming() - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- isStreaming() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- isStreamMute(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- isStyleReference() - Method in class org.robolectric.res.AttributeResource
- isStyleReference(String) - Static method in class org.robolectric.res.AttributeResource
- isSuccess() - Method in class org.robolectric.pluginapi.perf.Metric
- issueId() - Method in annotation type org.robolectric.annotation.GetInstallerPackageNameMode
-
Optional string for storing the issue / bug id tracking the fixing of the affected tests and thus removal of this annotation.
- issueId() - Method in annotation type org.robolectric.annotation.TextLayoutMode
-
Optional string for storing the issue / bug id tracking the fixing of the affected tests and thus removal of this annotation.
- isSupported() - Method in class org.robolectric.pluginapi.Sdk
-
Determines if this SDK is supported in the running Robolectric environment.
- isSupported() - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
- isSuspended() - Method in class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- isSyncActive(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
- isSystem - Variable in class org.robolectric.res.android.AssetPath
- isSystemUser() - Method in class org.robolectric.shadows.ShadowUserManager
- isTaskRoot() - Method in class org.robolectric.shadows.ShadowActivity
- isTerminated() - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- isTerminated() - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- isTerminated() - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- isTextSelectionSetable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isTouchExplorationEnabled() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- isTruthy(int) - Static method in class org.robolectric.res.android.Util
- isTruthy(Object) - Static method in class org.robolectric.res.android.Util
- isTtySupported() - Method in class org.robolectric.shadows.ShadowTelecomManager
- isUceSettingEnabled() - Method in class org.robolectric.shadows.ShadowRcsUceAdapter
-
Returns the value specified for the
subscriptionId
corresponding to theRcsUceAdapter
byShadowRcsUceAdapter.setUceSettingEnabledForSubscriptionId(int, boolean)
. - isUiEnabled() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns whether the UI is set to be enabled through
VoiceInteractionSession.setUiEnabled(boolean)
. - isUninstallBlocked(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isUniqueDeviceAttestationSupported() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isUpgrade() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isUpToDate() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- isUsbDataSignalingEnabled() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isUsedInFix() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets whether the satellite
was used in the most recent position fix
. - isUseGlobalScheduler() - Static method in class org.robolectric.RoboSettings
-
Deprecated.
- isUserAMonkey() - Static method in class org.robolectric.shadows.ShadowActivityManager
- isUserKeyUnlocked(int) - Static method in class org.robolectric.shadows.ShadowStorageManager
- isUserOfType(String) - Method in class org.robolectric.shadows.ShadowUserManager
- isUserResolvableError(int) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- isUserRunning(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- isUserRunningOrStopping(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- isUserUnlocked() - Method in class org.robolectric.shadows.ShadowUserManager
- isUserUnlocked(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- isUserUnlockingOrUnlocked(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- isUTF8() - Method in class org.robolectric.res.android.ResStringPool
- isValid() - Method in class org.robolectric.shadows.ShadowRenderNode
- isValid() - Method in class org.robolectric.shadows.ShadowSurface
- isValidRingerMode(int) - Static method in class org.robolectric.shadows.ShadowAudioManager
- isValue(String) - Method in class org.robolectric.res.AttrData
- isVibrating() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns true if the Vibrator is currently vibrating as controlled by
Vibrator.vibrate(long)
- isVisible() - Method in class org.robolectric.fakes.RoboMenuItem
- isVoiceCapable() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
true
by default or the value specified viaShadowTelephonyManager.setVoiceCapable(boolean)
. - isVoiceMailNumber(PhoneAccountHandle, String) - Method in class org.robolectric.shadows.ShadowTelecomManager
- isVoicemailVibrationEnabled(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
null
by default or the value specified viaShadowTelephonyManager.setVoicemailVibrationEnabled(PhoneAccountHandle, boolean)
. - isWakeLockLevelSupported(int) - Method in class org.robolectric.shadows.ShadowPowerManager
- isWallpaperSupported() - Method in class org.robolectric.shadows.ShadowWallpaperManager
- isWhenShown() - Method in class org.robolectric.shadows.ShadowNotification
- isWhitespace() - Method in class org.robolectric.android.XmlResourceParserImpl
- isWhitespace(String) - Method in class org.robolectric.android.XmlResourceParserImpl
- isWifiEnabled() - Method in class org.robolectric.shadows.ShadowWifiManager
- isWindowShowing() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns whether the UI window from
VoiceInteractionSession
is currently showing. - isWindowVisible() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns whether the window from
VoiceInteractionSession
is currently visible. - isWiredHeadsetOn() - Method in class org.robolectric.shadows.ShadowAudioManager
- isWorkProfileProvisioningFinalized(UserHandle, Account) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns if
ShadowDevicePolicyManager.finalizeWorkProfileProvisioning(UserHandle, Account)
was called with the provided parameters. - isXml() - Method in class org.robolectric.res.FileTypedResource
- isXml() - Method in class org.robolectric.res.TypedResource
- itemAt(int) - Method in class org.robolectric.res.android.SortedVector
- iterator() - Method in class org.robolectric.shadows.CachedPathIteratorFactory
J
- JarInstrumentor - Class in org.robolectric.preinstrumented
-
Runs Robolectric invokedynamic instrumentation on an android-all jar.
- JarInstrumentor() - Constructor for class org.robolectric.preinstrumented.JarInstrumentor
- jarPath() - Method in class org.robolectric.internal.dependency.MavenJarArtifact
- jarSha512Path() - Method in class org.robolectric.internal.dependency.MavenJarArtifact
- JavadocJsonGenerator - Class in org.robolectric.annotation.processing.generator
-
Primarily used by the Robolectric Chrome extension for Robolectric docs alongside of Android SDK docs.
- JavadocJsonGenerator(RobolectricModel, ProcessingEnvironment, File) - Constructor for class org.robolectric.annotation.processing.generator.JavadocJsonGenerator
- JavaVersion - Class in org.robolectric.util
- JavaVersion(String) - Constructor for class org.robolectric.util.JavaVersion
- JNI_FALSE - Static variable in class org.robolectric.res.android.Util
- JNI_TRUE - Static variable in class org.robolectric.res.android.Util
- jobFinished(JobParameters, boolean) - Method in class org.robolectric.shadows.ShadowJobService
- join(String) - Method in interface org.robolectric.res.FsFile
-
Deprecated.use
Path.resolve(Path)
instead. - join(String, Object...) - Static method in class org.robolectric.util.Join
- join(String, Collection) - Static method in class org.robolectric.util.Join
- join(Path, String...) - Static method in class org.robolectric.res.Fs
- join(List<?>) - Static method in class org.robolectric.annotation.processing.validator.RealObjectValidator
- Join - Class in org.robolectric.util
-
Utility class used to join strings together with a delimiter.
- Join() - Constructor for class org.robolectric.util.Join
- jumpToSegment(float) - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
-
Restarts the iterator and jumps all the segments of this path up to the length value.
K
- K_INVALID_COOKIE - Static variable in class org.robolectric.res.android.ApkAssetsCookie
- keepAliveStrategy - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The keep-alive duration strategy.
- key - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
- Key(FileDescriptor, String, boolean, boolean, boolean) - Constructor for class org.robolectric.shadows.ShadowArscApkAssets9.Key
- Key(Type, String) - Constructor for class org.robolectric.util.inject.Injector.Key
- keyboard - Variable in class org.robolectric.res.android.ResTable_config
- KEYBOARD - org.robolectric.res.android.ResTable_config.Type
- KEYBOARD_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- KEYBOARD_HIDDEN - org.robolectric.res.android.ResTable_config.Type
- keyboardHidden() - Method in class org.robolectric.res.android.ResTable_config
- keyboardHidden(int) - Method in class org.robolectric.res.android.ResTable_config
- keySet() - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy.Configuration
-
Returns the set of known configuration classes.
- keySet() - Method in class org.robolectric.plugins.HierarchicalConfigurationStrategy.ConfigurationImpl
- KEYSHIDDEN_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- KEYSHIDDEN_NO - Static variable in class org.robolectric.res.android.ResTable_config
- KEYSHIDDEN_SOFT - Static variable in class org.robolectric.res.android.ResTable_config
- KEYSHIDDEN_YES - Static variable in class org.robolectric.res.android.ResTable_config
- kill() - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- killBackgroundProcesses(String) - Method in class org.robolectric.shadows.ShadowActivityManager
- killProcess(int) - Static method in class org.robolectric.shadows.ShadowProcess
-
Stores requests for killing processes.
- kInvalidCookie - Static variable in class org.robolectric.res.android.ApkAssetsCookie
- kThrowOnBadId - Static variable in class org.robolectric.res.android.AttributeResolution
- kThrowOnBadId - Static variable in class org.robolectric.res.android.AttributeResolution10
- kThrowOnBadId - Static variable in class org.robolectric.res.android.AttributeResolution9
L
- L10N_NOT_REQUIRED - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- L10N_SUGGESTED - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- landscapeHeight - Variable in enum org.robolectric.android.DeviceConfig.ScreenSize
- landscapeWidth - Variable in enum org.robolectric.android.DeviceConfig.ScreenSize
- language - Variable in class org.robolectric.res.android.ResTable_config
-
Returns a packed 2-byte language code.
- LANGUAGE_STRING - org.robolectric.res.android.ResTable_config.Type
- languageString() - Method in class org.robolectric.res.android.ResTable_config
-
Returns
ResTable_config.language
as an unpacked string representation. - large - org.robolectric.android.DeviceConfig.ScreenSize
- largestNominalAppHeight - Variable in class org.robolectric.android.internal.DisplayConfig
-
The largest value of
DisplayConfig.appHeight
that an application is likely to encounter, in pixels, excepting cases where the height may be even larger due to system decorations such as the status bar being hidden, for example. - largestNominalAppWidth - Variable in class org.robolectric.android.internal.DisplayConfig
-
The largest value of
DisplayConfig.appWidth
that an application is likely to encounter, in pixels, excepting cases where the width may be even larger due to system decorations such as the status bar being hidden, for example. - lastAssociationCallback - Variable in class org.robolectric.shadows.ShadowCompanionDeviceManager
- lastAssociationRequest - Variable in class org.robolectric.shadows.ShadowCompanionDeviceManager
- lastCarModePriority - Variable in class org.robolectric.shadows.ShadowUIModeManager
- lastDataParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- lastDownloadedMultimediaMessageParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- lastFlags - Variable in class org.robolectric.shadows.ShadowUIModeManager
- lastHapticFeedbackPerformed() - Method in class org.robolectric.shadows.ShadowView
- lastRequestedNotificationAccess - Variable in class org.robolectric.shadows.ShadowCompanionDeviceManager
- lastSentMultimediaMessageParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- lastTextMultipartParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- lastTextSmsParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- latestSpeechRecognizer - Static variable in class org.robolectric.shadows.ShadowSpeechRecognizer
- layerStack - Variable in class org.robolectric.android.internal.DisplayConfig
-
The surface flinger layer stack associated with this logical display.
- LAYOUT - org.robolectric.res.ResType
- LAYOUTDIR_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- LAYOUTDIR_LTR - Static variable in class org.robolectric.res.android.ResTable_config
- LAYOUTDIR_RTL - Static variable in class org.robolectric.res.android.ResTable_config
- LazyApplication - Annotation Type in org.robolectric.annotation.experimental
-
A
Configurer
annotation that dictates whether or not Robolectric should lazily instantiate the Application under test. - LazyApplication.LazyLoad - Enum in org.robolectric.annotation.experimental
-
Whether or not the Application should be lazily loaded
- LazyApplicationConfigurer - Class in org.robolectric.plugins
-
A
Configurer
that reads theLazyApplication
to dictate whether Robolectric should lazily instantiate the Application under test (as well as the test Instrumentation). - LazyApplicationConfigurer() - Constructor for class org.robolectric.plugins.LazyApplicationConfigurer
- left - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
- left - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
- leftVolume - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- LEGACY - org.robolectric.annotation.GetInstallerPackageNameMode.Mode
-
Robolectric's prior behavior when calling getInstallerPackageName method.
- LEGACY - org.robolectric.annotation.LooperMode.Mode
-
Deprecated.use LooperMode.PAUSED
- LEGACY - org.robolectric.annotation.SQLiteMode.Mode
-
Use the legacy SQLite implementation backed by sqlite4java.
- LEGACY - org.robolectric.annotation.TextLayoutMode.Mode
-
Deprecated.LEGACY mode is inaccurate, has known bugs and will be removed in a future release.
- LEGACY - org.robolectric.internal.ResourcesMode
- LegacyDependencyResolver - Class in org.robolectric.plugins
-
Robolectric's historical dependency resolver (which is currently still the default), which is used by
DefaultSdkProvider
to locate SDK jars. - LegacyDependencyResolver(Properties) - Constructor for class org.robolectric.plugins.LegacyDependencyResolver
- LegacyManifestParser - Class in org.robolectric.shadows
-
Creates a
PackageInfo
from aAndroidManifest
- LegacyManifestParser() - Constructor for class org.robolectric.shadows.LegacyManifestParser
- LegacyResourceResolver(Context, ResourceTable) - Constructor for class org.robolectric.android.AttributeSetBuilderImpl.LegacyResourceResolver
- levelToChar(int) - Static method in class org.robolectric.shadows.ShadowLog
- libraries - Variable in class org.robolectric.annotation.Config.Builder
- libraries() - Method in class org.robolectric.annotation.Config.Implementation
- libraries() - Method in annotation type org.robolectric.annotation.Config
-
Deprecated.If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure
- lifecycle(String, Object...) - Static method in class org.robolectric.util.Logger
-
Log a lifecycle message.
- LINE_TO - org.robolectric.shadows.ShadowPath.Point.Type
- lineTo(float, float) - Method in class org.robolectric.shadows.ShadowPath
- LinkedHashMapEldestInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.LinkedHashMapEldestInterceptor
- list(String) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- list(String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- listen(PhoneStateListener, int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- listener - Variable in class org.robolectric.shadows.ShadowAudioManager.AudioFocusRequest
- listenUsingInsecureL2capChannel() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- listenUsingInsecureRfcommWithServiceRecord(String, UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- listenUsingL2capChannel() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- listenUsingRfcommWithServiceRecord(String, UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- listFileNames(Path) - Static method in class org.robolectric.res.Fs
- listFiles(Path) - Static method in class org.robolectric.res.Fs
- listFiles(Path, Predicate<Path>) - Static method in class org.robolectric.res.Fs
- listServices() - Static method in class org.robolectric.shadows.ShadowServiceManager
- littleEndianIterator() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
- littleEndianIterator() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS
- llHeight - Variable in class org.robolectric.shadows.RoundRectangle
- llWidth - Variable in class org.robolectric.shadows.RoundRectangle
- load() - Static method in class org.robolectric.shadows.util.SQLiteLibraryLoader
- load(int) - Static method in class org.robolectric.shadows.ShadowKeyCharacterMap
- load(Context, int, int) - Method in class org.robolectric.shadows.ShadowSoundPool
- load(String) - Method in class org.robolectric.res.DocumentLoader
- load(String, int) - Method in class org.robolectric.shadows.ShadowSoundPool
- load(PackageResourceTable, String) - Method in class org.robolectric.res.RawResourceLoader
- Load(String, boolean) - Static method in class org.robolectric.res.android.CppApkAssets
- LoadAsSharedLibrary(String, boolean) - Static method in class org.robolectric.res.android.CppApkAssets
- loadClass(ClassLoader, String) - Static method in class org.robolectric.util.ReflectionHelpers
-
Load a class.
- loadClass(String, boolean) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- loadClass(String, ClassLoader) - Static method in class org.robolectric.internal.bytecode.ShadowWrangler
- loadData(String, String, String) - Method in class org.robolectric.shadows.ShadowWebView
- LoadData(String, String, String) - Constructor for class org.robolectric.shadows.ShadowWebView.LoadData
- loadDataWithBaseURL(String, String, String, String, String) - Method in class org.robolectric.shadows.ShadowWebView
- LoadDataWithBaseURL(String, String, String, String, String) - Constructor for class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
- loadDrawable(Resources, TypedValue, int, int, Resources.Theme) - Method in class org.robolectric.shadows.ShadowArscResourcesImpl
- loadDrawable(Resources, TypedValue, int, int, Resources.Theme) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- loadDrawable(Resources, TypedValue, int, Resources.Theme, boolean) - Method in class org.robolectric.shadows.ShadowArscResourcesImpl
- loadDrawable(Resources, TypedValue, int, Resources.Theme, boolean) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- loadDrawable(TypedValue, int) - Method in class org.robolectric.shadows.ShadowResources
- loadDrawable(TypedValue, int, Resources.Theme) - Method in class org.robolectric.shadows.ShadowResources
- loadDrawableAsync(Context, Icon.OnDrawableLoadedListener, Handler) - Method in class org.robolectric.shadows.ShadowIcon
- loadDrawableAsync(Context, Message) - Method in class org.robolectric.shadows.ShadowIcon
- LoadedArsc - Class in org.robolectric.res.android
- LoadedArsc() - Constructor for class org.robolectric.res.android.LoadedArsc
- loadFromFd(FileDescriptor, String, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- loadFromPath(String) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- loadFromPath(String, boolean) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
-
Necessary to shadow this method because the framework path is hard-coded.
- loadFromPath(String, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- loadFromPath(String, int) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- loadInterpolator(Context, int) - Static method in class org.robolectric.shadows.ShadowAnimationUtils
- loadLayoutAnimation(Context, int) - Static method in class org.robolectric.shadows.ShadowAnimationUtils
- loadNull() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- LoadOverlay(String, boolean) - Static method in class org.robolectric.res.android.CppApkAssets
- loadResourceBagValue(int, int, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowArscAssetManager
-
Returns true if the resource was found, filling in mRetStringBlock and mRetData.
- loadResourceBagValue(int, int, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- loadResourceValue(int, short, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- loadResourceValue(int, short, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- loadResourceXmlFile(XmlContext) - Method in class org.robolectric.res.DocumentLoader
- loadResourceXmlFile(XmlContext) - Method in class org.robolectric.res.StaxDocumentLoader
- loadStringValueAt(int) - Method in class org.robolectric.shadows.ShadowTypedArray
- loadThemeAttributeValue(int, int, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
- loadThemeAttributeValue(int, int, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- loadThemeAttributeValue(long, int, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
- loadThemeAttributeValue(long, int, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- loadThisOrNull() - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- loadTo(PackageResourceTable) - Method in class org.robolectric.res.RawResourceLoader
- loadUnbadgedItemIcon(PackageItemInfo, ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Gets the unbadged icon based on the values set by
ShadowPackageManager.setUnbadgedApplicationIcon(java.lang.String, android.graphics.drawable.Drawable)
or returns null if nothing has been set. - loadUrl(String) - Method in class org.robolectric.shadows.ShadowWebView
- loadUrl(String, Map<String, String>) - Method in class org.robolectric.shadows.ShadowWebView
-
Fires a request to load the given
url
in WebView. - loadXmlResourceParser(int, String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- loadXmlResourceParser(int, String) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- loadXmlResourceParser(int, String) - Method in class org.robolectric.shadows.ShadowResources
- loadXmlResourceParser(String, int, int, String) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- loadXmlResourceParser(String, int, int, String) - Method in class org.robolectric.shadows.ShadowResources
- LocalActivityInvoker - Class in org.robolectric.android.internal
-
An
ActivityInvoker
that drivesActivity
lifecycles manually. - LocalActivityInvoker() - Constructor for class org.robolectric.android.internal.LocalActivityInvoker
- LocalControlledLooper - Class in org.robolectric.android.internal
-
A Robolectric implementation for
ControlledLooper
. - LocalControlledLooper() - Constructor for class org.robolectric.android.internal.LocalControlledLooper
- LocalDependencyResolver - Class in org.robolectric.internal.dependency
- LocalDependencyResolver(File) - Constructor for class org.robolectric.internal.dependency.LocalDependencyResolver
- LOCALE_SCRIPT_STRING - org.robolectric.res.android.ResTable_config.Type
- LOCALE_VARIANT_STRING - org.robolectric.res.android.ResTable_config.Type
- LocaleAdjustLanguageCodeInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor
- LocaleData - Class in org.robolectric.res.android
- LocaleData() - Constructor for class org.robolectric.res.android.LocaleData
- LocaleDataTables - Class in org.robolectric.res.android
- LocaleDataTables() - Constructor for class org.robolectric.res.android.LocaleDataTables
- localeScript - Variable in class org.robolectric.res.android.ResTable_config
-
The ISO-15924 short name for the script corresponding to this configuration.
- localeScriptString() - Method in class org.robolectric.res.android.ResTable_config
-
Returns the
ResTable_config.localeScript
as a string. - LocaleValue() - Constructor for class org.robolectric.res.android.ConfigDescription.LocaleValue
- localeVariant - Variable in class org.robolectric.res.android.ResTable_config
-
A single BCP-47 variant subtag.
- localeVariantString() - Method in class org.robolectric.res.android.ResTable_config
-
Returns the
ResTable_config.localeVariant
as a string. - LocalPermissionGranter - Class in org.robolectric.android.internal
-
A
PermissionGranter
that runs on a local JVM with Robolectric. - LocalPermissionGranter() - Constructor for class org.robolectric.android.internal.LocalPermissionGranter
- LocalUiController - Class in org.robolectric.android.internal
-
A
UiController
that runs on a local JVM with Robolectric. - LocalUiController() - Constructor for class org.robolectric.android.internal.LocalUiController
- locationUrl - Variable in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- lock() - Method in class org.robolectric.res.android.ResTable
- lockBag(int, Ref<ResTable.bag_entry[]>) - Method in class org.robolectric.res.android.ResTable
- lockCanvas() - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- lockCanvas(Rect) - Method in class org.robolectric.shadows.ShadowSurface
- lockCanvas(Rect) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- lockHardwareCanvas() - Method in class org.robolectric.shadows.ShadowSurface
- lockNow() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- log - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- Logger - Class in org.robolectric.util
-
Logger for Robolectric.
- Logger() - Constructor for class org.robolectric.util.Logger
- loggingEnabled() - Static method in class org.robolectric.util.Logger
- logHttpRequests() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- logicalDensityDpi - Variable in class org.robolectric.android.internal.DisplayConfig
-
The logical display density which is the basis for density-independent pixels.
- logicalHeight - Variable in class org.robolectric.android.internal.DisplayConfig
-
The logical height of the display, in pixels.
- logicalWidth - Variable in class org.robolectric.android.internal.DisplayConfig
-
The logical width of the display, in pixels.
- LogItem(int, String, String, Throwable) - Constructor for class org.robolectric.shadows.ShadowLog.LogItem
- LogItem(String, int, String, String, Throwable) - Constructor for class org.robolectric.shadows.ShadowLog.LogItem
- lookup(int, Ref<Short>) - Method in class org.robolectric.res.android.IdmapEntries
- loop - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- loop() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
- LooperDelegatingScheduler - Class in org.robolectric.android.internal
-
A foreground Scheduler implementation used for
LooperMode.Mode.PAUSED
. - LooperDelegatingScheduler(Looper) - Constructor for class org.robolectric.android.internal.LooperDelegatingScheduler
- looperMode() - Static method in class org.robolectric.shadows.ShadowLooper
-
Return the current
LooperMode
. - LooperMode - Annotation Type in org.robolectric.annotation
-
A
Configurer
annotation for controlling Robolectric'sLooper
behavior. - LooperMode.Mode - Enum in org.robolectric.annotation
-
Specifies the different supported Looper modes.
- LooperModeConfigurer - Class in org.robolectric.plugins
-
Provides configuration to Robolectric for its @
LooperMode
annotation. - LooperModeConfigurer(Properties) - Constructor for class org.robolectric.plugins.LooperModeConfigurer
- LooperShadowPicker<T> - Class in org.robolectric.shadows
- LooperShadowPicker(Class<? extends T>, Class<? extends T>) - Constructor for class org.robolectric.shadows.LooperShadowPicker
- loopMainThreadForAtLeast(long) - Method in class org.robolectric.android.internal.LocalUiController
- loopMainThreadUntilIdle() - Method in class org.robolectric.android.internal.LocalUiController
- looseSignatures - Variable in class org.robolectric.internal.bytecode.ShadowInfo
- looseSignatures() - Method in annotation type org.robolectric.annotation.Implements
-
If true, when an exact method signature match isn't found, Robolectric will look for a method with the same name but with all argument types replaced with java.lang.Object.
- lrHeight - Variable in class org.robolectric.shadows.RoundRectangle
- lrWidth - Variable in class org.robolectric.shadows.RoundRectangle
- lstat(String) - Method in class org.robolectric.shadows.ShadowLinux
- lstat(String) - Static method in class org.robolectric.shadows.ShadowPosix
M
- main(String[]) - Static method in class org.robolectric.preinstrumented.JarInstrumentor
- mainThreadFactory() - Method in class org.robolectric.internal.AndroidSandbox
- mainThreadFactory() - Method in class org.robolectric.internal.bytecode.Sandbox
- makeIdentifer(int, int, int) - Static method in class org.robolectric.res.ResourceIds
- makeInputDeviceNamed(String) - Static method in class org.robolectric.shadows.ShadowInputDevice
- makeMethodPrivate(MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Replaces protected and public class modifiers with private.
- makeMethodPublic(MethodNode) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
-
Replaces protected and private method modifiers with public.
- makeNewLayoutInflater(Context) - Static method in class org.robolectric.shadows.ShadowPolicyManager
- makeNewWindow(Context) - Static method in class org.robolectric.shadows.ShadowPolicyManager
- makeText(Context, int, int) - Static method in class org.robolectric.shadows.ShadowToast
- makeText(Context, CharSequence, int) - Static method in class org.robolectric.shadows.ShadowToast
- makeVisible() - Method in interface org.robolectric.shadows._Activity_
- managedConn - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The currently allocated connection.
- manifest - Variable in class org.robolectric.annotation.Config.Builder
- manifest() - Method in class org.robolectric.annotation.Config.Implementation
- manifest() - Method in annotation type org.robolectric.annotation.Config
-
Deprecated.If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure builds http://robolectric.org/getting-started/
- ManifestFactory - Interface in org.robolectric.internal
-
A factory that detects what build system is in use and provides a ManifestFactory that can create an AndroidManifest for that environment.
- ManifestIdentifier - Class in org.robolectric.internal
- ManifestIdentifier(String, Path, Path, Path, List<ManifestIdentifier>) - Constructor for class org.robolectric.internal.ManifestIdentifier
- ManifestIdentifier(String, Path, Path, Path, List<ManifestIdentifier>, Path) - Constructor for class org.robolectric.internal.ManifestIdentifier
- ManifestIdentifier(Path, Path, Path, String, List<Path>) - Constructor for class org.robolectric.internal.ManifestIdentifier
-
Deprecated.Use
ManifestIdentifier(String, Path, Path, Path, List)
instead. - MANUAL - org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
-
Do not automatically allow or deny any call requests.
- map - Variable in class org.robolectric.res.android.ResTable.bag_entry
- map() - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy.Configuration
-
Returns the map of known configuration classes to configuration instances.
- map() - Method in class org.robolectric.plugins.HierarchicalConfigurationStrategy.ConfigurationImpl
- map(int, int, int) - Method in class org.robolectric.shadows.ShadowSharedMemory
-
Only works on
SharedMemory
instances fromSharedMemory.create(java.lang.String, int)
. - mapForPackage(SortedMap<ComponentName, V>, String) - Static method in class org.robolectric.shadows.ShadowPackageManager
- mapLibraryName(String) - Method in interface org.robolectric.shadows.util.SQLiteLibraryLoader.LibraryNameMapper
- mappedTypeName(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- mapPoint(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- mapPoint(PointF) - Method in class org.robolectric.shadows.ShadowMatrix
- mapPoints(float[], int, float[], int, int) - Method in class org.robolectric.shadows.ShadowMatrix
- mapRadius(float) - Method in class org.robolectric.shadows.ShadowMatrix
- mapRect(RectF, RectF) - Method in class org.robolectric.shadows.ShadowMatrix
- mapRectFromViewToScreenCoords(RectF, boolean) - Method in class org.robolectric.shadows.ShadowView
- mapVectors(float[], int, float[], int, int) - Method in class org.robolectric.shadows.ShadowMatrix
- mark(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- markSupported() - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- MASK_HDR - Static variable in class org.robolectric.res.android.ResTable_config
- MASK_KEYSHIDDEN - Static variable in class org.robolectric.res.android.ResTable_config
- MASK_LAYOUTDIR - Static variable in class org.robolectric.res.android.ResTable_config
- MASK_NAVHIDDEN - Static variable in class org.robolectric.res.android.ResTable_config
- MASK_SCREENLONG - Static variable in class org.robolectric.res.android.ResTable_config
- MASK_UI_MODE_NIGHT - Static variable in class org.robolectric.res.android.ResTable_config
- MASK_UI_MODE_TYPE - Static variable in class org.robolectric.res.android.ResTable_config
- MASK_WIDE_COLOR_GAMUT - Static variable in class org.robolectric.res.android.ResTable_config
- match(ResTable_config) - Method in class org.robolectric.res.android.ResTable_config
- MATCH_ALL - Static variable in interface org.robolectric.sandbox.ShadowMatcher
- matchClass(ClassTree, VisitorState) - Method in class org.robolectric.errorprone.bugpatterns.DeprecatedMethodsCheck
- matchClass(ClassTree, VisitorState) - Method in class org.robolectric.errorprone.bugpatterns.RobolectricShadow
- matches(Method) - Method in class org.robolectric.android.AndroidSdkShadowMatcher
- matches(Method) - Method in interface org.robolectric.sandbox.ShadowMatcher
- matches(HttpEntity) - Method in interface org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
-
Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.DefaultRequestMatcher
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRegexMatcher
- matches(HttpRequest) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRequestMatcher
- matches(HttpRequest) - Method in interface org.robolectric.shadows.httpclient.HttpEntityStub.ResponseRule
- matches(HttpRequest) - Method in interface org.robolectric.shadows.httpclient.RequestMatcher
- matches(ShadowInfo) - Method in class org.robolectric.android.AndroidSdkShadowMatcher
- matches(ShadowInfo) - Method in interface org.robolectric.sandbox.ShadowMatcher
- MATRIX - Static variable in class org.robolectric.shadows.ShadowMatrix
- MavenArtifactFetcher - Class in org.robolectric.internal.dependency
-
Class responsible for fetching artifacts from Maven.
- MavenArtifactFetcher(String, String, String, File, ExecutorService) - Constructor for class org.robolectric.internal.dependency.MavenArtifactFetcher
- MavenDependencyResolver - Class in org.robolectric.internal.dependency
-
This class is mainly responsible for fetching Android framework JAR dependencies from MavenCentral.
- MavenDependencyResolver() - Constructor for class org.robolectric.internal.dependency.MavenDependencyResolver
- MavenDependencyResolver(String, String, String, String) - Constructor for class org.robolectric.internal.dependency.MavenDependencyResolver
- MavenJarArtifact - Class in org.robolectric.internal.dependency
-
Encapsulates some parts of a Maven artifact.
- MavenJarArtifact(DependencyJar) - Constructor for class org.robolectric.internal.dependency.MavenJarArtifact
- MavenManifestFactory - Class in org.robolectric.internal
-
Deprecated.This method of configuration will be removed in a forthcoming release. Build systems should follow http://robolectric.org/build-system-integration/ to provide integration with Robolectric.
- MavenManifestFactory() - Constructor for class org.robolectric.internal.MavenManifestFactory
-
Deprecated.
- MavenRoboSettings - Class in org.robolectric
-
Deprecated.Don't put more stuff here.
- MavenRoboSettings() - Constructor for class org.robolectric.MavenRoboSettings
-
Deprecated.
- MAX_ACTIVE_LOCKS - Static variable in class org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
- MAX_SUPPORTED_ANDROID_SDK - Static variable in class org.robolectric.annotation.processing.validator.ImplementsValidator
- MAX_VOLUME_MUSIC_DTMF - Static variable in class org.robolectric.shadows.ShadowAudioManager
- maxSdk - Variable in class org.robolectric.annotation.Config.Builder
- maxSdk - Variable in class org.robolectric.annotation.processing.DocumentedMethod
- maxSdk() - Method in class org.robolectric.annotation.Config.Implementation
- maxSdk() - Method in annotation type org.robolectric.annotation.Config
-
The maximum Android SDK level to emulate when running tests on multiple API versions.
- maxSdk() - Method in annotation type org.robolectric.annotation.Implementation
-
The annotated shadow method will be invoked only for the specified SDK or lesser.
- maxSdk() - Method in annotation type org.robolectric.annotation.Implements
-
If specified, the shadow class will be applied only for this SDK or lesser.
- maxSize() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- maybeInstrumentClass(String) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- mcc - Variable in class org.robolectric.res.android.ResTable_config
- MCC - org.robolectric.res.android.ResTable_config.Type
- measure(String, PerfStatsCollector.ThrowingRunnable<E>) - Method in class org.robolectric.util.PerfStatsCollector
- measure(String, PerfStatsCollector.ThrowingSupplier<T, E>) - Method in class org.robolectric.util.PerfStatsCollector
- measureText(char[], int, int) - Method in class org.robolectric.shadows.ShadowPaint
- measureText(CharSequence, int, int) - Method in class org.robolectric.shadows.ShadowPaint
- measureText(String) - Method in class org.robolectric.shadows.ShadowPaint
- measureText(String, int, int) - Method in class org.robolectric.shadows.ShadowPaint
- MEDIA_EVENT - Static variable in class org.robolectric.shadows.ShadowMediaPlayer
- MediaCodecInfoBuilder - Class in org.robolectric.shadows
-
Builder for
MediaCodecInfo
. - MediaCodecInfoBuilder.CodecCapabilitiesBuilder - Class in org.robolectric.shadows
-
Builder for
MediaCodecInfo.CodecCapabilities
. - MediaInfo() - Constructor for class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Creates a new
MediaInfo
object with default duration (1000ms) and default preparation delay (0ms). - MediaInfo(int, int) - Constructor for class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Creates a new
MediaInfo
object with the given duration and preparation delay. - merge(Config, Config) - Method in class org.robolectric.plugins.ConfigConfigurer
- merge(ConscryptMode.Mode, ConscryptMode.Mode) - Method in class org.robolectric.plugins.ConscryptModeConfigurer
- merge(LazyApplication.LazyLoad, LazyApplication.LazyLoad) - Method in class org.robolectric.plugins.LazyApplicationConfigurer
-
"Merges" two configurations together.
- merge(GetInstallerPackageNameMode.Mode, GetInstallerPackageNameMode.Mode) - Method in class org.robolectric.plugins.GetInstallerPackageNameModeConfigurer
- merge(LooperMode.Mode, LooperMode.Mode) - Method in class org.robolectric.plugins.LooperModeConfigurer
- merge(SQLiteMode.Mode, SQLiteMode.Mode) - Method in class org.robolectric.plugins.SQLiteModeConfigurer
- merge(TextLayoutMode.Mode, TextLayoutMode.Mode) - Method in class org.robolectric.plugins.TextLayoutModeConfigurer
- merge(T, T) - Method in interface org.robolectric.pluginapi.config.Configurer
-
Merges two configurations.
- message(Diagnostic.Kind, String) - Method in class org.robolectric.annotation.processing.validator.Validator
- message(Diagnostic.Kind, String, AnnotationValue) - Method in class org.robolectric.annotation.processing.validator.Validator
- messageId - Variable in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- messager - Variable in class org.robolectric.annotation.processing.validator.Validator
- metaData - Variable in class org.robolectric.manifest.PackageItemData
- Metadata - Class in org.robolectric.pluginapi.perf
-
Metadata for perf stats collection.
- Metadata(Map<Class<?>, Object>) - Constructor for class org.robolectric.pluginapi.perf.Metadata
- MetaData - Class in org.robolectric.manifest
- MetaData(List<Node>) - Constructor for class org.robolectric.manifest.MetaData
- method(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- methodBlock(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
- methodBlock(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner
- methodBlock(FrameworkMethod) - Method in class org.robolectric.RobolectricTestRunner.HelperTestRunner
- MethodCallSite - Class in org.robolectric.internal.bytecode
- MethodCallSite(Class<?>, MethodType, String, MethodHandle, MethodCallSite.Kind) - Constructor for class org.robolectric.internal.bytecode.MethodCallSite
- MethodCallSite.Kind - Enum in org.robolectric.internal.bytecode
- methodInvoker(FrameworkMethod, Object) - Method in class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
-
For tests with a timeout, we need to wrap the test method execution (but not
@Before
s or@After
s in aTimeLimitedStatement
. - methodName - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- methodName - Variable in class org.robolectric.internal.bytecode.MethodRef
- methodName - Variable in class org.robolectric.internal.bytecode.MethodSignature
- MethodRef - Class in org.robolectric.internal.bytecode
-
Reference to a specific method on a class.
- MethodRef(Class<?>, String) - Constructor for class org.robolectric.internal.bytecode.MethodRef
- MethodRef(String, String) - Constructor for class org.robolectric.internal.bytecode.MethodRef
- methods - Variable in class org.robolectric.annotation.processing.DocumentedType
- METHODS_ALLOWED_TO_BE_PUBLIC - Static variable in class org.robolectric.annotation.processing.validator.ImplementationValidator
- MethodSignature - Class in org.robolectric.internal.bytecode
- methodsToIntercept() - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- Metric - Class in org.robolectric.pluginapi.perf
-
Metric for perf stats collection.
- Metric(String, boolean) - Constructor for class org.robolectric.pluginapi.perf.Metric
- Metric(String, int, int, boolean) - Constructor for class org.robolectric.pluginapi.perf.Metric
- mimeType - Variable in class org.robolectric.shadows.ShadowWebView.LoadData
- mimeType - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
- MIN_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
- minorVersion - Variable in class org.robolectric.res.android.ResTable_config
- MINORVERSION_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- minSdk - Variable in class org.robolectric.annotation.Config.Builder
- minSdk - Variable in class org.robolectric.annotation.processing.DocumentedMethod
- minSdk() - Method in class org.robolectric.annotation.Config.Implementation
- minSdk() - Method in annotation type org.robolectric.annotation.Config
-
The minimum Android SDK level to emulate when running tests on multiple API versions.
- minSdk() - Method in annotation type org.robolectric.annotation.Implementation
-
The annotated shadow method will be invoked only for the specified SDK or greater.
- minSdk() - Method in annotation type org.robolectric.annotation.Implements
-
If specified, the shadow class will be applied only for this SDK or greater.
- mkdir(String, int) - Method in class org.robolectric.shadows.ShadowLinux
- mkdir(String, int) - Static method in class org.robolectric.shadows.ShadowPosix
- mmapRO(String) - Static method in class org.robolectric.shadows.ShadowMemoryMappedFile
- mmapRO(String) - Static method in class org.robolectric.shadows.ShadowMemoryMappedFileS
- mnc - Variable in class org.robolectric.res.android.ResTable_config
- MNC - org.robolectric.res.android.ResTable_config.Type
- mode - Variable in class org.robolectric.shadows.ShadowAppOpsManager.ModeAndException
- mode() - Method in enum org.robolectric.res.android.Asset.AccessMode
- ModeAndException(int, String[]) - Constructor for class org.robolectric.shadows.ShadowAppOpsManager.ModeAndException
- modeBuilder(int) - Static method in class org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- ModeBuilder() - Constructor for class org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- modeId - Variable in class org.robolectric.android.internal.DisplayConfig
-
The active display mode.
- modelBuilder - Variable in class org.robolectric.annotation.processing.validator.Validator
- modifiers - Variable in class org.robolectric.annotation.processing.DocumentedMethod
- ModuleInfoBuilder - Class in org.robolectric.shadows
-
Builder for
ModuleInfo
as ModuleInfo has hidden constructors, this builder class has been added as a way to make custom ModuleInfo objects when needed. - move(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- move(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- move(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- MOVE_TO - org.robolectric.shadows.ShadowPath.Point.Type
- movePackage(Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- movePrimaryStorage(Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- moveTaskToBack(boolean) - Method in class org.robolectric.shadows.ShadowActivity
- moveTo(float, float) - Method in class org.robolectric.shadows.ShadowPath
- moveToFirst() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- moveToFirst() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- moveToFirst() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- moveToFront() - Method in class org.robolectric.shadows.ShadowAppTask
-
For tests, marks the task as moved to the front.
- moveToLast() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- moveToLast() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- moveToLast() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- moveToNext() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- moveToNext() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- moveToNext() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- moveToPosition(int) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- moveToPosition(int) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- moveToPosition(int) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- moveToPrevious() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- moveToPrevious() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- moveToPrevious() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- moveToRunningState() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimator
- moveToRunningState() - Method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
- mParser - Variable in class org.robolectric.res.android.ResXMLTree
- msg - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- MultimediaMessageParams(Uri, String, Bundle, PendingIntent, long) - Constructor for class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- multiplyMM(float[], int, float[], int, float[], int) - Static method in class org.robolectric.shadows.ShadowOpenGLMatrix
-
Multiplies two 4x4 matrices together and stores the result in a third 4x4 matrix.
- multiplyMV(float[], int, float[], int, float[], int) - Static method in class org.robolectric.shadows.ShadowOpenGLMatrix
-
Multiplies a 4 element vector by a 4x4 matrix and stores the result in a 4-element column vector.
- mustBe(String) - Method in class org.robolectric.res.ResName
- MutableClass - Class in org.robolectric.internal.bytecode
- MutableClass(ClassNode, InstrumentationConfiguration, ClassNodeProvider) - Constructor for class org.robolectric.internal.bytecode.MutableClass
- myLooper() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
- myPid() - Static method in class org.robolectric.shadows.ShadowProcess
- myProcessName() - Static method in class org.robolectric.shadows.ShadowProcess
-
Returns the name of the process.
- myself - Variable in class org.robolectric.android.controller.ComponentController
- myTid() - Static method in class org.robolectric.shadows.ShadowProcess
-
Returns the identifier (
Thread.getId()
) of the current thread (Thread.currentThread()
). - myUid() - Static method in class org.robolectric.shadows.ShadowProcess
-
Returns the identifier of this process's uid.
N
- name - Variable in class org.robolectric.android.internal.DisplayConfig
-
The human-readable name of the display.
- name - Variable in class org.robolectric.manifest.PackageItemData
- name - Variable in class org.robolectric.res.android.ResourceTable.flag_entry
- name - Variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_span
- name - Variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- name - Variable in class org.robolectric.res.android.ResTable.ResourceName
- name - Variable in class org.robolectric.res.ResName
- name - Variable in class org.robolectric.res.StaxPluralsLoader
- name - Variable in class org.robolectric.res.StaxValueLoader
- name() - Method in annotation type org.robolectric.ParameterizedRobolectricTestRunner.Parameters
-
Optional pattern to derive the test's name from the parameters.
- NAME_NOT_FOUND - Static variable in class org.robolectric.res.android.Errors
- NamedStream - Interface in org.robolectric.util
-
Marker interface for
InputStream
that need special handling. - NANOS_PER_MS - Static variable in class org.robolectric.util.TimeUtils
- nanoTime() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
-
Implements
System.nanoTime()
through ShadowWrangler. - nanoTime() - Static method in class org.robolectric.shadows.ShadowSystem
-
Implements
System.nanoTime()
through ShadowWrangler. - nanoTime() - Static method in class org.robolectric.shadows.ShadowSystemClock
-
Deprecated.Don't call this method directly; instead, use
System.nanoTime()
. - NATIVE - org.robolectric.annotation.SQLiteMode.Mode
-
Use the new SQLite implementation backed by native Android code from AOSP.
- NATIVE_APK_ASSETS_REGISTRY - Static variable in class org.robolectric.res.android.Registries
- NATIVE_ASSET_MANAGER_REGISTRY - Static variable in class org.robolectric.res.android.Registries
- NATIVE_ASSET_REGISTRY - Static variable in class org.robolectric.res.android.Registries
- native_breakText(char[], int, int, float, float[]) - Method in class org.robolectric.shadows.ShadowPaint
- native_breakText(char[], int, int, float, int, float[]) - Method in class org.robolectric.shadows.ShadowPaint
- native_breakText(long, long, char[], int, int, float, int, float[]) - Static method in class org.robolectric.shadows.ShadowPaint
- native_breakText(long, long, String, boolean, float, int, float[]) - Static method in class org.robolectric.shadows.ShadowPaint
- native_breakText(String, boolean, float, float[]) - Method in class org.robolectric.shadows.ShadowPaint
- native_breakText(String, boolean, float, int, float[]) - Method in class org.robolectric.shadows.ShadowPaint
- native_configure(Object, Object, Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowMediaCodec
- native_configure(String[], Object[], Surface, MediaCrypto, int) - Method in class org.robolectric.shadows.ShadowMediaCodec
- native_dequeueInputBuffer(long) - Method in class org.robolectric.shadows.ShadowMediaCodec
- native_dequeueOutputBuffer(MediaCodec.BufferInfo, long) - Method in class org.robolectric.shadows.ShadowMediaCodec
- native_flush() - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Flushes the available output buffers.
- native_get(String) - Static method in class org.robolectric.shadows.ShadowSystemProperties
- native_get(String, String) - Static method in class org.robolectric.shadows.ShadowSystemProperties
- native_get_boolean(String, boolean) - Static method in class org.robolectric.shadows.ShadowSystemProperties
- native_get_FCC_8() - Static method in class org.robolectric.shadows.ShadowAudioSystem
- native_get_FCC_8() - Static method in class org.robolectric.shadows.ShadowAudioTrack
- native_get_int(String, int) - Static method in class org.robolectric.shadows.ShadowSystemProperties
- native_get_long(String, long) - Static method in class org.robolectric.shadows.ShadowSystemProperties
- native_get_min_buff_size(int, int, int) - Static method in class org.robolectric.shadows.ShadowAudioRecord
- native_get_min_buff_size(int, int, int) - Static method in class org.robolectric.shadows.ShadowAudioTrack
-
Returns a predefined or default minimum buffer size.
- native_getCaptureSize() - Method in class org.robolectric.shadows.ShadowVisualizer
- native_getCodecCount() - Static method in class org.robolectric.shadows.ShadowMediaCodecList
- native_getEnabled() - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Returns whether the
AudioEffect
is enabled (as perShadowAudioEffect.native_setEnabled(boolean)
). - native_getEnabled() - Method in class org.robolectric.shadows.ShadowVisualizer
- native_getFft(byte[]) - Method in class org.robolectric.shadows.ShadowVisualizer
- native_getGlobalSettings() - Static method in class org.robolectric.shadows.ShadowMediaCodecList
- native_getMaxChannelCount() - Static method in class org.robolectric.shadows.ShadowAudioSystem
- native_getMaxSampleRate() - Static method in class org.robolectric.shadows.ShadowAudioSystem
- native_getMinSampleRate() - Static method in class org.robolectric.shadows.ShadowAudioSystem
- native_getParameter(int, byte[], int, byte[]) - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Gets the value of the parameter with key
param
, by putting its value invalue
. - native_getPeakRms(Visualizer.MeasurementPeakRms) - Method in class org.robolectric.shadows.ShadowVisualizer
- native_getRunAdvance(long, long, char[], int, int, int, int, boolean, int) - Static method in class org.robolectric.shadows.ShadowPaint
- native_getSamplingRate() - Method in class org.robolectric.shadows.ShadowVisualizer
- native_getTextRunAdvances(int, char[], int, int, int, int, int, float[], int) - Static method in class org.robolectric.shadows.ShadowPaint
- native_getTextRunAdvances(int, char[], int, int, int, int, int, float[], int, int) - Static method in class org.robolectric.shadows.ShadowPaint
- native_getTextRunAdvances(int, String, int, int, int, int, int, float[], int) - Static method in class org.robolectric.shadows.ShadowPaint
- native_getTextRunAdvances(int, String, int, int, int, int, int, float[], int, int) - Static method in class org.robolectric.shadows.ShadowPaint
- native_getTextRunAdvances(long, long, char[], int, int, int, int, boolean, float[], int) - Static method in class org.robolectric.shadows.ShadowPaint
- native_getTextRunAdvances(long, long, String, int, int, int, int, boolean, float[], int) - Static method in class org.robolectric.shadows.ShadowPaint
- native_getWaveForm(byte[]) - Method in class org.robolectric.shadows.ShadowVisualizer
- native_queueInputBuffer(int, int, int, long, int) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Triggers presentation of the corresponding output buffer for the given input buffer, and passes the given metadata as buffer info.
- native_read_in_byte_array(byte[], int, int) - Method in class org.robolectric.shadows.ShadowAudioRecord
- native_read_in_byte_array(byte[], int, int, boolean) - Method in class org.robolectric.shadows.ShadowAudioRecord
- native_read_in_direct_buffer(Object, int) - Method in class org.robolectric.shadows.ShadowAudioRecord
- native_read_in_direct_buffer(Object, int, boolean) - Method in class org.robolectric.shadows.ShadowAudioRecord
- native_read_in_float_array(float[], int, int, boolean) - Method in class org.robolectric.shadows.ShadowAudioRecord
- native_read_in_short_array(short[], int, int) - Method in class org.robolectric.shadows.ShadowAudioRecord
- native_read_in_short_array(short[], int, int, boolean) - Method in class org.robolectric.shadows.ShadowAudioRecord
- native_release() - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Removes this audio effect from the set of active audio effects.
- native_release() - Method in class org.robolectric.shadows.ShadowVisualizer
- NATIVE_RES_XML_PARSERS - Static variable in class org.robolectric.res.android.Registries
- NATIVE_RES_XML_TREES - Static variable in class org.robolectric.res.android.Registries
- native_saveLayer(int, float, float, float, float, int, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- native_saveLayer(int, RectF, int, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- native_saveLayer(long, float, float, float, float, long, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- native_saveLayerAlpha(int, float, float, float, float, int, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- native_saveLayerAlpha(int, RectF, int, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- native_saveLayerAlpha(long, float, float, float, float, int, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- native_set(String, String) - Static method in class org.robolectric.shadows.ShadowSystemProperties
- native_setCallback(MediaCodec.Callback) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Saves the callback to allow use inside the shadow.
- native_setCaptureSize(int) - Method in class org.robolectric.shadows.ShadowVisualizer
- native_setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Marks the
AudioEffect
as enabled, and always returnsSUCCESS
. - native_setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowVisualizer
- native_setOutputDevice(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- native_setParameter(int, byte[], int, byte[]) - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Sets the parameter with the given key
param
to the given valuevalue
. - native_setup(Object, String, String, int, int, int[], Object[]) - Method in class org.robolectric.shadows.ShadowAudioEffect
- native_setup(Object, String, String, int, int, int[], Object[], String) - Method in class org.robolectric.shadows.ShadowAudioEffect
- native_start() - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Starts the async encoding process, by first reporting a format change event, and then presenting an input buffer to the callback.
- native_start(int, int) - Method in class org.robolectric.shadows.ShadowAudioRecord
- NATIVE_THEME_REGISTRY - Static variable in class org.robolectric.res.android.Registries
- NATIVE_THEME9_REGISTRY - Static variable in class org.robolectric.res.android.Registries
- native_write_byte(byte[], int, int, int, boolean) - Method in class org.robolectric.shadows.ShadowAudioTrack
-
Always return the number of bytes to write.
- nativeAddBatch(int, long, MotionEvent.PointerCoords[], int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeAddBatch(long, long, MotionEvent.PointerCoords[], int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeAddTrack(long, String[], Object[]) - Static method in class org.robolectric.shadows.ShadowMediaMuxer
-
Returns an incremented track id for the associated muxer.
- nativeAllocate() - Method in class org.robolectric.shadows.ShadowCameraMetadataNative
- nativeAllocate() - Static method in class org.robolectric.shadows.ShadowCameraMetadataNativeR
- nativeAllocateCopy(long) - Static method in class org.robolectric.shadows.ShadowCameraMetadataNativeR
- nativeAllocateCopy(CameraMetadataNative) - Method in class org.robolectric.shadows.ShadowCameraMetadataNative
- nativeAllocRow(int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeAllocRow(int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeAllocRow(long) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeAllocRow(long) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeAllocRow(long) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- NativeAndroidInput - Class in org.robolectric.shadows
-
Java representation of framework native system headers Transliterated from oreo-mr1 (SDK 27) frameworks/native/include/android/Input.h
- NativeAndroidInput() - Constructor for class org.robolectric.shadows.NativeAndroidInput
- nativeAppendFrom(int, int, int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeAppendFrom(long, long, int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeApplyStyle(long, long, int, int, long, int[], long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeApplyStyle(long, long, int, int, long, int[], long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeAssetDestroy(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeAssetDestroy(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeAssetDestroy(long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeAssetGetLength(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeAssetGetLength(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeAssetGetLength(long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeAssetGetRemainingLength(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeAssetGetRemainingLength(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeAssetGetRemainingLength(long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeAssetRead(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeAssetRead(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeAssetRead(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeAssetReadChar(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeAssetReadChar(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeAssetReadChar(long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeAssetSeek(long, long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeAssetSeek(long, long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeAssetSeek(long, long, int) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeAxisFromString(String) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeAxisToString(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeBindBlob(int, int, int, byte[]) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindBlob(int, int, int, byte[]) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindBlob(long, long, int, byte[]) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeBindBlob(long, long, int, byte[]) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindBlob(long, long, int, byte[]) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindDouble(int, int, int, double) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindDouble(int, int, int, double) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindDouble(long, long, int, double) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeBindDouble(long, long, int, double) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindDouble(long, long, int, double) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindLong(int, int, int, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindLong(int, int, int, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindLong(long, long, int, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeBindLong(long, long, int, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindLong(long, long, int, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindNull(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindNull(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindNull(long, long, int) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeBindNull(long, long, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindNull(long, long, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindString(int, int, int, String) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindString(int, int, int, String) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeBindString(long, long, int, String) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeBindString(long, long, int, String) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeBindString(long, long, int, String) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- NativeBitSet64 - Class in org.robolectric.shadows
-
Transliteration of native BitSet64.
- nativeCancel(int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeCancel(int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeCancel(long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeCancel(long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeCancel(long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeClear(int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeClear(int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeClear(long) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeClear(long) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeClear(long) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeClose(int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeClose(int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeClose(long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeClose(long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeClose(long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeConstructor() - Static method in class org.robolectric.shadows.ShadowRegion
- nativeConstructor(int) - Static method in class org.robolectric.shadows.ShadowPicture
- nativeConstructor(long) - Static method in class org.robolectric.shadows.ShadowPicture
- nativeCopy(int, int, boolean) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeCopy(long, long, boolean) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeCopyStringToBuffer(long, int, int, CharArrayBuffer) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeCopyStringToBuffer(long, int, int, CharArrayBuffer) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeCreate() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeCreate() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeCreate() - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeCreate() - Static method in class org.robolectric.shadows.ShadowParcel
- nativeCreate(byte[], int, int) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeCreate(byte[], int, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeCreate(SurfaceSession, String, int, int, int, int) - Static method in class org.robolectric.shadows.ShadowSurfaceControl
- nativeCreate(SurfaceSession, String, int, int, int, int, long, int, int) - Static method in class org.robolectric.shadows.ShadowSurfaceControl
- nativeCreate(SurfaceSession, String, int, int, int, int, long, Parcel) - Static method in class org.robolectric.shadows.ShadowSurfaceControl
- nativeCreate(String, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeCreate(String, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeCreate(String, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeCreateByteArray(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeCreateByteArray(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeCreateFromArray(long[], int, int) - Static method in class org.robolectric.shadows.ShadowTypeface
- nativeCreateFromArray(long[], long, int, int) - Static method in class org.robolectric.shadows.ShadowTypeface
- nativeCreateFromParcel(Parcel) - Static method in class org.robolectric.shadows.ShadowBitmap
- nativeCreateFromSurfaceControl(Object) - Static method in class org.robolectric.shadows.ShadowSurface
- nativeCreateFromSurfaceTexture(Object) - Static method in class org.robolectric.shadows.ShadowSurface
- nativeCreateIdmapsForStaticOverlaysTargetingAndroid() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeCreateIdmapsForStaticOverlaysTargetingAndroid() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeCreateIdmapsForStaticOverlaysTargetingAndroid() - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeCreateParseState(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeCreateParseState(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeCreateParseState(long, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeDataAvail(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDataAvail(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDataCapacity(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDataCapacity(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDataPosition(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDataPosition(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDataSize(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDataSize(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDestroy() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativeDestroy(int) - Static method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- nativeDestroy(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDestroy(int) - Static method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativeDestroy(int) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeDestroy(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeDestroy(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeDestroy(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeDestroy(long) - Static method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- nativeDestroy(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeDestroy(long) - Static method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativeDestroy(long) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeDestroy(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeDestroyParseState(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeDestroyParseState(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeDispose(int) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeDispose(int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeDispose(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeDispose(int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeDispose(long) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeDispose(long) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeDispose(long) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeDispose(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeDispose(long) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeEnforceInterface(int, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeEnforceInterface(long, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeExecute(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecute(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecute(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecute(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecute(long, long, boolean) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeExecute(long, long, boolean) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecute(long, long, boolean) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForBlobFileDescriptor(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForBlobFileDescriptor(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForBlobFileDescriptor(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeExecuteForBlobFileDescriptor(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForBlobFileDescriptor(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForChangedRowCount(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForChangedRowCount(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForChangedRowCount(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeExecuteForChangedRowCount(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForChangedRowCount(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForCursorWindow(int, int, int, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForCursorWindow(int, int, int, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForCursorWindow(long, long, long, int, int, boolean) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeExecuteForCursorWindow(long, long, long, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForCursorWindow(long, long, long, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForLastInsertedRowId(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForLastInsertedRowId(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForLastInsertedRowId(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeExecuteForLastInsertedRowId(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForLastInsertedRowId(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForLong(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForLong(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForLong(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeExecuteForLong(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForLong(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForString(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForString(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeExecuteForString(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeExecuteForString(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeExecuteForString(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeFinalizeStatement(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeFinalizeStatement(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeFinalizeStatement(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeFinalizeStatement(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeFinalizeStatement(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeFindPointerIndex(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeFindPointerIndex(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeForceSetStaticFinalField(String, Typeface) - Static method in class org.robolectric.shadows.ShadowTypeface
- nativeFreeBuffer(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeFreeBuffer(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeFreeLastRow(long) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeFreeLastRow(long) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetAction(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetAction(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetActionButton(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetAssetPath(long) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- nativeGetAssignedPackageIdentifiers(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetAssignedPackageIdentifiers(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetAssignedPackageIdentifiers(long, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetAttributeCount(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeCount(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeData(int, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeData(long, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeDataType(int, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeDataType(long, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeIndex(int, String, String) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeIndex(long, String, String) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeName(int, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeName(long, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeNamespace(int, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeNamespace(long, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeResource(int, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeResource(long, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeStringValue(int, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAttributeStringValue(long, int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetAxisValue(int, int, int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetAxisValue(long, int, int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetBlob(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetBlob(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetBlob(long, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeGetBlob(long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetBlob(long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetButtonState(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetButtonState(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetClassAttribute(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetClassAttribute(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetColumnCount(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetColumnCount(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetColumnCount(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeGetColumnCount(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetColumnCount(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetColumnName(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetColumnName(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetColumnName(long, long, int) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeGetColumnName(long, long, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetColumnName(long, long, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetDbLookaside(int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetDbLookaside(int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetDbLookaside(long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeGetDbLookaside(long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetDbLookaside(long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetDeviceId(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetDeviceId(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetDouble(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetDouble(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetDouble(long, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeGetDouble(long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetDouble(long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetDownTimeNanos(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetDownTimeNanos(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetEdgeFlags(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetEdgeFlags(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetEnabledTags() - Static method in class org.robolectric.shadows.ShadowTrace
- nativeGetEventTimeNanos(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetEventTimeNanos(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetFlags(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetFlags(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetFromSurfaceControl(long, long) - Static method in class org.robolectric.shadows.ShadowSurface
- nativeGetHistorySize(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetHistorySize(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetIdAttribute(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetIdAttribute(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetLineNumber(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetLineNumber(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetLocales(long, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetLocales(long, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetLong(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetLong(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetLong(long, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeGetLong(long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetLong(long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetMetaState(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetMetaState(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetName(int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetName(int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetName(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetName(long) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeGetName(long) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetName(long) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetName(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetNamespace(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetNamespace(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetNumber(int, int) - Static method in class org.robolectric.shadows.ShadowKeyCharacterMap
- nativeGetNumber(long, int) - Static method in class org.robolectric.shadows.ShadowKeyCharacterMap
- nativeGetNumRows(int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetNumRows(int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetNumRows(long) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeGetNumRows(long) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetNumRows(long) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetParameterCount(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetParameterCount(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetParameterCount(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeGetParameterCount(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeGetParameterCount(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeGetPointerCoords(int, int, int, MotionEvent.PointerCoords) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetPointerCoords(long, int, int, MotionEvent.PointerCoords) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetPointerCount(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetPointerCount(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetPointerId(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetPointerId(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetPointerProperties(int, int, MotionEvent.PointerProperties) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetPointerProperties(long, int, MotionEvent.PointerProperties) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetRawAxisValue(int, int, int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetRawAxisValue(long, int, int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetResourceArray(long, int, int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceArray(long, int, int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceArraySize(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceArraySize(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceBagValue(long, int, int, TypedValue) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceBagValue(long, int, int, TypedValue) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceEntryName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceEntryName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceIdentifier(long, String, String, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceIdentifier(long, String, String, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceIntArray(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceIntArray(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourcePackageName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourcePackageName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceStringArray(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceStringArray(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceStringArrayInfo(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceStringArrayInfo(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceTypeName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceTypeName(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetResourceValue(long, int, short, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetResourceValue(long, int, short, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetSize(int) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeGetSize(long) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeGetSizeConfigurations(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetSizeConfigurations(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetSource(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetSource(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetSourceResId(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetString(int, int) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeGetString(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetString(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetString(long, int) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeGetString(long, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeGetString(long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetString(long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetStringBlock(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetStringBlock(long) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- nativeGetStringBlock(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetStyle(int, int) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeGetStyle(long, int) - Static method in class org.robolectric.shadows.ShadowStringBlock
- nativeGetStyleAttribute(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetStyleAttribute(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetStyleAttributes(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeGetStyleAttributes(long, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeGetSurface() - Method in class org.robolectric.shadows.ShadowImageReader
- nativeGetText(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetText(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeGetToolType(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetToolType(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetType(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetType(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetType(long, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeGetType(long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeGetType(long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeGetXOffset(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetXOffset(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetXPrecision(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetXPrecision(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetYOffset(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetYOffset(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetYPrecision(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeGetYPrecision(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeImageSetup(Image) - Method in class org.robolectric.shadows.ShadowImageReader
- nativeImageSetup(Image, boolean) - Method in class org.robolectric.shadows.ShadowImageReader
- nativeInit() - Static method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- nativeInit(DisplayEventReceiver, MessageQueue) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeInit(Object, Object) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeInit(WeakReference<DisplayEventReceiver>, MessageQueue) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeInit(WeakReference<DisplayEventReceiver>, MessageQueue, int) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeInit(WeakReference<DisplayEventReceiver>, MessageQueue, int, int) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeInitialize(int, int, int, int, int, int, int, int, float, float, float, float, long, long, int, MotionEvent.PointerProperties[], MotionEvent.PointerCoords[]) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeInitialize(long, int, int, int, int, int, int, int, float, float, float, float, long, long, int, MotionEvent.PointerProperties[], MotionEvent.PointerCoords[]) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeInitialize(long, int, int, int, int, int, int, int, int, int, float, float, float, float, long, long, int, MotionEvent.PointerProperties[], MotionEvent.PointerCoords[]) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- NativeInput - Class in org.robolectric.shadows
-
Java representation of framework native input Transliterated from oreo-mr1 (SDK 27) frameworks/native/include/input/Input.h and libs/input/Input.cpp
- NativeInput() - Constructor for class org.robolectric.shadows.NativeInput
- nativeIsIdling(int) - Static method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- nativeIsIdling(long) - Static method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- nativeIsPolling(long) - Static method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativeIsReadOnly(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeIsReadOnly(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeIsReadOnly(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeIsReadOnly(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeIsReadOnly(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeIsTouchEvent(int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeIsTouchEvent(long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeIsUpToDate(long) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- nativeList(long, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeList(long, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeLoad(Object, Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- nativeLoad(String, boolean, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- nativeLoadFromFd(FileDescriptor, String, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- nativeMarshall(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeMarshall(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeNext(int) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- nativeNext(long) - Static method in class org.robolectric.shadows.ShadowXmlBlock
- NativeObjRegistry<T> - Class in org.robolectric.res.android
-
A unique id per object registry.
- NativeObjRegistry(Class<T>) - Constructor for class org.robolectric.res.android.NativeObjRegistry
- NativeObjRegistry(Class<T>, boolean) - Constructor for class org.robolectric.res.android.NativeObjRegistry
- NativeObjRegistry(String) - Constructor for class org.robolectric.res.android.NativeObjRegistry
- NativeObjRegistry(String, boolean) - Constructor for class org.robolectric.res.android.NativeObjRegistry
- nativeOffsetLocation(int, float, float) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeOffsetLocation(long, float, float) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeOpen(String, int, String, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeOpen(String, int, String, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeOpen(String, int, String, boolean, boolean, int, int) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeOpen(String, int, String, boolean, boolean, int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeOpen(String, int, String, boolean, boolean, int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeOpenAsset(long, String, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeOpenAsset(long, String, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeOpenAssetFd(long, String, long[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeOpenAssetFd(long, String, long[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeOpenNonAsset(long, int, String, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeOpenNonAsset(long, int, String, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeOpenNonAssetFd(long, int, String, long[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeOpenNonAssetFd(long, int, String, long[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeOpenXml(long, String) - Static method in class org.robolectric.shadows.ShadowArscApkAssets9
- nativeOpenXmlAsset(long, int, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeOpenXmlAsset(long, int, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeParse3339(String) - Method in class org.robolectric.shadows.ShadowTime
- nativePollOnce(int, int) - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativePollOnce(long, int) - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativePollOnce(Object, Object) - Static method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativePrepareStatement(int, String) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativePrepareStatement(int, String) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativePrepareStatement(long, String) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativePrepareStatement(long, String) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativePrepareStatement(long, String) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativePutBlob(int, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutBlob(int, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutBlob(long, byte[], int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativePutBlob(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutBlob(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutDouble(int, double, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutDouble(int, double, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutDouble(long, double, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativePutDouble(long, double, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutDouble(long, double, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutLong(int, long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutLong(int, long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutLong(long, long, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativePutLong(long, long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutLong(long, long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutNull(int, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutNull(int, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutNull(long, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativePutNull(long, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutNull(long, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutString(int, String, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutString(int, String, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativePutString(long, String, int, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativePutString(long, String, int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativePutString(long, String, int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeReadBlob(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadByteArray(long, byte[], int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadDouble(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadDouble(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadFileDescriptor(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadFloat(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadFloat(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadFromParcel(int, Parcel) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeReadFromParcel(long, Parcel) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeReadInt(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadInt(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadLong(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadLong(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadString(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadString(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadString16(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadString8(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadStrongBinder(int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeReadStrongBinder(long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeRegisterCustomAggregateFunction(long, String, BinaryOperator<String>) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeRegisterCustomAggregateFunction(long, String, BinaryOperator<String>) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeRegisterCustomFunction(int, SQLiteCustomFunction) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeRegisterCustomFunction(long, SQLiteCustomFunction) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeRegisterCustomScalarFunction(long, String, UnaryOperator<String>) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeRegisterCustomScalarFunction(long, String, UnaryOperator<String>) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeRegisterLocalizedCollators(int, String) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeRegisterLocalizedCollators(int, String) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeRegisterLocalizedCollators(long, String) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeRegisterLocalizedCollators(long, String) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeRegisterLocalizedCollators(long, String) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeReleaseImage(Image) - Method in class org.robolectric.shadows.ShadowImageReader
- nativeResetCancel(int, boolean) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeResetCancel(int, boolean) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeResetCancel(long, boolean) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeResetCancel(long, boolean) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeResetCancel(long, boolean) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeResetStatementAndClearBindings(int, int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeResetStatementAndClearBindings(int, int) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeResetStatementAndClearBindings(long, long) - Static method in class org.robolectric.nativeruntime.SQLiteConnectionNatives
- nativeResetStatementAndClearBindings(long, long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeResetStatementAndClearBindings(long, long) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- nativeResolveAttrs(long, long, int, int, int[], int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeResolveAttrs(long, long, int, int, int[], int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeRetrieveAttributes(long, long, int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeRetrieveAttributes(long, long, int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- NativeRuntimeLoader - Interface in org.robolectric.pluginapi
-
Loads the Robolectric native runtime.
- nativeScale(int, float) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeScale(long, float) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeScheduleVsync(int) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeScheduleVsync(long) - Static method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- nativeSetAction(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetAction(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetActionButton(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetApkAssets(long, ApkAssets[], boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeSetApkAssets(long, ApkAssets[], boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeSetButtonState(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetConfiguration(long, int, int, String, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeSetConfiguration(long, int, int, String, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeSetDataCapacity(int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeSetDataCapacity(long, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeSetDataPosition(int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeSetDataPosition(long, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeSetDataSize(int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeSetDataSize(long, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeSetDownTimeNanos(int, long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetDownTimeNanos(long, long) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetEdgeFlags(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetEdgeFlags(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetFlags(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetFlags(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetNumColumns(int, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeSetNumColumns(int, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeSetNumColumns(long, int) - Static method in class org.robolectric.nativeruntime.CursorWindowNatives
- nativeSetNumColumns(long, int) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- nativeSetNumColumns(long, int) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeSetSource(int, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetSource(long, int) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeSetup(FileDescriptor, int) - Static method in class org.robolectric.shadows.ShadowMediaMuxer
-
Generates and returns an internal id to track the FileOutputStream corresponding to individual MediaMuxer instances.
- nativeStop(long) - Static method in class org.robolectric.shadows.ShadowMediaMuxer
-
Closes the FileOutputStream for the associated muxer.
- nativeThemeApplyStyle(long, long, int, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeApplyStyle(long, long, int, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeClear(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeClear(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeCopy(long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeCopy(long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeCopy(long, long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeThemeCopy(long, long, long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeCopy(long, long, long, long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeCopy(long, long, long, long) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- nativeThemeCreate(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeCreate(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeDestroy(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeDestroy(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeDump(long, long, int, String, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeDump(long, long, int, String, String) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeGetAttributeValue(long, long, int, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeGetAttributeValue(long, long, int, TypedValue, boolean) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeThemeGetChangingConfigurations(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeThemeGetChangingConfigurations(long) - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeUnmarshall(int, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeUnmarshall(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeVerifySystemIdmaps() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- nativeVerifySystemIdmaps() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- nativeWake(int) - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativeWake(long) - Static method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativeWake(Object) - Static method in class org.robolectric.shadows.ShadowPausedMessageQueue
- nativeWriteBlob(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteByteArray(int, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteByteArray(long, byte[], int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteDouble(int, double) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteDouble(long, double) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteDouble(Object, Object) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteFileDescriptor(long, FileDescriptor) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteFileDescriptor(Object, Object) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteFloat(int, float) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteFloat(long, float) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteFloat(Object, Object) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteInt(int, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteInt(long, int) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteInt(Object, Object) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteInterfaceToken(int, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteInterfaceToken(long, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteLong(int, long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteLong(long, long) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteLong(Object, Object) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteSampleData(long, int, ByteBuffer, int, int, long, int) - Static method in class org.robolectric.shadows.ShadowMediaMuxer
-
Writes the given data to the FileOutputStream for the associated muxer.
- nativeWriteString(int, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteString(long, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteString16(long, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteString8(long, String) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteStrongBinder(int, IBinder) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteStrongBinder(long, IBinder) - Static method in class org.robolectric.shadows.ShadowParcel
- nativeWriteToParcel(int, Parcel) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- nativeWriteToParcel(long, Parcel) - Static method in class org.robolectric.shadows.ShadowMotionEvent
- NAVHIDDEN_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- NAVHIDDEN_NO - Static variable in class org.robolectric.res.android.ResTable_config
- NAVHIDDEN_YES - Static variable in class org.robolectric.res.android.ResTable_config
- navigation - Variable in class org.robolectric.res.android.ResTable_config
- NAVIGATION - org.robolectric.res.android.ResTable_config.Type
- NAVIGATION_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- NAVIGATION_HIDDEN - org.robolectric.res.android.ResTable_config.Type
- navigationHidden() - Method in class org.robolectric.res.android.ResTable_config
- navigationHidden(int) - Method in class org.robolectric.res.android.ResTable_config
- nBreakText(long, char[], int, int, float, int, float[]) - Static method in class org.robolectric.shadows.ShadowPaint
- nBreakText(long, long, char[], int, int, float, int, float[]) - Static method in class org.robolectric.shadows.ShadowPaint
- nBreakText(long, long, String, boolean, float, int, float[]) - Static method in class org.robolectric.shadows.ShadowPaint
- nBreakText(long, String, boolean, float, int, float[]) - Static method in class org.robolectric.shadows.ShadowPaint
- nBuild(long, ByteBuffer, String, String, int, boolean, int) - Static method in class org.robolectric.shadows.ShadowFontBuilder
- nBuildMeasuredText(long, long, char[], boolean, boolean) - Static method in class org.robolectric.shadows.ShadowMeasuredTextBuilder
- nCanMorph(long, long) - Static method in class org.robolectric.shadows.ShadowPathParser
- nClose(long) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nComputeLineBreaks(Object, Object, Object, Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowStaticLayout
- nComputeLineBreaks(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Static method in class org.robolectric.shadows.ShadowStaticLayout
- nCreate(byte[], int, int, boolean, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(byte[], int, int, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(long, boolean, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(long, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(FileDescriptor, boolean, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(FileDescriptor, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(InputStream, byte[], boolean, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(InputStream, byte[], ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(String, int) - Static method in class org.robolectric.shadows.ShadowSharedMemory
- nCreate(ByteBuffer, int, int, boolean, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreate(ByteBuffer, int, int, ImageDecoder.Source) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nCreateDisplayListCanvas() - Static method in class org.robolectric.shadows.ShadowDisplayListCanvas
- nCreateDisplayListCanvas() - Static method in class org.robolectric.shadows.ShadowRecordingCanvas
- nCreateDisplayListCanvas(int, int) - Static method in class org.robolectric.shadows.ShadowDisplayListCanvas
- nCreateDisplayListCanvas(int, int) - Static method in class org.robolectric.shadows.ShadowRecordingCanvas
- nCreateDisplayListCanvas(long, int, int) - Static method in class org.robolectric.shadows.ShadowDisplayListCanvas
- nCreateDisplayListCanvas(long, int, int) - Static method in class org.robolectric.shadows.ShadowRecordingCanvas
- nCreateFullPath() - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nCreateFullPath(long) - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nCreateGroup() - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nCreateGroup(long) - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nCreateHardwareBuffer(int, int, int, int, long) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
- nCreateProxy(boolean, boolean, long) - Static method in class org.robolectric.shadows.ShadowHardwareRenderer
- nCreateProxy(boolean, long) - Static method in class org.robolectric.shadows.ShadowHardwareRenderer
- nCreateProxy(Object, Object) - Static method in class org.robolectric.shadows.ShadowHardwareRenderer
- nCreateTextureLayer(long) - Static method in class org.robolectric.shadows.ShadowHardwareRenderer
- nCreateTextureLayer(long) - Static method in class org.robolectric.shadows.ShadowThreadedRenderer
- nDecodeBitmap(long, ImageDecoder, boolean, int, int, Rect, boolean, int, boolean, boolean, boolean, long, boolean) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nDecodeBitmap(long, ImageDecoder, boolean, int, int, Rect, boolean, int, boolean, boolean, boolean, ColorSpace) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nDecStrong(long) - Static method in class org.robolectric.shadows.ShadowVirtualRefBasePtr
- NETWORK - org.robolectric.fakes.RoboResponseSource
-
Return the response from the network.
- networkTimeAvailable - Static variable in class org.robolectric.shadows.ShadowSystemClock
- NEW_INSETS_MODE_FULL - Static variable in class org.robolectric.shadows.ShadowWindowManagerImpl
- newBuilder() - Static method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- newBuilder() - Method in class org.robolectric.internal.bytecode.ShadowMap
- newBuilder() - Static method in class org.robolectric.shadows.AppWidgetProviderInfoBuilder
-
Create a new
AppWidgetProviderInfoBuilder
. - newBuilder() - Static method in class org.robolectric.shadows.DeviceStateSensorOrientationBuilder
- newBuilder() - Static method in class org.robolectric.shadows.DragEventBuilder
- newBuilder() - Static method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- newBuilder() - Static method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
-
Creates a new
MediaCodecInfoBuilder.CodecCapabilitiesBuilder
. - newBuilder() - Static method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Create a new
MediaCodecInfoBuilder
. - newBuilder() - Static method in class org.robolectric.shadows.ModuleInfoBuilder
-
Start building a new ModuleInfo
- newBuilder() - Static method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- newBuilder() - Static method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Start building a new PackageRollbackInfo
- newBuilder() - Static method in class org.robolectric.shadows.PlaybackInfoBuilder
- newBuilder() - Static method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- newBuilder() - Static method in class org.robolectric.shadows.RangingSessionBuilder
- newBuilder() - Static method in class org.robolectric.shadows.RollbackInfoBuilder
-
Start building a new RollbackInfo
- newBuilder() - Static method in class org.robolectric.shadows.RunningTaskInfoBuilder
- newBuilder() - Static method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- newBuilder() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- newBuilder() - Static method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection
- newBuilder() - Static method in class org.robolectric.shadows.ShadowTrace.Counter
- newBuilder() - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder
- newBuilder() - Static method in class org.robolectric.shadows.StreamConfigurationMapBuilder
-
Create a new
StreamConfigurationMapBuilder
. - newBuilder() - Static method in class org.robolectric.shadows.UiccCardInfoBuilder
- newBuilder() - Static method in class org.robolectric.shadows.UiccPortInfoBuilder
- newBuilder() - Static method in class org.robolectric.shadows.UiccSlotInfoBuilder
- newBuilder() - Static method in class org.robolectric.shadows.VibrationAttributesBuilder
- newCallAudioState(boolean, int, int, BluetoothDevice, Collection<BluetoothDevice>) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Creates a new
CallAudioState
. - newCameraCharacteristics() - Static method in class org.robolectric.shadows.ShadowCameraCharacteristics
-
Convenience method which returns a new instance of
CameraCharacteristics
. - newCaptureResult() - Static method in class org.robolectric.shadows.ShadowCaptureResult
-
Convenience method which returns a new instance of
CaptureResult
. - NEWEST_SDK - Static variable in annotation type org.robolectric.annotation.Config
- newFile(File) - Static method in class org.robolectric.res.Fs
-
Deprecated.Use
File.toPath()
instead. - newFileAsset(FileTypedResource) - Static method in class org.robolectric.res.android.Asset
- newFrameworkResourceTable(ResourcePath) - Method in class org.robolectric.res.ResourceTableFactory
-
Builds an Android framework resource table in the "android" package space.
- newInstance() - Static method in class org.robolectric.shadows.ShadowAppTask
- newInstance() - Static method in class org.robolectric.shadows.ShadowDiscoverySession
- newInstance() - Static method in class org.robolectric.shadows.ShadowIsoDep
- newInstance() - Static method in class org.robolectric.shadows.ShadowJsPromptResult
- newInstance() - Static method in class org.robolectric.shadows.ShadowNetworkCapabilities
- newInstance() - Static method in class org.robolectric.shadows.ShadowPeerHandle
- newInstance() - Static method in class org.robolectric.shadows.ShadowWifiInfo
- newInstance(byte[], int, int, boolean) - Static method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
- newInstance(int) - Static method in class org.robolectric.shadows.ShadowNetwork
-
Creates new instance of
Network
, because its constructor is hidden. - newInstance(int) - Static method in class org.robolectric.shadows.ShadowSensor
-
Constructs a
Sensor
with a given type. - newInstance(int, boolean, boolean, ParcelUuid) - Static method in class org.robolectric.shadows.ShadowBluetoothServerSocket
- newInstance(BluetoothDevice) - Static method in class org.robolectric.shadows.ShadowBluetoothGatt
- newInstance(NetworkInfo.DetailedState, int, int, boolean, boolean) - Static method in class org.robolectric.shadows.ShadowNetworkInfo
-
Deprecated.
- newInstance(NetworkInfo.DetailedState, int, int, boolean, NetworkInfo.State) - Static method in class org.robolectric.shadows.ShadowNetworkInfo
-
Allows developers to create a
NetworkInfo
instance for testing. - newInstance(FileDescriptor, boolean) - Static method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
- newInstance(InputStream, boolean) - Static method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
- newInstance(Class<T>) - Static method in class org.robolectric.util.ReflectionHelpers
-
Create a new instance of a class
- newInstance(Class<T>, Class[], Object[]) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- newInstance(Class<T>, Class[], Object[]) - Method in interface org.robolectric.internal.IShadow
- newInstance(Class<T>, Class[], Object[]) - Static method in class org.robolectric.shadow.api.Shadow
- newInstance(String) - Static method in class org.robolectric.shadows.ShadowAndroidHttpClient
- newInstance(String) - Static method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Deprecated.
- newInstance(String, boolean) - Static method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
- newInstance(String, Context) - Static method in class org.robolectric.shadows.ShadowAndroidHttpClient
- newInstance(String, String, String, int, int) - Static method in class org.robolectric.shadows.ShadowScanResult
-
Deprecated.use ScanResult() instead
- newInstance(String, String, String, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowScanResult
-
Deprecated.use ScanResult() instead
- newInstanceOf(Class<T>) - Method in class org.robolectric.internal.bytecode.ShadowImpl
- newInstanceOf(Class<T>) - Method in interface org.robolectric.internal.IShadow
- newInstanceOf(Class<T>) - Static method in class org.robolectric.shadow.api.Shadow
- newInstanceOf(String) - Static method in class org.robolectric.shadow.api.Shadow
- newIntent(Intent) - Method in class org.robolectric.android.controller.ActivityController
- newNonMovableArray(Class<?>, int) - Method in class org.robolectric.shadows.ShadowVMRuntime
- newPublishDiscoverySession(WifiAwareManager, int, int) - Static method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Returns a new instance of PublishDiscoverySession.
- newResolveInfo(ResolveInfo) - Static method in class org.robolectric.shadows.ShadowResolveInfo
-
Copies
ResolveInfo
. - newResolveInfo(String, String) - Static method in class org.robolectric.shadows.ShadowResolveInfo
-
Creates a
ResolveInfo
. - newResolveInfo(String, String, String) - Static method in class org.robolectric.shadows.ShadowResolveInfo
-
Creates a
ResolveInfo
. - newResourceTable(String, ResourcePath...) - Method in class org.robolectric.res.ResourceTableFactory
-
Creates an application resource table which can be constructed with multiple resources paths representing overlayed resource libraries.
- newScopeBuilder(ClassLoader) - Method in class org.robolectric.util.inject.Injector
- newState - Variable in class org.robolectric.shadows.ShadowPackageManager.ComponentState
- newSubscribeDiscoverySession(WifiAwareManager, int, int) - Static method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Returns a new instance of SubscribeDiscoverySession.
- newTabSpec(String) - Method in class org.robolectric.shadows.ShadowTabHost
- newTaskFor(Runnable, T) - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- newTaskFor(Callable<T>) - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- newTheme() - Method in class org.robolectric.shadows.ShadowArscAssetManager
- newTheme() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- NewTheme() - Method in class org.robolectric.res.android.CppAssetManager2
- newTotalCaptureResult() - Static method in class org.robolectric.shadows.ShadowTotalCaptureResult
-
Convenience method which returns a new instance of
TotalCaptureResult
. - newUnpaddedArray(Class<?>, int) - Method in class org.robolectric.shadows.ShadowVMRuntime
- newWakeLock(int, String) - Method in class org.robolectric.shadows.ShadowPowerManager
- newWifiAwareSession(WifiAwareManager, Binder, int) - Static method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Returns a new instance of WifiAwareSession.
- next() - Method in class org.robolectric.android.XmlResourceParserImpl
- next() - Method in class org.robolectric.res.android.ResXMLParser
- next() - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
- nextId - Static variable in class org.robolectric.shadows.ShadowRegion
- nextTag() - Method in class org.robolectric.android.XmlResourceParserImpl
- nextText() - Method in class org.robolectric.android.XmlResourceParserImpl
- nextToken() - Method in class org.robolectric.android.XmlResourceParserImpl
- nGetAssetBuffer(long) - Static method in class org.robolectric.shadows.ShadowFontBuilder
- nGetColorSpace(long) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nGetFontMetricsInt(long, long, Paint.FontMetricsInt) - Static method in class org.robolectric.shadows.ShadowPaint
- nGetFontMetricsInt(long, Paint.FontMetricsInt) - Static method in class org.robolectric.shadows.ShadowPaint
- nGetFontMetricsInt(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowPaint
- nGetFormat(long) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
- nGetFullPathProperties(long, byte[], int) - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nGetGroupProperties(long, float[], int) - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nGetHeight(long) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
- nGetLayers(long) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
- nGetLineCount(long) - Static method in class org.robolectric.shadows.ShadowLineBreaker
- nGetMimeType(long) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nGetNativeAsset(AssetManager, String, boolean, int) - Static method in class org.robolectric.shadows.ShadowFontBuilder
- nGetPackedStyle(long) - Static method in class org.robolectric.shadows.ShadowFont
- nGetPadding(long, Rect) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nGetReleaseNativeAssetFunc() - Static method in class org.robolectric.shadows.ShadowFontBuilder
- nGetRunAdvance(long, char[], int, int, int, int, boolean, int) - Static method in class org.robolectric.shadows.ShadowPaint
- nGetRunAdvance(long, long, char[], int, int, int, int, boolean, int) - Static method in class org.robolectric.shadows.ShadowPaint
- nGetSampledSize(long, int) - Static method in class org.robolectric.shadows.ShadowImageDecoder
- nGetSaveCount(long) - Static method in class org.robolectric.shadows.ShadowCanvas
- nGetSize(FileDescriptor) - Static method in class org.robolectric.shadows.ShadowSharedMemory
- nGetUsage(long) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
- nGetWidth(long) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
- nIncStrong(long) - Static method in class org.robolectric.shadows.ShadowVirtualRefBasePtr
- nInit() - Static method in class org.robolectric.shadows.ShadowPaint
- nInitBuilder() - Static method in class org.robolectric.shadows.ShadowMeasuredParagraph
- nInitBuilder() - Static method in class org.robolectric.shadows.ShadowMeasuredTextBuilder
- nInitBuilder() - Static method in class org.robolectric.shadows.ShadowPrecomputedText
- nInitBuilder(String, int) - Static method in class org.robolectric.shadows.ShadowFontFamily
- nInitRaster(long) - Static method in class org.robolectric.shadows.ShadowCanvas
- nInitRaster(Bitmap) - Static method in class org.robolectric.shadows.ShadowCanvas
- nIsValid(long) - Static method in class org.robolectric.shadows.ShadowRenderNodeQ
- nLineBreakOpportunities(String, char[], int, int[]) - Static method in class org.robolectric.shadows.ShadowStaticLayout
- nNewByteBuffer(long) - Static method in class org.robolectric.shadows.ShadowFont
- NO_ERROR - Static variable in class org.robolectric.res.android.Errors
- NO_INIT - Static variable in class org.robolectric.res.android.Errors
- NO_MEMORY - Static variable in class org.robolectric.res.android.Errors
- NO_VIRTUAL_ID - Static variable in class org.robolectric.shadows.ShadowAccessibilityRecord
- nodesToPath(ShadowPathParser.PathDataNode[], Path) - Static method in class org.robolectric.shadows.ShadowPathParser.PathDataNode
-
Convert an array of PathDataNode to Path.
- NONE - Static variable in annotation type org.robolectric.annotation.Config
-
TODO(vnayar): Create named constants for default values instead of magic numbers.
- NoOpInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.NoOpInterceptor
- NoOpThreadChecker - Class in org.robolectric.android.internal
-
In Robolectric environment, everything is executed on the main thread except for when you manually create and run your code on worker thread.
- NoOpThreadChecker() - Constructor for class org.robolectric.android.internal.NoOpThreadChecker
- noParams() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- normal - org.robolectric.android.DeviceConfig.ScreenSize
- noteOp(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- noteOp(int, int, String, String, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- noteOpNoThrow(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- noteOpNoThrow(int, int, String, String, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- noteProxyOpNoThrow(int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- noteProxyOpNoThrow(int, String, int) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- noteProxyOpNoThrow(int, String, int, String, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- noteProxyOpNoThrow(Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- NotifiedUri(Uri, ContentObserver, boolean) - Constructor for class org.robolectric.shadows.ShadowContentResolver.NotifiedUri
- notify(int, Notification) - Method in class org.robolectric.shadows.ShadowNotificationManager
- notify(String, int, Notification) - Method in class org.robolectric.shadows.ShadowNotificationManager
- notifyChange(Uri, ContentObserver) - Method in class org.robolectric.shadows.ShadowContentResolver
- notifyChange(Uri, ContentObserver, boolean) - Method in class org.robolectric.shadows.ShadowContentResolver
- notifyDataSetChanged() - Method in class org.robolectric.shadows.ShadowBaseAdapter
- notifyDirectActionsChanged() - Method in class org.robolectric.shadows.ShadowVoiceInteractor
- notifyPackageAdded(String) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Fires
LauncherApps.Callback.onPackageAdded(String, UserHandle)
on all of the registered callbacks, with the provided packageName. - notifyPackageRemoved(String) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Fires
LauncherApps.Callback.onPackageRemoved(String, UserHandle)
on all of the registered callbacks, with the provided packageName. - notifyPathLoaded(String, boolean) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Notify the
SoundPool.OnLoadCompleteListener
, if present, that the given path was loaded. - notifyResourceLoaded(int, boolean) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Notify the
SoundPool.OnLoadCompleteListener
, if present, that the given resource was loaded. - nReadHardwareBufferFromParcel(Parcel) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
- nRestore(long) - Static method in class org.robolectric.shadows.ShadowCanvas
- nRestoreToCount(long, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- NrQosSessionAttributesBuilder - Class in org.robolectric.shadows
-
Class to build
NrQosSessionAttributes
. - NrQosSessionAttributesBuilder() - Constructor for class org.robolectric.shadows.NrQosSessionAttributesBuilder
- nSave(long, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- nSaveLayer(long, float, float, float, float, long) - Static method in class org.robolectric.shadows.ShadowCanvas
- nSaveLayer(long, float, float, float, float, long, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- nSaveLayerAlpha(long, float, float, float, float, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- nSaveLayerAlpha(long, float, float, float, float, int, int) - Static method in class org.robolectric.shadows.ShadowCanvas
- nSetLayerPaint(long, long) - Static method in class org.robolectric.shadows.ShadowRenderNode
-
Implementation of native method nSetLayerPaint
- nSetLayerType(long, int) - Static method in class org.robolectric.shadows.ShadowRenderNode
-
Implementation of native method nSetLayerType
- NULL - org.robolectric.res.android.DataType
-
data
is either 0 (undefined) or 1 (empty). - NULL - org.robolectric.res.ResType
- NULL_VALUE - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- NULL_VALUE - Static variable in class org.robolectric.res.AttributeResource
- numBytes() - Method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
- nUpdateFullPathProperties(long, float, int, float, int, float, float, float, float, float, int, int, int) - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nUpdateGroupProperties(long, float, float, float, float, float, float, float) - Static method in class org.robolectric.shadows.ShadowVectorDrawable
- nWriteHardwareBufferToParcel(long, Parcel) - Static method in class org.robolectric.shadows.ShadowHardwareBuffer
O
- observer - Variable in class org.robolectric.shadows.ShadowContentResolver.NotifiedUri
- obtain() - Static method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- obtain() - Static method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- obtain(AccessibilityNodeInfo) - Static method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- obtain(AccessibilityWindowInfo) - Static method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- obtain(View) - Static method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- obtain(View, int) - Static method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- obtainAttributes(AttributeSet, int[]) - Method in class org.robolectric.shadows.ShadowResources
- obtainShadowInfo(Class<?>) - Static method in class org.robolectric.internal.bytecode.ShadowMap
- obtainStyledAttributes(int[]) - Method in class org.robolectric.shadows.ShadowResources.ShadowLegacyTheme
- obtainStyledAttributes(int, int[]) - Method in class org.robolectric.shadows.ShadowResources.ShadowLegacyTheme
- obtainStyledAttributes(Resources.Theme, AttributeSet, int[], int, int) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl.ShadowLegacyThemeImpl
- obtainStyledAttributes(AttributeSet, int[], int, int) - Method in class org.robolectric.shadows.ShadowResources.ShadowLegacyTheme
- obtainTypedArray(int) - Method in class org.robolectric.shadows.ShadowResources
- of(F) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(F, Intent) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(F, Intent, Bundle) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(F, Bundle) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(F, Class<? extends Activity>) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(F, Class<? extends Activity>, Intent) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(F, Class<? extends Activity>, Intent, Bundle) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(F, Class<? extends Activity>, Bundle) - Static method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- of(T) - Static method in class org.robolectric.android.controller.ActivityController
- of(T) - Static method in class org.robolectric.android.controller.BackupAgentController
- of(T) - Static method in class org.robolectric.android.controller.ContentProviderController
- of(T, Intent) - Static method in class org.robolectric.android.controller.ActivityController
- of(T, Intent) - Static method in class org.robolectric.android.controller.IntentServiceController
- of(T, Intent) - Static method in class org.robolectric.android.controller.ServiceController
- of(T, Intent, Bundle) - Static method in class org.robolectric.android.controller.ActivityController
- OFF - org.robolectric.annotation.ConscryptMode.Mode
- OFF - org.robolectric.annotation.experimental.LazyApplication.LazyLoad
- OFF - org.robolectric.annotation.processing.validator.ImplementsValidator.SdkCheckMode
- offset(float, float) - Method in class org.robolectric.shadows.ShadowPath
- offset(float, float, Path) - Method in class org.robolectric.shadows.ShadowPath
- offsetLeftAndRight(int) - Method in class org.robolectric.shadows.ShadowRenderNode
- offsetLeftAndRight(int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- offsetTopAndBottom(int) - Method in class org.robolectric.shadows.ShadowRenderNode
- offsetTopAndBottom(int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- OLDEST_SDK - Static variable in annotation type org.robolectric.annotation.Config
- ON - org.robolectric.annotation.ConscryptMode.Mode
- ON - org.robolectric.annotation.experimental.LazyApplication.LazyLoad
- onActivityResult(int, int, Intent) - Method in interface org.robolectric.shadows._Activity_
- onAdapterStateChanged(int, int) - Method in class org.robolectric.shadows.ShadowUwbAdapterStateListener
-
Sets a local variable that stores the adapter state, and invokes any callbacks that were registered via
ShadowUwbAdapterStateListener.register(Executor, AdapterStateCallback)
- onAlarmListener - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- onAttachedToWindow() - Method in class org.robolectric.shadows.ShadowSurfaceView
- onAudioDataWritten(ShadowAudioTrack, byte[], AudioFormat) - Method in interface org.robolectric.shadows.ShadowAudioTrack.OnAudioDataWrittenListener
-
Called when data is written to
ShadowAudioTrack
. - onBackPressed() - Method in class org.robolectric.shadows.ShadowActivity
- onCallbackDied(E) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- onCallbackDied(E, Object) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- onCharacters(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxLoader
- onCharacters(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxValueLoader
- onCharacters(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.TextCollectingNodeHandler
- onClose - Variable in class org.robolectric.res.android.Asset
- onClose(RangingSession, RangingSession.Callback) - Method in interface org.robolectric.shadows.ShadowRangingSession.Adapter
- onConfigurationChange(Configuration, Configuration, DisplayMetrics) - Method in interface org.robolectric.shadows.ShadowResources.OnConfigurationChangeListener
- onConfigured(MediaFormat, Surface, MediaCrypto, int) - Method in interface org.robolectric.shadows.ShadowMediaCodec.CodecConfig.Codec
-
Called when the codec is configured.
- onConnectionEvent(String, String, Bundle) - Method in class org.robolectric.shadows.ShadowInCallService
-
Exposes
IIInCallService.Stub#onConnectionEvent
. - onCreate(MediaPlayer, ShadowMediaPlayer) - Method in interface org.robolectric.shadows.ShadowMediaPlayer.CreateListener
-
Method that is invoked when a new
MediaPlayer
is created. - onCreate(Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
-
Sets up lifecycle monitoring, and argument registry.
- onCreateDialog(int) - Method in interface org.robolectric.shadows._Activity_
- onCreateOptionsMenu(Menu) - Method in class org.robolectric.shadows.ShadowActivity
- onDbCorruption(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowContentResolver
- onDestroy() - Method in class org.robolectric.shadows.ShadowActivity
- onDestroy() - Method in class org.robolectric.shadows.ShadowService
- onEnd(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxArrayLoader
- onEnd(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxAttrLoader
- onEnd(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxLoader
- onEnd(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxPluralsLoader
- onEnd(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxStyleLoader
- onEnd(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxValueLoader
- onException(Object, Throwable) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- onForceLoad() - Method in class org.robolectric.shadows.ShadowLegacyAsyncTaskLoader
- onInterceptTouchEvent(MotionEvent) - Method in class org.robolectric.shadows.ShadowViewGroup
- onKeyDown(int, KeyEvent) - Method in class org.robolectric.shadows.ShadowTextView
- onKeyUp(int, KeyEvent) - Method in class org.robolectric.shadows.ShadowTextView
- onLayout(boolean, int, int, int, int) - Method in class org.robolectric.shadows.ShadowView
- onLayoutWasCalled() - Method in class org.robolectric.shadows.ShadowView
- onNewIntent(Intent) - Method in interface org.robolectric.shadows._Activity_
- onOpen(RangingSession, RangingSession.Callback, PersistableBundle) - Method in interface org.robolectric.shadows.ShadowRangingSession.Adapter
- onPause() - Method in class org.robolectric.shadows.ShadowGLSurfaceView
- onPause() - Method in class org.robolectric.shadows.ShadowWebView
- onPerformAccessibilityAction(int, Bundle) - Method in interface org.robolectric.shadows.ShadowAccessibilityNodeInfo.OnPerformActionListener
- onPostCreate(Bundle) - Method in interface org.robolectric.shadows._Activity_
- onPostResume() - Method in interface org.robolectric.shadows._Activity_
- onPrepareDialog(int, Dialog) - Method in interface org.robolectric.shadows._Activity_
- onPrepareDialog(int, Dialog, Bundle) - Method in interface org.robolectric.shadows._Activity_
- onPrivateCommand(View, String, Bundle) - Method in interface org.robolectric.shadows.ShadowInputMethodManager.PrivateCommandListener
- onReady() - Method in class org.robolectric.shadows.ShadowVoiceInteractionService
- onReceive(Context, Intent) - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- onReceive(Context, Intent, AtomicBoolean) - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- onReconfigure(RangingSession, RangingSession.Callback, PersistableBundle) - Method in interface org.robolectric.shadows.ShadowRangingSession.Adapter
- onResume() - Method in class org.robolectric.shadows.ShadowGLSurfaceView
- onResume() - Method in class org.robolectric.shadows.ShadowWebView
- onServiceNotFound(Object) - Static method in class org.robolectric.shadows.ShadowSystemServiceRegistry
- onSetupApplicationState() - Method in interface org.robolectric.pluginapi.TestEnvironmentLifecyclePlugin
-
Runs additional setup during TestEnvironment.before().
- onStart(RangingSession, RangingSession.Callback, PersistableBundle) - Method in interface org.robolectric.shadows.ShadowRangingSession.Adapter
- onStart(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxArrayLoader
- onStart(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxAttrLoader
- onStart(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxLoader
- onStart(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxPluralsLoader
- onStart(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxStyleLoader
- onStart(XMLStreamReader, XmlContext) - Method in class org.robolectric.res.StaxValueLoader
- onStop(RangingSession, RangingSession.Callback) - Method in interface org.robolectric.shadows.ShadowRangingSession.Adapter
- onTouchEvent(MotionEvent) - Method in class org.robolectric.shadows.ShadowGestureDetector
- onTouchEvent(MotionEvent) - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- onTouchEvent(MotionEvent) - Method in class org.robolectric.shadows.ShadowView
- onTransact(int, Parcel, Parcel, int) - Method in class org.robolectric.shadows.ShadowBinderBridge
- onViewDetachedFromWindow(View) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- onVsync() - Method in class org.robolectric.shadows.ShadowDisplayEventReceiver
- onVsync(long, int) - Method in interface org.robolectric.shadows.ShadowDisplayEventReceiver.DisplayEventReceiverReflector
- onVsync(long, int, int) - Method in interface org.robolectric.shadows.ShadowDisplayEventReceiver.DisplayEventReceiverReflector
- onVsync(long, long, int) - Method in interface org.robolectric.shadows.ShadowDisplayEventReceiver.DisplayEventReceiverReflector
- onVsync(long, long, int, Object) - Method in interface org.robolectric.shadows.ShadowDisplayEventReceiver.DisplayEventReceiverReflector
- op(Path, Path, Path.Op) - Method in class org.robolectric.shadows.ShadowPath
- OP_TIME - Static variable in class org.robolectric.shadows.ShadowAppOpsManager
- open() - Static method in class org.robolectric.shadows.ShadowCamera
- open(int) - Static method in class org.robolectric.shadows.ShadowCamera
- open(File, int) - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- open(File, int, Handler, ParcelFileDescriptor.OnCloseListener) - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- open(String) - Method in class org.robolectric.shadows.ShadowCloseGuard
- open(String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- open(String, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- open(String, int, int) - Method in class org.robolectric.shadows.ShadowLinux
- open(String, Asset.AccessMode) - Method in class org.robolectric.res.android.CppAssetManager
- Open(String, Asset.AccessMode) - Method in class org.robolectric.res.android.CppApkAssets
- Open(String, Asset.AccessMode) - Method in class org.robolectric.res.android.CppAssetManager2
- openAccessory(UsbAccessory) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Opens a file descriptor from a temporary file.
- openAsset(String, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- openAsset(String, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openAssetFd(String, long[]) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- openAssetFd(String, long[]) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openAssetFile(Uri, String) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- openCameraDeviceUserAsync(String, CameraDevice.StateCallback, Handler) - Method in class org.robolectric.shadows.ShadowCameraManager
-
Enables
CameraManager.openCamera(String, StateCallback, Handler)
to open aCameraDevice
. - openCameraDeviceUserAsync(String, CameraDevice.StateCallback, Handler, int) - Method in class org.robolectric.shadows.ShadowCameraManager
- openCameraDeviceUserAsync(String, CameraDevice.StateCallback, Executor, int) - Method in class org.robolectric.shadows.ShadowCameraManager
- openCameraDeviceUserAsync(String, CameraDevice.StateCallback, Executor, int, int) - Method in class org.robolectric.shadows.ShadowCameraManager
- openDevice(UsbDevice) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Opens a file descriptor from a temporary file.
- openDir(String) - Method in class org.robolectric.res.android.CppAssetManager
- OpenDir(String) - Method in class org.robolectric.res.android.CppAssetManager2
- openFd(String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openFile(Uri, String) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- openFileDescriptor(String, int) - Static method in class org.robolectric.shadows.ShadowParcel
- openFileDescriptor(Ref<Long>, Ref<Long>) - Method in class org.robolectric.res.android.Asset
- openInputStream(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
- openNonAsset(int, String, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openNonAsset(int, String, Asset.AccessMode) - Method in class org.robolectric.res.android.CppAssetManager
- openNonAsset(String, Asset.AccessMode, Ref<Integer>) - Method in class org.robolectric.res.android.CppAssetManager
- OpenNonAsset(String, ApkAssetsCookie, Asset.AccessMode) - Method in class org.robolectric.res.android.CppAssetManager2
- OpenNonAsset(String, Asset.AccessMode) - Method in class org.robolectric.res.android.CppAssetManager2
- OpenNonAsset(String, Asset.AccessMode, Ref<ApkAssetsCookie>) - Method in class org.robolectric.res.android.CppAssetManager2
- openNonAssetFd(int, String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openNonAssetFdNative(int, String, long[]) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- openNonAssetFdNative(int, String, long[]) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openNonAssetNative(int, String, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- openNonAssetNative(int, String, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openOutputStream(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
- openRangingSession(PersistableBundle, Executor, RangingSession.Callback) - Method in class org.robolectric.shadows.ShadowUwbManager
-
Instantiates a
ShadowRangingSession
with the adapter provided byShadowUwbManager#setUwbAdapter()
, allowing the tester dictate the results of ranging attempts. - openRangingSession(PersistableBundle, Executor, RangingSession.Callback, String) - Method in class org.robolectric.shadows.ShadowUwbManager
-
Instantiates a
ShadowRangingSession
with the multi-chip API call. - openRawResource(int) - Method in class org.robolectric.shadows.ShadowArscResourcesImpl
- openRawResource(int) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- openRawResource(int) - Method in class org.robolectric.shadows.ShadowResources
- openRawResourceFd(int) - Method in class org.robolectric.shadows.ShadowArscResourcesImpl
-
Since
AssetFileDescriptor
s are not yet supported by Robolectric,null
will be returned if the resource is found. - openRawResourceFd(int) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
-
Since
AssetFileDescriptor
s are not yet supported by Robolectric,null
will be returned if the resource is found. - openRawResourceFd(int) - Method in class org.robolectric.shadows.ShadowResources
-
Since
AssetFileDescriptor
s are not yet supported by Robolectric,null
will be returned if the resource is found. - openSession(int) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- openTypedAssetFileDescriptor(Uri, String, Bundle) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- openWrite(String, long, long) - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- openXmlAssetNative(int, String) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- openXmlAssetNative(int, String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- openXmlResourceParser(int, String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- operation - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- options - Variable in class org.robolectric.shadows.ShadowActivity.IntentForResult
- options - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- org.robolectric - package org.robolectric
-
Package containing main Robolectric classes.
- org.robolectric.android - package org.robolectric.android
- org.robolectric.android.controller - package org.robolectric.android.controller
- org.robolectric.android.internal - package org.robolectric.android.internal
- org.robolectric.android.util.concurrent - package org.robolectric.android.util.concurrent
- org.robolectric.annotation - package org.robolectric.annotation
-
Package containing Robolectric annotations.
- org.robolectric.annotation.experimental - package org.robolectric.annotation.experimental
- org.robolectric.annotation.internal - package org.robolectric.annotation.internal
- org.robolectric.annotation.processing - package org.robolectric.annotation.processing
-
Robolectric annotation processor.
- org.robolectric.annotation.processing.generator - package org.robolectric.annotation.processing.generator
-
Classes used to generate code.
- org.robolectric.annotation.processing.validator - package org.robolectric.annotation.processing.validator
-
Classes used to perform compile-time checking of shadows.
- org.robolectric.config - package org.robolectric.config
- org.robolectric.errorprone.bugpatterns - package org.robolectric.errorprone.bugpatterns
- org.robolectric.fakes - package org.robolectric.fakes
-
Package containing fake implementations of Android classes.
- org.robolectric.interceptors - package org.robolectric.interceptors
- org.robolectric.internal - package org.robolectric.internal
- org.robolectric.internal.bytecode - package org.robolectric.internal.bytecode
- org.robolectric.internal.dependency - package org.robolectric.internal.dependency
- org.robolectric.junit.rules - package org.robolectric.junit.rules
- org.robolectric.manifest - package org.robolectric.manifest
- org.robolectric.nativeruntime - package org.robolectric.nativeruntime
- org.robolectric.pluginapi - package org.robolectric.pluginapi
-
Extension points for customizing Robolectric.
- org.robolectric.pluginapi.config - package org.robolectric.pluginapi.config
- org.robolectric.pluginapi.perf - package org.robolectric.pluginapi.perf
- org.robolectric.plugins - package org.robolectric.plugins
- org.robolectric.preinstrumented - package org.robolectric.preinstrumented
- org.robolectric.res - package org.robolectric.res
- org.robolectric.res.android - package org.robolectric.res.android
- org.robolectric.res.builder - package org.robolectric.res.builder
- org.robolectric.sandbox - package org.robolectric.sandbox
- org.robolectric.shadow.api - package org.robolectric.shadow.api
- org.robolectric.shadows - package org.robolectric.shadows
-
Package containing shadow classes for the Android SDK.
- org.robolectric.shadows.gms - package org.robolectric.shadows.gms
-
Shadows for the Google Play Services Library.
- org.robolectric.shadows.gms.common - package org.robolectric.shadows.gms.common
- org.robolectric.shadows.httpclient - package org.robolectric.shadows.httpclient
-
Shadows for Apache HTTP Client.
- org.robolectric.shadows.multidex - package org.robolectric.shadows.multidex
-
Shadows for the Android Multidex Library.
- org.robolectric.shadows.util - package org.robolectric.shadows.util
-
Package containing shadow related utility classes.
- org.robolectric.util - package org.robolectric.util
-
Package containing general utility classes.
- org.robolectric.util.inject - package org.robolectric.util.inject
- org.robolectric.util.reflector - package org.robolectric.util.reflector
- orientation - Variable in class org.robolectric.res.android.ResTable_config
- ORIENTATION - org.robolectric.res.android.ResTable_config.Type
- ORIENTATION_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- ORIENTATION_LAND - Static variable in class org.robolectric.res.android.ResTable_config
- ORIENTATION_PORT - Static variable in class org.robolectric.res.android.ResTable_config
- ORIENTATION_SQUARE - Static variable in class org.robolectric.res.android.ResTable_config
- OutgoingCallRecord(Uri, Bundle) - Constructor for class org.robolectric.shadows.ShadowTelecomManager.OutgoingCallRecord
- oval - Variable in class org.robolectric.shadows.ShadowCanvas.ArcPaintHistoryEvent
- oval - Variable in class org.robolectric.shadows.ShadowCanvas.OvalPaintHistoryEvent
- overlay(Config) - Method in class org.robolectric.annotation.Config.Builder
- overlayTypeId() - Method in class org.robolectric.res.android.IdmapEntries
- override(String, String) - Static method in class org.robolectric.shadows.ShadowSystemProperties
-
Overrides the system property for testing.
- overrideConfig(int, PersistableBundle) - Method in class org.robolectric.shadows.ShadowCarrierConfigManager
-
Overrides the carrier config of the provided subscription ID with the provided values.
- overrideExecutor(Executor) - Static method in class org.robolectric.shadows.ShadowIcon
-
Set the executor where async drawable loading will run.
- overrideExecutor(Executor) - Static method in class org.robolectric.shadows.ShadowPausedAsyncTask
-
Globally override the executor used for all AsyncTask#execute* calls.
- overridePendingTransition(int, int) - Method in class org.robolectric.shadows.ShadowActivity
- ownerPackageName - Variable in class org.robolectric.android.internal.DisplayConfig
-
The package name of the application that owns this display, or null if it is owned by the system.
- ownerUid - Variable in class org.robolectric.android.internal.DisplayConfig
-
The UID of the application that owns this display, or zero if it is owned by the system.
P
- package_ - Variable in class org.robolectric.res.android.CppAssetManager2.ResourceName
- PackageGroup(ResTable, String, int, boolean, boolean, boolean) - Constructor for class org.robolectric.res.android.ResTable.PackageGroup
- PackageItemData - Class in org.robolectric.manifest
- PackageItemData(String, MetaData) - Constructor for class org.robolectric.manifest.PackageItemData
- packageName - Variable in class org.robolectric.annotation.Config.Builder
- packageName - Variable in class org.robolectric.res.android.ResTable.ResourceName
- packageName - Variable in class org.robolectric.res.DocumentLoader
- packageName - Variable in class org.robolectric.res.ResName
- packageName() - Method in class org.robolectric.annotation.Config.Implementation
- packageName() - Method in annotation type org.robolectric.annotation.Config
-
Deprecated.To change your package name please override the applicationId in your build system. Changing package name here is broken as the package name will no longer match the package name encoded in the arsc resources file. If you are looking to simulate another application you can create another applications Context using
Context.createPackageContext(String, int)
. Note that you must add this package toShadowPackageManager.addPackage(android.content.pm.PackageInfo)
first. - PackagePropertiesLoader - Class in org.robolectric.plugins
-
Provides cached access to
robolectric-properties
files, for all your configuration needs! - PackagePropertiesLoader() - Constructor for class org.robolectric.plugins.PackagePropertiesLoader
- PackageResourceTable - Class in org.robolectric.res
-
A
ResourceTable
for a single package, e.g: "android" / ox01 - PackageResourceTable(String) - Constructor for class org.robolectric.res.PackageResourceTable
- PackageRollbackInfoBuilder - Class in org.robolectric.shadows
-
Builder for
PackageRollbackInfo
as PackageRollbackInfo has hidden constructors, this builder class has been added as a way to make custom PackageRollbackInfo objects when needed. - PackageSetting() - Constructor for class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- PackageSetting(ShadowPackageManager.PackageSetting) - Constructor for class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- packagesToNotAcquire - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- packagesToNotInstrument - Variable in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- packLanguage(String) - Method in class org.robolectric.res.android.ResTable_config
- packRegion(String) - Method in class org.robolectric.res.android.ResTable_config
- paint - Variable in class org.robolectric.shadows.ShadowCanvas.ArcPaintHistoryEvent
- paint - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
- paint - Variable in class org.robolectric.shadows.ShadowCanvas.LinePaintHistoryEvent
- paint - Variable in class org.robolectric.shadows.ShadowCanvas.OvalPaintHistoryEvent
- paint - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
- paint - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
- paint - Variable in class org.robolectric.shadows.ShadowCanvas.TextHistoryEvent
- Pair(String, String) - Constructor for class org.robolectric.res.AttrData.Pair
- param(String, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- ParameterizedRobolectricTestRunner - Class in org.robolectric
-
A Parameterized test runner for Robolectric.
- ParameterizedRobolectricTestRunner(Class<?>) - Constructor for class org.robolectric.ParameterizedRobolectricTestRunner
- ParameterizedRobolectricTestRunner.Parameter - Annotation Type in org.robolectric
-
Annotation for fields of the test class which will be initialized by the method annotated by
Parameters
By using directly this annotation, the test class constructor isn't needed.
Index range must start at 0. - ParameterizedRobolectricTestRunner.Parameters - Annotation Type in org.robolectric
-
Annotation for a method which provides parameters to be injected into the test class constructor by
Parameterized
- params - Variable in class org.robolectric.annotation.processing.DocumentedMethod
- params - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The HTTP parameters.
- ParamsParser - Class in org.robolectric.shadows.httpclient
- ParamsParser() - Constructor for class org.robolectric.shadows.httpclient.ParamsParser
- paramTypes - Variable in class org.robolectric.internal.bytecode.InvocationProfile
- paramTypes - Variable in class org.robolectric.internal.bytecode.MethodSignature
- parse(String) - Static method in class org.robolectric.internal.bytecode.MethodSignature
- parse(String) - Static method in class org.robolectric.res.Qualifiers
- parse(String) - Method in class org.robolectric.shadows.ShadowTime
- parse(String, boolean) - Static method in class org.robolectric.res.Qualifiers
- parse(String, ResTable_config) - Static method in class org.robolectric.res.android.ConfigDescription
- parse(String, ResTable_config, boolean) - Static method in class org.robolectric.res.android.ConfigDescription
- parseFloatAttribute(String, String, TypedValue, boolean) - Static method in class org.robolectric.shadows.ResourceHelper
-
Parse a float attribute and return the parsed value into a given TypedValue.
- parseFloatAttribute(String, String, TypedValue, boolean) - Static method in class org.robolectric.shadows.ResourceHelper2
-
Parse a float attribute and return the parsed value into a given TypedValue.
- parseId(Uri) - Static method in class org.robolectric.shadows.ShadowContentUris
- parseInt(String) - Static method in class org.robolectric.util.Util
- parseNumericAddressNoThrow(String) - Static method in class org.robolectric.shadows.ShadowInetAddressUtils
- parseParams(HttpRequest) - Static method in class org.robolectric.shadows.httpclient.ParamsParser
- parseSdkArrayProperty(String) - Static method in class org.robolectric.annotation.internal.ConfigUtils
- parseSdkInt(String) - Static method in class org.robolectric.annotation.internal.ConfigUtils
- parseStringArrayProperty(String) - Static method in class org.robolectric.annotation.internal.ConfigUtils
- parseValue(Integer, ResName, AttributeResource, TypedValue) - Method in class org.robolectric.android.AttributeSetBuilderImpl.ArscResourceResolver
- parseValue(Integer, ResName, AttributeResource, TypedValue) - Method in class org.robolectric.android.AttributeSetBuilderImpl.LegacyResourceResolver
- parseValue(Integer, ResName, AttributeResource, TypedValue) - Method in interface org.robolectric.android.AttributeSetBuilderImpl.ResourceResolver
- path - Variable in class org.robolectric.manifest.PathPermissionData
- path(String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- pathFrom(URL) - Static method in class org.robolectric.util.Util
- pathPattern - Variable in class org.robolectric.manifest.PathPermissionData
- PathPermissionData - Class in org.robolectric.manifest
- pathPrefix - Variable in class org.robolectric.manifest.PathPermissionData
- pattern - Variable in class org.robolectric.shadows.ShadowVibrator
- pause() - Method in class org.robolectric.android.controller.ActivityController
- pause() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- pause() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- pause() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- pause() - Method in class org.robolectric.shadows.ShadowLooper
-
Pause the looper.
- pause() - Method in class org.robolectric.shadows.ShadowPausedLooper
- pause() - Method in class org.robolectric.shadows.ShadowVideoView
- pause() - Method in class org.robolectric.util.Scheduler
-
Pause the scheduler.
- PAUSE - Static variable in class org.robolectric.shadows.ShadowVideoView
- pauseActivity(Activity) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- PAUSED - org.robolectric.annotation.LooperMode.Mode
-
A mode that more accurately models real Android's
Looper
behavior. - PAUSED - org.robolectric.shadows.ShadowMediaPlayer.State
- PAUSED - org.robolectric.util.Scheduler.IdleState
-
The
Scheduler
will not automatically advance the clock nor execute any runnables. - PausedExecutorService - Class in org.robolectric.android.util.concurrent
-
Executor service that queues any posted tasks.
- PausedExecutorService() - Constructor for class org.robolectric.android.util.concurrent.PausedExecutorService
- pauseLooper(Looper) - Static method in class org.robolectric.shadows.ShadowLooper
-
Pauses execution of tasks posted to the ShadowLegacyLooper.
- pauseMainLooper() - Static method in class org.robolectric.shadows.ShadowLooper
-
Puts the main ShadowLegacyLooper in an "paused" state.
- peekAuthToken(Account, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- peekInstance() - Static method in class org.robolectric.shadows.ShadowInputMethodManager
- peekNativeObject(long) - Method in class org.robolectric.res.android.NativeObjRegistry
-
Similar to
NativeObjRegistry.getNativeObject(long)
but returns null if object with given id cannot be found. - peekNextAddAccountOptions() - Method in class org.robolectric.shadows.ShadowAccountManager
-
Returns the next
addAccountOptions
passed toShadowAccountManager.addAccount(android.accounts.Account)
without consuming it. - peekNextScheduledAlarm() - Method in class org.robolectric.shadows.ShadowAlarmManager
- peekNextStartedActivity() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns the most recent
Intent
started byContextWrapper.startActivity(android.content.Intent)
without consuming it. - peekNextStartedActivity() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns the most recent
ComponentName
,UserHandle
pair started byCrossProfileApps.startMainActivity(ComponentName, UserHandle)
orCrossProfileApps.startActivity(ComponentName, UserHandle)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity, Bundle)
, wrapped inShadowCrossProfileApps.StartedActivity
. - peekNextStartedActivityForResult() - Method in class org.robolectric.shadows.ShadowActivity
-
Returns the most recent
Intent
started byActivity.startActivityForResult(Intent, int)
without consuming it. - peekNextStartedActivityForResult() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns the most recent
IntentForResult
started byContextWrapper.startActivity(android.content.Intent, android.os.Bundle)
without consuming it. - peekNextStartedMainActivity() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Deprecated.Use
ShadowCrossProfileApps.peekNextStartedActivity()
instead. - peekNextStartedService() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns the most recent
Intent
started byContext.startService(android.content.Intent)
without consuming it. - peekWindowSession() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
- pendingCryptoObject - Variable in class org.robolectric.shadows.ShadowFingerprintManager
- pendingIntent - Variable in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- pendingIntent() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner.ScanParams
- performAccessibilityButtonClick() - Method in class org.robolectric.shadows.ShadowAccessibilityButtonController
-
Performs click action for accessibility button.
- performAccessibilityShortcut() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- performAction(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- performAction(int, Bundle) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- performClick() - Method in class org.robolectric.shadows.ShadowView
- performCreate(Bundle) - Method in interface org.robolectric.shadows._Activity_
- performDestroy() - Method in interface org.robolectric.shadows._Activity_
- performGlobalAction(int) - Method in class org.robolectric.shadows.ShadowAccessibilityService
- performHapticFeedback(int) - Method in class org.robolectric.shadows.ShadowView
- performIdentifierAction(int, int) - Method in class org.robolectric.fakes.RoboMenu
- performItemClick(int) - Method in class org.robolectric.shadows.ShadowAdapterView
- performLongClick() - Method in class org.robolectric.shadows.ShadowView
- performNoPageLoadClientCallbacks() - Method in class org.robolectric.shadows.ShadowWebView
-
Performs no callbacks on
WebViewClient
andWebChromeClient
when any ofShadowWebView.loadUrl(java.lang.String)
,ShadowWebView.loadData(java.lang.String,java.lang.String,java.lang.String)
orShadowWebView.loadDataWithBaseURL(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
is called. - performPause() - Method in interface org.robolectric.shadows._Activity_
- performRestart() - Method in interface org.robolectric.shadows._Activity_
- performRestart(boolean, String) - Method in interface org.robolectric.shadows._Activity_
- performRestoreInstanceState(Bundle) - Method in interface org.robolectric.shadows._Activity_
- performResume() - Method in interface org.robolectric.shadows._Activity_
- performResume(boolean, String) - Method in interface org.robolectric.shadows._Activity_
- performSaveInstanceState(Bundle) - Method in interface org.robolectric.shadows._Activity_
- performShortcut(int, KeyEvent, int) - Method in class org.robolectric.fakes.RoboMenu
- performStart() - Method in interface org.robolectric.shadows._Activity_
- performStart(String) - Method in interface org.robolectric.shadows._Activity_
- performStaticInitialization(Class<?>) - Static method in class org.robolectric.internal.bytecode.RobolectricInternals
- performStop() - Method in interface org.robolectric.shadows._Activity_
- performStop(boolean) - Method in interface org.robolectric.shadows._Activity_
- performStop(boolean, String) - Method in interface org.robolectric.shadows._Activity_
- performSuccessfulPageLoadClientCallbacks() - Method in class org.robolectric.shadows.ShadowWebView
-
Performs callbacks on
WebViewClient
andWebChromeClient
that simulates a successful page load when any ofShadowWebView.loadUrl(java.lang.String)
,ShadowWebView.loadData(java.lang.String,java.lang.String,java.lang.String)
orShadowWebView.loadDataWithBaseURL(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
is called. - performTopResumedActivityChanged(boolean, String) - Method in interface org.robolectric.shadows._Activity_
- PerfStatsCollector - Class in org.robolectric.util
-
Collects performance statistics for later reporting via
PerfStatsReporter
. - PerfStatsCollector() - Constructor for class org.robolectric.util.PerfStatsCollector
- PerfStatsCollector.Event - Class in org.robolectric.util
-
Event for perf stats collection.
- PerfStatsCollector.ThrowingRunnable<F extends Exception> - Interface in org.robolectric.util
-
Runnable that throws an exception.
- PerfStatsCollector.ThrowingSupplier<T,F extends Exception> - Interface in org.robolectric.util
-
Supplier that throws an exception.
- PerfStatsReporter - Interface in org.robolectric.pluginapi.perf
- PermissionGroupItemData - Class in org.robolectric.manifest
-
Holds permission data from manifest.
- PermissionGroupItemData(String, String, String, MetaData) - Constructor for class org.robolectric.manifest.PermissionGroupItemData
- PermissionItemData - Class in org.robolectric.manifest
-
Holds permission data from manifest.
- PermissionItemData(String, String, String, String, String, MetaData) - Constructor for class org.robolectric.manifest.PermissionItemData
- PermissionsRequest(String[], int) - Constructor for class org.robolectric.shadows.ShadowActivity.PermissionsRequest
- phoneAccount - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
-
Deprecated.
- phoneAccount - Variable in class org.robolectric.shadows.ShadowTelecomManager.OutgoingCallRecord
- PhoneAccountBuilder - Class in org.robolectric.shadows
-
A more advanced builder for
PhoneAccount
that gives access to some hidden methods onPhoneAccount.Builder
. - PhoneAccountBuilder(PhoneAccount) - Constructor for class org.robolectric.shadows.PhoneAccountBuilder
- PhoneAccountBuilder(PhoneAccountHandle, CharSequence) - Constructor for class org.robolectric.shadows.PhoneAccountBuilder
- physicalXDpi - Variable in class org.robolectric.android.internal.DisplayConfig
-
The exact physical pixels per inch of the screen in the X dimension.
- physicalYDpi - Variable in class org.robolectric.android.internal.DisplayConfig
-
The exact physical pixels per inch of the screen in the Y dimension.
- Picker() - Constructor for class org.robolectric.shadows.ShadowApkAssets.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowAssetInputStream.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowAssetManager.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowAsyncTask.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowAsyncTaskLoader.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowChoreographer.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowCursorWindow.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowLooper.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowMessage.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowMessageQueue.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowResources.ShadowTheme.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowResourcesImpl.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowResourcesImpl.ShadowThemeImpl.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowSQLiteConnection.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowSystemClock.Picker
- Picker() - Constructor for class org.robolectric.shadows.ShadowTypedArray.Picker
- pickShadowClass() - Method in interface org.robolectric.shadow.api.ShadowPicker
-
Determines the shadow class to be used depending on the configuration of the
org.robolectric.internal.Environment
. - pickShadowClass() - Method in class org.robolectric.shadows.LooperShadowPicker
- pickShadowClass() - Method in class org.robolectric.shadows.ResourceModeShadowPicker
- pickShadowClass() - Method in class org.robolectric.shadows.SQLiteShadowPicker
- pickShadowMethod(Class<?>, String, Class<?>[]) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- pinShortcuts(String, List<String>, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- pinSlice(Uri, Set<SliceSpec>) - Method in class org.robolectric.shadows.ShadowSliceManager
- placeCall(Uri, Bundle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- play(int) - Method in class org.robolectric.shadows.ShadowMediaActionSound
-
Instrumented call to
MediaActionSound.play(int)
- play(int, float, float, int, int, float) - Method in class org.robolectric.shadows.ShadowSoundPool
- Playback(int, float, float, int, int, float) - Constructor for class org.robolectric.shadows.ShadowSoundPool.Playback
- PLAYBACK_COMPLETED - org.robolectric.shadows.ShadowMediaPlayer.State
- PlaybackInfoBuilder - Class in org.robolectric.shadows
-
Builder for
MediaController.PlaybackInfo
- playSoundEffect(int) - Method in class org.robolectric.shadows.ShadowViewRootImpl
- Plural - Class in org.robolectric.res
- PluralRules - Class in org.robolectric.res
- PluralRules(List<Plural>, ResType, XmlContext) - Constructor for class org.robolectric.res.PluralRules
- Point(float, float, ShadowPath.Point.Type) - Constructor for class org.robolectric.shadows.ShadowPath.Point
- poll(long) - Method in class org.robolectric.shadows.ShadowPausedLooper
-
Polls the message queue waiting until a message is posted to the head of the queue.
- pomPath() - Method in class org.robolectric.internal.dependency.MavenJarArtifact
- pomSha512Path() - Method in class org.robolectric.internal.dependency.MavenJarArtifact
- populateItems() - Method in class org.robolectric.shadows.ShadowAdapterView
- populateSdks(TreeMap<Integer, Sdk>) - Method in class org.robolectric.plugins.DefaultSdkProvider
- pos() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- pos() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- positionDescription - Variable in class org.robolectric.shadows.ShadowTypedArray
- post(Runnable) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- post(Runnable) - Method in class org.robolectric.shadows.ShadowView
- post(Runnable) - Method in class org.robolectric.util.Scheduler
-
Add a runnable to the queue.
- post(Runnable, long) - Method in class org.robolectric.shadows.ShadowLegacyLooper
-
Deprecated.Use a
Handler
instance to post to a looper. - post(Runnable, long) - Method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.Use a
Handler
instance to post to a looper. - post(Runnable, long) - Method in class org.robolectric.shadows.ShadowPausedLooper
- postAtFrontOfQueue(Runnable) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- postAtFrontOfQueue(Runnable) - Method in class org.robolectric.shadows.ShadowLegacyLooper
-
Deprecated.Use a
Handler
instance to post to a looper. - postAtFrontOfQueue(Runnable) - Method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.Use a
Handler
instance to post to a looper. - postAtFrontOfQueue(Runnable) - Method in class org.robolectric.shadows.ShadowPausedLooper
- postAtFrontOfQueue(Runnable) - Method in class org.robolectric.util.Scheduler
-
Add a runnable to the head of the queue.
- postBody(FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- postCallback(int, Runnable, Object) - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
-
The default implementation will call
ShadowLegacyChoreographer.postCallbackDelayed(int, Runnable, Object, long)
with no delay. - postCallbackDelayed(int, Runnable, Object, long) - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
- postConcat(Matrix) - Method in class org.robolectric.shadows.ShadowMatrix
- postCreate(Bundle) - Method in class org.robolectric.android.controller.ActivityController
- postDelayed(Runnable, long) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- postDelayed(Runnable, long) - Method in class org.robolectric.shadows.ShadowView
- postDelayed(Runnable, long) - Method in class org.robolectric.util.Scheduler
-
Add a runnable to the queue to be run after a delay.
- postDelayed(Runnable, long, TimeUnit) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- postDelayed(Runnable, long, TimeUnit) - Method in class org.robolectric.util.Scheduler
-
Add a runnable to the queue to be run after a delay.
- postEvent(ShadowMediaPlayer.MediaEvent) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- postEventDelayed(ShadowMediaPlayer.MediaEvent, long) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- postFrameCallback(Choreographer.FrameCallback) - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
-
The default implementation will call
ShadowLegacyChoreographer.postFrameCallbackDelayed(FrameCallback, long)
with no delay. - postFrameCallbackDelayed(Choreographer.FrameCallback, long) - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
- postInvalidateDelayed(long) - Method in class org.robolectric.shadows.ShadowView
- postMessage(WebMessage) - Method in class org.robolectric.fakes.RoboWebMessagePort
- postProcessUninstrumentedClass(ClassDetails) - Method in class org.robolectric.internal.bytecode.SandboxClassLoader
- postResume() - Method in class org.robolectric.android.controller.ActivityController
- postRotate(float) - Method in class org.robolectric.shadows.ShadowMatrix
- postRotate(float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- postScale(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- postScale(float, float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- postSkew(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- postSkew(float, float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- postTranslate(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- postUsabilityStats(int, boolean, WifiUsabilityStatsEntryBuilder) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Post Wifi stats to any listeners registered with
WifiManager.addOnWifiUsabilityStatsListener(java.util.concurrent.Executor, android.net.wifi.WifiManager.OnWifiUsabilityStatsListener)
- PreciseDataConnectionStateBuilder - Class in org.robolectric.shadows
-
Builder for
PreciseDataConnectionState
- preConcat(Matrix) - Method in class org.robolectric.shadows.ShadowMatrix
- predictionHorizonSec - Variable in class org.robolectric.shadows.ShadowWifiManager.WifiUsabilityScore
- prepare() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates
MediaPlayer.prepareAsync()
. - prepare() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- prepare(Context) - Static method in class org.robolectric.shadows.ShadowVpnService
- prepareAsync() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates
MediaPlayer.prepareAsync()
. - PREPARED - org.robolectric.shadows.ShadowMediaPlayer.State
- prepareMainLooper() - Static method in class org.robolectric.shadows.ShadowPausedLooper
- prepareTest(Object) - Method in class org.robolectric.DefaultTestLifecycle
- prepareTest(Object) - Method in interface org.robolectric.TestLifecycle
-
Called after each test method is run.
- prepareTest(Object) - Method in interface org.robolectric.TestLifecycleApplication
- PREPARING - org.robolectric.shadows.ShadowMediaPlayer.State
- preRotate(float) - Method in class org.robolectric.shadows.ShadowMatrix
- preRotate(float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- preScale(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- preScale(float, float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- presentationDeadlineNanos - Variable in class org.robolectric.android.internal.DisplayConfig
-
This is how far in advance a buffer must be queued for presentation at a given time.
- preSkew(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- preSkew(float, float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- preTranslate(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- PrimitiveEffect(int, float, int) - Constructor for class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
- primitiveEffects - Variable in class org.robolectric.shadows.ShadowVibrator
- println_native(int, int, String, String) - Static method in class org.robolectric.shadows.ShadowLog
- priority - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- proceed() - Method in class org.robolectric.shadows.ShadowSslErrorHandler
- process(ByteBuffer, ByteBuffer) - Method in interface org.robolectric.shadows.ShadowMediaCodec.CodecConfig.Codec
-
Move the bytes on the in buffer to the out buffer
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.robolectric.annotation.processing.RobolectricProcessor
- processStringResources(String) - Static method in class org.robolectric.res.StringResources
-
Processes String resource values in the same way real Android does, namely:- 1) Trim leading and trailing whitespace.
- projection - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- PropertiesDependencyResolver - Class in org.robolectric.internal.dependency
- PropertiesDependencyResolver(Path) - Constructor for class org.robolectric.internal.dependency.PropertiesDependencyResolver
- PropertiesDependencyResolver(Path, DependencyResolver) - Constructor for class org.robolectric.internal.dependency.PropertiesDependencyResolver
- protect(Socket) - Method in class org.robolectric.shadows.ShadowVpnService
-
No-ops and always return true, override to avoid call to non-existent Socket.getFileDescriptor.
- provideImpl(ShadowGoogleAuthUtil.GoogleAuthUtilImpl) - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- provideImpl(ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- Provider<T> - Interface in org.robolectric.shadows
- ProviderProperties(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int) - Constructor for class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- ProviderProperties(Criteria) - Constructor for class org.robolectric.shadows.ShadowLocationManager.ProviderProperties
- provideWidthAndHeightHints(int, int, int) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
-
Deprecated.Use any of the BitmapFactory.decode methods with real image data.
- provideWidthAndHeightHints(Uri, int, int) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
-
Deprecated.Use any of the BitmapFactory.decode methods with real image data.
- provideWidthAndHeightHints(FileDescriptor, int, int) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
-
Deprecated.Use any of the BitmapFactory.decode methods with real image data.
- provideWidthAndHeightHints(String, int, int) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
-
Deprecated.Use any of the BitmapFactory.decode methods with real image data.
- PROXY_PACKAGE - Static variable in class org.robolectric.shadows.ShadowAppOpsManager
- PROXY_UID - Static variable in class org.robolectric.shadows.ShadowAppOpsManager
- proxyAuthenticationHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- proxyAuthHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The proxy authentication handler.
- proxyAuthState - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
- ProxyMaker - Class in org.robolectric.internal.bytecode
- ProxyMaker(ProxyMaker.MethodMapper) - Constructor for class org.robolectric.internal.bytecode.ProxyMaker
-
Deprecated.
- publish(int, Looper, PublishConfig, DiscoverySessionCallback) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
- publishProgress(Progress...) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
-
Enqueue a call to
AsyncTask.onProgressUpdate(Object[])
on UI looper (or run it immediately if the looper it is not paused). - pushDefaultReturnValueToStack(Type) - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
-
Forces a return of a default value, depending on the method's return type
- pushDynamicShortcut(ShortcutInfo) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
In Robolectric, ShadowShortcutManager doesn't handle rate limiting or shortcut count limits.
- pushEntryToHistory(String) - Method in class org.robolectric.shadows.ShadowWebView
-
Pushes an entry to the history with the given
url
. - put(Class<T>, T) - Method in class org.robolectric.plugins.HierarchicalConfigurationStrategy.ConfigurationImpl
- put(URI, URLConnection) - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- put(ResName, TypedResource) - Method in class org.robolectric.res.ResBunch
- put(ResName, TypedResource) - Method in class org.robolectric.res.ResBundle
- put(T) - Static method in class org.robolectric.shadows.ShadowVirtualRefBasePtr
- putFloat(ContentResolver, String, float) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- putFloat(ContentResolver, String, float) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- putFloat(ContentResolver, String, float) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- putInt(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- putInt(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- putInt(ContentResolver, String, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- putIntForUser(ContentResolver, String, int, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- putLong(ContentResolver, String, long) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- putLong(ContentResolver, String, long) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- putLong(ContentResolver, String, long) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- putMetadata(Class<T>, T) - Method in class org.robolectric.util.PerfStatsCollector
- putPhoneId(int, int) - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Adds a subscription ID-phone ID mapping to the map used by
ShadowSubscriptionManager.getPhoneId(int)
. - putString(ContentResolver, String, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- putString(ContentResolver, String, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- putString(ContentResolver, String, String) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- putWidgetInfo(int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Deprecated.
Q
- quadTo(float, float, float, float) - Method in class org.robolectric.shadows.ShadowPath
- qualifiers - Variable in class org.robolectric.annotation.Config.Builder
- qualifiers() - Method in class org.robolectric.annotation.Config.Implementation
- qualifiers() - Method in annotation type org.robolectric.annotation.Config
-
Qualifiers specifying device configuration for this test, such as "fr-normal-port-hdpi".
- Qualifiers - Class in org.robolectric.res
-
Android qualifers as defined by https://developer.android.com/guide/topics/resources/providing-resources.html
- Qualifiers(String, ResTable_config) - Constructor for class org.robolectric.res.Qualifiers
- qualify(String) - Method in class org.robolectric.android.XmlResourceParserImpl
- qualifyFromFilePath(String, String) - Static method in class org.robolectric.res.ResName
- qualifyResName(String, String) - Static method in class org.robolectric.res.ResName
- qualifyResName(String, String, String) - Static method in class org.robolectric.res.ResName
- qualifyResName(String, ResName) - Static method in class org.robolectric.res.ResName
- qualifyResourceName(String, String, String) - Static method in class org.robolectric.res.ResName
-
Returns the fully qualified resource name if null if the resource could not be qualified.
- quantityForIntImpl(int, int) - Static method in class org.robolectric.shadows.ShadowNativePluralRules
- quantityForIntImpl(long, int) - Static method in class org.robolectric.shadows.ShadowNativePluralRules
- query(DownloadManager.Query) - Method in class org.robolectric.shadows.ShadowDownloadManager
- query(Uri, String[], Bundle, CancellationSignal) - Method in class org.robolectric.shadows.ShadowContentResolver
- query(Uri, String[], String, String[], String) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- query(Uri, String[], String, String[], String) - Method in class org.robolectric.shadows.ShadowContentResolver
- query(Uri, String[], String, String[], String, CancellationSignal) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- query(Uri, String[], String, String[], String, CancellationSignal) - Method in class org.robolectric.shadows.ShadowContentResolver
- queryAmbientContextServiceStatus(Set<Integer>, Executor, Consumer<Integer>) - Method in class org.robolectric.shadows.ShadowAmbientContextManager
- queryBroadcastReceivers(Intent, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryBroadcastReceivers(Intent, int, int) - Method in class org.robolectric.shadows.ShadowPackageManager
- queryBroadcastReceiversAsUser(Intent, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryBroadcastReceiversAsUser(Intent, int, UserHandle) - Method in class org.robolectric.shadows.ShadowPackageManager
- queryBroadcastResponseStats(Object, Object) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Requires loose signatures because return value is a list of
BroadcastResponseStats
, which is a hidden class introduced in Android T. - queryContentProviders(String, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryEffects() - Static method in class org.robolectric.shadows.ShadowAudioEffect
-
Returns the set of audio effects added through
ShadowAudioEffect.addEffect(android.media.audiofx.AudioEffect.Descriptor)
. - queryEvents(long, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- queryEventsForSelf(long, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- queryInstrumentation(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryIntentActivities(Intent, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryIntentActivitiesAsUser(Intent, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Behaves as
ShadowApplicationPackageManager.queryIntentActivities(Intent, int)
and currently ignores userId. - queryIntentActivityOptions(ComponentName, Intent[], Intent, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryIntentContentProviders(Intent, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryIntentContentProvidersAsUser(Intent, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryIntentServices(Intent, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryIntentServicesAsUser(Intent, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Behaves as
ShadowApplicationPackageManager.queryIntentServices(Intent, int)
and currently ignores userId. - queryNanoApps(ContextHubInfo) - Method in class org.robolectric.shadows.ShadowContextHubManager
- queryOverriddenIntents(Intent, int) - Method in class org.robolectric.shadows.ShadowPackageManager
- queryPermissionsByGroup(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- queryStatsForPackage(UUID, String, UserHandle) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
-
Fake implementation of
StorageStatsManager.queryStatsForPackage(java.util.UUID, java.lang.String, android.os.UserHandle)
that returns test setup values. - queryUsageStats(int, long, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Returns aggregated UsageStats added by calling
ShadowUsageStatsManager.addUsageStats(int, android.app.usage.UsageStats)
. - queue(ByteBuffer) - Method in class org.robolectric.shadows.ShadowUsbRequest
- queue(ByteBuffer, int) - Method in class org.robolectric.shadows.ShadowUsbRequest
- quit() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- quit() - Method in class org.robolectric.shadows.ShadowPausedLooper
- quit() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- quitSafely() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- quitSafely() - Method in class org.robolectric.shadows.ShadowPausedLooper
- quitUnchecked() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- quitUnchecked() - Method in class org.robolectric.shadows.ShadowLooper
- quitUnchecked() - Method in class org.robolectric.shadows.ShadowPausedLooper
R
- radius - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
- RangingSessionBuilder - Class in org.robolectric.shadows
-
Class to build
RangingSession
- rate - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- RawResourceLoader - Class in org.robolectric.res
- RawResourceLoader(ResourcePath) - Constructor for class org.robolectric.res.RawResourceLoader
- rCubicTo(float, float, float, float, float, float) - Method in class org.robolectric.shadows.ShadowPath
- read() - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- read(byte[]) - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- read(byte[], int) - Method in class org.robolectric.res.android.Asset
- read(byte[], int, int) - Method in class org.robolectric.res.android.Asset
- read(byte[], int, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- readAsset(int, byte[], int, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- readAsset(long, byte[], int, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- readAssetChar(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- readAssetChar(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- readByte() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- readByte() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- readByteArray(byte[], int, int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- readByteArray(byte[], int, int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- readBytes(InputStream) - Static method in class org.robolectric.util.Util
-
This method consumes an input stream and returns its content, and closes it.
- readEvents(int[], Collection<EventLog.Event>) - Static method in class org.robolectric.shadows.ShadowEventLog
- readFileAsString(String) - Static method in class org.robolectric.shadows.ShadowIoUtils
- readFully(InputStream, byte[]) - Static method in class org.robolectric.res.android.FileMap
- readInByteArray(byte[], int, int, boolean) - Method in interface org.robolectric.shadows.ShadowAudioRecord.AudioRecordSource
-
Provides backing data for
AudioRecord.read(byte[], int, int)
andAudioRecord.read(byte[], int, int, int)
. - readInDirectBuffer(ByteBuffer, int, boolean) - Method in interface org.robolectric.shadows.ShadowAudioRecord.AudioRecordSource
-
Provides backing data for
AudioRecord.read(byte[], int, int)
andAudioRecord.read(byte[], int, int, int)
. - readInFloatArray(float[], int, int, boolean) - Method in interface org.robolectric.shadows.ShadowAudioRecord.AudioRecordSource
-
Provides backing data for
AudioRecord.read(float[], int, int, int)
. - readInShortArray(short[], int, int, boolean) - Method in interface org.robolectric.shadows.ShadowAudioRecord.AudioRecordSource
-
Provides backing data for
AudioRecord.read(short[], int, int)
andAudioRecord.read(short[], int, int, int)
. - readInt() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- readInt() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- readIntArray(int[], int, int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- readIntArray(int[], int, int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- readLongArray(long[], int, int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- readLongArray(long[], int, int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- readOutgoingData(byte[]) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
-
Fills the buffer with data that was written by UsbDeviceConnection#bulkTransfer.
- readParcelable(ClassLoader) - Method in class org.robolectric.shadows.ShadowParcel
- readParcelableCreator(ClassLoader) - Method in class org.robolectric.shadows.ShadowParcel
- readParcelableCreatorInternal(ClassLoader, Class<T>) - Method in class org.robolectric.shadows.ShadowParcel
-
The goal of this shadow method is to workaround a JVM/ART incompatibility.
- readPendingIntentOrNullFromParcel(Parcel) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- readPermission - Variable in class org.robolectric.manifest.PathPermissionData
- readSampleData(ByteBuffer, int) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- readShort() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- readShort() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- readTzlookup() - Static method in class org.robolectric.shadows.ShadowTimeZoneFinder
-
Reads tzlookup.xml from the files bundled inside android-all JARs.
- REAL_CLASS_NAME - Static variable in class org.robolectric.shadows.ShadowLocaleData
- realActivity - Variable in class org.robolectric.shadows.ShadowActivity
- realActivityThread - Variable in class org.robolectric.shadows.ShadowActivityThread
- realCanvas - Variable in class org.robolectric.shadows.ShadowCanvas
- realCompatibility - Static variable in class org.robolectric.shadows.ShadowCompatibility
- realDatePickerDialog - Variable in class org.robolectric.shadows.ShadowDatePickerDialog
- realInfo - Variable in class org.robolectric.shadows.ShadowSuspendDialogInfo
- REALISTIC - org.robolectric.annotation.GetInstallerPackageNameMode.Mode
-
The new, real behavior when calling getInstallerPackageName method.
- REALISTIC - org.robolectric.annotation.TextLayoutMode.Mode
-
Deprecated.REALTISTIC is the default mode and does not need to be stated explicity.
- realNetworkCapabilities - Variable in class org.robolectric.shadows.ShadowNetworkCapabilities
- realObject - Variable in class org.robolectric.shadows.ShadowArscAssetManager
- realObject - Variable in class org.robolectric.shadows.ShadowLegacyAssetManager
- realObject - Variable in class org.robolectric.shadows.ShadowViewRootImpl
- RealObject - Annotation Type in org.robolectric.annotation
-
Shadow fields annotated @RealObject will have the real instance injected.
- RealObjectValidator - Class in org.robolectric.annotation.processing.validator
-
Validator that checks usages of
RealObject
. - RealObjectValidator(RobolectricModel.Builder, ProcessingEnvironment) - Constructor for class org.robolectric.annotation.processing.validator.RealObjectValidator
- realReceiver - Variable in class org.robolectric.shadows.ShadowDisplayEventReceiver
- realTelephonyManager - Variable in class org.robolectric.shadows.ShadowTelephonyManager
- realTimePickerDialog - Variable in class org.robolectric.shadows.ShadowTimePickerDialog
- realView - Variable in class org.robolectric.shadows.ShadowView
- realViewGroup - Variable in class org.robolectric.shadows.ShadowViewGroup
- realWindow - Variable in class org.robolectric.shadows.ShadowPhoneWindow
- rebind() - Method in class org.robolectric.android.controller.IntentServiceController
- rebind() - Method in class org.robolectric.android.controller.ServiceController
- reboot(String) - Method in class org.robolectric.shadows.ShadowPowerManager
- receive(ResourceTable.Visitor) - Method in class org.robolectric.res.PackageResourceTable
- receive(ResourceTable.Visitor) - Method in class org.robolectric.res.ResBundle
- receive(ResourceTable.Visitor) - Method in interface org.robolectric.res.ResourceTable
- receive(ResourceTable.Visitor) - Method in class org.robolectric.res.RoutingResourceTable
- receiveResult(Intent, int, Intent) - Method in class org.robolectric.shadows.ShadowActivity
- reconfigure(int, int, Bitmap.Config) - Method in class org.robolectric.shadows.ShadowBitmap
- reconfigure(PersistableBundle) - Method in class org.robolectric.shadows.ShadowRangingSession
-
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.
- reconnect() - Method in class org.robolectric.shadows.ShadowCamera
- reconnect() - Method in class org.robolectric.shadows.ShadowWifiManager
- reconstructWidgetViewAsIfPhoneWasRotated(int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Triggers a reapplication of the most recent set of actions against the widget, which is what happens when the phone is rotated.
- record(int, String, String) - Method in class org.robolectric.res.ResourceIdGenerator
- record(long) - Method in class org.robolectric.pluginapi.perf.Metric
- recordVibratePattern(long[], int) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- recreate() - Method in class org.robolectric.android.controller.ActivityController
-
Recreates activity instance which is controlled by this ActivityController.
- recreate() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- recreate() - Method in class org.robolectric.shadows.ShadowActivity
- recreate(F, int) - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- recreateActivity(Activity) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- rect - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
- rect - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
- rectStaysRect() - Method in class org.robolectric.shadows.ShadowMatrix
- recycle() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- recycle() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- recycle() - Method in class org.robolectric.shadows.ShadowBitmap
- recycle() - Method in class org.robolectric.shadows.ShadowLegacyMessage
-
Hook to unscheduled the callback when the message is recycled.
- recycleUnchecked() - Method in class org.robolectric.shadows.ShadowLegacyMessage
-
Hook to unscheduled the callback when the message is recycled.
- recycleUnchecked() - Method in class org.robolectric.shadows.ShadowMessage
-
Exposes the package-private
Message.recycleUnchecked()
- recycleUnchecked() - Method in class org.robolectric.shadows.ShadowPausedMessage
- redirectHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The redirect handler.
- redirectHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- reenableKeyguard() - Method in class org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock
-
Sets the value to be returned by
ShadowKeyguardManager.ShadowKeyguardLock.isEnabled()
to true. - Ref<T> - Class in org.robolectric.res.android
- Ref(T) - Constructor for class org.robolectric.res.android.Ref
- REFERENCE - org.robolectric.res.android.DataType
-
data
holds aResourceTableChunk
entry reference. - ReferenceRefersToInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.ReferenceRefersToInterceptor
- ReflectionHelpers - Class in org.robolectric.util
-
Collection of helper methods for calling methods and accessing fields reflectively.
- ReflectionHelpers() - Constructor for class org.robolectric.util.ReflectionHelpers
- ReflectionHelpers.ClassParameter<V> - Class in org.robolectric.util
-
Typed parameter used with reflective method calls.
- ReflectionHelpers.StringParameter<V> - Class in org.robolectric.util
-
String parameter used with reflective method calls.
- reflector(Class<T>) - Static method in class org.robolectric.util.reflector.Reflector
-
Returns an object which provides accessors for invoking otherwise inaccessible static methods and fields.
- reflector(Class<T>, Object) - Static method in class org.robolectric.util.reflector.Reflector
-
Returns an object which provides accessors for invoking otherwise inaccessible methods and fields.
- Reflector - Class in org.robolectric.util.reflector
-
Provides accessor objects for efficiently calling otherwise inaccessible (non-public) methods.
- Reflector() - Constructor for class org.robolectric.util.reflector.Reflector
- ReflectorObject - Annotation Type in org.robolectric.annotation
-
Serves to cache the reflector object instance and lower test runtime.
- refresh() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- REGION_STRING - org.robolectric.res.android.ResTable_config.Type
- regionString() - Method in class org.robolectric.res.android.ResTable_config
-
Returns
ResTable_config.country
as an unpacked string representation. - register() - Method in class org.robolectric.util.SimplePerfStatsReporter
- register(E) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- register(E, Object) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- register(Object, Runnable) - Static method in class org.robolectric.fakes.CleanerCompat
- register(Executor, UwbManager.AdapterStateCallback) - Method in class org.robolectric.shadows.ShadowUwbAdapterStateListener
-
Registers a callback which is invoked when
ShadowUwbAdapterStateListener.onAdapterStateChanged(int, int)
is called. - register(T) - Method in class org.robolectric.res.android.NativeObjRegistry
-
Register and assign a new unique native id for given object (representing a C memory pointer).
- registerAntennaInfoListener(Object, Object) - Method in class org.robolectric.shadows.ShadowLocationManager
- registerAppUsageLimitObserver(int, String[], Duration, Duration, PendingIntent) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Registers an app usage limit observer that receives a callback on
callbackIntent
when the sum of usages of apps and tokens inobservedEntities
exceedstimeLimit - timeUsed
. - registerAppUsageObserver(int, String[], long, TimeUnit, PendingIntent) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- registerAudioPlaybackCallback(AudioManager.AudioPlaybackCallback, Handler) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Registers callback that will receive changes made to the list of active playback configurations by
ShadowAudioManager.setActivePlaybackConfigurationsFor(java.util.List<android.media.AudioAttributes>)
. - registerAudioPolicy(Object) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Registers an
AudioPolicy
to allow that policy to control audio routing and audio focus. - registerAudioRecordingCallback(AudioManager.AudioRecordingCallback, Handler) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Registers callback that will receive changes made to the list of active recording configurations by
ShadowAudioManager.setActiveRecordingConfigurations(java.util.List<android.media.AudioRecordingConfiguration>,boolean)
. - registerAvailabilityCallback(CameraManager.AvailabilityCallback, Handler) - Method in class org.robolectric.shadows.ShadowCameraManager
- registerCallback(LauncherApps.Callback) - Method in class org.robolectric.shadows.ShadowLauncherApps
- registerCallback(LauncherApps.Callback, Handler) - Method in class org.robolectric.shadows.ShadowLauncherApps
- registerCallback(MediaController.Callback) - Method in class org.robolectric.shadows.ShadowMediaController
-
Register callback and store it in the shadow to make it easier to check the state of the registered callbacks.
- registerContentObserver(ContentObserver) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- registerContentObserver(ContentObserver) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- registerContentObserver(Uri, boolean, ContentObserver) - Method in class org.robolectric.shadows.ShadowContentResolver
- registerContentObserver(Uri, boolean, ContentObserver, int) - Method in class org.robolectric.shadows.ShadowContentResolver
- registerDataSetObserver(DataSetObserver) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- registerDataSetObserver(DataSetObserver) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- registerDefaultNetworkCallback(ConnectivityManager.NetworkCallback) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- registerGnssMeasurementsCallback(GnssMeasurementsEvent.Callback, Handler) - Method in class org.robolectric.shadows.ShadowLocationManager
- registerGnssMeasurementsCallback(Executor, GnssMeasurementsEvent.Callback) - Method in class org.robolectric.shadows.ShadowLocationManager
- registerGnssStatusCallback(GnssStatus.Callback, Handler) - Method in class org.robolectric.shadows.ShadowLocationManager
- registerGnssStatusCallback(Executor, GnssStatus.Callback) - Method in class org.robolectric.shadows.ShadowLocationManager
- registerImsRegistrationCallback(Executor, ImsMmTelManager.RegistrationCallback) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
- registerInputStream(Uri, InputStream) - Method in class org.robolectric.shadows.ShadowContentResolver
- registerInputStreamSupplier(Uri, Supplier<InputStream>) - Method in class org.robolectric.shadows.ShadowContentResolver
- registerListener(SensorEventListener, Sensor, int) - Method in class org.robolectric.shadows.ShadowSensorManager
- registerListener(SensorEventListener, Sensor, int, int) - Method in class org.robolectric.shadows.ShadowSensorManager
- registerListener(SensorEventListener, Sensor, int, int, Handler) - Method in class org.robolectric.shadows.ShadowSensorManager
- registerListener(SensorEventListener, Sensor, int, Handler) - Method in class org.robolectric.shadows.ShadowSensorManager
- registerMmTelCapabilityCallback(Executor, ImsMmTelManager.CapabilityCallback) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
- registerMoveCallback(Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- registerNativeAllocation(Object, long) - Method in class org.robolectric.shadows.ShadowNativeAllocationRegistry
- registerNativeAllocation(Object, Object) - Method in class org.robolectric.shadows.ShadowNativeAllocationRegistry
- registerNetworkCallback(NetworkRequest, ConnectivityManager.NetworkCallback) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- registerNetworkCallback(NetworkRequest, ConnectivityManager.NetworkCallback, Handler) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- registerObserver(AmbientContextEventRequest, PendingIntent, Executor, Consumer<Integer>) - Method in class org.robolectric.shadows.ShadowAmbientContextManager
- registerOutputStream(Uri, OutputStream) - Method in class org.robolectric.shadows.ShadowContentResolver
- registerOutputStreamSupplier(Uri, Supplier<OutputStream>) - Method in class org.robolectric.shadows.ShadowContentResolver
- registerPackageInstallerSessionCallback(Executor, PackageInstaller.SessionCallback) - Method in class org.robolectric.shadows.ShadowLauncherApps
- registerPhoneAccount(PhoneAccount) - Method in class org.robolectric.shadows.ShadowTelecomManager
- registerProviderInternal(String, ContentProvider) - Static method in class org.robolectric.shadows.ShadowContentResolver
-
Internal-only method, do not use!
- registerReceiver(BroadcastReceiver, IntentFilter) - Method in class org.robolectric.shadows.ShadowContextImpl
- registerReceiver(BroadcastReceiver, IntentFilter, int) - Method in class org.robolectric.shadows.ShadowContextImpl
- registerReceiver(BroadcastReceiver, IntentFilter, String, Handler) - Method in class org.robolectric.shadows.ShadowContextImpl
- registerReceiver(BroadcastReceiver, IntentFilter, String, Handler, int) - Method in class org.robolectric.shadows.ShadowContextImpl
- registerReceiverAsUser(BroadcastReceiver, UserHandle, IntentFilter, String, Handler) - Method in class org.robolectric.shadows.ShadowContextImpl
- registerSessionCallback(PackageInstaller.SessionCallback, Handler) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- registerStats(File, int, int, int) - Static method in class org.robolectric.shadows.ShadowStatFs
-
Register stats for a path, which will be used when a matching
StatFs
instance is created. - registerStats(String, int, int, int) - Static method in class org.robolectric.shadows.ShadowStatFs
-
Register stats for a path, which will be used when a matching
StatFs
instance is created. - registerTelephonyCallback(int, Executor, TelephonyCallback) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- registerTelephonyCallback(Executor, TelephonyCallback) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- registerUsageSessionObserver(int, String[], Duration, Duration, PendingIntent, PendingIntent) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- registerVcnStatusCallback(ParcelUuid, Executor, VcnManager.VcnStatusCallback) - Method in class org.robolectric.shadows.ShadowVcnManager
- Registries - Class in org.robolectric.res.android
- Registries() - Constructor for class org.robolectric.res.android.Registries
- REGULAR - org.robolectric.internal.bytecode.MethodCallSite.Kind
- REJECT_TIME - Static variable in class org.robolectric.shadows.ShadowAppOpsManager
- relayoutWindow(WindowManager.LayoutParams, int, boolean) - Method in class org.robolectric.shadows.ShadowViewRootImpl
- release() - Method in class org.robolectric.shadows.ShadowCamera
- release() - Method in class org.robolectric.shadows.ShadowCanvas
- release() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- release() - Method in class org.robolectric.shadows.ShadowSurface
- release() - Method in interface org.robolectric.shadows.ShadowVisualizer.VisualizerSource
- release() - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowMulticastLock
- release() - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
- release(int) - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
-
Releases the wake lock.
- releaseConnection() - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
Returns the connection back to the connection manager and prepares for retrieving a new connection during the next request.
- releaseInterface(UsbInterface) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- releaseOutputBuffer(int, boolean) - Method in class org.robolectric.shadows.ShadowMediaCodec
- releaseOutputBuffer(int, long) - Method in class org.robolectric.shadows.ShadowMediaCodec
- releasePersistableUriPermission(Uri, int) - Method in class org.robolectric.shadows.ShadowContentResolver
- releaseProjection(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- releaseTheme(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- releaseTheme(long) - Method in class org.robolectric.shadows.ShadowArscAssetManager10
- releaseTheme(long) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- reload() - Method in class org.robolectric.shadows.ShadowWebView
- remapParams(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- remapParamType(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
- remove(long...) - Method in class org.robolectric.shadows.ShadowDownloadManager
- remove(Runnable) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- remove(Runnable) - Method in class org.robolectric.util.Scheduler
-
Remove a runnable from the queue.
- removeAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- removeAccount(Account, AccountManagerCallback<Boolean>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
-
The remove operation is posted to the given
handler
, and will be executed according to theScheduler.IdleState
of the correspondingScheduler
. - removeAccount(Account, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Removes the account unless
ShadowAccountManager.setRemoveAccountIntent(android.content.Intent)
has been set. - removeAccountExplicitly(Account) - Method in class org.robolectric.shadows.ShadowAccountManager
- removeActiveAdmin(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- removeActivity(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Removes activity from the package manager.
- removeAllAccounts() - Method in class org.robolectric.shadows.ShadowAccountManager
-
Removes all accounts that have been added.
- removeAllCookie() - Method in class android.webkit.RoboCookieManager
- removeAllCookies(ValueCallback<Boolean>) - Method in class android.webkit.RoboCookieManager
- removeAllDynamicShortcuts() - Method in class org.robolectric.shadows.ShadowShortcutManager
- removeAt(int) - Method in class org.robolectric.res.android.SortedVector
- removeAudioDataListener(ShadowAudioTrack.OnAudioDataWrittenListener) - Static method in class org.robolectric.shadows.ShadowAudioTrack
-
Removes an
ShadowAudioTrack.OnAudioDataWrittenListener
from theShadowAudioTrack
. - removeAutomaticZenRule(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
- removeAvailableRole(String) - Method in class org.robolectric.shadows.ShadowRoleManager
- removeBluetoothRoute() - Method in class org.robolectric.shadows.ShadowMediaRouter
-
Removes the Bluetooth A2DP route, simulating disconnecting the Bluetooth device.
- removeBond() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- removeCall(Call) - Method in class org.robolectric.shadows.ShadowInCallService
- removeCall(Call) - Method in class org.robolectric.shadows.ShadowPhone
-
Remove call that has previously been added via addCall().
- removeCallback(SurfaceHolder.Callback) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- removeCallbacks(int, Runnable, Object) - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
- removeCallbacks(Runnable) - Method in class org.robolectric.shadows.ShadowView
- removeCamera(String) - Method in class org.robolectric.shadows.ShadowCameraManager
-
Removes the given cameraId and associated characteristics from this shadow.
- removeCapability(int) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Removes
capability
from the NetworkCapabilities. - removeCaptioningChangeListener(CaptioningManager.CaptioningChangeListener) - Method in class org.robolectric.shadows.ShadowCaptioningManager
- removeConfigurationChangeListener(ShadowResources.OnConfigurationChangeListener) - Method in class org.robolectric.shadows.ShadowResources
-
Remove a listener to observe resource configuration changes.
- removeData(DataRemovalRequest) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
- removedChild(View) - Method in class org.robolectric.shadows.ShadowViewGroup
- removeDefaultNetworkActiveListener(ConnectivityManager.OnNetworkActiveListener) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- removeDefaultOutgoingPhoneAccount(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Remove default outgoing phone account for corresponding
uriScheme
. - removeDevice(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- removeDialog(int) - Method in class org.robolectric.shadows.ShadowActivity
- removeDisplay(int) - Static method in class org.robolectric.shadows.ShadowDisplayManager
-
Removes a simulated display and idles the main looper to ensure all listeners are notified.
- removeDynamicShortcuts(List<String>) - Method in class org.robolectric.shadows.ShadowShortcutManager
- removeEvent(ShadowMediaPlayer.MediaEvent) - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Removes the specified event from the playback schedule at all playback offsets where it has been scheduled.
- removeEventAtOffset(int, ShadowMediaPlayer.MediaEvent) - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Removes the specified event from the playback schedule at the given playback offset.
- removeExpiredCookie() - Method in class android.webkit.RoboCookieManager
- removeFrameCallback(Choreographer.FrameCallback) - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
- removeGlobalPerformClickListener(View.OnClickListener) - Static method in class org.robolectric.shadows.ShadowView
-
Removes an
View.OnClickListener
from theShadowView
. - removeGlobalPerformLongClickListener(View.OnLongClickListener) - Static method in class org.robolectric.shadows.ShadowView
-
Removes an
View.OnLongClickListener
from theShadowView
. - removeGpsStatusListener(GpsStatus.Listener) - Method in class org.robolectric.shadows.ShadowLocationManager
- removeGroup(int) - Method in class org.robolectric.fakes.RoboMenu
- removeGroup(WifiP2pManager.Channel, WifiP2pManager.ActionListener) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- removeHeader(Header) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- removeHeaders(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- removeHeldRole(String) - Method in class org.robolectric.shadows.ShadowRoleManager
- removeInstalledProvider(AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- removeItem(int) - Method in class org.robolectric.fakes.RoboMenu
- removeJavascriptInterface(String) - Method in class org.robolectric.shadows.ShadowWebView
- removeListener(AccessibilityService.MagnificationController.OnMagnificationChangedListener) - Method in class org.robolectric.shadows.ShadowMagnificationController
- removeLongLivedShortcuts(List<String>) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
No-op on Robolectric.
- removeMethod(String, String) - Method in class org.robolectric.internal.bytecode.MutableClass
- removeMode - Variable in class org.robolectric.android.internal.DisplayConfig
- removeNetwork(int) - Method in class org.robolectric.shadows.ShadowWifiManager
- removeNetwork(Network) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Removes the
network
from the list of allNetwork
s. - removeNmeaListener(OnNmeaMessageListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- removeOnAccountsUpdatedListener(OnAccountsUpdateListener) - Method in class org.robolectric.shadows.ShadowAccountManager
- removeOnActiveSessionsChangedListener(MediaSessionManager.OnActiveSessionsChangedListener) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
- removeOnAttachStateChangeListener(View.OnAttachStateChangeListener) - Method in class org.robolectric.shadows.ShadowView
- removeOnFrameMetricsAvailableListener(Window.OnFrameMetricsAvailableListener) - Method in class org.robolectric.shadows.ShadowWindow
- removeOnLayoutChangeListener(View.OnLayoutChangeListener) - Method in class org.robolectric.shadows.ShadowView
- removeOnPermissionsChangeListener(Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- removeOnShowModeChangedListener(AccessibilityService.SoftKeyboardController.OnShowModeChangedListener) - Method in class org.robolectric.shadows.ShadowSoftKeyboardController
- removeOnSubscriptionsChangedListener(SubscriptionManager.OnSubscriptionsChangedListener) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Removes a listener from a local list of listeners.
- removeOnUidImportanceListener(Object) - Method in class org.robolectric.shadows.ShadowActivityManager
- removeOnWifiUsabilityStatsListener(Object) - Method in class org.robolectric.shadows.ShadowWifiManager
- removePackage(String) - Method in class org.robolectric.shadows.ShadowPackageManager
- removePackageFromPreferred(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- removePeriodicSync(Account, String, Bundle) - Static method in class org.robolectric.shadows.ShadowContentResolver
- removePermission(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- removePhoneId(int) - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Removes a subscription ID-phone ID mapping from the map used by
ShadowSubscriptionManager.getPhoneId(int)
. - removePrimaryClipChangedListener(ClipboardManager.OnPrimaryClipChangedListener) - Method in class org.robolectric.shadows.ShadowClipboardManager
- removeProvider(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Removes content provider from the package manager.
- removeProvider(String) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Completely removes a provider.
- removeReceiver(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Removes broadcast receiver from the package manager.
- removeResolveInfosForIntent(Intent, String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Deprecated.
- removeSensor(Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
- removeService(ComponentName) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Removes service from the package manager.
- removeSessionCookie() - Method in class android.webkit.RoboCookieManager
- removeSessionCookies(ValueCallback<Boolean>) - Method in class android.webkit.RoboCookieManager
- removeStorageDevice(UUID) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
-
Removes a storage device identified by
storageUuid
if it's currently present. - removeSyncBarrier(int) - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- removeSystemService(String) - Method in class org.robolectric.shadows.ShadowContextImpl
-
Makes
ShadowContextImpl.getSystemService(String)
returnnull
for the given system service name, mimicking a device that doesn't have that system service. - removeSystemService(String) - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Makes
Context.getSystemService(String)
returnnull
for the given system service name, mimicking a device that doesn't have that system service. - removeTargetUserProfile(UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Removes
userHandle
from the list of accessible handles, if present. - removeTextChangedListener(TextWatcher) - Method in class org.robolectric.shadows.ShadowTextView
- removeThermalStatusListener(Object) - Method in class org.robolectric.shadows.ShadowPowerManager
-
This function removes a listener for thermal status change.
- removeTimeZoneDetectorListener(TimeManager.TimeZoneDetectorListener) - Method in class org.robolectric.shadows.ShadowTimeManager
- removeTransportType(int) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Updates the transport types for this network capablities to remove
transportType
. - removeUpdates(PendingIntent) - Method in class org.robolectric.shadows.ShadowLocationManager
- removeUpdates(LocationListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- removeUsbDevice(UsbDevice) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Removes a USB device from available USB devices map.
- removeUser(int) - Method in class org.robolectric.shadows.ShadowUserManager
- removeUser(UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- removeView(View) - Method in class org.robolectric.shadows.ShadowWindowManagerImpl
- removeViewImmediate(View) - Method in class org.robolectric.shadows.ShadowWindowManagerImpl
- replacePreferredActivity(IntentFilter, int, ComponentName[], ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- replaceShadowMap(ShadowMap) - Method in class org.robolectric.internal.bytecode.Sandbox
- report(Metadata, Collection<Metric>) - Method in interface org.robolectric.pluginapi.perf.PerfStatsReporter
-
Report performance stats.
- report(Metadata, Collection<Metric>) - Method in class org.robolectric.util.SimplePerfStatsReporter
- reportFullyDrawn() - Method in class org.robolectric.shadows.ShadowActivity
- reportNetworkConnectivity(Network, boolean) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- reportOnFrameMetricsAvailable(FrameMetrics) - Method in class org.robolectric.shadows.ShadowWindow
-
Calls
Window.OnFrameMetrisAvailableListener#onFrameMetricsAvailable()
on each current listener with 0 as the dropCountSinceLastInvocation. - reportOnFrameMetricsAvailable(FrameMetrics, int) - Method in class org.robolectric.shadows.ShadowWindow
-
Calls
Window.OnFrameMetrisAvailableListener#onFrameMetricsAvailable()
on each current listener. - reportSafetySourceError(String, SafetySourceErrorDetails) - Method in class org.robolectric.shadows.ShadowSafetyCenterManager
- reportShortcutUsed(String) - Method in class org.robolectric.shadows.ShadowShortcutManager
- requery() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- requery() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- requestAudioFocus(AudioFocusRequest) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Provides a mock like interface for the requestAudioFocus method by storing the request object for later inspection and returning the value specified in setNextFocusRequestResponse.
- requestAudioFocus(AudioManager.OnAudioFocusChangeListener, int, int) - Method in class org.robolectric.shadows.ShadowAudioManager
- requestAvailability(Uri, Executor, RcsUceAdapter.CapabilitiesCallback) - Method in class org.robolectric.shadows.ShadowRcsUceAdapter
- requestBluetoothAudio(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowInCallService
- requestBugreport(BugreportParams, CharSequence, CharSequence) - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Normally requests the platform/system to take a bugreport and make the final bugreport available to the user.
- requestCapabilities(Collection<Uri>, Executor, RcsUceAdapter.CapabilitiesCallback) - Method in class org.robolectric.shadows.ShadowRcsUceAdapter
- requestCellInfoUpdate(Object, Object) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the value set by
ShadowTelephonyManager.setCallbackCellInfos(java.util.List<android.telephony.CellInfo>)
, defaulting to calling the realTelephonyManager.NETWORK_TYPE_UNKNOWN
if it was never called. - requestCode - Variable in class org.robolectric.shadows.ShadowActivity.IntentForResult
- requestCode - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- requestCode - Variable in class org.robolectric.shadows.ShadowActivity.PermissionsRequest
- requestDisallowInterceptTouchEvent(boolean) - Method in class org.robolectric.shadows.ShadowViewGroup
- requestDismissKeyguard(Activity, KeyguardManager.KeyguardDismissCallback) - Method in class org.robolectric.shadows.ShadowKeyguardManager
- requestedPermissions - Variable in class org.robolectric.shadows.ShadowActivity.PermissionsRequest
- requestExec - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The request executor.
- requestGroupInfo(WifiP2pManager.Channel, WifiP2pManager.GroupInfoListener) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- requestInterruptionFilter(int) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- requestLayout() - Method in class org.robolectric.shadows.ShadowView
- requestListenerHints(int) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- requestLocationUpdates(long, float, Criteria, PendingIntent) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(long, float, Criteria, LocationListener, Looper) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(long, float, Criteria, Executor, LocationListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(LocationRequest, PendingIntent) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(LocationRequest, LocationListener, Looper) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(LocationRequest, Executor, LocationListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(String, long, float, PendingIntent) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(String, long, float, LocationListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(String, long, float, LocationListener, Looper) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(String, long, float, Executor, LocationListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(String, LocationRequest, PendingIntent) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(String, LocationRequest, Executor, LocationListener) - Method in class org.robolectric.shadows.ShadowLocationManager
- RequestMatcher - Interface in org.robolectric.shadows.httpclient
- RequestMatcherBuilder() - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- RequestMatcherResponseRule(RequestMatcher, IOException) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- RequestMatcherResponseRule(RequestMatcher, List<? extends HttpResponse>) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- RequestMatcherResponseRule(RequestMatcher, HttpException) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- RequestMatcherResponseRule(RequestMatcher, HttpResponse) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherResponseRule
- requestNetwork(NetworkRequest, ConnectivityManager.NetworkCallback) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- requestNetwork(NetworkRequest, ConnectivityManager.NetworkCallback, int) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- requestNetwork(NetworkRequest, ConnectivityManager.NetworkCallback, Handler) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- requestNetwork(NetworkRequest, ConnectivityManager.NetworkCallback, Handler, int) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- requestNotificationAccess(ComponentName) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- requestPermissions() - Method in class org.robolectric.android.internal.LocalPermissionGranter
- requestPermissions(String[], int) - Method in class org.robolectric.shadows.ShadowActivity
- requestPinAppWidget(ComponentName, Bundle, PendingIntent) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
This implementation currently uses
requestPinAppWidgetSupported
to determine if it should bind the app widget provided and execute thesuccessCallback
. - requestPinShortcut(ShortcutInfo, IntentSender) - Method in class org.robolectric.shadows.ShadowShortcutManager
- requestProjection(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- requestQuietModeEnabled(boolean, UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
-
Request the quiet mode.
- requestQuietModeEnabled(boolean, UserHandle, int) - Method in class org.robolectric.shadows.ShadowUserManager
-
Request the quiet mode.
- requestRebind(ComponentName) - Static method in class org.robolectric.shadows.ShadowNotificationListenerService
- requestRelaunchActivity(IBinder, List<ResultInfo>, List<ReferrerIntent>, int, boolean, Configuration, Configuration, boolean, boolean) - Method in class org.robolectric.shadows.ShadowActivityThread
- requestSingleUpdate(Criteria, PendingIntent) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestSingleUpdate(Criteria, LocationListener, Looper) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestSingleUpdate(String, PendingIntent) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestSingleUpdate(String, LocationListener, Looper) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestSync(Account, String, Bundle) - Static method in class org.robolectric.shadows.ShadowContentResolver
- requestUnbind() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- requestWait() - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- requestWait(long) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
- require(int, String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
- requiresConnection() - Method in enum org.robolectric.fakes.RoboResponseSource
- RES_AUTO_NS_URI - Static variable in class org.robolectric.res.AttributeResource
- Res_GETTYPE(int) - Static method in class org.robolectric.res.android.ResTable
- RES_NULL_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_STRING_POOL_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_TABLE_LIBRARY_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_TABLE_PACKAGE_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_TABLE_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_TABLE_TYPE_SPEC_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_TABLE_TYPE_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- Res_value() - Constructor for class org.robolectric.res.android.ResourceTypes.Res_value
- Res_value(byte, int) - Constructor for class org.robolectric.res.android.ResourceTypes.Res_value
- Res_value(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.Res_value
- Res_value(ResourceTypes.Res_value) - Constructor for class org.robolectric.res.android.ResourceTypes.Res_value
- RES_XML_CDATA_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_END_ELEMENT_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_END_NAMESPACE_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_FIRST_CHUNK_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_LAST_CHUNK_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_RESOURCE_MAP_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_START_ELEMENT_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_START_NAMESPACE_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- RES_XML_TYPE - Static variable in class org.robolectric.res.android.ResourceTypes
- ResBunch - Class in org.robolectric.res
- ResBunch() - Constructor for class org.robolectric.res.ResBunch
- ResBundle - Class in org.robolectric.res
- ResBundle() - Constructor for class org.robolectric.res.ResBundle
- ResChunk_header(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResChunk_header
- reset() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- reset() - Method in interface org.robolectric.internal.ShadowProvider
-
Reset the static state of all shadows provided by this package.
- reset() - Static method in class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- reset() - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- reset() - Method in class org.robolectric.shadows.gms.Shadows
- reset() - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- reset() - Static method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- reset() - Method in class org.robolectric.shadows.httpclient.Shadows
- reset() - Method in class org.robolectric.shadows.multidex.Shadows
- reset() - Method in class org.robolectric.Shadows
- reset() - Static method in class org.robolectric.shadows.ShadowAccessibilityManager
- reset() - Static method in class org.robolectric.shadows.ShadowActivityManager
- reset() - Static method in class org.robolectric.shadows.ShadowActivityThread
- reset() - Static method in class org.robolectric.shadows.ShadowAlarmManager
- reset() - Static method in class org.robolectric.shadows.ShadowAlertDialog
-
Resets the tracking of the most recently created
AlertDialog
- reset() - Static method in class org.robolectric.shadows.ShadowAppOpsManager
- reset() - Static method in class org.robolectric.shadows.ShadowArscAssetManager
- reset() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- reset() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- reset() - Static method in class org.robolectric.shadows.ShadowArscResourcesImpl
- reset() - Static method in class org.robolectric.shadows.ShadowAudioEffect
- reset() - Static method in class org.robolectric.shadows.ShadowBackgroundThread
- reset() - Static method in class org.robolectric.shadows.ShadowBackupManager
- reset() - Static method in class org.robolectric.shadows.ShadowBinder
- reset() - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- reset() - Static method in class org.robolectric.shadows.ShadowBluetoothAdapter
- reset() - Static method in class org.robolectric.shadows.ShadowBluetoothDevice
- reset() - Static method in class org.robolectric.shadows.ShadowBuild
- reset() - Static method in class org.robolectric.shadows.ShadowCallLogCalls
- reset() - Static method in class org.robolectric.shadows.ShadowCameraManager
- reset() - Static method in class org.robolectric.shadows.ShadowCanvas
- reset() - Static method in class org.robolectric.shadows.ShadowCardEmulation
- reset() - Static method in class org.robolectric.shadows.ShadowChoreographer
- reset() - Static method in class org.robolectric.shadows.ShadowCloseGuard
- reset() - Static method in class org.robolectric.shadows.ShadowContentResolver
- reset() - Static method in class org.robolectric.shadows.ShadowContextImpl
- reset() - Static method in class org.robolectric.shadows.ShadowDebug
- reset() - Static method in class org.robolectric.shadows.ShadowDeviceConfig
- reset() - Static method in class org.robolectric.shadows.ShadowDexFile
- reset() - Static method in class org.robolectric.shadows.ShadowDialog
- reset() - Static method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- reset() - Method in class org.robolectric.shadows.ShadowDropBoxManager
-
Clears all entries.
- reset() - Static method in class org.robolectric.shadows.ShadowEnvironment
- reset() - Static method in class org.robolectric.shadows.ShadowFontBuilder
- reset() - Static method in class org.robolectric.shadows.ShadowFontsContract
- reset() - Static method in class org.robolectric.shadows.ShadowGeocoder
- reset() - Method in class org.robolectric.shadows.ShadowGestureDetector
- reset() - Static method in class org.robolectric.shadows.ShadowHardwareRenderer
- reset() - Static method in class org.robolectric.shadows.ShadowInputManager
- reset() - Static method in class org.robolectric.shadows.ShadowInputMethodManager
- reset() - Static method in class org.robolectric.shadows.ShadowKeyguardManager
- reset() - Static method in class org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock
- reset() - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- reset() - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- reset() - Static method in class org.robolectric.shadows.ShadowLegacyChoreographer
- reset() - Method in class org.robolectric.shadows.ShadowLegacyLooper
-
Causes all enqueued tasks to be discarded, and pause state to be reset
- reset() - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- reset() - Static method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
- reset() - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- reset() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- reset() - Static method in class org.robolectric.shadows.ShadowLocaleList
- reset() - Static method in class org.robolectric.shadows.ShadowLocationManager
- reset() - Static method in class org.robolectric.shadows.ShadowLog
- reset() - Method in class org.robolectric.shadows.ShadowLooper
-
Causes all enqueued tasks to be discarded, and pause state to be reset
- reset() - Method in class org.robolectric.shadows.ShadowMatrix
- reset() - Static method in class org.robolectric.shadows.ShadowMeasuredTextBuilder
- reset() - Static method in class org.robolectric.shadows.ShadowMediaActionSound
- reset() - Static method in class org.robolectric.shadows.ShadowMediaCodecList
- reset() - Static method in class org.robolectric.shadows.ShadowMediaExtractor
- reset() - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- reset() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- reset() - Static method in class org.robolectric.shadows.ShadowMediaRouter
- reset() - Static method in class org.robolectric.shadows.ShadowMediaScannerConnection
- reset() - Static method in class org.robolectric.shadows.ShadowMediaStore
- reset() - Static method in class org.robolectric.shadows.ShadowMessage
-
Resets the static state of the
Message
class by emptying the message pool. - reset() - Method in class org.robolectric.shadows.ShadowMessageQueue
-
Reset the messageQueue state.
- reset() - Static method in class org.robolectric.shadows.ShadowMessenger
- reset() - Static method in class org.robolectric.shadows.ShadowMimeTypeMap
- reset() - Static method in class org.robolectric.shadows.ShadowMotionEvent
- reset() - Static method in class org.robolectric.shadows.ShadowNfcAdapter
- reset() - Static method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Resets this shadow instance.
- reset() - Static method in class org.robolectric.shadows.ShadowPackageManager
- reset() - Static method in class org.robolectric.shadows.ShadowParcel
- reset() - Method in class org.robolectric.shadows.ShadowPath
- reset() - Static method in class org.robolectric.shadows.ShadowPausedAsyncTask
- reset() - Static method in class org.robolectric.shadows.ShadowPausedChoreographer
- reset() - Method in class org.robolectric.shadows.ShadowPausedLooper
- reset() - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- reset() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- reset() - Static method in class org.robolectric.shadows.ShadowPendingIntent
- reset() - Static method in class org.robolectric.shadows.ShadowPowerManager
-
Discards the most recent
PowerManager.WakeLock
s - reset() - Static method in class org.robolectric.shadows.ShadowProcess
- reset() - Static method in class org.robolectric.shadows.ShadowQueuedWork
- reset() - Static method in class org.robolectric.shadows.ShadowQuickAccessWalletService
- reset() - Static method in class org.robolectric.shadows.ShadowRcsUceAdapter
- reset() - Static method in class org.robolectric.shadows.ShadowRenderNodeAnimator
- reset() - Static method in class org.robolectric.shadows.ShadowRenderNodeAnimatorR
- reset() - Static method in class org.robolectric.shadows.ShadowResources
- reset() - Static method in class org.robolectric.shadows.ShadowResourcesImpl
- reset() - Static method in class org.robolectric.shadows.ShadowResourcesManager
- reset() - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- reset() - Static method in class org.robolectric.shadows.ShadowServiceManager
- reset() - Static method in class org.robolectric.shadows.ShadowSettings
- reset() - Static method in class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- reset() - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- reset() - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSystem
- reset() - Static method in class org.robolectric.shadows.ShadowSharedMemory
- reset() - Static method in class org.robolectric.shadows.ShadowSliceManager
- reset() - Static method in class org.robolectric.shadows.ShadowSmsManager
- reset() - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
- reset() - Static method in class org.robolectric.shadows.ShadowSQLiteConnection
- reset() - Static method in class org.robolectric.shadows.ShadowStatFs
- reset() - Static method in class org.robolectric.shadows.ShadowStatsLog
- reset() - Static method in class org.robolectric.shadows.ShadowStringBlock
- reset() - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
- reset() - Static method in class org.robolectric.shadows.ShadowSurface
- reset() - Static method in class org.robolectric.shadows.ShadowSurfaceControl
- reset() - Static method in class org.robolectric.shadows.ShadowSystemClock
- reset() - Static method in class org.robolectric.shadows.ShadowSystemProperties
- reset() - Static method in class org.robolectric.shadows.ShadowSystemServiceRegistry
- reset() - Static method in class org.robolectric.shadows.ShadowTelephony.ShadowSms
- reset() - Static method in class org.robolectric.shadows.ShadowTelephonyFrameworkInitializer
- reset() - Static method in class org.robolectric.shadows.ShadowTelephonyManager
- reset() - Static method in class org.robolectric.shadows.ShadowTextToSpeech
- reset() - Static method in class org.robolectric.shadows.ShadowToast
-
Discards the recorded
Toast
s. - reset() - Static method in class org.robolectric.shadows.ShadowToneGenerator
- reset() - Static method in class org.robolectric.shadows.ShadowTrace
-
Resets internal lists of active trace sections.
- reset() - Static method in class org.robolectric.shadows.ShadowTypeface
- reset() - Static method in class org.robolectric.shadows.ShadowUsageStatsManager
- reset() - Static method in class org.robolectric.shadows.ShadowUserManager
- reset() - Static method in class org.robolectric.shadows.ShadowValueAnimator
- reset() - Static method in class org.robolectric.shadows.ShadowView
- reset() - Static method in class org.robolectric.shadows.ShadowViewRootImpl
- reset() - Static method in class org.robolectric.shadows.ShadowVMRuntime
- reset() - Static method in class org.robolectric.shadows.ShadowVoiceInteractionService
-
Resets this shadow instance.
- reset() - Static method in class org.robolectric.shadows.ShadowVpnService
- reset() - Static method in class org.robolectric.shadows.ShadowWebSettings
- reset() - Method in class org.robolectric.shadows.ShadowWebSyncManager
- reset() - Static method in class org.robolectric.shadows.ShadowWebView
- reset() - Static method in class org.robolectric.shadows.ShadowWindowManagerGlobal
- reset() - Static method in class org.robolectric.shadows.ShadowWindowManagerImpl
- reset() - Static method in class org.robolectric.shadows.util.DataSource
- reset() - Method in class org.robolectric.util.PerfStatsCollector
- reset() - Method in class org.robolectric.util.Scheduler
-
Reset the internal state of the Scheduler.
- reset(boolean) - Method in class org.robolectric.shadows.ShadowMagnificationController
- resetCanvasHistory() - Method in class org.robolectric.shadows.ShadowCanvas
- resetClearFormData() - Method in class org.robolectric.shadows.ShadowWebViewDatabase
-
Resets
ShadowWebViewDatabase.wasClearFormDataCalled()
, setting it back to false. - resetCookies() - Static method in class org.robolectric.shadows.ShadowCookieManager
- resetDatabase() - Method in class org.robolectric.shadows.ShadowWebViewDatabase
-
Resets the
WebViewDatabase
instance to clear any state between tests. - resetDisplayConfiguration() - Static method in class org.robolectric.android.Bootstrap
-
internal only
- resetIsFinishing() - Method in class org.robolectric.shadows.ShadowActivity
- resetLoopers() - Static method in class org.robolectric.shadows.ShadowPausedLooper
- resetObtainedInstances() - Static method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Clear list of obtained instance objects.
- resetObtainedInstances() - Static method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
-
Clear list of obtained instance objects.
- resetPassword(String, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- resetPasswordWithToken(ComponentName, String, byte[], int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- resetPivot() - Method in class org.robolectric.shadows.ShadowRenderNode
- resetPivot() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- resetScheduler() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- resetScheduler() - Method in class org.robolectric.shadows.ShadowLooper
-
Only supported for
LooperMode.Mode.LEGACY
. - resetScheduler() - Method in class org.robolectric.shadows.ShadowPausedLooper
- resetSimCountryIsos() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Clears
subId
to simCountryIso mapping and resets to default state. - resetSimStates() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Clears
slotIndex
to state mapping and resets to default state. - resetState() - Method in class org.robolectric.android.internal.AndroidTestEnvironment
- resetState() - Method in interface org.robolectric.internal.TestEnvironment
- resetStaticState() - Static method in class org.robolectric.shadows.ShadowMediaPlayer
- resetStorageVolumeList() - Method in class org.robolectric.shadows.ShadowStorageManager
-
Clears the storageVolumeList.
- Resetter - Annotation Type in org.robolectric.annotation
-
Indicates that the annotated method is used to reset static state in a shadow.
- ResetterValidator - Class in org.robolectric.annotation.processing.validator
-
Validator that checks usages of
Resetter
. - ResetterValidator(RobolectricModel.Builder, ProcessingEnvironment) - Constructor for class org.robolectric.annotation.processing.validator.ResetterValidator
- resetTest() - Static method in class org.robolectric.shadows.ShadowAudioTrack
- resetThreadLoopers() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
- resetThreadLoopers() - Static method in class org.robolectric.shadows.ShadowLooper
-
Should not be called directly - Robolectric internal use only.
- resName - Variable in class org.robolectric.res.AttributeResource
- ResName - Class in org.robolectric.res
- ResName(String) - Constructor for class org.robolectric.res.ResName
- ResName(String, String, String) - Constructor for class org.robolectric.res.ResName
- resolve(String, String) - Static method in class org.robolectric.shadows.ClassNameResolver
- resolveActivity(Intent, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- resolveActivityAsUser(Intent, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Behaves as
ShadowApplicationPackageManager.resolveActivity(Intent, int)
and currently ignores userId. - resolveActivityAsUser(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- resolveAttributeReference(Ref<ResourceTypes.Res_value>, int, Ref<Integer>, Ref<Integer>, Ref<ResTable_config>) - Method in class org.robolectric.res.android.ResTableTheme
- resolveAttrs(long, int, int, int[], int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowArscAssetManager
- resolveAttrs(long, int, int, int[], int[], int[], int[]) - Static method in class org.robolectric.shadows.ShadowLegacyAssetManager
- ResolveAttrs(CppAssetManager2.Theme, int, int, int[], int, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution10
- ResolveAttrs(CppAssetManager2.Theme, int, int, int[], int, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution9
- ResolveAttrs(ResTableTheme, int, int, int[], int, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution
- resolveContentProvider(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- resolveContentProviderAsUser(String, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- ResolvedBag() - Constructor for class org.robolectric.res.android.CppAssetManager2.ResolvedBag
- resolveReference(Ref<ResourceTypes.Res_value>, int, Ref<Integer>) - Method in class org.robolectric.res.android.ResTable
- resolveReference(Ref<ResourceTypes.Res_value>, int, Ref<Integer>, Ref<Integer>) - Method in class org.robolectric.res.android.ResTable
- resolveReference(Ref<ResourceTypes.Res_value>, int, Ref<Integer>, Ref<Integer>, Ref<ResTable_config>) - Method in class org.robolectric.res.android.ResTable
- ResolveReference(ApkAssetsCookie, Ref<ResourceTypes.Res_value>, Ref<ResTable_config>, Ref<Integer>, Ref<Integer>) - Method in class org.robolectric.res.android.CppAssetManager2
- resolveResName(ResName, ResTable_config) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- resolveResourceValue(TypedResource, ResTable_config, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- resolveService(Intent, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- resolveServiceAsUser(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- resourceDir - Variable in class org.robolectric.annotation.Config.Builder
- resourceDir() - Method in class org.robolectric.annotation.Config.Implementation
- resourceDir() - Method in annotation type org.robolectric.annotation.Config
-
Deprecated.If you are using at least Android Studio 3.0 alpha 5 or Bazel's android_local_test please migrate to the preferred way to configure
- ResourceHelper - Class in org.robolectric.shadows
-
Helper class to provide various conversion method used in handling android resources.
- ResourceHelper() - Constructor for class org.robolectric.shadows.ResourceHelper
- ResourceHelper2 - Class in org.robolectric.shadows
-
Helper class to provide various conversion method used in handling android resources.
- ResourceHelper2() - Constructor for class org.robolectric.shadows.ResourceHelper2
- ResourceIdGenerator - Class in org.robolectric.res
-
Tracks resource ids and generates new unique values.
- ResourceIds - Class in org.robolectric.res
-
Utility class to that checks if a resource ID is a framework resource or application resource.
- ResourceIds() - Constructor for class org.robolectric.res.ResourceIds
- ResourceMerger - Class in org.robolectric.res
- ResourceMerger() - Constructor for class org.robolectric.res.ResourceMerger
- ResourceModeShadowPicker<T> - Class in org.robolectric.shadows
- ResourceModeShadowPicker(Class<? extends T>, Class<? extends T>, Class<? extends T>) - Constructor for class org.robolectric.shadows.ResourceModeShadowPicker
- ResourceModeShadowPicker(Class<? extends T>, Class<? extends T>, Class<? extends T>, Class<? extends T>) - Constructor for class org.robolectric.shadows.ResourceModeShadowPicker
- ResourceName() - Constructor for class org.robolectric.res.android.CppAssetManager2.ResourceName
- ResourceName() - Constructor for class org.robolectric.res.android.ResTable.ResourceName
- ResourcePath - Class in org.robolectric.res
- ResourcePath(Class<?>, Path, Path) - Constructor for class org.robolectric.res.ResourcePath
- ResourcePath(Class<?>, Path, Path, Class<?>) - Constructor for class org.robolectric.res.ResourcePath
- ResourceProvider - Interface in org.robolectric.internal.bytecode
-
A provider of resources (Ã la ClassLoader).
- resourceQualifierString(Configuration, DisplayMetrics) - Static method in class org.robolectric.android.ConfigurationV25
-
Returns a string representation of the configuration that can be parsed by build tools (like AAPT).
- resourceQualifierString(Configuration, DisplayMetrics, boolean) - Static method in class org.robolectric.android.ConfigurationV25
- resources - Static variable in class org.robolectric.shadows.ShadowPackageManager
- ResourcesMode - Enum in org.robolectric.internal
- ResourceString - Class in org.robolectric.res.android
-
Provides utilities to decode/encode a String packed in an arsc resource file.
- ResourceString.Type - Enum in org.robolectric.res.android
-
Type of
ResourceString
to encode / decode. - resourceTable - Variable in class org.robolectric.res.StaxLoader
- ResourceTable - Class in org.robolectric.res.android
- ResourceTable - Interface in org.robolectric.res
- ResourceTable() - Constructor for class org.robolectric.res.android.ResourceTable
- ResourceTable.flag_entry - Class in org.robolectric.res.android
- ResourceTable.Visitor - Interface in org.robolectric.res
- ResourceTableFactory - Class in org.robolectric.res
- ResourceTableFactory() - Constructor for class org.robolectric.res.ResourceTableFactory
- ResourceTypes - Class in org.robolectric.res.android
- ResourceTypes() - Constructor for class org.robolectric.res.android.ResourceTypes
- ResourceTypes.Res_value - Class in org.robolectric.res.android
-
Representation of a value in a resource, supplying type information.
- ResourceTypes.ResChunk_header - Class in org.robolectric.res.android
-
Header that appears at the front of every data chunk in a resource.
- ResourceTypes.ResStringPool_header - Class in org.robolectric.res.android
-
Definition for a pool of strings.
- ResourceTypes.ResStringPool_header.Writer - Class in org.robolectric.res.android
- ResourceTypes.ResStringPool_ref - Class in org.robolectric.res.android
-
Reference to a string in a string pool.
- ResourceTypes.ResStringPool_span - Class in org.robolectric.res.android
-
This structure defines a span of style information associated with a string in the pool.
- ResourceTypes.ResTable_map - Class in org.robolectric.res.android
-
A single name/value mapping that is part of a complex resource entry.
- ResourceTypes.ResTable_ref - Class in org.robolectric.res.android
-
This is a reference to a unique entry (a ResTable_entry structure) in a resource table.
- ResourceTypes.ResXMLTree_attrExt - Class in org.robolectric.res.android
-
Extended XML tree node for start tags -- includes attribute information.
- ResourceTypes.ResXMLTree_attrExt.Writer - Class in org.robolectric.res.android
- ResourceTypes.ResXMLTree_endElementExt - Class in org.robolectric.res.android
-
Extended XML tree node for element start/end nodes.
- ResourceTypes.ResXMLTree_endElementExt.Writer - Class in org.robolectric.res.android
- ResourceTypes.ResXMLTree_header - Class in org.robolectric.res.android
-
XML tree header.
- ResourceTypes.ResXMLTree_node - Class in org.robolectric.res.android
-
Basic XML tree node.
- ResourceValueConverter - Interface in org.robolectric.res
- respond(Bundle) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- respond(Bundle) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- respondToCall(Call.Details, CallScreeningService.CallResponse) - Method in class org.robolectric.shadows.ShadowCallScreeningService
- RespondToCallInput(Call.Details, CallScreeningService.CallResponse) - Constructor for class org.robolectric.shadows.ShadowCallScreeningService.RespondToCallInput
- respondToRttRequest(int, boolean) - Method in class org.robolectric.shadows.ShadowCall
- ResStringPool - Class in org.robolectric.res.android
-
Convenience class for accessing data in a ResStringPool resource.
- ResStringPool() - Constructor for class org.robolectric.res.android.ResStringPool
- ResStringPool_header(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResStringPool_header
- ResStringPool_ref(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResStringPool_ref
- ResStringPool_span(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResStringPool_span
- ResStringPoolHeader - Class in org.robolectric.res.android
-
Definition for a pool of strings.
- ResStringPoolHeader() - Constructor for class org.robolectric.res.android.ResStringPoolHeader
- ResTable - Class in org.robolectric.res.android
- ResTable() - Constructor for class org.robolectric.res.android.ResTable
- ResTable_config - Class in org.robolectric.res.android
-
Describes a particular resource configuration.
- ResTable_config() - Constructor for class org.robolectric.res.android.ResTable_config
- ResTable_config(int, int, int, byte[], byte[], int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, byte[], byte[], byte, byte, short, byte[]) - Constructor for class org.robolectric.res.android.ResTable_config
- ResTable_config(ResTable_config) - Constructor for class org.robolectric.res.android.ResTable_config
- ResTable_config.Type - Enum in org.robolectric.res.android
-
The different types of configs that can be present in a
ResTable_config
. - ResTable_map() - Constructor for class org.robolectric.res.android.ResourceTypes.ResTable_map
- ResTable_map(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResTable_map
- RESTABLE_MAX_LOCALE_LEN - Static variable in class org.robolectric.res.android.ResourceTypes
- RESTABLE_MAX_LOCALE_LEN - Static variable in class org.robolectric.res.android.ResTable_config
- ResTable_ref() - Constructor for class org.robolectric.res.android.ResourceTypes.ResTable_ref
- ResTable_ref(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResTable_ref
- ResTable.bag_entry - Class in org.robolectric.res.android
- ResTable.Entry - Class in org.robolectric.res.android
- ResTable.Header - Class in org.robolectric.res.android
- ResTable.PackageGroup - Class in org.robolectric.res.android
- ResTable.ResourceName - Class in org.robolectric.res.android
- ResTable.ResTablePackage - Class in org.robolectric.res.android
- ResTable.Type - Class in org.robolectric.res.android
- ResTablePackage(ResTable, ResTable.Header, ResourceTypes.ResTable_package) - Constructor for class org.robolectric.res.android.ResTable.ResTablePackage
- ResTableTheme - Class in org.robolectric.res.android
- ResTableTheme(ResTable) - Constructor for class org.robolectric.res.android.ResTableTheme
- restart() - Method in class org.robolectric.android.controller.ActivityController
- restart() - Method in class org.robolectric.res.android.ResXMLParser
- restartInput(View) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- restat(String) - Method in class org.robolectric.shadows.ShadowStatFs
- restore() - Method in class org.robolectric.shadows.ShadowCanvas
- restoreDefaults() - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Updates all non UID specific fields back to
TrafficStats.UNSUPPORTED
- restoreInstanceState(Bundle) - Method in class org.robolectric.android.controller.ActivityController
- restoreState(Bundle) - Method in class org.robolectric.shadows.ShadowWebView
- restoreToCount(int) - Method in class org.robolectric.shadows.ShadowCanvas
- resType - Variable in class org.robolectric.res.StaxLoader
- ResType - Enum in org.robolectric.res
- results - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- resume() - Method in class org.robolectric.android.controller.ActivityController
- resume() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- resume() - Method in class org.robolectric.shadows.ShadowVideoView
- RESUME - Static variable in class org.robolectric.shadows.ShadowVideoView
- resumeActivity(Activity) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- ResXMLParser - Class in org.robolectric.res.android
- ResXMLParser(ResXMLTree) - Constructor for class org.robolectric.res.android.ResXMLParser
- ResXMLParser.event_code_t - Class in org.robolectric.res.android
- ResXMLTree - Class in org.robolectric.res.android
- ResXMLTree(DynamicRefTable) - Constructor for class org.robolectric.res.android.ResXMLTree
- ResXMLTree_attrExt(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResXMLTree_attrExt
- ResXMLTree_endElementExt(ByteBuffer, int) - Constructor for class org.robolectric.res.android.ResourceTypes.ResXMLTree_endElementExt
- retainNonConfigurationInstances() - Method in interface org.robolectric.shadows._Activity_
- retrieveArray(int, int[]) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- retrieveArray(int, int[]) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- retrieveAttributes(int, int[], int[], int[]) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- retrieveAttributes(int, int[], int[], int[]) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- retrieveAttributes(long, int[], int[], int[]) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- retrieveAttributes(long, int[], int[], int[]) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- RetrieveAttributes(CppAssetManager2, ResXMLParser, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution10
- RetrieveAttributes(CppAssetManager2, ResXMLParser, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution9
- RetrieveAttributes(ResTable, ResXMLParser, int[], int, int[], int[]) - Static method in class org.robolectric.res.android.AttributeResolution
- retrieveConnectedRfcommSocket(UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- retryHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The request retry handler.
- retryMillis() - Method in class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
- returnDefaultValue(MethodSignature) - Static method in class org.robolectric.internal.bytecode.Interceptor
- returnType - Variable in class org.robolectric.annotation.processing.DocumentedMethod
- returnType - Variable in class org.robolectric.internal.bytecode.MethodSignature
- reuseStrategy - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The connection re-use strategy.
- revalidateByteBuffer(ByteBuffer[], int) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Prevents calling Android-only methods on basic ByteBuffer objects.
- reverse(T[]) - Static method in class org.robolectric.util.Util
- revokePermission(UsbAccessory, String) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Revokes permission to a USB accessory granted to a package.
- revokePermission(UsbDevice, String) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Revokes permission to a USB device granted to a package.
- revokeRuntimePermission(String, String, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- revokeSlicePermission(String, Uri) - Method in class org.robolectric.shadows.ShadowSliceManager
- rewind() - Method in class org.robolectric.shadows.ShadowPath
- rewriteRequestURI(RequestWrapper, HttpRoute) - Method in class org.robolectric.shadows.httpclient.DefaultRequestDirector
- RFCOMM_LISTENER_FAILED_TO_CLOSE_SERVER_SOCKET - Static variable in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Equivalent value to internal SystemApi
BluetoothStatusCodes.RFCOMM_LISTENER_FAILED_TO_CLOSE_SERVER_SOCKET
. - RFCOMM_LISTENER_OPERATION_FAILED_NO_MATCHING_SERVICE_RECORD - Static variable in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Equivalent value to internal SystemApi
BluetoothStatusCodes.RFCOMM_LISTENER_OPERATION_FAILED_NO_MATCHING_SERVICE_RECORD
. - RFCOMM_LISTENER_START_FAILED_UUID_IN_USE - Static variable in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Equivalent value to internal SystemApi
BluetoothStatusCodes.RFCOMM_LISTENER_START_FAILED_UUID_IN_USE
. - RGBToHSV(int, int, int, float[]) - Static method in class org.robolectric.shadows.ShadowColor
-
This is implemented in native code in the Android SDK.
- right - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
- right - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
- rightVolume - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- rLineTo(float, float) - Method in class org.robolectric.shadows.ShadowPath
- rMoveTo(float, float) - Method in class org.robolectric.shadows.ShadowPath
- ROBO_PREFIX - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- RoboBufferIterator(byte[], ByteOrder) - Constructor for class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- RoboBufferIterator(byte[], ByteOrder) - Constructor for class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- RoboCallSite - Class in org.robolectric.internal.bytecode
- RoboCallSite(MethodType, Class<?>) - Constructor for class org.robolectric.internal.bytecode.RoboCallSite
- RoboCookieManager - Class in android.webkit
-
Robolectric implementation of
CookieManager
. - RoboCookieManager() - Constructor for class android.webkit.RoboCookieManager
- RoboCursor - Class in org.robolectric.fakes
-
Deprecated.Use
MatrixCursor
instead. - RoboCursor() - Constructor for class org.robolectric.fakes.RoboCursor
-
Deprecated.
- RoboExecutorService - Class in org.robolectric.android.util.concurrent
-
Deprecated.only works when used in conjunction with the deprecated
LooperMode.LEGACY
mode. Consider using guava'sMoreExecutors#directExecutor()
orPausedExecutorService
orInlineExecutorService
. - RoboExecutorService() - Constructor for class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- RoboExtendedResponseCache - Interface in org.robolectric.fakes
-
A response cache that supports statistics tracking and updating stored responses.
- RoboIntentSender - Class in org.robolectric.fakes
-
Robolectric implementation of
IntentSender
. - RoboIntentSender(PendingIntent) - Constructor for class org.robolectric.fakes.RoboIntentSender
- Robolectric - Class in org.robolectric
- Robolectric() - Constructor for class org.robolectric.Robolectric
- Robolectric.AttributeSetBuilder - Interface in org.robolectric
-
Deprecated.Use
AttributeSetBuilder
instead. - RobolectricFrameworkMethod(RobolectricTestRunner.RobolectricFrameworkMethod) - Constructor for class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- RobolectricGeneratorAdapter - Class in org.robolectric.internal.bytecode
-
GeneratorAdapter implementation specific to generate code for Robolectric purposes
- RobolectricGeneratorAdapter(MethodNode) - Constructor for class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- RobolectricInternals - Class in org.robolectric.internal.bytecode
- RobolectricInternals() - Constructor for class org.robolectric.internal.bytecode.RobolectricInternals
- RobolectricModel - Class in org.robolectric.annotation.processing
-
Model describing the Robolectric source file.
- RobolectricModel(TreeSet<String>, TreeMap<String, RobolectricModel.ShadowInfo>, TreeMap<String, String>, TreeMap<String, RobolectricModel.ResetterInfo>, Map<String, DocumentedPackage>) - Constructor for class org.robolectric.annotation.processing.RobolectricModel
- RobolectricModel.Builder - Class in org.robolectric.annotation.processing
- RobolectricModel.ResetterInfo - Class in org.robolectric.annotation.processing
- RobolectricModel.ShadowInfo - Class in org.robolectric.annotation.processing
- RobolectricProcessor - Class in org.robolectric.annotation.processing
-
Annotation processor entry point for Robolectric annotations.
- RobolectricProcessor() - Constructor for class org.robolectric.annotation.processing.RobolectricProcessor
-
Default constructor.
- RobolectricProcessor(Map<String, String>) - Constructor for class org.robolectric.annotation.processing.RobolectricProcessor
-
Constructor to use for testing passing options in.
- RobolectricShadow - Class in org.robolectric.errorprone.bugpatterns
-
Ensure Robolectric shadow's method marked with
@Implemenetation
is protected - RobolectricShadow() - Constructor for class org.robolectric.errorprone.bugpatterns.RobolectricShadow
- RobolectricTestRunner - Class in org.robolectric
-
Loads and runs a test in a
SandboxClassLoader
in order to provide a simulation of the Android runtime environment. - RobolectricTestRunner(Class<?>) - Constructor for class org.robolectric.RobolectricTestRunner
-
Creates a runner to run
testClass
. - RobolectricTestRunner(Class<?>, Injector) - Constructor for class org.robolectric.RobolectricTestRunner
- RobolectricTestRunner.DeprecatedTestRunnerDefaultConfigProvider - Class in org.robolectric
-
Deprecated.
- RobolectricTestRunner.HelperTestRunner - Class in org.robolectric
- RobolectricTestRunner.RobolectricFrameworkMethod - Class in org.robolectric
-
Fields in this class must be serializable using XStream.
- RoboLocationRequest(LocationRequest) - Constructor for class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- RoboLocationRequest(String, long, float, boolean) - Constructor for class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- RoboMenu - Class in org.robolectric.fakes
-
Robolectric implementation of
Menu
. - RoboMenu() - Constructor for class org.robolectric.fakes.RoboMenu
- RoboMenu(Context) - Constructor for class org.robolectric.fakes.RoboMenu
- RoboMenuItem - Class in org.robolectric.fakes
-
Robolectric implementation of
MenuItem
. - RoboMenuItem() - Constructor for class org.robolectric.fakes.RoboMenuItem
- RoboMenuItem(int) - Constructor for class org.robolectric.fakes.RoboMenuItem
- RoboMenuItem(Context) - Constructor for class org.robolectric.fakes.RoboMenuItem
- RoboMonitoringInstrumentation - Class in org.robolectric.android.internal
-
A Robolectric instrumentation that acts like a slimmed down
MonitoringInstrumentation
with only the parts needed for Robolectric. - RoboMonitoringInstrumentation() - Constructor for class org.robolectric.android.internal.RoboMonitoringInstrumentation
- RoboNotFoundException - Exception in org.robolectric.manifest
- RoboNotFoundException(String) - Constructor for exception org.robolectric.manifest.RoboNotFoundException
- RoboResponseSource - Enum in org.robolectric.fakes
-
Where the HTTP client should look for a response.
- RoboSettings - Class in org.robolectric
-
Deprecated.Don't put more stuff here.
- RoboSettings() - Constructor for class org.robolectric.RoboSettings
-
Deprecated.
- RoboSplashScreen - Class in org.robolectric.fakes
-
Robolectric implementation of
SplashScreen
. - RoboSplashScreen() - Constructor for class org.robolectric.fakes.RoboSplashScreen
- RoboSubMenu - Class in org.robolectric.fakes
-
Robolectric implementation of
SubMenu
. - RoboSubMenu() - Constructor for class org.robolectric.fakes.RoboSubMenu
- RoboSubMenu(Context) - Constructor for class org.robolectric.fakes.RoboSubMenu
- RoboWebMessagePort - Class in org.robolectric.fakes
-
Robolectric implementation of
WebMessagePort
. - RoboWebMessagePort() - Constructor for class org.robolectric.fakes.RoboWebMessagePort
- RoboWebSettings - Class in org.robolectric.fakes
-
Robolectric implementation of
WebSettings
. - RoboWebSettings() - Constructor for class org.robolectric.fakes.RoboWebSettings
- roleManager - Variable in class org.robolectric.shadows.ShadowRoleManager
- RollbackInfoBuilder - Class in org.robolectric.shadows
-
Builder for
RollbackInfo
as RollbackInfo has hidden constructors, this builder class has been added as a way to make custom RollbackInfo objects when needed. - ROTATE - Static variable in class org.robolectric.shadows.ShadowMatrix
- rotation - Variable in class org.robolectric.android.internal.DisplayConfig
-
The rotation of the display relative to its natural orientation.
- RoundRectangle - Class in org.robolectric.shadows
-
Defines a rectangle with rounded corners, where the sizes of the corners are potentially different.
- RoundRectangle(float, float, float, float, float[]) - Constructor for class org.robolectric.shadows.RoundRectangle
- routePlanner - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The route planner.
- RoutingResourceTable - Class in org.robolectric.res
- RoutingResourceTable(PackageResourceTable...) - Constructor for class org.robolectric.res.RoutingResourceTable
- rQuadTo(float, float, float, float) - Method in class org.robolectric.shadows.ShadowPath
- run() - Method in class org.robolectric.shadows.ShadowBackdropFrameRenderer
- run() - Method in interface org.robolectric.util.PerfStatsCollector.ThrowingRunnable
- run() - Method in class org.robolectric.util.SimpleFuture
-
Deprecated.
- run() - Method in class org.robolectric.util.TestRunnable
- run(MediaPlayer, ShadowMediaPlayer) - Method in interface org.robolectric.shadows.ShadowMediaPlayer.MediaEvent
- runAll() - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
-
Execute all posted tasks and block until they are complete.
- runBackgroundTasks() - Static method in class org.robolectric.shadows.ShadowApplication
-
Runs any background tasks previously queued by
AsyncTask.execute(Object[])
. - runInBackground(Runnable) - Static method in class org.robolectric.android.util.concurrent.BackgroundExecutor
-
A helper method intended for testing production code that needs to run off the main Looper.
- runInBackground(Callable<T>) - Static method in class org.robolectric.android.util.concurrent.BackgroundExecutor
-
A helper method intended for testing production code that needs to run off the main Looper.
- runMainLooperOneTask() - Static method in class org.robolectric.shadows.ShadowLooper
- runMainLooperToNextTask() - Static method in class org.robolectric.shadows.ShadowLooper
- runNext() - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
-
Executes the next queued task.
- RunningTaskInfoBuilder - Class in org.robolectric.shadows
-
Builder for
ActivityManager.RunningTaskInfo
. - runOneTask() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- runOneTask() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- runOneTask() - Method in class org.robolectric.shadows.ShadowLooper
-
Causes only one of the next
Runnable
s that have been scheduled to run while advancing the clock to its start time. - runOneTask() - Method in class org.robolectric.shadows.ShadowPausedLooper
- runOneTask() - Method in class org.robolectric.util.Scheduler
-
Run the next runnable in the queue.
- runOnMainSync(Runnable) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- runOnMainThread(Runnable) - Method in class org.robolectric.internal.bytecode.Sandbox
- runOnMainThread(Callable<T>) - Method in class org.robolectric.internal.bytecode.Sandbox
- runOnUiThread(Runnable) - Method in class org.robolectric.shadows.ShadowActivity
- runPaused(Runnable) - Method in class org.robolectric.shadows.ShadowLegacyLooper
- runPaused(Runnable) - Method in class org.robolectric.shadows.ShadowLooper
-
Runs the current task with the looper paused.
- runPaused(Runnable) - Method in class org.robolectric.shadows.ShadowPausedLooper
- RuntimeEnvironment - Class in org.robolectric
- RuntimeEnvironment() - Constructor for class org.robolectric.RuntimeEnvironment
- runToEndOfTasks() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- runToEndOfTasks() - Method in class org.robolectric.shadows.ShadowLooper
- runToEndOfTasks() - Method in class org.robolectric.shadows.ShadowPausedLooper
- runToNextTask() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- runToNextTask() - Method in class org.robolectric.shadows.ShadowLooper
-
Causes the next
Runnable
(s) that have been scheduled to run while advancing the clock to its start time. - runToNextTask() - Method in class org.robolectric.shadows.ShadowPausedLooper
- runUiThreadTasks() - Static method in class org.robolectric.shadows.ShadowLooper
-
Runs any immediately runnable tasks previously queued on the UI thread, e.g.
- runUiThreadTasksIncludingDelayedTasks() - Static method in class org.robolectric.shadows.ShadowLooper
-
Runs all runnable tasks (pending and future) that have been queued on the UI thread.
- rx - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
- ry - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
S
- sameAs(Bitmap) - Method in class org.robolectric.shadows.ShadowBitmap
- Sandbox - Class in org.robolectric.internal.bytecode
- Sandbox(InstrumentationConfiguration, ResourceProvider, ClassInstrumentor) - Constructor for class org.robolectric.internal.bytecode.Sandbox
- Sandbox(SandboxClassLoader) - Constructor for class org.robolectric.internal.bytecode.Sandbox
- SandboxClassLoader - Class in org.robolectric.internal.bytecode
-
Class loader that modifies the bytecode of Android classes to insert calls to Robolectric's shadow classes.
- SandboxClassLoader(ClassLoader, InstrumentationConfiguration, ResourceProvider, ClassInstrumentor) - Constructor for class org.robolectric.internal.bytecode.SandboxClassLoader
- SandboxClassLoader(InstrumentationConfiguration, ResourceProvider, ClassInstrumentor) - Constructor for class org.robolectric.internal.bytecode.SandboxClassLoader
- SandboxConfig - Annotation Type in org.robolectric.internal.bytecode
-
Configuration settings that can be used on a per-class or per-test basis.
- SandboxManager - Class in org.robolectric.internal
-
Manager of sandboxes.
- SandboxManager(SandboxManager.SandboxBuilder, SdkCollection) - Constructor for class org.robolectric.internal.SandboxManager
- SandboxManager.SandboxBuilder - Interface in org.robolectric.internal
-
Factory interface for AndroidSandbox.
- SandboxTestRunner - Class in org.robolectric.internal
-
Sandbox test runner that runs each test in a sandboxed class loader environment.
- SandboxTestRunner(Class<?>) - Constructor for class org.robolectric.internal.SandboxTestRunner
- SandboxTestRunner(Class<?>, Injector) - Constructor for class org.robolectric.internal.SandboxTestRunner
- SandboxTestRunner.HelperTestRunner - Class in org.robolectric.internal
- save() - Method in class org.robolectric.shadows.ShadowCanvas
- saveConfiguration() - Method in class org.robolectric.shadows.ShadowWifiManager
- saveInstanceState(Bundle) - Method in class org.robolectric.android.controller.ActivityController
- saveInstanceState(Bundle) - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- saveState(Bundle) - Method in class org.robolectric.shadows.ShadowWebView
- scale - Variable in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
- scale(float, float) - Method in class org.robolectric.shadows.ShadowCanvas
- scale(float, float, float, float) - Method in class org.robolectric.shadows.ShadowCanvas
- SCALE - Static variable in class org.robolectric.shadows.ShadowMatrix
- scanCallback() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner.ScanParams
- scanFile(Context, String[], String[], MediaScannerConnection.OnScanCompletedListener) - Static method in class org.robolectric.shadows.ShadowMediaScannerConnection
- scanFilters() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner.ScanParams
- ScanParams() - Constructor for class org.robolectric.shadows.ShadowBluetoothLeScanner.ScanParams
- scanSettings() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner.ScanParams
- schedule(JobInfo) - Method in class org.robolectric.shadows.ShadowJobScheduler
- schedule(JobInfo) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
- scheduleAsPackage(JobInfo, String, int, String) - Method in class org.robolectric.shadows.ShadowJobScheduler
- scheduleAsPackage(JobInfo, String, int, String) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
-
Simple implementation redirecting all calls to
ShadowJobScheduler.ShadowJobSchedulerImpl.schedule(JobInfo)
. - scheduleBufferUnderrunAtOffset(int, int) - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Schedules a simulated buffer underrun event to run at the specified playback offset.
- scheduleCameraServiceReconnectionLocked() - Method in class org.robolectric.shadows.ShadowCameraManager.ShadowCameraManagerGlobal
-
Cannot create a CameraService connection within Robolectric.
- ScheduledAlarm(int, long, long, PendingIntent, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- ScheduledAlarm(int, long, long, PendingIntent, PendingIntent, boolean) - Constructor for class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- ScheduledAlarm(int, long, PendingIntent, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- scheduleErrorAtOffset(int, int, int) - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Schedules an error event to run at the specified playback offset.
- scheduleEventAtOffset(int, ShadowMediaPlayer.MediaEvent) - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Schedules a generic event to run at the specified playback offset.
- scheduleInfoAtOffset(int, int, int) - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Schedules an info event to run at the specified playback offset.
- scheduler - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- Scheduler - Class in org.robolectric.util
-
Class that manages a queue of Runnables that are scheduled to run now (or at some time in the future).
- Scheduler() - Constructor for class org.robolectric.util.Scheduler
- Scheduler.IdleState - Enum in org.robolectric.util
-
Describes the current state of a
Scheduler
. - score - Variable in class org.robolectric.shadows.ShadowWifiManager.WifiUsabilityScore
- SCREEN_HEIGHT_DP - org.robolectric.res.android.ResTable_config.Type
- SCREEN_LAYOUT_DIRECTION - org.robolectric.res.android.ResTable_config.Type
- SCREEN_LAYOUT_LONG - org.robolectric.res.android.ResTable_config.Type
- SCREEN_LAYOUT_ROUND - org.robolectric.res.android.ResTable_config.Type
- SCREEN_LAYOUT_SIZE - org.robolectric.res.android.ResTable_config.Type
- SCREEN_SIZE - org.robolectric.res.android.ResTable_config.Type
- SCREEN_WIDTH_DP - org.robolectric.res.android.ResTable_config.Type
- screenConfigPad2 - Variable in class org.robolectric.res.android.ResTable_config
- screenHeight - Variable in class org.robolectric.res.android.ResTable_config
- SCREENHEIGHT_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- screenHeightDp - Variable in class org.robolectric.res.android.ResTable_config
- screenLayout - Variable in class org.robolectric.res.android.ResTable_config
- screenLayout2 - Variable in class org.robolectric.res.android.ResTable_config
-
An extension to
ResTable_config.screenLayout
. - screenLayoutDirection() - Method in class org.robolectric.res.android.ResTable_config
- screenLayoutDirection(int) - Method in class org.robolectric.res.android.ResTable_config
- screenLayoutLong() - Method in class org.robolectric.res.android.ResTable_config
- screenLayoutLong(int) - Method in class org.robolectric.res.android.ResTable_config
- screenLayoutRound() - Method in class org.robolectric.res.android.ResTable_config
- screenLayoutRound(int) - Method in class org.robolectric.res.android.ResTable_config
- screenLayoutSize() - Method in class org.robolectric.res.android.ResTable_config
- screenLayoutSize(int) - Method in class org.robolectric.res.android.ResTable_config
- SCREENLONG_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENLONG_NO - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENLONG_YES - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENROUND_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENROUND_NO - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENROUND_YES - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENSIZE_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENSIZE_LARGE - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENSIZE_NORMAL - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENSIZE_SMALL - Static variable in class org.robolectric.res.android.ResTable_config
- SCREENSIZE_XLARGE - Static variable in class org.robolectric.res.android.ResTable_config
- screenWidth - Variable in class org.robolectric.res.android.ResTable_config
- SCREENWIDTH_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- screenWidthDp - Variable in class org.robolectric.res.android.ResTable_config
- scriptString() - Method in class org.robolectric.res.android.ResTable_config
- scrollBy(int, int) - Method in class org.robolectric.shadows.ShadowView
- scrollTo(int, int) - Method in class org.robolectric.shadows.ShadowView
- scrollToCoordinates - Variable in class org.robolectric.shadows.ShadowView
- sdk - Variable in class org.robolectric.annotation.Config.Builder
- sdk() - Method in class org.robolectric.annotation.Config.Implementation
- sdk() - Method in annotation type org.robolectric.annotation.Config
-
The Android SDK level to emulate.
- Sdk - Class in org.robolectric.pluginapi
-
Represents a unique build of the Android SDK.
- Sdk(int) - Constructor for class org.robolectric.pluginapi.Sdk
- SDK_CUPCAKE - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_DONUT - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_ECLAIR - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_ECLAIR_0_1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_ECLAIR_MR1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_FROYO - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_GINGERBREAD - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_GINGERBREAD_MR1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_HONEYCOMB - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_HONEYCOMB_MR1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_HONEYCOMB_MR2 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_ICE_CREAM_SANDWICH - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_ICE_CREAM_SANDWICH_MR1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_JELLY_BEAN - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_JELLY_BEAN_MR1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_JELLY_BEAN_MR2 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_KITKAT - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_KITKAT_WATCH - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_LOLLIPOP - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_LOLLIPOP_MR1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_MNC - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_NOUGAT - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_NOUGAT_MR1 - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_O - Static variable in class org.robolectric.res.android.ConfigDescription
- SDK_VERSION - org.robolectric.res.android.ResTable_config.Type
- SdkCollection - Class in org.robolectric.plugins
-
Holds and provides details on the list of known SDKs.
- SdkCollection(SdkProvider) - Constructor for class org.robolectric.plugins.SdkCollection
- SdkPicker - Class in org.robolectric
-
Deprecated.use
DefaultSdkPicker
instead. - SdkPicker - Interface in org.robolectric.pluginapi
- SdkPicker(SdkCollection, Properties) - Constructor for class org.robolectric.SdkPicker
-
Deprecated.
- SdkProvider - Interface in org.robolectric.pluginapi
-
A provider of known instances of
Sdk
. - sdkRange(int, int) - Method in class org.robolectric.plugins.DefaultSdkPicker
- SdkSandboxClassLoader(InstrumentationConfiguration, Sdk, ClassInstrumentor) - Constructor for class org.robolectric.internal.AndroidSandbox.SdkSandboxClassLoader
- SdkStore - Class in org.robolectric.annotation.processing.validator
-
Encapsulates a collection of Android framework jars.
- SdkStore(String) - Constructor for class org.robolectric.annotation.processing.validator.SdkStore
- sdkVersion - Variable in class org.robolectric.res.android.ResTable_config
- SDKVERSION_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- seek(int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- seek(int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- seek(long, int) - Method in class org.robolectric.res.android.Asset
- SEEK_CUR - Static variable in class org.robolectric.res.android.Asset
- SEEK_END - Static variable in class org.robolectric.res.android.Asset
- SEEK_SET - Static variable in class org.robolectric.res.android.Asset
- seekAsset(int, long, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- seekAsset(int, long, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- seekAsset(long, long, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- seekAsset(long, long, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- seekTo(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates seeking to specified position.
- seekTo(int) - Method in class org.robolectric.shadows.ShadowVideoView
- seekTo(long, int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- selection - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- selectionArgs - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- selectionEnd - Variable in class org.robolectric.shadows.ShadowTextView
- selectionStart - Variable in class org.robolectric.shadows.ShadowTextView
- selectItemWithText(String) - Method in class org.robolectric.shadows.ShadowAdapterView
- selectSdks(ConfigurationStrategy.Configuration, UsesSdk) - Method in interface org.robolectric.pluginapi.SdkPicker
- selectSdks(ConfigurationStrategy.Configuration, UsesSdk) - Method in class org.robolectric.plugins.DefaultSdkPicker
-
Enumerate the SDKs to be used for this test.
- selectTrack(int) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- send() - Method in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- send() - Method in class org.robolectric.shadows.ShadowPendingIntent
- send(int) - Method in class org.robolectric.shadows.ShadowPendingIntent
- send(int, PendingIntent.OnFinished, Handler) - Method in class org.robolectric.shadows.ShadowPendingIntent
- send(int, Bundle) - Method in class org.robolectric.shadows.ShadowResultReceiver
- send(Context, int, Intent) - Method in class org.robolectric.shadows.ShadowPendingIntent
- send(Context, int, Intent, PendingIntent.OnFinished, Handler) - Method in class org.robolectric.shadows.ShadowPendingIntent
- send(Context, int, Intent, PendingIntent.OnFinished, Handler, String) - Method in class org.robolectric.shadows.ShadowPendingIntent
- send(Context, int, Intent, PendingIntent.OnFinished, Handler, String, Bundle) - Method in class org.robolectric.shadows.ShadowPendingIntent
- send(Message) - Method in class org.robolectric.shadows.ShadowMessenger
- sendAccessibilityEvent(AccessibilityEvent) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- sendAppPrivateCommand(View, String, Bundle) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- sendBroadcast(Intent) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendBroadcast(Intent, String) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendBroadcastAsUser(Intent, UserHandle) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendBroadcastAsUser(Intent, UserHandle, String) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendConnectionEvent(String, Bundle) - Method in class org.robolectric.shadows.ShadowConnection
-
Records the event sent through sendConnectionEvent to be accessed later by tests.
- sendDataMessage(String, String, short, byte[], PendingIntent, PendingIntent) - Method in class org.robolectric.shadows.ShadowSmsManager
- sendDialerSpecialCode(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Implementation for
TelephonyManager.sendDialerSpecialCode(String)
. - sendGnssAntennaInfo(List<GnssAntennaInfo>) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Use
ShadowLocationManager.simulateGnssAntennaInfo(List)
instead. - sendGnssMeasurementsEvent(GnssMeasurementsEvent) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.
- sendGnssStatus(GnssStatus) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Use
ShadowLocationManager.simulateGnssStatus(GnssStatus)
instead. - sendIntent(Context, int, Intent, IntentSender.OnFinished, Handler, String) - Method in class org.robolectric.fakes.RoboIntentSender
- sendMessageToNanoApp(NanoAppMessage) - Method in class org.robolectric.shadows.ShadowContextHubClient
- sendMultimediaMessage(Context, Uri, String, Bundle, PendingIntent) - Method in class org.robolectric.shadows.ShadowSmsManager
- sendMultimediaMessage(Context, Uri, String, Bundle, PendingIntent, long) - Method in class org.robolectric.shadows.ShadowSmsManager
- SendMultimediaMessageParams(Uri, String, Bundle, PendingIntent, long) - Constructor for class org.robolectric.shadows.ShadowSmsManager.SendMultimediaMessageParams
- sendMultipartTextMessage(String, String, ArrayList<String>, ArrayList<PendingIntent>, ArrayList<PendingIntent>) - Method in class org.robolectric.shadows.ShadowSmsManager
- sendMultipartTextMessage(String, String, List<String>, List<PendingIntent>, List<PendingIntent>, long) - Method in class org.robolectric.shadows.ShadowSmsManager
- sendNmeaMessage(String, long) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.
- sendOrderedBroadcast(Intent, String) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, int, String, Bundle) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendOrderedBroadcastAsUser(Intent, UserHandle, String, int, Bundle, BroadcastReceiver, Handler, int, String, Bundle) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendOrderedBroadcastAsUser(Intent, UserHandle, String, BroadcastReceiver, Handler, int, String, Bundle) - Method in class org.robolectric.shadows.ShadowContextImpl
-
Allows the test to query for the broadcasts for specific users, for everything else behaves as
ShadowContextImpl.sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)
. - sendQuietModeBroadcast(String, UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
-
If the current application has the necessary rights, it will receive the background action too.
- sendRttRequest() - Method in class org.robolectric.shadows.ShadowCall
- sendSensorEventToListeners(SensorEvent) - Method in class org.robolectric.shadows.ShadowSensorManager
-
Propagates the
event
to all registered listeners. - sendStickyBroadcast(Intent) - Method in class org.robolectric.shadows.ShadowContextImpl
- sendTextMessage(String, String, String, PendingIntent, PendingIntent) - Method in class org.robolectric.shadows.ShadowSmsManager
- sendTextMessage(String, String, String, PendingIntent, PendingIntent, long) - Method in class org.robolectric.shadows.ShadowSmsManager
- sendVendorSpecificResultCode(BluetoothDevice, String, String) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
- sendVisualVoicemailSms(String, int, String, PendingIntent) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- sendWalletServiceEvent(WalletServiceEvent) - Method in class org.robolectric.shadows.ShadowQuickAccessWalletService
-
Capture events sent by the service to SysUI
- sendWallpaperCommand(IBinder, String, int, int, int, Bundle) - Method in class org.robolectric.shadows.ShadowWallpaperManager
- SENTINEL_BAG_SET - Static variable in class org.robolectric.res.android.ResTable
- seqNum - Variable in class org.robolectric.shadows.ShadowWifiManager.WifiUsabilityScore
- ServiceController<T extends Service> - Class in org.robolectric.android.controller
- ServiceData - Class in org.robolectric.manifest
-
Holds parsed service data from manifest.
- ServiceData(Map<String, String>, MetaData, List<IntentFilterData>) - Constructor for class org.robolectric.manifest.ServiceData
- ServiceLoaderGenerator - Class in org.robolectric.annotation.processing.generator
-
Generator that creates the service loader metadata for a shadow package.
- ServiceLoaderGenerator(ProcessingEnvironment, String) - Constructor for class org.robolectric.annotation.processing.generator.ServiceLoaderGenerator
- Session2Token - Class in android.media
-
Temporary replacement for class missing in Android Q Preview 1.
- Session2Token() - Constructor for class android.media.Session2Token
- set(int, int, int) - Method in class org.robolectric.shadows.ShadowTime
- set(int, int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowTime
- set(int, long, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- set(int, long, String, AlarmManager.OnAlarmListener, Handler) - Method in class org.robolectric.shadows.ShadowAlarmManager
- set(long) - Method in class org.robolectric.shadows.ShadowTime
- set(Matrix) - Method in class org.robolectric.shadows.ShadowMatrix
- set(Path) - Method in class org.robolectric.shadows.ShadowPath
- set(CameraCharacteristics.Key<T>, Object) - Method in class org.robolectric.shadows.ShadowCameraCharacteristics
-
Sets the value for a given key.
- set(CaptureRequest.Key<T>, T) - Method in class org.robolectric.shadows.ShadowCaptureRequestBuilder
-
Original implementation would store its state in a local CameraMetadataNative object.
- set(CaptureResult.Key<T>, T) - Method in class org.robolectric.shadows.ShadowCaptureResult
-
Sets the value for a given key.
- set(Time) - Method in class org.robolectric.shadows.ShadowTime
- set(String, String) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- set(T) - Method in class org.robolectric.res.android.Ref
- set(T) - Method in class org.robolectric.util.SoftThreadLocal
- set24HourTimeFormat(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
-
Sets the value of the
Settings.System.TIME_12_24
setting. - setAcceptCookie(boolean) - Method in class android.webkit.RoboCookieManager
- setAcceptFileSchemeCookiesImpl(boolean) - Method in class android.webkit.RoboCookieManager
- setAcceptThirdPartyCookies(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setAcceptThirdPartyCookies(WebView, boolean) - Method in class android.webkit.RoboCookieManager
- setAccessibilityButtonSupported(boolean) - Static method in class org.robolectric.shadows.ShadowAccessibilityManager
-
Sets that the system navigation area is supported accessibility button; controls the return value of
AccessibilityManager.isAccessibilityButtonSupported()
. - setAccessibilityFocused(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setAccessibilityServiceList(List<ServiceInfo>) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- setAccessibilityWindowInfo(AccessibilityWindowInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setAccessWifiStatePermission(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
- setAccountManagementDisabled(ComponentName, String, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setAction(int) - Method in class org.robolectric.shadows.DragEventBuilder
- setActionProvider(ActionProvider) - Method in class org.robolectric.fakes.RoboMenuItem
- setActionView(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setActionView(View) - Method in class org.robolectric.fakes.RoboMenuItem
- setActive(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setActiveAdmin(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the given
componentName
as one of the active admins. - setActiveDevice(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- setActiveDevice(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
- setActiveNetworkInfo(NetworkInfo) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- setActivePasswordSufficient(boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets if the password meets the current requirements.
- setActivePlaybackConfigurationsFor(List<AudioAttributes>) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Sets active playback configurations that will be served by
AudioManager.getActivePlaybackConfigurations()
. - setActivePlaybackConfigurationsFor(List<AudioAttributes>, boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Same as
ShadowAudioManager.setActivePlaybackConfigurationsFor(List)
, but also notifies callbacks if notifyCallbackListeners is true. - setActiveRecordingConfigurations(List<AudioRecordingConfiguration>, boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Sets active recording configurations that will be served by
AudioManager.getActiveRecordingConfigurations()
and notifies callback listeners about that change. - setActiveScorer(String) - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
- setActiveService(ComponentName) - Static method in class org.robolectric.shadows.ShadowVoiceInteractionService
-
Sets return value for
ShadowVoiceInteractionService.isActiveService(Context context, ComponentName componentName)
method. - setActiveSubscriptionInfoList(List<SubscriptionInfo>) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Sets the active list of
SubscriptionInfo
. - setActiveSubscriptionInfos(SubscriptionInfo...) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Sets the active list of
SubscriptionInfo
. - setActivityThread(Object) - Static method in class org.robolectric.RuntimeEnvironment
- setActualDefaultRingtoneUri(Context, int, Uri) - Static method in class org.robolectric.shadows.ShadowRingtoneManager
- setAdaptivePowerSaveEnabled(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets whether Adaptive Power Saver is enabled.
- setAdbEnabled(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
-
Sets the value of the
Settings.Global.ADB_ENABLED
setting orSettings.Secure.ADB_ENABLED
depending on API level. - setAddress(String) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setAffiliationIds(ComponentName, Set<String>) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setAirplaneMode(boolean) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Sets the value for enabling/disabling airplane mode
- setAirplaneMode(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
-
Sets the value of the
Settings.System.AIRPLANE_MODE_ON
setting. - setAlarmClock(AlarmManager.AlarmClockInfo, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setAlias(String) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets the alias name of the device.
- setAllCellInfo(List<CellInfo>) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setAllowContentAccess(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setAllowedToBindAppWidgets(boolean) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- setAllowFileAccess(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setAllowFileAccessFromFileURLs(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setAllowInvalidImageData(boolean) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
-
Whether the BitmapFactory.decode methods, such as
BitmapFactory.decodeStream(InputStream, Rect, Options)
should allow invalid image data and always return Bitmap objects. - setAllowMassStorage(boolean) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setAllowsSendVendorSpecificResultCode(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
- setAllowUniversalAccessFromFileURLs(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setAlpha(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setAlpha(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setAlpha(int) - Method in class org.robolectric.shadows.ShadowPaint
- setAlphabeticShortcut(char) - Method in class org.robolectric.fakes.RoboMenuItem
- setAlwaysRecreateViewsDuringUpdate(boolean) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Enables testing of widget behavior when all of the views are recreated on every update.
- setAmbientContextServiceStatus(Integer) - Method in class org.robolectric.shadows.ShadowAmbientContextManager
-
Sets a
status
that will be consumed by theconsumer
which is passed inShadowAmbientContextManager.queryAmbientContextServiceStatus(Set, Executor, Consumer)
orShadowAmbientContextManager.registerObserver(AmbientContextEventRequest, PendingIntent, Executor, Consumer)
. - setAmbientDisplayAvailable(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets the value returned by
ShadowPowerManager.isAmbientDisplayAvailable()
. - setAnchor(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setAndAllowWhileIdle(int, long, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setAndroidFrameworkJarPath(Path) - Static method in class org.robolectric.RuntimeEnvironment
- setAnimation(Animation) - Method in class org.robolectric.shadows.ShadowView
- setAnimationScale(float) - Method in class org.robolectric.shadows.ShadowUiAutomation
- setAnimationScaleCompat(float) - Static method in class org.robolectric.shadows.ShadowUiAutomation
-
Sets the animation scale, see
UiAutomation.setAnimationScale(float)
. - setAntiAlias(boolean) - Method in class org.robolectric.shadows.ShadowPaint
- setApkAssets(Object, Object) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- SetApkAssets(List<CppApkAssets>, boolean) - Method in class org.robolectric.res.android.CppAssetManager2
- setApnSetting(ApnSetting) - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- setAppCacheEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setAppCacheMaxSize(long) - Method in class org.robolectric.fakes.RoboWebSettings
- setAppCachePath(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setAppInfo(ApplicationInfo) - Method in interface org.robolectric.shadows.ShadowActivityThread._AppBindData_
- setApplication(Application) - Method in interface org.robolectric.shadows._Activity_
- setApplication(Application) - Method in class org.robolectric.shadows.ShadowActivity
- setApplication(Application) - Method in interface org.robolectric.shadows.ShadowLoadedApk._LoadedApk_
- setApplication(Class<? extends Application>) - Method in class org.robolectric.annotation.Config.Builder
- setApplicationEnabledSetting(String, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setApplicationHidden(ComponentName, String, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setApplicationHiddenSettingAsUser(String, boolean, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setApplicationIcon(String, Drawable) - Method in class org.robolectric.shadows.ShadowPackageManager
- setApplicationInfo(ApplicationInfo) - Static method in class org.robolectric.shadows.ShadowActivityThread
-
Deprecated.do not use
- setApplicationLocales(String, LocaleList) - Method in class org.robolectric.shadows.ShadowLocaleManager
-
Stores the passed locales for the given package in-memory.
- setApplicationNightMode(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- setApplicationRestrictions(ComponentName, String, Bundle) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setApplicationRestrictions(Bundle) - Method in class org.robolectric.shadows.ShadowRestrictionsManager
-
Sets the application restrictions as returned by
RestrictionsManager.getApplicationRestrictions()
. - setApplicationRestrictions(String, Bundle) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the application restrictions of the
packageName
. - setApplicationRestrictions(String, Bundle) - Method in class org.robolectric.shadows.ShadowUserManager
-
Sets the value returned by
UserManager.getApplicationRestrictions(String)
. - setApplicationSupplier(Supplier<Application>) - Static method in class org.robolectric.RuntimeEnvironment
-
internal use only
- setAppPrivateCommandListener(ShadowInputMethodManager.PrivateCommandListener) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- setAppResourceTable(ResourceTable) - Static method in class org.robolectric.RuntimeEnvironment
- setAppSaturationLevel(String, int) - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- setAppStandbyBucket(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setAppStandbyBucket(String, int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Sets the standby bucket of the specified app.
- setAppStandbyBuckets(Map<String, Integer>) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- setAppTasks(List<ActivityManager.AppTask>) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Sets the values to be returned by
ShadowActivityManager.getAppTasks()
. - setAppTracingAllowed(boolean) - Static method in class org.robolectric.shadows.ShadowTrace
- setAppWidget(int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetHostView
- setAppWidgetIdToAllocate(int) - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- setAssetDir(String) - Method in class org.robolectric.annotation.Config.Builder
- setAttachedUsbAccessory(UsbAccessory) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Sets the currently attached Usb accessory returned in #getAccessoryList.
- setAudioAttributes(AudioAttributes) - Method in class org.robolectric.shadows.PlaybackInfoBuilder
- setAudioAttributes(AudioAttributes) - Method in class org.robolectric.shadows.VibrationAttributesBuilder
- setAudioChannels(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setAudioEncoder(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setAudioEncodingBitRate(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setAudioRoute(int) - Method in class org.robolectric.shadows.ShadowInCallAdapter
- setAudioRoute(int) - Method in class org.robolectric.shadows.ShadowInCallService
- setAudioSamplingRate(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setAudioSessionId(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setAudioSource(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setAudioStreamType(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setAuthenticationErrorOnNextResponse(boolean) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Sets authenticator exception, which will be thrown by
ShadowAccountManager.getAccountsByTypeAndFeatures(java.lang.String, java.lang.String[], android.accounts.AccountManagerCallback<android.accounts.Account[]>, android.os.Handler)
. - setAuthenticatorType(int) - Method in class org.robolectric.shadows.ShadowBiometricManager
-
Allow different result
ShadowBiometricManager.canAuthenticate(int)
, result will depend on the combination as described here For example, you can set the valueBiometricManager.Authenticators.BIOMETRIC_STRONG
to allowShadowBiometricManager.canAuthenticate(int)
returnBiometricManager.BIOMETRIC_SUCCESS
when you passedBiometricManager.Authenticators.BIOMETRIC_WEAK
as parameter inShadowBiometricManager.canAuthenticate(int)
- setAuthToken(Account, String, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- setAutofillServiceComponentName(ComponentName) - Method in class org.robolectric.shadows.ShadowAutofillManager
-
Overrides the component name of the autofill service enabled for the current user.
- setAutofillSupported(boolean) - Method in class org.robolectric.shadows.ShadowAutofillManager
-
Overrides the autofill supported state for the current device and current user.
- setAutoRevokeWhitelisted(boolean) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Set value to be returned by
PackageManager.isAutoRevokeWhitelisted(java.lang.String)
. - setAutoTimeRequired(ComponentName, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setAutoTimeZoneEnabled(ComponentName, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setAvailable(boolean) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Sets the availability of the wifiAwareManager.
- setAvailableStatus(boolean) - Method in class org.robolectric.shadows.ShadowNetworkInfo
-
Sets up the return value of
ShadowNetworkInfo.isAvailable()
. - setAvailableSubscriptionInfoList(List<SubscriptionInfo>) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Sets the active list of
SubscriptionInfo
. - setAvailableSubscriptionInfos(SubscriptionInfo...) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Sets the active list of
SubscriptionInfo
. - setAveragingWindow(long) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- setAzimuth(float) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets the
azimuth
of the satellite, in degrees. - setBackgroundColor(int) - Method in class org.robolectric.shadows.ShadowWebView
-
Sets the
Color
int that should be returned fromShadowWebView.getBackgroundColor()
. - setBackgroundDataSetting(boolean) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- setBackgroundDrawable(Drawable) - Method in class org.robolectric.shadows.ShadowPhoneWindow
- setBackgroundDrawable(Drawable) - Method in class org.robolectric.shadows.ShadowPhoneWindowFor22
- setBackgroundRestricted(boolean) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Sets the background restriction state reported by
ActivityManager.isBackgroundRestricted()
, but has no effect otherwise. - setBackupEnabled(boolean) - Method in class org.robolectric.shadows.ShadowBackupManager
- setBaseActivity(ComponentName) - Method in class org.robolectric.shadows.RunningTaskInfoBuilder
- setBatteryDischargePrediction(Duration, boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Differs from real implementation as device charging state is not checked.
- setBatteryLevel(float) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setBatteryLevel(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- setBcp47Locale(String) - Method in class org.robolectric.res.android.ResTable_config
- setBindDeviceAdminTargetUsers(List<UserHandle>) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Set the list of target users that the calling device or profile owner can use when calling
ShadowDevicePolicyManager.bindDeviceAdminServiceAsUser(android.content.ComponentName, android.content.Intent, android.content.ServiceConnection, int, android.os.UserHandle)
. - setBindServiceCallsOnServiceConnectedDirectly(boolean) - Method in class org.robolectric.shadows.ShadowApplication
-
Configures the ShadowApplication so that calls to bindService will call ServiceConnection#onServiceConnected before returning.
- setBitmap(Bitmap) - Method in class org.robolectric.shadows.ShadowCanvas
- setBitmap(Bitmap, Rect, boolean, int) - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Caches
fullImage
in the memory based onwhich
. - setBleScanAlwaysAvailable(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Sets the value for
ShadowBluetoothAdapter.isBleScanAlwaysAvailable
. - setBlockNetworkImage(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setBlockNetworkLoads(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setBluetoothA2dpOn(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setBluetoothClass(BluetoothClass) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets the return value for
BluetoothDevice.getBluetoothClass()
. - setBluetoothLeAdvertiser(BluetoothLeAdvertiser) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Deprecated.use real BluetoothLeAdvertiser instead
- setBluetoothScoOn(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setBondedDevices(Set<BluetoothDevice>) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setBondState(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets value of bond state for
BluetoothDevice.getBondState()
. - setBottom(int) - Method in class org.robolectric.shadows.ShadowRenderNode
- setBottom(int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setBoundApplication(Object) - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- setBoundsInScreen(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setBrand(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.BRAND
field. - setBrightness(float) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setBrightnessConfiguration(Object) - Method in class org.robolectric.shadows.ShadowDisplayManager
- setBrightnessConfigurationForUser(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowDisplayManager
- setBrightnessConfigurationForUser(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- setBrightnessEvents(List<BrightnessChangeEvent>) - Static method in class org.robolectric.shadows.ShadowDisplayManager
-
Set the slider events the system has seen.
- setBSSID(String) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setBufferLengthMillis(int, int) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- setBuiltInZoomControls(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setButtonDrawable(int) - Method in class org.robolectric.shadows.ShadowCompoundButton
- setButtonDrawable(Drawable) - Method in class org.robolectric.shadows.ShadowCompoundButton
- setBytesSoFar(long) - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- setCachedInstance(Object) - Method in interface org.robolectric.shadows.ShadowSystemServiceRegistry._ServiceFetcherM_
- setCachedInstance(Object) - Method in interface org.robolectric.shadows.ShadowSystemServiceRegistry._ServiceFetcherN_
- setCachedInstance(Object) - Method in interface org.robolectric.shadows.ShadowSystemServiceRegistry._StaticServiceFetcher_
- setCacheMode(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setCallback(RangingSession.Callback) - Method in class org.robolectric.shadows.RangingSessionBuilder
- setCallbackCellInfos(List<CellInfo>) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by calls to
ShadowTelephonyManager.requestCellInfoUpdate(java.lang.Object,java.lang.Object)
. - setCallComposerStatus(int) - Static method in class org.robolectric.shadows.ShadowTelephonyManager
- setCallerAsInstallerForPackage(String) - Method in class org.robolectric.shadows.ShadowLocaleManager
-
Sets the caller as the installer of the given package.
- setCallingActivity(ComponentName) - Method in class org.robolectric.shadows.ShadowActivity
-
Sets the calling activity that will be reflected in
Activity.getCallingActivity()
andActivity.getCallingPackage()
. - setCallingPackage(String) - Method in class org.robolectric.shadows.ShadowActivity
-
Sets the calling package that will be reflected in
Activity.getCallingActivity()
andActivity.getCallingPackage()
. - setCallingPackage(String) - Method in class org.robolectric.shadows.ShadowContentProvider
- setCallingPid(int) - Static method in class org.robolectric.shadows.ShadowBinder
- setCallingUid(int) - Static method in class org.robolectric.shadows.ShadowBinder
- setCallingUserHandle(UserHandle) - Static method in class org.robolectric.shadows.ShadowBinder
-
Configures
Binder.getCallingUserHandle()
to return the specifiedUserHandle
to subsequent callers on *any* thread, for testing purposes. - setCallRequestMode(ShadowTelecomManager.CallRequestMode) - Method in class org.robolectric.shadows.ShadowTelecomManager
- setCallState(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the current call state to the desired state and updates any listeners.
- setCallState(int, String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the current call state with the option to specify an incoming phone number for the CALL_STATE_RINGING state.
- setCamera(Camera) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setCameraDisabled(ComponentName, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setCameraDistance(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setCameraDistance(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setCanAddCall(boolean) - Method in class org.robolectric.shadows.ShadowInCallService
-
Set the value that
canAddCall()
method should return. - setCanAuthenticate(boolean) - Method in class org.robolectric.shadows.ShadowBiometricManager
-
Sets the value
true
to allowShadowBiometricManager.canAuthenticate()
returnBIOMETRIC_SUCCESS
If sets the value tofalse
, result will depend onBiometricManager#hasBiometrics(Context context)
- setCanceledOnTouchOutside(boolean) - Method in class org.robolectric.shadows.ShadowDialog
- setCanDispatchGestures(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityService
-
Sets whether the service is currently able to dispatch gestures.
- setCanDrawOverlays(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
-
Sets the value returned by
ShadowSettings.canDrawOverlays(Context)
. - setCanGoBack(boolean) - Method in class org.robolectric.shadows.ShadowWebView
-
Deprecated.Do not depend on this method as it will be removed in a future update. The preferered method is to populate a fake web history to use for going back.
- setCanNotifyAsPackage(String, boolean) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Sets notification delegate for the package provided.
- setCanRequestPackageInstalls(boolean) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Sets if the
PackageManager
is allowed to request package installs through package installer. - setCanScheduleExactAlarms(boolean) - Static method in class org.robolectric.shadows.ShadowAlarmManager
-
Sets the schedule exact alarm state reported by
AlarmManager.canScheduleExactAlarms()
, but has no effect otherwise. - setCanSwitchUser(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.use
ShadowUserManager.setUserSwitchability(int)
instead - setCapabilities(MediaCodecInfo.CodecCapabilities...) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Sets codec capabilities.
- setCapabilitiesFailureForUri(Uri, ShadowRcsUceAdapter.CapabilityFailureInfo) - Static method in class org.robolectric.shadows.ShadowRcsUceAdapter
- setCapabilitiesForUri(Uri, RcsContactUceCapability) - Static method in class org.robolectric.shadows.ShadowRcsUceAdapter
- setCapabilityState(String, int) - Method in class org.robolectric.shadows.ShadowTimeManager
-
Capabilites are predefined and not controlled by user, so they can't be changed via TimeManager API.
- setCaptivePortalServerUrl(String) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Sets the captive portal URL, which will be returned in
ShadowConnectivityManager.getCaptivePortalServerUrl()
. - setCardId(int) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- setCardId(String) - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
- setCardStateInfo(int) - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
- setCarrierConfig(PersistableBundle) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.getCarrierConfig()
. - setCarrierFrequencyHz(Float) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets the
carrier frequency
of the satellite, in Hz, if present; ifnull
, indicates that the carrier frequencyis not available
. - setCarrierIdFromSimMccMnc(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.getCarrierIdFromSimMccMnc()
. - setCarrierName(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setCarrierPackageNamesForPhone(int, List<String>) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the
packages
for the givenphoneId
. - setCategoryPaymentAllowsForegroundPreference(boolean) - Static method in class org.robolectric.shadows.ShadowCardEmulation
-
Modifies the behavior of
categoryAllowsForegroundPreference(String)
to return the givenvalue
for theCardEmulation.CATEGORY_PAYMENT
. - setCausePackages(List<VersionedPackage>) - Method in class org.robolectric.shadows.RollbackInfoBuilder
-
Sets the cause packages of the rollback.
- setCellLocation(CellLocation) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setCellularDataNetworkType(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setCellularSignalStrengthDb(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setCellularSignalStrengthDbm(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setCenter(float, float, boolean) - Method in class org.robolectric.shadows.ShadowMagnificationController
- setCeSnapshotInodes(SparseLongArray) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Sets ce snapshot inodes.
- setChangingConfigurations(boolean) - Method in interface org.robolectric.shadows._Activity_
- setChannel(NotificationChannel) - Method in class org.robolectric.shadows.ShadowRanking
-
Overrides the return value for
NotificationListenerService.Ranking.getChannel()
. - setCheckable(boolean) - Method in class org.robolectric.fakes.RoboMenuItem
- setChecked(boolean) - Method in class org.robolectric.fakes.RoboMenuItem
- setChipInfos(List<PersistableBundle>) - Method in class org.robolectric.shadows.ShadowUwbManager
-
Sets the list of bundles to be returned by
UwbManager.getChipInfos()
. - setClass(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setClassAttribute(String) - Method in interface org.robolectric.android.AttributeSetBuilder
-
Set the class attribute to the given value.
- setClassAttribute(String) - Method in class org.robolectric.android.AttributeSetBuilderImpl
- setClassLoader(ClassLoader) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- setClipData(ClipData) - Method in class org.robolectric.shadows.DragEventBuilder
- setClipDescription(ClipDescription) - Method in class org.robolectric.shadows.DragEventBuilder
- setClipToOutline(boolean) - Method in class org.robolectric.shadows.ShadowRenderNode
- setClipToOutline(boolean) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setCn0DbHz(float) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Gets the
carrier-to-noise density
of the satellite. - setColor(int) - Method in class org.robolectric.shadows.ShadowGradientDrawable
- setColor(int) - Method in class org.robolectric.shadows.ShadowPaint
- setColorFilter(ColorFilter) - Method in class org.robolectric.shadows.ShadowPaint
- setColorFormats(int[]) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
-
Sets color formats.
- setColorSpace(ColorSpace) - Method in class org.robolectric.shadows.ShadowBitmap
- setColorTemperature(int) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setColorValues(long[], long) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setColumnNames(List<String>) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- setCommittedSessionId(int) - Method in class org.robolectric.shadows.RollbackInfoBuilder
-
Sets the committed session id of the rollback.
- setCommunicationDevice(AudioDeviceInfo) - Method in class org.robolectric.shadows.ShadowAudioManager
- setCompatConfiguration(Configuration) - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- setCompatConfiguration(Configuration) - Method in class org.robolectric.shadows.ShadowActivityThread
-
internal, do not use
- setCompileTimeResourceTable(ResourceTable) - Static method in class org.robolectric.RuntimeEnvironment
- setComponentEnabledSetting(ComponentName, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setComponentNameAndServiceForBindService(ComponentName, IBinder) - Method in class org.robolectric.shadows.ShadowApplication
- setComponentNameAndServiceForBindServiceForIntent(Intent, ComponentName, IBinder) - Method in class org.robolectric.shadows.ShadowApplication
- setCompoundDrawablesWithIntrinsicBounds(int, int, int, int) - Method in class org.robolectric.shadows.ShadowTextView
- setConcat(Matrix, Matrix) - Method in class org.robolectric.shadows.ShadowMatrix
- setConfig(Bitmap.Config) - Method in class org.robolectric.shadows.ShadowBitmap
- setConfigCallbacks(ArrayList<ViewRootImpl.ConfigChangedCallback>) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- setConfigChangeFlags(int) - Method in interface org.robolectric.shadows._Activity_
- setConfigForSubId(int, PersistableBundle) - Method in class org.robolectric.shadows.ShadowCarrierConfigManager
-
Sets that the
config
PersistableBundle for a particularsubId
; controls the return value ofCarrierConfigManager#getConfigForSubId()
. - setConfiguration(int, int, String, int, int, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- setConfiguration(int, int, String, int, int, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- setConfiguration(int, int, String, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- setConfiguration(int, int, String, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- setConfiguration(Configuration) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setConfiguration(ResTable_config, String) - Method in class org.robolectric.res.android.CppAssetManager
- SetConfiguration(ResTable_config) - Method in class org.robolectric.res.android.CppAssetManager2
- setConfiguredApplicationClass(Class<? extends Application>) - Static method in class org.robolectric.RuntimeEnvironment
- setConfirmFactoryResetCredentialIntent(Intent) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests on Android >= O MR1, sets the value to be returned by
ShadowKeyguardManager.createConfirmFactoryResetCredentialIntent(CharSequence,CharSequence,CharSequence)
. - setConnectedPort(RoboWebMessagePort) - Method in class org.robolectric.fakes.RoboWebMessagePort
-
Links another port to this port.
- setConnectionInfo(WifiInfo) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Sets the connection info as the provided
WifiInfo
. - setConnectionStatus(boolean) - Method in class org.robolectric.shadows.ShadowNetworkInfo
-
Deprecated.
- setConnectionStatus(NetworkInfo.State) - Method in class org.robolectric.shadows.ShadowNetworkInfo
-
Sets up the return value of
ShadowNetworkInfo.getState()
. - setConnectionType(int) - Method in class org.robolectric.shadows.ShadowNetworkInfo
-
Sets up the return value of
ShadowNetworkInfo.getType()
. - setConstellation(int) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets the
GNSS constellation
of the satellite. - setContent(int) - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- setContent(Intent) - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- setContent(TabHost.TabContentFactory) - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- setContentCaptureConditions(Set<ContentCaptureCondition>) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
-
Configures the set of
ContentCaptureCondition
that will be returned when callingShadowContentCaptureManager.getContentCaptureConditions()
. - setContentCaptureEnabled(boolean) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
- setContentProviderResult(ContentProviderResult[]) - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.
- setConvexPath(Path) - Method in class org.robolectric.shadows.ShadowOutline
- setCookie(Integer) - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection.Builder
- setCookie(String, String) - Method in class android.webkit.RoboCookieManager
- setCookie(String, String, ValueCallback<Boolean>) - Method in class android.webkit.RoboCookieManager
- setCounter(String, long) - Static method in class org.robolectric.shadows.ShadowTrace
- setCountryIso(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setCreatedBond(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets whether this device has been bonded with.
- setCreatedFromResId(int, String) - Method in class org.robolectric.shadows.ShadowBitmap
- setCreatedFromResId(int, String) - Method in class org.robolectric.shadows.ShadowBitmapDrawable
- setCreatedFromResId(int, String) - Method in class org.robolectric.shadows.ShadowDrawable
- setCreateListener(ShadowMediaPlayer.CreateListener) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
-
Sets a listener that is invoked whenever a new shadowed
MediaPlayer
object is constructed. - setCreateShouldThrow(ErrnoException) - Static method in class org.robolectric.shadows.ShadowSharedMemory
-
Causes subsequent calls to {@link SharedMemory#create)} to throw the specified exception, if non-null.
- setCreatorPackage(String) - Method in class org.robolectric.shadows.ShadowPendingIntent
- setCreatorUid(int) - Method in class org.robolectric.shadows.ShadowPendingIntent
- setCurrentActivity(Activity) - Method in class org.robolectric.shadows.ShadowActivityGroup
- setCurrentAppStandbyBucket(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Sets the current app's standby bucket
- setCurrentFocus(View) - Method in class org.robolectric.shadows.ShadowActivity
- setCurrentInputMethodSubtype(InputMethodSubtype) - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Sets the current
InputMethodSubtype
that will be returned byShadowInputMethodManager.getCurrentInputMethodSubtype()
. - setCurrentInstructionSet(String) - Static method in class org.robolectric.shadows.ShadowVMRuntime
-
Sets the instruction set of the current runtime.
- setCurrentPhoneType(int, int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the phone type for the given
subId
. - setCurrentPosition(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Sets the current position, bypassing the normal state checking.
- setCurrentTab(int) - Method in class org.robolectric.shadows.ShadowTabHost
- setCurrentTabByTag(String) - Method in class org.robolectric.shadows.ShadowTabHost
- setCurrentThermalStatus(int) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets the value returned by
ShadowPowerManager.getCurrentThermalStatus()
. - setCurrentTimeMillis(long) - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- setCurrentTimeMillis(long) - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
-
Sets the current wall time.
- setCurrentVolume(int) - Method in class org.robolectric.shadows.PlaybackInfoBuilder
- setCurrentWebViewPackage(PackageInfo) - Static method in class org.robolectric.shadows.ShadowWebView
-
Sets the value to return from
#getCurrentWebviewPackage()
. - setCursiveFontFamily(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setCursor(Uri, BaseCursor) - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.This method does not work with
ContentResolver.acquireContentProviderClient(android.net.Uri)
- setCursor(BaseCursor) - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.This method affects all calls, and does not work with
ContentResolver.acquireContentProviderClient(android.net.Uri)
- setCustomTitle(View) - Method in class org.robolectric.shadows.ShadowAlertController
- setData(long, SQLiteStatement) - Static method in class org.robolectric.shadows.ShadowLegacyCursorWindow
- setDatabaseEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setDatabasePath(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setDataCaptureListener(Visualizer.OnDataCaptureListener, int, boolean, boolean) - Method in class org.robolectric.shadows.ShadowVisualizer
- setDataEnabled(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Implementation for
TelephonyManager.setDataEnabled(boolean)
. - setDataFailCause(int) - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- setDataNetworkType(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by calls to
ShadowTelephonyManager.getDataNetworkType()
. - setDataRoaming(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setDataShareErrorCode(int) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
-
Configures
ContentCaptureManager.DataShareError
to be raised on calls toShadowContentCaptureManager.shareData(DataShareRequest, Executor, DataShareWriteAdapter)
. - setDataSource(Context, Uri) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- setDataSource(Context, Uri) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(Context, Uri, Map<String, String>) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- setDataSource(Context, Uri, Map<String, String>) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(Context, Uri, Map<String, String>, List<HttpCookie>) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(AssetFileDescriptor) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- setDataSource(AssetFileDescriptor) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(MediaDataSource) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- setDataSource(MediaDataSource) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- setDataSource(MediaDataSource) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(FileDescriptor) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- setDataSource(FileDescriptor, long, long) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- setDataSource(FileDescriptor, long, long) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- setDataSource(FileDescriptor, long, long) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(String) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- setDataSource(String) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- setDataSource(String) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(String, Map<String, String>) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- setDataSource(String, Map<String, String>) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- setDataSource(String, Map<String, String>) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setDataSource(DataSource) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- setDataSource(DataSource) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Common code path for all
setDataSource()
implementations. - setDataState(int) - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- setDataState(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the data state returned by
ShadowTelephonyManager.getDataState()
. - setDecor(View) - Method in interface org.robolectric.shadows._Activity_
- setDefaultBrightnessConfiguration(Object) - Static method in class org.robolectric.shadows.ShadowDisplayManager
-
Set the default brightness configuration for this device.
- setDefaultBrowserPackageNameAsUser(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setDefaultDataSubscriptionId(int) - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
- setDefaultDevicesForAttributes(ImmutableList<Object>) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Sets the devices to use as default for all audio streams.
- setDefaultDialer(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Deprecated.API deprecated since Q, for testing, use setDefaultDialerPackage instead
- setDefaultDialerPackage(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Set returned value of
ShadowTelecomManager.getDefaultDialerPackage()
. - setDefaultFingerprints(int) - Method in class org.robolectric.shadows.ShadowFingerprintManager
-
Enrolls the given number of fingerprints, which will be returned in
ShadowFingerprintManager.getEnrolledFingerprints()
. - setDefaultFixedFontSize(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setDefaultFontSize(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setDefaultHttpResponse(int, String) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- setDefaultHttpResponse(int, String) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- setDefaultHttpResponse(HttpResponse) - Static method in class org.robolectric.shadows.httpclient.FakeHttp
- setDefaultHttpResponse(HttpResponse) - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- setDefaultIntrinsicHeight(int) - Static method in class org.robolectric.shadows.ShadowDrawable
- setDefaultIntrinsicWidth(int) - Static method in class org.robolectric.shadows.ShadowDrawable
- setDefaultJournalMode(String) - Static method in class org.robolectric.shadows.ShadowSQLiteConnection
-
Sets the default journal mode for SQLite databases.
- setDefaultKeyMode(int) - Method in class org.robolectric.shadows.ShadowActivity
- setDefaultNetworkActive(boolean) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Sets the active state of the default network.
- setDefaultOutgoingPhoneAccount(String, PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Set default outgoing phone account to be returned from
ShadowTelecomManager.getDefaultOutgoingPhoneAccount(String)
for correspondinguriScheme
. - setDefaultServiceForCategory(ComponentName, String) - Static method in class org.robolectric.shadows.ShadowCardEmulation
-
Modifies the behavior of
ShadowCardEmulation.isDefaultServiceForCategory(ComponentName, String)
to returntrue
for the given inputs. - setDefaultSmsPackage(String) - Static method in class org.robolectric.shadows.ShadowTelephony.ShadowSms
-
Override the package name returned from calling
Telephony.Sms.getDefaultSmsPackage(Context)
. - setDefaultSmsSubscriptionId(int) - Static method in class org.robolectric.shadows.ShadowSmsManager
-
Sets the value to be returned by
ShadowSmsManager.getDefaultSmsSubscriptionId()
. - setDefaultSmsSubscriptionId(int) - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
- setDefaultSubscriptionId(int) - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
-
Sets the value that will be returned by
ShadowSubscriptionManager.getDefaultSubscriptionId()
. - setDefaultSyncMode(String) - Static method in class org.robolectric.shadows.ShadowSQLiteConnection
-
Sets the default sync mode for SQLite databases.
- setDefaultTextEncodingName(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setDefaultUserAgent(String) - Static method in class org.robolectric.shadows.ShadowWebSettings
-
Sets the default user agent for the WebView.
- setDefaultVoiceSubscriptionId(int) - Static method in class org.robolectric.shadows.ShadowSubscriptionManager
- setDefaultZoom(WebSettings.ZoomDensity) - Method in class org.robolectric.fakes.RoboWebSettings
- setDefiningUid(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setDensity(float) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the density for this display.
- setDensityDpi(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the density for this display.
- setDescription(String) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setDescription(String) - Method in class org.robolectric.shadows.ShadowBitmap
- setDestinationFromBase(File, String) - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- setDestinationInExternalPublicDir(String, String) - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- setDetailedState(NetworkInfo.DetailedState) - Method in class org.robolectric.shadows.ShadowNetworkInfo
- setDevice(InputDevice) - Method in class org.robolectric.shadows.ShadowInputEvent
- setDevice(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.DEVICE
field. - setDeviceConfigurationInfo(ConfigurationInfo) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Sets the
ConfigurationInfo
returned byActivityManager.getDeviceConfigurationInfo()
, but has no effect otherwise. - setDeviceId(int, String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.getDeviceId(int)
. - setDeviceId(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setDeviceName(String) - Method in class org.robolectric.shadows.ShadowInputDevice
- setDeviceOwner(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the admin as active admin and device owner.
- setDevicePolicyManagementRoleHolderPackage(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the package name of the device policy management role holder.
- setDeviceProvisioned(boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets whether the device is provisioned.
- setDeviceProvisioningConfigApplied() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setDevicesForAttributes(AudioAttributes, ImmutableList<Object>) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Sets the devices associated with the given audio stream.
- setDhcpInfo(DhcpInfo) - Method in class org.robolectric.shadows.ShadowWifiManager
- setDidRequestLayout(boolean) - Method in class org.robolectric.shadows.ShadowView
- setDisabledActionModeMenuItems(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setDisabledForSetup(boolean) - Method in class org.robolectric.shadows.ShadowStatusBarManager
- setDiscoverableTimeout(int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setDiscoverableTimeout(Duration) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setDiscoverySessionToPublish(PublishDiscoverySession) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Sets parameter to pass to DiscoverySessionCallback#onPublishStarted(PublishDiscoverySession)
- setDiscoverySessionToSubscribe(SubscribeDiscoverySession) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Sets param to pass to DiscoverySessionCallback#onSubscribeStarted(SubscribeDiscoverySession)
- setDisplayConfiguration(Configuration, DisplayMetrics) - Static method in class org.robolectric.android.Bootstrap
-
internal only
- setDisplayCutout(Object) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the display cutout for this display.
- setDisplayedChild(int) - Method in class org.robolectric.shadows.ShadowViewAnimator
- setDisplayedValues(String[]) - Method in class org.robolectric.shadows.ShadowNumberPicker
- setDisplayHdrCapabilities(int, float, float, float, int...) - Method in class org.robolectric.shadows.ShadowDisplay
-
Set HDR capabilities to the display sourced with displayId.
- setDisplayId(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Deprecated.This method is deprecated and will be removed in Robolectric 3.7.
- setDisplayName(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setDisplayOrientation(int) - Method in class org.robolectric.shadows.ShadowCamera
- setDisplayZoomControls(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setDistanceStandardDeviation(int) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setDistractingPackageRestrictions(String[], int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setDither(boolean) - Method in class org.robolectric.shadows.ShadowPaint
- setDocumentation(String) - Method in class org.robolectric.annotation.processing.DocumentedElement
- setDomStorageEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setDoNotInstrumentClassRegex(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration.Builder
- setDownloadListener(DownloadListener) - Method in class org.robolectric.shadows.ShadowWebView
- setDuration(int) - Method in class org.robolectric.shadows.ShadowToast
- setDuration(int) - Method in class org.robolectric.shadows.ShadowVideoView
- setDurationScale(float) - Static method in class org.robolectric.shadows.ShadowValueAnimator
-
Sets the duration scale for value animator.
- setDynamicBufferSupport(int) - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- setDynamicShortcuts(List<ShortcutInfo>) - Method in class org.robolectric.shadows.ShadowShortcutManager
- setEid(String) - Method in class org.robolectric.shadows.ShadowEuiccManager
-
Set the value to be returned by
EuiccManager.getEid()
. - setEid(String) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- setElevation(float) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets the
elevation
of the satellite, in degrees. - setElevation(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setElevation(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setEnabled(boolean) - Method in class org.robolectric.fakes.RoboMenuItem
- setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowAutofillManager
-
Overrides the autofill enabled state for the current user.
- setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Deprecated.
- setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowCaptioningManager
-
Sets the value to be returned by
CaptioningManager.isEnabled()
- setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowNfcAdapter
- setEnabled(boolean) - Static method in class org.robolectric.shadows.ShadowTrace
-
Sets the systrace to enabled or disabled.
- setEnabled(boolean) - Method in class org.robolectric.shadows.ShadowUwbAdapterStateListener
-
Sets a local variable that stores the adapter state, which can be retrieved with
ShadowUwbAdapterStateListener.getAdapterState()
. - setEnabled(boolean) - Method in class org.robolectric.util.PerfStatsCollector
-
If not enabled, don't bother retaining perf stats, saving some memory and CPU cycles.
- setEnabledAccessibilityServiceList(List<AccessibilityServiceInfo>) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- setEnabledInputMethodInfoList(List<InputMethodInfo>) - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Sets the list of
InputMethodInfo
that are marked as enabled. - setEnableSmoothTransition(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setEnforceMaxNotificationLimit(boolean) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Ensures a notification limit is applied before posting the notification.
- setEntity(HttpEntity) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setErrorCode(int) - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Sets the error code to override setter methods in this class.
- setErrorCode(int) - Method in class org.robolectric.shadows.ShadowVisualizer
-
Sets the error code to override setter methods in this class.
- setErrorDialog(Dialog) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- setEuiccManagerForCardId(int, EuiccManager) - Method in class org.robolectric.shadows.ShadowEuiccManager
-
Sets the value returned by
EuiccManager.createForCardId(int)
. - setEventType(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setExact(int, long, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setExact(int, long, String, AlarmManager.OnAlarmListener, Handler) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setExactAndAllowWhileIdle(int, long, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setExcludeFromRecents(boolean) - Method in class org.robolectric.shadows.ShadowAppTask
-
For tests, marks the task as excluded from recents.
- setExecutor(Executor) - Method in class org.robolectric.shadows.RangingSessionBuilder
- setExecutor(Executor) - Method in class org.robolectric.shadows.ShadowPausedAsyncTaskLoader
-
Deprecated.It is recommended to switch to androidx's AsyncTaskLoader, which provides an overridable getExecutor method.
- setExposureCompensation(int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setExtendedLengthApduSupported(boolean) - Method in class org.robolectric.shadows.ShadowIsoDep
- setExternallyManaged(boolean) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setExternalStorageDirectory(Path) - Static method in class org.robolectric.shadows.ShadowEnvironment
-
Sets the return value of
ShadowEnvironment.getExternalStorageDirectory()
. - setExternalStorageEmulated(File, boolean) - Static method in class org.robolectric.shadows.ShadowEnvironment
-
Sets the "isEmulated" flag of a particular file.
- setExternalStorageRemovable(File, boolean) - Static method in class org.robolectric.shadows.ShadowEnvironment
-
Sets the "isRemovable" flag of a particular file.
- setExternalStorageState(File, String) - Static method in class org.robolectric.shadows.ShadowEnvironment
-
Sets the
ShadowEnvironment.getExternalStorageState(File)
for given directory. - setExternalStorageState(String) - Static method in class org.robolectric.shadows.ShadowEnvironment
-
Sets the return value of
ShadowEnvironment.getExternalStorageState()
. - setExtraInfo(String) - Method in class org.robolectric.shadows.ShadowNetworkInfo
- setExtras(Bundle) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- setExtras(Bundle) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- setExtras(Bundle) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- setFailOnProjectionToggle(boolean) - Method in class org.robolectric.shadows.ShadowUIModeManager
- setFantasyFontFamily(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setFavicon(Bitmap) - Method in class org.robolectric.shadows.ShadowWebView
-
Sets the favicon to return from
ShadowWebView.getFavicon()
. - setFdOwner(FileDescriptor, Object) - Static method in class org.robolectric.shadows.ShadowIoUtils
- setFeature(String, boolean) - Method in class org.robolectric.android.XmlResourceParserImpl
- setFeatures(Account, String[]) - Method in class org.robolectric.shadows.ShadowAccountManager
- setFetchUuidsWithSdpResult(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets value of the return result for
BluetoothDevice.fetchUuidsWithSdp()
. - setField(Class<?>, Object, String, Object) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively set the value of a field.
- setField(Object, String, Object) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively set the value of a field.
- setFields(Bundle) - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- setFileDescriptorTransform(DataSource.FileDescriptorTransform) - Static method in class org.robolectric.shadows.util.DataSource
-
Optional transformation for
FileDescriptor
. - setFileEncryptedNativeOrEmulated(boolean) - Method in class org.robolectric.shadows.ShadowStorageManager
- setFillType(Path.FillType) - Method in class org.robolectric.shadows.ShadowPath
- setFingerprint(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.FINGERPRINT
field. - setFinished(boolean) - Method in interface org.robolectric.shadows._Activity_
- setFirstDrawComplete(boolean) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- setFirstDrawHandlers(ArrayList<Runnable>) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- setFirstTimeStamp(long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder
- setFiveQi(int) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- setFixedFontFamily(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setFixedSize(int, int) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- setFlags(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the flags for this display.
- setFlags(int) - Method in class org.robolectric.shadows.ShadowPaint
- setFlags(int, int) - Method in class org.robolectric.shadows.ShadowWindow
- setFlashMode(String) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setFocusAreas(List<Camera.Area>) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setFocused(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setFocusMode(String) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setFocusXY(float, float) - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- setFontScale(float) - Method in class org.robolectric.shadows.ShadowCaptioningManager
-
Sets the value to be returned by
CaptioningManager.getFontScale()
- setForceDark(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setFormat(int) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- setFrame(double, double, double, double) - Method in class org.robolectric.shadows.RoundRectangle
- setFrameDelay(Duration) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Sets the delay between each frame.
- setFrameInterval(long) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Deprecated.Use the
LooperMode.Mode.PAUSED
looper andShadowChoreographer.setFrameDelay(Duration)
to configure the frame delay. - setFrameInterval(long) - Static method in class org.robolectric.shadows.ShadowLegacyChoreographer
-
Set the inter-frame interval used to advance the clock.
- setFrequency(int) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setFromLocation(List<Address>) - Method in class org.robolectric.shadows.ShadowGeocoder
-
Sets the value to be returned by
Geocoder.getFromLocation(double, double, int)
. - setFsUuid(String) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setGatewayConnectionError(String, int, Throwable) - Method in class org.robolectric.shadows.ShadowVcnManager
-
Triggers onGatewayConnectionError of VcnStatusCallback
VcnManager.VcnStatusCallback.onGatewayConnectionError(java.lang.String, int, java.lang.Throwable)
). - setGeolocationDatabasePath(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setGeolocationEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setGlobalVisibleRect(Rect) - Method in class org.robolectric.shadows.ShadowView
- setGnssHardwareModelName(String) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Sets the GNSS hardware model name returned by
LocationManager.getGnssHardwareModelName()
. - setGnssTimeAvailable(boolean) - Static method in class org.robolectric.shadows.ShadowSystemClock
-
Sets whether gnss location based time is available.
- setGnssYearOfHardware(int) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Sets the GNSS year of hardware returned by
LocationManager.getGnssYearOfHardware()
. - setGravity(int, int, int) - Method in class org.robolectric.shadows.ShadowToast
- setGroupCheckable(int, boolean, boolean) - Method in class org.robolectric.fakes.RoboMenu
- setGroupEnabled(int, boolean) - Method in class org.robolectric.fakes.RoboMenu
- setGroupId(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setGroupIdLevel1(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setGroupInfo(WifiP2pManager.Channel, WifiP2pGroup) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- setGroupVisible(int, boolean) - Method in class org.robolectric.fakes.RoboMenu
- setGuaranteedDownlinkBitRate(long) - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- setGuaranteedDownlinkBitRate(long) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- setGuaranteedUplinkBitRate(long) - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- setGuaranteedUplinkBitRate(long) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- setHardware(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.HARDWARE
field. - setHasAlmanac(boolean) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets whether the satellite
has almanac data
. - setHasAlpha(boolean) - Method in class org.robolectric.shadows.ShadowBitmap
- setHasAmplitudeControl(boolean) - Method in class org.robolectric.shadows.ShadowVibrator
-
Controls the return value of
Vibrator.hasAmplitudeControl()
the default is false. - setHasEnrolledFingerprints(boolean) - Method in class org.robolectric.shadows.ShadowFingerprintManager
-
Deprecated.use
ShadowFingerprintManager.setDefaultFingerprints(int)
instead. - setHasEphemeris(boolean) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets whether the satellite
has ephemeris data
. - setHasMipMap(boolean) - Method in class org.robolectric.shadows.ShadowBitmap
- setHasOverlappingRendering(boolean) - Method in class org.robolectric.shadows.ShadowRenderNode
- setHasOverlappingRendering(boolean) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setHasPermanentMenuKey(boolean) - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- setHasPermission(boolean) - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Simulates if the calling process has the required permissions to call BugreportManager methods.
- setHasRequestedInteractAcrossProfiles(boolean) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Sets whether or not the current application has requested the interact across profile permission in its manifest.
- setHasShortcutHostPermission(boolean) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Sets the return value of
ShadowLauncherApps.hasShortcutHostPermission()
. - setHasVibrator(boolean) - Method in class org.robolectric.shadows.ShadowVibrator
-
Controls the return value of
Vibrator.hasVibrator()
the default is true. - setHead(Message) - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- setHead(Message) - Method in class org.robolectric.shadows.ShadowMessageQueue
-
Sets the current Message at the top of the queue.
- setHead(Message) - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- setHeader(String, String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setHeader(Header) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setHeader(Header) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- setHeaderIcon(int) - Method in class org.robolectric.fakes.RoboSubMenu
- setHeaderIcon(Drawable) - Method in class org.robolectric.fakes.RoboSubMenu
- setHeaders(Header[]) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setHeaderTitle(int) - Method in class org.robolectric.fakes.RoboSubMenu
- setHeaderTitle(CharSequence) - Method in class org.robolectric.fakes.RoboSubMenu
- setHeaderView(View) - Method in class org.robolectric.fakes.RoboSubMenu
- setHearingAidCompatibilitySupported(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.isHearingAidCompatibilitySupported()
. - setHeight(int) - Method in class org.robolectric.shadows.ShadowBitmap
- setHeight(int) - Method in class org.robolectric.shadows.ShadowCanvas
- setHeight(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the height available to the application for this display.
- setHeight(int) - Method in class org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- setHidden(boolean) - Method in class org.robolectric.shadows.ModuleInfoBuilder
-
Sets whether or not the module is hidden
- setHitTestResult(WebView.HitTestResult) - Method in class org.robolectric.shadows.ShadowWebView
-
Sets the
WebView.HitTestResult
that should be returned fromShadowWebView.getHitTestResult()
. - setHost(AppWidgetHost) - Method in class org.robolectric.shadows.ShadowAppWidgetHostView
- setIccId(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setIccId(String) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
-
Deprecated.This is no longer set on T+ due to MEP as a single eUICC can have more than one ICCID tied to it. It is instead set via
UiccPortInfo
. - setIccId(String) - Method in class org.robolectric.shadows.UiccPortInfoBuilder
- setIcon(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setIcon(int) - Method in class org.robolectric.fakes.RoboSubMenu
- setIcon(int) - Method in class org.robolectric.shadows.ShadowAlertController
- setIcon(Drawable) - Method in class org.robolectric.fakes.RoboMenuItem
- setIcon(Drawable) - Method in class org.robolectric.fakes.RoboSubMenu
- setIconMaxHeight(int) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
Sets the value returned by
ShadowShortcutManager.getIconMaxHeight()
. - setIconMaxWidth(int) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
Sets the value returned by
ShadowShortcutManager.getIconMaxWidth()
. - setIconTint(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setId(int) - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- setId(int) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setId(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setId(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.ID
field. - setIdAttribute(String) - Method in interface org.robolectric.android.AttributeSetBuilder
-
Set the id attribute to the given value.
- setIdAttribute(String) - Method in class org.robolectric.android.AttributeSetBuilderImpl
- setIdleConnectionTimeout(long) - Method in class org.robolectric.shadows.ShadowSQLiteOpenHelper
- setIdleState(Scheduler.IdleState) - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- setIdleState(Scheduler.IdleState) - Method in class org.robolectric.util.Scheduler
-
Sets the current idling state of this
Scheduler
. - setIdlingResourceTimeout(long, TimeUnit) - Static method in class org.robolectric.android.internal.LocalUiController
-
Sets the error timeout for idling resources.
- setIgnoringBatteryOptimizations(String, boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
- setImei(int, String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Set the IMEI returned by
ShadowTelephonyManager.getImei(int)
. - setImei(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Set the IMEI returned by getImei().
- setImportance(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setImportance(int) - Method in class org.robolectric.shadows.ShadowNotificationManager
- setImsAvailableOnDevice(boolean) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Sets whether IMS is available on the device.
- setImsRegistered(int) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Triggers
ImsMmTelManager.RegistrationCallback.onRegistered(int)
for all registeredImsMmTelManager.RegistrationCallback
callbacks. - setImsRegistering(int) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Triggers
ImsMmTelManager.RegistrationCallback.onRegistering(int)
for all registeredImsMmTelManager.RegistrationCallback
callbacks. - setImsUnregistered(ImsReasonInfo) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Triggers
ImsMmTelManager.RegistrationCallback.onUnregistered(ImsReasonInfo)
for all registeredImsMmTelManager.RegistrationCallback
callbacks. - setIndicator(View) - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- setIndicator(CharSequence) - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- setIndicator(CharSequence, Drawable) - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- setInetAddress(InetAddress) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setInexactRepeating(int, long, long, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setInitialApplication(Application) - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- setInitialized(boolean) - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Updates the state of the
AudioEffect
itself. - setInMultiWindowMode(boolean) - Method in class org.robolectric.shadows.ShadowActivity
-
Changes state of
ShadowActivity.isInMultiWindowMode()
method. - setInput(InputStream, String) - Method in class org.robolectric.android.XmlResourceParserImpl
- setInput(Reader) - Method in class org.robolectric.android.XmlResourceParserImpl
- setInputDevices(List<AudioDeviceInfo>) - Method in class org.robolectric.shadows.ShadowAudioManager
- setInputMethodInfoList(List<InputMethodInfo>) - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Sets the list of
InputMethodInfo
that are marked as installed. - setinRestrictedInputMode(boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
Deprecated.
- setInRestrictedInputMode(boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
Sets the value to be returned by
KeyguardManager.inKeyguardRestrictedInputMode()
. - setInstalledAccessibilityServiceList(List<AccessibilityServiceInfo>) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- setInstallerPackageName(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setInstallNonMarketApps(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
-
Sets the value of the
Settings.Global.INSTALL_NON_MARKET_APPS
setting orSettings.Secure.INSTALL_NON_MARKET_APPS
depending on API level. - setInstallSourceInfo(String, String, String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds install source information for a package.
- setInstanceId(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setInstrumentation(Instrumentation) - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- setInstrumentedPackages(String...) - Method in class org.robolectric.annotation.Config.Builder
- setIntent(Intent) - Method in class org.robolectric.fakes.RoboMenuItem
- setIntentRedelivery(boolean) - Method in class org.robolectric.shadows.ShadowIntentService
- setInteractAcrossProfilesAppOp(int) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Forces the {code interact_across_profile} AppOps for the current package.
- setInteractAcrossProfilesAppOp(String, int) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Checks permission and changes the AppOps value stored in
ShadowCrossProfileApps
. - setInterface(String) - Method in class org.robolectric.shadows.ShadowWifiP2pGroup
- setInternalPath(File) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setInterruptionFilter(int) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Currently does not support checking for granted policy access.
- setInTouchMode(boolean) - Method in class org.robolectric.shadows.ShadowInstrumentation
- setIntProperty(int, int) - Method in class org.robolectric.shadows.ShadowBatteryManager
- setIntrinsicHeight(int) - Method in class org.robolectric.shadows.ShadowDrawable
- setIntrinsicWidth(int) - Method in class org.robolectric.shadows.ShadowDrawable
- setInvalidStateBehavior(ShadowMediaPlayer.InvalidStateBehavior) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Specifies how the media player should behave when a method is invoked in an invalid state.
- setIs5GHzBandSupported(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Sets whether 5ghz band is supported.
- setIs64Bit(boolean) - Static method in class org.robolectric.shadows.ShadowVMRuntime
-
Sets whether the VM is running in 64-bit mode.
- setIs80211mcMeasurement(boolean) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setIsActive(boolean) - Method in class org.robolectric.shadows.UiccPortInfoBuilder
- setIsApex(boolean) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Sets is apex.
- setIsApkInApex(boolean) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Sets is apk in apex.
- setIsBluetoothScoAvailableOffCall(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setIsBluetoothSupported(boolean) - Static method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Determines if getDefaultAdapter() returns the default local adapter (true) or null (false).
- setIsCellularDataAvailable(boolean) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setIsCharging(boolean) - Method in class org.robolectric.shadows.ShadowBatteryManager
- setIsContentCaptureEnabled(boolean) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
-
Configures whether
ShadowContentCaptureManager.isContentCaptureEnabled()
returns true or false. - setIsDataConnectionAllowed(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setIsDefaultBrightnessConfig(boolean) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setIsDemoUser(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.Use
ShadowUserManager.addUser(int, String, int)
to create a demo user instead of changing default user flags. - setIsDeviceIdleMode(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets the value returned by
ShadowPowerManager.isDeviceIdleMode()
. - setIsDeviceLightIdleMode(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets the value returned by
ShadowPowerManager.isDeviceLightIdleMode()
. - setIsDeviceLocked(boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests on Android >=L MR1, sets the value to be returned by
ShadowKeyguardManager.isDeviceLocked()
. - setIsDeviceLocked(int, boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests on Android >= L MR1, sets the value to be returned by
ShadowKeyguardManager.isDeviceLocked(int)
. - setIsDeviceSecure(boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests on Android >=M, sets the value to be returned by
ShadowKeyguardManager.isDeviceSecure()
. - setIsDeviceSecure(int, boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
For tests on Android >=M, sets the value to be returned by
ShadowKeyguardManager.isDeviceSecure(int)
. - setIsDexOptNeeded(boolean) - Static method in class org.robolectric.shadows.ShadowDexFile
-
Sets the value to be returned when isDexOptNeeded() is called with any argument.
- setIsDexOptNeededError(Throwable) - Static method in class org.robolectric.shadows.ShadowDexFile
-
Sets the throwable that will be thrown when isDexOptNeeded() is called.
- setIsEmbedded(boolean) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setIsEmulated(boolean) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setIsEnabled(boolean) - Method in class org.robolectric.shadows.PhoneAccountBuilder
- setIsEnabled(boolean) - Method in class org.robolectric.shadows.ShadowEuiccManager
-
Set the value to be returned by
EuiccManager.isEnabled()
. - setIsEncoder(boolean) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
-
Sets codec role.
- setIsEncoder(boolean) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Sets the codec role.
- setIsEuicc(boolean) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- setIsEuicc(boolean) - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
- setIsExtendedApduSupported(boolean) - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
- setIsExternalStorageEmulated(boolean) - Static method in class org.robolectric.shadows.ShadowEnvironment
-
Sets the return value of
ShadowEnvironment.isExternalStorageEmulated()
. - setIsExternalStorageLegacy(boolean) - Static method in class org.robolectric.shadows.ShadowEnvironment
-
Sets the return value of
ShadowEnvironment.isExternalStorageLegacy()
()}. - setIsGooglePlayServicesAvailable(int) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- setIsGuestUser(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.Use
ShadowUserManager.addUser(int, String, int)
to create a guest user instead of changing default user flags. - setIsHardwareAccelerated(boolean) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Sets whether the codec is hardware accelerated or not.
- setIsHardwareDetected(boolean) - Method in class org.robolectric.shadows.ShadowFingerprintManager
-
Sets the return value of
FingerprintManager.isHardwareDetected()
. - setIsInCall(boolean) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Sets the return value for
TelecomManager.isInCall()
. - setIsInteractive(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Deprecated.Prefer
ShadowPowerManager.turnScreenOn(boolean)
instead. - setIsKeyguardSecure(boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
Sets the value to be returned by
ShadowKeyguardManager.isKeyguardSecure()
. - setIsLeExtendedAdvertisingSupported(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Sets the isLeExtendedAdvertisingSupported to enable/disable LE extended advertisements feature
- setIsLightDeviceIdleMode(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets the value returned by
ShadowPowerManager.isLightDeviceIdleMode()
. - setIsLinkedUser(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.Use
ShadowUserManager.addUser(int, String, int)
to create a linked user instead of changing default user flags. - setIsLowRamDevice(boolean) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Override the return value of isLowRamDevice().
- setIsMultipleAdvertisementSupported(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Sets the value for
ShadowBluetoothAdapter.isMultipleAdvertisementSupported
. - setIsMultipleEnabledProfilesSupported(boolean) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- setIsMusicActive(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setIsNetworkRoaming(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.isNetworkRoaming()
. - setIsOnDeviceRecognitionAvailable(boolean) - Static method in class org.robolectric.shadows.ShadowSpeechRecognizer
- setIsPowerSaveMode(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
- setIsPresent(boolean) - Static method in class org.robolectric.shadows.ShadowGeocoder
-
Sets the value to be returned by
Geocoder.isPresent()
. - setIsPrimary(boolean) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setIsPrimaryUser(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.Use
ShadowUserManager.addUser(int, String, int)
to create a primary user instead of changing default user flags. - setIsRebootingUserspaceSupported(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets the value returned by
ShadowPowerManager.isRebootingUserspaceSupported()
. - setIsRemovable(boolean) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setIsRemovable(boolean) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- setIsRemovable(boolean) - Method in class org.robolectric.shadows.UiccSlotInfoBuilder
- setIsRequestPinShortcutSupported(boolean) - Method in class org.robolectric.shadows.ShadowShortcutManager
- setIsRestrictedProfile(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.use
ShadowUserManager#addUser()
instead - setIsScanAlwaysAvailable(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
- setIsScreenOn(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Deprecated.Use
ShadowPowerManager.setIsInteractive(boolean)
instead. - setIsSetWallpaperAllowed(boolean) - Method in class org.robolectric.shadows.ShadowWallpaperManager
- setIsSmsCapable(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.isSmsCapable()
. - setIsSoftwareOnly(boolean) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Sets whether the codec is softwrare only or not.
- setIsStaged(boolean) - Method in class org.robolectric.shadows.RollbackInfoBuilder
-
Sets the staged status of the rollback.
- setIsStreamMute(int, boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setIsSyncable(Account, String, int) - Static method in class org.robolectric.shadows.ShadowContentResolver
- setIsSystemUser(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.Use
ShadowUserManager.addUser(int, String, int)
to create a system user instead of changing default user flags. - setIsTaskRoot(boolean) - Method in class org.robolectric.shadows.ShadowActivity
- setIsThroughputSufficient(boolean) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setIsUniqueDeviceAttestationSupported(boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setIsUsbDataSignalingEnabled(boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets USB signaling device restriction.
- setIsUserEnabled(int, boolean) - Method in class org.robolectric.shadows.ShadowUserManager
- setIsUserResolvableError(boolean) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- setIsVendor(boolean) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Sets the codec provider.
- setIsVisible(boolean) - Method in class org.robolectric.shadows.RunningTaskInfoBuilder
- setIsWakeLockLevelSupported(int, boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
- setIsWallpaperSupported(boolean) - Method in class org.robolectric.shadows.ShadowWallpaperManager
- setIsWifiScoringEnabled(boolean) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setItemId(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setIUwbAdapter(IUwbAdapter) - Method in class org.robolectric.shadows.RangingSessionBuilder
- setJavaScriptCanOpenWindowsAutomatically(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setJavaScriptEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setJulianDay(int) - Method in class org.robolectric.shadows.ShadowTime
- setKeepScreenOn(boolean) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- setKeyguardDisabledFeatures(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setKeyguardLocked(boolean) - Method in class org.robolectric.shadows.ShadowKeyguardManager
-
Sets whether the device keyguard is locked or not.
- setLabeledBy(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setLabelFor(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setLanguage(Locale) - Method in class org.robolectric.shadows.ShadowTextToSpeech
- setLastBrightness(float) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setLastKnownLocation(String, Location) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Deprecated.Use
ShadowLocationManager.simulateLocation(Location)
to update the last location for a provider. - setLastNonConfigurationInstance(Object) - Method in class org.robolectric.shadows.ShadowActivity
-
Deprecated.
- setLastNonConfigurationInstances(Object) - Method in interface org.robolectric.shadows._Activity_
- setLastOutgoingCall(String) - Static method in class org.robolectric.shadows.ShadowCallLogCalls
-
Sets a last outgoing call that can later be retrieved by
ShadowCallLogCalls.getLastOutgoingCall(Context)
. - setLastPoint(float, float) - Method in class org.robolectric.shadows.ShadowPath
- setLastTimeStamp(long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder
- setLastTimeUsed(long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder
- setLatestDialog(ShadowDialog) - Static method in class org.robolectric.shadows.ShadowDialog
- setLatestListPopupWindow(ListPopupWindow) - Method in class org.robolectric.shadows.ShadowApplication
- setLatestPopupMenu(ShadowPopupMenu) - Method in class org.robolectric.shadows.ShadowApplication
- setLatestPopupMenu(ShadowPopupMenu) - Static method in class org.robolectric.shadows.ShadowPopupMenu
- setLatestPopupWindow(PopupWindow) - Method in class org.robolectric.shadows.ShadowApplication
- setLayer(int) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setLayerType(int, Paint) - Method in class org.robolectric.shadows.ShadowView
- setLayoutAlgorithm(WebSettings.LayoutAlgorithm) - Method in class org.robolectric.fakes.RoboWebSettings
- setLayoutParams(ViewGroup.LayoutParams) - Method in class org.robolectric.shadows.ShadowWebView
- setLci(byte[]) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setLcr(byte[]) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setLeft(int) - Method in class org.robolectric.shadows.ShadowRenderNode
- setLeft(int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setLeftTopRightBottom(int, int, int, int) - Method in class org.robolectric.shadows.ShadowRenderNode
- setLeftTopRightBottom(int, int, int, int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setLetterSpacing(float) - Method in class org.robolectric.shadows.ShadowPaint
- setLibraries(String...) - Method in class org.robolectric.annotation.Config.Builder
- setLightTouchEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setLine1Number(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setLinkDownstreamBandwidthKbps(int) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Sets the LinkDownstreamBandwidthKbps of the NetworkCapabilities.
- setLinkProperties(LinkProperties) - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- setLinkProperties(Network, LinkProperties) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Sets the LinkProperties for the given Network.
- setLinkSpeed(int) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setLinkSpeedMbps(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setLoadedFromResourceId(int) - Method in class org.robolectric.shadows.ShadowLayoutAnimationController
- setLoadsImagesAutomatically(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setLoadWithOverviewMode(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setLocale(String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- setLocale(Locale) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setLocale(Locale) - Method in class org.robolectric.shadows.ShadowCaptioningManager
-
Sets the value to be returned by
CaptioningManager.getLocale()
- setLocalState(Object) - Method in class org.robolectric.shadows.DragEventBuilder
- setLocationEnabled(boolean) - Method in class org.robolectric.shadows.ShadowLocationManager
-
On P and above, turns location on or off.
- setLocationEnabledForUser(boolean, UserHandle) - Method in class org.robolectric.shadows.ShadowLocationManager
- setLocationMode(int) - Method in class org.robolectric.shadows.ShadowLocationManager
-
On pre-P devices, sets the device location mode.
- setLocationPowerSaveMode(int) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Sets the value returned by
ShadowPowerManager.getLocationPowerSaveMode()
when battery saver is on. - setLocationProviderEnabled(ContentResolver, String, boolean) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- setLocationProviderEnabledForUser(ContentResolver, String, boolean, int) - Static method in class org.robolectric.shadows.ShadowSettings.ShadowSecure
- setLocked(boolean) - Method in class org.robolectric.shadows.ShadowTileService
- setLockScreenAllowPrivateNotifications(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
- setLockScreenShowNotifications(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
- setLockTaskModeState(int) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Sets lock task mode state to be reported by
ActivityManager.getLockTaskModeState()
, but has no effect otherwise. - setLockTaskPackages(ComponentName, String[]) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setLoggable(String, int) - Static method in class org.robolectric.shadows.ShadowLog
-
Sets the log level of a given tag, that
ShadowLog.isLoggable(java.lang.String, int)
will follow. - setLogicalSlotIndex(int) - Method in class org.robolectric.shadows.UiccPortInfoBuilder
- setLongProperty(int, long) - Method in class org.robolectric.shadows.ShadowBatteryManager
- setLongSupportMessage(ComponentName, CharSequence) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setLooping(boolean) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setLuxTimestamps(long[]) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setLuxValues(float[]) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setMacAddress(String) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setMainThread(Thread) - Static method in class org.robolectric.RuntimeEnvironment
-
Sets the main thread.
- setManageBlockNumbersIntent(Intent) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Sets the BlockNumbersIntent to be returned by
ShadowTelecomManager.createManageBlockedNumbersIntent()
- setManagedProfile(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Setter for
UserManager.isManagedProfile()
. - setManifest(String) - Method in class org.robolectric.annotation.Config.Builder
- setManifestShortcuts(List<ShortcutInfo>) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
Sets the value returned by
ShadowShortcutManager.getManifestShortcuts()
. - setManufacturer(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.MANUFACTURER
field. - setMasterScheduler(Scheduler) - Static method in class org.robolectric.RuntimeEnvironment
-
Sets the current master scheduler.
- setMasterSyncAutomatically(boolean) - Static method in class org.robolectric.shadows.ShadowContentResolver
- setMavenRepositoryId(String) - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- setMavenRepositoryPassword(String) - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- setMavenRepositoryUrl(String) - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- setMavenRepositoryUserName(String) - Static method in class org.robolectric.MavenRoboSettings
-
Deprecated.
- setMaxDownlinkBitRate(long) - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- setMaxDownlinkBitRate(long) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- setMaxDuration(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setMaxFileSize(long) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setMaxFileSize(long) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setMaximumFailedPasswordsForWipe(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setMaximumRange(float) - Method in class org.robolectric.shadows.ShadowSensor
-
Sets the return value for
Sensor.getMaximumRange()
. - setMaximumTimeToLock(ComponentName, long) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setMaxNumFocusAreas(int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
-
Allows test cases to set the maximum number of focus areas.
- setMaxNumMeteringAreas(int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
-
Allows test cases to set the maximum number of metering areas.
- setMaxSdk(int) - Method in class org.robolectric.annotation.Config.Builder
- setMaxShortcutCountPerActivity(int) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
Sets the value returned by
ShadowShortcutManager.getMaxShortcutCountPerActivity()
. - setMaxSupportedUsers(int) - Method in class org.robolectric.shadows.ShadowUserManager
- setMaxTransceiveLength(int) - Method in class org.robolectric.shadows.ShadowIsoDep
- setMaxUplinkBitRate(long) - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- setMaxUplinkBitRate(long) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- setMaxValue(int) - Method in class org.robolectric.shadows.ShadowNumberPicker
- setMaxVolume(int) - Method in class org.robolectric.shadows.PlaybackInfoBuilder
- setMcc(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setMediaFormat(MediaFormat) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
-
Sets media format.
- setMediaInfoProvider(ShadowMediaPlayer.MediaInfoProvider) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
-
Sets a
ShadowMediaPlayer.MediaInfoProvider
to be used to getShadowMediaPlayer.MediaInfo
for anyDataSource
. - setMediaPlaybackRequiresUserGesture(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setMeid(int, String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Set the MEID returned by
ShadowTelephonyManager.getMeid(int)
. - setMeid(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Set the MEID returned by getMeid().
- setMemoryClass(int) - Method in class org.robolectric.shadows.ShadowActivityManager
- setMemoryInfo(ActivityManager.MemoryInfo) - Method in class org.robolectric.shadows.ShadowActivityManager
- setMessage(CharSequence) - Method in class org.robolectric.shadows.ShadowAlertController
- setMessageBody(String) - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- setMetadata(int, byte[]) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- setMetadata(MediaMetadata) - Method in class org.robolectric.shadows.ShadowMediaController
-
Saves the mediaMetadata to control the return value of
MediaController.getMetadata()
. - setMeteringAreas(List<Camera.Area>) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setMetric(int, long) - Method in class org.robolectric.shadows.FrameMetricsBuilder
-
Sets the given metric to the given value.
- setMicrophoneMute(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setMinBufferSize(int) - Static method in class org.robolectric.shadows.ShadowAudioTrack
-
In the real class, the minimum buffer size is estimated from audio sample rate and other factors.
- setMinimumFontSize(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setMinimumLogicalFontSize(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setMinSdk(int) - Method in class org.robolectric.annotation.Config.Builder
- setMinValue(int) - Method in class org.robolectric.shadows.ShadowNumberPicker
- setMixedContentMode(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setMmTelCapabilitiesAvailable(MmTelFeature.MmTelCapabilities) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Sets the available
MmTelFeature.MmTelCapabilities
. - setMnc(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setMobileRxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getMobileRxBytes()
for testing - setMobileRxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getMobileRxPackets()
for testing - setMobileTxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getMobileTxBytes()
for testing - setMobileTxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getMobileTxPackets()
for testing - setMode(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- setMode(int, int, String, int) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Int version of
ShadowAppOpsManager.setMode(String, int, String, int)
. - setMode(String, int, String, int) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Change the operating mode for the given op in the given app package.
- setModel(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.MODEL
field. - setMtpReserveSize(long) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setMutable(boolean) - Method in class org.robolectric.shadows.ShadowBitmap
- setMuted(boolean) - Method in class org.robolectric.shadows.ShadowInCallService
- setMyParent(ViewParent) - Method in class org.robolectric.shadows.ShadowView
- setName(CharSequence) - Method in class org.robolectric.shadows.ModuleInfoBuilder
-
Sets the public name of the module
- setName(String) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Sets the codec name.
- setName(String) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setName(String) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- setName(String) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the name for this display.
- setName(String) - Method in class org.robolectric.shadows.ShadowTrace.Counter.Builder
- setNameForUid(int, String) - Method in class org.robolectric.shadows.ShadowPackageManager
- setNanoTime(long) - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- setNanoTime(long) - Static method in class org.robolectric.shadows.ShadowSystemClock
-
Sets the value for
System.nanoTime()
. - setNavBarMode(int) - Method in class org.robolectric.shadows.ShadowStatusBarManager
- setNavDump(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setNdefPushMessage(NdefMessage, Activity, Activity...) - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Mocks setting NDEF push message so that it could be verified in the test.
- setNdefPushMessageCallback(NfcAdapter.CreateNdefMessageCallback, Activity, Activity...) - Method in class org.robolectric.shadows.ShadowNfcAdapter
- setNearbyAppStreamingPolicy(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setNearbyNotificationStreamingPolicy(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setNeedInitialFocus(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setNetworkCapabilities(Network, NetworkCapabilities) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Sets network capability and affects the result of
ConnectivityManager.getNetworkCapabilities(Network)
- setNetworkCountryIso(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setNetworkId(int) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setNetworkInfo(int, NetworkInfo) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- setNetworkName(String) - Method in class org.robolectric.shadows.ShadowWifiP2pGroup
- setNetworkOperator(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setNetworkOperatorName(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setNetworkPreference(int) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- setNetworkRoamingStatus(int, boolean) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
If isNetworkRoaming is set, it will mark the provided sim subscriptionId as roaming in a local cache.
- setNetworkSpecifier(NetworkSpecifier) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Changes
NetworkSpecifier
for this network capabilities. - setNetworkSpecifier(String) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Changes
NetworkSpecifier
for this network capabilities. - setNetworkTimeAvailable(boolean) - Static method in class org.robolectric.shadows.ShadowSystemClock
-
Sets whether network time is available.
- setNetworkType(int) - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- setNetworkType(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Deprecated.
TelephonyManager.getNetworkType()
was replaced withTelephonyManager.getDataNetworkType()
in Android N, and has been deprecated in Android R. Useinstead
. - setNext(Message) - Method in class org.robolectric.shadows.ShadowLegacyMessage
- setNext(Message) - Method in class org.robolectric.shadows.ShadowMessage
-
Convenience method to provide setter access to the private field
Message.next
. - setNext(Message) - Method in class org.robolectric.shadows.ShadowPausedMessage
- setNextActionFailure(int) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- setNextDatabaseIdForInserts(int) - Method in class org.robolectric.shadows.ShadowContentResolver
-
Deprecated.This method affects all calls, and does not work with
ContentResolver.acquireContentProviderClient(android.net.Uri)
- setNextFocusRequestResponse(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- setNextTransceiveResponse(byte[]) - Method in class org.robolectric.shadows.ShadowIsoDep
- setNfcHardwareExists(boolean) - Static method in class org.robolectric.shadows.ShadowNfcAdapter
-
Modifies the behavior of
ShadowNfcAdapter.getNfcAdapter(Context)
to returnnull
, to simulate absence of NFC hardware. - setNightDisplayActivated(boolean) - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- setNightDisplayAutoMode(int) - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- setNightDisplayColorTemperature(int) - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- setNightMode(boolean) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setNightMode(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- setNightModeActivatedForCustomMode(int, boolean) - Method in class org.robolectric.shadows.ShadowUIModeManager
- setNightModeCustomType(int) - Method in class org.robolectric.shadows.ShadowUIModeManager
- setNotificationAccess(ComponentName, boolean) - Method in class org.robolectric.shadows.ShadowCompanionDeviceManager
- setNotificationDelegate(String) - Method in class org.robolectric.shadows.ShadowNotificationManager
- setNotificationListenerAccessGranted(ComponentName, boolean) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Sets the value returned by
NotificationManager.isNotificationListenerAccessGranted(ComponentName)
for the providedComponentName
. - setNotificationPolicy(NotificationManager.Policy) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Currently does not support checking for granted policy access.
- setNotificationPolicyAccessGranted(boolean) - Method in class org.robolectric.shadows.ShadowNotificationManager
-
Sets the value returned by
NotificationManager.isNotificationPolicyAccessGranted()
. - setNotificationsEnabled(boolean) - Method in class org.robolectric.shadows.ShadowNotificationManager
- setNotificationUri(ContentResolver, Uri) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- setNotificationUri(ContentResolver, Uri) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- setNumAttemptedMeasurements(int) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setNumber(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setNumericShortcut(char) - Method in class org.robolectric.fakes.RoboMenuItem
- setNumSuccessfulMeasurements(int) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setOffscreenPreRaster(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setOnActionExpandListener(MenuItem.OnActionExpandListener) - Method in class org.robolectric.fakes.RoboMenuItem
- setOnCancelListener(DialogInterface.OnCancelListener) - Method in class org.robolectric.shadows.ShadowDialog
- setOnClickListener(View.OnClickListener) - Method in class org.robolectric.shadows.ShadowView
- setOnCompletionListener(MediaPlayer.OnCompletionListener) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setOnCompletionListener(MediaPlayer.OnCompletionListener) - Method in class org.robolectric.shadows.ShadowVideoView
- setOnCreateContextMenuListener(View.OnCreateContextMenuListener) - Method in class org.robolectric.shadows.ShadowView
- setOnDoubleTapListener(GestureDetector.OnDoubleTapListener) - Method in class org.robolectric.shadows.ShadowGestureDetector
- setOnEditorActionListener(TextView.OnEditorActionListener) - Method in class org.robolectric.shadows.ShadowTextView
- setOnErrorListener(MediaPlayer.OnErrorListener) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setOnErrorListener(MediaPlayer.OnErrorListener) - Method in class org.robolectric.shadows.ShadowVideoView
- setOnErrorListener(MediaRecorder.OnErrorListener) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setOneShotPreviewCallback(Camera.PreviewCallback) - Method in class org.robolectric.shadows.ShadowCamera
- setOnExitAnimationListener(SplashScreen.OnExitAnimationListener) - Method in class org.robolectric.fakes.RoboSplashScreen
- setOnFocusChangeListener(View.OnFocusChangeListener) - Method in class org.robolectric.shadows.ShadowView
- setOnInfoListener(MediaPlayer.OnInfoListener) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setOnInfoListener(MediaRecorder.OnInfoListener) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setOnItemSelectedListener(AdapterView.OnItemSelectedListener) - Method in class org.robolectric.shadows.ShadowAdapterView
- setOnLoadCompleteListener(SoundPool.OnLoadCompleteListener) - Method in class org.robolectric.shadows.ShadowSoundPool
- setOnLongClickListener(View.OnLongClickListener) - Method in class org.robolectric.shadows.ShadowView
- setOnMenuItemClickListener(MenuItem.OnMenuItemClickListener) - Method in class org.robolectric.fakes.RoboMenuItem
- setOnMenuItemClickListener(PopupMenu.OnMenuItemClickListener) - Method in class org.robolectric.shadows.ShadowPopupMenu
- setOnNdefPushCompleteCallback(NfcAdapter.OnNdefPushCompleteCallback, Activity, Activity...) - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Sets callback that should be used on successful Android Beam (TM).
- setOnPerformActionListener(ShadowAccessibilityNodeInfo.OnPerformActionListener) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Configure the return result of an action if it is performed
- setOnPreparedListener(MediaPlayer.OnPreparedListener) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setOnPreparedListener(MediaPlayer.OnPreparedListener) - Method in class org.robolectric.shadows.ShadowVideoView
- setOnScrollListener(AbsListView.OnScrollListener) - Method in class org.robolectric.shadows.ShadowAbsListView
- setOnSeekBarChangeListener(SeekBar.OnSeekBarChangeListener) - Method in class org.robolectric.shadows.ShadowSeekBar
- setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListener) - Method in class org.robolectric.shadows.ShadowView
- setOnTabChangedListener(TabHost.OnTabChangeListener) - Method in class org.robolectric.shadows.ShadowTabHost
- setOnTouchListener(View.OnTouchListener) - Method in class org.robolectric.shadows.ShadowView
- setOnValueChangedListener(NumberPicker.OnValueChangeListener) - Method in class org.robolectric.shadows.ShadowNumberPicker
- setOnZoomListener(ZoomButtonsController.OnZoomListener) - Method in class org.robolectric.shadows.ShadowZoomButtonsController
- setOpenSourceSoftwareLicenseInfo(String) - Method in class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- setOrder(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setOrganizationColor(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setOrganizationName(ComponentName, CharSequence) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets organization name.
- setOrganizationOwnedDeviceWithManagedProfile(boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the return value of the
DevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()
method (only for Android R+). - setOuterContext(Context) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- setOutputDevices(List<AudioDeviceInfo>) - Method in class org.robolectric.shadows.ShadowAudioManager
- setOutputFile(String) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setOutputFormat(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setOutputStream(PipedOutputStream) - Method in class org.robolectric.shadows.ShadowBluetoothSocket
-
Set the output stream.
- setPackage(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setPackageArchiveInfo(String, PackageInfo) - Method in class org.robolectric.shadows.ShadowPackageManager
- setPackageName(String) - Method in class org.robolectric.annotation.Config.Builder
- setPackageName(String) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setPackageName(String) - Method in class org.robolectric.shadows.ModuleInfoBuilder
-
Sets the package name of the module
- setPackageName(String) - Method in class org.robolectric.shadows.ShadowMediaController
-
Saves the package name for use inside the shadow.
- setPackageName(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder
- setPackageRolledBackFrom(VersionedPackage) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Sets the version packaged rolled back from.
- setPackageRolledBackTo(VersionedPackage) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Sets the version packaged rolled back to.
- setPackages(List<PackageRollbackInfo>) - Method in class org.robolectric.shadows.RollbackInfoBuilder
-
Sets the packages of the rollback.
- setPackagesForCallingUid(String...) - Method in class org.robolectric.shadows.ShadowPackageManager
- setPackagesForUid(int, String...) - Method in class org.robolectric.shadows.ShadowPackageManager
- setPackagesSuspended(ComponentName, String[], boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPackagesSuspended(Object, Object, Object, Object, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setPackagesSuspended(String[], boolean, PersistableBundle, PersistableBundle, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setPackagesSuspendedAsUser(String[], boolean, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- setPackageUid(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setPairingConfirmation(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- setParameters(Camera.Parameters) - Method in class org.robolectric.shadows.ShadowCamera
- setParameters(String) - Method in class org.robolectric.shadows.ShadowAudioManager
- setParams(HttpParams) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setParams(HttpParams) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- setParent(Activity) - Method in class org.robolectric.shadows.ShadowActivity
-
Allow setting of Parent fragmentActivity (for unit testing purposes only)
- setPassphrase(String) - Method in class org.robolectric.shadows.ShadowWifiP2pGroup
- setPassword(Account, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- setPasswordComplexity(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the password complexity.
- setPasswordExpiration(ComponentName, long) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the password expiration time for a particular admin.
- setPasswordExpirationTimeout(ComponentName, long) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordHistoryLength(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordMinimumLength(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordMinimumLetters(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordMinimumLowerCase(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordMinimumNonLetter(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordMinimumNumeric(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordMinimumSymbols(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordMinimumUpperCase(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasswordQuality(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPasteable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setPastSigningCertificates(Signature[]) - Method in class org.robolectric.shadows.ShadowSigningInfo
-
Sets the history of Signatures for this package.
- setPathData(PathParser.PathData) - Method in class org.robolectric.shadows.ShadowPathParser.ShadowPathData
-
Update the path data to match the source.
- setPathEffect(PathEffect) - Method in class org.robolectric.shadows.ShadowPaint
- setPaused(boolean) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Sets whether posting a frame should auto advance the clock or not.
- setPaused(boolean) - Method in class org.robolectric.shadows.ShadowLegacyLooper
- setPaused(boolean) - Method in class org.robolectric.shadows.ShadowLooper
-
Control the paused state of the Looper.
- setPaused(boolean) - Method in class org.robolectric.shadows.ShadowPausedLooper
- setPermission(String) - Method in class org.robolectric.manifest.BroadcastReceiverData
- setPermission(String) - Method in class org.robolectric.manifest.ServiceData
- setPermissionGrantState(ComponentName, String, String, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPermissionPolicy(ComponentName, int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setPermittedAccessibilityServices(ComponentName, List<String>) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets permitted accessibility services.
- setPermittedInputMethods(ComponentName, List<String>) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets permitted input methods.
- setPhoneAccountHandle(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- setPhoneCount(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.getPhoneCount()
. - setPhoneType(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setPhysicalSlotIndex(int) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- setPictureSize(int, int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setPid(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setPid(int) - Static method in class org.robolectric.shadows.ShadowProcess
-
Sets the identifier of this process.
- setPin(byte[]) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- setPivotX(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setPivotX(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setPivotY(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setPivotY(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setPixel(int, int, int) - Method in class org.robolectric.shadows.ShadowBitmap
- setPixelFormat(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Deprecated.This method is deprecated and will be removed in Robolectric 3.7.
- setPixels(int[], int, int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowBitmap
- setPlaybackInfo(MediaController.PlaybackInfo) - Method in class org.robolectric.shadows.ShadowMediaController
-
Saves the playbackInfo to control the return value of
MediaController.getPlaybackInfo()
. - setPlaybackState(PlaybackState) - Method in class org.robolectric.shadows.ShadowMediaController
-
Saves the playbackState to control the return value of
MediaController.getPlaybackState()
. - setPluginsEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setPluginState(WebSettings.PluginState) - Method in class org.robolectric.fakes.RoboWebSettings
- setPointer2(float, float) - Method in class org.robolectric.shadows.ShadowMotionEvent
-
Deprecated.use
MotionEvent.obtain()
orandroidx.test.core.view.MotionEventBuilder
to create a MotionEvent with desired data. - setPointerIds(int, int) - Method in class org.robolectric.shadows.ShadowMotionEvent
-
Deprecated.use
MotionEvent.obtain()
orMotionEventBuilder
to create a MotionEvent with desired data - setPointerIndex(int) - Method in class org.robolectric.shadows.ShadowMotionEvent
-
Deprecated.use
MotionEvent.obtain()
orandroidx.test.core.view.MotionEventBuilder#setPointerAction(int, int)
to create a MotionEvent with desired data. - setPolicyManagedProfiles(List<UserHandle>) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the value returned by
ShadowDevicePolicyManager.getPolicyManagedProfiles(UserHandle)
. - setPortIndex(int) - Method in class org.robolectric.shadows.UiccPortInfoBuilder
- setPortRoles(UsbPort, int, int) - Method in interface org.robolectric.shadows.ShadowUsbManager._UsbManager_
- setPortRoles(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowUsbManager
- setPorts(List<UiccPortInfo>) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
- setPosition(int, int, int, int) - Method in class org.robolectric.shadows.ShadowRenderNode
- setPosition(int, int, int, int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setPosition(Rect) - Method in class org.robolectric.shadows.ShadowRenderNode
- setPosition(Rect) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setPostCallbackDelay(int) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Deprecated.Use the
LooperMode.Mode.PAUSED
looper instead. - setPostCallbackDelay(int) - Static method in class org.robolectric.shadows.ShadowLegacyChoreographer
-
Allows application to specify a fixed amount of delay when
ShadowLegacyChoreographer.postCallback(int, Runnable, Object)
is invoked. - setPostDialWait(String, String) - Method in class org.robolectric.shadows.ShadowInCallService
-
Exposes
IIInCallService.Stub#setPostDialWait
. - setPostFrameCallbackDelay(int) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Deprecated.Use the
LooperMode.Mode.PAUSED
looper andShadowChoreographer.setPaused(boolean)
andShadowChoreographer.setFrameDelay(Duration)
to configure the vsync event behavior. - setPostFrameCallbackDelay(int) - Static method in class org.robolectric.shadows.ShadowLegacyChoreographer
-
Allows application to specify a fixed amount of delay when
ShadowLegacyChoreographer.postFrameCallback(FrameCallback)
is invoked. - setPowerBrightnessFactor(float) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setPreferredService(Activity, ComponentName) - Method in class org.robolectric.shadows.ShadowCardEmulation
- setPrefix(String) - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- setPremultiplied(boolean) - Method in class org.robolectric.shadows.ShadowBitmap
- setPreparationDelay(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Sets the current preparation delay for this media.
- setPrepareResult(Intent) - Static method in class org.robolectric.shadows.ShadowVpnService
-
Sets the return value of #prepare(Context).
- setPreviewCallback(Camera.PreviewCallback) - Method in class org.robolectric.shadows.ShadowCamera
- setPreviewCallbackWithBuffer(Camera.PreviewCallback) - Method in class org.robolectric.shadows.ShadowCamera
- setPreviewDisplay(Surface) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setPreviewDisplay(SurfaceHolder) - Method in class org.robolectric.shadows.ShadowCamera
- setPreviewFormat(int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setPreviewFpsRange(int, int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setPreviewFrameRate(int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setPreviewSize(int, int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setPreviousAccountName(Account, String) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Sets the previous name for an account, which will be returned by
AccountManager.getPreviousName(Account)
. - setPrimaryClip(ClipData) - Method in class org.robolectric.shadows.ShadowClipboardManager
- setProbeElapsedTimeSinceLastUpdateMillis(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setProbeMcsRateSinceLastUpdate(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setProbeStatusSinceLastUpdate(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setProcesses(List<ActivityManager.RunningAppProcessInfo>) - Method in class org.robolectric.shadows.ShadowActivityManager
- setProcessId(int) - Method in class org.robolectric.shadows.ShadowEventLog.EventBuilder
- setProcessName(String) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setProcessName(String) - Method in interface org.robolectric.shadows.ShadowActivityThread._AppBindData_
- setProcessName(String) - Static method in class org.robolectric.shadows.ShadowApplication
-
Configures the value to be returned by
Application.getProcessName()
. - setProcessName(String) - Static method in class org.robolectric.shadows.ShadowProcess
-
Sets the process name returned by
ShadowProcess.myProcessName()
. - setProcessStateSummary(byte[]) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setProduct(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.PRODUCT
field. - setProductId(int) - Method in class org.robolectric.shadows.ShadowInputDevice
- setProfileClass(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setProfileConnectionState(int, int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Sets the connection state
state
for the given BluetoothProfileprofile
- setProfileIsLocked(UserHandle, boolean) - Method in class org.robolectric.shadows.ShadowUserManager
- setProfileLevels(MediaCodecInfo.CodecProfileLevel[]) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
-
Sets profiles and levels.
- setProfileOwner(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the admin as active admin and profile owner.
- setProfileOwnerName(int, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setProfileProxy(int, BluetoothProfile) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Sets the active BluetoothProfile
proxy
for the givenprofile
. - setProgressStyle(int) - Method in class org.robolectric.shadows.ShadowProgressDialog
- setProperty(String, Object) - Method in class org.robolectric.android.XmlResourceParserImpl
- setProviderEnabled(String, boolean) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Sets the given provider enabled or disabled.
- setProviderInfo(ActivityInfo) - Method in class org.robolectric.shadows.AppWidgetProviderInfoBuilder
- setProviderProperties(String, ShadowLocationManager.ProviderProperties) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Sets the properties of the given provider.
- setProxyForNetwork(Network, ProxyInfo) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Sets a proxy for a given
Network
. - setPss(long) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setQci(int) - Method in class org.robolectric.shadows.EpsBearerQosSessionAttributesBuilder
- setQfi(int) - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- setQualifiers(String) - Method in class org.robolectric.annotation.Config.Builder
- setQualifiers(String) - Static method in class org.robolectric.RuntimeEnvironment
-
Overrides the current device configuration.
- setQuery(Uri, String[], String, String[], String) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- setQuery(Uri, String[], String, String[], String) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- setQwertyMode(boolean) - Method in class org.robolectric.fakes.RoboMenu
- setRadioVersion(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Override return value from
Build.getRadioVersion()
- setRangeResults(List<RangingResult>) - Method in class org.robolectric.shadows.ShadowWifiRttManager
-
This method sets the RangingResults that are passed to the RangingResultCallback when the shadow startRanging method is called.
- setRatingType(int) - Method in class org.robolectric.shadows.ShadowMediaController
-
Saves the rating type to control the return value of
MediaController.getRatingType()
. - setReadPhoneStatePermission(boolean) - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
When set to false methods requiring
android.Manifest.permission.READ_PHONE_STATE
permission will throw aSecurityException
. - setReadPhoneStatePermission(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setRealHeight(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the simulated physical height for this display.
- setRealUid(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setRealWidth(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the simulated physical width for this display.
- setReason(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setReasonPhrase(String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setRecordingHint(boolean) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setRectToRect(RectF, RectF, Matrix.ScaleToFit) - Method in class org.robolectric.shadows.ShadowMatrix
- setReferenceCounted(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
- setReferenceCounted(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowMulticastLock
- setReferenceCounted(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
- setRefreshRate(float) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the refresh rate for this display.
- setRefreshRate(float) - Method in class org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- setRefreshReturnValue(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setRegisterContentProviderException(Uri, RuntimeException) - Method in class org.robolectric.shadows.ShadowContentResolver
-
Makes
ShadowContentResolver.registerContentObserver(android.net.Uri, boolean, android.database.ContentObserver)
throw the specified exception for the specified URI. - setRemoveAccountIntent(Intent) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Sets the intent to include in Bundle result from
ShadowAccountManager.removeAccount(android.accounts.Account, android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler)
if Activity is given. - setRenderPriority(WebSettings.RenderPriority) - Method in class org.robolectric.fakes.RoboWebSettings
- setRepeatCount(int) - Method in class org.robolectric.shadows.ShadowValueAnimator
- setRepeating(int, long, long, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setRepeatingRequest(CaptureRequest, CameraCaptureSession.CaptureCallback, Handler) - Method in class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
- setRequestCellInfoUpdateErrorValues(int, Throwable) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the values to be returned by a presumed error condition in
ShadowTelephonyManager.requestCellInfoUpdate(java.lang.Object,java.lang.Object)
. - setRequestedOrientation(int) - Method in class org.robolectric.shadows.ShadowActivity
- setRequestPinAppWidgetSupported(boolean) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- setResetPasswordToken(ComponentName, byte[]) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setResolveInfosForIntent(Intent, List<ResolveInfo>) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Deprecated.see the note on
ShadowPackageManager.addResolveInfoForIntent(Intent, ResolveInfo)
. - setResource(int) - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Sets a resource id as the current wallpaper.
- setResource(int, int) - Method in class org.robolectric.shadows.ShadowWallpaperManager
- setResourceDir(String) - Method in class org.robolectric.annotation.Config.Builder
- setResources(Resources) - Method in interface org.robolectric.shadows.ShadowLoadedApk._LoadedApk_
- setResponseBody(String) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse
- setRestrictBackgroundStatus(int) - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Sets the next return value for
ConnectivityManager.getRestrictBackgroundStatus()
. - setRestriction(int, int, int, String[]) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Sets audio restrictions.
- setResult(boolean) - Method in class org.robolectric.shadows.DragEventBuilder
- setResult(int) - Method in class org.robolectric.shadows.ShadowActivity
- setResult(int, Intent) - Method in class org.robolectric.shadows.ShadowActivity
- setResults(Object[][]) - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- setRight(int) - Method in class org.robolectric.shadows.ShadowRenderNode
- setRight(int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setRingerMode(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- setRollbackId(int) - Method in class org.robolectric.shadows.RollbackInfoBuilder
-
Sets the id of the rollback.
- setRoot(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setRotate(float) - Method in class org.robolectric.shadows.ShadowMatrix
- setRotate(float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setRotation(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setRotation(int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setRotation(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the rotation for this display.
- setRotation(int) - Method in class org.robolectric.shadows.ShadowUiAutomation
- setRotationX(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setRotationX(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setRotationY(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setRotationY(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setRotationZ(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setRss(long) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setRssi(int) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setRssi(int) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setRssi(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setRttSupported(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.isRttSupported()
- setRunQueues(ThreadLocal<HandlerActionQueue>) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- setRxLinkSpeedMbps(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setSafeBrowsingEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setSafeMode(boolean) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Set value to be returned by
PackageManager.isSafeMode()
. - setSafetyCenterEnabled(boolean) - Method in class org.robolectric.shadows.ShadowSafetyCenterManager
-
Sets the return value for
ShadowSafetyCenterManager.isSafetyCenterEnabled()
which also enables theShadowSafetyCenterManager.setSafetySourceData(java.lang.String, android.safetycenter.SafetySourceData, android.safetycenter.SafetyEvent)
andShadowSafetyCenterManager.getSafetySourceData(java.lang.String)
methods. - setSafetySourceData(String, SafetySourceData, SafetyEvent) - Method in class org.robolectric.shadows.ShadowSafetyCenterManager
- setSameRegisteredCell(boolean) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setSansSerifFontFamily(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setSaturationLevel(float) - Method in class org.robolectric.shadows.ShadowDisplayManager
-
Sets the current display saturation level.
- setSaturationLevel(float) - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- setSaturationLevel(int) - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- setSaveFormData(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setSavePassword(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setScale(float, boolean) - Method in class org.robolectric.shadows.ShadowMagnificationController
- setScale(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setScale(float, float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setScaledDensity(float) - Method in class org.robolectric.shadows.ShadowDisplay
-
Deprecated.This method is deprecated and will be removed in Robolectric 3.7.
- setScaleFactor(float) - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- setScaleX(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setScaleX(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setScaleY(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setScaleY(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setScanMode(int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Needs looseSignatures because in Android T the return value of this method was changed from bool to int.
- setScanMode(int, int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setScanMode(int, long) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setScanResults(List<ScanResult>) - Method in class org.robolectric.shadows.ShadowWifiManager
- setScheduledRunnable(Runnable) - Method in class org.robolectric.shadows.ShadowLegacyMessage
- setScheduledRunnable(Runnable) - Method in class org.robolectric.shadows.ShadowMessage
-
Stores the
Runnable
instance that has been scheduled to invoke this message. - setScheduledRunnable(Runnable) - Method in class org.robolectric.shadows.ShadowPausedMessage
- setScheduler(Scheduler) - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- setScheduler(Scheduler) - Method in class org.robolectric.shadows.ShadowMessageQueue
-
Set this queue's Scheduler.
- setScheduler(Scheduler) - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- setScrollX(int) - Method in class org.robolectric.shadows.ShadowView
- setScrollY(int) - Method in class org.robolectric.shadows.ShadowView
- setSdk(int...) - Method in class org.robolectric.annotation.Config.Builder
- setSectionName(String) - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection.Builder
- setSecurityParams(int) - Method in class org.robolectric.shadows.ShadowWifiConfiguration
- setSeedAccountName(String) - Method in class org.robolectric.shadows.ShadowUserManager
-
Setter for
UserManager.getSeedAccountName()
- setSeedAccountOptions(PersistableBundle) - Method in class org.robolectric.shadows.ShadowUserManager
-
Setter for
UserManager.getSeedAccountOptions()
- setSeedAccountType(String) - Method in class org.robolectric.shadows.ShadowUserManager
-
Setter for
UserManager.getSeedAccountType()
- setSeekDelay(int) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Sets the length of time (ms) that seekTo() will delay before completing.
- setSelection(int) - Method in class org.robolectric.shadows.ShadowAbsSpinner
- setSelection(int, boolean) - Method in class org.robolectric.shadows.ShadowAbsSpinner
- setSerial(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Override return value from
Build.getSerial()
. - setSerialNumberForUser(UserHandle, long) - Method in class org.robolectric.shadows.ShadowUserManager
-
ShadowUserManager.addUser(int, java.lang.String, int)
uses UserHandle for serialNumber. - setSerifFontFamily(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setServiceAvailability(String, boolean) - Static method in class org.robolectric.shadows.ShadowServiceManager
-
Sets the availability of the given system service.
- setServiceComponentName(ComponentName) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
-
Configures the
ComponentName
that will be returned when callingShadowContentCaptureManager.getServiceComponentName()
. - setServices(List<ActivityManager.RunningServiceInfo>) - Method in class org.robolectric.shadows.ShadowActivityManager
- setServiceState(ServiceState) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.getServiceState()
. - setSessionActiveState(int, boolean) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- setSessionActivity(PendingIntent) - Method in class org.robolectric.shadows.ShadowMediaController
-
Saves the sessionActivty to control the return value of
MediaController.getSessionActivity()
. - setSessionDetached(boolean) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Sets the boolean value indicating if a wifiAwareSession has been detached.
- setSessionFails(int) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- setSessionHandle(SessionHandle) - Method in class org.robolectric.shadows.RangingSessionBuilder
- setSessionProgress(int, float) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- setSessionSucceeds(int) - Method in class org.robolectric.shadows.ShadowPackageInstaller
-
Deprecated.
- setShader(Shader) - Method in class org.robolectric.shadows.ShadowPaint
- setShadowLayer(float, float, float, int) - Method in class org.robolectric.shadows.ShadowPaint
- setShadows(Class<?>...) - Method in class org.robolectric.annotation.Config.Builder
- setShareDataParcelFileDescriptor(ParcelFileDescriptor) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
-
Configures the
ParcelFileDescriptor
thatDataShareWriteAdapter.onWrite(ParcelFileDescriptor)
will receive on calls toShadowContentCaptureManager.shareData(DataShareRequest, Executor, DataShareWriteAdapter)
. - setShortcut(char, char) - Method in class org.robolectric.fakes.RoboMenuItem
- setShortcutId(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setShortSupportMessage(ComponentName, CharSequence) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setShouldRejectRequest(boolean) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
-
Configures whether or not to raise request rejection on calls to
ShadowContentCaptureManager.shareData(DataShareRequest, Executor, DataShareWriteAdapter)
. - setShouldShowActivityChooser(boolean) - Method in class org.robolectric.shadows.ShadowPackageManager
-
If this method has been called with true, then in cases where many activities match a filter, an activity chooser will be resolved instead of just the first pick.
- setShouldShowRequestPermissionRationale(String, boolean) - Method in class org.robolectric.shadows.ShadowPackageManager
- setShouldThrowSecurityExceptions(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets if a runtime exception is thrown when bluetooth methods with BLUETOOTH_CONNECT permission pre-requisites are accessed.
- setShowAsAction(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setShowAsActionFlags(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setShowMode(int) - Method in class org.robolectric.shadows.ShadowSoftKeyboardController
- setShowWhenLocked(boolean) - Method in class org.robolectric.shadows.ShadowActivity
- setSignalLevelInPercent(float) - Static method in class org.robolectric.shadows.ShadowWifiManager
- setSignalStrength(SignalStrength) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.getSignalStrength()
- setSignatures(Signature[]) - Method in class org.robolectric.shadows.ShadowSigningInfo
-
Set the current Signatures for this package.
- setSilenceMode(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- setSimCallManager(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- setSimCarrierId(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.getSimCarrierId()
. - setSimCountryIso(int, String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the
simCountryIso
for the givensubId
. - setSimCountryIso(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setSimLocale(Locale) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the sim locale returned by
ShadowTelephonyManager.getSimLocale()
. - setSimOperator(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setSimOperatorName(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setSimSerialNumber(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
sets the serial number that will be returned by
ShadowTelephonyManager.getSimSerialNumber()
. - setSimSlotIndex(int) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- setSimState(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the sim state of slot 0.
- setSimState(int, int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Set the sim state for the given
slotIndex
. - setSinCos(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setSinCos(float, float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setSingleRepeatingRequest(CaptureRequest, Executor, CameraCaptureSession.CaptureCallback) - Method in class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
- setSizeFromLayout() - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- setSkew(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setSkew(float, float, float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setSlotIndex(int) - Method in class org.robolectric.shadows.UiccCardInfoBuilder
-
Deprecated.Use
UiccCardInfoBuilder.setPhysicalSlotIndex(int)
for Android T+ instead. - setSmartReplies(ArrayList<CharSequence>) - Method in class org.robolectric.shadows.ShadowRanking
-
Overrides the return value for
NotificationListenerService.Ranking.getSmartReplies()
. - setSmscAddress(String) - Method in class org.robolectric.shadows.ShadowSmsManager
-
Sets the value returned by
SmsManager.getSmscAddress()
. - setSmscAddressPermission(boolean) - Method in class org.robolectric.shadows.ShadowSmsManager
-
Sets a boolean value to simulate whether or not the required permissions to call
ShadowSmsManager.getSmscAddress()
have been granted. - setSoftInputMode(int) - Method in class org.robolectric.shadows.ShadowWindow
- setSoftInputVisibilityHandler(ShadowInputMethodManager.SoftInputVisibilityChangeHandler) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- setSource(View) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setSource(View) - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
- setSource(View, int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setSource(View, int) - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
- setSource(ShadowAudioRecord.AudioRecordSource) - Static method in class org.robolectric.shadows.ShadowAudioRecord
-
Deprecated.
- setSource(ShadowVisualizer.VisualizerSource) - Method in class org.robolectric.shadows.ShadowVisualizer
- setSourceNode(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
-
Sets the
AccessibilityNodeInfo
of the event source. - setSourceProvider(ShadowAudioRecord.AudioRecordSourceProvider) - Static method in class org.robolectric.shadows.ShadowAudioRecord
-
Sets
ShadowAudioRecord.AudioRecordSourceProvider
to be used for providing data ofAudioRecord
. - setSourceResourceId(int) - Method in class org.robolectric.res.android.ResXMLParser
- setSpeakerphoneOn(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setSpecificationInfo(PersistableBundle) - Method in class org.robolectric.shadows.ShadowUwbManager
-
Sets the bundle to be returned by
UwbManager.getSpecificationInfo()
. - setSplashScreenTheme(int) - Method in class org.robolectric.fakes.RoboSplashScreen
- setSSID(String) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setStaApConcurrencySupported(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Sets whether STA/AP concurrency is supported.
- setStandardFontFamily(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setStartScanSucceeds(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Sets the return value of
ShadowWifiManager.startScan()
. - setStartVoiceActivityException(RuntimeException) - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Sets a
RuntimeException
that should be thrown whenVoiceInteractionSession.startVoiceActivity(Intent)
is invoked. - setState(int) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- setState(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the simulated state for this display, such as whether it is on or off
- setState(int) - Method in class org.robolectric.shadows.ShadowVisualizer
-
Updates the state of the
Visualizer
itself. - setState(ShadowMediaPlayer.State) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Forces the @link MediaPlayer} into the specified state.
- setStaticField(Class<?>, String, Object) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively set the value of a static field.
- setStaticField(Field, Object) - Static method in class org.robolectric.util.ReflectionHelpers
-
Reflectively set the value of a static field.
- setStatus(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setStatus(int) - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- setStatus(int) - Method in class org.robolectric.shadows.ShadowVcnManager
-
Set the vcn status code (see
ShadowVcnManager.currentVcnStatus
). - setStatusCode(int) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setStatusLine(ProtocolVersion, int) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setStatusLine(ProtocolVersion, int, String) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setStatusLine(StatusLine) - Method in class org.robolectric.shadows.httpclient.HttpResponseStub
- setStorageDeviceFreeAndTotalBytes(UUID, long, long) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
-
Sets the
storageUuid
to return the specifiedfreeBytes
andtotalBytes
when queried inShadowStorageStatsManager.getFreeBytes(java.util.UUID)
andShadowStorageStatsManager.getTotalBytes(java.util.UUID)
respectively. - setStorageEncryption(ComponentName, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setStorageEncryptionStatus(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Setter for
DevicePolicyManager.getStorageEncryptionStatus()
. - setStorageId(int) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setStream(InputStream, Rect, boolean, int) - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Caches
bitmapData
in the memory based onwhich
. - setStreamMaxVolume(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- setStreamVolume(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- setStreamVolume(int, int, int) - Method in class org.robolectric.shadows.ShadowAudioManager
- setString(String, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyResourcesManager
-
Override string returned by the resource identified by
stringId
. - setStroke(int, int) - Method in class org.robolectric.shadows.ShadowGradientDrawable
- setStrokeCap(Paint.Cap) - Method in class org.robolectric.shadows.ShadowPaint
- setStrokeJoin(Paint.Join) - Method in class org.robolectric.shadows.ShadowPaint
- setStrokeWidth(float) - Method in class org.robolectric.shadows.ShadowPaint
- setStubBitmapForThumbnails(Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaStore
- setStyle(Paint.Style) - Method in class org.robolectric.shadows.ShadowPaint
- setStyleAttribute(String) - Method in interface org.robolectric.android.AttributeSetBuilder
-
Set the style attribute to the given value.
- setStyleAttribute(String) - Method in class org.robolectric.android.AttributeSetBuilderImpl
- setStyleAttribute(String) - Method in interface org.robolectric.Robolectric.AttributeSetBuilder
-
Deprecated.Set the style attribute to the given value.
- setSubMenu(SubMenu) - Method in class org.robolectric.fakes.RoboMenuItem
- setSubscriberId(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.getSubscriberId()
. - setSubType(int) - Method in class org.robolectric.shadows.ShadowNetworkInfo
- setSupplicantState(SupplicantState) - Method in class org.robolectric.shadows.ShadowWifiInfo
- setSupported64BitAbis(String[]) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.SUPPORTED_64_BIT_ABIS
field. - setSupportedFlashModes(String...) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setSupportedFocusModes(String...) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setSupportedModes(int, Display.Mode...) - Static method in class org.robolectric.shadows.ShadowDisplayManager
-
Sets supported modes to the specified display with ID
displayId
. - setSupportedPrimitives(Collection<Integer>) - Method in class org.robolectric.shadows.ShadowVibrator
-
Adds supported vibration primitives.
- setSupportedRouteMask(int) - Method in class org.robolectric.shadows.ShadowInCallService
- setSupportMultipleWindows(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setSupportsMultipleUsers(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Sets whether multiple users are supported; controls the return value of
UserManager#supportsMultipleUser
. - setSupportZoom(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setSvid(int) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets the
identification number
of the satellite. - setSyncAdapterTypes(SyncAdapterType[]) - Static method in class org.robolectric.shadows.ShadowContentResolver
-
Sets the SyncAdapterType array which will be returned by
ShadowContentResolver.getSyncAdapterTypes()
. - setSyncAutomatically(Account, String, boolean) - Static method in class org.robolectric.shadows.ShadowContentResolver
- setSyncDelayTimeNanos(long) - Method in class org.robolectric.shadows.FrameMetricsBuilder
-
Sets the delay time between when drawing finishes and syncing begins.
- setSysconfValue(int, long) - Static method in class org.robolectric.shadows.ShadowOs
-
Configures values to be returned by sysconf.
- setSystemActions(List<AccessibilityNodeInfo.AccessibilityAction>) - Method in class org.robolectric.shadows.ShadowAccessibilityService
- setSystemDialerPackage(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Set returned value of
ShadowTelecomManager.getSystemDialerPackage()
. - setSystemFeature(String, boolean) - Method in class org.robolectric.shadows.ShadowPackageManager
- setSystemResourceTable(ResourceTable) - Static method in class org.robolectric.RuntimeEnvironment
- setSystemService(String, Object) - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.Do not depend on this method to override services as it will be removed in a future update. The preferered method is use the shadow of the corresponding service.
- setSystemService(String, Object) - Method in class org.robolectric.shadows.ShadowContextImpl
- setSystemUpdatePolicy(SystemUpdatePolicy) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the system update policy.
- setSystemUpdatePolicy(ComponentName, SystemUpdatePolicy) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setTag(String) - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
-
Sets the tag.
- setTag(String) - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
-
Sets the tag on the TabSpec.
- setTags(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.TAGS
field. - setTakeScreenshotErrorCode(int) - Method in class org.robolectric.shadows.ShadowAccessibilityService
-
Sets
AccessibilityService.takeScreenshot(int, Executor, TakeScreenshotCallback)
to start returning the givenerrorCode
. - setTaskId(int) - Method in class org.robolectric.shadows.RunningTaskInfoBuilder
- setTaskInfo(ActivityManager.RecentTaskInfo) - Method in class org.robolectric.shadows.ShadowAppTask
-
Sets the recentTaskInfo for the task.
- setTaskRootClass(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setTaskRootPackage(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setTasks(List<ActivityManager.RunningTaskInfo>) - Method in class org.robolectric.shadows.ShadowActivityManager
- setTelephonyDisplayInfo(Object) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the current
TelephonyDisplayInfo
, and notifies all thePhoneStateListener
s that were registered with thePhoneStateListener.LISTEN_DISPLAY_INFO_CHANGED
flag. - setTelephonyManagerForHandle(PhoneAccountHandle, TelephonyManager) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.createForPhoneAccountHandle(PhoneAccountHandle)
. - setTelephonyManagerForSubscriptionId(int, TelephonyManager) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.createForSubscriptionId(int)
. - setTempDirectory(TempDirectory) - Static method in class org.robolectric.RuntimeEnvironment
- setText(int) - Method in class org.robolectric.shadows.ShadowToast
- setText(CharSequence) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setText(CharSequence) - Method in class org.robolectric.shadows.ShadowClipboardManager
- setText(CharSequence) - Method in class org.robolectric.shadows.ShadowToast
- setTextAlign(Paint.Align) - Method in class org.robolectric.shadows.ShadowPaint
- setTextAppearance(Context, int) - Method in class org.robolectric.shadows.ShadowTextView
- setTextScaleX(float) - Method in class org.robolectric.shadows.ShadowPaint
- setTextSelectionSetable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setTextSize(float) - Method in class org.robolectric.shadows.ShadowPaint
- setTextSkewX(float) - Method in class org.robolectric.shadows.ShadowPaint
- setTextZoom(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setThreadId(int) - Method in class org.robolectric.shadows.ShadowEventLog.EventBuilder
- setThreadPriority(int) - Static method in class org.robolectric.shadows.ShadowProcess
-
Stores priority for the current thread, but doesn't actually change it to not mess up with test runner.
- setThreadPriority(int, int) - Static method in class org.robolectric.shadows.ShadowProcess
-
Stores priority for the given thread, but doesn't actually change it to not mess up with test runner.
- setThreadStatsTag(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- setThrowInBindService(SecurityException) - Method in class org.robolectric.shadows.ShadowApplication
-
Configures the ShadowApplication so that calls to bindService will throw the given SecurityException.
- setThrowIntentSenderException(boolean) - Method in class org.robolectric.shadows.ShadowActivity
-
Sets if startIntentSenderForRequestCode will throw an IntentSender.SendIntentException.
- setThrowOnGetAliasName(boolean) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets if a runtime exception is thrown when the alias name of the device is accessed.
- setTimeNanos(long) - Method in class org.robolectric.shadows.ShadowEventLog.EventBuilder
- setTimeout(int) - Method in class org.robolectric.shadows.ShadowIsoDep
- setTimeSliceDutyCycleInPercent(int) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTimestamp(long) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setTimeStamp(long) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setTimeStamp(long) - Method in class org.robolectric.shadows.ShadowImageReader.ShadowSurfaceImage
- setTimeStamp(long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setTimeStampMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTimeSupplier(Supplier<String>) - Static method in class org.robolectric.shadows.ShadowLog
-
Sets supplier that can be used to get time to add to logs.
- setTimeZone(ComponentName, String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setTimeZone(String) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setTitle(int) - Method in class org.robolectric.fakes.RoboMenuItem
- setTitle(CharSequence) - Method in class org.robolectric.fakes.RoboMenuItem
- setTitle(CharSequence) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
-
Sets the title of this window.
- setTitle(CharSequence) - Method in class org.robolectric.shadows.ShadowAlertController
- setTitle(CharSequence) - Method in class org.robolectric.shadows.ShadowPhoneWindow
- setTitle(CharSequence) - Method in class org.robolectric.shadows.ShadowPhoneWindowFor22
- setTitleCondensed(CharSequence) - Method in class org.robolectric.fakes.RoboMenuItem
- setTo(byte[], int, boolean) - Method in class org.robolectric.res.android.ResXMLTree
- setTo(ByteBuffer, int, int, boolean) - Method in class org.robolectric.res.android.ResStringPool
- setTo(ResTableTheme) - Method in class org.robolectric.res.android.ResTableTheme
- SetTo(CppAssetManager2.Theme) - Method in class org.robolectric.res.android.CppAssetManager2.Theme
- setToNow() - Method in class org.robolectric.shadows.ShadowTime
- setTop(int) - Method in class org.robolectric.shadows.ShadowRenderNode
- setTop(int) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setTopActivity(ComponentName) - Method in class org.robolectric.shadows.RunningTaskInfoBuilder
- setTorchMode(String, boolean) - Method in class org.robolectric.shadows.ShadowCameraManager
- setTotalBackgroundScanTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalBeaconRx(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalCcaBusyFreqTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalHotspot2ScanTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalNanScanTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalPnoScanTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalRadioOnFreqTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalRadioOnTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalRadioRxTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalRadioTxTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalRoamScanTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalRxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getTotalRxBytes()
for testing - setTotalRxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getTotalRxPackets()
for testing - setTotalRxSuccess(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalScanTimeMillis(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalSize(long) - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- setTotalTimeInForeground(long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder
- setTotalTxBad(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalTxBytes(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getTotalTxBytes()
for testing - setTotalTxPackets(int) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
Sets the value returned by
ShadowTrafficStats.getTotalTxPackets()
for testing - setTotalTxRetries(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTotalTxSuccess(long) - Method in class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- setTouchExplorationEnabled(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- setTransceiveResponse(byte[]) - Method in class org.robolectric.shadows.ShadowIsoDep
- setTransformCapabilities(int) - Method in class org.robolectric.shadows.ShadowColorDisplayManager
-
Sets the current transform capabilities.
- setTranslate(float, float) - Method in class org.robolectric.shadows.ShadowMatrix
- setTranslationX(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setTranslationX(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setTranslationY(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setTranslationY(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setTranslationZ(float) - Method in class org.robolectric.shadows.ShadowRenderNode
- setTranslationZ(float) - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- setTransportInfo(TransportInfo) - Method in class org.robolectric.shadows.ShadowNetworkCapabilities
-
Sets the
transportInfo
of the NetworkCapabilities. - setTransportType(int) - Method in class org.robolectric.shadows.PreciseDataConnectionStateBuilder
- setTraversalAfter(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Sets the view whose node is visited after this one in accessibility traversal.
- setTraversalAfter(View, int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setTraversalBefore(AccessibilityNodeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Sets the view before whose node this one should be visited during traversal.
- setTraversalBefore(View, int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setTtySupported(boolean) - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Sets the value to be returned by
ShadowTelecomManager.isTtySupported()
. - setTurnScreenOn(boolean) - Method in class org.robolectric.shadows.ShadowActivity
- setType(int) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- setType(int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets the return value for
BluetoothDevice.getType()
. - setType(int) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- setType(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.TYPE
field. - setTypeface(Typeface) - Method in class org.robolectric.shadows.ShadowPaint
- setUceSettingEnabledForSubscriptionId(int, boolean) - Static method in class org.robolectric.shadows.ShadowRcsUceAdapter
-
Overrides the value returned by
RcsUceAdapter.isUceSettingEnabled()
for RcsUceAdapters associated withsubscriptionId
. - setUiccSlotsInfo(Object) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the UICC slots information returned by
ShadowTelephonyManager.getUiccSlotsInfo()
. - setUid(int) - Static method in class org.robolectric.shadows.ShadowProcess
-
Sets the identifier of this process.
- setUidImportance(int, int) - Method in class org.robolectric.shadows.ShadowActivityManager
- setUiHints(Bundle) - Method in class org.robolectric.shadows.ShadowVoiceInteractionService
- setUnbadgedApplicationIcon(String, Drawable) - Method in class org.robolectric.shadows.ShadowPackageManager
- setUnbindServiceCallsOnServiceDisconnected(boolean) - Method in class org.robolectric.shadows.ShadowApplication
-
Sets whether or not calls to unbindService should call onServiceDisconnected().
- setUnbindServiceCallsOnServiceDisconnected(boolean) - Method in class org.robolectric.shadows.ShadowInstrumentation
- setUnbindServiceShouldThrowIllegalArgument(boolean) - Method in class org.robolectric.shadows.ShadowApplication
- setUnderlineText(boolean) - Method in class org.robolectric.shadows.ShadowPaint
- setUninstallBlocked(ComponentName, String, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setUniqueDisplayId(String) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setUnverifiedResponderLocation(ResponderLocation) - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- setup() - Method in class org.robolectric.android.controller.ActivityController
-
Calls the same lifecycle methods on the Activity called by Android the first time the Activity is created.
- setup(Bundle) - Method in class org.robolectric.android.controller.ActivityController
-
Calls the same lifecycle methods on the Activity called by Android when an Activity is restored from previously saved state.
- setupActivity(Class<T>) - Static method in class org.robolectric.Robolectric
-
Deprecated.use
androidx.test.core.app.ActivityScenario
- setUpApplicationState(Method, ConfigurationStrategy.Configuration, AndroidManifest) - Method in class org.robolectric.android.internal.AndroidTestEnvironment
- setUpApplicationState(Method, ConfigurationStrategy.Configuration, AndroidManifest) - Method in interface org.robolectric.internal.TestEnvironment
- setupBackupAgent(Class<T>) - Static method in class org.robolectric.Robolectric
- setupContentProvider(Class<T>) - Static method in class org.robolectric.Robolectric
- setupContentProvider(Class<T>, String) - Static method in class org.robolectric.Robolectric
- setUpdateNetworkPermission(int, boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Prevents a networkId from being updated using the
ShadowWifiManager.updateNetwork(android.net.wifi.WifiConfiguration)
method. - setUpDisplay() - Static method in class org.robolectric.android.Bootstrap
-
internal only
- setupIntentService(Class<T>) - Static method in class org.robolectric.Robolectric
- setupLogging() - Static method in class org.robolectric.shadows.ShadowLog
- setupService(Class<T>) - Static method in class org.robolectric.Robolectric
- setUsageSource(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Sets what app usage observers will consider the source of usage for an activity.
- setUsedInFix(boolean) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets whether the satellite
was used in the most recent position fix
. - setUseGlobalScheduler(boolean) - Static method in class org.robolectric.RoboSettings
-
Deprecated.
- setUseInMemoryDatabase(boolean) - Static method in class org.robolectric.shadows.ShadowSQLiteConnection
- setUseLegacyResources(boolean) - Static method in class org.robolectric.RuntimeEnvironment
-
Deprecated.Do not use.
- setUserAgent(int) - Method in class org.robolectric.fakes.RoboWebSettings
- setUserAgentString(String) - Method in class org.robolectric.fakes.RoboWebSettings
- setUserBrightnessPoint(boolean) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setUserData(Account, String, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- setUserIcon(Bitmap) - Method in class org.robolectric.shadows.ShadowUserManager
- setUserId(int) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setUserId(int) - Method in class org.robolectric.shadows.ShadowContextImpl
- setUserName(String) - Method in class org.robolectric.shadows.ShadowUserManager
- setUserProvisioningState(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Sets the user provisioning state.
- setUserProvisioningState(int, UserHandle) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- setUserRestriction(UserHandle, String, boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Deprecated.When possible, please use the real Android framework API
UserManager#setUserRestriction()
. - setUserRestriction(String, boolean, UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
-
Shadows UserManager.setUserRestriction() API.
- setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- setUserState(UserHandle, ShadowUserManager.UserState) - Method in class org.robolectric.shadows.ShadowUserManager
-
Sets the current state for a given user, see
UserManager.isUserRunning(UserHandle)
andUserManager.isUserRunningOrStopping(UserHandle)
- setUserSwitchability(int) - Method in class org.robolectric.shadows.ShadowUserManager
-
Sets the user switchability for all users.
- setUserUnlocked(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
-
Setter for
UserManager.isUserUnlocked()
- setUseWebViewBackgroundForOverscrollBackground(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setUseWideViewPort(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setUuids(ParcelUuid[]) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Sets the return value for
BluetoothDevice.getUuids()
. - setUwbAdapter(ShadowRangingSession.Adapter) - Method in class org.robolectric.shadows.ShadowUwbManager
-
Sets the UWB adapter to use for new
ShadowRangingSession
s. - setValidWidgetProviderComponentName(boolean) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- setValue(int) - Method in class org.robolectric.shadows.ShadowNumberPicker
- setValue(long) - Method in class org.robolectric.shadows.NativeBitSet64
- setValue(long) - Method in class org.robolectric.shadows.ShadowTrace.Counter.Builder
- setValues(float[]) - Method in class org.robolectric.shadows.ShadowMatrix
- setVcnConfig(ParcelUuid, VcnConfig) - Method in class org.robolectric.shadows.ShadowVcnManager
- setVendorId(int) - Method in class org.robolectric.shadows.ShadowInputDevice
- setVerifyDisplayHashResult(VerifiedDisplayHash) - Static method in class org.robolectric.shadows.ShadowDisplayHashManager
-
Sets the
VerifiedDisplayHash
that's going to be returned by following {DisplayHashManager#verifyDisplayHash} calls. - setVersionCodename(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.CODENAME
field. - setVersionIncremental(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.INCREMENTAL
field. - setVersionMediaPerformanceClass(int) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.MEDIA_PERFORMANCE_CLASS
field. - setVersionRelease(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.RELEASE
field. - setVersionSecurityPatch(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.SECURITY_PATCH
field. - setVibrationEffect(VibrationEffect) - Method in class org.robolectric.shadows.VibrationAttributesBuilder
- setVideoEncoder(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setVideoEncodingBitRate(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setVideoFrameRate(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setVideoOverlayForEmbeddedEncryptedVideoEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setVideoPath(String) - Method in class org.robolectric.shadows.ShadowVideoView
- setVideoSize(int, int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setVideoSource(int) - Method in class org.robolectric.shadows.ShadowMediaRecorder
- setVideoURI(Uri) - Method in class org.robolectric.shadows.ShadowVideoView
- setView(int) - Method in class org.robolectric.shadows.ShadowAlertController
- setView(View) - Method in class org.robolectric.shadows.ShadowAlertController
- setView(View) - Method in class org.robolectric.shadows.ShadowToast
- setView(View, WindowManager.LayoutParams, View) - Method in class org.robolectric.shadows.ShadowViewRootImpl
- setView(View, WindowManager.LayoutParams, View) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- setView(View, WindowManager.LayoutParams, View, int) - Method in class org.robolectric.shadows.ShadowViewRootImpl
- setView(View, WindowManager.LayoutParams, View, int) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- setViewFocus(boolean) - Method in class org.robolectric.shadows.ShadowView
- setVisible(boolean) - Method in class org.robolectric.fakes.RoboMenuItem
- setVisualVoicemailPackageName(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.getVisualVoicemailPackageName()
. - setVisualVoicemailSmsFilterSettings(VisualVoicemailSmsFilterSettings) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- setVoice(Voice) - Method in class org.robolectric.shadows.ShadowTextToSpeech
- setVoiceCapable(boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
ShadowTelephonyManager.isVoiceCapable()
. - setVoiceInteractor(Object) - Method in interface org.robolectric.shadows._Activity_
- setVoiceMailAlphaTag(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.getVoiceMailAlphaTag()
. - setVoicemailNumber(PhoneAccountHandle, String) - Method in class org.robolectric.shadows.ShadowTelecomManager
- setVoiceMailNumber(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.getVoiceMailNumber()
. - setVoicemailRingtoneUri(PhoneAccountHandle, Uri) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.getVoicemailRingtoneUri(PhoneAccountHandle)
. - setVoicemailVibrationEnabled(PhoneAccountHandle, boolean) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value returned by
TelephonyManager.isVoicemailVibrationEnabled(PhoneAccountHandle)
. - setVoiceNetworkType(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by calls to
ShadowTelephonyManager.getVoiceNetworkType()
. - setVolume(float, float) - Method in class org.robolectric.shadows.ShadowMediaPlayer
- setVolumeControl(int) - Method in class org.robolectric.shadows.PlaybackInfoBuilder
- setVolumeControlStream(int) - Method in class org.robolectric.shadows.ShadowActivity
- setVolumeType(int) - Method in class org.robolectric.shadows.PlaybackInfoBuilder
- setWakeUpFlag(boolean) - Method in class org.robolectric.shadows.ShadowSensor
-
Controls the return value of
Sensor.isWakeUpSensor()
. - setWallpaperComponent(ComponentName) - Method in class org.robolectric.shadows.ShadowWallpaperManager
-
Sets a live wallpaper,
wallpaperService
, as the current wallpaper. - setWallpaperDimAmount(float) - Method in class org.robolectric.shadows.ShadowWallpaperManager
- setWebChromeClient(WebChromeClient) - Method in class org.robolectric.shadows.ShadowWebView
- setWebContentsDebuggingEnabled(boolean) - Static method in class org.robolectric.shadows.ShadowWebView
- setWebMessageCallback(WebMessagePort.WebMessageCallback) - Method in class org.robolectric.fakes.RoboWebMessagePort
- setWebMessageCallback(WebMessagePort.WebMessageCallback, Handler) - Method in class org.robolectric.fakes.RoboWebMessagePort
- setWebViewClient(WebViewClient) - Method in class org.robolectric.shadows.ShadowWebView
- setWidth(int) - Method in class org.robolectric.shadows.ShadowBitmap
- setWidth(int) - Method in class org.robolectric.shadows.ShadowCanvas
- setWidth(int) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the width available to the application for this display.
- setWidth(int) - Method in class org.robolectric.shadows.ShadowDisplayManager.ModeBuilder
- setWifiApConfiguration(WifiConfiguration) - Method in class org.robolectric.shadows.ShadowWifiManager
- setWifiAwareSession(WifiAwareSession) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
-
Sets parameter to pass to AttachCallback#onAttach(WifiAwareSession session)
- setWifiEnabled(boolean) - Method in class org.robolectric.shadows.ShadowWifiManager
- setWifiOn(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
-
Non-Android accessor that allows the value of the WIFI_ON setting to be set.
- setWifiP2pChannels(WifiP2pManager.Channel, int, int, WifiP2pManager.ActionListener) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- setWifiState(int) - Method in class org.robolectric.shadows.ShadowWifiManager
- setWindow(int, long, long, PendingIntent) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setWindow(int, long, long, String, AlarmManager.OnAlarmListener, Handler) - Method in class org.robolectric.shadows.ShadowAlarmManager
- setWindow(Window) - Method in interface org.robolectric.shadows._Activity_
- setWindow(Window) - Method in class org.robolectric.shadows.ShadowActivity
- setWindowId(int) - Method in class org.robolectric.shadows.ShadowAccessibilityRecord
-
Sets the id of the window from which the event comes.
- setWindows(List<AccessibilityWindowInfo>) - Method in class org.robolectric.shadows.ShadowAccessibilityService
-
Sets the list of interactive windows shown on the device screen as reported by
ShadowAccessibilityService.getWindows()
- setWinFrame(Rect) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- setWiredHeadsetOn(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setWordSpacing(float) - Method in class org.robolectric.shadows.ShadowPaint
- setWorkSource(WorkSource) - Method in class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
- setWrapSelectorWheel(boolean) - Method in class org.robolectric.shadows.ShadowNumberPicker
- setWtfIsFatal(boolean) - Static method in class org.robolectric.shadows.ShadowLog
-
Sets whether calling
Log.wtf(java.lang.String, java.lang.String)
will throwShadowLog.TerribleFailure
. - setX(float) - Method in class org.robolectric.shadows.DragEventBuilder
- setXdpi(float) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the horizontal DPI for this display.
- setY(float) - Method in class org.robolectric.shadows.DragEventBuilder
- setYdpi(float) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the vertical DPI for this display.
- Shadow - Class in org.robolectric.shadow.api
- Shadow() - Constructor for class org.robolectric.shadow.api.Shadow
- ShadowAbsListView - Class in org.robolectric.shadows
- ShadowAbsListView() - Constructor for class org.robolectric.shadows.ShadowAbsListView
- ShadowAbsSeekBar - Class in org.robolectric.shadows
- ShadowAbsSeekBar() - Constructor for class org.robolectric.shadows.ShadowAbsSeekBar
- ShadowAbsSpinner - Class in org.robolectric.shadows
- ShadowAbsSpinner() - Constructor for class org.robolectric.shadows.ShadowAbsSpinner
- ShadowAbstractCursor - Class in org.robolectric.shadows
- ShadowAbstractCursor() - Constructor for class org.robolectric.shadows.ShadowAbstractCursor
- ShadowAccessibilityButtonController - Class in org.robolectric.shadows
-
Shadow for
AccessibilityButtonController
. - ShadowAccessibilityButtonController() - Constructor for class org.robolectric.shadows.ShadowAccessibilityButtonController
- ShadowAccessibilityManager - Class in org.robolectric.shadows
- ShadowAccessibilityManager() - Constructor for class org.robolectric.shadows.ShadowAccessibilityManager
- ShadowAccessibilityNodeInfo - Class in org.robolectric.shadows
-
Properties of
AccessibilityNodeInfo
that are normally locked may be changed using test APIs. - ShadowAccessibilityNodeInfo() - Constructor for class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- ShadowAccessibilityNodeInfo.OnPerformActionListener - Interface in org.robolectric.shadows
- ShadowAccessibilityRecord - Class in org.robolectric.shadows
-
Shadow of
AccessibilityRecord
. - ShadowAccessibilityRecord() - Constructor for class org.robolectric.shadows.ShadowAccessibilityRecord
- ShadowAccessibilityService - Class in org.robolectric.shadows
-
Shadow of AccessibilityService that tracks global actions and provides a mechanism to simulate the window list.
- ShadowAccessibilityService() - Constructor for class org.robolectric.shadows.ShadowAccessibilityService
- ShadowAccessibilityService.GestureDispatch - Class in org.robolectric.shadows
-
Represents a gesture that has been dispatched through the accessibility service.
- ShadowAccessibilityWindowInfo - Class in org.robolectric.shadows
-
Shadow of
AccessibilityWindowInfo
that allows a test to set properties that are locked in the original class. - ShadowAccessibilityWindowInfo() - Constructor for class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- ShadowAccountManager - Class in org.robolectric.shadows
- ShadowAccountManager() - Constructor for class org.robolectric.shadows.ShadowAccountManager
- ShadowActivity - Class in org.robolectric.shadows
- ShadowActivity() - Constructor for class org.robolectric.shadows.ShadowActivity
- ShadowActivity.IntentForResult - Class in org.robolectric.shadows
-
Container object to hold an Intent, together with the requestCode used in a call to
Activity.startActivityForResult(Intent, int)
- ShadowActivity.IntentSenderRequest - Class in org.robolectric.shadows
-
Class to holds details of a startIntentSenderForResult request.
- ShadowActivity.PermissionsRequest - Class in org.robolectric.shadows
-
Class to hold a permissions request, including its request code.
- ShadowActivityGroup - Class in org.robolectric.shadows
- ShadowActivityGroup() - Constructor for class org.robolectric.shadows.ShadowActivityGroup
- ShadowActivityManager - Class in org.robolectric.shadows
-
Shadow for
ActivityManager
- ShadowActivityManager() - Constructor for class org.robolectric.shadows.ShadowActivityManager
- ShadowActivityManager.ApplicationExitInfoBuilder - Class in org.robolectric.shadows
-
Builder class for
ApplicationExitInfo
- ShadowActivityManagerNative - Class in org.robolectric.shadows
- ShadowActivityManagerNative() - Constructor for class org.robolectric.shadows.ShadowActivityManagerNative
- ShadowActivityTaskManager - Class in org.robolectric.shadows
- ShadowActivityTaskManager() - Constructor for class org.robolectric.shadows.ShadowActivityTaskManager
- ShadowActivityThread - Class in org.robolectric.shadows
- ShadowActivityThread() - Constructor for class org.robolectric.shadows.ShadowActivityThread
- ShadowActivityThread._ActivityThread_ - Interface in org.robolectric.shadows
-
Accessor interface for
ActivityThread
's internals. - ShadowActivityThread._AppBindData_ - Interface in org.robolectric.shadows
-
Accessor interface for
ActivityThread.AppBindData
's internals. - ShadowAdapterView<T extends Adapter> - Class in org.robolectric.shadows
- ShadowAdapterView() - Constructor for class org.robolectric.shadows.ShadowAdapterView
- ShadowAlarmManager - Class in org.robolectric.shadows
- ShadowAlarmManager() - Constructor for class org.robolectric.shadows.ShadowAlarmManager
- ShadowAlarmManager.ScheduledAlarm - Class in org.robolectric.shadows
-
Container object to hold a PendingIntent and parameters describing when to send it.
- ShadowAlertController - Class in org.robolectric.shadows
- ShadowAlertController() - Constructor for class org.robolectric.shadows.ShadowAlertController
- ShadowAlertDialog - Class in org.robolectric.shadows
- ShadowAlertDialog() - Constructor for class org.robolectric.shadows.ShadowAlertDialog
- ShadowAlertDialog.ShadowBuilder - Class in org.robolectric.shadows
- ShadowAmbientContextManager - Class in org.robolectric.shadows
-
Shadow of
AmbientContextManager
- ShadowAmbientContextManager() - Constructor for class org.robolectric.shadows.ShadowAmbientContextManager
- ShadowAndroidBidi - Class in org.robolectric.shadows
- ShadowAndroidBidi() - Constructor for class org.robolectric.shadows.ShadowAndroidBidi
- ShadowAndroidHttpClient - Class in org.robolectric.shadows
- ShadowAndroidHttpClient() - Constructor for class org.robolectric.shadows.ShadowAndroidHttpClient
- ShadowAndroidXMultiDex - Class in org.robolectric.shadows.multidex
- ShadowAndroidXMultiDex() - Constructor for class org.robolectric.shadows.multidex.ShadowAndroidXMultiDex
- ShadowAnimationBridge - Class in org.robolectric.shadows
-
Bridge between shadows and
Animation
. - ShadowAnimationBridge(Animation) - Constructor for class org.robolectric.shadows.ShadowAnimationBridge
- ShadowAnimationUtils - Class in org.robolectric.shadows
- ShadowAnimationUtils() - Constructor for class org.robolectric.shadows.ShadowAnimationUtils
- ShadowAnnotationValidations - Class in org.robolectric.shadows
- ShadowAnnotationValidations() - Constructor for class org.robolectric.shadows.ShadowAnnotationValidations
- ShadowApkAssets - Class in org.robolectric.shadows
- ShadowApkAssets() - Constructor for class org.robolectric.shadows.ShadowApkAssets
- ShadowApkAssets.Picker - Class in org.robolectric.shadows
- ShadowAppIntegrityManager - Class in org.robolectric.shadows
-
Shadow of
AppIntegrityManager
- ShadowAppIntegrityManager() - Constructor for class org.robolectric.shadows.ShadowAppIntegrityManager
-
Default shadow constructor that resets the
recordedRuleSet
. - ShadowApplication - Class in org.robolectric.shadows
- ShadowApplication() - Constructor for class org.robolectric.shadows.ShadowApplication
- ShadowApplication.Wrapper - Class in org.robolectric.shadows
- ShadowApplicationPackageManager - Class in org.robolectric.shadows
- ShadowApplicationPackageManager() - Constructor for class org.robolectric.shadows.ShadowApplicationPackageManager
- ShadowAppOpsManager - Class in org.robolectric.shadows
- ShadowAppOpsManager() - Constructor for class org.robolectric.shadows.ShadowAppOpsManager
- ShadowAppOpsManager.ModeAndException - Class in org.robolectric.shadows
-
Class holding usage mode and excpetion packages.
- ShadowAppTask - Class in org.robolectric.shadows
- ShadowAppTask() - Constructor for class org.robolectric.shadows.ShadowAppTask
- ShadowAppWidgetHost - Class in org.robolectric.shadows
- ShadowAppWidgetHost() - Constructor for class org.robolectric.shadows.ShadowAppWidgetHost
- ShadowAppWidgetHostView - Class in org.robolectric.shadows
- ShadowAppWidgetHostView() - Constructor for class org.robolectric.shadows.ShadowAppWidgetHostView
- ShadowAppWidgetManager - Class in org.robolectric.shadows
- ShadowAppWidgetManager() - Constructor for class org.robolectric.shadows.ShadowAppWidgetManager
- ShadowArrayAdapter<T> - Class in org.robolectric.shadows
- ShadowArrayAdapter() - Constructor for class org.robolectric.shadows.ShadowArrayAdapter
- ShadowArscApkAssets9 - Class in org.robolectric.shadows
-
Shadow for
ApkAssets
for Android P+ - ShadowArscApkAssets9() - Constructor for class org.robolectric.shadows.ShadowArscApkAssets9
- ShadowArscApkAssets9.ApkAssetMaker - Interface in org.robolectric.shadows
- ShadowArscApkAssets9.Key - Class in org.robolectric.shadows
-
Caching key for
ApkAssets
. - ShadowArscAssetInputStream - Class in org.robolectric.shadows
- ShadowArscAssetInputStream() - Constructor for class org.robolectric.shadows.ShadowArscAssetInputStream
- ShadowArscAssetManager - Class in org.robolectric.shadows
- ShadowArscAssetManager() - Constructor for class org.robolectric.shadows.ShadowArscAssetManager
- ShadowArscAssetManager10 - Class in org.robolectric.shadows
- ShadowArscAssetManager10() - Constructor for class org.robolectric.shadows.ShadowArscAssetManager10
- ShadowArscAssetManager9 - Class in org.robolectric.shadows
- ShadowArscAssetManager9() - Constructor for class org.robolectric.shadows.ShadowArscAssetManager9
- ShadowArscResourcesImpl - Class in org.robolectric.shadows
- ShadowArscResourcesImpl() - Constructor for class org.robolectric.shadows.ShadowArscResourcesImpl
- ShadowAssetInputStream - Class in org.robolectric.shadows
- ShadowAssetInputStream() - Constructor for class org.robolectric.shadows.ShadowAssetInputStream
- ShadowAssetInputStream.Picker - Class in org.robolectric.shadows
- ShadowAssetManager - Class in org.robolectric.shadows
- ShadowAssetManager() - Constructor for class org.robolectric.shadows.ShadowAssetManager
- ShadowAssetManager.ArscBase - Class in org.robolectric.shadows
- ShadowAssetManager.Picker - Class in org.robolectric.shadows
- ShadowAsyncQueryHandler - Class in org.robolectric.shadows
-
Shadow of
AsyncQueryHandler
, which calls methods synchronously. - ShadowAsyncQueryHandler() - Constructor for class org.robolectric.shadows.ShadowAsyncQueryHandler
- ShadowAsyncTask<Params,Progress,Result> - Class in org.robolectric.shadows
-
The shadow API for
AsyncTask
. - ShadowAsyncTask() - Constructor for class org.robolectric.shadows.ShadowAsyncTask
- ShadowAsyncTask.Picker - Class in org.robolectric.shadows
- ShadowAsyncTaskLoader<D> - Class in org.robolectric.shadows
-
The shadow API for
AsyncTaskLoader
. - ShadowAsyncTaskLoader() - Constructor for class org.robolectric.shadows.ShadowAsyncTaskLoader
- ShadowAsyncTaskLoader.Picker - Class in org.robolectric.shadows
- ShadowAudioEffect - Class in org.robolectric.shadows
-
Implements
AudioEffect
by shadowing its native methods. - ShadowAudioEffect() - Constructor for class org.robolectric.shadows.ShadowAudioEffect
- ShadowAudioManager - Class in org.robolectric.shadows
- ShadowAudioManager() - Constructor for class org.robolectric.shadows.ShadowAudioManager
- ShadowAudioManager.AudioFocusRequest - Class in org.robolectric.shadows
- ShadowAudioRecord - Class in org.robolectric.shadows
-
Shadow
AudioRecord
which by default will fulfil any requests for audio data by completely filling any requested buffers. - ShadowAudioRecord() - Constructor for class org.robolectric.shadows.ShadowAudioRecord
- ShadowAudioRecord.AudioRecordSource - Interface in org.robolectric.shadows
-
Provides underlying data for the
ShadowAudioRecord
. - ShadowAudioRecord.AudioRecordSourceProvider - Interface in org.robolectric.shadows
-
Provides
ShadowAudioRecord.AudioRecordSource
for the givenAudioRecord
. - ShadowAudioSystem - Class in org.robolectric.shadows
-
Shadow for
AudioSystem
. - ShadowAudioSystem() - Constructor for class org.robolectric.shadows.ShadowAudioSystem
- ShadowAudioTrack - Class in org.robolectric.shadows
-
Implementation of a couple methods in
AudioTrack
. - ShadowAudioTrack() - Constructor for class org.robolectric.shadows.ShadowAudioTrack
- ShadowAudioTrack.OnAudioDataWrittenListener - Interface in org.robolectric.shadows
-
Listeners to be notified when data is written to an
AudioTrack
viaAudioTrack.write(ByteBuffer, int, int)
- ShadowAutofillManager - Class in org.robolectric.shadows
-
Robolectric implementation of
android.os.AutofillManager
. - ShadowAutofillManager() - Constructor for class org.robolectric.shadows.ShadowAutofillManager
- ShadowBackdropFrameRenderer - Class in org.robolectric.shadows
-
Shadow for
BackdropFrameRenderer
- ShadowBackdropFrameRenderer() - Constructor for class org.robolectric.shadows.ShadowBackdropFrameRenderer
- ShadowBackgroundThread - Class in org.robolectric.shadows
- ShadowBackgroundThread() - Constructor for class org.robolectric.shadows.ShadowBackgroundThread
- ShadowBackupManager - Class in org.robolectric.shadows
-
A stub implementation of
BackupManager
that instead of connecting to a real backup transport and performing restores, stores which packages are restored from which backup set, and can be verified using methods on the shadow likeShadowBackupManager.getPackageRestoreToken(String)
. - ShadowBackupManager() - Constructor for class org.robolectric.shadows.ShadowBackupManager
- ShadowBaseAdapter - Class in org.robolectric.shadows
- ShadowBaseAdapter() - Constructor for class org.robolectric.shadows.ShadowBaseAdapter
- ShadowBasicTagTechnology - Class in org.robolectric.shadows
-
Extends BasicTagTechnology to allow for testing.
- ShadowBasicTagTechnology() - Constructor for class org.robolectric.shadows.ShadowBasicTagTechnology
- ShadowBatteryManager - Class in org.robolectric.shadows
- ShadowBatteryManager() - Constructor for class org.robolectric.shadows.ShadowBatteryManager
- ShadowBinder - Class in org.robolectric.shadows
- ShadowBinder() - Constructor for class org.robolectric.shadows.ShadowBinder
- ShadowBinderBridge - Class in org.robolectric.shadows
-
Bridge between shadow and
Binder
. - ShadowBinderBridge(Binder) - Constructor for class org.robolectric.shadows.ShadowBinderBridge
- ShadowBiometricManager - Class in org.robolectric.shadows
-
Provides testing APIs for
BiometricManager
- ShadowBiometricManager() - Constructor for class org.robolectric.shadows.ShadowBiometricManager
- ShadowBitmap - Class in org.robolectric.shadows
- ShadowBitmap() - Constructor for class org.robolectric.shadows.ShadowBitmap
- ShadowBitmapDrawable - Class in org.robolectric.shadows
- ShadowBitmapDrawable() - Constructor for class org.robolectric.shadows.ShadowBitmapDrawable
- ShadowBitmapFactory - Class in org.robolectric.shadows
- ShadowBitmapFactory() - Constructor for class org.robolectric.shadows.ShadowBitmapFactory
- ShadowBitmapRegionDecoder - Class in org.robolectric.shadows
- ShadowBitmapRegionDecoder() - Constructor for class org.robolectric.shadows.ShadowBitmapRegionDecoder
- ShadowBlockGuardOs - Class in org.robolectric.shadows
- ShadowBlockGuardOs() - Constructor for class org.robolectric.shadows.ShadowBlockGuardOs
- ShadowBluetoothA2dp - Class in org.robolectric.shadows
-
Shadow of
BluetoothA2dp
. - ShadowBluetoothA2dp() - Constructor for class org.robolectric.shadows.ShadowBluetoothA2dp
- ShadowBluetoothAdapter - Class in org.robolectric.shadows
- ShadowBluetoothAdapter() - Constructor for class org.robolectric.shadows.ShadowBluetoothAdapter
- ShadowBluetoothDevice - Class in org.robolectric.shadows
- ShadowBluetoothDevice() - Constructor for class org.robolectric.shadows.ShadowBluetoothDevice
- ShadowBluetoothGatt - Class in org.robolectric.shadows
- ShadowBluetoothGatt() - Constructor for class org.robolectric.shadows.ShadowBluetoothGatt
- ShadowBluetoothHeadset - Class in org.robolectric.shadows
-
Shadow for
BluetoothHeadset
- ShadowBluetoothHeadset() - Constructor for class org.robolectric.shadows.ShadowBluetoothHeadset
- ShadowBluetoothLeAdvertiser - Class in org.robolectric.shadows
-
Shadow implementation of
BluetoothLeAdvertiser
. - ShadowBluetoothLeAdvertiser() - Constructor for class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
- ShadowBluetoothLeScanner - Class in org.robolectric.shadows
-
Adds Robolectric support for BLE scanning.
- ShadowBluetoothLeScanner() - Constructor for class org.robolectric.shadows.ShadowBluetoothLeScanner
- ShadowBluetoothLeScanner.ScanParams - Class in org.robolectric.shadows
-
Encapsulates scan params passed to
BluetoothAdapter
startScan methods. - ShadowBluetoothManager - Class in org.robolectric.shadows
-
Shadow of
BluetoothManager
that makes the testing possible. - ShadowBluetoothManager() - Constructor for class org.robolectric.shadows.ShadowBluetoothManager
- ShadowBluetoothServerSocket - Class in org.robolectric.shadows
- ShadowBluetoothServerSocket() - Constructor for class org.robolectric.shadows.ShadowBluetoothServerSocket
- ShadowBluetoothSocket - Class in org.robolectric.shadows
- ShadowBluetoothSocket() - Constructor for class org.robolectric.shadows.ShadowBluetoothSocket
- ShadowBroadcastPendingResult - Class in org.robolectric.shadows
- ShadowBroadcastPendingResult() - Constructor for class org.robolectric.shadows.ShadowBroadcastPendingResult
- ShadowBroadcastReceiver - Class in org.robolectric.shadows
- ShadowBroadcastReceiver() - Constructor for class org.robolectric.shadows.ShadowBroadcastReceiver
- ShadowBroadcastResponseStats - Class in org.robolectric.shadows
-
Shadow of
BroadcastResponseStats
for accessing hidden APIs. - ShadowBroadcastResponseStats() - Constructor for class org.robolectric.shadows.ShadowBroadcastResponseStats
- ShadowBugreportManager - Class in org.robolectric.shadows
-
Implementation of
BugreportManager
. - ShadowBugreportManager() - Constructor for class org.robolectric.shadows.ShadowBugreportManager
- ShadowBuild - Class in org.robolectric.shadows
- ShadowBuild() - Constructor for class org.robolectric.shadows.ShadowBuild
- ShadowBuilder() - Constructor for class org.robolectric.shadows.ShadowAlertDialog.ShadowBuilder
- ShadowBuilder() - Constructor for class org.robolectric.shadows.ShadowTypeface.ShadowBuilder
- ShadowCall - Class in org.robolectric.shadows
-
Robolectric test for
Call
. - ShadowCall() - Constructor for class org.robolectric.shadows.ShadowCall
- ShadowCall.ShadowRttCall - Class in org.robolectric.shadows
-
Robolectric test for
Call.RttCall
. - ShadowCallLogCalls - Class in org.robolectric.shadows
-
Shadow for the system's CallLog.Call class that allows tests to configure the most recent call.
- ShadowCallLogCalls() - Constructor for class org.robolectric.shadows.ShadowCallLogCalls
- ShadowCallScreeningService - Class in org.robolectric.shadows
-
Shadow for
CallScreeningService
. - ShadowCallScreeningService() - Constructor for class org.robolectric.shadows.ShadowCallScreeningService
- ShadowCallScreeningService.RespondToCallInput - Class in org.robolectric.shadows
-
Contains the parameters used to call
CallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse)
. - ShadowCamera - Class in org.robolectric.shadows
- ShadowCamera() - Constructor for class org.robolectric.shadows.ShadowCamera
- ShadowCamera.ShadowParameters - Class in org.robolectric.shadows
-
Shadows the Android
Camera.Parameters
class. - ShadowCamera.ShadowSize - Class in org.robolectric.shadows
- ShadowCameraCaptureSessionImpl - Class in org.robolectric.shadows
-
Shadow class for
CameraCaptureSessionImpl
- ShadowCameraCaptureSessionImpl() - Constructor for class org.robolectric.shadows.ShadowCameraCaptureSessionImpl
- ShadowCameraCharacteristics - Class in org.robolectric.shadows
- ShadowCameraCharacteristics() - Constructor for class org.robolectric.shadows.ShadowCameraCharacteristics
- ShadowCameraDeviceImpl - Class in org.robolectric.shadows
-
Shadow class for
CameraDeviceImpl
- ShadowCameraDeviceImpl() - Constructor for class org.robolectric.shadows.ShadowCameraDeviceImpl
- ShadowCameraManager - Class in org.robolectric.shadows
-
Shadow class for
CameraManager
- ShadowCameraManager() - Constructor for class org.robolectric.shadows.ShadowCameraManager
- ShadowCameraManager.ShadowCameraManagerGlobal - Class in org.robolectric.shadows
-
Shadow class for internal class CameraManager$CameraManagerGlobal
- ShadowCameraManagerGlobal() - Constructor for class org.robolectric.shadows.ShadowCameraManager.ShadowCameraManagerGlobal
- ShadowCameraMetadataNative - Class in org.robolectric.shadows
-
Shadow class for
CameraMetadataNative
- ShadowCameraMetadataNative() - Constructor for class org.robolectric.shadows.ShadowCameraMetadataNative
- ShadowCameraMetadataNativeR - Class in org.robolectric.shadows
-
Shadow class for
CameraMetadataNative
- ShadowCameraMetadataNativeR() - Constructor for class org.robolectric.shadows.ShadowCameraMetadataNativeR
- ShadowCanvas - Class in org.robolectric.shadows
-
Broken.
- ShadowCanvas() - Constructor for class org.robolectric.shadows.ShadowCanvas
- ShadowCanvas.ArcPaintHistoryEvent - Class in org.robolectric.shadows
- ShadowCanvas.CirclePaintHistoryEvent - Class in org.robolectric.shadows
- ShadowCanvas.LinePaintHistoryEvent - Class in org.robolectric.shadows
- ShadowCanvas.OvalPaintHistoryEvent - Class in org.robolectric.shadows
- ShadowCanvas.RectPaintHistoryEvent - Class in org.robolectric.shadows
- ShadowCanvas.RoundRectPaintHistoryEvent - Class in org.robolectric.shadows
-
Captures round rectangle drawing events
- ShadowCanvas.TextHistoryEvent - Class in org.robolectric.shadows
- ShadowCaptioningManager - Class in org.robolectric.shadows
-
Shadow of
CaptioningManager
. - ShadowCaptioningManager() - Constructor for class org.robolectric.shadows.ShadowCaptioningManager
- ShadowCaptureRequestBuilder - Class in org.robolectric.shadows
-
Shadow class for
CaptureRequest.Builder
. - ShadowCaptureRequestBuilder() - Constructor for class org.robolectric.shadows.ShadowCaptureRequestBuilder
- ShadowCaptureResult - Class in org.robolectric.shadows
-
Shadow of
CaptureResult
. - ShadowCaptureResult() - Constructor for class org.robolectric.shadows.ShadowCaptureResult
- ShadowCardEmulation - Class in org.robolectric.shadows
-
Shadow implementation of
CardEmulation
. - ShadowCardEmulation() - Constructor for class org.robolectric.shadows.ShadowCardEmulation
- ShadowCarrierConfigManager - Class in org.robolectric.shadows
- ShadowCarrierConfigManager() - Constructor for class org.robolectric.shadows.ShadowCarrierConfigManager
- ShadowChoreographer - Class in org.robolectric.shadows
-
The shadow API for
Choreographer
. - ShadowChoreographer() - Constructor for class org.robolectric.shadows.ShadowChoreographer
- ShadowChoreographer.ChoreographerReflector - Interface in org.robolectric.shadows
-
Accessor interface for
Choreographer
's internals - ShadowChoreographer.Picker - Class in org.robolectric.shadows
- shadowClassName - Variable in class org.robolectric.internal.bytecode.ShadowInfo
- ShadowClipboardManager - Class in org.robolectric.shadows
- ShadowClipboardManager() - Constructor for class org.robolectric.shadows.ShadowClipboardManager
- ShadowCloseGuard - Class in org.robolectric.shadows
-
Shadow for
CloseGuard
. - ShadowCloseGuard() - Constructor for class org.robolectric.shadows.ShadowCloseGuard
- ShadowCodecBuffer() - Constructor for class org.robolectric.shadows.ShadowMediaCodec.ShadowCodecBuffer
- ShadowColor - Class in org.robolectric.shadows
- ShadowColor() - Constructor for class org.robolectric.shadows.ShadowColor
- ShadowColorDisplayManager - Class in org.robolectric.shadows
- ShadowColorDisplayManager() - Constructor for class org.robolectric.shadows.ShadowColorDisplayManager
- ShadowColorSpace - Class in org.robolectric.shadows
-
Container for implementations of ColorSpace
- ShadowColorSpace() - Constructor for class org.robolectric.shadows.ShadowColorSpace
- ShadowColorSpace.ShadowRgb - Class in org.robolectric.shadows
- ShadowCompanionDeviceManager - Class in org.robolectric.shadows
-
Shadow for CompanionDeviceManager.
- ShadowCompanionDeviceManager() - Constructor for class org.robolectric.shadows.ShadowCompanionDeviceManager
- ShadowCompatibility - Class in org.robolectric.shadows
-
Robolectric shadow to disable CALL_ACTIVITY_RESULT_BEFORE_RESUME using Compatibility's isChangeEnabled.
- ShadowCompatibility() - Constructor for class org.robolectric.shadows.ShadowCompatibility
- ShadowCompatModeWrapper() - Constructor for class org.robolectric.shadows.ShadowWindowManagerImpl.ShadowCompatModeWrapper
- ShadowCompoundButton - Class in org.robolectric.shadows
- ShadowCompoundButton() - Constructor for class org.robolectric.shadows.ShadowCompoundButton
- ShadowConnection - Class in org.robolectric.shadows
-
Shadow for
Connection
that represents a phone call or connection to a remote endpoint that carries voice and/or video traffic. - ShadowConnection() - Constructor for class org.robolectric.shadows.ShadowConnection
- ShadowConnectivityManager - Class in org.robolectric.shadows
- ShadowConnectivityManager() - Constructor for class org.robolectric.shadows.ShadowConnectivityManager
- ShadowConstants - Class in org.robolectric.internal.bytecode
- ShadowConstants() - Constructor for class org.robolectric.internal.bytecode.ShadowConstants
- ShadowContentCaptureManager - Class in org.robolectric.shadows
-
A Shadow for android.view.contentcapture.ContentCaptureManager added in Android R.
- ShadowContentCaptureManager() - Constructor for class org.robolectric.shadows.ShadowContentCaptureManager
- ShadowContentProvider - Class in org.robolectric.shadows
- ShadowContentProvider() - Constructor for class org.robolectric.shadows.ShadowContentProvider
- ShadowContentProviderClient - Class in org.robolectric.shadows
- ShadowContentProviderClient() - Constructor for class org.robolectric.shadows.ShadowContentProviderClient
- ShadowContentProviderOperation - Class in org.robolectric.shadows
- ShadowContentProviderOperation() - Constructor for class org.robolectric.shadows.ShadowContentProviderOperation
- ShadowContentProviderResult - Class in org.robolectric.shadows
- ShadowContentProviderResult() - Constructor for class org.robolectric.shadows.ShadowContentProviderResult
- ShadowContentResolver - Class in org.robolectric.shadows
- ShadowContentResolver() - Constructor for class org.robolectric.shadows.ShadowContentResolver
- ShadowContentResolver.DeleteStatement - Class in org.robolectric.shadows
-
A statement used to delete content in a
ContentProvider
. - ShadowContentResolver.InsertStatement - Class in org.robolectric.shadows
-
A statement used to insert content into a
ContentProvider
. - ShadowContentResolver.NotifiedUri - Class in org.robolectric.shadows
- ShadowContentResolver.Statement - Class in org.robolectric.shadows
-
A statement used to modify content in a
ContentProvider
. - ShadowContentResolver.Status - Class in org.robolectric.shadows
- ShadowContentResolver.UpdateStatement - Class in org.robolectric.shadows
-
A statement used to update content in a
ContentProvider
. - ShadowContentUris - Class in org.robolectric.shadows
- ShadowContentUris() - Constructor for class org.robolectric.shadows.ShadowContentUris
- ShadowContextHubClient - Class in org.robolectric.shadows
-
Shadow for
ContextHubClient
. - ShadowContextHubClient() - Constructor for class org.robolectric.shadows.ShadowContextHubClient
- ShadowContextHubManager - Class in org.robolectric.shadows
-
Shadow for
ContextHubManager
. - ShadowContextHubManager() - Constructor for class org.robolectric.shadows.ShadowContextHubManager
- ShadowContextImpl - Class in org.robolectric.shadows
- ShadowContextImpl() - Constructor for class org.robolectric.shadows.ShadowContextImpl
- ShadowContextImpl._ContextImpl_ - Interface in org.robolectric.shadows
-
Reflector interface for
ContextImpl
's internals. - ShadowContextThemeWrapper - Class in org.robolectric.shadows
- ShadowContextThemeWrapper() - Constructor for class org.robolectric.shadows.ShadowContextThemeWrapper
- ShadowContextWrapper - Class in org.robolectric.shadows
- ShadowContextWrapper() - Constructor for class org.robolectric.shadows.ShadowContextWrapper
- ShadowCookieManager - Class in org.robolectric.shadows
- ShadowCookieManager() - Constructor for class org.robolectric.shadows.ShadowCookieManager
- ShadowCookieSyncManager - Class in org.robolectric.shadows
- ShadowCookieSyncManager() - Constructor for class org.robolectric.shadows.ShadowCookieSyncManager
- ShadowCornerPathEffect - Class in org.robolectric.shadows
- ShadowCornerPathEffect() - Constructor for class org.robolectric.shadows.ShadowCornerPathEffect
- ShadowCountDownTimer - Class in org.robolectric.shadows
- ShadowCountDownTimer() - Constructor for class org.robolectric.shadows.ShadowCountDownTimer
- ShadowCrossProfileApps - Class in org.robolectric.shadows
-
Robolectric implementation of
CrossProfileApps
. - ShadowCrossProfileApps() - Constructor for class org.robolectric.shadows.ShadowCrossProfileApps
- ShadowCrossProfileApps.StartedActivity - Class in org.robolectric.shadows
-
Container object to hold parameters passed to
ShadowCrossProfileApps.startMainActivity(ComponentName, UserHandle)
orShadowCrossProfileApps.startActivity(ComponentName, UserHandle)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity, Bundle)
. - ShadowCrossProfileApps.StartedMainActivity - Class in org.robolectric.shadows
-
Deprecated.
- ShadowCursorWindow - Class in org.robolectric.shadows
-
The base shadow class for
CursorWindow
. - ShadowCursorWindow() - Constructor for class org.robolectric.shadows.ShadowCursorWindow
- ShadowCursorWindow.Picker - Class in org.robolectric.shadows
-
Shadow
ShadowCursorWindow.Picker
forShadowCursorWindow
- ShadowCursorWrapper - Class in org.robolectric.shadows
- ShadowCursorWrapper() - Constructor for class org.robolectric.shadows.ShadowCursorWrapper
- ShadowDashPathEffect - Class in org.robolectric.shadows
- ShadowDashPathEffect() - Constructor for class org.robolectric.shadows.ShadowDashPathEffect
- ShadowDateIntervalFormat - Class in org.robolectric.shadows
- ShadowDateIntervalFormat() - Constructor for class org.robolectric.shadows.ShadowDateIntervalFormat
- ShadowDatePickerDialog - Class in org.robolectric.shadows
- ShadowDatePickerDialog() - Constructor for class org.robolectric.shadows.ShadowDatePickerDialog
- ShadowDebug - Class in org.robolectric.shadows
- ShadowDebug() - Constructor for class org.robolectric.shadows.ShadowDebug
- ShadowDecorator - Class in org.robolectric.internal.bytecode
-
Decorator which adds Robolectric's shadowing behavior to a class.
- ShadowDecorator() - Constructor for class org.robolectric.internal.bytecode.ShadowDecorator
- ShadowDefaultRequestDirector - Class in org.robolectric.shadows.httpclient
- ShadowDefaultRequestDirector() - Constructor for class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- ShadowDeviceConfig - Class in org.robolectric.shadows
- ShadowDeviceConfig() - Constructor for class org.robolectric.shadows.ShadowDeviceConfig
- ShadowDevicePolicyManager - Class in org.robolectric.shadows
- ShadowDevicePolicyManager() - Constructor for class org.robolectric.shadows.ShadowDevicePolicyManager
- ShadowDevicePolicyResourcesManager - Class in org.robolectric.shadows
-
Shadow for
DevicePolicyResourcesManager
. - ShadowDevicePolicyResourcesManager() - Constructor for class org.robolectric.shadows.ShadowDevicePolicyResourcesManager
- ShadowDexFile - Class in org.robolectric.shadows
-
Shadow implementation of dalvik.system.Dexfile.
- ShadowDexFile() - Constructor for class org.robolectric.shadows.ShadowDexFile
- ShadowDialog - Class in org.robolectric.shadows
- ShadowDialog() - Constructor for class org.robolectric.shadows.ShadowDialog
- ShadowDiscoverySession - Class in org.robolectric.shadows
- ShadowDiscoverySession() - Constructor for class org.robolectric.shadows.ShadowDiscoverySession
- ShadowDisplay - Class in org.robolectric.shadows
-
It is possible to override some display properties using setters on
ShadowDisplay
. - ShadowDisplay() - Constructor for class org.robolectric.shadows.ShadowDisplay
- ShadowDisplayEventReceiver - Class in org.robolectric.shadows
-
Shadow of
DisplayEventReceiver
. - ShadowDisplayEventReceiver() - Constructor for class org.robolectric.shadows.ShadowDisplayEventReceiver
- ShadowDisplayEventReceiver.DisplayEventReceiverReflector - Interface in org.robolectric.shadows
-
Reflector interface for
DisplayEventReceiver
's internals. - ShadowDisplayHashManager - Class in org.robolectric.shadows
-
Shadow of
DisplayHashManager
. - ShadowDisplayHashManager() - Constructor for class org.robolectric.shadows.ShadowDisplayHashManager
- ShadowDisplayListCanvas - Class in org.robolectric.shadows
-
Shadow for
android.view.DisplayListCanvas
from API versions M to R - ShadowDisplayListCanvas() - Constructor for class org.robolectric.shadows.ShadowDisplayListCanvas
- ShadowDisplayManager - Class in org.robolectric.shadows
-
For tests, display properties may be changed and devices may be added or removed programmatically.
- ShadowDisplayManager() - Constructor for class org.robolectric.shadows.ShadowDisplayManager
- ShadowDisplayManager.ModeBuilder - Class in org.robolectric.shadows
-
Builder class for
Display.Mode
- ShadowDisplayManagerGlobal - Class in org.robolectric.shadows
-
Shadow for
DisplayManagerGlobal
. - ShadowDisplayManagerGlobal() - Constructor for class org.robolectric.shadows.ShadowDisplayManagerGlobal
- ShadowDownloadManager - Class in org.robolectric.shadows
- ShadowDownloadManager() - Constructor for class org.robolectric.shadows.ShadowDownloadManager
- ShadowDownloadManager.CompletedDownload - Class in org.robolectric.shadows
-
Value class to represent a "completed download" sent to
DownloadManager
using the addCompletedDownload APIs. - ShadowDownloadManager.ShadowQuery - Class in org.robolectric.shadows
- ShadowDownloadManager.ShadowRequest - Class in org.robolectric.shadows
- ShadowDrawable - Class in org.robolectric.shadows
- ShadowDrawable() - Constructor for class org.robolectric.shadows.ShadowDrawable
- ShadowDropBoxManager - Class in org.robolectric.shadows
-
Fake dropbox manager that starts with no entries.
- ShadowDropBoxManager() - Constructor for class org.robolectric.shadows.ShadowDropBoxManager
- ShadowDynamicsProcessing - Class in org.robolectric.shadows
-
Implements
DynamicsProcessing
by relying onShadowAudioEffect
. - ShadowDynamicsProcessing() - Constructor for class org.robolectric.shadows.ShadowDynamicsProcessing
- shadowedClassName - Variable in class org.robolectric.internal.bytecode.ShadowInfo
- ShadowEdgeEffect - Class in org.robolectric.shadows
-
Shadow for
EdgeEffect
- ShadowEdgeEffect() - Constructor for class org.robolectric.shadows.ShadowEdgeEffect
- ShadowedObject - Interface in org.robolectric.internal.bytecode
- ShadowEGL14 - Class in org.robolectric.shadows
-
Shadow for EGL14.
- ShadowEGL14() - Constructor for class org.robolectric.shadows.ShadowEGL14
- ShadowEnvironment - Class in org.robolectric.shadows
- ShadowEnvironment() - Constructor for class org.robolectric.shadows.ShadowEnvironment
- ShadowEnvironment.ShadowUserEnvironment - Class in org.robolectric.shadows
- ShadowEuiccManager - Class in org.robolectric.shadows
- ShadowEuiccManager() - Constructor for class org.robolectric.shadows.ShadowEuiccManager
- ShadowEvent() - Constructor for class org.robolectric.shadows.ShadowEventLog.ShadowEvent
- ShadowEventLog - Class in org.robolectric.shadows
- ShadowEventLog() - Constructor for class org.robolectric.shadows.ShadowEventLog
- ShadowEventLog.EventBuilder - Class in org.robolectric.shadows
-
Class to build
EventLog.Event
- ShadowEventLog.ShadowEvent - Class in org.robolectric.shadows
- ShadowExpandableListView - Class in org.robolectric.shadows
- ShadowExpandableListView() - Constructor for class org.robolectric.shadows.ShadowExpandableListView
- ShadowFileObserver - Class in org.robolectric.shadows
-
A shadow implementation of FileObserver that uses java.nio.file.WatchService.
- ShadowFileObserver() - Constructor for class org.robolectric.shadows.ShadowFileObserver
- ShadowFileUtils - Class in org.robolectric.shadows
- ShadowFileUtils() - Constructor for class org.robolectric.shadows.ShadowFileUtils
- ShadowFilter - Class in org.robolectric.shadows
- ShadowFilter() - Constructor for class org.robolectric.shadows.ShadowFilter
- ShadowFingerprintManager - Class in org.robolectric.shadows
-
Provides testing APIs for
FingerprintManager
- ShadowFingerprintManager() - Constructor for class org.robolectric.shadows.ShadowFingerprintManager
- ShadowFloatMath - Class in org.robolectric.shadows
-
Shadow for
FloatMath
. - ShadowFloatMath() - Constructor for class org.robolectric.shadows.ShadowFloatMath
- ShadowFont - Class in org.robolectric.shadows
-
Shadow for
Font
for Android S - ShadowFont() - Constructor for class org.robolectric.shadows.ShadowFont
- ShadowFontBuilder - Class in org.robolectric.shadows
-
Shadow for
Font.Builder
- ShadowFontBuilder() - Constructor for class org.robolectric.shadows.ShadowFontBuilder
- ShadowFontFamily - Class in org.robolectric.shadows
- ShadowFontFamily() - Constructor for class org.robolectric.shadows.ShadowFontFamily
- ShadowFontsContract - Class in org.robolectric.shadows
- ShadowFontsContract() - Constructor for class org.robolectric.shadows.ShadowFontsContract
- ShadowFontsFontFamily - Class in org.robolectric.shadows
-
Shadow for
FontFamily
. - ShadowFontsFontFamily() - Constructor for class org.robolectric.shadows.ShadowFontsFontFamily
- ShadowFontsFontFamily.ShadowFontsFontFamilyBuilder - Class in org.robolectric.shadows
-
Shadow for
FontFamily.Builder
. - ShadowFontsFontFamilyBuilder() - Constructor for class org.robolectric.shadows.ShadowFontsFontFamily.ShadowFontsFontFamilyBuilder
- ShadowGeocoder - Class in org.robolectric.shadows
- ShadowGeocoder() - Constructor for class org.robolectric.shadows.ShadowGeocoder
- ShadowGestureDetector - Class in org.robolectric.shadows
- ShadowGestureDetector() - Constructor for class org.robolectric.shadows.ShadowGestureDetector
- ShadowGLES20 - Class in org.robolectric.shadows
-
Fake implementation of
GLES20
- ShadowGLES20() - Constructor for class org.robolectric.shadows.ShadowGLES20
- ShadowGlobal() - Constructor for class org.robolectric.shadows.ShadowSettings.ShadowGlobal
- ShadowGLSurfaceView - Class in org.robolectric.shadows
-
Fake implementation of GLSurfaceView
- ShadowGLSurfaceView() - Constructor for class org.robolectric.shadows.ShadowGLSurfaceView
- ShadowGoogleApiAvailability - Class in org.robolectric.shadows.gms.common
- ShadowGoogleApiAvailability() - Constructor for class org.robolectric.shadows.gms.common.ShadowGoogleApiAvailability
- ShadowGoogleAuthUtil - Class in org.robolectric.shadows.gms
-
Calls to static method of
GoogleAuthUtil
will be redirected to the providedShadowGoogleAuthUtil.GoogleAuthUtilImpl
implementation. - ShadowGoogleAuthUtil() - Constructor for class org.robolectric.shadows.gms.ShadowGoogleAuthUtil
- ShadowGoogleAuthUtil.GoogleAuthUtilImpl - Class in org.robolectric.shadows.gms
-
Class containing methods with same signatures of the static methods of
GoogleAuthUtil
- ShadowGooglePlayServicesUtil - Class in org.robolectric.shadows.gms
-
Calls to static method of
GooglePlayServicesUtil
will be redirected to the providedShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
implementation. - ShadowGooglePlayServicesUtil() - Constructor for class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl - Class in org.robolectric.shadows.gms
-
Class containing methods with same signatures of the static methods of
GooglePlayServicesUtil
. - ShadowGradientDrawable - Class in org.robolectric.shadows
- ShadowGradientDrawable() - Constructor for class org.robolectric.shadows.ShadowGradientDrawable
- ShadowHardwareBuffer - Class in org.robolectric.shadows
-
Shadow of android.hardware.HardwareBuffer.
- ShadowHardwareBuffer() - Constructor for class org.robolectric.shadows.ShadowHardwareBuffer
- ShadowHardwareRenderer - Class in org.robolectric.shadows
- ShadowHardwareRenderer() - Constructor for class org.robolectric.shadows.ShadowHardwareRenderer
- ShadowHttpResponseCache - Class in org.robolectric.shadows
- ShadowHttpResponseCache() - Constructor for class org.robolectric.shadows.ShadowHttpResponseCache
- ShadowIAppOpsService - Class in org.robolectric.shadows
- ShadowIAppOpsService() - Constructor for class org.robolectric.shadows.ShadowIAppOpsService
- ShadowIAppOpsService.ShadowStub - Class in org.robolectric.shadows
- ShadowIcon - Class in org.robolectric.shadows
- ShadowIcon() - Constructor for class org.robolectric.shadows.ShadowIcon
- ShadowICU - Class in org.robolectric.shadows
- ShadowICU() - Constructor for class org.robolectric.shadows.ShadowICU
- ShadowImageDecoder - Class in org.robolectric.shadows
- ShadowImageDecoder() - Constructor for class org.robolectric.shadows.ShadowImageDecoder
- ShadowImageReader - Class in org.robolectric.shadows
-
Shadow for
ImageReader
- ShadowImageReader() - Constructor for class org.robolectric.shadows.ShadowImageReader
- ShadowImageReader.ShadowSurfaceImage - Class in org.robolectric.shadows
-
Shadow for
Image
- ShadowImages() - Constructor for class org.robolectric.shadows.ShadowMediaStore.ShadowImages
- ShadowImeTracingClientImpl - Class in org.robolectric.shadows
- ShadowImeTracingClientImpl() - Constructor for class org.robolectric.shadows.ShadowImeTracingClientImpl
- ShadowImpl - Class in org.robolectric.internal.bytecode
- ShadowImpl() - Constructor for class org.robolectric.internal.bytecode.ShadowImpl
- ShadowImsMmTelManager - Class in org.robolectric.shadows
-
Supports IMS by default.
- ShadowImsMmTelManager() - Constructor for class org.robolectric.shadows.ShadowImsMmTelManager
- ShadowInCallAdapter - Class in org.robolectric.shadows
-
Shadow for
InCallAdapter
. - ShadowInCallAdapter() - Constructor for class org.robolectric.shadows.ShadowInCallAdapter
- ShadowInCallService - Class in org.robolectric.shadows
-
Shadow for
InCallService
. - ShadowInCallService() - Constructor for class org.robolectric.shadows.ShadowInCallService
- ShadowInetAddressUtils - Class in org.robolectric.shadows
-
Shadow InetAddressUtils class that doesn't use native Libcore function.
- ShadowInetAddressUtils() - Constructor for class org.robolectric.shadows.ShadowInetAddressUtils
- ShadowInfo - Class in org.robolectric.internal.bytecode
- ShadowInputDevice - Class in org.robolectric.shadows
- ShadowInputDevice() - Constructor for class org.robolectric.shadows.ShadowInputDevice
- ShadowInputEvent - Class in org.robolectric.shadows
- ShadowInputEvent() - Constructor for class org.robolectric.shadows.ShadowInputEvent
- ShadowInputEventReceiver - Class in org.robolectric.shadows
- ShadowInputEventReceiver() - Constructor for class org.robolectric.shadows.ShadowInputEventReceiver
- ShadowInputManager - Class in org.robolectric.shadows
-
Shadow for
InputManager
- ShadowInputManager() - Constructor for class org.robolectric.shadows.ShadowInputManager
- ShadowInputMethodManager - Class in org.robolectric.shadows
- ShadowInputMethodManager() - Constructor for class org.robolectric.shadows.ShadowInputMethodManager
- ShadowInputMethodManager.PrivateCommandListener - Interface in org.robolectric.shadows
-
Handler for receiving PrivateCommands.
- ShadowInputMethodManager.SoftInputVisibilityChangeHandler - Interface in org.robolectric.shadows
-
Handler for receiving soft input visibility changed event.
- ShadowInstrumentation - Class in org.robolectric.shadows
- ShadowInstrumentation() - Constructor for class org.robolectric.shadows.ShadowInstrumentation
- ShadowInstrumentation._Instrumentation_ - Interface in org.robolectric.shadows
-
Reflector interface for
Instrumentation
's internals. - ShadowIntent - Class in org.robolectric.shadows
- ShadowIntent() - Constructor for class org.robolectric.shadows.ShadowIntent
- ShadowIntentService - Class in org.robolectric.shadows
- ShadowIntentService() - Constructor for class org.robolectric.shadows.ShadowIntentService
- ShadowInvalidator - Class in org.robolectric.internal.bytecode
- ShadowInvalidator() - Constructor for class org.robolectric.internal.bytecode.ShadowInvalidator
- ShadowIoUtils - Class in org.robolectric.shadows
- ShadowIoUtils() - Constructor for class org.robolectric.shadows.ShadowIoUtils
- shadowIsDeprecated() - Method in class org.robolectric.annotation.processing.RobolectricModel.ShadowInfo
- ShadowIsoDep - Class in org.robolectric.shadows
-
Extends IsoDep to allow for testing.
- ShadowIsoDep() - Constructor for class org.robolectric.shadows.ShadowIsoDep
- ShadowJobScheduler - Class in org.robolectric.shadows
- ShadowJobScheduler() - Constructor for class org.robolectric.shadows.ShadowJobScheduler
- ShadowJobScheduler.ShadowJobSchedulerImpl - Class in org.robolectric.shadows
- ShadowJobSchedulerImpl() - Constructor for class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
- ShadowJobService - Class in org.robolectric.shadows
- ShadowJobService() - Constructor for class org.robolectric.shadows.ShadowJobService
- ShadowJsPromptResult - Class in org.robolectric.shadows
- ShadowJsPromptResult() - Constructor for class org.robolectric.shadows.ShadowJsPromptResult
- ShadowJsResult - Class in org.robolectric.shadows
- ShadowJsResult() - Constructor for class org.robolectric.shadows.ShadowJsResult
- ShadowKeyCharacterMap - Class in org.robolectric.shadows
- ShadowKeyCharacterMap() - Constructor for class org.robolectric.shadows.ShadowKeyCharacterMap
- ShadowKeyguardLock() - Constructor for class org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock
- ShadowKeyguardManager - Class in org.robolectric.shadows
- ShadowKeyguardManager() - Constructor for class org.robolectric.shadows.ShadowKeyguardManager
- ShadowKeyguardManager.ShadowKeyguardLock - Class in org.robolectric.shadows
-
An implementation of
KeyguardManager.KeyguardLock
, for use in tests. - ShadowLauncherApps - Class in org.robolectric.shadows
-
Shadow of
LauncherApps
. - ShadowLauncherApps() - Constructor for class org.robolectric.shadows.ShadowLauncherApps
- ShadowLayoutAnimationController - Class in org.robolectric.shadows
- ShadowLayoutAnimationController() - Constructor for class org.robolectric.shadows.ShadowLayoutAnimationController
- ShadowLegacyApkAssets - Class in org.robolectric.shadows
-
Shadow for
ApkAssets
that is used for legacy resources. - ShadowLegacyApkAssets() - Constructor for class org.robolectric.shadows.ShadowLegacyApkAssets
- ShadowLegacyAssetInputStream - Class in org.robolectric.shadows
- ShadowLegacyAssetInputStream() - Constructor for class org.robolectric.shadows.ShadowLegacyAssetInputStream
- ShadowLegacyAssetManager - Class in org.robolectric.shadows
- ShadowLegacyAssetManager() - Constructor for class org.robolectric.shadows.ShadowLegacyAssetManager
- ShadowLegacyAsyncTask<Params,Progress,Result> - Class in org.robolectric.shadows
-
A
AsyncTask
shadow forLooperMode.Mode.LEGACY
. - ShadowLegacyAsyncTask() - Constructor for class org.robolectric.shadows.ShadowLegacyAsyncTask
- ShadowLegacyAsyncTaskLoader<D> - Class in org.robolectric.shadows
-
The shadow
AsyncTaskLoader
forLooperMode.Mode.LEGACY
. - ShadowLegacyAsyncTaskLoader() - Constructor for class org.robolectric.shadows.ShadowLegacyAsyncTaskLoader
- ShadowLegacyChoreographer - Class in org.robolectric.shadows
-
The
Choreographer
shadow forLooperMode.Mode.PAUSED
. - ShadowLegacyChoreographer() - Constructor for class org.robolectric.shadows.ShadowLegacyChoreographer
- ShadowLegacyCursorWindow - Class in org.robolectric.shadows
-
Legacy shadow for
CursowWindow
. - ShadowLegacyCursorWindow() - Constructor for class org.robolectric.shadows.ShadowLegacyCursorWindow
- ShadowLegacyLooper - Class in org.robolectric.shadows
-
The shadow Looper implementation for
LooperMode.Mode.LEGACY
. - ShadowLegacyLooper() - Constructor for class org.robolectric.shadows.ShadowLegacyLooper
- ShadowLegacyMessage - Class in org.robolectric.shadows
-
The shadow
Message
forLooperMode.Mode.LEGACY
. - ShadowLegacyMessage() - Constructor for class org.robolectric.shadows.ShadowLegacyMessage
- ShadowLegacyMessageQueue - Class in org.robolectric.shadows
-
The shadow
MessageQueue
forLooperMode.Mode.LEGACY
. - ShadowLegacyMessageQueue() - Constructor for class org.robolectric.shadows.ShadowLegacyMessageQueue
- ShadowLegacyResourcesImpl - Class in org.robolectric.shadows
- ShadowLegacyResourcesImpl() - Constructor for class org.robolectric.shadows.ShadowLegacyResourcesImpl
- ShadowLegacyResourcesImpl.ShadowLegacyThemeImpl - Class in org.robolectric.shadows
- ShadowLegacySQLiteConnection - Class in org.robolectric.shadows
-
Shadow for
SQLiteConnection
that is backed by sqlite4java. - ShadowLegacySQLiteConnection() - Constructor for class org.robolectric.shadows.ShadowLegacySQLiteConnection
- ShadowLegacySystemClock - Class in org.robolectric.shadows
-
A shadow SystemClock for
LooperMode.Mode.LEGACY
- ShadowLegacySystemClock() - Constructor for class org.robolectric.shadows.ShadowLegacySystemClock
- ShadowLegacyTheme() - Constructor for class org.robolectric.shadows.ShadowResources.ShadowLegacyTheme
- ShadowLegacyThemeImpl() - Constructor for class org.robolectric.shadows.ShadowLegacyResourcesImpl.ShadowLegacyThemeImpl
- ShadowLibcoreOsConstants - Class in org.robolectric.shadows
-
Implements OsConstants on APIs 20 and below.
- ShadowLibcoreOsConstants() - Constructor for class org.robolectric.shadows.ShadowLibcoreOsConstants
- ShadowLinearGradient - Class in org.robolectric.shadows
- ShadowLinearGradient() - Constructor for class org.robolectric.shadows.ShadowLinearGradient
- ShadowLinearLayout - Class in org.robolectric.shadows
- ShadowLinearLayout() - Constructor for class org.robolectric.shadows.ShadowLinearLayout
- ShadowLineBreaker - Class in org.robolectric.shadows
- ShadowLineBreaker() - Constructor for class org.robolectric.shadows.ShadowLineBreaker
- ShadowLinkMovementMethod - Class in org.robolectric.shadows
- ShadowLinkMovementMethod() - Constructor for class org.robolectric.shadows.ShadowLinkMovementMethod
- ShadowLinux - Class in org.robolectric.shadows
- ShadowLinux() - Constructor for class org.robolectric.shadows.ShadowLinux
- ShadowListPopupWindow - Class in org.robolectric.shadows
- ShadowListPopupWindow() - Constructor for class org.robolectric.shadows.ShadowListPopupWindow
- ShadowListView - Class in org.robolectric.shadows
- ShadowListView() - Constructor for class org.robolectric.shadows.ShadowListView
- ShadowLoadedApk - Class in org.robolectric.shadows
- ShadowLoadedApk() - Constructor for class org.robolectric.shadows.ShadowLoadedApk
- ShadowLoadedApk._LoadedApk_ - Interface in org.robolectric.shadows
-
Accessor interface for
LoadedApk
's internals. - ShadowLocalActivityManager - Class in org.robolectric.shadows
- ShadowLocalActivityManager() - Constructor for class org.robolectric.shadows.ShadowLocalActivityManager
- ShadowLocaleData - Class in org.robolectric.shadows
-
Robolectric only supports en_US regardless of the default locale set in the JVM.
- ShadowLocaleData() - Constructor for class org.robolectric.shadows.ShadowLocaleData
- ShadowLocaleList - Class in org.robolectric.shadows
-
Shadow for
LocaleList
- ShadowLocaleList() - Constructor for class org.robolectric.shadows.ShadowLocaleList
- ShadowLocaleManager - Class in org.robolectric.shadows
-
Shadow of
LocaleManager
- ShadowLocaleManager() - Constructor for class org.robolectric.shadows.ShadowLocaleManager
- ShadowLocationManager - Class in org.robolectric.shadows
-
Shadow for
LocationManager
. - ShadowLocationManager() - Constructor for class org.robolectric.shadows.ShadowLocationManager
- ShadowLocationManager.ProviderProperties - Class in org.robolectric.shadows
-
ProviderProperties is not public prior to S, so a new class is required to represent it prior to that platform.
- ShadowLocationManager.RoboLocationRequest - Class in org.robolectric.shadows
-
LocationRequest doesn't exist prior to Kitkat, and is not public prior to S, so a new class is required to represent it prior to those platforms.
- ShadowLog - Class in org.robolectric.shadows
-
Controls the behavior of
Log
and provides access to log messages. - ShadowLog() - Constructor for class org.robolectric.shadows.ShadowLog
- ShadowLog.LogItem - Class in org.robolectric.shadows
-
A single log item.
- ShadowLog.TerribleFailure - Exception in org.robolectric.shadows
-
Failure thrown when wtf_is_fatal is true and Log.wtf is called.
- ShadowLooper - Class in org.robolectric.shadows
-
The base shadow API class for controlling Loopers.
- ShadowLooper() - Constructor for class org.robolectric.shadows.ShadowLooper
- ShadowLooper.Picker - Class in org.robolectric.shadows
- ShadowMagnificationController - Class in org.robolectric.shadows
-
Shadow of MagnificationController.
- ShadowMagnificationController() - Constructor for class org.robolectric.shadows.ShadowMagnificationController
- shadowMainLooper - Variable in class org.robolectric.android.controller.ComponentController
- shadowMainLooper() - Static method in class org.robolectric.shadows.ShadowLooper
- ShadowMap - Class in org.robolectric.internal.bytecode
-
Maps from instrumented class to shadow class.
- ShadowMap.Builder - Class in org.robolectric.internal.bytecode
- ShadowMatcher - Interface in org.robolectric.sandbox
-
ShadowMatcher is used by
ShadowWrangler
to provide library-specific rules about whether shadow classes and methods should be considered matches. - ShadowMatrix - Class in org.robolectric.shadows
- ShadowMatrix() - Constructor for class org.robolectric.shadows.ShadowMatrix
- ShadowMeasuredParagraph - Class in org.robolectric.shadows
- ShadowMeasuredParagraph() - Constructor for class org.robolectric.shadows.ShadowMeasuredParagraph
- ShadowMeasuredTextBuilder - Class in org.robolectric.shadows
- ShadowMeasuredTextBuilder() - Constructor for class org.robolectric.shadows.ShadowMeasuredTextBuilder
- ShadowMedia() - Constructor for class org.robolectric.shadows.ShadowMediaStore.ShadowImages.ShadowMedia
- ShadowMediaActionSound - Class in org.robolectric.shadows
-
A shadow implementation of
MediaActionSound
. - ShadowMediaActionSound() - Constructor for class org.robolectric.shadows.ShadowMediaActionSound
- ShadowMediaCodec - Class in org.robolectric.shadows
-
Implementation of
MediaCodec
which supports both asynchronous and synchronous modes. - ShadowMediaCodec() - Constructor for class org.robolectric.shadows.ShadowMediaCodec
- ShadowMediaCodec.CodecConfig - Class in org.robolectric.shadows
-
Configuration that can be supplied to
ShadowMediaCodec
to simulate actual encoding/decoding. - ShadowMediaCodec.CodecConfig.Codec - Interface in org.robolectric.shadows
-
A codec is implemented as part of the configuration to allow the
ShadowMediaCodec
to simulate actual encoding/decoding. - ShadowMediaCodec.ShadowCodecBuffer - Class in org.robolectric.shadows
-
Shadows CodecBuffer to prevent attempting to free non-direct ByteBuffer objects.
- ShadowMediaCodecList - Class in org.robolectric.shadows
-
Implementation of
MediaCodecList
. - ShadowMediaCodecList() - Constructor for class org.robolectric.shadows.ShadowMediaCodecList
- ShadowMediaController - Class in org.robolectric.shadows
-
Implementation of
MediaController
. - ShadowMediaController() - Constructor for class org.robolectric.shadows.ShadowMediaController
- ShadowMediaExtractor - Class in org.robolectric.shadows
-
A shadow for the MediaExtractor class.
- ShadowMediaExtractor() - Constructor for class org.robolectric.shadows.ShadowMediaExtractor
- ShadowMediaMetadataRetriever - Class in org.robolectric.shadows
- ShadowMediaMetadataRetriever() - Constructor for class org.robolectric.shadows.ShadowMediaMetadataRetriever
- ShadowMediaMuxer - Class in org.robolectric.shadows
-
Implementation of
MediaMuxer
which directly passes input bytes to the specified file, with no modification. - ShadowMediaMuxer() - Constructor for class org.robolectric.shadows.ShadowMediaMuxer
- ShadowMediaPlayer - Class in org.robolectric.shadows
-
Automated testing of media playback can be a difficult thing - especially testing that your code properly handles asynchronous errors and events.
- ShadowMediaPlayer() - Constructor for class org.robolectric.shadows.ShadowMediaPlayer
- ShadowMediaPlayer.CreateListener - Interface in org.robolectric.shadows
-
Callback interface for clients that wish to be informed when a new
MediaPlayer
instance is constructed. - ShadowMediaPlayer.InvalidStateBehavior - Enum in org.robolectric.shadows
-
Possible behavior modes for the media player when a method is invoked in an invalid state.
- ShadowMediaPlayer.MediaEvent - Interface in org.robolectric.shadows
- ShadowMediaPlayer.MediaInfo - Class in org.robolectric.shadows
-
Class specifying information for an emulated media object.
- ShadowMediaPlayer.MediaInfoProvider - Interface in org.robolectric.shadows
-
Provides a
ShadowMediaPlayer.MediaInfo
for a givenDataSource
. - ShadowMediaPlayer.State - Enum in org.robolectric.shadows
-
Possible states for the media player to be in.
- ShadowMediaRecorder - Class in org.robolectric.shadows
- ShadowMediaRecorder() - Constructor for class org.robolectric.shadows.ShadowMediaRecorder
- ShadowMediaRouter - Class in org.robolectric.shadows
-
Shadow class for
MediaRouter
. - ShadowMediaRouter() - Constructor for class org.robolectric.shadows.ShadowMediaRouter
- ShadowMediaScannerConnection - Class in org.robolectric.shadows
-
Shadow of
MediaScannerConnection
- ShadowMediaScannerConnection() - Constructor for class org.robolectric.shadows.ShadowMediaScannerConnection
- ShadowMediaSession - Class in org.robolectric.shadows
- ShadowMediaSession() - Constructor for class org.robolectric.shadows.ShadowMediaSession
- ShadowMediaSessionManager - Class in org.robolectric.shadows
-
Shadow for
MediaSessionManager
. - ShadowMediaSessionManager() - Constructor for class org.robolectric.shadows.ShadowMediaSessionManager
- ShadowMediaStore - Class in org.robolectric.shadows
-
Shadow for
MediaStore
. - ShadowMediaStore() - Constructor for class org.robolectric.shadows.ShadowMediaStore
- ShadowMediaStore.ShadowImages - Class in org.robolectric.shadows
-
Shadow for
MediaStore.Images
. - ShadowMediaStore.ShadowImages.ShadowMedia - Class in org.robolectric.shadows
-
Shadow for
MediaStore.Images.Media
. - ShadowMediaStore.ShadowImages.ShadowThumbnails - Class in org.robolectric.shadows
-
Shadow for
MediaStore.Images.Thumbnails
. - ShadowMediaStore.ShadowVideo - Class in org.robolectric.shadows
-
Shadow for
MediaStore.Video
. - ShadowMediaStore.ShadowVideo.ShadowThumbnails - Class in org.robolectric.shadows
-
Shadow for
MediaStore.Video.Thumbnails
. - ShadowMemoryMappedFile - Class in org.robolectric.shadows
-
This is used by Android to load and inferFromValue time zone information.
- ShadowMemoryMappedFile() - Constructor for class org.robolectric.shadows.ShadowMemoryMappedFile
- ShadowMemoryMappedFile.RoboBufferIterator - Class in org.robolectric.shadows
- ShadowMemoryMappedFileS - Class in org.robolectric.shadows
-
Fork of ShadowMemoryMappedFile to adjust to changed package names of MemoryMappedFile in S.
- ShadowMemoryMappedFileS() - Constructor for class org.robolectric.shadows.ShadowMemoryMappedFileS
- ShadowMemoryMappedFileS.RoboBufferIterator - Class in org.robolectric.shadows
- ShadowMessage - Class in org.robolectric.shadows
-
The shadow API for
Message
. - ShadowMessage() - Constructor for class org.robolectric.shadows.ShadowMessage
- ShadowMessage.Picker - Class in org.robolectric.shadows
-
The shadow Picker for this class
- ShadowMessageQueue - Class in org.robolectric.shadows
-
The shadow API for
MessageQueue
. - ShadowMessageQueue() - Constructor for class org.robolectric.shadows.ShadowMessageQueue
- ShadowMessageQueue.Picker - Class in org.robolectric.shadows
-
The shadow Picker for this class.
- ShadowMessenger - Class in org.robolectric.shadows
- ShadowMessenger() - Constructor for class org.robolectric.shadows.ShadowMessenger
- ShadowMimeTypeMap - Class in org.robolectric.shadows
- ShadowMimeTypeMap() - Constructor for class org.robolectric.shadows.ShadowMimeTypeMap
- ShadowMotionEvent - Class in org.robolectric.shadows
-
Shadow of MotionEvent.
- ShadowMotionEvent() - Constructor for class org.robolectric.shadows.ShadowMotionEvent
- ShadowMulticastLock() - Constructor for class org.robolectric.shadows.ShadowWifiManager.ShadowMulticastLock
- ShadowMultiDex - Class in org.robolectric.shadows.multidex
-
No-op shadow for
android.support.multidex.MultiDex
. - ShadowMultiDex() - Constructor for class org.robolectric.shadows.multidex.ShadowMultiDex
- ShadowNativeAllocationRegistry - Class in org.robolectric.shadows
- ShadowNativeAllocationRegistry() - Constructor for class org.robolectric.shadows.ShadowNativeAllocationRegistry
- ShadowNativeCursorWindow - Class in org.robolectric.shadows
-
Shadow for
CursorWindow
that is backed by native code - ShadowNativeCursorWindow() - Constructor for class org.robolectric.shadows.ShadowNativeCursorWindow
- ShadowNativePluralRules - Class in org.robolectric.shadows
- ShadowNativePluralRules() - Constructor for class org.robolectric.shadows.ShadowNativePluralRules
- ShadowNativeSQLiteConnection - Class in org.robolectric.shadows
-
Shadow for
SQLiteConnection
that is backed by native code - ShadowNativeSQLiteConnection() - Constructor for class org.robolectric.shadows.ShadowNativeSQLiteConnection
- ShadowNetwork - Class in org.robolectric.shadows
- ShadowNetwork() - Constructor for class org.robolectric.shadows.ShadowNetwork
- ShadowNetworkCapabilities - Class in org.robolectric.shadows
-
Robolectic provides overrides for fetching and updating transport.
- ShadowNetworkCapabilities() - Constructor for class org.robolectric.shadows.ShadowNetworkCapabilities
- ShadowNetworkInfo - Class in org.robolectric.shadows
- ShadowNetworkInfo() - Constructor for class org.robolectric.shadows.ShadowNetworkInfo
- ShadowNetworkScoreManager - Class in org.robolectric.shadows
-
Provides testing APIs for
NetworkScoreManager
. - ShadowNetworkScoreManager() - Constructor for class org.robolectric.shadows.ShadowNetworkScoreManager
- ShadowNfcAdapter - Class in org.robolectric.shadows
-
Shadow implementation of
NfcAdapter
. - ShadowNfcAdapter() - Constructor for class org.robolectric.shadows.ShadowNfcAdapter
- ShadowNinePatch - Class in org.robolectric.shadows
- ShadowNinePatch() - Constructor for class org.robolectric.shadows.ShadowNinePatch
- ShadowNotFoundException() - Constructor for class org.robolectric.shadows.ShadowResources.ShadowNotFoundException
- ShadowNotification - Class in org.robolectric.shadows
- ShadowNotification() - Constructor for class org.robolectric.shadows.ShadowNotification
- ShadowNotificationListenerService - Class in org.robolectric.shadows
-
Shadow implementation of
NotificationListenerService
. - ShadowNotificationListenerService() - Constructor for class org.robolectric.shadows.ShadowNotificationListenerService
- ShadowNotificationManager - Class in org.robolectric.shadows
-
Shadows for NotificationManager.
- ShadowNotificationManager() - Constructor for class org.robolectric.shadows.ShadowNotificationManager
- ShadowNsdManager - Class in org.robolectric.shadows
- ShadowNsdManager() - Constructor for class org.robolectric.shadows.ShadowNsdManager
- ShadowNumberPicker - Class in org.robolectric.shadows
- ShadowNumberPicker() - Constructor for class org.robolectric.shadows.ShadowNumberPicker
- ShadowObjectAnimator - Class in org.robolectric.shadows
- ShadowObjectAnimator() - Constructor for class org.robolectric.shadows.ShadowObjectAnimator
- shadowOf(AccessibilityButtonController) - Static method in class org.robolectric.Shadows
- shadowOf(AccessibilityService) - Static method in class org.robolectric.Shadows
- shadowOf(AccessibilityService.MagnificationController) - Static method in class org.robolectric.Shadows
- shadowOf(AccessibilityService.SoftKeyboardController) - Static method in class org.robolectric.Shadows
- shadowOf(AccountManager) - Static method in class org.robolectric.Shadows
- shadowOf(ObjectAnimator) - Static method in class org.robolectric.Shadows
- shadowOf(ValueAnimator) - Static method in class org.robolectric.Shadows
- shadowOf(Activity) - Static method in class org.robolectric.Shadows
- shadowOf(ActivityGroup) - Static method in class org.robolectric.Shadows
- shadowOf(ActivityManager) - Static method in class org.robolectric.Shadows
- shadowOf(ActivityManager.AppTask) - Static method in class org.robolectric.Shadows
- shadowOf(DevicePolicyManager) - Static method in class org.robolectric.Shadows
- shadowOf(AlarmManager) - Static method in class org.robolectric.Shadows
- shadowOf(AlertDialog) - Static method in class org.robolectric.Shadows
- shadowOf(AlertDialog.Builder) - Static method in class org.robolectric.Shadows
- shadowOf(Application) - Static method in class org.robolectric.Shadows
- shadowOf(AppOpsManager) - Static method in class org.robolectric.Shadows
- shadowOf(BackupManager) - Static method in class org.robolectric.Shadows
- shadowOf(DatePickerDialog) - Static method in class org.robolectric.Shadows
- shadowOf(Dialog) - Static method in class org.robolectric.Shadows
- shadowOf(DownloadManager) - Static method in class org.robolectric.Shadows
- shadowOf(DownloadManager.Query) - Static method in class org.robolectric.Shadows
- shadowOf(DownloadManager.Request) - Static method in class org.robolectric.Shadows
- shadowOf(Instrumentation) - Static method in class org.robolectric.Shadows
- shadowOf(IntentService) - Static method in class org.robolectric.Shadows
- shadowOf(JobScheduler) - Static method in class org.robolectric.Shadows
- shadowOf(JobService) - Static method in class org.robolectric.Shadows
- shadowOf(KeyguardManager) - Static method in class org.robolectric.Shadows
- shadowOf(KeyguardManager.KeyguardLock) - Static method in class org.robolectric.Shadows
- shadowOf(LocalActivityManager) - Static method in class org.robolectric.Shadows
- shadowOf(Notification) - Static method in class org.robolectric.Shadows
- shadowOf(NotificationManager) - Static method in class org.robolectric.Shadows
- shadowOf(PendingIntent) - Static method in class org.robolectric.Shadows
- shadowOf(ProgressDialog) - Static method in class org.robolectric.Shadows
- shadowOf(RoleManager) - Static method in class org.robolectric.Shadows
- shadowOf(SearchManager) - Static method in class org.robolectric.Shadows
- shadowOf(Service) - Static method in class org.robolectric.Shadows
- shadowOf(SliceManager) - Static method in class org.robolectric.Shadows
- shadowOf(TabActivity) - Static method in class org.robolectric.Shadows
- shadowOf(TimePickerDialog) - Static method in class org.robolectric.Shadows
- shadowOf(UiAutomation) - Static method in class org.robolectric.Shadows
- shadowOf(UiModeManager) - Static method in class org.robolectric.Shadows
- shadowOf(StorageStatsManager) - Static method in class org.robolectric.Shadows
- shadowOf(UsageStatsManager) - Static method in class org.robolectric.Shadows
- shadowOf(VoiceInteractor) - Static method in class org.robolectric.Shadows
- shadowOf(WallpaperManager) - Static method in class org.robolectric.Shadows
- shadowOf(AppWidgetHost) - Static method in class org.robolectric.Shadows
- shadowOf(AppWidgetHostView) - Static method in class org.robolectric.Shadows
- shadowOf(AppWidgetManager) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothA2dp) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothAdapter) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothDevice) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothGatt) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothHeadset) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothManager) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothServerSocket) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothSocket) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothLeAdvertiser) - Static method in class org.robolectric.Shadows
- shadowOf(BluetoothLeScanner) - Static method in class org.robolectric.Shadows
- shadowOf(CompanionDeviceManager) - Static method in class org.robolectric.Shadows
- shadowOf(AsyncQueryHandler) - Static method in class org.robolectric.Shadows
- shadowOf(BroadcastReceiver) - Static method in class org.robolectric.Shadows
- shadowOf(BroadcastReceiver.PendingResult) - Static method in class org.robolectric.Shadows
- shadowOf(ClipboardManager) - Static method in class org.robolectric.Shadows
- shadowOf(ContentProvider) - Static method in class org.robolectric.Shadows
- shadowOf(ContentProviderClient) - Static method in class org.robolectric.Shadows
- shadowOf(ContentProviderOperation) - Static method in class org.robolectric.Shadows
- shadowOf(ContentProviderResult) - Static method in class org.robolectric.Shadows
- shadowOf(ContentResolver) - Static method in class org.robolectric.Shadows
- shadowOf(ContentUris) - Static method in class org.robolectric.Shadows
- shadowOf(ContextWrapper) - Static method in class org.robolectric.Shadows
- shadowOf(Intent) - Static method in class org.robolectric.Shadows
- shadowOf(CrossProfileApps) - Static method in class org.robolectric.Shadows
- shadowOf(LauncherApps) - Static method in class org.robolectric.Shadows
- shadowOf(PackageInstaller) - Static method in class org.robolectric.Shadows
- shadowOf(PackageInstaller.Session) - Static method in class org.robolectric.Shadows
- shadowOf(PackageInstaller.SessionInfo) - Static method in class org.robolectric.Shadows
- shadowOf(PackageManager) - Static method in class org.robolectric.Shadows
- shadowOf(ShortcutManager) - Static method in class org.robolectric.Shadows
- shadowOf(SigningInfo) - Static method in class org.robolectric.Shadows
- shadowOf(AssetManager) - Static method in class org.robolectric.Shadows
- shadowOf(AssetManager.AssetInputStream) - Static method in class org.robolectric.Shadows
- shadowOf(Resources) - Static method in class org.robolectric.Shadows
- shadowOf(Resources.NotFoundException) - Static method in class org.robolectric.Shadows
- shadowOf(Resources.Theme) - Static method in class org.robolectric.Shadows
- shadowOf(TypedArray) - Static method in class org.robolectric.Shadows
- shadowOf(RestrictionsManager) - Static method in class org.robolectric.Shadows
- shadowOf(AbstractCursor) - Static method in class org.robolectric.Shadows
- shadowOf(CursorWindow) - Static method in class org.robolectric.Shadows
- shadowOf(CursorWrapper) - Static method in class org.robolectric.Shadows
- shadowOf(SQLiteOpenHelper) - Static method in class org.robolectric.Shadows
- shadowOf(Bitmap) - Static method in class org.robolectric.Shadows
- shadowOf(BitmapFactory) - Static method in class org.robolectric.Shadows
- shadowOf(BitmapRegionDecoder) - Static method in class org.robolectric.Shadows
- shadowOf(Canvas) - Static method in class org.robolectric.Shadows
- shadowOf(Color) - Static method in class org.robolectric.Shadows
- shadowOf(ColorSpace.Rgb) - Static method in class org.robolectric.Shadows
- shadowOf(CornerPathEffect) - Static method in class org.robolectric.Shadows
- shadowOf(DashPathEffect) - Static method in class org.robolectric.Shadows
- shadowOf(BitmapDrawable) - Static method in class org.robolectric.Shadows
- shadowOf(Drawable) - Static method in class org.robolectric.Shadows
- shadowOf(GradientDrawable) - Static method in class org.robolectric.Shadows
- shadowOf(Icon) - Static method in class org.robolectric.Shadows
- shadowOf(StateListDrawable) - Static method in class org.robolectric.Shadows
- shadowOf(VectorDrawable) - Static method in class org.robolectric.Shadows
- shadowOf(Font) - Static method in class org.robolectric.Shadows
- shadowOf(Font.Builder) - Static method in class org.robolectric.Shadows
- shadowOf(FontFamily) - Static method in class org.robolectric.Shadows
- shadowOf(FontFamily.Builder) - Static method in class org.robolectric.Shadows
- shadowOf(LinearGradient) - Static method in class org.robolectric.Shadows
- shadowOf(Matrix) - Static method in class org.robolectric.Shadows
- shadowOf(NinePatch) - Static method in class org.robolectric.Shadows
- shadowOf(Outline) - Static method in class org.robolectric.Shadows
- shadowOf(Paint) - Static method in class org.robolectric.Shadows
- shadowOf(Path) - Static method in class org.robolectric.Shadows
- shadowOf(PathMeasure) - Static method in class org.robolectric.Shadows
- shadowOf(Picture) - Static method in class org.robolectric.Shadows
- shadowOf(PorterDuffColorFilter) - Static method in class org.robolectric.Shadows
- shadowOf(Region) - Static method in class org.robolectric.Shadows
- shadowOf(SurfaceTexture) - Static method in class org.robolectric.Shadows
- shadowOf(Typeface) - Static method in class org.robolectric.Shadows
- shadowOf(Typeface.Builder) - Static method in class org.robolectric.Shadows
- shadowOf(Camera) - Static method in class org.robolectric.Shadows
- shadowOf(Camera.Parameters) - Static method in class org.robolectric.Shadows
- shadowOf(Camera.Size) - Static method in class org.robolectric.Shadows
- shadowOf(CameraCharacteristics) - Static method in class org.robolectric.Shadows
- shadowOf(CameraManager) - Static method in class org.robolectric.Shadows
- shadowOf(CaptureRequest.Builder) - Static method in class org.robolectric.Shadows
- shadowOf(CaptureResult) - Static method in class org.robolectric.Shadows
- shadowOf(TotalCaptureResult) - Static method in class org.robolectric.Shadows
- shadowOf(DisplayManager) - Static method in class org.robolectric.Shadows
- shadowOf(FingerprintManager) - Static method in class org.robolectric.Shadows
- shadowOf(HardwareBuffer) - Static method in class org.robolectric.Shadows
- shadowOf(InputManager) - Static method in class org.robolectric.Shadows
- shadowOf(Sensor) - Static method in class org.robolectric.Shadows
- shadowOf(SensorManager) - Static method in class org.robolectric.Shadows
- shadowOf(UsbDeviceConnection) - Static method in class org.robolectric.Shadows
- shadowOf(UsbManager) - Static method in class org.robolectric.Shadows
- shadowOf(UsbRequest) - Static method in class org.robolectric.Shadows
- shadowOf(Geocoder) - Static method in class org.robolectric.Shadows
- shadowOf(LocationManager) - Static method in class org.robolectric.Shadows
- shadowOf(AudioEffect) - Static method in class org.robolectric.Shadows
- shadowOf(DynamicsProcessing) - Static method in class org.robolectric.Shadows
- shadowOf(Visualizer) - Static method in class org.robolectric.Shadows
- shadowOf(AudioManager) - Static method in class org.robolectric.Shadows
- shadowOf(AudioRecord) - Static method in class org.robolectric.Shadows
- shadowOf(AudioTrack) - Static method in class org.robolectric.Shadows
- shadowOf(ImageReader) - Static method in class org.robolectric.Shadows
- shadowOf(MediaActionSound) - Static method in class org.robolectric.Shadows
- shadowOf(MediaCodec) - Static method in class org.robolectric.Shadows
- shadowOf(MediaCodecList) - Static method in class org.robolectric.Shadows
- shadowOf(MediaExtractor) - Static method in class org.robolectric.Shadows
- shadowOf(MediaMetadataRetriever) - Static method in class org.robolectric.Shadows
- shadowOf(MediaMuxer) - Static method in class org.robolectric.Shadows
- shadowOf(MediaPlayer) - Static method in class org.robolectric.Shadows
- shadowOf(MediaRecorder) - Static method in class org.robolectric.Shadows
- shadowOf(MediaRouter) - Static method in class org.robolectric.Shadows
- shadowOf(MediaScannerConnection) - Static method in class org.robolectric.Shadows
- shadowOf(RingtoneManager) - Static method in class org.robolectric.Shadows
- shadowOf(MediaController) - Static method in class org.robolectric.Shadows
- shadowOf(MediaSession) - Static method in class org.robolectric.Shadows
- shadowOf(MediaSessionManager) - Static method in class org.robolectric.Shadows
- shadowOf(SoundPool) - Static method in class org.robolectric.Shadows
- shadowOf(ToneGenerator) - Static method in class org.robolectric.Shadows
- shadowOf(ConnectivityManager) - Static method in class org.robolectric.Shadows
- shadowOf(AndroidHttpClient) - Static method in class org.robolectric.shadows.httpclient.Shadows
- shadowOf(HttpResponseCache) - Static method in class org.robolectric.Shadows
- shadowOf(Network) - Static method in class org.robolectric.Shadows
- shadowOf(NetworkCapabilities) - Static method in class org.robolectric.Shadows
- shadowOf(NetworkInfo) - Static method in class org.robolectric.Shadows
- shadowOf(NsdManager) - Static method in class org.robolectric.Shadows
- shadowOf(TrafficStats) - Static method in class org.robolectric.Shadows
- shadowOf(VpnService) - Static method in class org.robolectric.Shadows
- shadowOf(DiscoverySession) - Static method in class org.robolectric.Shadows
- shadowOf(PeerHandle) - Static method in class org.robolectric.Shadows
- shadowOf(WifiAwareManager) - Static method in class org.robolectric.Shadows
- shadowOf(WifiP2pGroup) - Static method in class org.robolectric.Shadows
- shadowOf(WifiP2pManager) - Static method in class org.robolectric.Shadows
- shadowOf(RangingResult) - Static method in class org.robolectric.Shadows
- shadowOf(WifiRttManager) - Static method in class org.robolectric.Shadows
- shadowOf(WifiConfiguration) - Static method in class org.robolectric.Shadows
- shadowOf(WifiInfo) - Static method in class org.robolectric.Shadows
- shadowOf(WifiManager) - Static method in class org.robolectric.Shadows
- shadowOf(WifiManager.MulticastLock) - Static method in class org.robolectric.Shadows
- shadowOf(WifiManager.WifiLock) - Static method in class org.robolectric.Shadows
- shadowOf(CardEmulation) - Static method in class org.robolectric.Shadows
- shadowOf(NfcAdapter) - Static method in class org.robolectric.Shadows
- shadowOf(IsoDep) - Static method in class org.robolectric.Shadows
- shadowOf(EGL14) - Static method in class org.robolectric.Shadows
- shadowOf(GLES20) - Static method in class org.robolectric.Shadows
- shadowOf(GLSurfaceView) - Static method in class org.robolectric.Shadows
- shadowOf(Matrix) - Static method in class org.robolectric.Shadows
- shadowOf(BatteryManager) - Static method in class org.robolectric.Shadows
- shadowOf(Binder) - Static method in class org.robolectric.Shadows
- shadowOf(Build) - Static method in class org.robolectric.Shadows
- shadowOf(CountDownTimer) - Static method in class org.robolectric.Shadows
- shadowOf(Debug) - Static method in class org.robolectric.Shadows
- shadowOf(DropBoxManager) - Static method in class org.robolectric.Shadows
- shadowOf(Environment) - Static method in class org.robolectric.Shadows
- shadowOf(FileObserver) - Static method in class org.robolectric.Shadows
- shadowOf(LocaleList) - Static method in class org.robolectric.Shadows
- shadowOf(Looper) - Static method in class org.robolectric.Shadows
- shadowOf(Message) - Static method in class org.robolectric.Shadows
- shadowOf(MessageQueue) - Static method in class org.robolectric.Shadows
- shadowOf(Messenger) - Static method in class org.robolectric.Shadows
- shadowOf(Parcel) - Static method in class org.robolectric.Shadows
- shadowOf(ParcelFileDescriptor) - Static method in class org.robolectric.Shadows
- shadowOf(PowerManager) - Static method in class org.robolectric.Shadows
- shadowOf(PowerManager.WakeLock) - Static method in class org.robolectric.Shadows
- shadowOf(Process) - Static method in class org.robolectric.Shadows
- shadowOf(RemoteCallbackList<E>) - Static method in class org.robolectric.Shadows
- shadowOf(ResultReceiver) - Static method in class org.robolectric.Shadows
- shadowOf(StatFs) - Static method in class org.robolectric.Shadows
- shadowOf(StorageManager) - Static method in class org.robolectric.Shadows
- shadowOf(StrictMode.VmPolicy) - Static method in class org.robolectric.Shadows
- shadowOf(SystemClock) - Static method in class org.robolectric.Shadows
- shadowOf(Trace) - Static method in class org.robolectric.Shadows
- shadowOf(UserManager) - Static method in class org.robolectric.Shadows
- shadowOf(Vibrator) - Static method in class org.robolectric.Shadows
- shadowOf(Preference) - Static method in class org.robolectric.Shadows
- shadowOf(CallLog.Calls) - Static method in class org.robolectric.Shadows
- shadowOf(FontsContract) - Static method in class org.robolectric.Shadows
- shadowOf(MediaStore) - Static method in class org.robolectric.Shadows
- shadowOf(MediaStore.Images) - Static method in class org.robolectric.Shadows
- shadowOf(MediaStore.Images.Media) - Static method in class org.robolectric.Shadows
- shadowOf(MediaStore.Images.Thumbnails) - Static method in class org.robolectric.Shadows
- shadowOf(MediaStore.Video) - Static method in class org.robolectric.Shadows
- shadowOf(MediaStore.Video.Thumbnails) - Static method in class org.robolectric.Shadows
- shadowOf(Settings) - Static method in class org.robolectric.Shadows
- shadowOf(Settings.Global) - Static method in class org.robolectric.Shadows
- shadowOf(Settings.Secure) - Static method in class org.robolectric.Shadows
- shadowOf(Settings.System) - Static method in class org.robolectric.Shadows
- shadowOf(Telephony) - Static method in class org.robolectric.Shadows
- shadowOf(Telephony.Sms) - Static method in class org.robolectric.Shadows
- shadowOf(NotificationListenerService) - Static method in class org.robolectric.Shadows
- shadowOf(NotificationListenerService.Ranking) - Static method in class org.robolectric.Shadows
- shadowOf(Tile) - Static method in class org.robolectric.Shadows
- shadowOf(TileService) - Static method in class org.robolectric.Shadows
- shadowOf(VoiceInteractionService) - Static method in class org.robolectric.Shadows
- shadowOf(VoiceInteractionSession) - Static method in class org.robolectric.Shadows
- shadowOf(SpeechRecognizer) - Static method in class org.robolectric.Shadows
- shadowOf(TextToSpeech) - Static method in class org.robolectric.Shadows
- shadowOf(Os) - Static method in class org.robolectric.Shadows
- shadowOf(OsConstants) - Static method in class org.robolectric.Shadows
- shadowOf(Call) - Static method in class org.robolectric.Shadows
- shadowOf(Call.RttCall) - Static method in class org.robolectric.Shadows
- shadowOf(CallScreeningService) - Static method in class org.robolectric.Shadows
- shadowOf(Connection) - Static method in class org.robolectric.Shadows
- shadowOf(InCallService) - Static method in class org.robolectric.Shadows
- shadowOf(TelecomManager) - Static method in class org.robolectric.Shadows
- shadowOf(CarrierConfigManager) - Static method in class org.robolectric.Shadows
- shadowOf(EuiccManager) - Static method in class org.robolectric.Shadows
- shadowOf(SmsManager) - Static method in class org.robolectric.Shadows
- shadowOf(SubscriptionManager) - Static method in class org.robolectric.Shadows
- shadowOf(TelephonyManager) - Static method in class org.robolectric.Shadows
- shadowOf(VisualVoicemailService.VisualVoicemailTask) - Static method in class org.robolectric.Shadows
- shadowOf(VisualVoicemailSms) - Static method in class org.robolectric.Shadows
- shadowOf(Time) - Static method in class org.robolectric.Shadows
- shadowOf(LinkMovementMethod) - Static method in class org.robolectric.Shadows
- shadowOf(StaticLayout) - Static method in class org.robolectric.Shadows
- shadowOf(TextUtils) - Static method in class org.robolectric.Shadows
- shadowOf(EventLog) - Static method in class org.robolectric.Shadows
- shadowOf(EventLog.Event) - Static method in class org.robolectric.Shadows
- shadowOf(Log) - Static method in class org.robolectric.Shadows
- shadowOf(StatsLog) - Static method in class org.robolectric.Shadows
- shadowOf(AccessibilityManager) - Static method in class org.robolectric.Shadows
- shadowOf(AccessibilityNodeInfo) - Static method in class org.robolectric.Shadows
- shadowOf(AccessibilityRecord) - Static method in class org.robolectric.Shadows
- shadowOf(AccessibilityWindowInfo) - Static method in class org.robolectric.Shadows
- shadowOf(CaptioningManager) - Static method in class org.robolectric.Shadows
- shadowOf(AnimationUtils) - Static method in class org.robolectric.Shadows
- shadowOf(LayoutAnimationController) - Static method in class org.robolectric.Shadows
- shadowOf(AutofillManager) - Static method in class org.robolectric.Shadows
- shadowOf(ContextThemeWrapper) - Static method in class org.robolectric.Shadows
- shadowOf(Display) - Static method in class org.robolectric.Shadows
- shadowOf(GestureDetector) - Static method in class org.robolectric.Shadows
- shadowOf(InputDevice) - Static method in class org.robolectric.Shadows
- shadowOf(InputEvent) - Static method in class org.robolectric.Shadows
- shadowOf(InputMethodManager) - Static method in class org.robolectric.Shadows
- shadowOf(KeyCharacterMap) - Static method in class org.robolectric.Shadows
- shadowOf(MotionEvent) - Static method in class org.robolectric.Shadows
- shadowOf(ScaleGestureDetector) - Static method in class org.robolectric.Shadows
- shadowOf(Surface) - Static method in class org.robolectric.Shadows
- shadowOf(SurfaceView) - Static method in class org.robolectric.Shadows
- shadowOf(TouchDelegate) - Static method in class org.robolectric.Shadows
- shadowOf(VelocityTracker) - Static method in class org.robolectric.Shadows
- shadowOf(View) - Static method in class org.robolectric.Shadows
- shadowOf(ViewConfiguration) - Static method in class org.robolectric.Shadows
- shadowOf(ViewGroup) - Static method in class org.robolectric.Shadows
- shadowOf(Window) - Static method in class org.robolectric.Shadows
- shadowOf(WindowManager) - Static method in class org.robolectric.Shadows
- shadowOf(CookieManager) - Static method in class org.robolectric.Shadows
- shadowOf(CookieSyncManager) - Static method in class org.robolectric.Shadows
- shadowOf(JsPromptResult) - Static method in class org.robolectric.Shadows
- shadowOf(JsResult) - Static method in class org.robolectric.Shadows
- shadowOf(MimeTypeMap) - Static method in class org.robolectric.Shadows
- shadowOf(SslErrorHandler) - Static method in class org.robolectric.Shadows
- shadowOf(WebSettings) - Static method in class org.robolectric.Shadows
- shadowOf(WebStorage) - Static method in class org.robolectric.Shadows
- shadowOf(WebView) - Static method in class org.robolectric.Shadows
- shadowOf(WebViewDatabase) - Static method in class org.robolectric.Shadows
- shadowOf(AbsListView) - Static method in class org.robolectric.Shadows
- shadowOf(AbsSeekBar) - Static method in class org.robolectric.Shadows
- shadowOf(AbsSpinner) - Static method in class org.robolectric.Shadows
- shadowOf(AdapterView<T>) - Static method in class org.robolectric.Shadows
- shadowOf(ArrayAdapter<T>) - Static method in class org.robolectric.Shadows
- shadowOf(BaseAdapter) - Static method in class org.robolectric.Shadows
- shadowOf(CompoundButton) - Static method in class org.robolectric.Shadows
- shadowOf(EdgeEffect) - Static method in class org.robolectric.Shadows
- shadowOf(ExpandableListView) - Static method in class org.robolectric.Shadows
- shadowOf(Filter) - Static method in class org.robolectric.Shadows
- shadowOf(LinearLayout) - Static method in class org.robolectric.Shadows
- shadowOf(ListPopupWindow) - Static method in class org.robolectric.Shadows
- shadowOf(ListView) - Static method in class org.robolectric.Shadows
- shadowOf(NumberPicker) - Static method in class org.robolectric.Shadows
- shadowOf(PopupMenu) - Static method in class org.robolectric.Shadows
- shadowOf(PopupWindow) - Static method in class org.robolectric.Shadows
- shadowOf(ProgressBar) - Static method in class org.robolectric.Shadows
- shadowOf(RelativeLayout) - Static method in class org.robolectric.Shadows
- shadowOf(ScrollView) - Static method in class org.robolectric.Shadows
- shadowOf(SeekBar) - Static method in class org.robolectric.Shadows
- shadowOf(TabHost) - Static method in class org.robolectric.Shadows
- shadowOf(TabHost.TabSpec) - Static method in class org.robolectric.Shadows
- shadowOf(TabWidget) - Static method in class org.robolectric.Shadows
- shadowOf(TextView) - Static method in class org.robolectric.Shadows
- shadowOf(Toast) - Static method in class org.robolectric.Shadows
- shadowOf(VideoView) - Static method in class org.robolectric.Shadows
- shadowOf(ViewAnimator) - Static method in class org.robolectric.Shadows
- shadowOf(ZoomButtonsController) - Static method in class org.robolectric.Shadows
- shadowOf(GoogleAuthUtil) - Static method in class org.robolectric.shadows.gms.Shadows
- shadowOf(GoogleApiAvailability) - Static method in class org.robolectric.shadows.gms.Shadows
- shadowOf(GooglePlayServicesUtil) - Static method in class org.robolectric.shadows.gms.Shadows
- shadowOf(DexFile) - Static method in class org.robolectric.Shadows
- shadowOf(DefaultRequestDirector) - Static method in class org.robolectric.shadows.httpclient.Shadows
- ShadowOpenGLMatrix - Class in org.robolectric.shadows
- ShadowOpenGLMatrix() - Constructor for class org.robolectric.shadows.ShadowOpenGLMatrix
- ShadowOs - Class in org.robolectric.shadows
-
A Shadow for android.system.Os
- ShadowOsConstants - Class in org.robolectric.shadows
- ShadowOsConstants() - Constructor for class org.robolectric.shadows.ShadowOsConstants
- ShadowOutline - Class in org.robolectric.shadows
- ShadowOutline() - Constructor for class org.robolectric.shadows.ShadowOutline
- ShadowOverlayConfig - Class in org.robolectric.shadows
-
Shadow for
OverlayConfig
. - ShadowOverlayConfig() - Constructor for class org.robolectric.shadows.ShadowOverlayConfig
- ShadowPackageBackwardCompatibility - Class in org.robolectric.shadows
-
Shadow of
PackageBackwardCompatibility
to handle a scenario that can come up when multiple Android versions end up on the classpath - ShadowPackageBackwardCompatibility() - Constructor for class org.robolectric.shadows.ShadowPackageBackwardCompatibility
- ShadowPackageInstaller - Class in org.robolectric.shadows
-
Shadow for PackageInstaller.
- ShadowPackageInstaller() - Constructor for class org.robolectric.shadows.ShadowPackageInstaller
- ShadowPackageInstaller.ShadowSession - Class in org.robolectric.shadows
- ShadowPackageInstaller.ShadowSessionInfo - Class in org.robolectric.shadows
-
Shadow for PackageInstaller.SessionInfo.
- ShadowPackageManager - Class in org.robolectric.shadows
- ShadowPackageManager() - Constructor for class org.robolectric.shadows.ShadowPackageManager
- ShadowPackageManager.ComponentState - Class in org.robolectric.shadows
- ShadowPackageManager.IntentComparator - Class in org.robolectric.shadows
- ShadowPackageManager.PackageSetting - Class in org.robolectric.shadows
-
Settings for a particular package.
- ShadowPackageParser - Class in org.robolectric.shadows
- ShadowPackageParser() - Constructor for class org.robolectric.shadows.ShadowPackageParser
- ShadowPackageParser._Package_ - Interface in org.robolectric.shadows
-
Accessor interface for
PackageParser.Package
's internals. - ShadowPaint - Class in org.robolectric.shadows
- ShadowPaint() - Constructor for class org.robolectric.shadows.ShadowPaint
- ShadowParameters() - Constructor for class org.robolectric.shadows.ShadowCamera.ShadowParameters
- ShadowParcel - Class in org.robolectric.shadows
- ShadowParcel() - Constructor for class org.robolectric.shadows.ShadowParcel
- ShadowParcelFileDescriptor - Class in org.robolectric.shadows
- ShadowParcelFileDescriptor() - Constructor for class org.robolectric.shadows.ShadowParcelFileDescriptor
- ShadowParser() - Constructor for class org.robolectric.shadows.ShadowXmlBlock.ShadowParser
- ShadowPath - Class in org.robolectric.shadows
-
The shadow only supports straight-line paths.
- ShadowPath() - Constructor for class org.robolectric.shadows.ShadowPath
- ShadowPath.Point - Class in org.robolectric.shadows
- ShadowPath.Point.Type - Enum in org.robolectric.shadows
- ShadowPathData() - Constructor for class org.robolectric.shadows.ShadowPathParser.ShadowPathData
- ShadowPathMeasure - Class in org.robolectric.shadows
- ShadowPathMeasure() - Constructor for class org.robolectric.shadows.ShadowPathMeasure
- ShadowPathParser - Class in org.robolectric.shadows
- ShadowPathParser() - Constructor for class org.robolectric.shadows.ShadowPathParser
- ShadowPathParser.PathDataNode - Class in org.robolectric.shadows
- ShadowPathParser.ShadowPathData - Class in org.robolectric.shadows
- ShadowPausedAsyncTask<Params,Progress,Result> - Class in org.robolectric.shadows
-
A
AsyncTask
shadow forLooperMode.Mode.PAUSED
- ShadowPausedAsyncTask() - Constructor for class org.robolectric.shadows.ShadowPausedAsyncTask
- ShadowPausedAsyncTaskLoader<D> - Class in org.robolectric.shadows
-
The shadow
AsyncTaskLoader
forLooperMode.Mode.PAUSED
. - ShadowPausedAsyncTaskLoader() - Constructor for class org.robolectric.shadows.ShadowPausedAsyncTaskLoader
- ShadowPausedChoreographer - Class in org.robolectric.shadows
-
A
Choreographer
shadow forLooperMode.Mode.PAUSED
. - ShadowPausedChoreographer() - Constructor for class org.robolectric.shadows.ShadowPausedChoreographer
- ShadowPausedLooper - Class in org.robolectric.shadows
-
The shadow Looper for
LooperMode.Mode.PAUSED
. - ShadowPausedLooper() - Constructor for class org.robolectric.shadows.ShadowPausedLooper
- ShadowPausedMessage - Class in org.robolectric.shadows
-
The shadow
Message
forLooperMode.Mode.PAUSED
. - ShadowPausedMessage() - Constructor for class org.robolectric.shadows.ShadowPausedMessage
- ShadowPausedMessageQueue - Class in org.robolectric.shadows
-
The shadow MessageQueue} for
LooperMode.Mode.PAUSED
- ShadowPausedMessageQueue() - Constructor for class org.robolectric.shadows.ShadowPausedMessageQueue
- ShadowPausedSystemClock - Class in org.robolectric.shadows
-
A shadow SystemClock used when
LooperMode.Mode.PAUSED
is active. - ShadowPausedSystemClock() - Constructor for class org.robolectric.shadows.ShadowPausedSystemClock
- ShadowPeerHandle - Class in org.robolectric.shadows
- ShadowPeerHandle() - Constructor for class org.robolectric.shadows.ShadowPeerHandle
- ShadowPendingIntent - Class in org.robolectric.shadows
- ShadowPendingIntent() - Constructor for class org.robolectric.shadows.ShadowPendingIntent
- ShadowPhone - Class in org.robolectric.shadows
-
Shadow for
Phone
. - ShadowPhone() - Constructor for class org.robolectric.shadows.ShadowPhone
- ShadowPhoneWindow - Class in org.robolectric.shadows
-
Shadow for PhoneWindow for APIs 23+
- ShadowPhoneWindow() - Constructor for class org.robolectric.shadows.ShadowPhoneWindow
- ShadowPhoneWindowFor22 - Class in org.robolectric.shadows
-
Shadow for the API 16-22 PhoneWindow.li
- ShadowPhoneWindowFor22() - Constructor for class org.robolectric.shadows.ShadowPhoneWindowFor22
- shadowPicker() - Method in annotation type org.robolectric.annotation.Implements
-
If specified, the
picker
will be instantiated and called from within the newly-created Robolectric classloader. - ShadowPicker<T> - Interface in org.robolectric.shadow.api
- ShadowPicture - Class in org.robolectric.shadows
- ShadowPicture() - Constructor for class org.robolectric.shadows.ShadowPicture
- ShadowPlayerBase - Class in org.robolectric.shadows
- ShadowPlayerBase() - Constructor for class org.robolectric.shadows.ShadowPlayerBase
- ShadowPolicyManager - Class in org.robolectric.shadows
- ShadowPolicyManager() - Constructor for class org.robolectric.shadows.ShadowPolicyManager
- ShadowPopupMenu - Class in org.robolectric.shadows
- ShadowPopupMenu() - Constructor for class org.robolectric.shadows.ShadowPopupMenu
- ShadowPopupWindow - Class in org.robolectric.shadows
- ShadowPopupWindow() - Constructor for class org.robolectric.shadows.ShadowPopupWindow
- ShadowPorterDuffColorFilter - Class in org.robolectric.shadows
- ShadowPorterDuffColorFilter() - Constructor for class org.robolectric.shadows.ShadowPorterDuffColorFilter
- ShadowPosix - Class in org.robolectric.shadows
- ShadowPosix() - Constructor for class org.robolectric.shadows.ShadowPosix
- ShadowPowerManager - Class in org.robolectric.shadows
-
Shadow of PowerManager
- ShadowPowerManager() - Constructor for class org.robolectric.shadows.ShadowPowerManager
- ShadowPowerManager.ShadowWakeLock - Class in org.robolectric.shadows
- ShadowPrecomputedText - Class in org.robolectric.shadows
- ShadowPrecomputedText() - Constructor for class org.robolectric.shadows.ShadowPrecomputedText
- ShadowPreference - Class in org.robolectric.shadows
- ShadowPreference() - Constructor for class org.robolectric.shadows.ShadowPreference
- ShadowProcess - Class in org.robolectric.shadows
- ShadowProcess() - Constructor for class org.robolectric.shadows.ShadowProcess
- ShadowProgressBar - Class in org.robolectric.shadows
- ShadowProgressBar() - Constructor for class org.robolectric.shadows.ShadowProgressBar
- ShadowProgressDialog - Class in org.robolectric.shadows
- ShadowProgressDialog() - Constructor for class org.robolectric.shadows.ShadowProgressDialog
- ShadowProvider - Interface in org.robolectric.internal
-
Interface implemented by packages that provide shadows to Robolectric.
- ShadowProviderGenerator - Class in org.robolectric.annotation.processing.generator
-
Generator that creates the "ShadowProvider" implementation for a shadow package.
- ShadowProviderGenerator(RobolectricModel, ProcessingEnvironment, String, boolean, int) - Constructor for class org.robolectric.annotation.processing.generator.ShadowProviderGenerator
- ShadowProviders - Class in org.robolectric.internal.bytecode
-
The set of
ShadowProvider
implementations found on the classpath. - ShadowProviders(List<ShadowProvider>) - Constructor for class org.robolectric.internal.bytecode.ShadowProviders
- ShadowQuery() - Constructor for class org.robolectric.shadows.ShadowDownloadManager.ShadowQuery
- ShadowQueuedWork - Class in org.robolectric.shadows
- ShadowQueuedWork() - Constructor for class org.robolectric.shadows.ShadowQueuedWork
- ShadowQuickAccessWalletService - Class in org.robolectric.shadows
-
Shadow of
QuickAccessWalletService
- ShadowQuickAccessWalletService() - Constructor for class org.robolectric.shadows.ShadowQuickAccessWalletService
- ShadowRangingResult - Class in org.robolectric.shadows
-
Shadow for
RangingResult
. - ShadowRangingResult() - Constructor for class org.robolectric.shadows.ShadowRangingResult
- ShadowRangingResult.Builder - Class in org.robolectric.shadows
-
A builder for creating ShadowRangingResults.
- ShadowRangingSession - Class in org.robolectric.shadows
-
Adds Robolectric support for UWB ranging.
- ShadowRangingSession() - Constructor for class org.robolectric.shadows.ShadowRangingSession
- ShadowRangingSession.Adapter - Interface in org.robolectric.shadows
-
Adapter interface for state change events, provided by the tester to dictate ranging results.
- ShadowRanking - Class in org.robolectric.shadows
-
Shadow for
NotificationListenerService.Ranking
. - ShadowRanking() - Constructor for class org.robolectric.shadows.ShadowRanking
- ShadowRcsUceAdapter - Class in org.robolectric.shadows
-
A shadow for
RcsUceAdapter
. - ShadowRcsUceAdapter() - Constructor for class org.robolectric.shadows.ShadowRcsUceAdapter
- ShadowRcsUceAdapter.CapabilityFailureInfo - Class in org.robolectric.shadows
-
A data class holding the info for a failed capabilities exchange
- ShadowRecordingCanvas - Class in org.robolectric.shadows
- ShadowRecordingCanvas() - Constructor for class org.robolectric.shadows.ShadowRecordingCanvas
- ShadowRegion - Class in org.robolectric.shadows
- ShadowRegion() - Constructor for class org.robolectric.shadows.ShadowRegion
- ShadowRelativeLayout - Class in org.robolectric.shadows
- ShadowRelativeLayout() - Constructor for class org.robolectric.shadows.ShadowRelativeLayout
- ShadowRemoteCallbackList<E extends IInterface> - Class in org.robolectric.shadows
- ShadowRemoteCallbackList() - Constructor for class org.robolectric.shadows.ShadowRemoteCallbackList
- ShadowRenderNode - Class in org.robolectric.shadows
- ShadowRenderNode() - Constructor for class org.robolectric.shadows.ShadowRenderNode
- ShadowRenderNodeAnimator - Class in org.robolectric.shadows
- ShadowRenderNodeAnimator() - Constructor for class org.robolectric.shadows.ShadowRenderNodeAnimator
- ShadowRenderNodeAnimatorR - Class in org.robolectric.shadows
-
Copy of ShadowRenderNodeAnimator that reflects move of RenderNodeAnimator to android.graphics in R
- ShadowRenderNodeAnimatorR() - Constructor for class org.robolectric.shadows.ShadowRenderNodeAnimatorR
- ShadowRenderNodeQ - Class in org.robolectric.shadows
- ShadowRenderNodeQ() - Constructor for class org.robolectric.shadows.ShadowRenderNodeQ
- ShadowRequest() - Constructor for class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- ShadowResolveInfo - Class in org.robolectric.shadows
-
Utilities for
ResolveInfo
. - ShadowResolveInfo() - Constructor for class org.robolectric.shadows.ShadowResolveInfo
- ShadowResources - Class in org.robolectric.shadows
-
Shadow of
Resources
. - ShadowResources() - Constructor for class org.robolectric.shadows.ShadowResources
- ShadowResources.OnConfigurationChangeListener - Interface in org.robolectric.shadows
-
Listener callback that's called when the configuration is updated for a resources.
- ShadowResources.ShadowLegacyTheme - Class in org.robolectric.shadows
-
Shadow for
Resources.Theme
. - ShadowResources.ShadowNotFoundException - Class in org.robolectric.shadows
-
Shadow for
Resources.NotFoundException
. - ShadowResources.ShadowTheme - Class in org.robolectric.shadows
-
Base class for shadows of
Resources.Theme
. - ShadowResources.ShadowTheme.Picker - Class in org.robolectric.shadows
-
Shadow picker for
ShadowResources.ShadowTheme
. - ShadowResourcesImpl - Class in org.robolectric.shadows
- ShadowResourcesImpl() - Constructor for class org.robolectric.shadows.ShadowResourcesImpl
- ShadowResourcesImpl.Picker - Class in org.robolectric.shadows
- ShadowResourcesImpl.ShadowThemeImpl - Class in org.robolectric.shadows
- ShadowResourcesImpl.ShadowThemeImpl.Picker - Class in org.robolectric.shadows
- ShadowResourcesManager - Class in org.robolectric.shadows
- ShadowResourcesManager() - Constructor for class org.robolectric.shadows.ShadowResourcesManager
- ShadowRestrictionsManager - Class in org.robolectric.shadows
-
Shadow of
RestrictionsManager
. - ShadowRestrictionsManager() - Constructor for class org.robolectric.shadows.ShadowRestrictionsManager
- ShadowResultReceiver - Class in org.robolectric.shadows
- ShadowResultReceiver() - Constructor for class org.robolectric.shadows.ShadowResultReceiver
- ShadowRgb() - Constructor for class org.robolectric.shadows.ShadowColorSpace.ShadowRgb
- ShadowRingtoneManager - Class in org.robolectric.shadows
-
A shadow implementation of
RingtoneManager
. - ShadowRingtoneManager() - Constructor for class org.robolectric.shadows.ShadowRingtoneManager
- ShadowRoleControllerManager - Class in org.robolectric.shadows
-
Shadow for
RoleControllerManager
- ShadowRoleControllerManager() - Constructor for class org.robolectric.shadows.ShadowRoleControllerManager
- ShadowRoleManager - Class in org.robolectric.shadows
-
A shadow implementation of
RoleManager
. - ShadowRoleManager() - Constructor for class org.robolectric.shadows.ShadowRoleManager
- ShadowRollbackManager - Class in org.robolectric.shadows
-
A Shadow for android.content.rollback.RollbackManager added in Android Q.
- ShadowRollbackManager() - Constructor for class org.robolectric.shadows.ShadowRollbackManager
- ShadowRotationWatcher - Class in org.robolectric.shadows
-
Shadow for RotationWatcher for API 23+
- ShadowRotationWatcher() - Constructor for class org.robolectric.shadows.ShadowRotationWatcher
- ShadowRotationWatcherFor22 - Class in org.robolectric.shadows
-
Shadow for RotationWatcher for API 16-22
- ShadowRotationWatcherFor22() - Constructor for class org.robolectric.shadows.ShadowRotationWatcherFor22
- ShadowRttCall() - Constructor for class org.robolectric.shadows.ShadowCall.ShadowRttCall
- shadows - Variable in class org.robolectric.annotation.Config.Builder
- shadows() - Method in class org.robolectric.annotation.Config.Implementation
- shadows() - Method in annotation type org.robolectric.annotation.Config
-
A list of shadow classes to enable, in addition to those that are already present.
- shadows() - Method in annotation type org.robolectric.internal.bytecode.SandboxConfig
-
A list of shadow classes to enable, in addition to those that are already present.
- Shadows - Class in org.robolectric
-
Shadow mapper.
- Shadows - Class in org.robolectric.shadows.gms
-
Shadow mapper.
- Shadows - Class in org.robolectric.shadows.httpclient
-
Shadow mapper.
- Shadows - Class in org.robolectric.shadows.multidex
-
Shadow mapper.
- Shadows() - Constructor for class org.robolectric.Shadows
- Shadows() - Constructor for class org.robolectric.shadows.gms.Shadows
- Shadows() - Constructor for class org.robolectric.shadows.httpclient.Shadows
- Shadows() - Constructor for class org.robolectric.shadows.multidex.Shadows
- ShadowSafetyCenterManager - Class in org.robolectric.shadows
-
Shadow for
SafetyCenterManager
. - ShadowSafetyCenterManager() - Constructor for class org.robolectric.shadows.ShadowSafetyCenterManager
- ShadowScaleGestureDetector - Class in org.robolectric.shadows
- ShadowScaleGestureDetector() - Constructor for class org.robolectric.shadows.ShadowScaleGestureDetector
- ShadowScanResult - Class in org.robolectric.shadows
- ShadowScanResult() - Constructor for class org.robolectric.shadows.ShadowScanResult
- ShadowScrollView - Class in org.robolectric.shadows
- ShadowScrollView() - Constructor for class org.robolectric.shadows.ShadowScrollView
- ShadowSearchManager - Class in org.robolectric.shadows
- ShadowSearchManager() - Constructor for class org.robolectric.shadows.ShadowSearchManager
- ShadowSecure() - Constructor for class org.robolectric.shadows.ShadowSettings.ShadowSecure
- ShadowSeekBar - Class in org.robolectric.shadows
- ShadowSeekBar() - Constructor for class org.robolectric.shadows.ShadowSeekBar
- ShadowSensor - Class in org.robolectric.shadows
- ShadowSensor() - Constructor for class org.robolectric.shadows.ShadowSensor
- ShadowSensorManager - Class in org.robolectric.shadows
- ShadowSensorManager() - Constructor for class org.robolectric.shadows.ShadowSensorManager
- ShadowService - Class in org.robolectric.shadows
- ShadowService() - Constructor for class org.robolectric.shadows.ShadowService
- ShadowServiceManager - Class in org.robolectric.shadows
-
Shadow for
ServiceManager
. - ShadowServiceManager() - Constructor for class org.robolectric.shadows.ShadowServiceManager
- ShadowSession() - Constructor for class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- ShadowSessionInfo() - Constructor for class org.robolectric.shadows.ShadowPackageInstaller.ShadowSessionInfo
- ShadowSettings - Class in org.robolectric.shadows
- ShadowSettings() - Constructor for class org.robolectric.shadows.ShadowSettings
- ShadowSettings.ShadowGlobal - Class in org.robolectric.shadows
- ShadowSettings.ShadowSecure - Class in org.robolectric.shadows
- ShadowSettings.ShadowSystem - Class in org.robolectric.shadows
- ShadowSharedMemory - Class in org.robolectric.shadows
-
A
SharedMemory
fake that uses a private temporary disk file for storage and Java'sMappedByteBuffer
for the memory mappings. - ShadowSharedMemory() - Constructor for class org.robolectric.shadows.ShadowSharedMemory
- ShadowSharedPreferences - Class in org.robolectric.shadows
-
Placeholder container class for nested shadow class
- ShadowSharedPreferences() - Constructor for class org.robolectric.shadows.ShadowSharedPreferences
- ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl - Class in org.robolectric.shadows
- ShadowSharedPreferencesEditorImpl() - Constructor for class org.robolectric.shadows.ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl
- ShadowShortcutManager - Class in org.robolectric.shadows
- ShadowShortcutManager() - Constructor for class org.robolectric.shadows.ShadowShortcutManager
- ShadowSigningInfo - Class in org.robolectric.shadows
- ShadowSigningInfo() - Constructor for class org.robolectric.shadows.ShadowSigningInfo
- ShadowSize() - Constructor for class org.robolectric.shadows.ShadowCamera.ShadowSize
- ShadowSliceManager - Class in org.robolectric.shadows
-
Shadow of
SliceManager
. - ShadowSliceManager() - Constructor for class org.robolectric.shadows.ShadowSliceManager
- ShadowSms() - Constructor for class org.robolectric.shadows.ShadowTelephony.ShadowSms
- ShadowSmsManager - Class in org.robolectric.shadows
- ShadowSmsManager() - Constructor for class org.robolectric.shadows.ShadowSmsManager
- ShadowSmsManager.DataMessageParams - Class in org.robolectric.shadows
- ShadowSmsManager.DownloadMultimediaMessageParams - Class in org.robolectric.shadows
- ShadowSmsManager.MultimediaMessageParams - Class in org.robolectric.shadows
-
Base class for testable parameters from calls to either
ShadowSmsManager.downloadMultimediaMessage(android.content.Context, java.lang.String, android.net.Uri, android.os.Bundle, android.app.PendingIntent)
orShadowSmsManager.downloadMultimediaMessage(android.content.Context, java.lang.String, android.net.Uri, android.os.Bundle, android.app.PendingIntent)
. - ShadowSmsManager.SendMultimediaMessageParams - Class in org.robolectric.shadows
- ShadowSmsManager.TextMultipartParams - Class in org.robolectric.shadows
- ShadowSmsManager.TextSmsParams - Class in org.robolectric.shadows
- ShadowSocketTagger - Class in org.robolectric.shadows
- ShadowSocketTagger() - Constructor for class org.robolectric.shadows.ShadowSocketTagger
- ShadowSoftKeyboardController - Class in org.robolectric.shadows
-
Shadow of SoftKeyboardController.
- ShadowSoftKeyboardController() - Constructor for class org.robolectric.shadows.ShadowSoftKeyboardController
- ShadowSoundPool - Class in org.robolectric.shadows
- ShadowSoundPool() - Constructor for class org.robolectric.shadows.ShadowSoundPool
- ShadowSoundPool.Playback - Class in org.robolectric.shadows
-
Record of a single call to
SoundPool.play(int, float, float, int, int, float)
. - ShadowSpeechRecognizer - Class in org.robolectric.shadows
-
Robolectric shadow for SpeechRecognizer.
- ShadowSpeechRecognizer() - Constructor for class org.robolectric.shadows.ShadowSpeechRecognizer
- ShadowSpellChecker - Class in org.robolectric.shadows
- ShadowSpellChecker() - Constructor for class org.robolectric.shadows.ShadowSpellChecker
- ShadowSQLiteConnection - Class in org.robolectric.shadows
-
The base shadow class for
SQLiteConnection
shadow APIs. - ShadowSQLiteConnection() - Constructor for class org.robolectric.shadows.ShadowSQLiteConnection
- ShadowSQLiteConnection.Picker - Class in org.robolectric.shadows
- ShadowSQLiteOpenHelper - Class in org.robolectric.shadows
-
Avoid calls to setIdleConnectionTimeout.
- ShadowSQLiteOpenHelper() - Constructor for class org.robolectric.shadows.ShadowSQLiteOpenHelper
- ShadowSslErrorHandler - Class in org.robolectric.shadows
- ShadowSslErrorHandler() - Constructor for class org.robolectric.shadows.ShadowSslErrorHandler
- ShadowStateListDrawable - Class in org.robolectric.shadows
- ShadowStateListDrawable() - Constructor for class org.robolectric.shadows.ShadowStateListDrawable
- ShadowStatFs - Class in org.robolectric.shadows
-
Robolectic doesn't provide actual filesystem stats; rather, it provides the ability to specify stats values in advance.
- ShadowStatFs() - Constructor for class org.robolectric.shadows.ShadowStatFs
- ShadowStaticLayout - Class in org.robolectric.shadows
- ShadowStaticLayout() - Constructor for class org.robolectric.shadows.ShadowStaticLayout
- ShadowStatsLog - Class in org.robolectric.shadows
-
Shadow for
StatsLog
- ShadowStatsLog() - Constructor for class org.robolectric.shadows.ShadowStatsLog
- ShadowStatsLog.StatsLogItem - Class in org.robolectric.shadows
-
Single atom log item for write api.
- ShadowStatusBarManager - Class in org.robolectric.shadows
-
Robolectric implementation of
StatusBarManager
. - ShadowStatusBarManager() - Constructor for class org.robolectric.shadows.ShadowStatusBarManager
- ShadowStorageManager - Class in org.robolectric.shadows
-
Fake implementation of
StorageManager
- ShadowStorageManager() - Constructor for class org.robolectric.shadows.ShadowStorageManager
- ShadowStorageStatsManager - Class in org.robolectric.shadows
-
Fake implementation of
StorageStatsManager
that provides a fake implementation of query forStorageStats
of a package. - ShadowStorageStatsManager() - Constructor for class org.robolectric.shadows.ShadowStorageStatsManager
- ShadowStrictModeVmPolicy - Class in org.robolectric.shadows
- ShadowStrictModeVmPolicy() - Constructor for class org.robolectric.shadows.ShadowStrictModeVmPolicy
- ShadowStringBlock - Class in org.robolectric.shadows
- ShadowStringBlock() - Constructor for class org.robolectric.shadows.ShadowStringBlock
- ShadowStub() - Constructor for class org.robolectric.shadows.ShadowIAppOpsService.ShadowStub
- ShadowSubscriptionManager - Class in org.robolectric.shadows
- ShadowSubscriptionManager() - Constructor for class org.robolectric.shadows.ShadowSubscriptionManager
- ShadowSubscriptionManager.SubscriptionInfoBuilder - Class in org.robolectric.shadows
-
Builder class to create instance of
SubscriptionInfo
. - ShadowSurface - Class in org.robolectric.shadows
-
Shadow for
Surface
- ShadowSurface() - Constructor for class org.robolectric.shadows.ShadowSurface
- ShadowSurfaceControl - Class in org.robolectric.shadows
-
Shadow for
SurfaceControl
- ShadowSurfaceControl() - Constructor for class org.robolectric.shadows.ShadowSurfaceControl
- ShadowSurfaceImage() - Constructor for class org.robolectric.shadows.ShadowImageReader.ShadowSurfaceImage
- ShadowSurfaceTexture - Class in org.robolectric.shadows
-
Shadow for
SurfaceTexture
- ShadowSurfaceTexture() - Constructor for class org.robolectric.shadows.ShadowSurfaceTexture
- ShadowSurfaceView - Class in org.robolectric.shadows
- ShadowSurfaceView() - Constructor for class org.robolectric.shadows.ShadowSurfaceView
- ShadowSurfaceView.FakeSurfaceHolder - Class in org.robolectric.shadows
-
Robolectric implementation of
SurfaceHolder
. - ShadowSuspendDialogInfo - Class in org.robolectric.shadows
-
Shadow of
SuspendDialogInfo
to expose hidden methods. - ShadowSuspendDialogInfo() - Constructor for class org.robolectric.shadows.ShadowSuspendDialogInfo
- ShadowSystem - Class in org.robolectric.shadows
- ShadowSystem() - Constructor for class org.robolectric.shadows.ShadowSettings.ShadowSystem
- ShadowSystem() - Constructor for class org.robolectric.shadows.ShadowSystem
- ShadowSystemClock - Class in org.robolectric.shadows
-
The shadow API for
SystemClock
. - ShadowSystemClock() - Constructor for class org.robolectric.shadows.ShadowSystemClock
- ShadowSystemClock.Picker - Class in org.robolectric.shadows
- ShadowSystemFonts - Class in org.robolectric.shadows
- ShadowSystemFonts() - Constructor for class org.robolectric.shadows.ShadowSystemFonts
- ShadowSystemProperties - Class in org.robolectric.shadows
- ShadowSystemProperties() - Constructor for class org.robolectric.shadows.ShadowSystemProperties
- ShadowSystemServiceRegistry - Class in org.robolectric.shadows
- ShadowSystemServiceRegistry() - Constructor for class org.robolectric.shadows.ShadowSystemServiceRegistry
- ShadowSystemServiceRegistry._ServiceFetcherM_ - Interface in org.robolectric.shadows
-
Accessor interface for
android.app.SystemServiceRegistry.StaticOuterContextServiceFetcher
's internals (for M). - ShadowSystemServiceRegistry._ServiceFetcherN_ - Interface in org.robolectric.shadows
-
Accessor interface for
android.app.SystemServiceRegistry.StaticApplicationContextServiceFetcher
's internals (for N+). - ShadowSystemServiceRegistry._StaticServiceFetcher_ - Interface in org.robolectric.shadows
-
Accessor interface for
SystemServiceRegistry.StaticServiceFetcher
's internals. - ShadowSystemVibrator - Class in org.robolectric.shadows
- ShadowSystemVibrator() - Constructor for class org.robolectric.shadows.ShadowSystemVibrator
- ShadowTabActivity - Class in org.robolectric.shadows
- ShadowTabActivity() - Constructor for class org.robolectric.shadows.ShadowTabActivity
- ShadowTabHost - Class in org.robolectric.shadows
- ShadowTabHost() - Constructor for class org.robolectric.shadows.ShadowTabHost
- ShadowTabHost.ShadowTabSpec - Class in org.robolectric.shadows
- ShadowTabSpec() - Constructor for class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- ShadowTabWidget - Class in org.robolectric.shadows
- ShadowTabWidget() - Constructor for class org.robolectric.shadows.ShadowTabWidget
- ShadowTelecomManager - Class in org.robolectric.shadows
- ShadowTelecomManager() - Constructor for class org.robolectric.shadows.ShadowTelecomManager
- ShadowTelecomManager.CallRecord - Class in org.robolectric.shadows
-
Deprecated.
- ShadowTelecomManager.CallRequestMode - Enum in org.robolectric.shadows
-
Mode describing how the shadow handles incoming (
TelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle)
) and outgoing (TelecomManager.placeCall(android.net.Uri, android.os.Bundle)
) call requests. - ShadowTelecomManager.IncomingCallRecord - Class in org.robolectric.shadows
-
Details about an incoming call request made via
TelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle)
. - ShadowTelecomManager.OutgoingCallRecord - Class in org.robolectric.shadows
-
Details about an outgoing call request made via
TelecomManager.placeCall(android.net.Uri, android.os.Bundle)
. - ShadowTelecomManager.UnknownCallRecord - Class in org.robolectric.shadows
-
Details about an unknown call request made via
TelecomManager.addNewUnknownCall(android.telecom.PhoneAccountHandle, android.os.Bundle)
. - ShadowTelephony - Class in org.robolectric.shadows
- ShadowTelephony() - Constructor for class org.robolectric.shadows.ShadowTelephony
- ShadowTelephony.ShadowSms - Class in org.robolectric.shadows
- ShadowTelephonyFrameworkInitializer - Class in org.robolectric.shadows
-
Shadow for
TelephonyFrameworkInitializer
- ShadowTelephonyFrameworkInitializer() - Constructor for class org.robolectric.shadows.ShadowTelephonyFrameworkInitializer
- ShadowTelephonyManager - Class in org.robolectric.shadows
- ShadowTelephonyManager() - Constructor for class org.robolectric.shadows.ShadowTelephonyManager
- ShadowTelephonyManager.VisualVoicemailSmsParams - Class in org.robolectric.shadows
-
Testable parameters from calls to
ShadowTelephonyManager.sendVisualVoicemailSms(java.lang.String, int, java.lang.String, android.app.PendingIntent)
. - ShadowTextToSpeech - Class in org.robolectric.shadows
- ShadowTextToSpeech() - Constructor for class org.robolectric.shadows.ShadowTextToSpeech
- ShadowTextUtils - Class in org.robolectric.shadows
-
Implement by truncating the text.
- ShadowTextUtils() - Constructor for class org.robolectric.shadows.ShadowTextUtils
- ShadowTextView - Class in org.robolectric.shadows
- ShadowTextView() - Constructor for class org.robolectric.shadows.ShadowTextView
- ShadowTheme() - Constructor for class org.robolectric.shadows.ShadowResources.ShadowTheme
- ShadowThemeImpl() - Constructor for class org.robolectric.shadows.ShadowResourcesImpl.ShadowThemeImpl
- ShadowThreadedRenderer - Class in org.robolectric.shadows
- ShadowThreadedRenderer() - Constructor for class org.robolectric.shadows.ShadowThreadedRenderer
- ShadowThumbnails() - Constructor for class org.robolectric.shadows.ShadowMediaStore.ShadowImages.ShadowThumbnails
- ShadowThumbnails() - Constructor for class org.robolectric.shadows.ShadowMediaStore.ShadowVideo.ShadowThumbnails
- ShadowTile - Class in org.robolectric.shadows
- ShadowTile() - Constructor for class org.robolectric.shadows.ShadowTile
- ShadowTileService - Class in org.robolectric.shadows
- ShadowTileService() - Constructor for class org.robolectric.shadows.ShadowTileService
- ShadowTime - Class in org.robolectric.shadows
- ShadowTime() - Constructor for class org.robolectric.shadows.ShadowTime
- ShadowTimeManager - Class in org.robolectric.shadows
-
Shadow for internal Android
TimeManager
class introduced in S. - ShadowTimeManager() - Constructor for class org.robolectric.shadows.ShadowTimeManager
- ShadowTimePickerDialog - Class in org.robolectric.shadows
- ShadowTimePickerDialog() - Constructor for class org.robolectric.shadows.ShadowTimePickerDialog
- ShadowTimeZoneFinder - Class in org.robolectric.shadows
-
Shadow of TimeZoneFinder for Android O and P.
- ShadowTimeZoneFinder() - Constructor for class org.robolectric.shadows.ShadowTimeZoneFinder
- ShadowTimeZoneFinderQ - Class in org.robolectric.shadows
-
Shadow for TimeZoneFinder on Q after Developer Preview 1.
- ShadowTimeZoneFinderQ() - Constructor for class org.robolectric.shadows.ShadowTimeZoneFinderQ
- ShadowTimeZoneFinderS - Class in org.robolectric.shadows
-
Shadow for TimeZoneFinder on S or above.
- ShadowTimeZoneFinderS() - Constructor for class org.robolectric.shadows.ShadowTimeZoneFinderS
- ShadowToast - Class in org.robolectric.shadows
- ShadowToast() - Constructor for class org.robolectric.shadows.ShadowToast
- ShadowToneGenerator - Class in org.robolectric.shadows
-
Shadow of ToneGenerator.
- ShadowToneGenerator() - Constructor for class org.robolectric.shadows.ShadowToneGenerator
- ShadowToneGenerator.Tone - Class in org.robolectric.shadows
-
Stores data about a tone played by the ToneGenerator
- ShadowTotalCaptureResult - Class in org.robolectric.shadows
-
Shadow of
TotalCaptureResult
. - ShadowTotalCaptureResult() - Constructor for class org.robolectric.shadows.ShadowTotalCaptureResult
- ShadowTouchDelegate - Class in org.robolectric.shadows
- ShadowTouchDelegate() - Constructor for class org.robolectric.shadows.ShadowTouchDelegate
- ShadowTrace - Class in org.robolectric.shadows
-
Shadow implementation for
Trace
, which stores the traces locally in arrays (unlike the real implementation) and allows reading them. - ShadowTrace() - Constructor for class org.robolectric.shadows.ShadowTrace
- ShadowTrace.AsyncTraceSection - Class in org.robolectric.shadows
-
AutoValue representation of a trace triggered by one of the async apis
- ShadowTrace.AsyncTraceSection.Builder - Class in org.robolectric.shadows
-
Builder for traces triggered by one of the async apis
- ShadowTrace.Counter - Class in org.robolectric.shadows
-
Counters emitted with the setCounter API
- ShadowTrace.Counter.Builder - Class in org.robolectric.shadows
-
Builder for counters emitted with the setCounter API
- ShadowTrafficStats - Class in org.robolectric.shadows
- ShadowTrafficStats() - Constructor for class org.robolectric.shadows.ShadowTrafficStats
- ShadowTypedArray - Class in org.robolectric.shadows
- ShadowTypedArray() - Constructor for class org.robolectric.shadows.ShadowTypedArray
- ShadowTypedArray.Picker - Class in org.robolectric.shadows
- ShadowTypeface - Class in org.robolectric.shadows
- ShadowTypeface() - Constructor for class org.robolectric.shadows.ShadowTypeface
- ShadowTypeface.FontDesc - Class in org.robolectric.shadows
- ShadowTypeface.ShadowBuilder - Class in org.robolectric.shadows
-
Shadow for
Typeface.Builder
- ShadowUiAutomation - Class in org.robolectric.shadows
-
Shadow for
UiAutomation
. - ShadowUiAutomation() - Constructor for class org.robolectric.shadows.ShadowUiAutomation
- ShadowUIModeManager - Class in org.robolectric.shadows
-
Shadow for
UiModeManager
. - ShadowUIModeManager() - Constructor for class org.robolectric.shadows.ShadowUIModeManager
- ShadowUsageStatsManager - Class in org.robolectric.shadows
-
Shadow of
UsageStatsManager
. - ShadowUsageStatsManager() - Constructor for class org.robolectric.shadows.ShadowUsageStatsManager
- ShadowUsageStatsManager.AppUsageLimitObserver - Class in org.robolectric.shadows
-
App usage limit observer registered via
UsageStatsManager.registerAppUsageLimitObserver(int, String[], Duration, Duration, PendingIntent)
. - ShadowUsageStatsManager.AppUsageObserver - Class in org.robolectric.shadows
-
App usage observer registered via
UsageStatsManager.registerAppUsageObserver(int, String[], long, TimeUnit, PendingIntent)
. - ShadowUsageStatsManager.EventBuilder - Class in org.robolectric.shadows
-
Builder for constructing
UsageEvents.Event
objects. - ShadowUsageStatsManager.UsageSessionObserver - Class in org.robolectric.shadows
-
Usage session observer registered via
UsageStatsManager#registerUsageSessionObserver(int, String[], long, TimeUnit, long, TimeUnit, PendingIntent, PendingIntent)
. - ShadowUsageStatsManager.UsageStatsBuilder - Class in org.robolectric.shadows
-
Builder for constructing
UsageStats
objects. - ShadowUsbDeviceConnection - Class in org.robolectric.shadows
-
Robolectric implementation of
UsbDeviceConnection
. - ShadowUsbDeviceConnection() - Constructor for class org.robolectric.shadows.ShadowUsbDeviceConnection
- ShadowUsbManager - Class in org.robolectric.shadows
-
Robolectric implementation of
UsbManager
. - ShadowUsbManager() - Constructor for class org.robolectric.shadows.ShadowUsbManager
- ShadowUsbManager._UsbManager_ - Interface in org.robolectric.shadows
-
Accessor interface for
UsbManager
's internals. - ShadowUsbManager._UsbManagerQ_ - Interface in org.robolectric.shadows
-
Accessor interface for
UsbManager
's internals (Q+). - ShadowUsbRequest - Class in org.robolectric.shadows
-
Robolectric implementation of
UsbRequest
. - ShadowUsbRequest() - Constructor for class org.robolectric.shadows.ShadowUsbRequest
- ShadowUserEnvironment() - Constructor for class org.robolectric.shadows.ShadowEnvironment.ShadowUserEnvironment
- ShadowUserManager - Class in org.robolectric.shadows
-
Robolectric implementation of
UserManager
. - ShadowUserManager() - Constructor for class org.robolectric.shadows.ShadowUserManager
- ShadowUserManager.UserState - Enum in org.robolectric.shadows
-
Describes the current state of the user.
- ShadowUwbAdapterStateListener - Class in org.robolectric.shadows
-
Adds Robolectric support for UWB adapter state listener methods.
- ShadowUwbAdapterStateListener() - Constructor for class org.robolectric.shadows.ShadowUwbAdapterStateListener
- ShadowUwbManager - Class in org.robolectric.shadows
-
Adds Robolectric support for UWB ranging.
- ShadowUwbManager() - Constructor for class org.robolectric.shadows.ShadowUwbManager
- ShadowValueAnimator - Class in org.robolectric.shadows
- ShadowValueAnimator() - Constructor for class org.robolectric.shadows.ShadowValueAnimator
- ShadowVcnManager - Class in org.robolectric.shadows
-
A Shadow for android.net.vcn.VcnManager added in Android S.
- ShadowVcnManager() - Constructor for class org.robolectric.shadows.ShadowVcnManager
- ShadowVectorDrawable - Class in org.robolectric.shadows
- ShadowVectorDrawable() - Constructor for class org.robolectric.shadows.ShadowVectorDrawable
- ShadowVelocityTracker - Class in org.robolectric.shadows
- ShadowVelocityTracker() - Constructor for class org.robolectric.shadows.ShadowVelocityTracker
- ShadowVibrator - Class in org.robolectric.shadows
- ShadowVibrator() - Constructor for class org.robolectric.shadows.ShadowVibrator
- ShadowVibrator.PrimitiveEffect - Class in org.robolectric.shadows
-
A data class for exposing
VibrationEffect.Composition$PrimitiveEffect
, which is a hidden non TestApi class introduced in Android R. - ShadowVideo() - Constructor for class org.robolectric.shadows.ShadowMediaStore.ShadowVideo
- ShadowVideoView - Class in org.robolectric.shadows
- ShadowVideoView() - Constructor for class org.robolectric.shadows.ShadowVideoView
- ShadowView - Class in org.robolectric.shadows
- ShadowView() - Constructor for class org.robolectric.shadows.ShadowView
- ShadowView.WindowIdHelper - Class in org.robolectric.shadows
- ShadowViewAnimator - Class in org.robolectric.shadows
- ShadowViewAnimator() - Constructor for class org.robolectric.shadows.ShadowViewAnimator
- ShadowViewConfiguration - Class in org.robolectric.shadows
- ShadowViewConfiguration() - Constructor for class org.robolectric.shadows.ShadowViewConfiguration
- ShadowViewGroup - Class in org.robolectric.shadows
- ShadowViewGroup() - Constructor for class org.robolectric.shadows.ShadowViewGroup
- ShadowViewRootImpl - Class in org.robolectric.shadows
- ShadowViewRootImpl() - Constructor for class org.robolectric.shadows.ShadowViewRootImpl
- ShadowViewRootImpl.ViewRootImplReflector - Interface in org.robolectric.shadows
-
Reflector interface for
ViewRootImpl
's internals. - ShadowVirtualRefBasePtr - Class in org.robolectric.shadows
- ShadowVirtualRefBasePtr() - Constructor for class org.robolectric.shadows.ShadowVirtualRefBasePtr
- ShadowVisualizer - Class in org.robolectric.shadows
-
Shadow for the
Visualizer
class. - ShadowVisualizer() - Constructor for class org.robolectric.shadows.ShadowVisualizer
- ShadowVisualizer.VisualizerSource - Interface in org.robolectric.shadows
-
Provides underlying data for the
ShadowVisualizer
. - ShadowVisualVoicemailSms - Class in org.robolectric.shadows
- ShadowVisualVoicemailSms() - Constructor for class org.robolectric.shadows.ShadowVisualVoicemailSms
- ShadowVisualVoicemailTask - Class in org.robolectric.shadows
-
Shadow of
VisualVoicemailService.VisualVoicemailTask
. - ShadowVisualVoicemailTask() - Constructor for class org.robolectric.shadows.ShadowVisualVoicemailTask
- ShadowVMRuntime - Class in org.robolectric.shadows
- ShadowVMRuntime() - Constructor for class org.robolectric.shadows.ShadowVMRuntime
- ShadowVoiceInteractionService - Class in org.robolectric.shadows
-
Shadow implementation of
VoiceInteractionService
. - ShadowVoiceInteractionService() - Constructor for class org.robolectric.shadows.ShadowVoiceInteractionService
- ShadowVoiceInteractionSession - Class in org.robolectric.shadows
-
Shadow implementation of
VoiceInteractionSession
. - ShadowVoiceInteractionSession() - Constructor for class org.robolectric.shadows.ShadowVoiceInteractionSession
- ShadowVoiceInteractor - Class in org.robolectric.shadows
-
Shadow implementation of
VoiceInteractor
. - ShadowVoiceInteractor() - Constructor for class org.robolectric.shadows.ShadowVoiceInteractor
- ShadowVpnService - Class in org.robolectric.shadows
- ShadowVpnService() - Constructor for class org.robolectric.shadows.ShadowVpnService
- ShadowWakeLock() - Constructor for class org.robolectric.shadows.ShadowPowerManager.ShadowWakeLock
- ShadowWallpaperManager - Class in org.robolectric.shadows
- ShadowWallpaperManager() - Constructor for class org.robolectric.shadows.ShadowWallpaperManager
- ShadowWallpaperManager.WallpaperCommandRecord - Class in org.robolectric.shadows
-
Represents an invocation record of
WallpaperManager.sendWallpaperCommand(android.os.IBinder, java.lang.String, int, int, int, android.os.Bundle)
- ShadowWebSettings - Class in org.robolectric.shadows
-
Shadow of
WebSettings
which returns a dummy user a stub instance rather than the User-Agent used by a WebView. - ShadowWebSettings() - Constructor for class org.robolectric.shadows.ShadowWebSettings
- ShadowWebStorage - Class in org.robolectric.shadows
-
Shadow of
WebStorage
which constructs a stub instance rather than attempting to create a full Chromium-backed instance. - ShadowWebStorage() - Constructor for class org.robolectric.shadows.ShadowWebStorage
- ShadowWebSyncManager - Class in org.robolectric.shadows
- ShadowWebSyncManager() - Constructor for class org.robolectric.shadows.ShadowWebSyncManager
- ShadowWebView - Class in org.robolectric.shadows
- ShadowWebView() - Constructor for class org.robolectric.shadows.ShadowWebView
- ShadowWebView.LoadData - Class in org.robolectric.shadows
- ShadowWebView.LoadDataWithBaseURL - Class in org.robolectric.shadows
- ShadowWebViewDatabase - Class in org.robolectric.shadows
- ShadowWebViewDatabase() - Constructor for class org.robolectric.shadows.ShadowWebViewDatabase
- ShadowWifiAwareManager - Class in org.robolectric.shadows
-
Shadow Implementation of
WifiAwareManager
- ShadowWifiAwareManager() - Constructor for class org.robolectric.shadows.ShadowWifiAwareManager
- ShadowWifiConfiguration - Class in org.robolectric.shadows
-
Shadow Implementation of
WifiConfiguration
- ShadowWifiConfiguration() - Constructor for class org.robolectric.shadows.ShadowWifiConfiguration
- ShadowWifiInfo - Class in org.robolectric.shadows
- ShadowWifiInfo() - Constructor for class org.robolectric.shadows.ShadowWifiInfo
- ShadowWifiLock() - Constructor for class org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
- ShadowWifiManager - Class in org.robolectric.shadows
-
Shadow for
WifiManager
. - ShadowWifiManager() - Constructor for class org.robolectric.shadows.ShadowWifiManager
- ShadowWifiManager.ShadowMulticastLock - Class in org.robolectric.shadows
- ShadowWifiManager.ShadowWifiLock - Class in org.robolectric.shadows
- ShadowWifiManager.WifiUsabilityScore - Class in org.robolectric.shadows
-
Class to record scores passed to WifiManager#updateWifiUsabilityScore
- ShadowWifiP2pGroup - Class in org.robolectric.shadows
- ShadowWifiP2pGroup() - Constructor for class org.robolectric.shadows.ShadowWifiP2pGroup
- ShadowWifiP2pManager - Class in org.robolectric.shadows
- ShadowWifiP2pManager() - Constructor for class org.robolectric.shadows.ShadowWifiP2pManager
- ShadowWifiRttManager - Class in org.robolectric.shadows
-
Shadow for
WifiRttManager
. - ShadowWifiRttManager() - Constructor for class org.robolectric.shadows.ShadowWifiRttManager
- ShadowWindow - Class in org.robolectric.shadows
- ShadowWindow() - Constructor for class org.robolectric.shadows.ShadowWindow
- ShadowWindowManager - Class in org.robolectric.shadows
- ShadowWindowManager() - Constructor for class org.robolectric.shadows.ShadowWindowManager
- ShadowWindowManagerGlobal - Class in org.robolectric.shadows
-
Shadow for
WindowManagerGlobal
. - ShadowWindowManagerGlobal() - Constructor for class org.robolectric.shadows.ShadowWindowManagerGlobal
- ShadowWindowManagerImpl - Class in org.robolectric.shadows
- ShadowWindowManagerImpl() - Constructor for class org.robolectric.shadows.ShadowWindowManagerImpl
- ShadowWindowManagerImpl.ShadowCompatModeWrapper - Class in org.robolectric.shadows
- ShadowWrangler - Class in org.robolectric.internal.bytecode
-
ShadowWrangler matches shadowed classes up with corresponding shadows based on a
ShadowMap
. - ShadowWrangler(ShadowMap, ShadowMatcher, Interceptors) - Constructor for class org.robolectric.internal.bytecode.ShadowWrangler
- ShadowXmlBlock - Class in org.robolectric.shadows
- ShadowXmlBlock() - Constructor for class org.robolectric.shadows.ShadowXmlBlock
- ShadowXmlBlock.ShadowParser - Class in org.robolectric.shadows
-
Shadow of XmlBlock.Parser.
- ShadowZoomButtonsController - Class in org.robolectric.shadows
- ShadowZoomButtonsController() - Constructor for class org.robolectric.shadows.ShadowZoomButtonsController
- shareData(DataShareRequest, Executor, DataShareWriteAdapter) - Method in class org.robolectric.shadows.ShadowContentCaptureManager
- SHIFT_LAYOUTDIR - Static variable in class org.robolectric.res.android.ResTable_config
- SHIFT_NAVHIDDEN - Static variable in class org.robolectric.res.android.ResTable_config
- SHIFT_SCREENLONG - Static variable in class org.robolectric.res.android.ResTable_config
- SHIFT_UI_MODE_NIGHT - Static variable in class org.robolectric.res.android.ResTable_config
- shouldAcquire(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Determine if
SandboxClassLoader
should load a given class. - shouldAcquireResource(String) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Determine if
SandboxClassLoader
should load a given resource. - shouldHideFromSuggestions(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- shouldInstrument(ClassDetails) - Method in class org.robolectric.internal.bytecode.InstrumentationConfiguration
-
Determine if
SandboxClassLoader
should instrument a given class. - shouldShowRequestPermissionRationale(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- show() - Method in class org.robolectric.shadows.ShadowAlertDialog
- show() - Method in class org.robolectric.shadows.ShadowDialog
- show() - Method in class org.robolectric.shadows.ShadowListPopupWindow
- show() - Method in class org.robolectric.shadows.ShadowPopupMenu
- show() - Method in class org.robolectric.shadows.ShadowToast
- showDialog(int) - Method in class org.robolectric.shadows.ShadowActivity
- showDialog(int, Bundle) - Method in class org.robolectric.shadows.ShadowActivity
- showedCustomToast(CharSequence, int) - Static method in class org.robolectric.shadows.ShadowToast
-
Returns whether or not a particular custom
Toast
has been shown. - showedToast(CharSequence) - Static method in class org.robolectric.shadows.ShadowToast
-
query method that returns whether or not a particular
Toast
has been shown. - showErrorDialogFragment(int, Activity, int) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- showErrorDialogFragment(int, Activity, int) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- showErrorDialogFragment(int, Activity, int, DialogInterface.OnCancelListener) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- showErrorDialogFragment(int, Activity, int, DialogInterface.OnCancelListener) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- showErrorDialogFragment(int, Activity, Fragment, int, DialogInterface.OnCancelListener) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- showErrorDialogFragment(int, Activity, Fragment, int, DialogInterface.OnCancelListener) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- showErrorNotification(int, Context) - Method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil.GooglePlayServicesUtilImpl
- showErrorNotification(int, Context) - Static method in class org.robolectric.shadows.gms.ShadowGooglePlayServicesUtil
- showInCallScreen(boolean) - Method in class org.robolectric.shadows.ShadowTelecomManager
- showIntent - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- showNext() - Method in class org.robolectric.shadows.ShadowViewAnimator
- showNotification() - Method in class org.robolectric.shadows.ShadowDownloadManager.CompletedDownload
- shownToastCount() - Static method in class org.robolectric.shadows.ShadowToast
-
Returns the number of
Toast
requests that have been made during this test run or sinceShadowToast.reset()
has been called. - showPrevious() - Method in class org.robolectric.shadows.ShadowViewAnimator
- showSession(Bundle, int) - Method in class org.robolectric.shadows.ShadowVoiceInteractionService
- showSoftInput(View, int) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- showSoftInput(View, int, ResultReceiver) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- showSoftInput(View, int, ResultReceiver, int) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- shutdown() - Method in class org.robolectric.android.controller.ContentProviderController
- shutdown() - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- shutdown() - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- shutdown() - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- shutdown() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- shutdownNow() - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- shutdownNow() - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- shutdownNow() - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- silence() - Method in class org.robolectric.shadows.httpclient.FakeHttpLayer
- silenceRinger() - Method in class org.robolectric.shadows.ShadowTelecomManager
- SILENT - org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
- SimpleFuture<T> - Class in org.robolectric.util
-
Deprecated.This class can introduce deadlocks, since its lock is held while invoking run().
- SimpleFuture(Callable<T>) - Constructor for class org.robolectric.util.SimpleFuture
-
Deprecated.
- SimplePerfStatsReporter - Class in org.robolectric.util
-
Simple implementation of PerfStatsReporter that writes stats to stdout.
- SimplePerfStatsReporter() - Constructor for class org.robolectric.util.SimplePerfStatsReporter
- simulateGattConnectionChange(int, int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- simulateGnssAntennaInfo(List<GnssAntennaInfo>) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a GNSS antenna info event.
- simulateGnssMeasurementsEvent(GnssMeasurementsEvent) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a GNSS measurements event.
- simulateGnssMeasurementsStatus(int) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a GNSS measurements status change.
- simulateGnssStatus(GnssStatus) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a GNSS status event.
- simulateGnssStatusFirstFix(int) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a GNSS status first fix event.
- simulateGnssStatusStarted() - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a GNSS status started event.
- simulateGnssStatusStopped() - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a GNSS status stopped event.
- simulateLocation(Location) - Method in class org.robolectric.shadows.ShadowLocationManager
-
A convenience function equivalent to invoking
ShadowLocationManager.simulateLocation(String, Location)
with the provider of the given location. - simulateLocation(String, Location) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Delivers to the given provider (which will be created if necessary) a new location which will be delivered to appropriate listeners and updates state accordingly.
- simulateNmeaMessage(String, long) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Simulates a NMEA message.
- simulateSynthesizeToFileResult(int) - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Sets up synthesizeToFile to succeed or fail in the synthesis operation.
- simulateTimeChange(long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Simulates the operations done by the framework when there is a time change.
- simulateWindowFocus(View) - Method in class org.robolectric.android.internal.LocalControlledLooper
- simulateZoomInButtonClick() - Method in class org.robolectric.shadows.ShadowZoomButtonsController
- simulateZoomOutButtonClick() - Method in class org.robolectric.shadows.ShadowZoomButtonsController
- sin(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
- SINCOS - Static variable in class org.robolectric.shadows.ShadowMatrix
- size() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- size() - Method in class org.robolectric.fakes.RoboMenu
- size() - Method in class org.robolectric.res.android.ResStringPool
- size() - Method in class org.robolectric.res.android.SortedVector
- size() - Method in class org.robolectric.res.android.StringPiece
- size() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- size() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
- size() - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS
- size() - Method in class org.robolectric.shadows.ShadowNotificationManager
- size() - Method in class org.robolectric.util.Scheduler
-
Return the number of enqueued runnables.
- SIZEOF - Static variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_header
- SIZEOF - Static variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_ref
- SIZEOF - Static variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_span
- SIZEOF - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- SIZEOF - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_ref
- SIZEOF - Static variable in class org.robolectric.res.android.ResStringPoolHeader
- SIZEOF - Static variable in class org.robolectric.res.android.ResTable_config
- SIZEOF_CPTR - Static variable in class org.robolectric.res.android.Util
- SIZEOF_INT - Static variable in class org.robolectric.res.android.Util
- SIZEOF_SHORT - Static variable in class org.robolectric.res.android.Util
- SKEW - Static variable in class org.robolectric.shadows.ShadowMatrix
- skip(int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- skip(int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- skip(long) - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- sleep(long) - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- sleep(long) - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
-
Advances the current time by given millis, without sleeping the current thread/
- small - org.robolectric.android.DeviceConfig.ScreenSize
- SMALLEST_SCREEN_WIDTH_DP - org.robolectric.res.android.ResTable_config.Type
- smallestNominalAppHeight - Variable in class org.robolectric.android.internal.DisplayConfig
-
The smallest value of
DisplayConfig.appHeight
that an application is likely to encounter, in pixels, excepting cases where the height may be even smaller due to the presence of a soft keyboard, for example. - smallestNominalAppWidth - Variable in class org.robolectric.android.internal.DisplayConfig
-
The smallest value of
DisplayConfig.appWidth
that an application is likely to encounter, in pixels, excepting cases where the width may be even smaller due to the presence of a soft keyboard, for example. - smallestScreenWidthDp - Variable in class org.robolectric.res.android.ResTable_config
- smoothScrollBy(int, int) - Method in class org.robolectric.shadows.ShadowAbsListView
- smoothScrollBy(int, int) - Method in class org.robolectric.shadows.ShadowScrollView
- smoothScrollTo(int, int) - Method in class org.robolectric.shadows.ShadowScrollView
- smoothScrollToPosition(int) - Method in class org.robolectric.shadows.ShadowAbsListView
- sneakyThrow(Throwable) - Static method in class org.robolectric.util.Util
-
Re-throw
t
(even if it's a checked exception) without requiring athrows
declaration. - SocketInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SocketInterceptor
- SoftThreadLocal<T> - Class in org.robolectric.util
-
Soft reference to a
java.lang.ThreadLocal
. - SoftThreadLocal() - Constructor for class org.robolectric.util.SoftThreadLocal
- SORTED_FLAG - Static variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_header
- SORTED_FLAG - Static variable in class org.robolectric.res.android.ResStringPoolHeader
- SortedVector<T extends Comparable<T>> - Class in org.robolectric.res.android
- sortOrder - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- soundId - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- speak(CharSequence, int, Bundle, String) - Method in class org.robolectric.shadows.ShadowTextToSpeech
- speak(String, int, HashMap<String, String>) - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Speaks the string using the specified queuing strategy and speech parameters.
- SQLiteConnectionNatives - Class in org.robolectric.nativeruntime
-
Native methods for SQLiteConnection JNI registration.
- SQLiteLibraryLoader - Class in org.robolectric.shadows.util
-
Initializes sqlite native libraries.
- SQLiteLibraryLoader() - Constructor for class org.robolectric.shadows.util.SQLiteLibraryLoader
- SQLiteLibraryLoader(SQLiteLibraryLoader.LibraryNameMapper) - Constructor for class org.robolectric.shadows.util.SQLiteLibraryLoader
- SQLiteLibraryLoader.LibraryNameMapper - Interface in org.robolectric.shadows.util
- sqliteMode() - Static method in class org.robolectric.shadows.ShadowSQLiteConnection
- SQLiteMode - Annotation Type in org.robolectric.annotation
-
A
Configurer
annotation for controlling which SQLite shadow implementation is used for theandroid.database
package. - SQLiteMode.Mode - Enum in org.robolectric.annotation
-
Specifies the different supported SQLite modes.
- SQLiteModeConfigurer - Class in org.robolectric.plugins
-
Provides configuration to Robolectric for its @
SQLiteMode
annotation. - SQLiteModeConfigurer(Properties) - Constructor for class org.robolectric.plugins.SQLiteModeConfigurer
- SQLiteShadowPicker<T> - Class in org.robolectric.shadows
-
A
ShadowPicker
that selects between shadows given the SQLite mode - SQLiteShadowPicker(Class<? extends T>, Class<? extends T>) - Constructor for class org.robolectric.shadows.SQLiteShadowPicker
- sqrt(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
- start() - Method in class org.robolectric.android.controller.ActivityController
- start() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- start() - Method in class org.robolectric.shadows.ShadowCountDownTimer
- start() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates private native method
MediaPlayer._start()
. - start() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- start() - Method in class org.robolectric.shadows.ShadowVideoView
- start(PersistableBundle) - Method in class org.robolectric.shadows.ShadowRangingSession
-
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.
- START - Static variable in class org.robolectric.shadows.ShadowVideoView
- START_DOCUMENT - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- START_NAMESPACE - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- START_TAG - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- startActivity(ComponentName, UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Simulates starting the activity specified in the specified profile, performing the same security checks done by the real
CrossProfileApps
. - startActivity(Context, Intent, Bundle) - Method in class org.robolectric.shadows.ShadowAppTask
-
Starts the activity using given context.
- startActivity(Intent) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- startActivity(Intent, Bundle) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- startActivity(Intent, Bundle) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- startActivity(Intent, UserHandle, Activity) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Simulates starting the activity specified in the specified profile, performing the same security checks done by the real
CrossProfileApps
. - startActivity(Intent, UserHandle, Activity, Bundle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Simulates starting the activity specified in the specified profile, performing the same security checks done by the real
CrossProfileApps
. - startActivityAndCollapse(Intent) - Method in class org.robolectric.shadows.ShadowTileService
-
Starts an activity without collapsing the quick settings panel.
- startActivityAsUser(Intent, Bundle, UserHandle) - Method in class org.robolectric.shadows.ShadowContextImpl
-
Behaves as
Context.startActivity(Intent, Bundle)
. - startActivityForResult(Intent) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- startActivityForResult(Intent, Bundle) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- startActivitySync(Intent) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- startActivitySync(Intent, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- startActivitySyncInternal(Intent) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- startActivitySyncInternal(Intent, Bundle) - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- startAddAccountSession(String, String, String[], Bundle, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Returns a bundle that contains the account session bundle under
AccountManager.KEY_ACCOUNT_SESSION_BUNDLE
to later be passed on toAccountManager#finishSession(Bundle,Activity,AccountManagerCallback
.,Handler) - startAdvertising(AdvertiseSettings, AdvertiseData, AdvertiseCallback) - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
-
Start Bluetooth LE Advertising.
- startAdvertising(AdvertiseSettings, AdvertiseData, AdvertiseData, AdvertiseCallback) - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
-
Start Bluetooth LE Advertising.
- startAngle - Variable in class org.robolectric.shadows.ShadowCanvas.ArcPaintHistoryEvent
- startAppDetailsActivity(ComponentName, UserHandle, Rect, Bundle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- startBugreport(ParcelFileDescriptor, ParcelFileDescriptor, BugreportParams, Executor, BugreportManager.BugreportCallback) - Method in class org.robolectric.shadows.ShadowBugreportManager
-
Starts a bugreport with which can execute callback methods on the provided executor.
- startCommand(int, int) - Method in class org.robolectric.android.controller.IntentServiceController
- startCommand(int, int) - Method in class org.robolectric.android.controller.ServiceController
- startConsentActivity(Set<Integer>) - Method in class org.robolectric.shadows.ShadowAmbientContextManager
- startDelete(int, Object, Uri, String, String[]) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
- startDiscovery() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- STARTED - org.robolectric.shadows.ShadowMediaPlayer.State
- StartedActivity(ComponentName, UserHandle) - Constructor for class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- StartedActivity(ComponentName, UserHandle, Intent, Activity, Bundle) - Constructor for class org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
- StartedMainActivity(ComponentName, UserHandle) - Constructor for class org.robolectric.shadows.ShadowCrossProfileApps.StartedMainActivity
-
Deprecated.
- startEvent(String) - Method in class org.robolectric.util.PerfStatsCollector
- startForeground(int, Notification) - Method in class org.robolectric.shadows.ShadowService
- startForeground(int, Notification, int) - Method in class org.robolectric.shadows.ShadowService
- startForegroundService(Intent) - Method in class org.robolectric.shadows.ShadowContextImpl
- startFragment(Fragment) - Static method in class org.robolectric.util.FragmentTestUtil
-
Deprecated.
- startFragment(Fragment, Class<? extends Activity>) - Static method in class org.robolectric.util.FragmentTestUtil
-
Deprecated.
- startInputInner(int, IBinder, int, int, int) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- startInsert(int, Object, Uri, ContentValues) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
- startIntentSender(IntentSender, Intent, int, int, int, Bundle) - Method in class org.robolectric.shadows.ShadowContextImpl
- startIntentSenderForResult(IntentSender, int, Intent, int, int, int, Bundle) - Method in class org.robolectric.shadows.ShadowActivity
- startLeScan(BluetoothAdapter.LeScanCallback) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- startLeScan(UUID[], BluetoothAdapter.LeScanCallback) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- startListening() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- startListening(Intent) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- startLockTask() - Method in class org.robolectric.shadows.ShadowActivity
-
Starts a lock task.
- startMainActivity(ComponentName, UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Simulates starting the main activity specified in the specified profile, performing the same security checks done by the real
CrossProfileApps
. - startManagingCursor(Cursor) - Method in class org.robolectric.shadows.ShadowActivity
- startMethodTracing() - Static method in class org.robolectric.shadows.ShadowDebug
- startMethodTracing(String) - Static method in class org.robolectric.shadows.ShadowDebug
- startMethodTracing(String, int) - Static method in class org.robolectric.shadows.ShadowDebug
- startMethodTracing(String, int, int) - Static method in class org.robolectric.shadows.ShadowDebug
- startMethodTracingSampling(String, int, int) - Static method in class org.robolectric.shadows.ShadowDebug
- startOp(String, int, String, String, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Stores a fake long-running operation.
- startOpNoThrow(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Stores a fake long-running operation.
- startOpNoThrow(String, int, String, String, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Stores a fake long-running operation.
- startPackageInstallerSessionDetailsActivity(PackageInstaller.SessionInfo, Rect, Bundle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- startPreview() - Method in class org.robolectric.shadows.ShadowCamera
- startQuery(int, Object, Uri, String[], String, String[], String) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
- startRanging(RangingRequest, Executor, RangingResultCallback) - Method in class org.robolectric.shadows.ShadowWifiRttManager
-
If there are RangingResults set by the setRangeResults method of this shadow class, this method will call the onRangingResults method of the callback on the executor thread and pass the list of RangingResults.
- startRfcommServer(String, UUID, PendingIntent) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- startScan() - Method in class org.robolectric.shadows.ShadowWifiManager
-
Does nothing and returns the configured success status.
- startScan(List<ScanFilter>, ScanSettings, PendingIntent) - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
-
Tracks ongoing scans.
- startScan(List<ScanFilter>, ScanSettings, ScanCallback) - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
-
Tracks ongoing scans.
- startService(Intent) - Method in class org.robolectric.shadows.ShadowContextImpl
- startService(Intent) - Method in class org.robolectric.shadows.ShadowInstrumentation
- startShortcut(ShortcutInfo, Rect, Bundle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- startShortcut(String, String, Rect, Bundle, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- startTone(int, int) - Method in class org.robolectric.shadows.ShadowToneGenerator
-
This method will intercept calls to startTone and record the played tone into a static list.
- startUpdate(int, Object, Uri, ContentValues, String, String[]) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
- startVisibleFragment(Fragment) - Static method in class org.robolectric.util.FragmentTestUtil
-
Deprecated.
- startVisibleFragment(Fragment, Class<? extends Activity>, int) - Static method in class org.robolectric.util.FragmentTestUtil
-
Deprecated.
- startVoiceRecognition(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
-
Overrides behavior of
ShadowBluetoothHeadset.startVoiceRecognition(android.bluetooth.BluetoothDevice)
. - startWatching() - Method in class org.robolectric.shadows.ShadowFileObserver
- startWatchingMode(int, String, int, AppOpsManager.OnOpChangedListener) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- startWatchingMode(int, String, AppOpsManager.OnOpChangedListener) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- startX - Variable in class org.robolectric.shadows.ShadowCanvas.LinePaintHistoryEvent
- startY - Variable in class org.robolectric.shadows.ShadowCanvas.LinePaintHistoryEvent
- stat(String) - Method in class org.robolectric.shadows.ShadowLinux
- stat(String) - Static method in class org.robolectric.shadows.ShadowPosix
- state - Variable in class org.robolectric.android.internal.DisplayConfig
-
The state of the display, such as
Display.STATE_ON
. - state - Variable in class org.robolectric.shadows.ShadowContentResolver.Status
- STATE_BOOTING - org.robolectric.shadows.ShadowUserManager.UserState
- STATE_DATA_SOURCE_CONFIGURED - Static variable in class org.robolectric.shadows.ShadowMediaRecorder
- STATE_ERROR - Static variable in class org.robolectric.shadows.ShadowMediaRecorder
- STATE_INITIAL - Static variable in class org.robolectric.shadows.ShadowMediaRecorder
- STATE_INITIALIZED - Static variable in class org.robolectric.shadows.ShadowMediaRecorder
- STATE_PREPARED - Static variable in class org.robolectric.shadows.ShadowMediaRecorder
- STATE_RECORDING - Static variable in class org.robolectric.shadows.ShadowMediaRecorder
- STATE_RELEASED - Static variable in class org.robolectric.shadows.ShadowMediaRecorder
- STATE_RUNNING_LOCKED - org.robolectric.shadows.ShadowUserManager.UserState
- STATE_RUNNING_UNLOCKED - org.robolectric.shadows.ShadowUserManager.UserState
- STATE_RUNNING_UNLOCKING - org.robolectric.shadows.ShadowUserManager.UserState
- STATE_SHUTDOWN - org.robolectric.shadows.ShadowUserManager.UserState
- STATE_STOPPING - org.robolectric.shadows.ShadowUserManager.UserState
- Static - Annotation Type in org.robolectric.util.reflector
-
Marks
Reflector
methods which serve as accessors for static members. - STATIC - org.robolectric.internal.bytecode.MethodCallSite.Kind
- STATIC_INITIALIZER_METHOD_NAME - Static variable in class org.robolectric.annotation.processing.validator.ImplementsValidator
- STATIC_INITIALIZER_METHOD_NAME - Static variable in class org.robolectric.internal.bytecode.ShadowConstants
- staticGetBuildSystemApiProperties() - Static method in class org.robolectric.RobolectricTestRunner
- StatsLogItem() - Constructor for class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
- Status() - Constructor for class org.robolectric.shadows.ShadowContentResolver.Status
- StatusLineStub - Class in org.robolectric.shadows.httpclient
- StatusLineStub() - Constructor for class org.robolectric.shadows.httpclient.StatusLineStub
- StaxArrayLoader - Class in org.robolectric.res
- StaxArrayLoader(PackageResourceTable, String, ResType, ResType) - Constructor for class org.robolectric.res.StaxArrayLoader
- StaxAttrLoader - Class in org.robolectric.res
- StaxAttrLoader(PackageResourceTable, String, ResType) - Constructor for class org.robolectric.res.StaxAttrLoader
- StaxDocumentLoader - Class in org.robolectric.res
- StaxDocumentLoader(String, Path, NodeHandler) - Constructor for class org.robolectric.res.StaxDocumentLoader
- StaxLoader - Class in org.robolectric.res
- StaxLoader(PackageResourceTable, String, ResType) - Constructor for class org.robolectric.res.StaxLoader
- StaxPluralsLoader - Class in org.robolectric.res
- StaxPluralsLoader(PackageResourceTable, String, ResType) - Constructor for class org.robolectric.res.StaxPluralsLoader
- StaxStyleLoader - Class in org.robolectric.res
- StaxStyleLoader(PackageResourceTable, String, ResType) - Constructor for class org.robolectric.res.StaxStyleLoader
- StaxValueLoader - Class in org.robolectric.res
- StaxValueLoader(PackageResourceTable, String, ResType) - Constructor for class org.robolectric.res.StaxValueLoader
- stop() - Method in class org.robolectric.android.controller.ActivityController
- stop() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- stop() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- stop() - Method in class org.robolectric.shadows.ShadowRangingSession
-
Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to dictate the results of the call.
- stop() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- STOP - Static variable in class org.robolectric.shadows.ShadowVideoView
- stopActivity(Activity) - Method in class org.robolectric.android.internal.LocalActivityInvoker
- stopAdvertising(AdvertiseCallback) - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
-
Stop Bluetooth LE advertising.
- stopForeground(boolean) - Method in class org.robolectric.shadows.ShadowService
- stopForeground(int) - Method in class org.robolectric.shadows.ShadowService
- stopLeScan(BluetoothAdapter.LeScanCallback) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- stopListening() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- stopLockTask() - Method in class org.robolectric.shadows.ShadowActivity
-
Stops a lock task.
- stopManagingCursor(Cursor) - Method in class org.robolectric.shadows.ShadowActivity
- stopMethodTracing() - Static method in class org.robolectric.shadows.ShadowDebug
- STOPPED - org.robolectric.shadows.ShadowMediaPlayer.State
- stopPlayback() - Method in class org.robolectric.shadows.ShadowVideoView
- stopPreview() - Method in class org.robolectric.shadows.ShadowCamera
- stopRfcommServer(UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- stopScan(PendingIntent) - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
- stopScan(ScanCallback) - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
- stopSelf() - Method in class org.robolectric.shadows.ShadowService
- stopSelf(int) - Method in class org.robolectric.shadows.ShadowService
- stopSelfResult(int) - Method in class org.robolectric.shadows.ShadowService
- stopService(Intent) - Method in class org.robolectric.shadows.ShadowContextImpl
- stopVoiceRecognition(BluetoothDevice) - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
-
Overrides the behavior of
ShadowBluetoothHeadset.stopVoiceRecognition(android.bluetooth.BluetoothDevice)
. - stopWatching() - Method in class org.robolectric.shadows.ShadowFileObserver
- stopWatchingMode(AppOpsManager.OnOpChangedListener) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- stopX - Variable in class org.robolectric.shadows.ShadowCanvas.LinePaintHistoryEvent
- stopY - Variable in class org.robolectric.shadows.ShadowCanvas.LinePaintHistoryEvent
- StorageVolumeBuilder - Class in org.robolectric.shadows
-
Class to build
StorageVolume
- StorageVolumeBuilder(String, File, String, UserHandle, String) - Constructor for class org.robolectric.shadows.StorageVolumeBuilder
- stream - Static variable in class org.robolectric.shadows.ShadowLog
- StreamConfigurationMapBuilder - Class in org.robolectric.shadows
-
Builder for StreamConfigurationMap
- streamType - Variable in class org.robolectric.shadows.ShadowAudioManager.AudioFocusRequest
- Strftime - Class in org.robolectric.util
-
An implementation of the Unix strftime with some glibc extensions.
- Strftime() - Constructor for class org.robolectric.util.Strftime
- strict(String, Object...) - Static method in class org.robolectric.util.Logger
- strict(String, Throwable) - Static method in class org.robolectric.util.Logger
- string() - Method in class org.robolectric.res.android.String8
- string(String) - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_header.Writer
- STRING - org.robolectric.res.android.DataType
-
data
holds an index into the containing resource table's string pool. - String8 - Class in org.robolectric.res.android
- String8() - Constructor for class org.robolectric.res.android.String8
- String8(String) - Constructor for class org.robolectric.res.android.String8
- String8(String, int) - Constructor for class org.robolectric.res.android.String8
- String8(Path) - Constructor for class org.robolectric.res.android.String8
- String8(String8) - Constructor for class org.robolectric.res.android.String8
- string8At(int, Ref<Integer>) - Method in class org.robolectric.res.android.ResStringPool
- stringAt(int) - Method in class org.robolectric.res.android.ResStringPool
- stringBlock - Variable in class org.robolectric.res.android.ResTable.bag_entry
- StringParameter(String, V) - Constructor for class org.robolectric.util.ReflectionHelpers.StringParameter
- StringPiece - Class in org.robolectric.res.android
- StringResources - Class in org.robolectric.res
- StringResources() - Constructor for class org.robolectric.res.StringResources
- stripStackTrace(T) - Method in interface org.robolectric.internal.bytecode.ClassHandler
-
Removes Robolectric noise from stack traces.
- stripStackTrace(T) - Method in class org.robolectric.internal.bytecode.ShadowWrangler
- style - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
- style - Variable in class org.robolectric.shadows.ShadowTypeface.FontDesc
- Style - Interface in org.robolectric.res
- STYLE - org.robolectric.res.ResType
- STYLE_ASSET_COOKIE - Static variable in class org.robolectric.res.android.AttributeResolution
- STYLE_ASSET_COOKIE - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_ASSET_COOKIE - Static variable in class org.robolectric.res.android.AttributeResolution9
- STYLE_CHANGING_CONFIGURATIONS - Static variable in class org.robolectric.res.android.AttributeResolution
- STYLE_CHANGING_CONFIGURATIONS - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_CHANGING_CONFIGURATIONS - Static variable in class org.robolectric.res.android.AttributeResolution9
- STYLE_DATA - Static variable in class org.robolectric.res.android.AttributeResolution
- STYLE_DATA - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_DATA - Static variable in class org.robolectric.res.android.AttributeResolution9
- STYLE_DENSITY - Static variable in class org.robolectric.res.android.AttributeResolution
- STYLE_DENSITY - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_DENSITY - Static variable in class org.robolectric.res.android.AttributeResolution9
- STYLE_NUM_ENTRIES - Static variable in class org.robolectric.res.android.AttributeResolution
- STYLE_NUM_ENTRIES - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_NUM_ENTRIES - Static variable in class org.robolectric.res.android.AttributeResolution9
- STYLE_RESOURCE_ID - Static variable in class org.robolectric.res.android.AttributeResolution
- STYLE_RESOURCE_ID - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_RESOURCE_ID - Static variable in class org.robolectric.res.android.AttributeResolution9
- STYLE_SOURCE_STYLE_RESOURCE_ID - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_TYPE - Static variable in class org.robolectric.res.android.AttributeResolution
- STYLE_TYPE - Static variable in class org.robolectric.res.android.AttributeResolution10
- STYLE_TYPE - Static variable in class org.robolectric.res.android.AttributeResolution9
- styleAt(int) - Method in class org.robolectric.res.android.ResStringPool
- StyleData - Class in org.robolectric.res
- StyleData(String, String, String, List<AttributeResource>) - Constructor for class org.robolectric.res.StyleData
- StyleData.Visitor - Interface in org.robolectric.res
- StyleResolver - Class in org.robolectric.res
- StyleResolver(ResourceTable, ResourceTable, StyleData, Style, ResName, ResTable_config) - Constructor for class org.robolectric.res.StyleResolver
- submit(Runnable) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- submit(Runnable) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- submit(Runnable, T) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- submit(Runnable, T) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- submit(Callable<T>) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- submit(Callable<T>) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- submitRequest(VoiceInteractor.Request) - Method in class org.robolectric.shadows.ShadowVoiceInteractor
- submitRequest(VoiceInteractor.Request, String) - Method in class org.robolectric.shadows.ShadowVoiceInteractor
- subscribe(int, Looper, SubscribeConfig, DiscoverySessionCallback) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
- suggestExternalTime(ExternalTimeSuggestion) - Method in class org.robolectric.shadows.ShadowTimeManager
- Supercedes - Annotation Type in org.robolectric.util.inject
-
Indicates that the annotated type is intended as a replacement for another type.
- supportedColorModes - Variable in class org.robolectric.android.internal.DisplayConfig
-
The list of supported color modes
- supportedModes - Variable in class org.robolectric.android.internal.DisplayConfig
-
The supported modes of this display.
- supportedPrimitives - Variable in class org.robolectric.shadows.ShadowVibrator
- supportMultipleWindows() - Method in class org.robolectric.fakes.RoboWebSettings
- supportsBinaryResourcesMode() - Method in class org.robolectric.manifest.AndroidManifest
-
Deprecated.Do not use.
- supportsLegacyResourcesMode() - Method in class org.robolectric.manifest.AndroidManifest
-
Deprecated.Do not use.
- supportsMultipleUsers() - Static method in class org.robolectric.shadows.ShadowUserManager
- supportsSdk(int) - Method in class org.robolectric.internal.bytecode.ShadowInfo
- supportZoom() - Method in class org.robolectric.fakes.RoboWebSettings
- suppressAmbientDisplay(String, boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
If true, suppress the device's ambient display.
- suspend() - Method in class org.robolectric.shadows.ShadowVideoView
- SUSPEND - Static variable in class org.robolectric.shadows.ShadowVideoView
- sweepAngle - Variable in class org.robolectric.shadows.ShadowCanvas.ArcPaintHistoryEvent
- switchTimezone(String) - Method in class org.robolectric.shadows.ShadowTime
- switchUser(int) - Method in class org.robolectric.shadows.ShadowActivityManager
- switchUser(int) - Method in class org.robolectric.shadows.ShadowUserManager
-
Switches the current user to
userHandle
. - switchUser(UserHandle) - Method in class org.robolectric.shadows.ShadowActivityManager
- sync() - Method in class org.robolectric.shadows.ShadowWebSyncManager
- syncAutomatically - Variable in class org.robolectric.shadows.ShadowContentResolver.Status
- synced - Variable in class org.robolectric.shadows.ShadowWebSyncManager
- synced() - Method in class org.robolectric.shadows.ShadowWebSyncManager
- syncExtras - Variable in class org.robolectric.shadows.ShadowContentResolver.Status
- syncRequests - Variable in class org.robolectric.shadows.ShadowContentResolver.Status
- syncs - Variable in class org.robolectric.shadows.ShadowContentResolver.Status
- syncToNetwork - Variable in class org.robolectric.shadows.ShadowContentResolver.NotifiedUri
- synthesizeToFile(CharSequence, Bundle, File, String) - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Stores
text
and returnsTextToSpeech.SUCCESS
. - sysconf(int) - Static method in class org.robolectric.shadows.ShadowOs
-
Returns the value configured via setSysconfValue, or -1 if one hasn't been configured.
- SystemArrayCopyInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SystemArrayCopyInterceptor
- systemContext - Static variable in class org.robolectric.RuntimeEnvironment
-
Deprecated.Use
RuntimeEnvironment.getApplication()
instead. Note that unlike the alternative, this field is inherently incompatible withLazyApplication
. This field may be removed in a later release - SystemLogInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SystemLogInterceptor
- SystemTimeInterceptor() - Constructor for class org.robolectric.interceptors.AndroidInterceptors.SystemTimeInterceptor
T
- tag - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- tag(Socket) - Method in class org.robolectric.shadows.ShadowSocketTagger
- TAG - Static variable in class org.robolectric.shadows.ShadowParcel
- tagDatagramSocket(DatagramSocket) - Static method in class org.robolectric.shadows.ShadowTrafficStats
-
No-op in tests.
- tagSocket(Socket) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- takePersistableUriPermission(Uri, int) - Method in class org.robolectric.shadows.ShadowContentResolver
- takePicture(Camera.ShutterCallback, Camera.PictureCallback, Camera.PictureCallback) - Method in class org.robolectric.shadows.ShadowCamera
- takeScreenshot(int, Executor, AccessibilityService.TakeScreenshotCallback) - Method in class org.robolectric.shadows.ShadowAccessibilityService
- TARGET_SDK - Static variable in annotation type org.robolectric.annotation.Config
- targetAuthenticationHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- targetAuthHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The target authentication handler.
- targetAuthState - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
- tearDownApplication() - Method in class org.robolectric.android.internal.AndroidTestEnvironment
- tearDownApplication() - Method in interface org.robolectric.internal.TestEnvironment
- TempDirectory - Class in org.robolectric.util
- TempDirectory() - Constructor for class org.robolectric.util.TempDirectory
- TempDirectory(String) - Constructor for class org.robolectric.util.TempDirectory
- TestEnvironment - Interface in org.robolectric.internal
-
An environment for running tests.
- TestEnvironmentLifecyclePlugin - Interface in org.robolectric.pluginapi
-
Plugin which allows behaviour extension in TestEnvironment.
- TestEnvironmentSpec() - Constructor for class org.robolectric.internal.AndroidSandbox.TestEnvironmentSpec
- TestEnvironmentSpec(Class<? extends AndroidTestEnvironment>) - Constructor for class org.robolectric.internal.AndroidSandbox.TestEnvironmentSpec
- TestHttpEntity() - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- TestHttpResponse - Class in org.robolectric.shadows.httpclient
- TestHttpResponse() - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse(int, byte[], Header...) - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse(int, String) - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse(int, String, Header...) - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse
- TestHttpResponse.TestHttpEntity - Class in org.robolectric.shadows.httpclient
- TestHttpResponse.TestStatusLine - Class in org.robolectric.shadows.httpclient
- TestLifecycle<T> - Interface in org.robolectric
- TestLifecycleApplication - Interface in org.robolectric
- testName(FrameworkMethod) - Method in class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
- TestRunnable - Class in org.robolectric.util
- TestRunnable() - Constructor for class org.robolectric.util.TestRunnable
- TestStatusLine() - Constructor for class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- text - Variable in class org.robolectric.shadows.ShadowCanvas.TextHistoryEvent
- TEXT - Static variable in class org.robolectric.res.android.ResXMLParser.event_code_t
- TextCollectingNodeHandler - Class in org.robolectric.res
- TextCollectingNodeHandler(StringBuilder) - Constructor for class org.robolectric.res.TextCollectingNodeHandler
- TextLayoutMode - Annotation Type in org.robolectric.annotation
-
A
Configurer
annotation for controlling how Robolectric performs UI layout. - TextLayoutMode.Mode - Enum in org.robolectric.annotation
-
Specifies the different supported Text layout modes.
- TextLayoutModeConfigurer - Class in org.robolectric.plugins
-
Provides configuration to Robolectric for its @
TextLayoutMode
annotation. - TextLayoutModeConfigurer() - Constructor for class org.robolectric.plugins.TextLayoutModeConfigurer
- TextMultipartParams(String, String, ArrayList<String>, ArrayList<PendingIntent>, ArrayList<PendingIntent>) - Constructor for class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
- TextMultipartParams(String, String, List<String>, List<PendingIntent>, List<PendingIntent>, long) - Constructor for class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
- TextSmsParams(String, String, String, PendingIntent, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
- TextSmsParams(String, String, String, PendingIntent, PendingIntent, long) - Constructor for class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
- Theme(CppAssetManager2) - Constructor for class org.robolectric.res.android.CppAssetManager2.Theme
- ThemeStyleSet - Class in org.robolectric.res
-
Represents the list of styles applied to a Theme.
- ThemeStyleSet() - Constructor for class org.robolectric.res.ThemeStyleSet
- thisType() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- throwable - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- throwIfNotConnectedLocked() - Method in class org.robolectric.shadows.ShadowUiAutomation
- timeString - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- TimeUtils - Class in org.robolectric.util
-
Utility methods for dealing with time.
- TimeUtils() - Constructor for class org.robolectric.util.TimeUtils
- title - Variable in class org.robolectric.shadows.ShadowDialog
- title - Variable in class org.robolectric.shadows.ShadowWindow
- toDataSource(Context, Uri) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(Context, Uri, Map<String, String>) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(Context, Uri, Map<String, String>, List<HttpCookie>) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(AssetFileDescriptor) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(MediaDataSource) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(FileDescriptor) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(FileDescriptor, long, long) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(String) - Static method in class org.robolectric.shadows.util.DataSource
- toDataSource(String, Map<String, String>) - Static method in class org.robolectric.shadows.util.DataSource
- toggleInverseFillType() - Method in class org.robolectric.shadows.ShadowPath
- toggleSoftInput(int, int) - Method in class org.robolectric.shadows.ShadowInputMethodManager
- toHex(int, int) - Static method in class org.robolectric.res.android.Formatter
- toMillis(boolean) - Method in class org.robolectric.shadows.ShadowTime
- Tone() - Constructor for class org.robolectric.shadows.ShadowToneGenerator.Tone
- toOpEntry(Integer, int) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- top - Variable in class org.robolectric.shadows.ShadowCanvas.RectPaintHistoryEvent
- top - Variable in class org.robolectric.shadows.ShadowCanvas.RoundRectPaintHistoryEvent
- topActivityResumed(boolean) - Method in class org.robolectric.android.controller.ActivityController
-
Calls the same lifecycle methods on the Activity called by Android when an Activity is the top most resumed activity on Q+.
- toString() - Method in class org.robolectric.android.internal.DisplayConfig
- toString() - Method in class org.robolectric.annotation.Config.Implementation
- toString() - Method in class org.robolectric.annotation.processing.DocumentedElement
- toString() - Method in class org.robolectric.internal.AndroidSandbox
- toString() - Method in class org.robolectric.internal.bytecode.MethodCallSite
- toString() - Method in class org.robolectric.internal.bytecode.MethodRef
- toString() - Method in class org.robolectric.internal.bytecode.MethodSignature
- toString() - Method in class org.robolectric.internal.dependency.DependencyJar
- toString() - Method in class org.robolectric.internal.dependency.MavenJarArtifact
- toString() - Method in class org.robolectric.internal.ManifestIdentifier
- toString() - Method in class org.robolectric.pluginapi.perf.Metric
- toString() - Method in class org.robolectric.pluginapi.Sdk
- toString() - Method in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
- toString() - Method in class org.robolectric.res.android.FileMap
- toString() - Method in class org.robolectric.res.android.Ref
- toString() - Method in class org.robolectric.res.android.ResourceTypes.Res_value
- toString() - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_ref
- toString() - Method in class org.robolectric.res.android.ResourceTypes.ResTable_map
- toString() - Method in class org.robolectric.res.android.ResourceTypes.ResTable_ref
- toString() - Method in class org.robolectric.res.android.ResTable_config
- toString() - Method in class org.robolectric.res.android.ResTable.ResourceName
- toString() - Method in class org.robolectric.res.android.ResTableTheme
- toString() - Method in class org.robolectric.res.android.String8
- toString() - Method in class org.robolectric.res.AttrData
- toString() - Method in class org.robolectric.res.AttributeResource
- toString() - Method in class org.robolectric.res.EmptyStyle
- toString() - Method in class org.robolectric.res.Plural
- toString() - Method in class org.robolectric.res.Qualifiers
- toString() - Method in class org.robolectric.res.ResName
- toString() - Method in class org.robolectric.res.ResourcePath
- toString() - Method in class org.robolectric.res.RoutingResourceTable
- toString() - Method in class org.robolectric.res.StyleData
- toString() - Method in class org.robolectric.res.StyleResolver
- toString() - Method in class org.robolectric.res.ThemeStyleSet
- toString() - Method in class org.robolectric.res.TypedResource
- toString() - Method in class org.robolectric.res.XmlContext
- toString() - Method in class org.robolectric.RobolectricTestRunner.RobolectricFrameworkMethod
- toString() - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestStatusLine
- toString() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- toString() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- toString() - Method in class org.robolectric.shadows.ShadowActivity.IntentForResult
- toString() - Method in class org.robolectric.shadows.ShadowApplication.Wrapper
- toString() - Method in class org.robolectric.shadows.ShadowLocationManager.RoboLocationRequest
- toString() - Method in class org.robolectric.shadows.ShadowLog.LogItem
- toString() - Method in class org.robolectric.shadows.ShadowPath.Point
- toString() - Method in class org.robolectric.shadows.ShadowResources.ShadowNotFoundException
- toString() - Method in class org.robolectric.shadows.ShadowSoundPool.Playback
- toString() - Method in class org.robolectric.shadows.ShadowVibrator.PrimitiveEffect
- toString() - Method in class org.robolectric.util.inject.Injector.Key
- toString(FileDescriptor, long) - Method in interface org.robolectric.shadows.util.DataSource.FileDescriptorTransform
- toStringParts() - Method in class org.robolectric.res.android.ResTable_config
-
Returns a map of the configuration parts for
ResTable_config.toString()
. - touchscreen - Variable in class org.robolectric.res.android.ResTable_config
- TOUCHSCREEN - org.robolectric.res.android.ResTable_config.Type
- TOUCHSCREEN_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- TOUCHSCREEN_FINGER - Static variable in class org.robolectric.res.android.ResTable_config
- toUri(URL) - Static method in class org.robolectric.res.Fs
- trackConditionalCacheHit() - Method in interface org.robolectric.fakes.RoboExtendedResponseCache
-
Track an conditional GET that was satisfied by this cache.
- trackResponse(RoboResponseSource) - Method in interface org.robolectric.fakes.RoboExtendedResponseCache
-
Track an HTTP response being satisfied by
source
. - transact(int, Parcel, Parcel, int) - Method in class org.robolectric.shadows.ShadowBinder
- transceive(byte[]) - Method in class org.robolectric.shadows.ShadowIsoDep
- transferOwnership(ComponentName, ComponentName, PersistableBundle) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- transform(Matrix) - Method in class org.robolectric.shadows.ShadowMotionEvent
- transform(Matrix) - Method in class org.robolectric.shadows.ShadowPath
- transform(Matrix, Path) - Method in class org.robolectric.shadows.ShadowPath
- translate(float, float) - Method in class org.robolectric.shadows.ShadowCanvas
- TRANSLATE - Static variable in class org.robolectric.shadows.ShadowMatrix
- triggerAtTime - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- triggerDataCapture() - Method in class org.robolectric.shadows.ShadowVisualizer
-
Trigger calls to the existing
Visualizer.OnDataCaptureListener
. - triggerDisconnect() - Method in class org.robolectric.shadows.ShadowCameraManager
-
Triggers a disconnect event, where any open camera will be disconnected (simulating the case where another app takes control of the camera).
- triggerModelDownload(Intent) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerOnEndOfSpeech() - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerOnError(int) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerOnPartialResults(Bundle) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerOnReadyForSpeech(Bundle) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerOnResults(Bundle) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerOnRmsChanged(float) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerRegisteredAppUsageLimitObserver(int, Duration) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Triggers a currently registered
ShadowUsageStatsManager.AppUsageLimitObserver
withobserverId
. - triggerRegisteredAppUsageObserver(int, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Triggers a currently registered
ShadowUsageStatsManager.AppUsageObserver
withobserverId
. - triggerRegisteredSessionEndedObserver(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Triggers a currently registered
ShadowUsageStatsManager.UsageSessionObserver
withobserverId
. - triggerRegisteredSessionStepObserver(int, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Triggers a currently registered
ShadowUsageStatsManager.UsageSessionObserver
withobserverId
. - triggerSupportError(int) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- triggerSupportResult(RecognitionSupport) - Method in class org.robolectric.shadows.ShadowSpeechRecognizer
- trimmedValue - Variable in class org.robolectric.res.AttributeResource
- tryStart(Type) - Method in class org.robolectric.internal.bytecode.RobolectricGeneratorAdapter
- turnScreenOn(boolean) - Method in class org.robolectric.shadows.ShadowPowerManager
-
Emulates turning the screen on/off if the screen is not already on/off.
- type - Variable in class org.robolectric.android.internal.DisplayConfig
-
Display type.
- type - Variable in class org.robolectric.res.android.CppAssetManager2.ResourceName
- type - Variable in class org.robolectric.res.android.ResTable.ResourceName
- type - Variable in class org.robolectric.res.ResName
- type - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- type - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- type() - Method in class org.robolectric.shadows.ShadowToneGenerator.Tone
-
The type of the tone.
- Type(ResTable.Header, ResTable.ResTablePackage, int) - Constructor for class org.robolectric.res.android.ResTable.Type
- TYPE_ANY - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_ASSERT - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
- TYPE_ATTRIBUTE - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_BOOLEAN - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_COLOR - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_DELETE - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
- TYPE_DIMENSION - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_DIMENSION - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_DYNAMIC_ATTRIBUTE - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_DYNAMIC_REFERENCE - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_ENUM - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_FIRST_COLOR_INT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_FIRST_INT - Static variable in enum org.robolectric.res.android.DataType
- TYPE_FIRST_INT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_FLAGS - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_FLOAT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_FLOAT - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_FRACTION - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_FRACTION - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_INSERT - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
- TYPE_INT_BOOLEAN - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_INT_COLOR_ARGB4 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_INT_COLOR_ARGB8 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_INT_COLOR_RGB4 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_INT_COLOR_RGB8 - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_INT_DEC - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_INT_HEX - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_INTEGER - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_LAST_COLOR_INT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_LAST_INT - Static variable in enum org.robolectric.res.android.DataType
- TYPE_LAST_INT - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_NULL - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_REFERENCE - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_REFERENCE - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- type_spec_flags - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag
- TYPE_STRING - Static variable in class org.robolectric.res.android.ResourceTypes.Res_value
- TYPE_STRING - Static variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- TYPE_UPDATE - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
- TYPED_ARRAY - org.robolectric.res.ResType
- TypedResource<T> - Class in org.robolectric.res
- TypedResource(T, ResType, XmlContext) - Constructor for class org.robolectric.res.TypedResource
- types - Variable in class org.robolectric.annotation.processing.validator.Validator
- types - Variable in class org.robolectric.res.android.ResTable.PackageGroup
- typeSpec - Variable in class org.robolectric.res.android.ResTable.Type
- typeSpecFlags - Variable in class org.robolectric.res.android.ResTable.Type
U
- UI_MODE_NIGHT - org.robolectric.res.android.ResTable_config.Type
- UI_MODE_NIGHT_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- UI_MODE_NIGHT_NO - Static variable in class org.robolectric.res.android.ResTable_config
- UI_MODE_TYPE - org.robolectric.res.android.ResTable_config.Type
- UI_MODE_TYPE_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- UI_MODE_TYPE_NORMAL - Static variable in class org.robolectric.res.android.ResTable_config
- UiccCardInfoBuilder - Class in org.robolectric.shadows
-
Builder for
UiccCardInfo
which includes modifications made in Android T to support MEP. - UiccPortInfoBuilder - Class in org.robolectric.shadows
-
Builder for
UiccPortInfo
which was introduced in Android T. - UiccSlotInfoBuilder - Class in org.robolectric.shadows
-
Builder for
UiccSlotInfo
which was introduced in Android P. - uiMode - Variable in class org.robolectric.res.android.ResTable_config
- uiModeNight() - Method in class org.robolectric.res.android.ResTable_config
- uiModeNight(int) - Method in class org.robolectric.res.android.ResTable_config
- uiModeType() - Method in class org.robolectric.res.android.ResTable_config
- uiModeType(int) - Method in class org.robolectric.res.android.ResTable_config
- ulHeight - Variable in class org.robolectric.shadows.RoundRectangle
- ulWidth - Variable in class org.robolectric.shadows.RoundRectangle
- UNAVAILABLE_FEATURES - Static variable in class org.robolectric.android.XmlResourceParserImpl
-
All the parser features currently NOT supported by Android.
- unbind() - Method in class org.robolectric.android.controller.IntentServiceController
- unbind() - Method in class org.robolectric.android.controller.ServiceController
- unbindService(ServiceConnection) - Method in class org.robolectric.shadows.ShadowContextImpl
- unbindService(ServiceConnection) - Method in class org.robolectric.shadows.ShadowInstrumentation
- uniqueId - Variable in class org.robolectric.android.internal.DisplayConfig
-
Unique identifier for the display.
- uniqueString(String) - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_header.Writer
- unknown - Variable in class org.robolectric.res.android.ResTable_config
-
Any remaining bytes in this resource configuration that are unaccounted for.
- UNKNOWN_ERROR - Static variable in class org.robolectric.res.android.Errors
- UnknownCallRecord(PhoneAccountHandle, Bundle) - Constructor for class org.robolectric.shadows.ShadowTelecomManager.UnknownCallRecord
- unlock() - Method in class org.robolectric.res.android.ResTable
- unlock() - Method in class org.robolectric.shadows.ShadowCamera
- unlockAndRun(Runnable) - Method in class org.robolectric.shadows.ShadowTileService
- unlockBag(Ref<ResTable.bag_entry[]>) - Method in class org.robolectric.res.android.ResTable
- unlockCanvasAndPost(Canvas) - Method in class org.robolectric.shadows.ShadowSurface
- unlockCanvasAndPost(Canvas) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- unmap(ByteBuffer) - Static method in class org.robolectric.shadows.ShadowSharedMemory
- unPause() - Method in class org.robolectric.android.internal.LooperDelegatingScheduler
- unPause() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- unPause() - Method in class org.robolectric.shadows.ShadowLooper
-
Not supported for the main Looper in
LooperMode.Mode.PAUSED
. - unPause() - Method in class org.robolectric.shadows.ShadowPausedLooper
- unPause() - Method in class org.robolectric.util.Scheduler
-
Un-pause the scheduler.
- UNPAUSED - org.robolectric.util.Scheduler.IdleState
-
The
Scheduler
's clock won't automatically advance the clock but will automatically execute any runnables scheduled to execute at or before the current time. - unPauseLooper(Looper) - Static method in class org.robolectric.shadows.ShadowLooper
-
Puts the shadow looper in an "unpaused" state (this is the default state).
- unPauseMainLooper() - Static method in class org.robolectric.shadows.ShadowLooper
-
Puts the main ShadowLegacyLooper in an "unpaused" state.
- unpinSlice(Uri) - Method in class org.robolectric.shadows.ShadowSliceManager
- unregister(long) - Method in class org.robolectric.res.android.NativeObjRegistry
-
Unregister an object previously registered with
NativeObjRegistry.register(Object)
. - unregister(UwbManager.AdapterStateCallback) - Method in class org.robolectric.shadows.ShadowUwbAdapterStateListener
-
Unregisters a callback.
- unregister(E) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- unregister(T) - Method in class org.robolectric.res.android.NativeObjRegistry
-
Deprecated.Use
NativeObjRegistry.unregister(long)
instead. - unregisterAntennaInfoListener(Object) - Method in class org.robolectric.shadows.ShadowLocationManager
- unregisterAppUsageLimitObserver(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Unregisters the app usage limit observer specified by
observerId
. - unregisterAppUsageObserver(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- unregisterAudioPlaybackCallback(AudioManager.AudioPlaybackCallback) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Unregisters callback listening to changes made to list of active playback configurations.
- unregisterAudioPolicy(Object) - Method in class org.robolectric.shadows.ShadowAudioManager
- unregisterAudioRecordingCallback(AudioManager.AudioRecordingCallback) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Unregisters callback listening to changes made to list of active recording configurations.
- unregisterAvailabilityCallback(CameraManager.AvailabilityCallback) - Method in class org.robolectric.shadows.ShadowCameraManager
- unregisterCallback(LauncherApps.Callback) - Method in class org.robolectric.shadows.ShadowLauncherApps
- unregisterCallback(MediaController.Callback) - Method in class org.robolectric.shadows.ShadowMediaController
-
Unregister callback and remove it from the shadow to make it easier to check the state of the registered callbacks.
- unregisterContentObserver(ContentObserver) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- unregisterContentObserver(ContentObserver) - Method in class org.robolectric.shadows.ShadowContentResolver
- unregisterContentObserver(ContentObserver) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- unregisterDataSetObserver(DataSetObserver) - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- unregisterDataSetObserver(DataSetObserver) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- unregisterGnssMeasurementsCallback(GnssMeasurementsEvent.Callback) - Method in class org.robolectric.shadows.ShadowLocationManager
- unregisterGnssStatusCallback(GnssStatus.Callback) - Method in class org.robolectric.shadows.ShadowLocationManager
- unregisterImsRegistrationCallback(ImsMmTelManager.RegistrationCallback) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
- unregisterListener(SensorEventListener) - Method in class org.robolectric.shadows.ShadowSensorManager
- unregisterListener(SensorEventListener, Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
- unregisterMmTelCapabilityCallback(ImsMmTelManager.CapabilityCallback) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
- unregisterMoveCallback(Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- unregisterNetworkCallback(ConnectivityManager.NetworkCallback) - Method in class org.robolectric.shadows.ShadowConnectivityManager
- unregisterObserver() - Method in class org.robolectric.shadows.ShadowAmbientContextManager
- unregisterPackageInstallerSessionCallback(PackageInstaller.SessionCallback) - Method in class org.robolectric.shadows.ShadowLauncherApps
- unregisterPhoneAccount(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelecomManager
- unregisterReceiver(BroadcastReceiver) - Method in class org.robolectric.shadows.ShadowContextImpl
- unregisterSessionCallback(PackageInstaller.SessionCallback) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- unregisterStats(File) - Static method in class org.robolectric.shadows.ShadowStatFs
-
Unregister stats for a path.
- unregisterStats(String) - Static method in class org.robolectric.shadows.ShadowStatFs
-
Unregister stats for a path.
- unregisterTelephonyCallback(TelephonyCallback) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- unregisterUsageSessionObserver(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- unregisterVcnStatusCallback(VcnManager.VcnStatusCallback) - Method in class org.robolectric.shadows.ShadowVcnManager
- UnsafeAccess - Class in org.robolectric.util.reflector
-
Access to sun.misc.Unsafe and the various scary things within.
- UnsafeAccess() - Constructor for class org.robolectric.util.reflector.UnsafeAccess
- unsafeCheckOpNoThrow(String, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- unsafeCheckOpRawNoThrow(int, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- unsafeCheckOpRawNoThrow(String, int, String) - Method in class org.robolectric.shadows.ShadowAppOpsManager
-
Like
ShadowAppOpsManager.unsafeCheckOpNoThrow(String, int, String)
but returns the raw mode associated with the op. - unselectTrack(int) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- unsetPreferredService(Activity) - Method in class org.robolectric.shadows.ShadowCardEmulation
- unsetTakeScreenshotErrorCode() - Method in class org.robolectric.shadows.ShadowAccessibilityService
-
Sets
AccessibilityService.takeScreenshot(int, Executor, TakeScreenshotCallback)
to start returning successful results again. - untag(Socket) - Method in class org.robolectric.shadows.ShadowSocketTagger
- untagSocket(Socket) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- update(long, T) - Method in class org.robolectric.res.android.NativeObjRegistry
-
Updates the native object for the given id.
- update(Uri, ContentValues, String, String[]) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- update(Uri, ContentValues, String, String[]) - Method in class org.robolectric.shadows.ShadowContentResolver
-
If a
ContentProvider
is registered for the givenUri
, itsContentProvider.update(Uri, ContentValues, String, String[])
method will be invoked. - update(CacheResponse, HttpURLConnection) - Method in interface org.robolectric.fakes.RoboExtendedResponseCache
-
Updates stored HTTP headers using a hit on a conditional GET.
- updateAppWidget(int[], RemoteViews) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- updateAppWidget(int, RemoteViews) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Simulates updating an
AppWidget
with a new set of views - updateAppWidget(RemoteViews) - Method in class org.robolectric.shadows.ShadowAppWidgetHostView
- updateAppWidgetOptions(int, Bundle) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Update the locally cached appWidgetOptions Bundle.
- updateAutomaticZenRule(String, AutomaticZenRule) - Method in class org.robolectric.shadows.ShadowNotificationManager
- updateCameraCallback(CameraDevice, CameraDevice.StateCallback, Handler, Executor) - Method in class org.robolectric.shadows.ShadowCameraManager
- updateConfiguration(Configuration, DisplayMetrics, CompatibilityInfo) - Method in class org.robolectric.shadows.ShadowResources
- updateConfiguration(Resources) - Static method in class org.robolectric.android.Bootstrap
-
internal only
- updateDisplayResources(Configuration, DisplayMetrics) - Static method in class org.robolectric.android.Bootstrap
-
internal only
- updateIntentVerificationStatusAsUser(String, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- updateModes(SQLiteMode.Mode) - Method in class org.robolectric.internal.AndroidSandbox
- updateNetwork(WifiConfiguration) - Method in class org.robolectric.shadows.ShadowWifiManager
-
Adds or updates a network which can later be retrieved with
ShadowWifiManager.getWifiConfiguration(int)
method. - updatePermissionFlags(String, String, int, int, UserHandle) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
This method differs from the real implementation in that no permission checking or package existent checks are performed here.
- updateRuleSet(RuleSet, IntentSender) - Method in class org.robolectric.shadows.ShadowAppIntegrityManager
-
Overrides the implementation of the
updateRuleSet
method so that a copy of the pushed rule set is kept within the shadow class. - updateSessionAppIcon(int, Bitmap) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- updateSessionAppLabel(int, CharSequence) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- updateShortcuts(List<ShortcutInfo>) - Method in class org.robolectric.shadows.ShadowShortcutManager
- updateShortcutVisibility(String, byte[], boolean) - Method in class org.robolectric.shadows.ShadowShortcutManager
-
No-op on Robolectric.
- updateTile() - Method in class org.robolectric.shadows.ShadowTile
- updateTimeZoneConfiguration(TimeZoneConfiguration) - Method in class org.robolectric.shadows.ShadowTimeManager
- updateWifiUsabilityScore(int, int, int) - Method in class org.robolectric.shadows.ShadowWifiManager
- uptimeMillis() - Static method in class org.robolectric.shadows.ShadowLegacySystemClock
- uptimeMillis() - Static method in class org.robolectric.shadows.ShadowPausedSystemClock
- urHeight - Variable in class org.robolectric.shadows.RoundRectangle
- uri - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- uri - Variable in class org.robolectric.shadows.ShadowContentResolver.NotifiedUri
- UriRegexMatcher(String, String) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRegexMatcher
- UriRequestMatcher(String) - Constructor for class org.robolectric.shadows.httpclient.FakeHttpLayer.UriRequestMatcher
- UrlResourceProvider - Class in org.robolectric.internal.bytecode
-
ResourceProvider using URLs.
- UrlResourceProvider(URL...) - Constructor for class org.robolectric.internal.bytecode.UrlResourceProvider
- urWidth - Variable in class org.robolectric.shadows.RoundRectangle
- UsageSessionObserver() - Constructor for class org.robolectric.shadows.ShadowUsageStatsManager.UsageSessionObserver
- usageSessionObserversById - Static variable in class org.robolectric.shadows.ShadowUsageStatsManager
- useCenter - Variable in class org.robolectric.shadows.ShadowCanvas.ArcPaintHistoryEvent
- useInMemoryDatabase - Static variable in class org.robolectric.shadows.ShadowSQLiteConnection
- useLegacy() - Static method in class org.robolectric.shadows.ShadowAssetManager
-
Deprecated.Avoid use.
- useLegacyResources() - Static method in class org.robolectric.RuntimeEnvironment
-
Deprecated.Do not use.
- userLeaving() - Method in class org.robolectric.android.controller.ActivityController
- userTokenHandler - Variable in class org.robolectric.shadows.httpclient.DefaultRequestDirector
-
The user token handler.
- userTokenHandler - Variable in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- usesChronometer() - Method in class org.robolectric.shadows.ShadowNotification
- UsesSdk - Interface in org.robolectric.pluginapi
-
Represents the contents of a
uses-sdk
element in an Android manifest file. - UTF16 - org.robolectric.res.android.ResourceString.Type
- UTF8 - org.robolectric.res.android.ResourceString.Type
- UTF8_FLAG - Static variable in class org.robolectric.res.android.ResourceTypes.ResStringPool_header
- UTF8_FLAG - Static variable in class org.robolectric.res.android.ResStringPoolHeader
- Util - Class in org.robolectric.res.android
- Util - Class in org.robolectric.util
-
Generic collection of utility methods.
- Util() - Constructor for class org.robolectric.res.android.Util
- Util() - Constructor for class org.robolectric.util.Util
V
- v(String, String) - Static method in class org.robolectric.shadows.ShadowLog
- v(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
- val - Variable in class org.robolectric.util.ReflectionHelpers.ClassParameter
- val - Variable in class org.robolectric.util.ReflectionHelpers.StringParameter
- validate() - Method in class org.robolectric.shadows.ShadowDrawable
- validate(Class<? extends Annotation>, Annotation, int) - Static method in class org.robolectric.shadows.ShadowAnnotationValidations
-
Re-implement to avoid use of android-only Class.getPackageName$
- validateInputByteBuffer(ByteBuffer[], int) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Prevents calling Android-only methods on basic ByteBuffer objects.
- validateOutputByteBuffer(ByteBuffer[], int, MediaCodec.BufferInfo) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Prevents calling Android-only methods on basic ByteBuffer objects.
- validateServiceIntent(Intent) - Method in class org.robolectric.shadows.ShadowContextImpl
- validateSyncExtrasBundle(Bundle) - Static method in class org.robolectric.shadows.ShadowContentResolver
- Validator - Class in org.robolectric.annotation.processing.validator
-
Base class for validators.
- Validator(RobolectricModel.Builder, ProcessingEnvironment, String) - Constructor for class org.robolectric.annotation.processing.validator.Validator
- value - Variable in class org.robolectric.res.android.CppAssetManager2.ResolvedBag.Entry
- value - Variable in class org.robolectric.res.android.ResourceTable.flag_entry
- value - Variable in class org.robolectric.res.android.ResourceTypes.ResTable_map
- value - Variable in class org.robolectric.res.AttributeResource
- value() - Method in annotation type org.robolectric.annotation.ConscryptMode
- value() - Method in annotation type org.robolectric.annotation.experimental.LazyApplication
-
Whether or not the Application should be lazily loaded
- value() - Method in annotation type org.robolectric.annotation.GetInstallerPackageNameMode
- value() - Method in annotation type org.robolectric.annotation.Implements
-
The Android class to be shadowed.
- value() - Method in annotation type org.robolectric.annotation.LooperMode
-
Set the Looper mode.
- value() - Method in annotation type org.robolectric.annotation.SQLiteMode
- value() - Method in annotation type org.robolectric.annotation.TextLayoutMode
- value() - Method in annotation type org.robolectric.ParameterizedRobolectricTestRunner.Parameter
-
Method that returns the index of the parameter in the array returned by the method annotated by
Parameters
.
Index range must start at 0. - value() - Method in annotation type org.robolectric.util.inject.Supercedes
-
The type that is superceded by the annotated type.
- value() - Method in annotation type org.robolectric.util.reflector.Accessor
-
The name of the field.
- value() - Method in annotation type org.robolectric.util.reflector.ForType
- value() - Method in annotation type org.robolectric.util.reflector.WithType
-
The class name intended for this parameter.
- valueOf(String) - Static method in enum org.robolectric.android.DeviceConfig.ScreenSize
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.annotation.ConscryptMode.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.annotation.experimental.LazyApplication.LazyLoad
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.annotation.GetInstallerPackageNameMode.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.annotation.LooperMode.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.annotation.processing.validator.ImplementsValidator.SdkCheckMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.annotation.SQLiteMode.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.annotation.TextLayoutMode.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.fakes.RoboResponseSource
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.internal.bytecode.MethodCallSite.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.internal.ResourcesMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.res.android.Asset.AccessMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.res.android.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.res.android.ResourceString.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.res.android.ResTable_config.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.res.ResType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.shadows.ShadowMediaPlayer.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.shadows.ShadowPath.Point.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.shadows.ShadowUserManager.UserState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.robolectric.util.Scheduler.IdleState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.robolectric.android.DeviceConfig.ScreenSize
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.annotation.ConscryptMode.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.annotation.experimental.LazyApplication.LazyLoad
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.annotation.GetInstallerPackageNameMode.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.annotation.LooperMode.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.annotation.processing.validator.ImplementsValidator.SdkCheckMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.annotation.SQLiteMode.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.annotation.TextLayoutMode.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.fakes.RoboResponseSource
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.internal.bytecode.MethodCallSite.Kind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.internal.ResourcesMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.res.android.Asset.AccessMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.res.android.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.res.android.ResourceString.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.res.android.ResTable_config.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.res.ResType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.shadows.ShadowMediaPlayer.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.shadows.ShadowPath.Point.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.shadows.ShadowUserManager.UserState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.robolectric.util.Scheduler.IdleState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify() - Method in class org.robolectric.junit.rules.CloseGuardRule
- verifyCanAccessUser(UserHandle) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
- verifyDisplayHash(DisplayHash) - Method in class org.robolectric.shadows.ShadowDisplayHashManager
- verifyHasInteractAcrossProfilesPermission() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Ensure the current package has the permission to interact across profiles.
- verifyInputEvent(Object) - Method in class org.robolectric.shadows.ShadowInputManager
-
Provides a local java implementation, since the real implementation is in system server + native code.
- verifyIntentFilter(int, int, List<String>) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- verifyPendingInstall(int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- verifySupportedSdk(String) - Method in class org.robolectric.pluginapi.Sdk
-
Verify that the SDK is supported.
- verifySupportedSdk(String) - Method in class org.robolectric.plugins.DefaultSdkProvider.DefaultSdk
- vibrate(int, String, long) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(int, String, long[], int) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(int, String, long[], int, AudioAttributes) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(int, String, long, AudioAttributes) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(int, String, VibrationEffect, AudioAttributes) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(int, String, VibrationEffect, String, AudioAttributes) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(int, String, VibrationEffect, String, VibrationAttributes) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(long) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- vibrate(long[], int) - Method in class org.robolectric.shadows.ShadowSystemVibrator
- VibrationAttributesBuilder - Class in org.robolectric.shadows
-
Class to build
VibrationAttributes
- vibrationAttributesFromLastVibration - Variable in class org.robolectric.shadows.ShadowVibrator
- vibrationEffectSegments - Variable in class org.robolectric.shadows.ShadowVibrator
- viewReflector - Variable in class org.robolectric.shadows.ShadowView
- visible() - Method in class org.robolectric.android.controller.ActivityController
- visible() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- visit(Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visit(Element, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visit(AttributeResource) - Method in interface org.robolectric.res.StyleData.Visitor
- visit(ResName, Iterable<TypedResource>) - Method in interface org.robolectric.res.ResourceTable.Visitor
- visit(StyleData.Visitor) - Method in class org.robolectric.res.StyleData
- visitExecutable(ExecutableElement, Element) - Method in class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
- visitExecutable(ExecutableElement, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visitExecutable(ExecutableElement, TypeElement) - Method in class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
- visitExecutable(ExecutableElement, TypeElement) - Method in class org.robolectric.annotation.processing.validator.ImplementationValidator
- visitExecutable(ExecutableElement, TypeElement) - Method in class org.robolectric.annotation.processing.validator.ResetterValidator
- visitPackage(PackageElement, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visitType(TypeElement, Element) - Method in class org.robolectric.annotation.processing.validator.ImplementsValidator
- visitType(TypeElement, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visitTypeParameter(TypeParameterElement, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visitUnknown(Element, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visitVariable(VariableElement, Element) - Method in class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
- visitVariable(VariableElement, Element) - Method in class org.robolectric.annotation.processing.validator.Validator
- visitVariable(VariableElement, TypeElement) - Method in class org.robolectric.annotation.processing.validator.FoundOnImplementsValidator
- visitVariable(VariableElement, TypeElement) - Method in class org.robolectric.annotation.processing.validator.RealObjectValidator
- visualize(Bitmap) - Static method in class org.robolectric.shadows.ShadowBitmap
-
Returns a textual representation of the appearance of the object.
- visualize(Canvas) - Static method in class org.robolectric.shadows.ShadowCanvas
-
Returns a textual representation of the appearance of the object.
- visualize(View) - Static method in class org.robolectric.shadows.ShadowView
-
Returns a textual representation of the appearance of the object.
- VisualVoicemailSmsParams(String, int, String, PendingIntent) - Constructor for class org.robolectric.shadows.ShadowTelephonyManager.VisualVoicemailSmsParams
W
- w(String, String) - Static method in class org.robolectric.shadows.ShadowLog
- w(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
- w(String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
- waitForIdleSync() - Method in class org.robolectric.android.internal.RoboMonitoringInstrumentation
- warn(String, Object...) - Static method in class org.robolectric.util.Logger
-
Log a warning message.
- WARN - org.robolectric.annotation.processing.validator.ImplementsValidator.SdkCheckMode
- warnIfOpen() - Method in class org.robolectric.shadows.ShadowCloseGuard
- wasBugreportRequested() - Method in class org.robolectric.shadows.ShadowBugreportManager
- wasCancelCalled() - Method in class org.robolectric.shadows.ShadowSslErrorHandler
- wasCancelled() - Method in class org.robolectric.shadows.ShadowJsResult
- wasClearCacheCalled() - Method in class org.robolectric.shadows.ShadowWebView
- wasClearFormDataCalled() - Method in class org.robolectric.shadows.ShadowWebView
- wasClearFormDataCalled() - Method in class org.robolectric.shadows.ShadowWebViewDatabase
-
Returns
true
ifWebViewDatabase.clearFormData()
was called. - wasClearHistoryCalled() - Method in class org.robolectric.shadows.ShadowWebView
- wasClearViewCalled() - Method in class org.robolectric.shadows.ShadowWebView
- wasConfigurationSaved() - Method in class org.robolectric.shadows.ShadowWifiManager
- wasDestroyCalled() - Method in class org.robolectric.shadows.ShadowWebView
- wasInvalidated() - Method in class org.robolectric.shadows.ShadowDrawable
- wasInvalidated() - Method in class org.robolectric.shadows.ShadowView
- wasKilled(int) - Static method in class org.robolectric.shadows.ShadowProcess
-
Gets an indication of whether or not a process was killed (using
ShadowProcess.killProcess(int)
). - wasNotifyDataSetChangedCalled() - Method in class org.robolectric.shadows.ShadowBaseAdapter
- wasOnPauseCalled() - Method in class org.robolectric.shadows.ShadowWebView
- wasOnResumeCalled() - Method in class org.robolectric.shadows.ShadowWebView
- wasPackageEverHidden(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns
true
if the givenpackageName
was ever hidden. - wasPathPlayed(String) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Returns
true
if the given path was played. - wasProceedCalled() - Method in class org.robolectric.shadows.ShadowSslErrorHandler
- wasResourcePlayed(int) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Returns
true
if the given resource was played. - wasRun - Variable in class org.robolectric.util.TestRunnable
- wasSystemAppEnabled(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns
true
if the givenpackageName
was a system app and was enabled. - wentAsync() - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- WIDE_COLOR_GAMUT_ANY - Static variable in class org.robolectric.res.android.ResTable_config
- WIDE_COLOR_GAMUT_NO - Static variable in class org.robolectric.res.android.ResTable_config
- WIDE_COLOR_GAMUT_YES - Static variable in class org.robolectric.res.android.ResTable_config
- width - Variable in enum org.robolectric.android.DeviceConfig.ScreenSize
- width - Variable in class org.robolectric.shadows.RoundRectangle
- WifiUsabilityStatsEntryBuilder - Class in org.robolectric.shadows
-
Builder for
WifiUsabilityStatsEntry
. - WifiUsabilityStatsEntryBuilder() - Constructor for class org.robolectric.shadows.WifiUsabilityStatsEntryBuilder
- windowFocusChanged(boolean) - Method in class org.robolectric.android.controller.ActivityController
- windowFocusChanged(boolean) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- windowFocusChanged(boolean, boolean) - Method in interface org.robolectric.shadows.ShadowViewRootImpl.ViewRootImplReflector
- WindowIdHelper() - Constructor for class org.robolectric.shadows.ShadowView.WindowIdHelper
- windowToken - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord
- wipeData(int) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- withAppendedId(Uri, long) - Static method in class org.robolectric.shadows.ShadowContentUris
- withConfig(InstrumentationConfiguration.Builder, Config) - Method in class org.robolectric.config.AndroidConfigurer
- withData(int) - Method in class org.robolectric.res.android.ResourceTypes.Res_value
- withIntent(Intent) - Method in class org.robolectric.android.controller.ServiceController
-
Deprecated.Use the appropriate builder in
Robolectric
instead. This method will be removed in Robolectric 3.6. - withPackageName(String) - Method in class org.robolectric.res.ResName
- withPotentialTimeout(FrameworkMethod, Object, Statement) - Method in class org.robolectric.internal.SandboxTestRunner.HelperTestRunner
-
Disables JUnit's normal timeout mode strategy.
- withPotentialTimeout(FrameworkMethod, Object, Statement) - Method in class org.robolectric.internal.SandboxTestRunner
-
Disables JUnit's normal timeout mode strategy.
- withSdkVersion(int) - Method in class org.robolectric.res.android.ResTable_config
-
Returns a copy of this resource configuration with a different
ResTable_config.sdkVersion
, or this configuration if thesdkVersion
is the same. - withType(byte) - Method in class org.robolectric.res.android.ResourceTypes.Res_value
- WithType - Annotation Type in org.robolectric.util.reflector
-
Parameters with types that can't be resolved at compile time may be annotated @WithType.
- Wrapper(BroadcastReceiver, IntentFilter, Context, String, Handler, int) - Constructor for class org.robolectric.shadows.ShadowApplication.Wrapper
- write() - Method in class org.robolectric.res.android.ResourceTypes.ResXMLTree_attrExt.Writer
- write() - Method in class org.robolectric.res.android.ResourceTypes.ResXMLTree_endElementExt.Writer
- write(StatsEvent) - Static method in class org.robolectric.shadows.ShadowStatsLog
- write(ByteBuffer) - Method in class org.robolectric.res.android.ResourceTypes.ResStringPool_header.Writer
- write(ByteBuffer, int) - Static method in class org.robolectric.res.android.ResourceTypes.ResStringPool_ref
- write(ByteBuffer, int, int) - Static method in class org.robolectric.res.android.ResourceTypes.Res_value
- write(ByteBuffer, int, int) - Method in class org.robolectric.shadows.ShadowAudioTrack
-
Always return the number of bytes to write except with invalid parameters.
- write(ByteBuffer, int, Runnable) - Static method in class org.robolectric.res.android.ResourceTypes.ResXMLTree_node
- write(ByteBuffer, short, Runnable, Runnable) - Static method in class org.robolectric.res.android.ResourceTypes.ResChunk_header
- write(ByteBuffer, ResourceTypes.ResStringPool_header.Writer, Runnable) - Static method in class org.robolectric.res.android.ResourceTypes.ResXMLTree_header
- writeBlob(byte[], int, int) - Method in class org.robolectric.shadows.ShadowParcel
- writeByteArray(byte[], int, int) - Method in class org.robolectric.shadows.ShadowParcel
- writeCallToInitializing(MutableClass, RobolectricGeneratorAdapter) - Method in class org.robolectric.internal.bytecode.ClassInstrumentor
- writeEvent(int, float) - Static method in class org.robolectric.shadows.ShadowEventLog
-
Writes an event log message, returning an approximation of the bytes written.
- writeEvent(int, int) - Static method in class org.robolectric.shadows.ShadowEventLog
-
Writes an event log message, returning an approximation of the bytes written.
- writeEvent(int, long) - Static method in class org.robolectric.shadows.ShadowEventLog
-
Writes an event log message, returning an approximation of the bytes written.
- writeEvent(int, Object...) - Static method in class org.robolectric.shadows.ShadowEventLog
-
Writes an event log message, returning an approximation of the bytes written.
- writeEvent(int, String) - Static method in class org.robolectric.shadows.ShadowEventLog
-
Writes an event log message, returning an approximation of the bytes written.
- writeIncomingData(byte[]) - Method in class org.robolectric.shadows.ShadowUsbDeviceConnection
-
Passes data that can then be read by an initialized UsbRequest#queue(ByteBuffer).
- writePendingIntentOrNullToParcel(PendingIntent, Parcel) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- writePermission - Variable in class org.robolectric.manifest.PathPermissionData
- Writer() - Constructor for class org.robolectric.res.android.ResourceTypes.ResStringPool_header.Writer
- Writer(ByteBuffer, ResourceTypes.ResStringPool_header.Writer, String, String) - Constructor for class org.robolectric.res.android.ResourceTypes.ResXMLTree_attrExt.Writer
- Writer(ByteBuffer, ResourceTypes.ResStringPool_header.Writer, String, String) - Constructor for class org.robolectric.res.android.ResourceTypes.ResXMLTree_endElementExt.Writer
- writeRemoteMessage(String) - Method in class org.robolectric.shadows.ShadowCall.ShadowRttCall
-
Writes a message to the RttCall buffer.
- writeTo(OutputStream) - Method in class org.robolectric.shadows.httpclient.HttpEntityStub
- writeTo(OutputStream) - Method in class org.robolectric.shadows.httpclient.TestHttpResponse.TestHttpEntity
- writeTo(ResTable_config) - Method in class org.robolectric.res.android.ConfigDescription.LocaleValue
- writeToParcel(Parcel, int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- writeToParcel(Parcel, int) - Method in class org.robolectric.shadows.ShadowBitmap
- writeToParcel(Parcel, int) - Method in class org.robolectric.shadows.ShadowPendingIntent
- writeToParcel(Parcel, int) - Method in class org.robolectric.shadows.ShadowSigningInfo
- writeToParcel(Parcel, int) - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- writeToStream(Bitmap, Bitmap.CompressFormat, int, OutputStream) - Static method in class org.robolectric.shadows.ImageUtil
- wtf(String, String) - Static method in class org.robolectric.shadows.ShadowLog
- wtf(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
X
- x - Variable in class org.robolectric.shadows.RoundRectangle
- x - Variable in class org.robolectric.shadows.ShadowCanvas.TextHistoryEvent
- x - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord
- xlarge - org.robolectric.android.DeviceConfig.ScreenSize
- XmlAttributeFinder(ResXMLParser) - Constructor for class org.robolectric.res.android.AttributeResolution.XmlAttributeFinder
- XmlBlock - Class in org.robolectric.res.builder
-
An XML block is a parsed representation of a resource XML file.
- XmlContext - Class in org.robolectric.res
- XmlContext(String, Path, Qualifiers) - Constructor for class org.robolectric.res.XmlContext
- XmlResourceParserImpl - Class in org.robolectric.android
-
Concrete implementation of the
XmlResourceParser
. - XmlResourceParserImpl(Document, String, String, String, ResourceTable) - Constructor for class org.robolectric.android.XmlResourceParserImpl
-
Deprecated.
- XmlResourceParserImpl(Document, Path, String, String, ResourceTable) - Constructor for class org.robolectric.android.XmlResourceParserImpl
Y
- y - Variable in class org.robolectric.shadows.RoundRectangle
- y - Variable in class org.robolectric.shadows.ShadowCanvas.TextHistoryEvent
- y - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord
Z
- z - Variable in class org.robolectric.shadows.ShadowWallpaperManager.WallpaperCommandRecord
- ZipArchiveHandle - Class in org.robolectric.res.android
- ZipArchiveHandle(ZipFile, ImmutableMap<String, Long>) - Constructor for class org.robolectric.res.android.ZipArchiveHandle
- ZipFileRO - Class in org.robolectric.res.android
_
- __constructor__() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- __constructor__() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- __constructor__() - Method in class org.robolectric.shadows.ShadowCamera
- __constructor__() - Method in class org.robolectric.shadows.ShadowColorDisplayManager
- __constructor__() - Method in class org.robolectric.shadows.ShadowImeTracingClientImpl
- __constructor__() - Method in class org.robolectric.shadows.ShadowInCallService
- __constructor__() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- __constructor__() - Method in class org.robolectric.shadows.ShadowMediaCodec.ShadowCodecBuffer
- __constructor__() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- __constructor__() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- __constructor__() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- __constructor__() - Method in class org.robolectric.shadows.ShadowPathParser.ShadowPathData
- __constructor__() - Method in class org.robolectric.shadows.ShadowResources.ShadowNotFoundException
- __constructor__() - Method in class org.robolectric.shadows.ShadowTime
- __constructor__(boolean) - Method in class org.robolectric.shadows.ShadowArscAssetManager10
-
Used for the creation of system assets.
- __constructor__(boolean) - Method in class org.robolectric.shadows.ShadowArscAssetManager9
-
Used for the creation of system assets.
- __constructor__(boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- __constructor__(boolean) - Method in class org.robolectric.shadows.ShadowLegacyLooper
- __constructor__(boolean) - Method in class org.robolectric.shadows.ShadowPausedLooper
- __constructor__(boolean) - Method in class org.robolectric.shadows.ShadowPausedMessageQueue
- __constructor__(float) - Method in class org.robolectric.shadows.ShadowCornerPathEffect
- __constructor__(float, float, float, float, int, int, Shader.TileMode) - Method in class org.robolectric.shadows.ShadowLinearGradient
- __constructor__(int) - Method in class org.robolectric.shadows.ShadowContentProviderResult
- __constructor__(int) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
- __constructor__(int) - Method in class org.robolectric.shadows.ShadowTypeface
- __constructor__(int, PorterDuff.Mode) - Method in class org.robolectric.shadows.ShadowPorterDuffColorFilter
- __constructor__(long) - Method in class org.robolectric.shadows.ShadowTypeface
- __constructor__(long, long) - Method in class org.robolectric.shadows.ShadowCountDownTimer
- __constructor__(BluetoothAdapter) - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
- __constructor__(IBluetoothManager) - Method in class org.robolectric.shadows.ShadowBluetoothLeAdvertiser
- __constructor__(ContentResolver) - Method in class org.robolectric.shadows.ShadowAsyncQueryHandler
- __constructor__(Context) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- __constructor__(Context) - Method in class org.robolectric.shadows.ShadowBackupManager
- __constructor__(Context) - Method in class org.robolectric.shadows.ShadowDisplayManager
- __constructor__(Context) - Method in class org.robolectric.shadows.ShadowLegacyAsyncTaskLoader
- __constructor__(Context) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
- __constructor__(Context) - Method in class org.robolectric.shadows.ShadowToast
- __constructor__(Context, boolean) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- __constructor__(Context, int) - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- __constructor__(Context, int, DatePickerDialog.OnDateSetListener, Calendar, int, int, int) - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- __constructor__(Context, IAccountManager) - Method in class org.robolectric.shadows.ShadowAccountManager
- __constructor__(Context, IDevicePolicyManager) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- __constructor__(Context, ICrossProfileApps) - Method in class org.robolectric.shadows.ShadowCrossProfileApps
- __constructor__(Context, Handler) - Method in class org.robolectric.shadows.ShadowActivityManager
- __constructor__(Context, Handler) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- __constructor__(Context, Handler) - Method in class org.robolectric.shadows.ShadowSliceManager
- __constructor__(Context, IUserManager) - Method in class org.robolectric.shadows.ShadowUserManager
- __constructor__(Context, TextToSpeech.OnInitListener, String, String, boolean) - Method in class org.robolectric.shadows.ShadowTextToSpeech
- __constructor__(Context, AttributeSet, int) - Method in class org.robolectric.shadows.ShadowView
- __constructor__(Context, AttributeSet, int, int) - Method in class org.robolectric.shadows.ShadowView
- __constructor__(Context, GestureDetector.OnGestureListener, Handler) - Method in class org.robolectric.shadows.ShadowGestureDetector
- __constructor__(Context, ScaleGestureDetector.OnScaleGestureListener) - Method in class org.robolectric.shadows.ShadowScaleGestureDetector
- __constructor__(Context, IAppOpsService) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- __constructor__(Context, IAppWidgetService) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- __constructor__(Context, String) - Method in class org.robolectric.shadows.ShadowMediaSession
- __constructor__(Cursor) - Method in class org.robolectric.shadows.ShadowCursorWrapper
- __constructor__(Bitmap) - Method in class org.robolectric.shadows.ShadowCanvas
- __constructor__(Matrix) - Method in class org.robolectric.shadows.ShadowMatrix
- __constructor__(Paint) - Method in class org.robolectric.shadows.ShadowPaint
- __constructor__(Path) - Method in class org.robolectric.shadows.ShadowPath
- __constructor__(Path, boolean) - Method in class org.robolectric.shadows.ShadowPathMeasure
- __constructor__(Picture) - Method in class org.robolectric.shadows.ShadowPicture
- __constructor__(Rect, View) - Method in class org.robolectric.shadows.ShadowTouchDelegate
- __constructor__(SurfaceTexture) - Method in class org.robolectric.shadows.ShadowSurface
- __constructor__(Camera, int, int) - Method in class org.robolectric.shadows.ShadowCamera.ShadowSize
- __constructor__(IDisplayManager) - Method in class org.robolectric.shadows.ShadowDisplayManagerGlobal
- __constructor__(Uri) - Method in class org.robolectric.shadows.ShadowContentProviderResult
- __constructor__(Tag) - Method in class org.robolectric.shadows.ShadowIsoDep
- __constructor__(ParcelFileDescriptor) - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- __constructor__(Time) - Method in class org.robolectric.shadows.ShadowTime
- __constructor__(PathParser.PathData) - Method in class org.robolectric.shadows.ShadowPathParser.ShadowPathData
- __constructor__(View) - Method in class org.robolectric.shadows.ShadowZoomButtonsController
- __constructor__(String) - Method in class org.robolectric.shadows.ShadowPathParser.ShadowPathData
- __constructor__(String) - Method in class org.robolectric.shadows.ShadowResources.ShadowNotFoundException
- __constructor__(String) - Method in class org.robolectric.shadows.ShadowStatFs
- __constructor__(String) - Method in class org.robolectric.shadows.ShadowTime
- __constructor__(String, boolean, boolean) - Method in class org.robolectric.shadows.ShadowMediaCodec
- __constructor__(String, boolean, boolean, boolean) - Method in class org.robolectric.shadows.ShadowLegacyApkAssets
- __constructor__(String, int) - Method in class org.robolectric.shadows.ShadowFileObserver
- __constructor__(String, int) - Method in class org.robolectric.shadows.ShadowMediaMuxer
-
Opens a FileOutputStream for the given path, and sets muxer state.
- __constructor__(String, InputStreamReader, OutputStreamWriter, int, InCallAdapter) - Method in class org.robolectric.shadows.ShadowCall.ShadowRttCall
- __constructor__(List<File>, int) - Method in class org.robolectric.shadows.ShadowFileObserver
- __constructor__(Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- __constructor__(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectHandler, AuthenticationHandler, AuthenticationHandler, UserTokenHandler, HttpParams) - Method in class org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowAppOpsManager
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowDebug
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowMediaPlayer
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowMediaRecorder
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowNetworkInfo
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowPendingIntent
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowStatsLog
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowStrictModeVmPolicy
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowTypeface
- __staticInitializer__() - Static method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- _Activity_ - Interface in org.robolectric.shadows
-
Accessor interface for
Activity
's internals. - _pause() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates
MediaPlayer._pause()
. - _play(int, float, float, int, int, float) - Method in class org.robolectric.shadows.ShadowSoundPool
- _release() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates call to
MediaPlayer._release()
. - _reset() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates call to
MediaPlayer._reset()
. - _stop() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Simulates call to
MediaPlayer.release()
.
All Classes|All Packages