Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp136 RingBufferParcelable ringBufferA; in TEST() local
153 ringBufferA.setupMemory(sharedMemoryIndex, dataOffset, dataSizeBytes, in TEST()
155 ringBufferA.setFramesPerBurst(framesPerBurst); in TEST()
156 ringBufferA.setBytesPerFrame(bytesPerFrame); in TEST()
157 ringBufferA.setCapacityInFrames(dataSizeBytes / bytesPerFrame); in TEST()
161 EXPECT_EQ(AAUDIO_OK, ringBufferA.resolve(sharedMemories, &descriptorA)); in TEST()
170 writeToParcel(ringBufferA, &parcel); in TEST()
185 EXPECT_EQ(ringBufferA.getFramesPerBurst(), ringBufferB.getFramesPerBurst()); in TEST()
186 EXPECT_EQ(ringBufferA.getBytesPerFrame(), ringBufferB.getBytesPerFrame()); in TEST()
187 EXPECT_EQ(ringBufferA.getCapacityInFrames(), ringBufferB.getCapacityInFrames()); in TEST()