Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/hardware/qcom/sm8150/display/gralloc/
DQtiMapperExtensions.cpp50 Return<void> QtiMapperExtensions::getMapSecureBufferFlag(void *buffer, in getMapSecureBufferFlag()
66 Return<void> QtiMapperExtensions::getInterlacedFlag(void *buffer, getInterlacedFlag_cb hidl_cb) { in getInterlacedFlag()
81 Return<void> QtiMapperExtensions::getCustomDimensions(void *buffer, in getCustomDimensions()
97 Return<void> QtiMapperExtensions::getRgbDataAddress(void *buffer, getRgbDataAddress_cb hidl_cb) { in getRgbDataAddress()
133 Return<void> QtiMapperExtensions::getColorSpace(void *buffer, getColorSpace_cb hidl_cb) { in getColorSpace()
145 Return<void> QtiMapperExtensions::getYuvPlaneInfo(void *buffer, getYuvPlaneInfo_cb hidl_cb) { in getYuvPlaneInfo()
168 Return<Error> QtiMapperExtensions::setSingleBufferMode(void *buffer, bool enable) { in setSingleBufferMode()
181 Return<void> QtiMapperExtensions::getFd(void *buffer, getFd_cb hidl_cb) { in getFd()
193 Return<void> QtiMapperExtensions::getWidth(void *buffer, getWidth_cb hidl_cb) { in getWidth()
205 Return<void> QtiMapperExtensions::getHeight(void *buffer, getHeight_cb hidl_cb) { in getHeight()
[all …]
DQtiMapper.cpp123 Return<Error> QtiMapper::freeBuffer(void *buffer) { in freeBuffer()
156 Error QtiMapper::LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence) { in LockBuffer()
175 Return<void> QtiMapper::lock(void *buffer, uint64_t cpu_usage, in lock()
190 Return<void> QtiMapper::lockYCbCr(void *buffer, uint64_t cpu_usage, in lockYCbCr()
215 Return<void> QtiMapper::unlock(void *buffer, unlock_cb hidl_cb) { in unlock()
225 Return<Error> QtiMapper::validateBufferSize(void *buffer, in validateBufferSize()
243 Return<void> QtiMapper::getTransportSize(void *buffer, IMapper_3_0::getTransportSize_cb hidl_cb) { in getTransportSize()
274 buffer_handle_t buffer; in isSupported() local
Dgr_device_impl.cpp278 buffer_handle_t buffer) { in CheckDeviceAndHandle()
365 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
380 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
394 gralloc1_error_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
410 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
424 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
438 gralloc1_error_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
452 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
509 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
520 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
[all …]
/hardware/interfaces/confirmationui/support/test/
Dandroid_cbor_test.cpp81 uint8_t buffer[0x1000]; in TEST() local
92 uint8_t buffer[0x1000]; in TEST() local
105 uint8_t buffer[20]; in TEST() local
113 uint8_t buffer[20]; in TEST() local
121 uint8_t buffer[20]; in TEST() local
129 uint8_t buffer[20]; in TEST() local
137 uint8_t buffer[20]; in TEST() local
145 uint8_t buffer[20]; in TEST() local
153 uint8_t buffer[20]; in TEST() local
161 uint8_t buffer[20]; in TEST() local
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h71 void* buffer = addImportedBuffer(bufferHandle); in importBuffer() local
82 Return<Error> freeBuffer(void* buffer) override { in freeBuffer()
95 Return<void> lock(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lock()
116 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lockYCbCr()
138 Return<void> unlock(void* buffer, IMapper::unlock_cb hidl_cb) override { in unlock()
163 virtual native_handle_t* removeImportedBuffer(void* buffer) { in removeImportedBuffer()
167 virtual native_handle_t* getImportedBuffer(void* buffer) const { in getImportedBuffer()
171 virtual const native_handle_t* getConstImportedBuffer(void* buffer) const { in getConstImportedBuffer()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGrallocLoader.h64 native_handle_t* remove(void* buffer) { in remove()
71 native_handle_t* get(void* buffer) { in get()
78 const native_handle_t* getConst(void* buffer) { in getConst()
98 native_handle_t* removeImportedBuffer(void* buffer) override { in removeImportedBuffer()
102 native_handle_t* getImportedBuffer(void* buffer) const override { in getImportedBuffer()
106 const native_handle_t* getConstImportedBuffer(void* buffer) const override { in getConstImportedBuffer()
/hardware/qcom/sdm845/display/gralloc/
DQtiMapper.cpp123 Return<Error> QtiMapper::freeBuffer(void *buffer) { in freeBuffer()
156 Error QtiMapper::LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence) { in LockBuffer()
175 Return<void> QtiMapper::lock(void *buffer, uint64_t cpu_usage, in lock()
190 Return<void> QtiMapper::lockYCbCr(void *buffer, uint64_t cpu_usage, in lockYCbCr()
215 Return<void> QtiMapper::unlock(void *buffer, unlock_cb hidl_cb) { in unlock()
225 Return<Error> QtiMapper::validateBufferSize(void* buffer, in validateBufferSize()
243 Return<void> QtiMapper::getTransportSize(void *buffer, in getTransportSize()
268 Return<void> QtiMapper::getMapSecureBufferFlag(void *buffer, getMapSecureBufferFlag_cb hidl_cb) { in getMapSecureBufferFlag()
283 Return<void> QtiMapper::getInterlacedFlag(void *buffer, getInterlacedFlag_cb hidl_cb) { in getInterlacedFlag()
298 Return<void> QtiMapper::getCustomDimensions(void *buffer, getCustomDimensions_cb hidl_cb) { in getCustomDimensions()
[all …]
Dgr_device_impl.cpp278 buffer_handle_t buffer) { in CheckDeviceAndHandle()
365 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
377 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
387 gralloc1_error_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
399 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
409 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
419 gralloc1_error_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
433 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
490 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
501 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp214 buffer_handle_t buffer) { in CheckDeviceAndHandle()
304 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
316 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
326 gralloc1_error_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
338 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
348 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
358 gralloc1_error_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
369 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
393 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
404 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.cpp196 buffer_handle_t buffer) { in CheckDeviceAndHandle()
286 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
298 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
308 gralloc1_error_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
320 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
330 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
340 gralloc1_error_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
351 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
375 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
386 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
[all …]
/hardware/qcom/display/msm8909/gralloc/
Dgr_device_impl.cpp201 buffer_handle_t buffer) { in CheckDeviceAndHandle()
291 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
303 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
313 gralloc1_error_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
325 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
335 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
345 gralloc1_error_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
360 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
392 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
403 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_device_impl.cpp201 buffer_handle_t buffer) { in CheckDeviceAndHandle()
291 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
303 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
313 gralloc1_error_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
325 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
335 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
345 gralloc1_error_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
360 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
392 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
403 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
[all …]
/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp64 bool Codec2Buffer::copyLinear(const std::shared_ptr<C2Buffer> &buffer) { in copyLinear()
106 bool LocalLinearBuffer::copy(const std::shared_ptr<C2Buffer> &buffer) { in copy()
115 const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer) in DummyContainerBuffer()
129 bool DummyContainerBuffer::copy(const std::shared_ptr<C2Buffer> &buffer) { in copy()
155 bool LinearBlockBuffer::copy(const std::shared_ptr<C2Buffer> &buffer) { in copy()
172 const sp<AMessage> &format, const std::shared_ptr<C2Buffer> &buffer) { in Allocate()
188 const std::shared_ptr<C2Buffer> &buffer) in ConstLinearBlockBuffer()
518 sp<ABuffer> buffer = converter.wrap(); in Allocate() local
538 const sp<ABuffer> &buffer, in GraphicBlockBuffer()
573 ANativeWindowBuffer *buffer = (ANativeWindowBuffer *)meta->pBuffer; in asC2Buffer() local
[all …]
DSkipCutBuffer.cpp59 void SkipCutBuffer::submit(MediaBuffer *buffer) { in submit()
92 void SkipCutBuffer::submitInternal(const sp<T>& buffer) { in submitInternal()
124 void SkipCutBuffer::submit(const sp<ABuffer>& buffer) { in submit()
128 void SkipCutBuffer::submit(const sp<MediaCodecBuffer>& buffer) { in submit()
DCCodecBufferChannel.cpp240 void submit(const sp<MediaCodecBuffer> &buffer) { in submit()
317 sp<ABuffer> buffer = new VectorBuffer(std::move(*it), shared_from_this()); in newBuffer() local
441 size_t assignSlot(const sp<Codec2Buffer> &buffer) { in assignSlot()
465 const sp<MediaCodecBuffer> &buffer, in releaseSlot()
580 sp<Codec2Buffer> *buffer, in grabBuffer()
615 const sp<MediaCodecBuffer> &buffer, in returnBuffer()
736 bool requestNewBuffer(size_t *index, sp<MediaCodecBuffer> *buffer) override { in requestNewBuffer()
748 const sp<MediaCodecBuffer> &buffer, in releaseBuffer()
773 bool requestNewBuffer(size_t *index, sp<MediaCodecBuffer> *buffer) override { in requestNewBuffer()
792 const sp<MediaCodecBuffer> &buffer, in releaseBuffer()
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp187 char buffer[BUFFER_LENGTH] = {}; in dump() local
279 auto buffer = std::make_shared<Buffer>(handle, backingStore, in allocate() local
332 const std::shared_ptr<Buffer>& buffer) in retain()
340 const std::shared_ptr<Buffer>& buffer) in release()
418 auto buffer = std::make_shared<Buffer>(bufferHandle, backingStore, in retain() local
440 const std::shared_ptr<Buffer>& buffer, in lock()
472 const std::shared_ptr<Buffer>& buffer, in lockFlex()
517 const std::shared_ptr<Buffer>& buffer, in unlock()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp56 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local
63 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local
167 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer() local
182 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock() local
214 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lockYCbCr() local
240 auto buffer = const_cast<native_handle_t*>(bufferHandle); in unlock() local
264 auto buffer = const_cast<native_handle_t*>(bufferHandle); in validateBufferSize() local
272 auto buffer = const_cast<native_handle_t*>(bufferHandle); in getTransportSize() local
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp41 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local
48 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local
152 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer() local
166 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock() local
192 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lockYCbCr() local
218 auto buffer = const_cast<native_handle_t*>(bufferHandle); in unlock() local
/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp102 char buffer[SIZE]; in dumpInternals() local
128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) in write()
144 char buffer[SIZE]; in dump() local
175 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) in read()
187 char buffer[SIZE]; in dump() local
/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp100 void RemoteSubmixTest::GenerateData(char* buffer, size_t bufferSize) { in GenerateData()
133 audio_stream_in_t* streamIn, char* buffer, size_t bufferSize) { in ReadFromStream()
138 void RemoteSubmixTest::VerifyBufferAllZeroes(char* buffer, size_t bufferSize) { in VerifyBufferAllZeroes()
147 void RemoteSubmixTest::VerifyBufferNotZeroes(char* buffer, size_t bufferSize) { in VerifyBufferNotZeroes()
173 audio_stream_out_t* streamOut, const char* buffer, size_t bufferSize) { in WriteIntoStream()
180 std::unique_ptr<char[]> buffer(new char[bufferSize]); in WriteSomethingIntoStream() local
235 std::unique_ptr<char[]> buffer(new char[bufferSize]); in TEST_F() local
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DTpdu.cc93 uint8_t buffer[TPDU_MAX_LENGTH]; in Tpdu_isChecksumOk() local
151 uint8_t buffer[TPDU_MAX_LENGTH]; in Tpdu_formTpdu() local
270 uint8_t buffer[tpdu->len + 5]; in Tpdu_toHexString() local
/hardware/ril/libril/
Dsap_service.cpp208 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq() local
248 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq() local
301 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq() local
343 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq() local
385 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq() local
426 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq() local
469 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq() local
513 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in setTransferProtocolReq() local
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DCommConn.cpp46 std::vector<uint8_t> buffer(static_cast<size_t>(numBytes)); in sendMessage() local
56 std::vector<uint8_t> buffer; in readThread() local
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraBufferMaps.cpp111 void *buffer) in QCameraBufferMaps()
173 void *buffer) in enqueue()
234 void *buffer) in makeSingletonBufMapList()
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapper.h41 Return<Error> validateBufferSize(void* buffer, in validateBufferSize()
52 Return<void> getTransportSize(void* buffer, IMapper::getTransportSize_cb hidl_cb) { in getTransportSize()

12345678910>>...20