/frameworks/av/drm/libmediadrm/ |
H A D | Crypto.cpp | 242 const sp<IMemory> &sharedBuffer, size_t offset, 256 const void *srcPtr = static_cast<uint8_t *>(sharedBuffer->pointer()) + offset; 236 decrypt( DestinationType dstType, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 102 const sp<IMemory> &sharedBuffer, size_t offset, 133 data.writeStrongBinder(IInterface::asBinder(sharedBuffer)); 296 sp<IMemory> sharedBuffer = local 298 if (sharedBuffer == NULL) { 347 } else if (totalSize > sharedBuffer->size()) { 349 } else if ((size_t)offset > sharedBuffer->size() - totalSize) { 357 sharedBuffer, offset, 97 decrypt( DestinationType dstType, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
H A D | AudioTrack.cpp | 214 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId, transferType, 223 const sp<IMemory>& sharedBuffer, 245 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, 287 const sp<IMemory>& sharedBuffer, 307 if (sharedBuffer != 0) { 316 if (cbf == NULL || sharedBuffer != 0) { 317 ALOGE("Transfer type TRANSFER_CALLBACK but cbf == NULL || sharedBuffer != 0"); 323 if (sharedBuffer != 0) { 324 ALOGE("Transfer type TRANSFER_OBTAIN but sharedBuffer != 0"); 329 if (sharedBuffer 218 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument 277 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument [all...] |
H A D | IAudioFlinger.cpp | 105 const sp<IMemory>& sharedBuffer, 125 if (sharedBuffer != 0) { 127 data.writeStrongBinder(IInterface::asBinder(sharedBuffer)); 98 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t pid, pid_t tid, audio_session_t *sessionId, int clientUid, status_t *status) argument
|
/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 33 const sp<IMemory>& sharedBuffer, 107 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:Track
|
H A D | Tracks.cpp | 345 const sp<IMemory>& sharedBuffer, 351 (sharedBuffer != 0) ? sharedBuffer->pointer() : buffer, 357 mSharedBuffer(sharedBuffer), 373 // client == 0 implies sharedBuffer == 0 374 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); 376 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %zu", sharedBuffer->pointer(), 377 sharedBuffer 336 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, const sp<IMemory>& sharedBuffer, audio_session_t sessionId, int uid, IAudioFlinger::track_flags_t flags, track_type type) argument [all...] |
H A D | AudioFlinger.cpp | 580 const sp<IMemory>& sharedBuffer, 632 if (sharedBuffer != 0 && sharedBuffer->pointer() == NULL) { 633 ALOGE("createTrack() sharedBuffer is non-0 but has NULL pointer()"); 679 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus); 573 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *frameCount, IAudioFlinger::track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t pid, pid_t tid, audio_session_t *sessionId, int clientUid, status_t *status) argument
|
H A D | Threads.cpp | 1754 const sp<IMemory>& sharedBuffer, 1786 if (sharedBuffer == 0) { 1797 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied: sharedBuffer=%p frameCount=%zu " 1801 sharedBuffer.get(), frameCount, mFrameCount, format, mFormat, 1813 && audio_has_proportional_frames(format) && sharedBuffer == 0) { 1901 channelMask, frameCount, NULL, sharedBuffer, 2044 track->sharedBuffer() != 0 ? Track::FS_FILLED : Track::FS_FILLING; 3936 if (track->sharedBuffer() == 0) { 4018 track->sharedBuffer() != 0); 4051 if ((track->sharedBuffer() 1747 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, const sp<IMemory>& sharedBuffer, audio_session_t sessionId, IAudioFlinger::track_flags_t *flags, pid_t tid, int uid, status_t *status) argument [all...] |
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 245 * identified by the argument sharedBuffer, which should be non-0. 246 * If sharedBuffer is zero, this constructor is equivalent to the previous constructor 258 const sp<IMemory>& sharedBuffer, 288 * If sharedBuffer is non-0, the frameCount parameter is ignored and 307 const sp<IMemory>& sharedBuffer = 0, 377 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } function in class:android::AudioTrack
|