| /device/generic/goldfish/wifi/wifi_hal/ |
| D | wifi_hal.cpp | 52 wifi_error wifi_initialize(wifi_handle* handle) { in wifi_initialize() 77 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { in wifi_cleanup() 110 void wifi_event_loop(wifi_handle handle) { in wifi_event_loop() 118 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, in wifi_get_supported_feature_set() 127 wifi_error wifi_get_ifaces(wifi_handle handle, in wifi_get_ifaces() 137 wifi_error wifi_get_iface_name(wifi_interface_handle handle, in wifi_get_iface_name() 148 wifi_interface_handle handle, in wifi_get_link_stats() 157 wifi_error wifi_set_link_stats(wifi_interface_handle handle, in wifi_set_link_stats() 167 wifi_interface_handle handle, in wifi_set_alert_handler() 177 wifi_interface_handle handle) { in wifi_reset_alert_handler() [all …]
|
| /device/linaro/poplar/wifi/wifi_hal/ |
| D | common.cpp | 40 interface_info *getIfaceInfo(wifi_interface_handle handle) in getIfaceInfo() 45 wifi_handle getWifiHandle(wifi_interface_handle handle) in getWifiHandle() 50 hal_info *getHalInfo(wifi_handle handle) in getHalInfo() 55 hal_info *getHalInfo(wifi_interface_handle handle) in getHalInfo() 70 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler() 95 wifi_error wifi_register_vendor_handler(wifi_handle handle, in wifi_register_vendor_handler() 121 void wifi_unregister_handler(wifi_handle handle, int cmd) in wifi_unregister_handler() 147 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler() 171 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd() 193 WifiCommand *wifi_unregister_cmd(wifi_handle handle, int id) in wifi_unregister_cmd() [all …]
|
| D | wifi_hal.cpp | 218 wifi_error wifi_initialize(wifi_handle *handle) in wifi_initialize() 339 static int wifi_add_membership(wifi_handle handle, const char *group) in wifi_add_membership() 358 static void internal_cleaned_up_handler(wifi_handle handle) in internal_cleaned_up_handler() 379 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) in wifi_cleanup() 442 static int internal_pollin_handler(wifi_handle handle) in internal_pollin_handler() 453 void wifi_event_loop(wifi_handle handle) in wifi_event_loop() 524 wifi_handle handle = (wifi_handle)arg; in internal_valid_message_handler() local 595 GetMulticastIdCommand(wifi_handle handle, const char *name, const char *group) in GetMulticastIdCommand() 670 SetPnoMacAddrOuiCommand(wifi_interface_handle handle, oui scan_oui) in SetPnoMacAddrOuiCommand() 722 SetNodfsCommand(wifi_interface_handle handle, u32 nodfs) in SetNodfsCommand() [all …]
|
| /device/google/contexthub/sensorhal/ |
| D | sensors.cpp | 80 int SensorContext::activate(int handle, int enabled) { in activate() 91 int SensorContext::setDelay(int handle, int64_t delayNs) { in setDelay() 112 int handle, in batch() 125 int SensorContext::flush(int handle) { in flush() 161 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper() 167 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper() 180 int handle, in BatchWrapper() 190 int SensorContext::FlushWrapper(struct sensors_poll_device_1 *dev, int handle) { in FlushWrapper() 253 bool SensorContext::HubConnectionOperation::owns(int handle) { in owns() 257 int SensorContext::HubConnectionOperation::activate(int handle, int enabled) { in activate() [all …]
|
| D | directchannel.cpp | 178 int GrallocHalWrapper::registerBuffer(const native_handle_t *handle) { in registerBuffer() 189 int GrallocHalWrapper::unregisterBuffer(const native_handle_t *handle) { in unregisterBuffer() 200 int GrallocHalWrapper::lock(const native_handle_t *handle, in lock() 222 int GrallocHalWrapper::unlock(const native_handle_t *handle) { in unlock()
|
| /device/google/contexthub/util/stm32_flash/ |
| D | stm32_bl.h | 31 typedef struct handle struct 38 uint8_t (*write_data)(struct handle *, uint8_t *buffer, int length); argument 39 uint8_t (*write_cmd)(struct handle *, uint8_t cmd); argument 40 uint8_t (*read_data)(struct handle *, uint8_t *buffer, int length); argument 41 uint8_t (*read_ack)(struct handle *); argument
|
| D | stm32_bl.c | 26 uint8_t checksum(__attribute__((unused)) handle_t *handle, uint8_t *bytes, int length) in checksum() 43 static uint8_t write_len(handle_t *handle, int len) in write_len() 52 static uint8_t write_cnt(handle_t *handle, uint16_t cnt) in write_cnt() 62 static uint8_t write_addr(handle_t *handle, uint32_t addr) in write_addr() 75 static uint8_t write_len_data(handle_t *handle, int len, uint8_t *data) in write_len_data() 89 static uint8_t read_ack_loop(handle_t *handle) in read_ack_loop() 101 uint8_t erase_sector(handle_t *handle, uint16_t sector) in erase_sector() 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 | i2c.c | 26 uint8_t i2c_write_data(handle_t *handle, uint8_t *buffer, int length) in i2c_write_data() 38 uint8_t i2c_write_cmd(handle_t *handle, uint8_t cmd) in i2c_write_cmd() 48 uint8_t i2c_read_data(handle_t *handle, uint8_t *data, int length) in i2c_read_data() 58 uint8_t i2c_read_ack(handle_t *handle) in i2c_read_ack() 68 int i2c_init(handle_t *handle) in i2c_init()
|
| D | spi.c | 24 uint8_t spi_write_data(handle_t *handle, uint8_t *buffer, int length) in spi_write_data() 43 uint8_t spi_write_cmd(handle_t *handle, uint8_t cmd) in spi_write_cmd() 66 uint8_t spi_read_data(handle_t *handle, uint8_t *data, int length) in spi_read_data() 94 uint8_t spi_read_ack(handle_t *handle) in spi_read_ack() 129 uint8_t spi_sync(handle_t *handle) in spi_sync() 150 int spi_init(handle_t *handle) in spi_init()
|
| D | uart.c | 29 uint8_t uart_write_data(handle_t *handle, uint8_t *buffer, int length) in uart_write_data() 41 uint8_t uart_write_cmd(handle_t *handle, uint8_t cmd) in uart_write_cmd() 56 uint8_t uart_read_data(handle_t *handle, uint8_t *data, int length) in uart_read_data() 72 uint8_t uart_read_ack(handle_t *handle) in uart_read_ack() 82 int uart_init(handle_t *handle) in uart_init()
|
| /device/linaro/hikey/gralloc960/ |
| D | mali_gralloc_private_interface.cpp | 35 …ic int32_t mali_gralloc_private_get_buff_int_fmt(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_fmt() 51 static int32_t mali_gralloc_private_get_buff_fd(gralloc1_device_t *device, buffer_handle_t handle, … in mali_gralloc_private_get_buff_fd() 66 …c int32_t mali_gralloc_private_get_buff_int_dims(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_dims() 83 … mali_gralloc_private_get_buff_offset(gralloc1_device_t *device, buffer_handle_t handle, int64_t *… in mali_gralloc_private_get_buff_offset() 98 …int32_t mali_gralloc_private_get_buff_bytestride(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_bytestride() 114 …ic int32_t mali_gralloc_private_get_buff_yuvinfo(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_yuvinfo() 130 static int32_t mali_gralloc_private_get_buff_size(gralloc1_device_t *device, buffer_handle_t handle… in mali_gralloc_private_get_buff_size() 145 …t mali_gralloc_private_get_buff_flags(gralloc1_device_t *device, buffer_handle_t handle, int *flag… in mali_gralloc_private_get_buff_flags() 160 …32_t mali_gralloc_private_get_buff_min_page_size(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_min_page_size() 176 …t mali_gralloc_private_get_attr_param(gralloc1_device_t *device, buffer_handle_t handle, buf_attr … in mali_gralloc_private_get_attr_param() [all …]
|
| D | mali_gralloc_module.cpp | 78 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer() 85 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer() 92 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock() 100 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr() 108 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock() 115 static int gralloc_lock_async(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_async() 123 static int gralloc_lock_ycbcr_async(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_ycbcr_async() 131 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int32_t *fe… in gralloc_unlock_async()
|
| /device/amlogic/yukawa/hal/gralloc/ |
| D | mali_gralloc_private_interface.cpp | 35 …ic int32_t mali_gralloc_private_get_buff_int_fmt(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_fmt() 51 static int32_t mali_gralloc_private_get_buff_fd(gralloc1_device_t *device, buffer_handle_t handle, … in mali_gralloc_private_get_buff_fd() 66 …c int32_t mali_gralloc_private_get_buff_int_dims(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_dims() 83 … mali_gralloc_private_get_buff_offset(gralloc1_device_t *device, buffer_handle_t handle, int64_t *… in mali_gralloc_private_get_buff_offset() 98 …int32_t mali_gralloc_private_get_buff_bytestride(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_bytestride() 114 …ic int32_t mali_gralloc_private_get_buff_yuvinfo(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_yuvinfo() 130 static int32_t mali_gralloc_private_get_buff_size(gralloc1_device_t *device, buffer_handle_t handle… in mali_gralloc_private_get_buff_size() 145 …t mali_gralloc_private_get_buff_flags(gralloc1_device_t *device, buffer_handle_t handle, int *flag… in mali_gralloc_private_get_buff_flags() 160 …32_t mali_gralloc_private_get_buff_min_page_size(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_min_page_size() 176 …t mali_gralloc_private_get_attr_param(gralloc1_device_t *device, buffer_handle_t handle, buf_attr … in mali_gralloc_private_get_attr_param() [all …]
|
| D | mali_gralloc_module.cpp | 78 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer() 85 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer() 92 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock() 100 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr() 108 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock() 115 static int gralloc_lock_async(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_async() 123 static int gralloc_lock_ycbcr_async(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_ycbcr_async() 131 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int32_t *fe… in gralloc_unlock_async()
|
| /device/generic/vulkan-cereal/fake-android-guest/androidImpl/ |
| D | GraphicBufferMapper.cpp | 71 void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, in getTransportSize() 76 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) in freeBuffer() 90 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, in lock() 95 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr() 100 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) in unlock() 110 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, in lockAsync() 115 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, in lockAsync() 128 status_t GraphicBufferMapper::lockAsyncYCbCr(buffer_handle_t handle, in lockAsyncYCbCr() 145 status_t GraphicBufferMapper::unlockAsync(buffer_handle_t handle, int *fenceFd) in unlockAsync()
|
| /device/generic/vulkan-cereal/fake-android-guest/ui/ |
| D | DetachedBufferHandle.h | 27 static std::unique_ptr<DetachedBufferHandle> Create(pdx::LocalChannelHandle handle) { in Create() 31 pdx::LocalChannelHandle& handle() { return mHandle; } in handle() function 32 const pdx::LocalChannelHandle& handle() const { return mHandle; } in handle() function 37 explicit DetachedBufferHandle(pdx::LocalChannelHandle handle) : mHandle(std::move(handle)) {} in DetachedBufferHandle()
|
| /device/linaro/hikey/gralloc/ |
| D | gralloc_module.cpp | 62 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer() 239 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer() 281 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock() 330 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr() 410 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock() 465 static int gralloc_lock_async (gralloc_module_t const *module, buffer_handle_t handle, int usage, i… in gralloc_lock_async() 476 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int *fenceF… in gralloc_unlock_async() 489 static int gralloc_lock_async_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_async_ycbcr()
|
| /device/generic/vulkan-cereal/stream-servers/tests/ |
| D | FrameBuffer_unittest.cpp | 181 HandleType handle = in TEST_F() local 189 HandleType handle = in TEST_F() local 197 HandleType handle = in TEST_F() local 207 HandleType handle = in TEST_F() local 224 HandleType handle = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, in TEST_F() local 251 HandleType handle = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, in TEST_F() local 333 HandleType handle = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, in TEST_F() local 363 HandleType handle = in TEST_F() local 388 HandleType handle = mFb->createEmulatedEglContext(0, 0, GLESApi_3_0); in TEST_F() local 394 HandleType handle = mFb->createEmulatedEglWindowSurface(0, mWidth, mHeight); in TEST_F() local [all …]
|
| /device/google/cuttlefish/host/commands/secure_env/ |
| D | fragile_tpm_storage.cpp | 51 TPM2_HANDLE handle = 0; in GenerateRandomHandle() local 70 TPM2_HANDLE handle; in Allocate() local 142 auto handle = GetHandle(key); in Read() local 147 auto close_tr = [this](ESYS_TR* handle) { in Read() 205 auto handle = GetHandle(key); in Write() local
|
| /device/generic/vulkan-cereal/stream-servers/ |
| D | RendererImpl.cpp | 527 [](uint64_t size, uint32_t handle) { in __anon37b677d40402() 531 [](uint32_t width, uint32_t height, uint32_t format, uint32_t fwkFormat, uint32_t handle) { in __anon37b677d40502() 535 .open_color_buffer = [](uint32_t handle) { FrameBuffer::getFB()->openColorBuffer(handle); }, in __anon37b677d40602() 536 .close_buffer = [](uint32_t handle) { FrameBuffer::getFB()->closeBuffer(handle); }, in __anon37b677d40702() 537 .close_color_buffer = [](uint32_t handle) { FrameBuffer::getFB()->closeColorBuffer(handle); }, in __anon37b677d40802() 539 [](uint32_t handle, uint64_t offset, uint64_t size, void* bytes) { in __anon37b677d40902() 549 [](uint32_t handle, uint64_t offset, uint64_t size, void* bytes) { in __anon37b677d40b02() 559 [](uint32_t handle, int x, int y, int width, int height, void* pixels, 564 .post_color_buffer = [](uint32_t handle) { FrameBuffer::getFB()->post(handle); }, in __anon37b677d40e02() 566 [](uint32_t handle, CpuCompletionCallback cb) { in __anon37b677d40f02() [all …]
|
| D | Buffer.cpp | 27 Buffer::Buffer(HandleType handle, uint64_t size) : mHandle(handle), mSize(size) {} in Buffer() 31 uint64_t size, HandleType handle) { in create() 66 const auto handle = static_cast<HandleType>(stream->getBe32()); in onLoad() local
|
| /device/generic/vulkan-cereal/stream-servers/gl/ |
| D | BufferGl.cpp | 20 BufferGl::BufferGl(uint64_t size, HandleType handle, ContextHelper* helper) in BufferGl() 24 std::unique_ptr<BufferGl> BufferGl::create(uint64_t size, HandleType handle, ContextHelper* helper)… in create() 95 const auto handle = static_cast<HandleType>(stream->getBe32()); in onLoad() local
|
| /device/generic/goldfish-opengl/system/codecs/c2/decoders/base/ |
| D | color_buffer_utils.cpp | 56 uint32_t getColorBufferHandle(native_handle_t const* handle) { in getColorBufferHandle() 71 bool getResInfo(native_handle_t const* handle, in getResInfo() 117 uint32_t getColorBufferHandle(native_handle_t const* handle) { in getColorBufferHandle()
|
| /device/google/contexthub/firmware/os/inc/ |
| D | sensors_priv.h | 26 uint32_t handle; /* here 0 means invalid */ member 39 uint32_t handle; member 53 uint32_t handle; member 69 #define HANDLE_TO_TID(handle) (((handle) >> (32 - TASK_TID_BITS)) & TASK_TID_MASK) argument
|
| /device/google/cuttlefish/guest/commands/sensor_injection/ |
| D | main.cpp | 52 int handle = -1; in getSensorHandle() local 79 int handle = getSensorHandle(SensorType::ACCELEROMETER, sensors); in InjectOrientation() local 112 int handle = getSensorHandle(SensorType::HINGE_ANGLE, sensors); in InjectHingeAngle() local
|