Package org.robolectric.shadows
Class ShadowMemoryMappedFileS
- java.lang.Object
-
- org.robolectric.shadows.ShadowMemoryMappedFileS
-
@Implements(value=com.android.i18n.timezone.internal.MemoryMappedFile.class, isInAndroidSdk=false, minSdk=31) public class ShadowMemoryMappedFileS extends Object
Fork of ShadowMemoryMappedFile to adjust to changed package names of MemoryMappedFile in S.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ShadowMemoryMappedFileS.RoboBufferIterator
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
bytes
-
Constructor Summary
Constructors Constructor Description ShadowMemoryMappedFileS()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.android.i18n.timezone.internal.BufferIterator
bigEndianIterator()
void
close()
protected com.android.i18n.timezone.internal.BufferIterator
getHeapBufferIterator(ByteOrder endianness)
com.android.i18n.timezone.internal.BufferIterator
littleEndianIterator()
static com.android.i18n.timezone.internal.MemoryMappedFile
mmapRO(String path)
int
size()
-
-
-
Method Detail
-
mmapRO
@Implementation public static com.android.i18n.timezone.internal.MemoryMappedFile mmapRO(String path) throws Throwable
- Throws:
Throwable
-
close
@Implementation public void close() throws Exception
- Throws:
Exception
-
bigEndianIterator
@Implementation public com.android.i18n.timezone.internal.BufferIterator bigEndianIterator()
-
littleEndianIterator
@Implementation public com.android.i18n.timezone.internal.BufferIterator littleEndianIterator()
-
getHeapBufferIterator
protected com.android.i18n.timezone.internal.BufferIterator getHeapBufferIterator(ByteOrder endianness)
-
size
@Implementation public int size()
-
-