Lines Matching refs:sharedBuffer
257 0 /*sharedBuffer*/, false /*threadCanCallJava*/, sessionId, transferType,
266 const sp<IMemory>& sharedBuffer,
290 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo,
336 const sp<IMemory>& sharedBuffer,
366 if (sharedBuffer != 0) {
376 if (cbf == NULL || sharedBuffer != 0) {
377 ALOGE("%s(): Transfer type %s but cbf == NULL || sharedBuffer != 0",
385 if (sharedBuffer != 0) {
386 ALOGE("%s(): Transfer type TRANSFER_OBTAIN but sharedBuffer != 0", __func__);
392 if (sharedBuffer == 0) {
393 ALOGE("%s(): Transfer type TRANSFER_SHARED but sharedBuffer == 0", __func__);
404 mSharedBuffer = sharedBuffer;
408 ALOGV_IF(sharedBuffer != 0, "%s(): sharedBuffer: %p, size: %zu",
409 __func__, sharedBuffer->pointer(), sharedBuffer->size());
1413 bool sharedBuffer = mSharedBuffer != 0;
1423 bool fastAllowed = sharedBuffer || transferAllowed;
1455 input.sharedBuffer = mSharedBuffer;