Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/binding/
DSharedMemoryParcelable.cpp40 SharedMemoryParcelable::SharedMemoryParcelable(SharedFileRegion&& parcelable) { in SharedMemoryParcelable() function in SharedMemoryParcelable
46 SharedFileRegion SharedMemoryParcelable::parcelable() && { in parcelable()
54 SharedMemoryParcelable SharedMemoryParcelable::dup() const { in dup()
55 SharedMemoryParcelable result; in dup()
60 void SharedMemoryParcelable::setup(const unique_fd& fd, int32_t sizeInBytes) { in setup()
67 void SharedMemoryParcelable::setup(const SharedMemoryParcelable &sharedMemoryParcelable) { in setup()
71 aaudio_result_t SharedMemoryParcelable::close() { in close()
83 aaudio_result_t SharedMemoryParcelable::closeAndReleaseFd() { in closeAndReleaseFd()
91 aaudio_result_t SharedMemoryParcelable::resolveSharedMemory(const unique_fd& fd) { in resolveSharedMemory()
102 aaudio_result_t SharedMemoryParcelable::resolve(int32_t offsetInBytes, int32_t sizeInBytes, in resolve()
[all …]
DSharedMemoryParcelable.h38 class SharedMemoryParcelable {
40 SharedMemoryParcelable() = default;
45 explicit SharedMemoryParcelable(android::media::SharedFileRegion&& parcelable);
55 void setup(const SharedMemoryParcelable& sharedMemoryParcelable);
76 SharedMemoryParcelable dup() const;
DSharedRegionParcelable.h51 aaudio_result_t resolve(SharedMemoryParcelable *memoryParcels, void **regionAddressPtr);
53 bool isFileDescriptorSafe(SharedMemoryParcelable *memoryParcels);
DRingBufferParcelable.h78 bool isFileDescriptorSafe(SharedMemoryParcelable *memoryParcels);
80 … aaudio_result_t resolve(SharedMemoryParcelable *memoryParcels, RingBufferDescriptor *descriptor);
DSharedRegionParcelable.cpp62 aaudio_result_t SharedRegionParcelable::resolve(SharedMemoryParcelable *memoryParcels, in resolve()
72 SharedMemoryParcelable *memoryParcel = &memoryParcels[mSharedMemoryIndex]; in resolve()
DAudioEndpointParcelable.h93 SharedMemoryParcelable mSharedMemories[MAX_SHARED_MEMORIES];
DAudioEndpointParcelable.cpp44 mSharedMemories[i].~SharedMemoryParcelable(); in AudioEndpointParcelable()
45 new(&mSharedMemories[i]) SharedMemoryParcelable(std::move(parcelable.sharedMemories[i])); in AudioEndpointParcelable()
DRingBufferParcelable.cpp109 aaudio_result_t RingBufferParcelable::resolve(SharedMemoryParcelable *memoryParcels, RingBufferDesc… in resolve()
/frameworks/av/media/libaaudio/tests/
Dtest_marshalling.cpp42 SharedMemoryParcelable copy<SharedMemoryParcelable>(const SharedMemoryParcelable& object) { in copy()
73 SharedMemoryParcelable sharedMemoryA; in TEST()
91 SharedMemoryParcelable sharedMemoryB = readFromParcel<SharedMemoryParcelable>(parcel); in TEST()
104 SharedMemoryParcelable sharedMemories[2]; in TEST()
135 SharedMemoryParcelable sharedMemories[2]; in TEST()
/frameworks/av/media/libaaudio/src/
DAndroid.bp56 "-android-cloexec-dup", // found in SharedMemoryParcelable.cpp
57 "-bugprone-macro-parentheses", // found in SharedMemoryParcelable.h
67 "-performance-no-int-to-ptr", // found in SharedMemoryParcelable.h
192 "binding/SharedMemoryParcelable.cpp",