Home
last modified time | relevance | path

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

12345678910>>...12

/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/
DShaderLang.cpp45 TCompiler *GetCompilerFromHandle(ShHandle handle) in GetCompilerFromHandle()
57 const std::vector<VarT> *GetShaderVariables(const ShHandle handle) in GetShaderVariables()
69 TranslatorHLSL *GetTranslatorHLSLFromHandle(ShHandle handle) in GetTranslatorHLSLFromHandle()
299 void Destruct(ShHandle handle) in Destruct()
310 const std::string &GetBuiltInResourcesString(const ShHandle handle) in GetBuiltInResourcesString()
324 bool Compile(const ShHandle handle, in Compile()
335 void ClearResults(const ShHandle handle) in ClearResults()
342 int GetShaderVersion(const ShHandle handle) in GetShaderVersion()
349 ShShaderOutput GetShaderOutputType(const ShHandle handle) in GetShaderOutputType()
359 const std::string &GetInfoLog(const ShHandle handle) in GetInfoLog()
[all …]
/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/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/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 …]
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DResourceManager.h68 ANGLE_INLINE bool isHandleGenerated(IDType handle) const in isHandleGenerated()
86 IDType handle, in checkObjectAllocation()
110 IDType handle, in checkObjectAllocationImpl()
131 ANGLE_INLINE Buffer *checkBufferAllocation(rx::GLImplFactory *factory, BufferID handle) in checkBufferAllocation()
158 ANGLE_INLINE Program *getProgram(ShaderProgramID handle) const in getProgram()
187 ANGLE_INLINE Texture *getTexture(TextureID handle) const in getTexture()
196 TextureID handle, in checkTextureAllocation()
222 Renderbuffer *checkRenderbufferAllocation(rx::GLImplFactory *factory, RenderbufferID handle) in checkRenderbufferAllocation()
242 Sampler *checkSamplerAllocation(rx::GLImplFactory *factory, SamplerID handle) in checkSamplerAllocation()
278 FramebufferID handle, in checkFramebufferAllocation()
[all …]
DResourceManager.cpp36 IDType handle = FromGL<IDType>(handleAllocator->allocate()); in AllocateEmptyObject() local
87 IDType handle) in deleteObject()
125 Buffer *BufferManager::AllocateNewObject(rx::GLImplFactory *factory, BufferID handle) in AllocateNewObject()
231 TextureID handle, in AllocateNewObject()
272 RenderbufferID handle) in AllocateNewObject()
298 Sampler *SamplerManager::AllocateNewObject(rx::GLImplFactory *factory, SamplerID handle) in AllocateNewObject()
336 GLuint handle = mHandleAllocator.allocate(); in createSync() local
352 FramebufferID handle, in AllocateNewObject()
399 ProgramPipelineID handle) in AllocateNewObject()
449 void MemoryObjectManager::deleteMemoryObject(const Context *context, MemoryObjectID handle) in deleteMemoryObject()
[all …]
/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/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/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/host-common/testing/
DHostAddressSpace.cpp52 for (auto handle : handlesToClose) { in clear() local
61 uint32_t handle = mControlOps->gen_handle(); in open() local
74 void close(uint32_t handle) { in close()
83 uint64_t allocBlock(uint32_t handle, size_t size, uint64_t* physAddr) { in allocBlock()
88 void freeBlock(uint32_t handle, uint64_t off) { in freeBlock()
97 void setHostAddr(uint32_t handle, size_t off, void* hva) { in setHostAddr()
190 void ping(uint32_t handle, AddressSpaceDevicePingInfo* pingInfo) { in ping()
203 int claimShared(uint32_t handle, uint64_t off, uint64_t size) { in claimShared()
224 int unclaimShared(uint32_t handle, uint64_t off) { in unclaimShared()
323 uint64_t allocBlockLocked(uint32_t handle, size_t size, uint64_t* physAddr) { in allocBlockLocked()
[all …]
/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.cpp163 HandleType handle = in TEST_F() local
171 HandleType handle = in TEST_F() local
179 HandleType handle = in TEST_F() local
189 HandleType handle = in TEST_F() local
206 HandleType handle = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, in TEST_F() local
233 HandleType handle = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, in TEST_F() local
315 HandleType handle = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, in TEST_F() local
345 HandleType handle = in TEST_F() local
370 HandleType handle = mFb->createRenderContext(0, 0, GLESApi_3_0); in TEST_F() local
376 HandleType handle = mFb->createWindowSurface(0, mWidth, mHeight); in TEST_F() local
[all …]
/device/linaro/dragonboard/gralloc/
Dgralloc_gbm.cpp161 struct gralloc_handle_t *handle = gralloc_handle(_handle); in gbm_import() local
201 struct gralloc_handle_t *handle = gralloc_handle(_handle); in gbm_alloc() local
242 void gbm_free(buffer_handle_t handle) in gbm_free()
256 struct gbm_bo *gralloc_gbm_bo_from_handle(buffer_handle_t handle) in gralloc_gbm_bo_from_handle()
261 static int gbm_map(buffer_handle_t handle, int x, int y, int w, int h, in gbm_map()
357 int gralloc_gbm_handle_unregister(buffer_handle_t handle) in gralloc_gbm_handle_unregister()
371 native_handle_t *handle; in gralloc_gbm_bo_create() local
394 int gralloc_gbm_bo_lock(buffer_handle_t handle, in gralloc_gbm_bo_lock()
461 int gralloc_gbm_bo_unlock(buffer_handle_t handle) in gralloc_gbm_bo_unlock()
488 int gralloc_gbm_bo_lock_ycbcr(buffer_handle_t handle, in gralloc_gbm_bo_lock_ycbcr()
Dgralloc.cpp97 buffer_handle_t handle) in gbm_mod_register_buffer()
114 buffer_handle_t handle) in gbm_mod_unregister_buffer()
126 static int gbm_mod_lock(const gralloc_module_t *mod, buffer_handle_t handle, in gbm_mod_lock()
141 static int gbm_mod_unlock(const gralloc_module_t *mod, buffer_handle_t handle) in gbm_mod_unlock()
153 static int gbm_mod_lock_ycbcr(gralloc_module_t const *mod, buffer_handle_t handle, in gbm_mod_lock_ycbcr()
177 static int gbm_mod_free_gpu0(alloc_device_t *dev, buffer_handle_t handle) in gbm_mod_free_gpu0()
192 buffer_handle_t *handle, int *stride) in gbm_mod_alloc_gpu0()
/device/google/cuttlefish/host/commands/secure_env/
Dfragile_tpm_storage.cpp49 TPM2_HANDLE handle = 0; in GenerateRandomHandle() local
68 TPM2_HANDLE handle; in Allocate() local
140 auto handle = GetHandle(key); in Read() local
145 auto close_tr = [this](ESYS_TR* handle) { in Read()
203 auto handle = GetHandle(key); in Write() local
/device/google/atv/audio_proxy/service/
DBusDeviceProvider.cpp37 sp<BusDeviceProvider::Handle> handle = mOwner.removeByToken(token); in serviceDied() local
96 [&address](const sp<Handle>& handle) { in add()
116 [&address](const sp<Handle>& handle) { in get()
143 [token](const sp<Handle>& handle) { in removeByToken()
151 sp<Handle> handle = std::move(*it); in removeByToken() local

12345678910>>...12