Home
last modified time | relevance | path

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

/frameworks/base/media/libmedia/
DAudioTrack.cpp109 const sp<IMemory>& sharedBuffer, in AudioTrack() argument
119 sharedBuffer, false, sessionId); in AudioTrack()
151 const sp<IMemory>& sharedBuffer, in set() argument
156 …LOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), sharedBuffer->si… in set()
230 sharedBuffer, in set()
252 mSharedBuffer = sharedBuffer; in set()
310 sp<IMemory>& AudioTrack::sharedBuffer() in sharedBuffer() function in android::AudioTrack
717 const sp<IMemory>& sharedBuffer, in createTrack_l() argument
743 if (sharedBuffer != 0) { in createTrack_l()
744 frameCount = sharedBuffer->size(); in createTrack_l()
[all …]
DIAudioFlinger.cpp91 const sp<IMemory>& sharedBuffer, in createTrack() argument
106 data.writeStrongBinder(sharedBuffer->asBinder()); in createTrack()
/frameworks/base/include/media/
DAudioTrack.h167 const sp<IMemory>& sharedBuffer = 0,
196 const sp<IMemory>& sharedBuffer = 0,
221 sp<IMemory>& sharedBuffer();
445 const sp<IMemory>& sharedBuffer,
DIAudioFlinger.h55 const sp<IMemory>& sharedBuffer,
/frameworks/base/include/utils/
DSharedBuffer.h49 static inline const SharedBuffer* sharedBuffer(const void* data);
107 const SharedBuffer* SharedBuffer::sharedBuffer(const void* data) { in sharedBuffer() function
DString16.h59 inline const SharedBuffer* sharedBuffer() const;
140 inline const SharedBuffer* String16::sharedBuffer() const in sharedBuffer() function
DString8.h62 inline const SharedBuffer* sharedBuffer() const;
266 inline const SharedBuffer* String8::sharedBuffer() const in sharedBuffer() function
/frameworks/base/libs/utils/
DVectorImpl.cpp53 SharedBuffer::sharedBuffer(mStorage)->acquire(); in VectorImpl()
76 SharedBuffer::sharedBuffer(mStorage)->acquire(); in operator =()
88 SharedBuffer* sb = SharedBuffer::sharedBuffer(mStorage)->attemptEdit(); in editArrayImpl()
104 return SharedBuffer::sharedBuffer(mStorage)->size() / mItemSize; in capacity()
339 const SharedBuffer* sb = SharedBuffer::sharedBuffer(mStorage); in release_storage()
365 const SharedBuffer* cur_sb = SharedBuffer::sharedBuffer(mStorage); in _grow()
417 const SharedBuffer* cur_sb = SharedBuffer::sharedBuffer(mStorage); in _shrink()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp488 if (pTrack->sharedBuffer() == 0) { in writeToTrack()
493 if ((size_t)sizeInBytes > pTrack->sharedBuffer()->size()) { in writeToTrack()
494 sizeInBytes = pTrack->sharedBuffer()->size(); in writeToTrack()
496 memcpy(pTrack->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes); in writeToTrack()
503 if (((size_t)sizeInBytes)*2 > pTrack->sharedBuffer()->size()) { in writeToTrack()
504 sizeInBytes = pTrack->sharedBuffer()->size() / 2; in writeToTrack()
507 int16_t *dst = (int16_t *)pTrack->sharedBuffer()->pointer(); in writeToTrack()
/frameworks/base/services/audioflinger/
DAudioFlinger.h85 const sp<IMemory>& sharedBuffer,
328 const sp<IMemory>& sharedBuffer,
587 const sp<IMemory>& sharedBuffer,
729 const sp<IMemory>& sharedBuffer,
DAudioFlinger.cpp379 const sp<IMemory>& sharedBuffer, in createTrack() argument
444 channelMask, frameCount, sharedBuffer, lSessionId, &lStatus); in createTrack()
1480 const sp<IMemory>& sharedBuffer, in createTrack_l() argument
1532 channelMask, frameCount, sharedBuffer, sessionId); in createTrack_l()
3138 const sp<IMemory>& sharedBuffer, in TrackBase() argument
3151 …LOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), sharedBuffer->si… in TrackBase()
3157 if (sharedBuffer == 0) { in TrackBase()
3172 if (sharedBuffer == 0) { in TrackBase()
3179 mBuffer = sharedBuffer->pointer(); in TrackBase()
3299 const sp<IMemory>& sharedBuffer, in Track() argument
[all …]