Searched refs:memSizeBytes (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 74 const size_t memSizeBytes = 840; in TEST() local 75 unique_fd fd(ashmem_create_region("TestMarshalling", memSizeBytes)); in TEST() 77 sharedMemoryA.setup(fd, memSizeBytes); in TEST() 81 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, ®ion1)); // size too big in TEST() 82 … EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, ®ion1)); // goes past the end in TEST() 106 const size_t memSizeBytes = 840; in TEST() local 107 unique_fd fd(ashmem_create_region("TestMarshalling", memSizeBytes)); in TEST() 109 sharedMemories[0].setup(fd, memSizeBytes); in TEST() 142 const size_t memSizeBytes = dataSizeBytes + (2 * counterSizeBytes); in TEST() local 144 unique_fd fd(ashmem_create_region("TestMarshalling Z", memSizeBytes)); in TEST() [all …]
|