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
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.android.i18n.timezone.internal.BufferIterator
void
close()
protected com.android.i18n.timezone.internal.BufferIterator
getHeapBufferIterator
(ByteOrder endianness) com.android.i18n.timezone.internal.BufferIterator
static com.android.i18n.timezone.internal.MemoryMappedFile
int
size()
-
Field Details
-
bytes
protected byte[] bytes
-
-
Constructor Details
-
ShadowMemoryMappedFileS
public ShadowMemoryMappedFileS()
-
-
Method Details
-
mmapRO
@Implementation public static com.android.i18n.timezone.internal.MemoryMappedFile mmapRO(String path) throws Throwable - Throws:
Throwable
-
close
- Throws:
Exception
-
bigEndianIterator
-
littleEndianIterator
-
getHeapBufferIterator
protected com.android.i18n.timezone.internal.BufferIterator getHeapBufferIterator(ByteOrder endianness) -
size
-