/hardware/interfaces/media/bufferpool/aidl/default/ |
D | BufferPool.cpp | 99 BufferId bufferId, in onBufferInvalidated() argument 102 if (it->isInvalidated(bufferId)) { in onBufferInvalidated() 180 ConnectionId connectionId, BufferId bufferId) { in handleOwnBuffer() argument 182 bool added = insert(&mUsingBuffers, connectionId, bufferId); in handleOwnBuffer() 184 auto iter = mBuffers.find(bufferId); in handleOwnBuffer() 187 insert(&mUsingConnections, bufferId, connectionId); in handleOwnBuffer() 192 ConnectionId connectionId, BufferId bufferId) { in handleReleaseBuffer() argument 193 bool deleted = erase(&mUsingBuffers, connectionId, bufferId); in handleReleaseBuffer() 195 auto iter = mBuffers.find(bufferId); in handleReleaseBuffer() 201 mFreeBuffers.insert(bufferId); in handleReleaseBuffer() [all …]
|
D | BufferPoolClient.cpp | 76 TransactionId transactionId, BufferId bufferId, 80 void postBufferRelease(BufferId bufferId); 83 BufferId bufferId, ConnectionId receiver, 88 BufferId bufferId, TransactionId transactionId, 92 BufferId bufferId, TransactionId transactionId, bool result, bool *needsSync); 105 const std::vector<uint8_t>& params, BufferId *bufferId, 109 TransactionId transactionId, BufferId bufferId, 358 BufferId bufferId; in allocate() local 361 BufferPoolStatus status = allocateBufferHandle(params, &bufferId, &handle); in allocate() 367 auto cacheIt = mCache.mBuffers.find(bufferId); in allocate() [all …]
|
D | BufferStatus.cpp | 42 bool isBufferInRange(BufferId from, BufferId to, BufferId bufferId) { in isBufferInRange() argument 44 return from <= bufferId && bufferId < to; in isBufferInRange() 46 return from <= bufferId || bufferId < to; in isBufferInRange() 132 message.bufferId = id; in postBufferRelease() 156 message.bufferId = invalidateId; in postBufferInvalidateAck() 171 TransactionId transactionId, BufferId bufferId, in postBufferStatusMessage() argument 182 release.bufferId = id; in postBufferStatusMessage() 195 message.bufferId = bufferId; in postBufferStatusMessage()
|
D | Connection.cpp | 37 if (fetch(it->transactionId, it->bufferId, _aidl_return)) { in fetch() 59 bool Connection::fetch(TransactionId transactionId, BufferId bufferId, in fetch() argument 64 mConnectionId, transactionId, bufferId, &handle); in fetch() 67 result->back().get<FetchResult::buffer>().id = bufferId; in fetch() 100 const std::vector<uint8_t> ¶ms, BufferId *bufferId, in allocate() argument 103 return mAccessor->allocate(mConnectionId, params, bufferId, handle); in allocate()
|
D | BufferPool.h | 89 bool isInvalidated(uint32_t bufferId) { in isInvalidated() 90 return isBufferInRange(mFrom, mTo, bufferId) && --mLeft == 0; in isInvalidated() 109 BufferId bufferId, 227 bool handleOwnBuffer(ConnectionId connectionId, BufferId bufferId); 238 bool handleReleaseBuffer(ConnectionId connectionId, BufferId bufferId);
|
D | Connection.h | 54 BufferId *bufferId, const native_handle_t **handle); 91 uint32_t bufferId,
|
D | BufferStatus.h | 30 bool isBufferInRange(BufferId from, BufferId to, BufferId bufferId); 124 BufferId bufferId,
|
/hardware/interfaces/camera/device/1.0/ |
D | ICameraDevicePreviewCallback.hal | 32 * @return bufferId A unique ID for the returned buffer. 33 * @return buffer A handle to the buffer to write into. Must be non-null if the bufferId has not 34 * been seen by HAL before. Must be null if the bufferId is seen before. HAL must keep track 35 * of the bufferId to actual buffer handle mapping. 38 dequeueBuffer() generates (Status status, uint64_t bufferId, handle buffer, uint32_t stride); 43 * @param bufferId The bufferId of the preview buffer 46 enqueueBuffer(uint64_t bufferId) generates (Status status); 53 * @param bufferId The bufferId of the preview buffer 56 cancelBuffer(uint64_t bufferId) generates (Status status);
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | EvsCamera.cpp | 182 } else if (buffer.bufferId >= mBuffers.size()) { in doneWithFrame() 184 buffer.bufferId, mBuffers.size()-1); in doneWithFrame() 185 } else if (!mBuffers[buffer.bufferId].inUse) { in doneWithFrame() 187 buffer.bufferId); in doneWithFrame() 190 mBuffers[buffer.bufferId].inUse = false; in doneWithFrame() 195 if (buffer.bufferId >= mFramesAllowed) { in doneWithFrame() 199 rec.handle = mBuffers[buffer.bufferId].handle; in doneWithFrame() 200 mBuffers[buffer.bufferId].handle = nullptr; in doneWithFrame() 429 buff.bufferId = idx; in generateFrames() 438 ALOGD("Delivered %p as id %d", buff.memHandle.getNativeHandle(), buff.bufferId); in generateFrames()
|
D | EvsDisplay.cpp | 46 mBuffer.bufferId = 0x3870; // Arbitrary magic number for self recognition in EvsDisplay() 208 mBuffer.memHandle.getNativeHandle(), mBuffer.bufferId); in getTargetBuffer() 228 if (buffer.bufferId != mBuffer.bufferId) { in returnTargetBufferForDisplay()
|
/hardware/interfaces/automotive/evs/1.1/default/ |
D | EvsCamera.cpp | 173 returnBufferLocked(buffer.bufferId, buffer.memHandle); in doneWithFrame() 258 returnBufferLocked(buffer.bufferId, buffer.buffer.nativeHandle); in doneWithFrame_1_1() 396 ALOGW("Failed to import a buffer %d", b.bufferId); in importExternalBuffers() 591 newBuffer.bufferId = idx; in generateFrames() 602 newBuffer.bufferId); in generateFrames() 677 .bufferId = buff.bufferId, in fillTestFrame() 694 void EvsCamera::returnBufferLocked(const uint32_t bufferId, const buffer_handle_t memHandle) { in returnBufferLocked() argument 697 } else if (bufferId >= mBuffers.size()) { in returnBufferLocked() 698 ALOGE("ignoring doneWithFrame called with invalid bufferId %d (max is %zu)", bufferId, in returnBufferLocked() 700 } else if (!mBuffers[bufferId].inUse) { in returnBufferLocked() [all …]
|
D | EvsDisplay.cpp | 58 mBuffer.bufferId = kDefaultDisplayBufferId; in EvsDisplay() 196 mBuffer.bufferId = kDefaultDisplayBufferId; in getTargetBuffer() 240 mBuffer.bufferId); in getTargetBuffer() 250 Return<EvsResult> EvsDisplay::returnTargetBufferForDisplayImpl(const uint32_t bufferId, in returnTargetBufferForDisplayImpl() argument 260 if (bufferId != mBuffer.bufferId) { in returnTargetBufferForDisplayImpl() 366 return returnTargetBufferForDisplayImpl(buffer.bufferId, buffer.memHandle); in returnTargetBufferForDisplay()
|
/hardware/google/gfxstream/guest/OpenglCodecCommon/include/gfxstream/guest/ |
D | GLSharedGroup.h | 198 BufferData * getBufferData(GLuint bufferId); 202 void addBufferData(GLuint bufferId, GLsizeiptr size, const void* data); 203 void updateBufferData(GLuint bufferId, GLsizeiptr size, const void* data); 204 void setBufferUsage(GLuint bufferId, GLenum usage); 205 void setBufferMapped(GLuint bufferId, bool mapped); 206 GLenum getBufferUsage(GLuint bufferId); 207 bool isBufferMapped(GLuint bufferId); 208 … GLenum subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, const void* data);
|
/hardware/google/gfxstream/guest/OpenglCodecCommon/ |
D | GLSharedGroup.cpp | 291 BufferData* GLSharedGroup::getBufferData(GLuint bufferId) { in getBufferData() argument 295 return findObjectOrDefault(m_buffers, bufferId); in getBufferData() 310 void GLSharedGroup::addBufferData(GLuint bufferId, GLsizeiptr size, const void* data) { in addBufferData() argument 314 m_buffers[bufferId] = new BufferData(size, data); in addBufferData() 317 void GLSharedGroup::updateBufferData(GLuint bufferId, GLsizeiptr size, const void* data) { in updateBufferData() argument 321 BufferData* currentBuffer = findObjectOrDefault(m_buffers, bufferId); in updateBufferData() 325 m_buffers[bufferId] = new BufferData(size, data); in updateBufferData() 328 void GLSharedGroup::setBufferUsage(GLuint bufferId, GLenum usage) { in setBufferUsage() argument 332 BufferData* data = findObjectOrDefault(m_buffers, bufferId); in setBufferUsage() 337 void GLSharedGroup::setBufferMapped(GLuint bufferId, bool mapped) { in setBufferMapped() argument [all …]
|
/hardware/interfaces/drm/1.0/default/ |
D | CryptoPlugin.cpp | 53 uint32_t bufferId) { in setSharedBufferBase() argument 59 mSharedBufferMap[bufferId] = hidlMemory; in setSharedBufferBase() 71 if (mSharedBufferMap.find(source.bufferId) == mSharedBufferMap.end()) { in decrypt() 78 if (mSharedBufferMap.find(dest.bufferId) == mSharedBufferMap.end()) { in decrypt() 123 sp<IMemory> sourceBase = mSharedBufferMap[source.bufferId]; in decrypt() 145 sp<IMemory> destBase = mSharedBufferMap[destBuffer.bufferId]; in decrypt()
|
/hardware/interfaces/media/bufferpool/1.0/ |
D | IConnection.hal | 27 * Retrieves a buffer using bufferId. The method must be called from 33 * @param bufferId Id of the buffer to be fetched. 39 * @return buffer The actual buffer which is specified with bufferId. 41 fetch(uint64_t transactionId, uint32_t bufferId) generates
|
/hardware/interfaces/media/bufferpool/2.0/ |
D | IConnection.hal | 27 * Retrieves a buffer using bufferId. The method must be called from 33 * @param bufferId Id of the buffer to be fetched. 39 * @return buffer The actual buffer which is specified with bufferId. 41 fetch(uint64_t transactionId, uint32_t bufferId) generates
|
/hardware/interfaces/camera/device/3.5/default/ |
D | CameraDeviceSession.cpp | 119 const buffer_handle_t& buf, uint64_t bufferId, int streamId) { in pushBufferId() argument 125 bIdMap[buf] = bufferId; in pushBufferId() 282 hBuf.bufferId, hBuf.buffer.getNativeHandle(), in requestStreamBuffers() 288 __FUNCTION__, streamId, hBuf.bufferId); in requestStreamBuffers() 290 pushBufferId(*(outBuf.buffer), hBuf.bufferId, streamId); in requestStreamBuffers() 297 __FUNCTION__, streamId, hBuf.bufferId); in requestStreamBuffers() 320 hBufs[i].bufferId = popBufferId(*(buffers[i]->buffer), hBufs[i].streamId); in returnStreamBuffers() 321 if (hBufs[i].bufferId == BUFFER_ID_NO_BUFFER) { in returnStreamBuffers()
|
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/1/android/hardware/camera/device/ |
D | BufferCache.aidl | 38 long bufferId;
|
/hardware/interfaces/camera/device/aidl/android/hardware/camera/device/ |
D | BufferCache.aidl | 39 long bufferId;
|
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/current/android/hardware/camera/device/ |
D | BufferCache.aidl | 38 long bufferId;
|
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/2/android/hardware/camera/device/ |
D | BufferCache.aidl | 38 long bufferId;
|
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/3/android/hardware/camera/device/ |
D | BufferCache.aidl | 38 long bufferId;
|
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/ |
D | SharedBuffer.aidl | 37 int bufferId;
|
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/ |
D | SharedBuffer.aidl | 37 int bufferId;
|