Searched refs:sharedMemories (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 104 SharedMemoryParcelable sharedMemories[2]; in TEST() local 109 sharedMemories[0].setup(fd, memSizeBytes); in TEST() 115 EXPECT_EQ(AAUDIO_OK, sharedRegionA.resolve(sharedMemories, ®ion1)); in TEST() 128 EXPECT_EQ(AAUDIO_OK, sharedRegionB.resolve(sharedMemories, ®ion2)); 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/ |
D | AudioEndpointParcelable.cpp | 43 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/ |
D | Endpoint.aidl | 28 SharedFileRegion[] sharedMemories;
|