Home
last modified time | relevance | path

Searched defs:sharedMemory (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedMemoryTest.java22 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in getSize_shouldReturnSizeAtCreation()
30 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWrites()
41 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWritesAcrossMappings()
53 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldPersistWritesAcrossUnmap()
66 SharedMemory sharedMemory = SharedMemory.create("foo", 4); in mapReadWrite_shouldThrowAfterClose() local
107 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in unmap_shouldTolerateDoubleUnmap()
118 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in writeToParcel_shouldNotCrash()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedMemoryTest.java23 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in getSize_shouldReturnSizeAtCreation()
31 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWrites()
42 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWritesAcrossMappings()
54 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldPersistWritesAcrossUnmap()
67 SharedMemory sharedMemory = SharedMemory.create("foo", 4); in mapReadWrite_shouldThrowAfterClose() local
123 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in unmap_shouldTolerateDoubleUnmap()
134 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in writeToParcel_shouldNotCrash()
150 try (SharedMemory sharedMemory = SharedMemory.create(/* name= */ "foo", /* size= */ 4)) { in readFromParcel_shouldSupport()