Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 207) sorted by relevance

123456789

/device/generic/goldfish/wifi/wifi_hal/
Dwifi_hal.cpp52 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/
Dcommon.cpp40 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 …]
Dwifi_hal.cpp218 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/
Dsensors.cpp80 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 …]
Ddirectchannel.cpp178 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/
Dstm32_bl.h31 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
Dstm32_bl.c26 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()
Di2c.c26 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()
Dspi.c24 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()
Duart.c29 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/
Dmali_gralloc_private_interface.cpp35 …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 …]
Dmali_gralloc_module.cpp78 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/
Dmali_gralloc_private_interface.cpp35 …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 …]
Dmali_gralloc_module.cpp78 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/
DGraphicBufferMapper.cpp71 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/
DDetachedBufferHandle.h27 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/
Dgralloc_module.cpp62 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/
DFrameBuffer_unittest.cpp181 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/
Dfragile_tpm_storage.cpp51 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/
DRendererImpl.cpp527 [](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 …]
DBuffer.cpp27 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/
DBufferGl.cpp20 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/
Dcolor_buffer_utils.cpp56 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/
Dsensors_priv.h26 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/
Dmain.cpp52 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

123456789