/device/google/contexthub/util/nanotool/ |
D | nanomessage.cpp | 32 bool HardwareVersionInfo::Populate(const std::vector<uint8_t>& buffer) { in Populate() 51 char buffer[1024]; in ToString() local 66 char buffer[128]; in ToString() local 72 bool WriteEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate() 87 std::vector<uint8_t> buffer(sizeof(Request)); in GetBytes() local 98 char buffer[128]; in ToString() local 107 char buffer[32]; in ToString() local 113 const std::vector<uint8_t>& buffer) { in FromBytes() 131 bool ReadEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate() 178 uint32_t ReadEventResponse::EventTypeFromBuffer(const std::vector<uint8_t>& buffer) { in EventTypeFromBuffer() [all …]
|
D | sensorevent.cpp | 34 const std::vector<uint8_t>& buffer) { in FromBytes() 154 char buffer[32]; in GetSampleTimeStr() local 176 char buffer[64]; in ToString() local 212 char buffer[64]; in StringForSample() local 229 char buffer[64]; in StringForSample() local 249 char buffer[128]; in StringForSample() local 293 char buffer[128]; in StringForSample() local
|
D | resetreasonevent.cpp | 27 const std::vector<uint8_t>& buffer) { in FromBytes()
|
D | logevent.cpp | 25 const std::vector<uint8_t>& buffer) { in FromBytes()
|
/device/generic/goldfish-opengl/system/hwc3/ |
D | Gralloc.cpp | 42 std::optional<uint32_t> Gralloc::GetWidth(buffer_handle_t buffer) { in GetWidth() 56 std::optional<uint32_t> Gralloc::GetHeight(buffer_handle_t buffer) { in GetHeight() 70 std::optional<uint32_t> Gralloc::GetDrmFormat(buffer_handle_t buffer) { in GetDrmFormat() 80 std::optional<std::vector<PlaneLayout>> Gralloc::GetPlaneLayouts(buffer_handle_t buffer) { in GetPlaneLayouts() 90 std::optional<uint32_t> Gralloc::GetMonoPlanarStrideBytes(buffer_handle_t buffer) { in GetMonoPlanarStrideBytes() 109 std::optional<GrallocBuffer> Gralloc::Import(buffer_handle_t buffer) { in Import() 121 void Gralloc::Release(buffer_handle_t buffer) { in Release() 129 std::optional<void*> Gralloc::Lock(buffer_handle_t buffer) { in Lock() 163 std::optional<android_ycbcr> Gralloc::LockYCbCr(buffer_handle_t buffer) { in LockYCbCr() 234 void Gralloc::Unlock(buffer_handle_t buffer) { in Unlock() [all …]
|
/device/google/cuttlefish/host/libs/input_connector/ |
D | input_devices.cpp | 25 Result<void> InputDevice::WriteEvents(const EventBuffer& buffer) { in WriteEvents() 31 EventBuffer buffer(4); in SendTouchEvent() local 42 EventBuffer buffer(1 + 7 * slots.size()); in SendMultiTouchEvent() local 135 EventBuffer buffer(2); in SendMoveEvent() local 143 EventBuffer buffer(2); in SendButtonEvent() local 155 EventBuffer buffer(2); in SendWheelEvent() local 163 EventBuffer buffer(2); in SendEvent() local 171 EventBuffer buffer(2); in SendEvent() local 179 EventBuffer buffer(2); in SendEvent() local
|
/device/google/contexthub/util/stm32_flash/ |
D | stm32_bl.c | 45 uint8_t buffer[sizeof(uint8_t)+1]; in write_len() local 54 uint8_t buffer[sizeof(uint16_t)+1]; in write_cnt() local 64 uint8_t buffer[sizeof(uint32_t)+1]; in write_addr() local 77 uint8_t buffer[sizeof(uint8_t)+256+sizeof(uint8_t)]; in write_len_data() local 103 uint8_t buffer[sizeof(uint16_t)+sizeof(uint16_t)+1]; in erase_sector() local 134 uint8_t read_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in read_memory() 169 uint8_t write_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in write_memory()
|
D | spi.c | 24 uint8_t spi_write_data(handle_t *handle, uint8_t *buffer, int length) in spi_write_data() 46 uint8_t buffer[] = in spi_write_cmd() local 69 uint8_t buffer[] = in spi_read_data() local 99 uint8_t buffer[] = in spi_read_ack() local 132 uint8_t buffer[] = in spi_sync() local
|
D | i2c.c | 26 uint8_t i2c_write_data(handle_t *handle, uint8_t *buffer, int length) in i2c_write_data() 40 uint8_t buffer[sizeof(uint8_t)+1] = in i2c_write_cmd() local 60 uint8_t buffer; in i2c_read_ack() local
|
D | uart.c | 29 uint8_t uart_write_data(handle_t *handle, uint8_t *buffer, int length) in uart_write_data() 44 uint8_t buffer[2 * sizeof(uint8_t)] = { cmd, ~cmd }; in uart_write_cmd() local 74 uint8_t buffer; in uart_read_ack() local
|
/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_bufferdescriptor.cpp | 150 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt… in mali_gralloc_get_backing_store_internal() 164 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_consumer_usage_internal() 177 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH… in mali_gralloc_get_dimensions_internal() 191 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat) in mali_gralloc_get_format_internal() 204 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_producer_usage_internal() 237 int mali_gralloc_get_layer_count_internal(buffer_handle_t buffer, uint32_t *outLayerCount) in mali_gralloc_get_layer_count_internal() 256 int mali_gralloc_query_getstride(buffer_handle_t buffer, int *pixelStride) in mali_gralloc_query_getstride()
|
D | mali_gralloc_public_interface.cpp | 105 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store() 114 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage() 123 static int32_t mali_gralloc_get_dimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint3… in mali_gralloc_get_dimensions() 132 static int32_t mali_gralloc_get_format(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *… in mali_gralloc_get_format() 140 static int32_t mali_gralloc_get_producer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_producer_usage() 149 static int32_t mali_gralloc_get_stride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t … in mali_gralloc_get_stride() 244 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain() 262 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release() 275 static int32_t mali_gralloc1_get_num_flex_planes(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_get_num_flex_planes() 294 static int32_t mali_gralloc1_lock_async(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_lock_async() [all …]
|
D | mali_gralloc_bufferaccess.cpp | 36 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, … in mali_gralloc_lock() 72 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_ycbcr() 168 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer) in mali_gralloc_unlock() 187 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t… in mali_gralloc_get_num_flex_planes() 222 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_async() 234 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us… in mali_gralloc_lock_ycbcr_async() 248 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa… in mali_gralloc_lock_flex_async() 404 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_… in mali_gralloc_unlock_async()
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_bufferdescriptor.cpp | 117 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt… in mali_gralloc_get_backing_store_internal() 131 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_consumer_usage_internal() 144 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH… in mali_gralloc_get_dimensions_internal() 158 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat) in mali_gralloc_get_format_internal() 171 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_producer_usage_internal() 185 int mali_gralloc_query_getstride(buffer_handle_t buffer, int *pixelStride) in mali_gralloc_query_getstride()
|
D | mali_gralloc_bufferaccess.cpp | 36 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, … in mali_gralloc_lock() 72 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_ycbcr() 168 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer) in mali_gralloc_unlock() 187 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t… in mali_gralloc_get_num_flex_planes() 222 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_async() 234 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us… in mali_gralloc_lock_ycbcr_async() 248 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa… in mali_gralloc_lock_flex_async() 404 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_… in mali_gralloc_unlock_async()
|
D | mali_gralloc_public_interface.cpp | 104 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store() 113 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage() 122 static int32_t mali_gralloc_get_dimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint3… in mali_gralloc_get_dimensions() 131 static int32_t mali_gralloc_get_format(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *… in mali_gralloc_get_format() 139 static int32_t mali_gralloc_get_producer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_producer_usage() 148 static int32_t mali_gralloc_get_stride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t … in mali_gralloc_get_stride() 242 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain() 260 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release() 273 static int32_t mali_gralloc1_get_num_flex_planes(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_get_num_flex_planes() 292 static int32_t mali_gralloc1_lock_async(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_lock_async() [all …]
|
/device/google/cuttlefish/guest/hals/camera/ |
D | stream_buffer_cache.cpp | 23 [buffer_id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in get() 33 [&buffer_id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in remove() 40 void StreamBufferCache::update(const StreamBuffer& buffer) { in update() 42 auto id_match = [id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in update()
|
/device/generic/car/emulator/Conn/CommConn/ |
D | CommConn.cpp | 45 std::vector<uint8_t> buffer(static_cast<size_t>(numBytes)); in sendMessage() local 57 std::vector<uint8_t> buffer; in readThread() local
|
/device/generic/trusty/dhcp/common/ |
D | utils.cpp | 20 char buffer[INET_ADDRSTRLEN]; in addrToStr() local
|
/device/generic/goldfish/hals/gralloc/ |
D | mapper.cpp | 319 mMapper.v5.freeBuffer = [](buffer_handle_t buffer) { in GoldfishMapper() 329 mMapper.v5.unlock = [](buffer_handle_t buffer, int* releaseFence) { in GoldfishMapper() 332 mMapper.v5.flushLockedBuffer = [](buffer_handle_t buffer) { in GoldfishMapper() 335 mMapper.v5.rereadLockedBuffer = [](buffer_handle_t buffer) { in GoldfishMapper() 344 mMapper.v5.getStandardMetadata = [](const buffer_handle_t buffer, in GoldfishMapper() 351 mMapper.v5.setMetadata = [](const buffer_handle_t buffer, in GoldfishMapper() 357 mMapper.v5.setStandardMetadata = [](const buffer_handle_t buffer, in GoldfishMapper() 365 mMapper.v5.dumpBuffer = [](const buffer_handle_t buffer, in GoldfishMapper() 376 mMapper.v5.getReservedRegion = [](const buffer_handle_t buffer, in GoldfishMapper() 378 uint64_t* const outReservedSize) { in GoldfishMapper()
|
/device/google/cuttlefish/common/libs/security/ |
D | keymaster_channel_test.cpp | 35 char buffer[] = {1, 2, 3, 4, 5, 6}; in TEST() local 60 char buffer[] = {1, 2, 3, 4, 5, 6}; in TEST() local
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | audio_handler.h | 33 std::vector<uint8_t> buffer; member 51 HoldingBuffer buffer; member
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | sap_service.cpp | 219 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq() local 259 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq() local 312 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq() local 354 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq() local 396 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq() local 437 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq() local 480 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq() local 524 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in setTransferProtocolReq() local
|
/device/generic/goldfish-opengl/system/codecs/omx/plugin/ |
D | SimpleGoldfishOMXComponent.cpp | 277 BufferInfo *buffer = in useBufferCallerLockedAlready() local 330 BufferInfo *buffer = &port->mBuffers.editItemAt(i); in freeBuffer() local 362 OMX_BUFFERHEADERTYPE *buffer) { in emptyThisBuffer() 375 OMX_BUFFERHEADERTYPE *buffer) { in fillThisBuffer() 424 BufferInfo *buffer = &port->mBuffers.editItemAt(j); in onMessageReceived() local 555 BufferInfo *buffer = &port->mBuffers.editItemAt(i); in onPortEnable() local 605 BufferInfo *buffer = &port->mBuffers.editItemAt(i); in onPortFlush() local
|
/device/generic/car/emulator/audio/driver/ |
D | audio_vbuffer.c | 78 size_t audio_vbuffer_write(audio_vbuffer_t *audio_vbuffer, const void *buffer, in audio_vbuffer_write() 109 size_t audio_vbuffer_read(audio_vbuffer_t *audio_vbuffer, void *buffer, in audio_vbuffer_read()
|