Searched defs:memSizeBytes (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/media/libaaudio/tests/
H A Dtest_marshalling.cpp52 const size_t memSizeBytes = 840; local
53 unique_fd fd(ashmem_create_region("TestMarshalling", memSizeBytes));
55 sharedMemoryA.setup(fd, memSizeBytes);
59 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, &region1)); // size too big
60 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, &region1)); // goes past the end
85 const size_t memSizeBytes = 840; local
86 unique_fd fd(ashmem_create_region("TestMarshalling", memSizeBytes));
88 sharedMemories[0].setup(fd, memSizeBytes);
122 const size_t memSizeBytes = dataSizeBytes + (2 * counterSizeBytes); local
124 unique_fd fd(ashmem_create_region("TestMarshalling Z", memSizeBytes));
[all...]

Completed in 54 milliseconds