Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp104 SharedMemoryParcelable sharedMemories[2]; in TEST() local
109 sharedMemories[0].setup(fd, memSizeBytes); in TEST()
115 EXPECT_EQ(AAUDIO_OK, sharedRegionA.resolve(sharedMemories, &region1)); in TEST()
128 EXPECT_EQ(AAUDIO_OK, sharedRegionB.resolve(sharedMemories, &region2)); in TEST()
135 SharedMemoryParcelable sharedMemories[2]; in TEST() local
146 sharedMemories[0].setup(fd, memSizeBytes); in TEST()
161 EXPECT_EQ(AAUDIO_OK, ringBufferA.resolve(sharedMemories, &descriptorA)); in TEST()
177 EXPECT_EQ(AAUDIO_OK, ringBufferB.resolve(sharedMemories, &descriptorB)); in TEST()
/frameworks/av/media/libaaudio/src/binding/
DAudioEndpointParcelable.cpp43 mNumSharedMemories(parcelable.sharedMemories.size()) { in AudioEndpointParcelable()
44 for (size_t i = 0; i < parcelable.sharedMemories.size() && i < MAX_SHARED_MEMORIES; ++i) { in AudioEndpointParcelable()
47 new(&mSharedMemories[i]) SharedMemoryParcelable(std::move(parcelable.sharedMemories[i])); in AudioEndpointParcelable()
63 result.sharedMemories.reserve(std::min(mNumSharedMemories, MAX_SHARED_MEMORIES)); in parcelable()
65 result.sharedMemories.emplace_back(std::move(mSharedMemories[i]).parcelable()); in parcelable()
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/
DEndpoint.aidl28 SharedFileRegion[] sharedMemories;