Home
last modified time | relevance | path

Searched refs:sharedMemoryA (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp48 SharedMemoryParcelable sharedMemoryA; in TEST() local
53 sharedMemoryA.setup(fd, memSizeBytes); in TEST()
55 EXPECT_EQ(AAUDIO_OK, sharedMemoryA.resolve(0, 16, &region1)); // fits in region in TEST()
56 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(-2, 16, &region1)); // offset is negative in TEST()
57 EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(0, memSizeBytes + 8, &region1)); // size too big in TEST()
58 … EXPECT_NE(AAUDIO_OK, sharedMemoryA.resolve(memSizeBytes - 8, 16, &region1)); // goes past the end in TEST()
64 sharedMemoryA.writeToParcel(&parcel); in TEST()
68 EXPECT_EQ(sharedMemoryA.getSizeInBytes(), sharedMemoryB.getSizeInBytes()); in TEST()