Searched refs:memSizeBytes (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 50 const size_t memSizeBytes = 840; in TEST() local 51 int fd = ashmem_create_region("TestMarshalling", memSizeBytes); in TEST() 53 sharedMemoryA.setup(fd, memSizeBytes); in TEST() 57 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, ®ion1)); // size too big in TEST() 58 … EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, ®ion1)); // goes past the end in TEST() 83 const size_t memSizeBytes = 840; in TEST() local 84 int fd = ashmem_create_region("TestMarshalling", memSizeBytes); in TEST() 86 sharedMemories[0].setup(fd, memSizeBytes); in TEST() 120 const size_t memSizeBytes = dataSizeBytes + (2 * counterSizeBytes); in TEST() local 122 int fd = ashmem_create_region("TestMarshalling", memSizeBytes); in TEST() [all …]
|