Package org.robolectric.shadows
Class ShadowVMRuntime
java.lang.Object
org.robolectric.shadows.ShadowVMRuntime
@Implements(value=dalvik.system.VMRuntime.class,
            isInAndroidSdk=false)
public class ShadowVMRuntime
extends Object
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongReturns a unique identifier of the object instead of a 'native' address.protected static StringReturns the instruction set of the current runtime.protected static intprotected booleanis64Bit()Returns whether the VM is running in 64-bit mode.newNonMovableArray(Class<?> type, int size) newUnpaddedArray(Class<?> klass, int size) static voidreset()static voidsetCurrentInstructionSet(String currentInstructionSet) Sets the instruction set of the current runtime.static voidsetIs64Bit(boolean is64Bit) Sets whether the VM is running in 64-bit mode.
- 
Constructor Details- 
ShadowVMRuntimepublic ShadowVMRuntime()
 
- 
- 
Method Details- 
newUnpaddedArray
- 
newNonMovableArray
- 
addressOfReturns a unique identifier of the object instead of a 'native' address.
- 
is64BitReturns whether the VM is running in 64-bit mode. Available in Android L+. Defaults to true.
- 
setIs64Bitpublic static void setIs64Bit(boolean is64Bit) Sets whether the VM is running in 64-bit mode.
- 
getCurrentInstructionSetReturns the instruction set of the current runtime.
- 
setCurrentInstructionSetSets the instruction set of the current runtime.
- 
reset
- 
getNotifyNativeInterval
 
-