| /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
|
| /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/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_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_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_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_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 …]
|
| 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()
|
| /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/google/cuttlefish/guest/hals/ril/reference-libril/ |
| D | sap_service.cpp | 215 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq() local 255 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq() local 308 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq() local 350 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq() local 392 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq() local 433 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq() local 476 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq() local 520 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
|
| D | GoldfishOMXComponent.cpp | 190 OMX_BUFFERHEADERTYPE **buffer, in UseBufferWrapper() 205 OMX_BUFFERHEADERTYPE **buffer, in AllocateBufferWrapper() 220 OMX_BUFFERHEADERTYPE *buffer) { in FreeBufferWrapper() 231 OMX_BUFFERHEADERTYPE *buffer) { in EmptyThisBufferWrapper() 242 OMX_BUFFERHEADERTYPE *buffer) { in FillThisBufferWrapper()
|
| /device/google/pantah/powerstats/panther/ |
| D | service.cpp | 37 struct stat buffer; in addDisplay() local 68 struct stat buffer; in main() local
|
| /device/google/bluejay/powerstats/bluejay/ |
| D | service.cpp | 37 struct stat buffer; in addDisplay() local 65 struct stat buffer; in main() local
|
| /device/google/cuttlefish/host/libs/input_connector/ |
| D | socket_input_connector.cpp | 120 std::unique_ptr<InputEventsBuffer> buffer) { in WriteEvents() 135 Result<void> WriteEvents(std::unique_ptr<InputEventsBuffer> buffer) { in WriteEvents() 262 auto buffer = CreateBuffer(input_devices_.event_type, 4); in SendTouchEvent() local 279 auto buffer = CreateBuffer(input_devices_.event_type, 1 + 7 * slots.size()); in SendMultiTouchEvent() local 335 auto buffer = CreateBuffer(input_devices_.event_type, 2); in SendKeyboardEvent() local 345 auto buffer = CreateBuffer(input_devices_.event_type, 2); in SendRotaryEvent() local 356 auto buffer = CreateBuffer(input_devices_.event_type, 2); in SendSwitchesEvent() local
|
| /device/google/lynx/powerstats/ |
| D | service.cpp | 39 struct stat buffer; in addDisplay() local 100 struct stat buffer; in main() local
|
| /device/google/raviole/powerstats/oriole/ |
| D | service.cpp | 44 struct stat buffer; in addDisplay() local 86 struct stat buffer; in main() local
|
| /device/generic/opengl-transport/host/libs/virglrenderer/ |
| D | RenderControl.cpp | 90 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer) { in dequeueBuffer_DEPRECATED() 129 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in dequeueBuffer() 134 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in queueBuffer() 140 static int cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in cancelBuffer() 172 ANativeWindowBuffer* buffer = new (std::nothrow) FakeANativeWindowBuffer(); in resourceToANWB() local 219 static EGLint rcQueryEGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcQueryEGLString() 255 static EGLint rcGetGLString(void* ctx_, EGLenum name, void* buffer, EGLint bufferSize) { in rcGetGLString() 310 static EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) { in rcGetConfigs() 508 ANativeWindowBuffer* buffer = resourceToANWB(res); in rcSetWindowColorBuffer() local 618 ANativeWindowBuffer* buffer = resourceToANWB(res); in rcBindTexture() local [all …]
|
| /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/google/pantah/powerstats/cheetah/ |
| D | service.cpp | 39 struct stat buffer; in addDisplay() local 117 struct stat buffer; in main() local
|