Searched refs:sharedMemoryA (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 73 SharedMemoryParcelable sharedMemoryA; in TEST() local 77 sharedMemoryA.setup(fd, memSizeBytes); in TEST() 79 EXPECT_EQ(AAUDIO_OK, sharedMemoryA.resolve(0, 16, ®ion1)); // fits in region in TEST() 80 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(-2, 16, ®ion1)); // offset is negative 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() 88 writeToParcel(sharedMemoryA, &parcel); in TEST() 92 EXPECT_EQ(sharedMemoryA.getSizeInBytes(), sharedMemoryB.getSizeInBytes()); in TEST()
|