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
A
- abandon() - Method in class org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
- abandonAudioFocus(AudioManager.OnAudioFocusChangeListener) - Method in class org.robolectric.shadows.ShadowAudioManager
- abandonAudioFocusRequest(AudioFocusRequest) - Method in class org.robolectric.shadows.ShadowAudioManager
-
Provides a mock like interface for the abandonAudioFocusRequest method by storing the request object for later inspection and returning the value specified in setNextFocusRequestResponse.
- abandonSession(int) - Method in class org.robolectric.shadows.ShadowPackageInstaller
- abortAnimation() - Method in class org.robolectric.shadows.ShadowScroller
- 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
BluetoothDeviceis offered viaShadowBluetoothServerSocket.deviceConnected(BluetoothDevice)method or timeout occurred. - acceptCookie() - Method in class android.webkit.RoboCookieManager
- acceptRingingCall() - Method in class org.robolectric.shadows.ShadowTelecomManager
- acceptThirdPartyCookies(WebView) - Method in class android.webkit.RoboCookieManager
- 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.
- 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
- addAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- addAccessibilityStateChangeListener(AccessibilityManager.AccessibilityStateChangeListener, Handler) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- addAccount(Account) - Method in class org.robolectric.shadows.ShadowAccountManager
- addAccount(Account, String...) - Method in class org.robolectric.shadows.ShadowAccountManager
-
Adds an account to the AccountManager but when
AccountManager.getAccountsByTypeForPackage(String, String)is called will be included if is in one of the #visibileToPackages - addAccount(String, String, String[], Bundle, Activity, AccountManagerCallback<Bundle>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
- addAccountExplicitly(Account, String, Bundle) - Method in class org.robolectric.shadows.ShadowAccountManager
- addAction(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- addAction(AccessibilityNodeInfo.AccessibilityAction) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- addActiveNotification(StatusBarNotification) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Adds the given
StatusBarNotificationto the list of active Notifications. - addActiveNotification(String, int, Notification) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Adds the given
Notificationto the list of active Notifications. - addActivity(UserHandle, LauncherActivityInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Adds a
LauncherActivityInfoto 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
GnssStatusbeing 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 - 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
- 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
- addAudioDataListener(ShadowAudioTrack.OnAudioDataWrittenListener) - Static method in class org.robolectric.shadows.ShadowAudioTrack
-
Registers an
ShadowAudioTrack.OnAudioDataWrittenListenerto theShadowAudioTrack. - addAuthenticator(AuthenticatorDescription) - Method in class org.robolectric.shadows.ShadowAccountManager
- addAuthenticator(String) - Method in class org.robolectric.shadows.ShadowAccountManager
- 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
- 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.CameraInfoobject 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
capabilityto the NetworkCapabilities. - addCaptioningChangeListener(CaptioningManager.CaptioningChangeListener) - Method in class org.robolectric.shadows.ShadowCaptioningManager
- addChangedPackage(int, String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds
packageNameto 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
- addCodec(MediaCodecInfo) - Static method in class org.robolectric.shadows.ShadowMediaCodecList
-
Add a
MediaCodecInfoto the list of MediaCodecInfos. - 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
MediaControllerthat 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.
- 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
- 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(). - 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.OnClickListenerto theShadowView. - addGlobalPerformLongClickListener(View.OnLongClickListener) - Static method in class org.robolectric.shadows.ShadowView
-
Registers an
View.OnLongClickListenerto theShadowView. - addGpsStatusListener(GpsStatus.Listener) - Method in class org.robolectric.shadows.ShadowLocationManager
- 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). - 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.
- 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
- addJavascriptInterface(Object, String) - Method in class org.robolectric.shadows.ShadowWebView
- addLanguageAvailability(Locale) - Static method in class org.robolectric.shadows.ShadowTextToSpeech
-
Makes
Localean 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.MediaInfofor 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
- 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
networkto the list of allNetworks. - 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
- 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
- addPendingBackup(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Adds pending backup.
- 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
- addPersistentPreferredActivity(ComponentName, IntentFilter, ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- addPort(String) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Adds a USB port with given ID to UsbManager.
- addPort(String, int, int, int, int) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Adds a USB port with given ID and
UsbPortStatusparameters 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
- 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
GnssStatusbeing built. - addScaledFrame(DataSource, long, int, int, Bitmap) - Static method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- addSensor(int, Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
-
Deprecated.Use
ShadowSensor.newInstance(int)to construct yourSensorand add to theSensorManagerusingShadowSensorManager.addSensor(Sensor)instead. This method will be removed at some point allowing us to use more of the realSensorManagercode. - addSensor(Sensor) - Method in class org.robolectric.shadows.ShadowSensorManager
-
Adds a
Sensorto theSensorManager - 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.
- addShortcutConfigActivity(UserHandle, LauncherActivityInfo) - Method in class org.robolectric.shadows.ShadowLauncherApps
-
Adds a
LauncherActivityInfoto be retrieved byShadowLauncherApps.getShortcutConfigActivityList(String, UserHandle). - addSnapshottedUser(int) - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Adds snapshotted user.
- addState(int[], Drawable) - Method in class org.robolectric.shadows.ShadowStateListDrawable
- addState(int, int) - 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
StorageVolumeto the list returned byShadowStorageManager.getStorageVolumes(). - addStringResource(String, int, String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Adds a String resource with
resIdcorresponding 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
userHandleto 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
UsageStatsobject, 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
Voicean 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, 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(Duration) - Static method in class org.robolectric.shadows.ShadowSystemClock
-
A convenience method for advancing the clock via
SystemClock.setCurrentTimeMillis(long) - after(Time) - Method in class org.robolectric.shadows.ShadowTime
- 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
- android.media - package android.media
- android.webkit - package android.webkit
- appendDescription(String) - Method in class org.robolectric.shadows.ShadowBitmap
- appendDescription(String) - Method in class org.robolectric.shadows.ShadowCanvas
- 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 - Static variable in class org.robolectric.RuntimeEnvironment
-
Deprecated.Please migrate to
androidx.test.core.app.ApplicationProvider#getApplicationContext - apply() - Method in class org.robolectric.shadows.ShadowSharedPreferences.ShadowSharedPreferencesEditorImpl
- 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, 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
- 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
- areNotificationsEnabled() - Method in class org.robolectric.shadows.ShadowNotificationManager
- areThereUnrecycledNodes(boolean) - Static method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Check for leaked objects that were
obtained but neverrecycled. - areThereUnrecycledWindows(boolean) - Static method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
-
Check for leaked objects that were
obtained but neverrecycled. - ArscBase() - Constructor for class org.robolectric.shadows.ShadowAssetManager.ArscBase
- 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
- 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
- AsyncTraceSection() - Constructor for class org.robolectric.shadows.ShadowTrace.AsyncTraceSection
- atomId() - Method in class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
- 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
- ATTRIBUTE_TYPE_PRECIDENCE - Static variable in class org.robolectric.shadows.ShadowLegacyAssetManager
- attributeSet - Variable in class org.robolectric.shadows.ShadowView
- 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.
- 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.
- BackupAgentController<T extends BackupAgent> - Class in org.robolectric.android.controller
- BaseCursor - Class in org.robolectric.fakes
-
Deprecated.Use
MatrixCursorinstead. - 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
- 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
- bind() - Method in class org.robolectric.android.controller.IntentServiceController
- bind() - Method in class org.robolectric.android.controller.ServiceController
- 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
Bundlewith it. - 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, 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
- 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
- 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
- buffer - Variable in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- buffer - Variable in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- build() - Method in class org.robolectric.shadows.AppWidgetProviderInfoBuilder
- build() - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- 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
GnssStatusfrom 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
ModuleInfowith the data that was given. - build() - Method in class org.robolectric.shadows.NrQosSessionAttributesBuilder
- build() - Method in class org.robolectric.shadows.PackageRollbackInfoBuilder
-
Returns a
PackageRollbackInfowith 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.RollbackInfoBuilder
-
Returns a
RollbackInfowith the data that was given. - build() - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- build() - Method in class org.robolectric.shadows.ShadowEventLog.EventBuilder
- build() - Method in class org.robolectric.shadows.ShadowRangingResult.Builder
- build() - Method in class org.robolectric.shadows.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.WifiUsabilityStatsEntryBuilder
- 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
- builder() - Static method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.
- 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(int, MacAddress, long, int) - Constructor for class org.robolectric.shadows.ShadowRangingResult.Builder
- buildEvent() - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- buildExternalStorageAppCacheDirs(String) - Static method in class org.robolectric.shadows.ShadowEnvironment
- buildFrom(GnssStatusBuilder.GnssSatelliteInfo...) - Static method in class org.robolectric.shadows.GnssStatusBuilder
-
Deprecated.Convenience method to create a
GnssStatusdirectly from known satellite info. - 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
ContentProvideris registered for the givenUri, itsContentProvider.bulkInsert(Uri, ContentValues[])method will be invoked. - bundle - Variable in class org.robolectric.shadows.ShadowTelecomManager.CallRecord
-
Deprecated.Use
ShadowTelecomManager.CallRecord.extrasinstead. - 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
- 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(String, String, Bundle) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- 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.
- callDispatchResized() - Method in class org.robolectric.shadows.ShadowViewRootImpl
- callGetThemeResId() - Method in class org.robolectric.shadows.ShadowContextThemeWrapper
- 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
- 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.
- canAddCall() - Method in class org.robolectric.shadows.ShadowInCallService
- canAuthenticate() - 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(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
- canOpenPopup() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
trueby default, or the value specified viaShadowUserManager.setCanSwitchUser(boolean). - 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
- castNativePtr(long) - Static method in class org.robolectric.RuntimeEnvironment
- ceil(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
- centerX - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
- centerY - Variable in class org.robolectric.shadows.ShadowCanvas.CirclePaintHistoryEvent
- changeDisplay(int, String) - Static method in class org.robolectric.shadows.ShadowDisplayManager
-
Changes properties of a simulated display.
- checkActivities(boolean) - Method in class org.robolectric.shadows.ShadowApplication
-
Set to true if you'd like Robolectric to strictly simulate the real Android behavior when calling
Context.startActivity(android.content.Intent). - checkBluetoothAddress(String) - Static method in class org.robolectric.shadows.ShadowBluetoothAdapter
-
Validate a Bluetooth address, such as "00:43:A8:23:10:F0" Alphabetic characters must be uppercase to be valid.
- checkCallingOrSelfPermission(String) - Method in class org.robolectric.shadows.ShadowContextImpl
- checkCallingPermission(String) - Method in class org.robolectric.shadows.ShadowContextImpl
- checkedPerformClick() - Method in class org.robolectric.shadows.ShadowView
-
Deprecated.- Please use Espresso for View interactions.
- checkIfCameraClosedOrInError() - Method in class org.robolectric.shadows.ShadowCameraDeviceImpl
- 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 aSecurityExceptionit 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
- 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
- CLASS_NAME - Static variable in class org.robolectric.shadows.ShadowContextImpl
- ClassNameResolver<T> - Class in org.robolectric.shadows
- ClassNameResolver() - Constructor for class org.robolectric.shadows.ClassNameResolver
- clear() - Method in class org.robolectric.fakes.RoboMenu
- 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
- clearAccounts() - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Deprecated.
- clearAccountsForPackage(String) - Method in class org.robolectric.shadows.ShadowTelecomManager
- clearAll() - Static method in class org.robolectric.shadows.ShadowEventLog
- clearAllNetworks() - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Clears the list of all
Networks. - clearAnimation() - Method in class org.robolectric.shadows.ShadowView
- 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).
- 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.
- 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
- 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
- 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
- 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
Intents started byContextWrapper.startActivity(android.content.Intent). - clearNextStartedActivities() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Clears all records of
ShadowCrossProfileApps.StartedActivitys from calls toCrossProfileApps.startActivity(ComponentName, UserHandle)orCrossProfileApps.startMainActivity(ComponentName, UserHandle),ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity),ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity, Bundle). - 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
- 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
subIdtophoneTypemappings. - 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.Wrappers for registered receivers - clearSeedAccountData() - Method in class org.robolectric.shadows.ShadowUserManager
- clearSource() - Static method in class org.robolectric.shadows.ShadowAudioRecord
-
Resets
ShadowAudioRecord.AudioRecordSourceto 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
Intentstarted 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
- 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. - 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
Dialogitem 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.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.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.ShadowContextHubClient
- close() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- close() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- close() - Method in class org.robolectric.shadows.ShadowLegacyAssetInputStream
- close() - Method in class org.robolectric.shadows.ShadowMemoryMappedFile
- close() - Method in class org.robolectric.shadows.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(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.
- 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. - CodecConfig(int, int, ShadowMediaCodec.CodecConfig.Codec) - Constructor for class org.robolectric.shadows.ShadowMediaCodec.CodecConfig
- collapseActionView() - Method in class org.robolectric.fakes.RoboMenuItem
- colorMode - Variable in class org.robolectric.android.internal.DisplayConfig
-
The active color mode.
- columnNames - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- 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(ShadowAlarmManager.ScheduledAlarm) - Method in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- compileTimeSystemResourcesFile - Static variable in class org.robolectric.RuntimeEnvironment
- component - Variable in class org.robolectric.android.controller.ComponentController
- ComponentController<C extends ComponentController<C,T>,T> - Class in org.robolectric.android.controller
- ComponentController(T) - Constructor for class org.robolectric.android.controller.ComponentController
- ComponentController(T, Intent) - Constructor for class org.robolectric.android.controller.ComponentController
- ComponentState(int, int) - Constructor for class org.robolectric.shadows.ShadowPackageManager.ComponentState
- compress(Bitmap.CompressFormat, int, OutputStream) - Method in class org.robolectric.shadows.ShadowBitmap
- computeBounds(RectF, boolean) - Method in class org.robolectric.shadows.ShadowPath
- computeCurrentVelocity(int) - Method in class org.robolectric.shadows.ShadowVelocityTracker
- computeCurrentVelocity(int, float) - Method in class org.robolectric.shadows.ShadowVelocityTracker
- computeScrollOffset() - Method in class org.robolectric.shadows.ShadowScroller
- configurationChange() - Method in class org.robolectric.android.controller.ActivityController
-
Applies the current system configuration to the Activity.
- configurationChange(Configuration) - Method in class org.robolectric.android.controller.ActivityController
-
Performs a configuration change on the Activity.
- ConfigurationV25 - Class in org.robolectric.android
- ConfigurationV25() - Constructor for class org.robolectric.android.ConfigurationV25
- 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
- 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
- consumeBatchedInputEvents(long) - Method in class org.robolectric.shadows.ShadowInputEventReceiver
- contains(double, double) - Method in class org.robolectric.shadows.RoundRectangle
- contains(double, double, double, double) - Method in class org.robolectric.shadows.RoundRectangle
- ContentProviderController<T extends ContentProvider> - Class in org.robolectric.android.controller
- context - Variable in class org.robolectric.shadows.ShadowApplication.Wrapper
- 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
- 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
- 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
- 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
ContentProviderusingProviderInfofound 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(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
Bundleand 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
ContentProviderusing 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
Bundleand adds the fragment to it. - create(String) - Method in class org.robolectric.android.controller.ContentProviderController
-
Create and register
ContentProviderusingProviderInfofound from manifest. - 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(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_
- 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(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
- 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. - createDateIntervalFormat(String, String, String) - Static method in class org.robolectric.shadows.ShadowDateIntervalFormat
- createdCameras - Static variable in class org.robolectric.shadows.ShadowCameraManager
- createDirectChannel(MemoryFile) - Method in class org.robolectric.shadows.ShadowSensorManager
- createForCardId(int) - Method in class org.robolectric.shadows.ShadowEuiccManager
- createForPhoneAccountHandle(PhoneAccountHandle) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
nullby 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
nullby 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
- createFromResourceStream(Resources, TypedValue, InputStream, String, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowDrawable
- 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. - createImmutableFrameworkIdmapsInZygote() - Method in class org.robolectric.shadows.ShadowOverlayConfig
- 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. - 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.
- createManageBlockedNumbersIntent() - Method in class org.robolectric.shadows.ShadowTelecomManager
-
Returns the intent set by
ShadowTelecomManager.setManageBlockNumbersIntent(Intent)()} - 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
- createPackage(AndroidManifest) - Static method in class org.robolectric.shadows.LegacyManifestParser
- createPathFromPathData(String) - Static method in class org.robolectric.shadows.ShadowPathParser
- createPipe() - Static method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- createProfile(String, String, Set<String>) - Method in class org.robolectric.shadows.ShadowUserManager
- createRealProperties(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int) - Method in class org.robolectric.shadows.ShadowLocationManager
- 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
SensorEventwith the given value array size, which the caller should set based on the type ofSensorwhich is being emulated. - createSensorEvent(int, int) - Static method in class org.robolectric.shadows.ShadowSensorManager
-
Creates a
SensorEventfor the givenSensortype 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. - createTheme() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- createUnderlyingTypeface(String, int) - Static method in class org.robolectric.shadows.ShadowTypeface
- createView(Context, int, AppWidgetProviderInfo) - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- createWidget(Class<? extends AppWidgetProvider>, int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Creates a widget by inflating its layout.
- createWidgets(Class<? extends AppWidgetProvider>, int, int) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Creates a bunch of widgets by inflating the same layout multiple times.
- createWifiLock(int, String) - Method in class org.robolectric.shadows.ShadowWifiManager
- createWifiLock(String) - Method in class org.robolectric.shadows.ShadowWifiManager
- CREATOR - Static variable in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- CREATOR - Static variable in class org.robolectric.shadows.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
- currentApplication() - Static method in class org.robolectric.shadows.ShadowActivityThread
- 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
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.shadows.ShadowWebView.LoadData
- data - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
- 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 - deactivate() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- deactivate() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- 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
- 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
- decodeStream(InputStream) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- decodeStream(InputStream, Rect, BitmapFactory.Options) - Static method in class org.robolectric.shadows.ShadowBitmapFactory
- deepEquals(Object) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- 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_MAX_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
- DEFAULT_MIN_BUFFER_SIZE - Static variable in class org.robolectric.shadows.ShadowAudioTrack
- DEFAULT_SCREEN_SIZE - Static variable in class org.robolectric.android.DeviceConfig
- 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_VOLUME - Static variable in class org.robolectric.shadows.ShadowAudioManager
- defaultModeId - Variable in class org.robolectric.android.internal.DisplayConfig
-
The default display mode.
- defineEntityReplacementText(String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
- delete() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- delete(Uri, String, String[]) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- delete(Uri, String, String[]) - Method in class org.robolectric.shadows.ShadowContentResolver
-
If a
ContentProvideris 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
ModuleInfobe 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
- 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.
- describeContents() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- describeContents() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- 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
- 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
- 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
BluetoothSocketfor the given device and makes this socket available immediately in theShadowBluetoothServerSocket.accept(int)method. - deviceHasKeys(int, int[]) - Method in class org.robolectric.shadows.ShadowInputManager
- didClearCacheIncludeDiskFiles() - Method in class org.robolectric.shadows.ShadowWebView
- didRequestLayout() - Method in class org.robolectric.shadows.ShadowView
- 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
- 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
- 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(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
- 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
- doNotUseSetCrashOnIncorrectUsage(boolean) - Static method in class org.robolectric.shadows.ShadowTrace
-
Do not use this method unless absolutely necessary.
- 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
- 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
- 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
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
- ellipsize(CharSequence, TextPaint, float, TextUtils.TruncateAt) - Static method in class org.robolectric.shadows.ShadowTextUtils
- EMULATE - org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
- 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
- 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
- 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.
- enforcePermissionChecks(boolean) - Method in class org.robolectric.shadows.ShadowUserManager
- enqueue(DownloadManager.Request) - Method in class org.robolectric.shadows.ShadowDownloadManager
- enqueue(JobInfo, JobWorkItem) - Method in class org.robolectric.shadows.ShadowJobScheduler
- enqueue(JobInfo, JobWorkItem) - Method in class org.robolectric.shadows.ShadowJobScheduler.ShadowJobSchedulerImpl
- enqueueMessage(Message, long) - Method in class org.robolectric.shadows.ShadowLegacyMessageQueue
- ensureProviderCreated() - Method in class org.robolectric.shadows.ShadowWebView
- ensureStringBlocks() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- enterPictureInPictureMode() - Method in class org.robolectric.shadows.ShadowActivity
- enterPictureInPictureMode(PictureInPictureParams) - Method in class org.robolectric.shadows.ShadowActivity
- 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.shadows.ShadowAccessibilityNodeInfo
-
Equality check based on reference equality of the Views from which these instances were created, or the equality of their assigned IDs.
- equals(Object) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
- equals(Object) - Method in class org.robolectric.shadows.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.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.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.util.DataSource
- equals(DisplayConfig) - Method in class org.robolectric.android.internal.DisplayConfig
- eraseColor(int) - Method in class org.robolectric.shadows.ShadowBitmap
- ERROR - org.robolectric.shadows.ShadowMediaPlayer.State
- errorCode() - Method in class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
- evaluateJavascript(String, ValueCallback<String>) - Method in class org.robolectric.shadows.ShadowWebView
- 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
- exceptionPackages - Variable in class org.robolectric.shadows.ShadowAppOpsManager.ModeAndException
- execStartActivities(Context, IBinder, IBinder, Activity, Intent[], Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- 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 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.shadows.ShadowInstrumentation
-
Behaves as {@link #execStartActivity(Context, IBinder, IBinder, String, Intent, int, Bundle).
- execStartActivityFromAppTask(Context, IBinder, Object, Intent, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- execute(Runnable) - Method in class org.robolectric.android.util.concurrent.InlineExecutorService
- execute(Runnable) - Method in class org.robolectric.android.util.concurrent.PausedExecutorService
- execute(Runnable) - Method in class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- 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. - existingInstances - Static variable in class org.robolectric.shadows.ShadowImsMmTelManager
- expandActionView() - Method in class org.robolectric.fakes.RoboMenuItem
- extendVerificationTimeout(int, int, long) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- 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. - FakeSurfaceHolder() - Constructor for class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- familyName - Variable in class org.robolectric.shadows.ShadowTypeface.FontDesc
- fetchUuidsWithSdp() - Method in class org.robolectric.shadows.ShadowBluetoothDevice
-
Overrides behavior of
BluetoothDevice.fetchUuidsWithSdp(). - fillBounds(RectF) - Method in class org.robolectric.shadows.ShadowPath
-
Fills the given
RectFwith 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.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
- findAddress(String) - Static method in class org.robolectric.shadows.ShadowWebView
- findIndexOfItemContainingText(String) - Method in class org.robolectric.shadows.ShadowAdapterView
- 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
- findViewById(int) - Method in class org.robolectric.shadows.ShadowActivity
-
Checks to ensure that the
contentViewhas been set - finish() - Method in class org.robolectric.shadows.ShadowActivity
- finish() - Method in class org.robolectric.shadows.ShadowBroadcastPendingResult
- 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
- 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.
- FLAG_ADMIN - Static variable in class org.robolectric.shadows.ShadowUserManager
- FLAG_DEMO - Static variable in class org.robolectric.shadows.ShadowUserManager
- 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.ShadowPackageManager.ComponentState
- flagsMask - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- flagsValues - Variable in class org.robolectric.shadows.ShadowActivity.IntentSenderRequest
- floor(float) - Static method in class org.robolectric.shadows.ShadowFloatMath
- flush() - Method in class android.webkit.RoboCookieManager
- flush() - Method in class org.robolectric.shadows.ShadowAudioTrack
- 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
- format(String) - Method in class org.robolectric.shadows.ShadowTime
- 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
- 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.
- 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
- 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.shadows.ShadowFontFamily
- 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
- FromColor() - Constructor for class org.robolectric.shadows.Converter.FromColor
- FromColor() - Constructor for class org.robolectric.shadows.Converter2.FromColor
- fromEvent(UsageEvents.Event) - Static method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- FromFilePath() - Constructor for class org.robolectric.shadows.Converter.FromFilePath
- 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
G
- generateAudioSessionId() - Method in class org.robolectric.shadows.ShadowAudioManager
-
Provides a mock like interface for the
AudioManager.generateAudioSessionId()method by returning positive distinct values, orAudioManager.ERRORif all possible values have already been returned. - 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.shadows.Provider
- get() - Method in class org.robolectric.shadows.ShadowLegacyAsyncTask
- 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(Context) - Static method in class org.robolectric.shadows.ShadowAccountManager
-
Deprecated.This method will be removed in Robolectric 3.4 Use
AccountManager.get(Context)instead. - get(Context) - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- get(CameraCharacteristics.Key<T>) - Method in class org.robolectric.shadows.ShadowCameraCharacteristics
- get(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(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(DataSource) - Method in interface org.robolectric.shadows.ShadowMediaPlayer.MediaInfoProvider
- getAcceptThirdPartyCookies() - Method in class org.robolectric.fakes.RoboWebSettings
- getAccessibilityServiceList() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- getAccessoryList() - Method in class org.robolectric.shadows.ShadowUsbManager
- getAccounts() - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountsByType(String) - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountsByTypeAndFeatures(String, String[], AccountManagerCallback<Account[]>, Handler) - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountsByTypeForPackage(String, String) - Method in class org.robolectric.shadows.ShadowAccountManager
- getAccountTypesWithManagementDisabled() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getActionList() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getActionProvider() - Method in class org.robolectric.fakes.RoboMenuItem
- getActions() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Obtain flags for actions supported.
- getActionView() - Method in class org.robolectric.fakes.RoboMenuItem
- getActiveAdmins() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getActiveLockCount() - Method in class org.robolectric.shadows.ShadowWifiManager
-
Returns the number of WifiLocks and MulticastLocks that are currently acquired.
- getActiveNetwork() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getActiveNetworkInfo() - Method in class org.robolectric.shadows.ShadowConnectivityManager
- getActiveNotifications() - Method in class org.robolectric.shadows.ShadowNotificationManager
- getActiveNotifications(String[], int) - Method in class org.robolectric.shadows.ShadowNotificationListenerService
-
Returns zero or more notifications, added by
ShadowNotificationListenerService.addActiveNotification(java.lang.String, int, android.app.Notification), that match one of the provided keys. - getActivePlaybackConfigurations() - Method in class org.robolectric.shadows.ShadowAudioManager
- getActiveProjectionTypes() - Method in class org.robolectric.shadows.ShadowUIModeManager
- getActiveRecordingConfigurations() - Method in class org.robolectric.shadows.ShadowAudioManager
-
Returns list of active recording configurations that was set by
ShadowAudioManager.setActiveRecordingConfigurations(java.util.List<android.media.AudioRecordingConfiguration>, boolean)or empty list otherwise. - getActiveScans() - Method in class org.robolectric.shadows.ShadowBluetoothLeScanner
-
Returns all
ShadowBluetoothLeScanner.ScanParamss representing active scans. - getActiveScorerPackage() - Method in class org.robolectric.shadows.ShadowNetworkScoreManager
- getActiveSessions(ComponentName) - Method in class org.robolectric.shadows.ShadowMediaSessionManager
- getActiveSubscriptionIdList() - Method in class org.robolectric.shadows.ShadowSubscriptionManager
-
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
SubscriptionInfothat 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
SubscriptionInfothat 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
- getActivityIcon(ComponentName) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getActivityInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getActivityList(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- getActivityThread() - Static method in class org.robolectric.RuntimeEnvironment
- getActivityToken() - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- getActualRepeatCount() - Method in class org.robolectric.shadows.ShadowValueAnimator
-
Returns the value that was set as the repeat count.
- getAdapter() - Method in class org.robolectric.shadows.ShadowAlertController
- getAdapter() - Method in class org.robolectric.shadows.ShadowAlertDialog
- getAdapter() - Method in class org.robolectric.shadows.ShadowBluetoothManager
- 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
- 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
- getAllCellInfo() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- 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.
- 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
- getAllSessions() - Method in class org.robolectric.shadows.ShadowPackageInstaller
- getAllStartedServices() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns all
Intentstarted by#startService(android.content.Intent)without consuming them. - getAllUnknownCalls() - Method in class org.robolectric.shadows.ShadowTelecomManager
- getAlpha() - Method in class org.robolectric.shadows.ShadowDrawable
- getAlpha() - Method in class org.robolectric.shadows.ShadowPaint
- getAlpha() - Method in class org.robolectric.shadows.ShadowRenderNode
- getAlpha() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- getAlphabeticShortcut() - Method in class org.robolectric.fakes.RoboMenuItem
- getAlwaysRecreateViewsDuringUpdate() - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- getAnchor() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getAndroidFrameworkJarPath() - Static method in class org.robolectric.RuntimeEnvironment
- getApiLevel() - Static method in class org.robolectric.RuntimeEnvironment
- getApkContentsSigners() - Method in class org.robolectric.shadows.ShadowSigningInfo
- getAppCacheEnabled() - Method in class org.robolectric.fakes.RoboWebSettings
- getAppCacheMaxSize() - Method in class org.robolectric.fakes.RoboWebSettings
- getAppCachePath() - Method in class org.robolectric.fakes.RoboWebSettings
- getApplication() - Static method in class org.robolectric.RuntimeEnvironment
-
Get a reference to the
Applicationunder test. - getApplication() - Method in class org.robolectric.shadows.ShadowActivityThread
- 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
- 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
packageNamein 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
- 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.AppTaskset 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
- getAssetAllocations() - Static method in class org.robolectric.shadows.ShadowArscAssetManager10
- getAssetAllocations() - Static method in class org.robolectric.shadows.ShadowArscAssetManager9
- 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
- getAssetPath() - Method in class org.robolectric.shadows.ShadowLegacyApkAssets
- 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
- 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
Intentinstances passed intoVoiceInteractionSession.startAssistantActivity(Intent)in invocation order. - getAttribute(String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
- 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
- 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
- getAttributeNameResource(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeNamespace(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributePrefix(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeResourceValue(int, int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeResourceValue(String, String, int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeType(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeUnsignedIntValue(int, int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeUnsignedIntValue(String, String, int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeValue(int) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttributeValue(String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
- getAttrTypeData(ResName) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getAudioChannels() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getAudioEffects() - Static method in class org.robolectric.shadows.ShadowAudioEffect
-
Returns all effects created with an
AudioEffectconstructor. - 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
AudioEffectctor. - getAudioSessionId() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getAudioSource() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- getAuthenticatorTypes() - Method in class org.robolectric.shadows.ShadowAccountManager
- 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
- 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
SubscriptionInfothat were set viaShadowSubscriptionManager.setAvailableSubscriptionInfoList(java.util.List<android.telephony.SubscriptionInfo>). - getAzimuth() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
azimuthof the satellite, in degrees. - getBackgroundColor() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the
Colorint 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() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.use
org.robolectric.Robolectric#getBackgroundThreadScheduler() - getBatteryDischargePrediction() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns the current battery life remaining estimate.
- 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
Bitmapassociated 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
BluetoothGattobjects 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
- 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
- getBoundsInParent(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getBoundsInScreen(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getBoundsInScreen(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- 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
- getBuffer(boolean, int) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Returns the input or output buffer corresponding to the given index, or null if invalid.
- getBuffers(boolean) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Returns the shadow buffers used for input or output.
- 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
- getByteCount() - Method in class org.robolectric.shadows.ShadowBitmap
- getBytesPerPixel(Bitmap.Config) - Static method in class org.robolectric.shadows.ShadowBitmap
- getCacheMode() - Method in class org.robolectric.fakes.RoboWebSettings
- getCalendar() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- getCallAudioState() - Method in class org.robolectric.shadows.ShadowInCallService
- getCallAudioState() - Method in class org.robolectric.shadows.ShadowPhone
- 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
- 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
PersistableBundleby default, or the value specified viaShadowTelephonyManager.setCarrierConfig(PersistableBundle). - getCarrierFrequencyHz() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
carrier frequencyof 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
- 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
- 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
- getCirclePaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getClassAttribute() - Method in class org.robolectric.android.XmlResourceParserImpl
- getClassLoader() - Method in class org.robolectric.shadows.ShadowContextImpl
- getClassLoader() - Method in class org.robolectric.shadows.ShadowLoadedApk
- getClassName() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- 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 densityof the satellite. - getCollectionInfo() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getCollectionItemInfo() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getColor() - Method in class org.robolectric.shadows.ShadowPaint
- getColor() - Method in class org.robolectric.shadows.ShadowPorterDuffColorFilter
- getColor(String) - Static method in class org.robolectric.shadows.ResourceHelper
-
Returns the color value represented by the given string value
- getColor0() - Method in class org.robolectric.shadows.ShadowLinearGradient
- getColor1() - Method in class org.robolectric.shadows.ShadowLinearGradient
- getColorFilter() - Method in class org.robolectric.shadows.ShadowPaint
- getColorType(String) - Static method in class org.robolectric.shadows.ResourceHelper
-
Returns the TypedValue color type represented by the given string value
- getColumnCount() - Method in class org.robolectric.fakes.BaseCursor
-
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
- getCompileTimeResourceTable() - Static method in class org.robolectric.RuntimeEnvironment
- getCompileTimeResTable() - Method in class org.robolectric.shadows.ShadowAssetManager.ArscBase
-
Deprecated.Avoid use.
- 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.shadows.ShadowBitmap
- getConfigForSubId(int) - Method in class org.robolectric.shadows.ShadowCarrierConfigManager
-
Returns
PersistableBundlepreviously set by#setConfigForSubId(int), or default values for an invalidsubId. - getConfigOverrides() - Method in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- getConfiguredApplicationClass() - Static method in class org.robolectric.RuntimeEnvironment
- getConfiguredNetworks() - Method in class org.robolectric.shadows.ShadowWifiManager
- getConnectedDevices() - Method in class org.robolectric.shadows.ShadowBluetoothA2dp
- getConnectedDevices() - Method in class org.robolectric.shadows.ShadowBluetoothHeadset
-
Overrides behavior of
ShadowBluetoothHeadset.getConnectedDevices(). - getConnectionInfo() - Method in class org.robolectric.shadows.ShadowWifiManager
- getConnectionManager() - Method in class org.robolectric.shadows.ShadowTelecomManager
- 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 constellationof the satellite. - getContentAsIntent() - Method in class org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- getContentDescription() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getContentInfo() - Method in class org.robolectric.shadows.ShadowNotification
- 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.
- getContentResolver() - Method in class org.robolectric.shadows.ShadowContextImpl
- getContentText() - Method in class org.robolectric.shadows.ShadowNotification
- getContentTitle() - Method in class org.robolectric.shadows.ShadowNotification
- 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.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
ContextHubInfos. - 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.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
-
trueif 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
-
InputStreamfrom 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. - getCreatorPackage() - Method in class org.robolectric.shadows.ShadowPendingIntent
- getCurrentActivity() - Method in class org.robolectric.shadows.ShadowActivityGroup
- getCurrentAsyncSections() - Static method in class org.robolectric.shadows.ShadowTrace
-
Returns a set of all the current active async trace sections.
- getCurrentFocus() - Method in class org.robolectric.shadows.ShadowActivity
- getCurrentInputMethodSubtype() - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Returns the
InputMethodSubtypethat 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
Localeset usingTextToSpeech.setLanguage(Locale)or null if not set. - getCurrentListenerHints() - Method in class org.robolectric.shadows.ShadowNotificationListenerService
- 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
getCurrentRuleSetProvidermethod 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
getCurrentRuleSetVersionmethod 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
- 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.
- 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
Voiceset 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.
- getCurrX() - Method in class org.robolectric.shadows.ShadowScroller
- getCurrY() - Method in class org.robolectric.shadows.ShadowScroller
- getCursiveFontFamily() - Method in class org.robolectric.fakes.RoboWebSettings
- getCustomTitleView() - Method in class org.robolectric.shadows.ShadowAlertController
- getCustomTitleView() - Method in class org.robolectric.shadows.ShadowAlertDialog
- getCustomView() - Method in class org.robolectric.shadows.ShadowAlertDialog
- getData() - Method in class org.robolectric.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_UNKNOWNif 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
-1by 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 realPackageManagerthe calling context must haveManifest.permission.DELETE_PACKAGESpermission 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.shadows.ShadowBitmap
- getDescription() - Method in class org.robolectric.shadows.ShadowCanvas
- getDescription() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getDescription() - Method in class org.robolectric.shadows.ShadowMatrix
- getDestination() - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- getDestinationAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
- getDestinationAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.TextMultipartParams
- getDestinationAddress() - Method in class org.robolectric.shadows.ShadowSmsManager.TextSmsParams
- getDestinationPort() - Method in class org.robolectric.shadows.ShadowSmsManager.DataMessageParams
- getDetailedState() - Method in class org.robolectric.shadows.ShadowNetworkInfo
- getDevice() - Method in class org.robolectric.shadows.ShadowInputEvent
- 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
nullby 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
- 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
nullifShadowSuspendDialogInfo.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
notifyDirectActionsChangedwas called on theVoiceInteractorinstance 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
- 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.
- 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
setDistractingPackageRestrictionsforpkg. - 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
DownloadListenerset 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.
- getDrawingOrder() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Returns the drawing order of the view corresponding to this node.
- getDrawnArc(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnCircle(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnLine(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnOval(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnPaint() - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnPath(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnPathPaint(int) - Method in class org.robolectric.shadows.ShadowCanvas
- getDrawnRect(int) - Method in class org.robolectric.shadows.ShadowCanvas
- 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.ShadowScroller
- getDuration() - Method in class org.robolectric.shadows.ShadowToast
- getDuration() - Method in class org.robolectric.shadows.ShadowVideoView
- getDurationRaw() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the current duration without doing the state checking that the emulated version does.
- 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
- getElevation() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets the
elevationof 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
InputMethodInfothat are enabled. - getEnabledProfiles() - Method in class org.robolectric.shadows.ShadowUserManager
- getEnrolledFingerprints() - Method in class org.robolectric.shadows.ShadowFingerprintManager
- getError() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getErrorListener() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- 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
- getFactory() - Static method in class org.robolectric.shadows.ShadowWebView
- getFadingEdgeLength() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- 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
- getFields() - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- getFileDescriptor() - Method in class org.robolectric.shadows.ShadowParcelFileDescriptor
- getFillEventHistory() - Method in class org.robolectric.shadows.ShadowAutofillManager
- getFillType() - Method in class org.robolectric.shadows.ShadowPath
- getFilters() - Method in class org.robolectric.shadows.ShadowNfcAdapter
- getFinalX() - Method in class org.robolectric.shadows.ShadowScroller
- getFinalY() - Method in class org.robolectric.shadows.ShadowScroller
- getFingerprintId(int) - Method in class org.robolectric.shadows.ShadowFingerprintManager
- 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
- 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() - Method in class org.robolectric.shadows.ShadowApplication
-
Deprecated.use
org.robolectric.Robolectric#getForegroundThreadScheduler() - getFrameAtTime(long, int) - Method in class org.robolectric.shadows.ShadowMediaMetadataRetriever
- getFrameInterval() - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Return the current inter-frame interval.
- getFrameInterval() - Static method in class org.robolectric.shadows.ShadowLegacyChoreographer
-
Return the current inter-frame interval.
- getFrameTimeNanos() - Method in class org.robolectric.shadows.ShadowLegacyChoreographer
- getFreeBlocks() - Method in class org.robolectric.shadows.ShadowStatFs
- getFreeBlocksLong() - Method in class org.robolectric.shadows.ShadowStatFs
- getFreeBytes() - Method in class org.robolectric.shadows.ShadowStatFs
- 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) - 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
- getGlobalVisibleRect(Rect, Point) - Method in class org.robolectric.shadows.ShadowView
- 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
- getGravity() - Method in class org.robolectric.shadows.ShadowLinearLayout
- getGravity() - Method in class org.robolectric.shadows.ShadowToast
- getGroupId() - Method in class org.robolectric.fakes.RoboMenuItem
- getGroupIdLevel1() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getGroupInfoListener() - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- getHandler() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the
Handlerobject 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
- 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.ShadowPicture
- getHistoricalProcessExitReasons(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Returns the matched
ApplicationExitInfoadded 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.shadows.ShadowAppWidgetHostView
- getHostId() - Method in class org.robolectric.shadows.ShadowAppWidgetHost
- getHourOfDay() - Method in class org.robolectric.shadows.ShadowTimePickerDialog
- 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.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
- 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
- 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
- getImportance() - Method in class org.robolectric.shadows.ShadowNotificationManager
- 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
InputMethodInfothat are installed. - getInputStream() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
- getInputStream() - Method in class org.robolectric.shadows.ShadowDrawable
- getInputStreamFeeder() - Method in class org.robolectric.shadows.ShadowBluetoothSocket
-
Returns
PipedOutputStreamthat controls input stream of theBluetoothSocket. - getInputType() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- 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(Context) - Static method in class org.robolectric.shadows.ShadowAccessibilityManager
- getInstance(Context) - Static method in class org.robolectric.shadows.ShadowWebViewDatabase
- getInstrumentation() - Static method in class org.robolectric.shadows.ShadowInstrumentation
- getInstrumentationInfo(ComponentName, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- 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
Classobject set byIntent.setClass(android.content.Context, Class) - getIntentFilter() - Method in class org.robolectric.shadows.ShadowApplication.Wrapper
- 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
- 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
- getInternalMutablePackageInfo(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Testing API allowing to retrieve internal package representation.
- getInternalResourceId(String) - Static method in class org.robolectric.shadows.ResourceHelper
- getIntProperty(int) - Method in class org.robolectric.shadows.ShadowBatteryManager
- getIntrinsicHeight() - Method in class org.robolectric.shadows.ShadowDrawable
- getIntrinsicWidth() - Method in class org.robolectric.shadows.ShadowDrawable
- 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.
- 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
- 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
- getJoin() - Method in class org.robolectric.shadows.ShadowPaint
- getJulianDay(long, long) - Static method in class org.robolectric.shadows.ShadowTime
- getJumpTapTimeout() - Static method in class org.robolectric.shadows.ShadowViewConfiguration
- getKeyboardType() - Method in class org.robolectric.shadows.ShadowKeyCharacterMap
- getKeyguardDisabledFeatures(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- getKeySetByAlias(String, String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getLabel() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
- getLabeledBy() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getLabelFor() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
Intentpassed intoVoiceInteractionSession.startAssistantActivity(Intent)ornullif there wasn't any. - getLastAudioFocusRequest() - Method in class org.robolectric.shadows.ShadowAudioManager
- getLastDownloadedMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- 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
- getLastForegroundNotification() - Method in class org.robolectric.shadows.ShadowService
- getLastForegroundNotificationId() - Method in class org.robolectric.shadows.ShadowService
- 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
Messagesent, ornullif 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). - 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
CallScreeningServicehas calledShadowCallScreeningService.respondToCall(android.telecom.Call.Details, android.telecom.CallScreeningService.CallResponse), returns the values of its parameters. - getLastScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- getLastScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowLooper
- getLastScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowPausedLooper
- getLastSentDataMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- getLastSentMultimediaMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- getLastSentMultipartTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- getLastSentTextMessageParams() - Method in class org.robolectric.shadows.ShadowSmsManager
- 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
- getLastSynthesizeToFileText() - Method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns last text
CharSequencepassed toTextToSpeech.synthesizeToFile(CharSequence, Bundle, File, String). - getLastTextToSpeechInstance() - Static method in class org.robolectric.shadows.ShadowTextToSpeech
-
Returns the most recently instantiated
TextToSpeechor 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
Intentpassed intoVoiceInteractionSession.startVoiceActivity(Intent)ornullif 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
- 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
- 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. - 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
- 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
- getLeftVolume() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the current setting for the left channel volume.
- getLeMaximumAdvertisingDataLength() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- 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.
- getLibClasspathResourceName() - Method in class org.robolectric.shadows.util.SQLiteLibraryLoader
- 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
- 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
SensorEventListeners registered on this SensorManager. - getListenersForFlags(int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getListeningChannel() - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- getLiveRegion() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getLoadedFromResourceId() - Method in class org.robolectric.shadows.ShadowLayoutAnimationController
- getLoadsImagesAutomatically() - Method in class org.robolectric.fakes.RoboWebSettings
- getLoadWithOverviewMode() - Method in class org.robolectric.fakes.RoboWebSettings
- getLocalContentProvider() - Method in class org.robolectric.shadows.ShadowContentProviderClient
- 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
- getLocationPowerSaveMode() - Method in class org.robolectric.shadows.ShadowPowerManager
-
Returns how location features should behave when battery saver is on.
- 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
- 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
- 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
- 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
- getMaxNumFocusAreas() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getMaxNumMeteringAreas() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- getMaxShortcutCountPerActivity() - Method in class org.robolectric.shadows.ShadowShortcutManager
- getMaxSupportedUsers() - Static method in class org.robolectric.shadows.ShadowUserManager
- getMaxTextLength() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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). - getMeteringAreas() - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- 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.ShadowRequest
- getMimeTypeFromExtension(String) - Method in class org.robolectric.shadows.ShadowMimeTypeMap
- 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
- 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
- getModuleInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getMonthOfYear() - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- getMovementGranularities() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getMoveStatus(int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- 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.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
- 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(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
- 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
- getNavDump() - Method in class org.robolectric.fakes.RoboWebSettings
- getNdefPushMessage() - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Returns last set NDEF message, or throws
IllegalStateExceptionif it was never set. - getNdefPushMessageCallback() - Method in class org.robolectric.shadows.ShadowNfcAdapter
-
Returns last registered callback, or
nullif 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
- 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
addAccountOptionspassed 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.shadows.ShadowLegacyLooper
- getNextScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowLooper
- getNextScheduledTaskTime() - Method in class org.robolectric.shadows.ShadowPausedLooper
- getNextStartedActivity() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Consumes the most recent
Intentstarted byContextWrapper.startActivity(android.content.Intent)and returns it. - getNextStartedActivity() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Consumes the most recent
ComponentName,UserHandlepair 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
Intenton the started activities for results stack. - getNextStartedActivityForResult() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Consumes the most recent
IntentForResultstarted 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
Intentstarted byContext.startService(android.content.Intent)and returns it. - getNextStoppedService() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Consumes the
Intentrequested 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
- 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.
- 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
- 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
- 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
- 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.
- getOriginalPendingResult() - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- getOriginalUrl() - Method in class org.robolectric.shadows.ShadowWebView
- getOutputFormat() - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Returns a default
MediaFormatif 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
PipedInputStreamthat 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
PackageManagertoApplicationPackageManager. - 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
- getPackageGids(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageGids(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageImportance(String) - Method in class org.robolectric.shadows.ShadowActivityManager
- getPackageInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageInfoAsUser(String, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getPackageInfoForTesting(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Deprecated.Use
ShadowPackageManager.getInternalMutablePackageInfo(java.lang.String)instead. It has better name. - getPackageManager() - Static method in class org.robolectric.shadows.ShadowActivityThread
- getPackageName() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
0if the package was not restored. - getPackageSetting(String) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Returns the current
ShadowPackageManager.PackageSettingofpackageName. - 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
- getPaintFlags() - Method in class org.robolectric.shadows.ShadowTextView
- 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. - 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.
- getParent() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getParent() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- getParent() - Method in class org.robolectric.shadows.ShadowActivity
- 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.shadows.ShadowBitmapDrawable
- getPath() - Method in interface org.robolectric.shadows.ShadowPackageParser._Package_
- getPathEffect() - Method in class org.robolectric.shadows.ShadowPaint
- getPathIterator(AffineTransform) - Method in class org.robolectric.shadows.RoundRectangle
- getPathPaintHistoryCount() - Method in class org.robolectric.shadows.ShadowCanvas
- getPathPlaybacks(String) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Return a list of calls to
playmade for the given path. - getPattern() - Method in class org.robolectric.shadows.ShadowVibrator
-
Returns the last vibration pattern.
- getPeakRms(Visualizer.MeasurementPeakRms) - Method in interface org.robolectric.shadows.ShadowVisualizer.VisualizerSource
- 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
- 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
- getPermissionGroupInfo(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- 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
- 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: -
pixelshas the same length as the number of pixels of the bitmap. - 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
- 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
UsbPortStatuscorresponding to theUsbPortwith givenportIdif 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.
- 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
ComponentNamecaptured 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
- getPriority() - Method in class org.robolectric.shadows.ShadowAudioEffect
-
Returns the priority set in the
AudioEffectctor. - 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
- getProcessId() - Method in class org.robolectric.shadows.ShadowEventLog.ShadowEvent
- 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_DISCONNECTEDif 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
Drawablethat 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
CharSequencethat 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
- getProvidedPackageNames() - Method in class org.robolectric.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
- getProviders(boolean) - Method in class org.robolectric.shadows.ShadowLocationManager
- getProviders(Criteria, boolean) - Method in class org.robolectric.shadows.ShadowLocationManager
- 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() - Static method in class org.robolectric.RuntimeEnvironment
-
Returns a qualifier string describing the current
Configurationof 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
- getRangeInfo() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- getRatingType() - Method in class org.robolectric.shadows.ShadowMediaController
-
Gets the rating type set via
ShadowMediaController.setRatingType(int). - getRealBitmap() - Method in class org.robolectric.shadows.ShadowBitmap
- 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
- 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.
- 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
- 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.AppUsageLimitObservers currently registered inUsageStatsManager. - getRegisteredAppUsageObservers() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Returns the
ShadowUsageStatsManager.AppUsageObservers currently registered inUsageStatsManager. - getRegisteredCallbackCount() - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- getRegisteredReceivers() - Method in class org.robolectric.shadows.ShadowApplication
- getRegisteredUsageSessionObservers() - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Returns the
ShadowUsageStatsManager.UsageSessionObservers currently registered inUsageStatsManager. - getReloadInvocations() - Method in class org.robolectric.shadows.ShadowWebView
-
Returns the number of times
android.webkit.WebView#reload()was invoked - 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
- 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.Use
ShadowLocationManager.getLocationUpdateListeners()instead. - getResId() - Method in class org.robolectric.shadows.ShadowIcon
- 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
- 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
- getResourceIdentifier(String, String, String) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceIdentifier(String, String, String) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceIdForState(int) - Method in class org.robolectric.shadows.ShadowStateListDrawable
- getResourceIntArray(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourceName(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourceName(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourcePackageName(int) - Method in class org.robolectric.shadows.ShadowArscAssetManager
- getResourcePackageName(int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getResourcePlaybacks(int) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Return a list of calls to
playmade for the given resource. - 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
- 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
- getRestrictBackgroundStatus() - Method in class org.robolectric.shadows.ShadowConnectivityManager
-
Gets the RESTRICT_BACKGROUND_STATUS value.
- getRestriction(int, int) - Method in class org.robolectric.shadows.ShadowAppOpsManager
- getResultCode() - Method in class org.robolectric.shadows.ShadowActivity
- getResultIntent() - Method in class org.robolectric.shadows.ShadowActivity
- getRightVolume() - Method in class org.robolectric.shadows.ShadowMediaPlayer
- getRingerMode() - Method in class org.robolectric.shadows.ShadowAudioManager
- 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
- getSampleTrackIndex() - Method in class org.robolectric.shadows.ShadowMediaExtractor
- getSamplingRate() - Method in interface org.robolectric.shadows.ShadowVisualizer.VisualizerSource
- 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). - 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
ScanCallbacks. - 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
Schedulerthat 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
Schedulerthat 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
- getScreenSize(Configuration) - Static method in class org.robolectric.android.DeviceConfig
- 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
- getSearchableInfo(ComponentName) - Method in class org.robolectric.shadows.ShadowSearchManager
- getSectionName() - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection
- 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
- 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). - 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
- 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.
- 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
- getServicesSystemSharedLibraryPackageName() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- getServiceState() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
nullby default or the value specified viaShadowTelephonyManager.setServiceState(ServiceState) - 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.
- getSettings() - Method in class org.robolectric.shadows.ShadowWebView
- getShader() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowColor() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowDx() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowDy() - Method in class org.robolectric.shadows.ShadowPaint
- getShadowMainLooper() - Static method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.Use
shadowOf({@link Looper#getMainLooper()})instead. - getShadowMap() - Method in class org.robolectric.Shadows
- getShadowPackageArchiveInfo(String, int) - Method in class org.robolectric.shadows.ShadowPackageManager
- getShadowPickerMap() - Method in class org.robolectric.Shadows
- getShadowRadius() - Method in class org.robolectric.shadows.ShadowPaint
- 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
- 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.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.
- 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
- getSignalStrength() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- getSigningCertificateHistory() - Method in class org.robolectric.shadows.ShadowSigningInfo
- getSigningKeySet(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- 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
- 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
- getSmoothScrolledPosition() - Method in class org.robolectric.shadows.ShadowAbsListView
-
Robolectric accessor for the last smoothScrolledPosition
- getSmscAddress() - Method in class org.robolectric.shadows.ShadowSmsManager
-
Returns
nullby 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
AccessibilityNodeInfoof the event source ornullif there is none. - getSource() - Method in class org.robolectric.shadows.ShadowBitmapDrawable
- getSourceResId() - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Retrieves the resource ID used in the call to
ShadowMediaPlayer.create(Context, int)(if any). - 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
- 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
- getStartX() - Method in class org.robolectric.shadows.ShadowScroller
- getStartY() - Method in class org.robolectric.shadows.ShadowScroller
- 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) - 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.
- 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
StorageVolumein 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(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
- 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
- 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
- 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
- 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
- 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
- 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 numberof the satellite. - 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
- 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
- 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
- getTargetPackage() - Method in class org.robolectric.shadows.ShadowPendingIntent
- getTargetUserProfiles() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns a list of
UserHandles currently accessible. - getTaskId() - Method in class org.robolectric.shadows.ShadowActivity
- getTaskInfo() - Method in class org.robolectric.shadows.ShadowAppTask
-
For tests, returns the
ActivityManager.RecentTaskInfoset 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
- 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(String, int, ApplicationInfo) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
-
Returns a user stored String resource with
resIdcorresponding 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
- getTextOfLatestToast() - Static method in class org.robolectric.shadows.ShadowToast
-
Returns the text of the most recently shown
Toast. - getTextSelectionEnd() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Gets the text selection end.
- getTextSelectionStart() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Gets the text selection start.
- getTextServicesLocale() - Method in class org.robolectric.shadows.ShadowTextView
- getTextSize() - 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 theRobolectricWiringTestwill 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. - getThemeValue(int, int, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- getThemeValue(long, int, TypedValue, boolean) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- 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.
- 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
- 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
nullif 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.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_
- 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
- 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
- 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
- getTypeface() - Method in class org.robolectric.shadows.ShadowPaint
- 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
- 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
- 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.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
- 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
- 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
- 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(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.
- getValues(float[]) - Method in class org.robolectric.shadows.ShadowMatrix
- 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
- 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
- getViewIdResourceName() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- getVisualVoicemailPackageName() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns the value set by
ShadowTelephonyManager.setVisualVoicemailPackageName(String). - getVoiceActivityIntents() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns the list of
Intentinstances passed intoVoiceInteractionSession.startVoiceActivity(Intent)in invocation order. - getVoiceMailAlphaTag() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
nullby default or the value specified viaShadowTelephonyManager.setVoiceMailAlphaTag(String). - getVoiceMailNumber() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
nullby 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
nullby 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_UNKNOWNif 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) - 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
- getWebViewClient() - Method in class org.robolectric.shadows.ShadowWebView
- 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.ShadowPaint
- getWidth() - Method in class org.robolectric.shadows.ShadowPicture
- 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
com.android.internal.policy.impl.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
- 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
- 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
- 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
- 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
- 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
- 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
- GnssSatelliteInfo() - Constructor for class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.
- GnssStatusBuilder - Class in org.robolectric.shadows
-
Deprecated.Use
GnssStatus.Builderinstead 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
- 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
H
- 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
- 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
- hasAmplitudeControl() - Method in class org.robolectric.shadows.ShadowSystemVibrator
- 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
falseby default, or the value specified viaShadowFingerprintManager.setHasEnrolledFingerprints(boolean). - 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() - Method in class org.robolectric.android.internal.DisplayConfig
- 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.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.util.DataSource
- 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
- hasOverlappingRendering() - Method in class org.robolectric.shadows.ShadowRenderNode
- hasOverlappingRendering() - Method in class org.robolectric.shadows.ShadowRenderNodeQ
- hasPastSigningCertificates() - Method in class org.robolectric.shadows.ShadowSigningInfo
- hasPermanentMenuKey() - Method in class org.robolectric.shadows.ShadowViewConfiguration
- hasPermission(UsbDevice) - Method in class org.robolectric.shadows.ShadowUsbManager
-
Returns true if the caller 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
- 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
- hasRespondedToRttRequest() - Method in class org.robolectric.shadows.ShadowCall
-
Determines whether respondToRttRequest() was called.
- hasSentRttRequest() - Method in class org.robolectric.shadows.ShadowCall
-
Determines whether sendRttRequest() was called.
- hasShortcutHostPermission() - Method in class org.robolectric.shadows.ShadowLauncherApps
- 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, UserHandle) - Method in class org.robolectric.shadows.ShadowUserManager
- hasVibrator() - Method in class org.robolectric.shadows.ShadowSystemVibrator
- hasVisibleItems() - Method in class org.robolectric.fakes.RoboMenu
- hdrCapabilities - Variable in class org.robolectric.android.internal.DisplayConfig
-
The display's HDR capabilities
- height - Variable in enum org.robolectric.android.DeviceConfig.ScreenSize
- height - Variable in class org.robolectric.shadows.RoundRectangle
- 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
- historyUrl - Variable in class org.robolectric.shadows.ShadowWebView.LoadDataWithBaseURL
- HSVToColor(int, float[]) - Static method in class org.robolectric.shadows.ShadowColor
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
- 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.shadows.ShadowLegacyLooper
- idleConstantly(boolean) - Method in class org.robolectric.shadows.ShadowLooper
- idleConstantly(boolean) - Method in class org.robolectric.shadows.ShadowPausedLooper
- 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
- 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
- IncomingCallRecord(PhoneAccountHandle, Bundle) - Constructor for class org.robolectric.shadows.ShadowTelecomManager.IncomingCallRecord
- 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
- 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
- initConstants() - Static method in class org.robolectric.shadows.ShadowLibcoreOsConstants
- initConstants() - Static method in class org.robolectric.shadows.ShadowOsConstants
- initialize(Context, Looper, WifiP2pManager.ChannelListener) - Method in class org.robolectric.shadows.ShadowWifiP2pManager
- INITIALIZED - org.robolectric.shadows.ShadowMediaPlayer.State
- initializeVoiceInteractor() - Method in class org.robolectric.shadows.ShadowActivity
-
Initializes the associated Activity with an
VoiceInteractorinstance. - initListener(PhoneStateListener, int) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- 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
- initTts() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- injectInputEvent(InputEvent, int) - Method in class org.robolectric.shadows.ShadowInputManager
- injectLocation(Location) - Method in class org.robolectric.shadows.ShadowLocationManager
- 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
ViewGroupby 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.
- insert(Uri, ContentValues) - Method in class org.robolectric.shadows.ShadowContentProviderClient
- insert(Uri, ContentValues) - Method in class org.robolectric.shadows.ShadowContentResolver
-
If a
ContentProvideris registered for the givenUri, itsContentProvider.insert(Uri, ContentValues)method will be invoked. - 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
PackageManageras 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
- 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
- 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
- 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
nodeFromandnodeToaccording to thefraction. - intersects(double, double, double, double) - Method in class org.robolectric.shadows.RoundRectangle
- interval - Variable in class org.robolectric.shadows.ShadowAlarmManager.ScheduledAlarm
- 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.
- invalidateSelf() - Method in class org.robolectric.shadows.ShadowDrawable
- invert(Matrix) - Method in class org.robolectric.shadows.ShadowMatrix
- 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.
- 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.
- 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
- 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
trueby default, or the value specified viaShadowAccessibilityManager.setAccessibilityButtonSupported(boolean). - isAccessibilityFocused() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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_MOBILEnetworks as metered. - isActivePasswordSufficient() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- isActiveService(Context, ComponentName) - Static method in class org.robolectric.shadows.ShadowVoiceInteractionService
- isActivityEnabled(ComponentName, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- isActivityIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
- 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
- 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
- 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(). - 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
- 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
- isBroadcastIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
- 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.
- 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
- isCheckable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isChecked() - Method in class org.robolectric.fakes.RoboMenuItem
- isChecked() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isClickable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isClosed() - Method in class org.robolectric.fakes.BaseCursor
-
Deprecated.
- isClosed() - Method in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- isClosed() - Method in class org.robolectric.shadows.ShadowCursorWrapper
- 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
- isContentInvalid() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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(). - 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
- 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
- isDismissable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isDither() - Method in class org.robolectric.shadows.ShadowPaint
- isDone() - Method in class org.robolectric.shadows.CachedPathIteratorFactory.CachedPathIterator
- isEditable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isEmergencyNumber(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- isEmpty() - Method in class org.robolectric.shadows.RoundRectangle
- isEmpty() - Method in class org.robolectric.shadows.ShadowPath
- isEmptyElementTag() - Method in class org.robolectric.android.XmlResourceParserImpl
- isEnabled() - Method in class org.robolectric.fakes.RoboMenuItem
- isEnabled() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- isEnabled() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.
- isEpoch(Time) - Static method in class org.robolectric.shadows.ShadowTime
- isExcludedFromRecents() - Method in class org.robolectric.shadows.ShadowAppTask
-
Returns true if task has been excluded from recents.
- 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
- isFileEncryptedNativeOrEmulated() - Static method in class org.robolectric.shadows.ShadowStorageManager
- isFinished() - Method in class org.robolectric.shadows.ShadowScroller
- 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
-
Deprecated.Use
Activity.isFinishing()instead. - isFinishing() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns whether the
VoiceInteractionSessionis in the process of being destroyed and finishing. - 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
- isFocusable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isFocused() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isFocused() - Method in class org.robolectric.shadows.ShadowAccessibilityWindowInfo
- isForegroundServiceIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
- isForegroundStopped() - Method in class org.robolectric.shadows.ShadowService
- isFullscreenMode() - Method in class org.robolectric.shadows.ShadowInputMethodManager
- isHardwareDetected() - Method in class org.robolectric.shadows.ShadowFingerprintManager
- 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
- isImportantForAccessibility() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.
- isInstantApp(String) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isInteractive() - Method in class org.robolectric.shadows.ShadowPowerManager
- 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. - 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. - isLightDeviceIdleMode() - Method in class org.robolectric.shadows.ShadowPowerManager
- isLinkedUser() - Method in class org.robolectric.shadows.ShadowUserManager
- isLoaded() - Method in class org.robolectric.shadows.util.SQLiteLibraryLoader
- 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
- isLongClickable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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_USERSpermission, throws aSecurityManagerexception. - 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_USERSpermission, throws aSecurityManagerexception. - isMicrophoneMute() - Method in class org.robolectric.shadows.ShadowAudioManager
- isMultiLine() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isMultipleAdvertisementSupported() - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- 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
falseby 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
- isNinePatchChunk(byte[]) - Static method in class org.robolectric.shadows.ShadowNinePatch
- isNotificationListenerAccessGranted(ComponentName) - Method in class org.robolectric.shadows.ShadowNotificationManager
- isNotificationPolicyAccessGranted() - Method in class org.robolectric.shadows.ShadowNotificationManager
- 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
- 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.
- 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
- isPassword() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isPasteable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isPaused() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- isPaused() - Method in class org.robolectric.shadows.ShadowLooper
- isPaused() - Method in class org.robolectric.shadows.ShadowPausedLooper
- 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
- 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
- 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)orfalseby default. - isRect(RectF) - Method in class org.robolectric.shadows.ShadowPath
- isRecycled() - Method in class org.robolectric.shadows.ShadowBitmap
- 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
- 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
setSupportedToRequestPinAppWidgetis called withtrue - isRequestPinShortcutSupported() - Method in class org.robolectric.shadows.ShadowShortcutManager
- isResetPasswordTokenActive(ComponentName) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- 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
- 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
- isScrollable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isSelected() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isServiceIntent() - Method in class org.robolectric.shadows.ShadowPendingIntent
- isSetWallpaperAllowed() - Method in class org.robolectric.shadows.ShadowWallpaperManager
- 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
trueif the default shutter sound is played when taking a picture. - isSignedBy(String, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isSignedByExactly(String, Object) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isSimplePath - Variable in class org.robolectric.shadows.ShadowPath
- isSmsCapable() - Method in class org.robolectric.shadows.ShadowTelephonyManager
- isSocketBound(FileDescriptor) - Method in class org.robolectric.shadows.ShadowNetwork
-
Checks if the
fileDescriptorwas previously bound to this network. - isSocketBound(DatagramSocket) - Method in class org.robolectric.shadows.ShadowNetwork
-
Checks if the
datagramSocketwas previously bound to this network. - isSocketBound(Socket) - Method in class org.robolectric.shadows.ShadowNetwork
-
Checks if the
socketwas previously bound to this network. - isSoftInputVisible() - Method in class org.robolectric.shadows.ShadowInputMethodManager
- isSpeakerphoneOn() - Method in class org.robolectric.shadows.ShadowAudioManager
- isStable() - Method in class org.robolectric.shadows.ShadowContentProviderClient
- isStopped() - Method in class org.robolectric.shadows.ShadowTextToSpeech
- isStoppedBySelf() - Method in class org.robolectric.shadows.ShadowService
- isStreamMute(int) - Method in class org.robolectric.shadows.ShadowAudioManager
- isSuspended() - Method in class org.robolectric.shadows.ShadowPackageManager.PackageSetting
- isSyncActive(Account, String) - Static method in class org.robolectric.shadows.ShadowContentResolver
- 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.
- isTextEntryKey() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isTextSelectionSetable() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isTouchExplorationEnabled() - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- isTtySupported() - Method in class org.robolectric.shadows.ShadowTelecomManager
- isUceSettingEnabled() - Method in class org.robolectric.shadows.ShadowRcsUceAdapter
-
Returns the value specified for the
subscriptionIdcorresponding to theRcsUceAdapterbyShadowRcsUceAdapter.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
- isUpgrade() - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- isUpToDate() - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- isUsedInFix() - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo
-
Deprecated.Gets whether the satellite
was used in the most recent position fix. - 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
- 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
- isValid() - Method in class org.robolectric.shadows.ShadowRenderNode
- isValidRingerMode(int) - Static method in class org.robolectric.shadows.ShadowAudioManager
- 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
- isVisibleToUser() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- isVoiceCapable() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Returns
trueby 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
nullby 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
VoiceInteractionSessionis currently showing. - isWindowVisible() - Method in class org.robolectric.shadows.ShadowVoiceInteractionSession
-
Returns whether the window from
VoiceInteractionSessionis currently visible. - isWiredHeadsetOn() - Method in class org.robolectric.shadows.ShadowAudioManager
- iterator() - Method in class org.robolectric.shadows.CachedPathIteratorFactory
J
- jobFinished(JobParameters, boolean) - Method in class org.robolectric.shadows.ShadowJobService
- 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
- Key(FileDescriptor, String, boolean, boolean, boolean) - Constructor for class org.robolectric.shadows.ShadowArscApkAssets9.Key
- 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.
L
- landscapeHeight - Variable in enum org.robolectric.android.DeviceConfig.ScreenSize
- landscapeWidth - Variable in enum org.robolectric.android.DeviceConfig.ScreenSize
- large - org.robolectric.android.DeviceConfig.ScreenSize
- largestNominalAppHeight - Variable in class org.robolectric.android.internal.DisplayConfig
-
The largest value of
DisplayConfig.appHeightthat 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.appWidththat 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. - 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
- lastSentMultimediaMessageParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- lastTextMultipartParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- lastTextSmsParams - Variable in class org.robolectric.shadows.ShadowSmsManager
- layerStack - Variable in class org.robolectric.android.internal.DisplayConfig
-
The surface flinger layer stack associated with this logical display.
- 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
- LegacyManifestParser - Class in org.robolectric.shadows
-
Creates a
PackageInfofrom aAndroidManifest - LegacyManifestParser() - Constructor for class org.robolectric.shadows.LegacyManifestParser
- levelToChar(int) - Static method in class org.robolectric.shadows.ShadowLog
- LINE_TO - org.robolectric.shadows.ShadowPath.Point.Type
- lineTo(float, float) - Method in class org.robolectric.shadows.ShadowPath
- 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
- listenUsingInsecureRfcommWithServiceRecord(String, UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- listenUsingRfcommWithServiceRecord(String, UUID) - Method in class org.robolectric.shadows.ShadowBluetoothAdapter
- 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, int) - Method in class org.robolectric.shadows.ShadowSoundPool
- 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
- 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
- loadLocationProviderConstructor() - Method in class org.robolectric.shadows.ShadowLocationManager
- 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
- 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
- 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
urlin 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
- locationUrl - Variable in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- lockCanvas() - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- lockCanvas(Rect) - Method in class org.robolectric.shadows.ShadowSurfaceView.FakeSurfaceHolder
- lockNow() - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
- 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
- loop - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- loop() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
- looperMode() - Static method in class org.robolectric.shadows.ShadowLooper
-
Return the current
LooperMode. - LooperShadowPicker<T> - Class in org.robolectric.shadows
- LooperShadowPicker(Class<? extends T>, Class<? extends T>) - Constructor for class org.robolectric.shadows.LooperShadowPicker
- 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
- makeInputDeviceNamed(String) - Static method in class org.robolectric.shadows.ShadowInputDevice
- 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_
- MANUAL - org.robolectric.shadows.ShadowTelecomManager.CallRequestMode
-
Do not automatically allow or deny any call requests.
- map(int, int, int) - Method in class org.robolectric.shadows.ShadowSharedMemory
-
Only works on
SharedMemoryinstances 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
- 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
- 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
- MATRIX - Static variable in class org.robolectric.shadows.ShadowMatrix
- MAX_ACTIVE_LOCKS - Static variable in class org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
- MAX_VOLUME_MUSIC_DTMF - Static variable in class org.robolectric.shadows.ShadowAudioManager
- maxSize() - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- 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
MediaInfoobject with default duration (1000ms) and default preparation delay (0ms). - MediaInfo(int, int) - Constructor for class org.robolectric.shadows.ShadowMediaPlayer.MediaInfo
-
Creates a new
MediaInfoobject with the given duration and preparation delay. - messageId - Variable in class org.robolectric.shadows.ShadowSmsManager.MultimediaMessageParams
- 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
- 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
- mode - Variable in class org.robolectric.shadows.ShadowAppOpsManager.ModeAndException
- ModeAndException(int, String[]) - Constructor for class org.robolectric.shadows.ShadowAppOpsManager.ModeAndException
- modeId - Variable in class org.robolectric.android.internal.DisplayConfig
-
The active display mode.
- ModuleInfoBuilder - Class in org.robolectric.shadows
-
Builder for
ModuleInfoas 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
- 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.
- mutate() - Method in class org.robolectric.shadows.ShadowBitmapDrawable
- myLooper() - Static method in class org.robolectric.shadows.ShadowLegacyLooper
- myPid() - Static method in class org.robolectric.shadows.ShadowProcess
- 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.
- 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_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
AudioEffectis 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_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
AudioEffectas 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
paramto 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_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.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.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.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.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.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.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.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.shadows.ShadowLegacyCursorWindow
- nativeClear(long) - Static method in class org.robolectric.shadows.ShadowNativeCursorWindow
- nativeClose(int) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- nativeClose(long) - Static method in class org.robolectric.shadows.ShadowLegacySQLiteConnection
- 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.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(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
- 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.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
- 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.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.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.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.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.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.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.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.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.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.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.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.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.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
- 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.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.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.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.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
- 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.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
- 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.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
- 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.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
- 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.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.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.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.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.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.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.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.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.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.shadows.ShadowLegacySQLiteConnection
- nativeRegisterLocalizedCollators(long, String) - Static method in class org.robolectric.shadows.ShadowNativeSQLiteConnection
- 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.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.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
- 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.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
- 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
- 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
- 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
- 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.shadows.AppWidgetProviderInfoBuilder
-
Create a new
AppWidgetProviderInfoBuilder. - 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.RollbackInfoBuilder
-
Start building a new RollbackInfo
- 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. - 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. - 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
Sensorwith 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
NetworkInfoinstance 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(String) - Static method in class org.robolectric.shadows.ShadowBluetoothDevice
- newInstance(String, boolean) - Static method in class org.robolectric.shadows.ShadowBitmapRegionDecoder
- newInstance(String, String, String, int, int) - Static method in class org.robolectric.shadows.ShadowScanResult
- newInstance(String, String, String, int, int, boolean) - Static method in class org.robolectric.shadows.ShadowScanResult
- 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. - 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
- 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.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
- 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
- nIsValid(long) - Static method in class org.robolectric.shadows.ShadowRenderNodeQ
- nLineBreakOpportunities(String, char[], int, int[]) - Static method in class org.robolectric.shadows.ShadowStaticLayout
- 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.
- 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
- NrQosSessionAttributesBuilder - Class in org.robolectric.shadows
-
Class to build
NrQosSessionAttributes. - NrQosSessionAttributesBuilder() - Constructor for class org.robolectric.shadows.NrQosSessionAttributesBuilder
- 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
- 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
- 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
- offset(float, float) - Method in class org.robolectric.shadows.ShadowPath
- offset(float, float, Path) - Method in class org.robolectric.shadows.ShadowPath
- 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
- onConfigured(MediaFormat, Surface, MediaCrypto, int) - Method in interface org.robolectric.shadows.ShadowMediaCodec.CodecConfig.Codec
-
Called when the codec is configured.
- onCreate(MediaPlayer, ShadowMediaPlayer) - Method in interface org.robolectric.shadows.ShadowMediaPlayer.CreateListener
-
Method that is invoked when a new
MediaPlayeris created. - 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
- 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_
- 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_
- 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
- 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
- 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(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
- 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
- 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
- openInputStream(Uri) - Method in class org.robolectric.shadows.ShadowContentResolver
- openNonAsset(int, String, int) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- 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
- 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
AssetFileDescriptors are not yet supported by Robolectric,nullwill be returned if the resource is found. - openRawResourceFd(int) - Method in class org.robolectric.shadows.ShadowLegacyResourcesImpl
-
Since
AssetFileDescriptors are not yet supported by Robolectric,nullwill be returned if the resource is found. - openRawResourceFd(int) - Method in class org.robolectric.shadows.ShadowResources
-
Since
AssetFileDescriptors are not yet supported by Robolectric,nullwill 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
- 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.fakes - package org.robolectric.fakes
-
Package containing fake implementations of Android classes.
- org.robolectric.shadows - package org.robolectric.shadows
-
Package containing shadow classes for the Android SDK.
- org.robolectric.shadows.util - package org.robolectric.shadows.util
-
Package containing shadow related utility classes.
- 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
- override(String, String) - Static method in class org.robolectric.shadows.ShadowSystemProperties
-
Overrides the system property for testing.
- 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
- PackageRollbackInfoBuilder - Class in org.robolectric.shadows
-
Builder for
PackageRollbackInfoas 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
- 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
- parse(String) - Method in class org.robolectric.shadows.ShadowTime
- 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
- parseNumericAddressNoThrow(String) - Static method in class org.robolectric.shadows.ShadowInetAddressUtils
- 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.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 - Static variable in class org.robolectric.shadows.ShadowVideoView
- PAUSED - org.robolectric.shadows.ShadowMediaPlayer.State
- 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
- peekNextAddAccountOptions() - Method in class org.robolectric.shadows.ShadowAccountManager
-
Returns the next
addAccountOptionspassed 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
Intentstarted byContextWrapper.startActivity(android.content.Intent)without consuming it. - peekNextStartedActivity() - Method in class org.robolectric.shadows.ShadowCrossProfileApps
-
Returns the most recent
ComponentName,UserHandlepair 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
Intentstarted byActivity.startActivityForResult(Intent, int)without consuming it. - peekNextStartedActivityForResult() - Method in class org.robolectric.shadows.ShadowContextWrapper
-
Returns the most recent
IntentForResultstarted 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
Intentstarted byContext.startService(android.content.Intent)without consuming it. - 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
WebViewClientandWebChromeClientwhen 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_
- 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
WebViewClientandWebChromeClientthat 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. - 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
PhoneAccountthat 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.ShadowCameraMetadataNativePicker.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 class org.robolectric.shadows.LooperShadowPicker
- pickShadowClass() - Method in class org.robolectric.shadows.ResourceModeShadowPicker
- pickShadowClass() - Method in class org.robolectric.shadows.SQLiteShadowPicker
- 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
- Point(float, float, ShadowPath.Point.Type) - Constructor for class org.robolectric.shadows.ShadowPath.Point
- populateItems() - Method in class org.robolectric.shadows.ShadowAdapterView
- 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.shadows.ShadowView
- post(Runnable, long) - Method in class org.robolectric.shadows.ShadowLegacyLooper
-
Deprecated.Use a
Handlerinstance to post to a looper. - post(Runnable, long) - Method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.Use a
Handlerinstance to post to a looper. - post(Runnable, long) - Method in class org.robolectric.shadows.ShadowPausedLooper
- postAtFrontOfQueue(Runnable) - Method in class org.robolectric.shadows.ShadowLegacyLooper
-
Deprecated.Use a
Handlerinstance to post to a looper. - postAtFrontOfQueue(Runnable) - Method in class org.robolectric.shadows.ShadowLooper
-
Deprecated.Use a
Handlerinstance to post to a looper. - postAtFrontOfQueue(Runnable) - Method in class org.robolectric.shadows.ShadowPausedLooper
- 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.shadows.ShadowView
- 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
- 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
- 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
- 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
- projection - Variable in class org.robolectric.fakes.RoboCursor
-
Deprecated.
- protect(Socket) - Method in class org.robolectric.shadows.ShadowVpnService
-
No-ops and always return true, override to avoid call to non-existent Socket.getFileDescriptor.
- 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
- 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). - 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(URI, URLConnection) - Method in class org.robolectric.shadows.ShadowHttpResponseCache
- 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
- 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
- qualify(String) - Method in class org.robolectric.android.XmlResourceParserImpl
- 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
- 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
- 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). - quit() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- quit() - Method in class org.robolectric.shadows.ShadowPausedLooper
- 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
- rate - Variable in class org.robolectric.shadows.ShadowSoundPool.Playback
- 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, 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
- readEvents(int[], Collection<EventLog.Event>) - Static method in class org.robolectric.shadows.ShadowEventLog
- readFileAsString(String) - Static method in class org.robolectric.shadows.ShadowIoUtils
- 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
- readParcelable(ClassLoader) - Method in class org.robolectric.shadows.ShadowParcel
- readParcelableCreator(ClassLoader) - Method in class org.robolectric.shadows.ShadowParcel
- readPendingIntentOrNullFromParcel(Parcel) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- 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
- realDatePickerDialog - Variable in class org.robolectric.shadows.ShadowDatePickerDialog
- realInfo - Variable in class org.robolectric.shadows.ShadowSuspendDialogInfo
- 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
- 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
- receiver - Variable in class org.robolectric.shadows.ShadowInputEventReceiver
- receiveResult(Intent, int, Intent) - Method in class org.robolectric.shadows.ShadowActivity
- reconfigure(int, int, Bitmap.Config) - Method in class org.robolectric.shadows.ShadowBitmap
- 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.
- 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.
- 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
- reenableKeyguard() - Method in class org.robolectric.shadows.ShadowKeyguardManager.ShadowKeyguardLock
-
Sets the value to be returned by
ShadowKeyguardManager.ShadowKeyguardLock.isEnabled()to true. - refresh() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- register(E) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- register(E, Object) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- 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
callbackIntentwhen the sum of usages of apps and tokens inobservedEntitiesexceedstimeLimit - 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
AudioPolicyto 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). - 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
- 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, String, Handler) - 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
StatFsinstance 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
StatFsinstance is created. - registerUsageSessionObserver(int, String[], Duration, Duration, PendingIntent, PendingIntent) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- 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.ShadowContentProviderClient
- release() - Method in class org.robolectric.shadows.ShadowMediaRecorder
- 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.
- 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
- remove(long...) - Method in class org.robolectric.shadows.ShadowDownloadManager
- 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.IdleStateof 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
- removeAction(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- removeAction(AccessibilityNodeInfo.AccessibilityAction) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- removeAudioDataListener(ShadowAudioTrack.OnAudioDataWrittenListener) - Static method in class org.robolectric.shadows.ShadowAudioTrack
-
Removes an
ShadowAudioTrack.OnAudioDataWrittenListenerfrom 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
capabilityfrom the NetworkCapabilities. - removeCaptioningChangeListener(CaptioningManager.CaptioningChangeListener) - Method in class org.robolectric.shadows.ShadowCaptioningManager
- 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.OnClickListenerfrom theShadowView. - removeGlobalPerformLongClickListener(View.OnLongClickListener) - Static method in class org.robolectric.shadows.ShadowView
-
Removes an
View.OnLongClickListenerfrom 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
- 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.
- 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
networkfrom the list of allNetworks. - 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
- 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
storageUuidif 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)returnnullfor 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)returnnullfor 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
userHandlefrom 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
- 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. - 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_UNKNOWNif 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
- 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(Object, Object) - Method in class org.robolectric.shadows.ShadowLocationManager
- requestLocationUpdates(Object, Object, Object) - 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
- 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
- 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
requestPinAppWidgetSupportedto 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
- 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
- require(int, String, String) - Method in class org.robolectric.android.XmlResourceParserImpl
- 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.ShadowCardEmulation
- 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.ShadowDisplayEventReceiver
- 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.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.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
Messageclass 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() - 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.WakeLocks - 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.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.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
Toasts. - 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(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
WebViewDatabaseinstance 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
- 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
subIdto simCountryIso mapping and resets to default state. - resetSimStates() - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Clears
slotIndexto state mapping and resets to default state. - resetStaticState() - Static method in class org.robolectric.shadows.ShadowMediaPlayer
- resetStorageVolumeList() - Method in class org.robolectric.shadows.ShadowStorageManager
-
Clears the storageVolumeList.
- 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.
- 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. - 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
- resolveContentProvider(String, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- resolveContentProviderAsUser(String, int, int) - Method in class org.robolectric.shadows.ShadowApplicationPackageManager
- 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
- 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
- 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
- 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
- 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
- restart() - Method in class org.robolectric.android.controller.ActivityController
- 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
- 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
- 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
- retryMillis() - Method in class org.robolectric.shadows.ShadowRcsUceAdapter.CapabilityFailureInfo
- revalidateByteBuffer(ByteBuffer[], int) - Method in class org.robolectric.shadows.ShadowMediaCodec
-
Prevents calling Android-only methods on basic ByteBuffer objects.
- 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
- 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
- RoboBufferIterator(byte[], ByteOrder) - Constructor for class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- RoboBufferIterator(byte[], ByteOrder) - Constructor for class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- RoboCookieManager - Class in android.webkit
-
Robolectric implementation of
CookieManager. - RoboCookieManager() - Constructor for class android.webkit.RoboCookieManager
- RoboCursor - Class in org.robolectric.fakes
-
Deprecated.Use
MatrixCursorinstead. - 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.LEGACYmode. Consider using guava'sMoreExecutors#directExecutor()orPausedExecutorServiceorInlineExecutorService. - RoboExecutorService() - Constructor for class org.robolectric.android.util.concurrent.RoboExecutorService
-
Deprecated.
- RoboIntentSender - Class in org.robolectric.fakes
-
Robolectric implementation of
IntentSender. - RoboIntentSender(PendingIntent) - Constructor for class org.robolectric.fakes.RoboIntentSender
- 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
- 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
- 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
RollbackInfoas 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
- rQuadTo(float, float, float, float) - Method in class org.robolectric.shadows.ShadowPath
- 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.
- runOneTask() - Method in class org.robolectric.shadows.ShadowLegacyLooper
- runOneTask() - Method in class org.robolectric.shadows.ShadowLooper
-
Causes only one of the next
Runnables that have been scheduled to run while advancing the clock to its start time. - runOneTask() - Method in class org.robolectric.shadows.ShadowPausedLooper
- 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
- 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(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, 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
- score - Variable in class org.robolectric.shadows.ShadowWifiManager.WifiUsabilityScore
- 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
- seek(int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFile.RoboBufferIterator
- seek(int) - Method in class org.robolectric.shadows.ShadowMemoryMappedFileS.RoboBufferIterator
- 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
- selectTrack(int) - Method in class org.robolectric.shadows.ShadowMediaExtractor
- 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
- 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<?>) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Sends a GNSS antenna info to all registered
GnssAntennaInfo.Listeners. - sendGnssMeasurementsEvent(GnssMeasurementsEvent) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Sends a GNSS measurement event to all registered
GnssMeasurementsEvent.Callbacks. - sendGnssStatus(GnssStatus) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Sends a
GnssStatusto all registeredGnssStatus.Callbacks. - 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
-
Sends a NMEA message to all registered
OnNmeaMessageListeners. - 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
eventto 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
- 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
- seqNum - Variable in class org.robolectric.shadows.ShadowWifiManager.WifiUsabilityScore
- ServiceController<T extends Service> - Class in org.robolectric.android.controller
- 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
- set24HourTimeFormat(boolean) - Static method in class org.robolectric.shadows.ShadowSettings
-
Sets the value of the
Settings.System.TIME_12_24setting. - 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.ShadowAccessibilityNodeInfo
- 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
- 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
componentNameas one of the active admins. - 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_ENABLEDsetting orSettings.Secure.ADB_ENABLEDdepending 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_ONsetting. - 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.ShadowDrawable
- 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.
- 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
- setAntiAlias(boolean) - Method in class org.robolectric.shadows.ShadowPaint
- setApkAssets(Object, Object) - Method in class org.robolectric.shadows.ShadowLegacyAssetManager
- 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_
- 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
- 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
- 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
- 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). - 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
- 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
azimuthof the satellite, in degrees. - setBackgroundColor(int) - Method in class org.robolectric.shadows.ShadowWebView
-
Sets the
Colorint 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
- 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
- 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
fullImagein 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(). - setBoundApplication(Object) - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- setBoundsInParent(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setBoundsInScreen(Rect) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.BRANDfield. - setBrightness(float) - Method in class org.robolectric.shadows.BrightnessChangeEventBuilder
- setBrightnessConfiguration(Object) - Method in class org.robolectric.shadows.ShadowDisplayManager
- setBrightnessConfigurationForUser(Object, int, String) - Method in class org.robolectric.shadows.ShadowDisplayManager
- setBrightnessConfigurationForUser(Object, int, String) - 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
- 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
- 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
- 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
- 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 specifiedUserHandleto 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
trueto allowShadowBiometricManager.canAuthenticate()returnBIOMETRIC_SUCCESSIf 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.
- setCanOpenPopup(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setCanRequestPackageInstalls(boolean) - Method in class org.robolectric.shadows.ShadowPackageManager
-
Sets if the
PackageManageris 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(). - 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 frequencyof 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
packagesfor the givenphoneId. - setCategoryPaymentAllowsForegroundPreference(boolean) - Static method in class org.robolectric.shadows.ShadowCardEmulation
-
Modifies the behavior of
categoryAllowsForegroundPreference(String)to return the givenvaluefor 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
- setCheckable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setChecked(boolean) - Method in class org.robolectric.fakes.RoboMenuItem
- setChecked(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setClass(String) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setClassLoader(ClassLoader) - Method in interface org.robolectric.shadows.ShadowContextImpl._ContextImpl_
- setClassName(CharSequence) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setClickable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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 densityof the satellite. - setCollectionInfo(AccessibilityNodeInfo.CollectionInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setCollectionItemInfo(AccessibilityNodeInfo.CollectionItemInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.ShadowBitmapDrawable
- setColorFilter(ColorFilter) - Method in class org.robolectric.shadows.ShadowPaint
- setColorFormats(int[]) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder.CodecCapabilitiesBuilder
-
Sets color formats.
- 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.
- 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
configPersistableBundle 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
- 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). - 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 constellationof 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
- setContentDescription(CharSequence) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setContentInvalid(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- setCreateListener(ShadowMediaPlayer.CreateListener) - Static method in class org.robolectric.shadows.ShadowMediaPlayer
-
Sets a listener that is invoked whenever a new shadowed
MediaPlayerobject 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
- 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
InputMethodSubtypethat 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
- 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
- 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 returntruefor 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
- setDefaultWALSyncMode(String) - Static method in class org.robolectric.shadows.ShadowSQLiteConnection
-
Sets the default sync mode for SQLite databases when SQLiteDatabase.ENABLE_WRITE_AHEAD_LOGGING is used.
- 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
- 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.DEVICEfield. - setDeviceConfigurationInfo(ConfigurationInfo) - Method in class org.robolectric.shadows.ShadowActivityManager
-
Sets the
ConfigurationInforeturned 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.
- 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
- 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)
- setDismissable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- setDomStorageEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setDownloadListener(DownloadListener) - Method in class org.robolectric.shadows.ShadowWebView
- setDrawingOrder(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
-
Sets the drawing order of the view corresponding to this node.
- 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.
- setDynamicShortcuts(List<ShortcutInfo>) - Method in class org.robolectric.shadows.ShadowShortcutManager
- setEditable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setEid(String) - Method in class org.robolectric.shadows.ShadowEuiccManager
-
Set the value to be returned by
EuiccManager.getEid(). - setElevation(float) - Method in class org.robolectric.shadows.GnssStatusBuilder.GnssSatelliteInfo.Builder
-
Deprecated.Sets the
elevationof 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.ShadowAccessibilityNodeInfo
- 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.
- setEnabledAccessibilityServiceList(List<AccessibilityServiceInfo>) - Method in class org.robolectric.shadows.ShadowAccessibilityManager
- setEnabledInputMethodInfoList(List<InputMethodInfo>) - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Sets the list of
InputMethodInfothat 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.
- setError(CharSequence) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.
- 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.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
- 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(). - setFields(Bundle) - Method in class org.robolectric.shadows.ShadowVisualVoicemailSms
- 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.FINGERPRINTfield. - 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
- setFocusable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setFocusAreas(List<Camera.Area>) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setFocused(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- setFrameInterval(long) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Set the inter-frame interval used to advance the clock.
- 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
- 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
- setGnssTimeAvailable(boolean) - Static method in class org.robolectric.shadows.ShadowSystemClock
-
Sets whether gnss location based time is available.
- 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.HARDWAREfield. - 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.
- 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
- setHeaderIcon(int) - Method in class org.robolectric.fakes.RoboSubMenu
- setHeaderIcon(Drawable) - Method in class org.robolectric.fakes.RoboSubMenu
- 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.
- 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.HitTestResultthat should be returned fromShadowWebView.getHitTestResult(). - setHost(AppWidgetHost) - Method in class org.robolectric.shadows.ShadowAppWidgetHostView
- setIccId(String) - Method in class org.robolectric.shadows.ShadowSubscriptionManager.SubscriptionInfoBuilder
- 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.IDfield. - setIdleConnectionTimeout(long) - Method in class org.robolectric.shadows.ShadowSQLiteOpenHelper
- 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
- setImportantForAccessibility(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.RegistrationCallbackcallbacks. - setImsRegistering(int) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Triggers
ImsMmTelManager.RegistrationCallback.onRegistering(int)for all registeredImsMmTelManager.RegistrationCallbackcallbacks. - setImsUnregistered(ImsReasonInfo) - Method in class org.robolectric.shadows.ShadowImsMmTelManager
-
Triggers
ImsMmTelManager.RegistrationCallback.onUnregistered(ImsReasonInfo)for all registeredImsMmTelManager.RegistrationCallbackcallbacks. - setInCallAdapter(IInCallAdapter) - Method in class org.robolectric.shadows.ShadowInCallService
- 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
AudioEffectitself. - 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
- setInputMethodInfoList(List<InputMethodInfo>) - Method in class org.robolectric.shadows.ShadowInputMethodManager
-
Sets the list of
InputMethodInfothat are marked as installed. - setInputType(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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_APPSsetting orSettings.Secure.INSTALL_NON_MARKET_APPSdepending on API level. - setInstanceId(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager.EventBuilder
- setInstrumentation(Instrumentation) - Method in interface org.robolectric.shadows.ShadowActivityThread._ActivityThread_
- 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.
- 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
- 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
- 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(). - 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.
- 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()()}. - 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. - 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(). - 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
- 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
- setIsUserEnabled(int, boolean) - Method in class org.robolectric.shadows.ShadowUserManager
- setIsVendor(boolean) - Method in class org.robolectric.shadows.MediaCodecInfoBuilder
-
Sets the codec provider.
- 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
- 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
-
Sets the last known location for the given 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
- setLightTouchEnabled(boolean) - Method in class org.robolectric.fakes.RoboWebSettings
- setLine1Number(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
- 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
- setLiveRegion(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.ShadowCaptioningManager
-
Sets the value to be returned by
CaptioningManager.getLocale() - 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
- 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. - setLongClickable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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(). - 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.MANUFACTURERfield. - setMasterScheduler(Scheduler) - Static method in class org.robolectric.RuntimeEnvironment
-
Sets the current master scheduler.
- setMasterSyncAutomatically(boolean) - Static method in class org.robolectric.shadows.ShadowContentResolver
- 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.
- 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
- setMaxTextLength(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.MediaInfoProviderto be used to getShadowMediaPlayer.MediaInfofor 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(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
- 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.MODELfield. - setMovementGranularities(int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setMtpReserveSize(long) - Method in class org.robolectric.shadows.StorageVolumeBuilder
- setMultiLine(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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(). - 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.
- 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
- 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
- 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
- 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_
- 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(CharSequence) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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
- setPaintFlags(int) - Method in class org.robolectric.shadows.ShadowTextView
- 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
- 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(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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) - 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
- 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
- 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.MotionEventBuilderto create a MotionEvent with desired data. - setPointerIds(int, int) - Method in class org.robolectric.shadows.ShadowMotionEvent
-
Deprecated.use
MotionEvent.obtain()orMotionEventBuilderto 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. - setPortRoles(UsbPort, int, int) - Method in interface org.robolectric.shadows.ShadowUsbManager._UsbManager_
- setPortRoles(Object, Object, Object) - Method in class org.robolectric.shadows.ShadowUsbManager
- setPostCallbackDelay(int) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Allows application to specify a fixed amount of delay when
#postCallback(int, Runnable, Object)is invoked. - 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. - setPostFrameCallbackDelay(int) - Static method in class org.robolectric.shadows.ShadowChoreographer
-
Allows application to specify a fixed amount of delay when
#postFrameCallback(FrameCallback)is invoked. - 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(). - 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.PRODUCTfield. - 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
statefor 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
proxyfor 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) - 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() - setRangeInfo(AccessibilityNodeInfo.RangeInfo) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- 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.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
- 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.
- 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). - setResources(Resources) - Method in interface org.robolectric.shadows.ShadowLoadedApk._LoadedApk_
- 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(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.
- 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.
- 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(). - 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
- 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
Runnableinstance 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
- setScrollable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setScrollX(int) - Method in class org.robolectric.shadows.ShadowView
- setScrollY(int) - Method in class org.robolectric.shadows.ShadowView
- setSectionName(String) - Method in class org.robolectric.shadows.ShadowTrace.AsyncTraceSection.Builder
- 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.
- setSelected(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setSelection(int) - Method in class org.robolectric.shadows.ShadowAbsSpinner
- setSelection(int, boolean) - Method in class org.robolectric.shadows.ShadowAbsSpinner
- 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.
- 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(). - 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
- 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
- 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
- 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
- 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
- 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.
- 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
simCountryIsofor 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
- 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
AccessibilityNodeInfoof the event source. - setSourceProvider(ShadowAudioRecord.AudioRecordSourceProvider) - Static method in class org.robolectric.shadows.ShadowAudioRecord
-
Sets
ShadowAudioRecord.AudioRecordSourceProviderto be used for providing data ofAudioRecord. - setSpeakerphoneOn(boolean) - Method in class org.robolectric.shadows.ShadowAudioManager
- setSSID(String) - Method in class org.robolectric.shadows.ShadowWifiInfo
- 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
RuntimeExceptionthat 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
Visualizeritself. - setState(ShadowMediaPlayer.State) - Method in class org.robolectric.shadows.ShadowMediaPlayer
-
Forces the @link MediaPlayer} into the specified state.
- setStatus(int) - Method in class org.robolectric.shadows.ShadowActivityManager.ApplicationExitInfoBuilder
- setStatus(int) - Method in class org.robolectric.shadows.ShadowDownloadManager.ShadowRequest
- setStorageDeviceFreeAndTotalBytes(UUID, long, long) - Method in class org.robolectric.shadows.ShadowStorageStatsManager
-
Sets the
storageUuidto return the specifiedfreeBytesandtotalByteswhen 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
bitmapDatain 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
- 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
- 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_ABISfield. - setSupportedFlashModes(String...) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- setSupportedFocusModes(String...) - Method in class org.robolectric.shadows.ShadowCamera.ShadowParameters
- 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 numberof 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.
- 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.ShadowTabHost.ShadowTabSpec
-
Sets the tag on the TabSpec.
- setTags(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.TAGSfield. - 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 thePhoneStateListeners that were registered with thePhoneStateListener.LISTEN_DISPLAY_INFO_CHANGEDflag. - 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
- setTextEntryKey(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setTextSelection(int, int) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setTextSelectionSetable(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setTextSize(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.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(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
- setToNow() - Method in class org.robolectric.shadows.ShadowTime
- 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
- 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
- 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(). - 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.TYPEfield. - 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
- 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.
- 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
- setupLogging() - Static method in class org.robolectric.shadows.ShadowLog
- 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. - 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.
- 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(). - 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
- setVendorId(int) - Method in class org.robolectric.shadows.ShadowInputDevice
- setVersionCodename(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.CODENAMEfield. - setVersionIncremental(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.INCREMENTALfield. - setVersionRelease(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.RELEASEfield. - setVersionSecurityPatch(String) - Static method in class org.robolectric.shadows.ShadowBuild
-
Sets the value of the
Build.VERSION.SECURITY_PATCHfield. - 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
- setViewIdResourceName(String) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setVisible(boolean) - Method in class org.robolectric.fakes.RoboMenuItem
- setVisibleToUser(boolean) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- setVisualVoicemailPackageName(String) - Method in class org.robolectric.shadows.ShadowTelephonyManager
-
Sets the value to be returned by
ShadowTelephonyManager.getVisualVoicemailPackageName(). - 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(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. - setWebChromeClient(WebChromeClient) - Method in class org.robolectric.shadows.ShadowWebView
- setWebContentsDebuggingEnabled(boolean) - Static method in class org.robolectric.shadows.ShadowWebView
- 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.
- 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
- 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. - setXdpi(float) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the horizontal DPI for this display.
- setYdpi(float) - Method in class org.robolectric.shadows.ShadowDisplay
-
Changes the vertical DPI for this display.
- 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
- ShadowAccessibilityAction() - Constructor for class org.robolectric.shadows.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
- 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
AccessibilityNodeInfothat are normally locked may be changed using test APIs. - ShadowAccessibilityNodeInfo() - Constructor for class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- ShadowAccessibilityNodeInfo.OnPerformActionListener - Interface in org.robolectric.shadows
- ShadowAccessibilityNodeInfo.ShadowAccessibilityAction - Class in org.robolectric.shadows
-
Shadow of AccessibilityAction.
- 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
AccessibilityWindowInfothat 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
- ShadowAndroidBidi - Class in org.robolectric.shadows
- ShadowAndroidBidi() - Constructor for class org.robolectric.shadows.ShadowAndroidBidi
- 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
ApkAssetsfor 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
AudioEffectby 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
AudioRecordwhich 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.AudioRecordSourcefor 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
AudioTrackviaAudioTrack.write(ByteBuffer, int, int) - ShadowAutofillManager - Class in org.robolectric.shadows
-
Robolectric implementation of
android.os.AutofillManager. - ShadowAutofillManager() - Constructor for class org.robolectric.shadows.ShadowAutofillManager
- ShadowBackgroundThread - Class in org.robolectric.shadows
- ShadowBackgroundThread() - Constructor for class org.robolectric.shadows.ShadowBackgroundThread
- ShadowBackupManager - Class in org.robolectric.shadows
-
A stub implementation of
BackupManagerthat 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
- ShadowBitmapShader - Class in org.robolectric.shadows
- ShadowBitmapShader() - Constructor for class org.robolectric.shadows.ShadowBitmapShader
- 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
- 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
BluetoothAdapterstartScan methods. - ShadowBluetoothManager - Class in org.robolectric.shadows
-
Shadow of
BluetoothManagerthat 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
- 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.Parametersclass. - 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
- ShadowCameraMetadataNativePicker - Class in org.robolectric.shadows
-
Base class for shadow implementations of
CameraMetadataNative - ShadowCameraMetadataNativePicker() - Constructor for class org.robolectric.shadows.ShadowCameraMetadataNativePicker
- ShadowCameraMetadataNativePicker.Picker - Class in org.robolectric.shadows
-
This subclass is required to avoid an internal error when loading the picker.
- 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
- ShadowClipboardManager - Class in org.robolectric.shadows
- ShadowClipboardManager() - Constructor for class org.robolectric.shadows.ShadowClipboardManager
- 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
- ShadowColorMatrixColorFilter - Class in org.robolectric.shadows
- ShadowColorMatrixColorFilter() - Constructor for class org.robolectric.shadows.ShadowColorMatrixColorFilter
- 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
- ShadowCompatModeWrapper() - Constructor for class org.robolectric.shadows.ShadowWindowManagerImpl.ShadowCompatModeWrapper
- ShadowCompoundButton - Class in org.robolectric.shadows
- ShadowCompoundButton() - Constructor for class org.robolectric.shadows.ShadowCompoundButton
- ShadowConnectivityManager - Class in org.robolectric.shadows
- ShadowConnectivityManager() - Constructor for class org.robolectric.shadows.ShadowConnectivityManager
- 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.PickerforShadowCursorWindow - 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
- 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
- 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
- ShadowDisplayEventReceiver() - Constructor for class org.robolectric.shadows.ShadowDisplayEventReceiver
- ShadowDisplayEventReceiver.DisplayEventReceiverReflector - Interface in org.robolectric.shadows
-
Reflector interface for
DisplayEventReceiver's internals. - ShadowDisplayListCanvas - Class in org.robolectric.shadows
-
Shadow for
android.view.DisplayListCanvasfrom 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
- 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.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
DynamicsProcessingby relying onShadowAudioEffect. - ShadowDynamicsProcessing() - Constructor for class org.robolectric.shadows.ShadowDynamicsProcessing
- ShadowEdgeEffect - Class in org.robolectric.shadows
- ShadowEdgeEffect() - Constructor for class org.robolectric.shadows.ShadowEdgeEffect
- 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
Fontfor 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
- 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
- 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
- ShadowImages() - Constructor for class org.robolectric.shadows.ShadowMediaStore.ShadowImages
- ShadowImeTracingClientImpl - Class in org.robolectric.shadows
- ShadowImeTracingClientImpl() - Constructor for class org.robolectric.shadows.ShadowImeTracingClientImpl
- 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
- 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
- ShadowIoUtils - Class in org.robolectric.shadows
- ShadowIoUtils() - Constructor for class org.robolectric.shadows.ShadowIoUtils
- 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
ApkAssetsthat 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
AsyncTaskshadow forLooperMode.Mode.LEGACY. - ShadowLegacyAsyncTask() - Constructor for class org.robolectric.shadows.ShadowLegacyAsyncTask
- ShadowLegacyAsyncTaskLoader<D> - Class in org.robolectric.shadows
-
The shadow
AsyncTaskLoaderforLooperMode.Mode.LEGACY. - ShadowLegacyAsyncTaskLoader() - Constructor for class org.robolectric.shadows.ShadowLegacyAsyncTaskLoader
- ShadowLegacyChoreographer - Class in org.robolectric.shadows
-
The
Choreographershadow 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
MessageforLooperMode.Mode.LEGACY. - ShadowLegacyMessage() - Constructor for class org.robolectric.shadows.ShadowLegacyMessage
- ShadowLegacyMessageQueue - Class in org.robolectric.shadows
-
The shadow
MessageQueueforLooperMode.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
SQLiteConnectionthat 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
- ShadowLocationManager - Class in org.robolectric.shadows
-
Shadow for
LocationManager. - ShadowLocationManager() - Constructor for class org.robolectric.shadows.ShadowLocationManager
- ShadowLocationManager.ProviderProperties - Class in org.robolectric.shadows
-
Properties of a provider.
- ShadowLog - Class in org.robolectric.shadows
-
Controls the behavior of
Logand 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
- 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
MediaCodecwhich 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
ShadowMediaCodecto simulate actual encoding/decoding. - ShadowMediaCodec.CodecConfig.Codec - Interface in org.robolectric.shadows
-
A codec is implemented as part of the configuration to allow the
ShadowMediaCodecto 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
MediaMuxerwhich 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
MediaPlayerinstance 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.MediaInfofor 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
- ShadowNativeAllocationRegistry - Class in org.robolectric.shadows
- ShadowNativeAllocationRegistry() - Constructor for class org.robolectric.shadows.ShadowNativeAllocationRegistry
- ShadowNativeCursorWindow - Class in org.robolectric.shadows
-
Shadow for
CursorWindowthat 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
SQLiteConnectionthat 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
- 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(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(BluetoothLeScanner) - 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(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(BitmapShader) - 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(ColorMatrixColorFilter) - 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(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(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(UsbManager) - 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(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(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(ScanResult) - 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(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(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(TextPaint) - 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(AccessibilityNodeInfo.AccessibilityAction) - 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(Scroller) - 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(DexFile) - Static method in class org.robolectric.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
PackageBackwardCompatibilityto 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
- ShadowPackageInstaller() - Constructor for class org.robolectric.shadows.ShadowPackageInstaller
- ShadowPackageInstaller.ShadowSession - Class in org.robolectric.shadows
- 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
- 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
AsyncTaskshadow forLooperMode.Mode.PAUSED - ShadowPausedAsyncTask() - Constructor for class org.robolectric.shadows.ShadowPausedAsyncTask
- ShadowPausedAsyncTaskLoader<D> - Class in org.robolectric.shadows
-
The shadow
AsyncTaskLoaderforLooperMode.Mode.PAUSED. - ShadowPausedAsyncTaskLoader() - Constructor for class org.robolectric.shadows.ShadowPausedAsyncTaskLoader
- ShadowPausedChoreographer - Class in org.robolectric.shadows
-
A
Choreographershadow 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
MessageforLooperMode.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.PAUSEDis 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
- 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
- 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.
- 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
- ShadowResources() - Constructor for class org.robolectric.shadows.ShadowResources
- ShadowResources.ShadowLegacyTheme - Class in org.robolectric.shadows
- ShadowResources.ShadowNotFoundException - Class in org.robolectric.shadows
- ShadowResources.ShadowTheme - Class in org.robolectric.shadows
- ShadowResources.ShadowTheme.Picker - Class in org.robolectric.shadows
- 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 - Class in org.robolectric
-
Shadow mapper.
- Shadows() - Constructor for class org.robolectric.Shadows
- 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
- ShadowScroller - Class in org.robolectric.shadows
- ShadowScroller() - Constructor for class org.robolectric.shadows.ShadowScroller
- 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
- 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
SharedMemoryfake that uses a private temporary disk file for storage and Java'sMappedByteBufferfor the memory mappings. - ShadowSharedMemory() - Constructor for class org.robolectric.shadows.ShadowSharedMemory
- ShadowSharedPreferences - Class in org.robolectric.shadows
-
Dummy 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
SQLiteConnectionshadow 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
StorageStatsManagerthat provides a fake implementation of query forStorageStatsof 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
- 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
SuspendDialogInfoto 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
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
- ShadowTextPaint - Class in org.robolectric.shadows
- ShadowTextPaint() - Constructor for class org.robolectric.shadows.ShadowTextPaint
- 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
TimeManagerclass 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 - ShadowUIModeManager - Class in org.robolectric.shadows
- 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.Eventobjects. - 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
UsageStatsobjects. - 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+). - 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.
- ShadowValueAnimator - Class in org.robolectric.shadows
- ShadowValueAnimator() - Constructor for class org.robolectric.shadows.ShadowValueAnimator
- 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
- 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
Visualizerclass. - 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
- 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
WebSettingswhich 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
WebStoragewhich 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
- 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
- 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
- ShadowXmlBlock - Class in org.robolectric.shadows
- ShadowXmlBlock() - Constructor for class org.robolectric.shadows.ShadowXmlBlock
- ShadowZoomButtonsController - Class in org.robolectric.shadows
- ShadowZoomButtonsController() - Constructor for class org.robolectric.shadows.ShadowZoomButtonsController
- shouldHideFromSuggestions(String, UserHandle) - Method in class org.robolectric.shadows.ShadowLauncherApps
- 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
Toasthas been shown. - showedToast(CharSequence) - Static method in class org.robolectric.shadows.ShadowToast
-
query method that returns whether or not a particular
Toasthas been shown. - 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
- shownToastCount() - Static method in class org.robolectric.shadows.ShadowToast
-
Returns the number of
Toastrequests 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.
- silenceRinger() - Method in class org.robolectric.shadows.ShadowTelecomManager
- SILENT - org.robolectric.shadows.ShadowMediaPlayer.InvalidStateBehavior
- simulateGattConnectionChange(int, int) - Method in class org.robolectric.shadows.ShadowBluetoothDevice
- simulateLocation(Location) - Method in class org.robolectric.shadows.ShadowLocationManager
-
Delivers a new location to the appropriate listeners and updates state accordingly.
- simulateTimeChange(long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Simulates the operations done by the framework when there is a time change.
- 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.fakes.RoboMenu
- 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
- 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
- smallestNominalAppHeight - Variable in class org.robolectric.android.internal.DisplayConfig
-
The smallest value of
DisplayConfig.appHeightthat 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.appWidththat 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. - 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
- 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.
- 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
- SQLiteShadowPicker<T> - Class in org.robolectric.shadows
-
A
ShadowPickerthat 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 - Static variable in class org.robolectric.shadows.ShadowVideoView
- 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, 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). - startActivitySync(Intent, Bundle) - Method in class org.robolectric.shadows.ShadowInstrumentation
- 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_BUNDLEto later be passed on toAccountManager#finishSession(Bundle,Activity,AccountManagerCallback.,Handler) - 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
- 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.
- 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
- 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(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.
- 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.
- startScroll(int, int, int, int, int) - Method in class org.robolectric.shadows.ShadowScroller
- 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
- 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
- StatsLogItem() - Constructor for class org.robolectric.shadows.ShadowStatsLog.StatsLogItem
- Status() - Constructor for class org.robolectric.shadows.ShadowContentResolver.Status
- 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.ShadowTextToSpeech
- STOP - Static variable in class org.robolectric.shadows.ShadowVideoView
- 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
- 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
- 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
- style - Variable in class org.robolectric.shadows.ShadowTypeface.FontDesc
- 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.
- subscribe(int, Looper, SubscribeConfig, DiscoverySessionCallback) - Method in class org.robolectric.shadows.ShadowWifiAwareManager
- suggestExternalTime(ExternalTimeSuggestion) - Method in class org.robolectric.shadows.ShadowTimeManager
- 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.
- supportMultipleWindows() - Method in class org.robolectric.fakes.RoboWebSettings
- supportsMultipleUsers() - Static method in class org.robolectric.shadows.ShadowUserManager
- 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
textand 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.
- systemContext - Static variable in class org.robolectric.RuntimeEnvironment
-
Deprecated.Use
RuntimeEnvironment.getApplication()orandroidx.test.core.app.ApplicationProvider#getApplicationContextinstead. Note that unlike the alternatives, this field is inherently incompatible withLazyApplication. This field may be removed in a later release
T
- tag - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- tag(Socket) - Method in class org.robolectric.shadows.ShadowSocketTagger
- 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
- text - Variable in class org.robolectric.shadows.ShadowCanvas.TextHistoryEvent
- 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
- throwable - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- timePassed() - Method in class org.robolectric.shadows.ShadowScroller
- timeString - Variable in class org.robolectric.shadows.ShadowLog.LogItem
- 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
- 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
- toString() - Method in class org.robolectric.android.internal.DisplayConfig
- toString() - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
- 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.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.ShadowScanResult
- toString() - Method in class org.robolectric.shadows.ShadowSoundPool.Playback
- transact(int, Parcel, Parcel, int) - Method in class org.robolectric.shadows.ShadowBinder
- transceive(byte[]) - Method in class org.robolectric.shadows.ShadowIsoDep
- 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).
- 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
- 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.AppUsageLimitObserverwithobserverId. - triggerRegisteredAppUsageObserver(int, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Triggers a currently registered
ShadowUsageStatsManager.AppUsageObserverwithobserverId. - triggerRegisteredSessionEndedObserver(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Triggers a currently registered
ShadowUsageStatsManager.UsageSessionObserverwithobserverId. - triggerRegisteredSessionStepObserver(int, long) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
-
Triggers a currently registered
ShadowUsageStatsManager.UsageSessionObserverwithobserverId. - 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.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_ASSERT - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
- TYPE_DELETE - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
- TYPE_INSERT - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
- TYPE_UPDATE - Static variable in class org.robolectric.shadows.ShadowContentProviderOperation
U
- 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
- UNDEFINED_SELECTION_INDEX - Static variable in class org.robolectric.shadows.ShadowAccessibilityNodeInfo
- uniqueId - Variable in class org.robolectric.android.internal.DisplayConfig
-
Unique identifier for the display.
- UnknownCallRecord(PhoneAccountHandle, Bundle) - Constructor for class org.robolectric.shadows.ShadowTelecomManager.UnknownCallRecord
- unlock() - Method in class org.robolectric.shadows.ShadowCamera
- unlockAndRun(Runnable) - Method in class org.robolectric.shadows.ShadowTileService
- 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.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
- 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(E) - Method in class org.robolectric.shadows.ShadowRemoteCallbackList
- 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.
- 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
- 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
- unregisterUsageSessionObserver(int) - Method in class org.robolectric.shadows.ShadowUsageStatsManager
- unsafeCheckOpNoThrow(String, 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
- untag(Socket) - Method in class org.robolectric.shadows.ShadowSocketTagger
- untagSocket(Socket) - Static method in class org.robolectric.shadows.ShadowTrafficStats
- 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
ContentProvideris registered for the givenUri, itsContentProvider.update(Uri, ContentValues, String, String[])method will be invoked. - updateAppWidget(int[], RemoteViews) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
- updateAppWidget(int, RemoteViews) - Method in class org.robolectric.shadows.ShadowAppWidgetManager
-
Simulates updating an
AppWidgetwith 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
- updateCall(ParcelableCall) - Method in class org.robolectric.shadows.ShadowInCallService
- updateCameraCallback(CameraDevice, CameraDevice.StateCallback, Handler, Executor) - Method in class org.robolectric.shadows.ShadowCameraManager
- 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
- 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
updateRuleSetmethod so that a copy of the pushed rule set is kept within the shadow class. - 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
- 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
- usesChronometer() - Method in class org.robolectric.shadows.ShadowNotification
V
- v(String, String) - Static method in class org.robolectric.shadows.ShadowLog
- v(String, String, Throwable) - Static method in class org.robolectric.shadows.ShadowLog
- 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.
- validateSyncExtrasBundle(Bundle) - Static method in class org.robolectric.shadows.ShadowContentResolver
- 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.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.
- 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.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.
- 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
- 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
- visible() - Method in class org.robolectric.android.controller.ActivityController
- visible() - Method in class org.robolectric.android.controller.FragmentController
-
Deprecated.
- 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.
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
- 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
trueifWebViewDatabase.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
trueif the givenpackageNamewas ever hidden. - wasPathPlayed(String) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Returns
trueif the given path was played. - wasProceedCalled() - Method in class org.robolectric.shadows.ShadowSslErrorHandler
- wasResourcePlayed(int) - Method in class org.robolectric.shadows.ShadowSoundPool
-
Returns
trueif the given resource was played. - wasSystemAppEnabled(String) - Method in class org.robolectric.shadows.ShadowDevicePolicyManager
-
Returns
trueif the givenpackageNamewas a system app and was enabled. - wentAsync() - Method in class org.robolectric.shadows.ShadowBroadcastReceiver
- 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
- 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
- withIntent(Intent) - Method in class org.robolectric.android.controller.ServiceController
-
Deprecated.Use the appropriate builder in
org.robolectric.Robolectricinstead. This method will be removed in Robolectric 3.6. - Wrapper(BroadcastReceiver, IntentFilter, Context, String, Handler) - Constructor for class org.robolectric.shadows.ShadowApplication.Wrapper
- write(StatsEvent) - Static method in class org.robolectric.shadows.ShadowStatsLog
- write(ByteBuffer, int, int) - Method in class org.robolectric.shadows.ShadowAudioTrack
-
Always return the number of bytes to write except with invalid parameters.
- writeBlob(byte[], int, int) - Method in class org.robolectric.shadows.ShadowParcel
- writeByteArray(byte[], int, int) - Method in class org.robolectric.shadows.ShadowParcel
- 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.
- writePendingIntentOrNullToParcel(PendingIntent, Parcel) - Static method in class org.robolectric.shadows.ShadowPendingIntent
- writeRemoteMessage(String) - Method in class org.robolectric.shadows.ShadowCall.ShadowRttCall
-
Writes a message to the RttCall buffer.
- 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
- 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
_
- __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[]) - Method in class org.robolectric.shadows.ShadowColorMatrixColorFilter
- __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__(int, CharSequence) - Method in class org.robolectric.shadows.ShadowAccessibilityNodeInfo.ShadowAccessibilityAction
- __constructor__(long) - Method in class org.robolectric.shadows.ShadowTypeface
- __constructor__(long, long) - Method in class org.robolectric.shadows.ShadowCountDownTimer
- __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, int, int, int) - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- __constructor__(Context, int, DatePickerDialog.OnDateSetListener, Calendar, int, int, int) - Method in class org.robolectric.shadows.ShadowDatePickerDialog
- __constructor__(Context, int, TimePickerDialog.OnTimeSetListener, int, int, boolean) - Method in class org.robolectric.shadows.ShadowTimePickerDialog
- __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, 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__(ColorMatrix) - Method in class org.robolectric.shadows.ShadowColorMatrixColorFilter
- __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__(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
- __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