/hardware/interfaces/confirmationui/support/test/ |
D | android_cbor_test.cpp | 81 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/qcom/sm8150/display/gralloc/ |
D | QtiMapperExtensions.cpp | 50 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 …]
|
D | QtiMapper.cpp | 123 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() 191 Return<void> QtiMapper::lockYCbCr(void *buffer, uint64_t cpu_usage, in lockYCbCr() 216 Return<void> QtiMapper::unlock(void *buffer, unlock_cb hidl_cb) { in unlock() 226 Return<Error> QtiMapper::validateBufferSize(void *buffer, in validateBufferSize() 244 Return<void> QtiMapper::getTransportSize(void *buffer, IMapper_3_0::getTransportSize_cb hidl_cb) { in getTransportSize() 279 buffer_handle_t buffer; in isSupported() local
|
D | gr_device_impl.cpp | 278 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/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/ |
D | Mapper.h | 71 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/qcom/sdm845/display/gralloc/ |
D | QtiMapper.cpp | 123 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() 270 Return<void> QtiMapper::getMapSecureBufferFlag(void *buffer, getMapSecureBufferFlag_cb hidl_cb) { in getMapSecureBufferFlag() 285 Return<void> QtiMapper::getInterlacedFlag(void *buffer, getInterlacedFlag_cb hidl_cb) { in getInterlacedFlag() 300 Return<void> QtiMapper::getCustomDimensions(void *buffer, getCustomDimensions_cb hidl_cb) { in getCustomDimensions() [all …]
|
D | gr_device_impl.cpp | 278 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/msm8996/libgralloc1/ |
D | gr_device_impl.cpp | 196 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/msm8998/libgralloc1/ |
D | gr_device_impl.cpp | 214 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/msm8909/gralloc/ |
D | gr_device_impl.cpp | 201 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/ |
D | gr_device_impl.cpp | 201 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/camera/common/hal/utils/ |
D | zsl_buffer_manager.cc | 95 for (auto& buffer : buffers) { in AllocateBuffersLocked() local 127 buffer_handle_t buffer = GetEmptyBufferLocked(); in GetEmptyBuffer() local 145 buffer_handle_t buffer = kInvalidBufferHandle; in GetEmptyBufferLocked() local 219 buffer_handle_t buffer = empty_zsl_buffers_.back(); in FreeUnusedBuffersLocked() local 236 status_t ZslBufferManager::ReturnEmptyBuffer(buffer_handle_t buffer) { in ReturnEmptyBuffer() 264 const StreamBuffer& buffer) { in ReturnFilledBuffer() 477 for (auto& buffer : buffers) { in AddPendingBuffers() local
|
D | result_dispatcher.cc | 107 for (auto& buffer : pending_request.input_buffers) { in AddPendingRequestLocked() local 116 for (auto& buffer : pending_request.output_buffers) { in AddPendingRequestLocked() local 155 const StreamBuffer& buffer, in AddPendingBufferLocked() 203 for (auto& buffer : result->output_buffers) { in AddResult() local 212 for (auto& buffer : result->input_buffers) { in AddResult() local 339 StreamBuffer buffer) { in AddBuffer()
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | pending_requests_tracker.cc | 73 for (auto& buffer : requested_buffers) { in TrackRequestBuffersLocked() local 91 for (auto& buffer : returned_buffers) { in TrackReturnedResultBuffers() local 120 for (auto& buffer : returned_buffers) { in TrackReturnedAcquiredBuffers() local 145 for (auto& buffer : buffers) { in DoStreamsHaveEnoughBuffersLocked() local 188 for (auto& buffer : requested_buffers) { in UpdateRequestedStreamIdsLocked() local
|
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
D | Gralloc1On0Adapter.cpp | 187 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/ |
D | MapperVts.cpp | 56 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/4.0/utils/vts/ |
D | MapperVts.cpp | 57 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local 64 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local 183 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer() local 197 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock() local 222 auto buffer = const_cast<native_handle_t*>(bufferHandle); in unlock() local 244 auto buffer = const_cast<native_handle_t*>(bufferHandle); in flushLockedBuffer() local 266 auto buffer = const_cast<native_handle_t*>(bufferHandle); in rereadLockedBuffer() local 274 auto buffer = const_cast<native_handle_t*>(bufferHandle); in validateBufferSize() local 282 auto buffer = const_cast<native_handle_t*>(bufferHandle); in getTransportSize() local
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
D | MapperVts.cpp | 41 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/ |
D | AudioHardwareStub.cpp | 102 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/google/camera/common/hal/tests/ |
D | internal_stream_manager_tests.cc | 200 for (auto& buffer : buffers) { in TEST() local 221 for (auto& buffer : buffers) { in TEST() local 227 for (auto& buffer : buffers) { in TEST() local 255 for (auto& buffer : buffers) { in TEST() local 263 for (auto& buffer : buffers) { in TEST() local
|
D | result_dispatcher_tests.cc | 46 StreamBuffer buffer; member 106 for (auto& buffer : new_result->output_buffers) { in ProcessCaptureResult() local 110 for (auto& buffer : new_result->input_buffers) { in ProcessCaptureResult() local 117 void ProcessReceivedBuffer(uint32_t frame_number, const StreamBuffer& buffer) { in ProcessReceivedBuffer() 178 for (auto& buffer : buffers_it->second) { in IsOutputBufferReceivedLocked() local 241 auto buffer = buffers.begin(); in VerifyBuffersOrderLocked() local 368 StreamBuffer buffer = { in TEST_F() local
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | Tpdu.cc | 93 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/libhardware/modules/audio_remote_submix/tests/ |
D | remote_submix_tests.cpp | 100 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/ril/libril/ |
D | sap_service.cpp | 208 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/ |
D | CommConn.cpp | 46 std::vector<uint8_t> buffer(static_cast<size_t>(numBytes)); in sendMessage() local 56 std::vector<uint8_t> buffer; in readThread() local
|