Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 86) sorted by relevance

1234

/device/htc/flounder/sensor_hub/libsensors/
Dsensors.cpp47 .handle = ID_A,
64 .handle = ID_M,
81 .handle = ID_GY,
98 .handle = ID_L,
115 .handle = ID_PS,
132 .handle = ID_O,
149 .handle = ID_RV,
166 .handle = ID_LA,
183 .handle = ID_G,
200 .handle = ID_CW_MAGNETIC_UNCALIBRATED,
[all …]
DSensorBase.h64 virtual int setDelay(int32_t handle, int64_t ns);
65 virtual int64_t getDelay(int32_t handle);
68 virtual int setEnable(int32_t handle, int enabled) = 0;
70 virtual int getEnable(int32_t handle) = 0;
71 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout) = 0;
72 virtual int flush(int handle) = 0;
DCwMcuSensor.h120 virtual int setDelay(int32_t handle, int64_t ns);
121 virtual int setEnable(int32_t handle, int enabled);
122 virtual int getEnable(int32_t handle);
123 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
124 virtual int flush(int handle);
125 bool is_batch_wake_sensor(int32_t handle);
126 int find_sensor(int32_t handle);
/device/lge/hammerhead/libsensors/
Dsensors.cpp55 .handle = SENSORS_LIGHT_HANDLE,
67 .handle = SENSORS_PROXIMITY_HANDLE,
112 int activate(int handle, int enabled);
113 int setDelay(int handle, int64_t ns);
115 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
119 int flush(int handle);
143 int handleToDriver(int handle) const { in handleToDriver()
144 switch (handle) { in handleToDriver()
253 int sensors_poll_context_t::activate(int handle, int enabled) { in activate() argument
255 int index = handleToDriver(handle); in activate()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c141 ion_info_fd.handle = alloc.handle; in mm_app_allocate_ion_memory()
161 buf->mem_info.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
168 handle_data.handle = ion_info_fd.handle; in mm_app_allocate_ion_memory()
190 handle_data.handle = buf->mem_info.handle; in mm_app_deallocate_ion_memory()
216 cache_inv_data.handle = mem_info->handle; in mm_app_cache_ops()
223 cache_inv_data.handle, cache_inv_data.length, in mm_app_cache_ops()
1945 int mm_camera_lib_open(mm_camera_lib_handle *handle, int cam_id) in mm_camera_lib_open() argument
1949 if ( NULL == handle ) { in mm_camera_lib_open()
1955 memset(handle, 0, sizeof(mm_camera_lib_handle)); in mm_camera_lib_open()
1956 rc = mm_app_load_hal(&handle->app_ctx); in mm_camera_lib_open()
[all …]
/device/moto/shamu/dataservices/rmnetctl/cli/
Drmnetcli.c63 rmnetctl_cleanup(handle); \
260 struct rmnetctl_hndl_s *handle = NULL; in rmnet_api_call() local
273 return_code = rmnetctl_init(&handle, &error_number); in rmnet_api_call()
281 return_code = rmnet_associate_network_device(handle, in rmnet_api_call()
284 return_code = rmnet_associate_network_device(handle, in rmnet_api_call()
288 return_code = rmnet_get_network_device_associated(handle, in rmnet_api_call()
295 return_code = rmnet_get_link_egress_data_format(handle, in rmnet_api_call()
306 handle, argv[1], &ingress_flags, &tail_spacing, &error_number); in rmnet_api_call()
314 return_code = rmnet_new_vnd_prefix(handle, in rmnet_api_call()
318 return_code = rmnet_new_vnd(handle, in rmnet_api_call()
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Mem.cpp67 mMemInfo[i].handle = 0; in QCamera3Memory()
113 if (0 == mMemInfo[index].handle) { in cacheOpsInternal()
122 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
129 (unsigned long)cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
156 if (0 == mMemInfo[index].handle) { in getFd()
181 if (0 == mMemInfo[index].handle) { in getSize()
377 ion_info_fd.handle = alloc.handle; in allocOneBuffer()
386 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()
392 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
421 handle_data.handle = memInfo.handle; in deallocOneBuffer()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c72 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate()
94 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate()
124 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate()
153 cache_inv_data.handle = p_buffer->ion_info_fd.handle; in buffer_invalidate()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Mem.cpp65 mMemInfo[i].handle = NULL; in QCamera3Memory()
112 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
119 cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
344 ion_info_fd.handle = alloc.handle; in allocOneBuffer()
353 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()
359 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
388 handle_data.handle = memInfo.handle; in deallocOneBuffer()
393 memInfo.handle = NULL; in deallocOneBuffer()
628 ion_handle.handle = mMemInfo[i].handle; in registerBuffers()
647 ion_handle.handle = mMemInfo[i].handle; in registerBuffers()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_ionbuf.c73 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate()
95 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate()
125 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_ionbuf.c73 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle; in buffer_allocate()
95 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_allocate()
125 lhandle_data.handle = p_buffer->ion_info_fd.handle; in buffer_deallocate()
/device/asus/fugu/original-kernel-headers/drm/
Dpsb_ttm_placement_user.h109 uint32_t handle; member
129 uint32_t handle; member
142 uint32_t handle; member
182 uint32_t handle; member
216 uint32_t handle; member
Dpsb_ttm_fence_user.h52 uint32_t handle; member
108 uint32_t handle; member
128 uint32_t handle; member
/device/moto/shamu/cryptfs_hw/
Dcryptfs_hw.c86 void * handle = dlopen("libQSEEComAPI.so", RTLD_NOW); in load_qseecom_library() local
87 if(handle) { in load_qseecom_library()
89 *(void **) (&qseecom_create_key) = dlsym(handle,"QSEECom_create_key"); in load_qseecom_library()
92 *(void **) (&qseecom_update_key) = dlsym(handle,"QSEECom_update_key_user_info"); in load_qseecom_library()
94 *(void **) (&qseecom_wipe_key) = dlsym(handle,"QSEECom_wipe_key"); in load_qseecom_library()
106 dlclose(handle); in load_qseecom_library()
/device/asus/fugu/kernel-headers/drm/
Dpsb_ttm_placement_user.h55 uint32_t handle; member
63 uint32_t handle; member
68 uint32_t handle; member
78 uint32_t handle; member
92 uint32_t handle; member
Dpsb_ttm_fence_user.h31 uint32_t handle; member
51 uint32_t handle; member
64 uint32_t handle; member
/device/generic/goldfish/opengl/tests/ut_rendercontrol_enc/
Dut_rendercontrol.in1 GL_ENTRY(int, createContext, uint32_t pid, uint32_t handle, uint32_t shareCtx, int version)
2 GL_ENTRY(int, createSurface, uint32_t pid, uint32_t handle)
5 GL_ENTRY(int, destroyContext, uint32_t pid, uint32_t handle)
6 GL_ENTRY(int, destroySurface, uint32_t pid, uint32_t handle)
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Mem.cpp65 mMemInfo[i].handle = NULL; in QCamera3Memory()
112 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
119 cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
349 ion_info_fd.handle = alloc.handle; in allocOneBuffer()
358 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()
364 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
393 handle_data.handle = memInfo.handle; in deallocOneBuffer()
398 memInfo.handle = NULL; in deallocOneBuffer()
649 mMemInfo[mBufferCount].handle = ion_info_fd.handle; in registerBuffer()
687 ion_handle.handle = mMemInfo[cnt].handle; in unregisterBuffers()
/device/asus/flo/camera/mm-image-codec/qomx_core/
Dqomx_core.c140 if (NULL == p_comp->handle[i]) { in get_free_inst_idx()
155 OMX_OUT OMX_HANDLETYPE* handle, in OMX_GetHandle() argument
174 if (NULL == handle) { in OMX_GetHandle()
181 *handle = NULL; in OMX_GetHandle()
231 *handle = p_core_comp->handle[inst_idx] = (OMX_HANDLETYPE)p_comp; in OMX_GetHandle()
235 (int)p_core_comp->handle[inst_idx], inst_idx, in OMX_GetHandle()
268 if ((OMX_COMPONENTTYPE *)g_omxcore->component[i].handle[j] == in get_idx_from_handle()
290 if (NULL != p_core_comp->handle[i]) { in is_comp_active()
332 p_core_comp->handle[inst_idx] = NULL; in OMX_FreeHandle()
/device/lge/hammerhead/camera/mm-image-codec/qomx_core/
Dqomx_core.c140 if (NULL == p_comp->handle[i]) { in get_free_inst_idx()
155 OMX_OUT OMX_HANDLETYPE* handle, in OMX_GetHandle() argument
173 if (NULL == handle) { in OMX_GetHandle()
180 *handle = NULL; in OMX_GetHandle()
230 *handle = p_core_comp->handle[inst_idx] = (OMX_HANDLETYPE)p_comp; in OMX_GetHandle()
234 (int)p_core_comp->handle[inst_idx], inst_idx, in OMX_GetHandle()
267 if ((OMX_COMPONENTTYPE *)g_omxcore->component[i].handle[j] == in get_idx_from_handle()
289 if (NULL != p_core_comp->handle[i]) { in is_comp_active()
331 p_core_comp->handle[inst_idx] = NULL; in OMX_FreeHandle()
/device/moto/shamu/camera/mm-image-codec/qomx_core/
Dqomx_core.c158 if (NULL == p_comp->handle[i]) { in get_free_inst_idx()
173 OMX_OUT OMX_HANDLETYPE* handle, in OMX_GetHandle() argument
185 if (NULL == handle) { in OMX_GetHandle()
200 *handle = NULL; in OMX_GetHandle()
250 *handle = p_core_comp->handle[inst_idx] = (OMX_HANDLETYPE)p_comp; in OMX_GetHandle()
254 p_core_comp->handle[inst_idx], inst_idx, in OMX_GetHandle()
287 if ((OMX_COMPONENTTYPE *)g_omxcore->component[i].handle[j] == in get_idx_from_handle()
309 if (NULL != p_core_comp->handle[i]) { in is_comp_active()
354 p_core_comp->handle[inst_idx] = NULL; in OMX_FreeHandle()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraMem.cpp68 mMemInfo[i].handle = NULL; in QCameraMemory()
121 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
128 cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
325 ion_info_fd.handle = alloc.handle; in allocOneBuffer()
334 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()
340 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
369 handle_data.handle = memInfo.handle; in deallocOneBuffer()
374 memInfo.handle = NULL; in deallocOneBuffer()
1115 ion_handle.handle = mMemInfo[i].handle; in allocate()
1138 ion_handle.handle = mMemInfo[i].handle; in allocate()
[all …]
/device/asus/flo/camera/QCamera2/HAL/
DQCameraMem.cpp68 mMemInfo[i].handle = NULL; in QCameraMemory()
121 cache_inv_data.handle = mMemInfo[index].handle; in cacheOpsInternal()
128 cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
325 ion_info_fd.handle = alloc.handle; in allocOneBuffer()
334 memInfo.handle = ion_info_fd.handle; in allocOneBuffer()
340 handle_data.handle = ion_info_fd.handle; in allocOneBuffer()
369 handle_data.handle = memInfo.handle; in deallocOneBuffer()
374 memInfo.handle = NULL; in deallocOneBuffer()
1115 ion_handle.handle = mMemInfo[i].handle; in allocate()
1138 ion_handle.handle = mMemInfo[i].handle; in allocate()
[all …]
/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp64 buffer_handle_t handle; member
338 node->handle = cb; in gralloc_alloc()
357 buffer_handle_t handle) in gralloc_free() argument
359 const cb_handle_t *cb = (const cb_handle_t *)handle; in gralloc_free()
385 while( n && n->handle != cb ) { in gralloc_free()
416 gralloc_free(&d->device, d->allocListHead->handle); in gralloc_device_close()
519 buffer_handle_t handle) in gralloc_register_buffer() argument
523 return sFallback->registerBuffer(sFallback, handle); in gralloc_register_buffer()
526 D("gralloc_register_buffer(%p) called", handle); in gralloc_register_buffer()
529 cb_handle_t *cb = (cb_handle_t *)handle; in gralloc_register_buffer()
[all …]
/device/generic/goldfish/sensors/
Dsensors_qemu.c450 int handle, in sensor_device_activate() argument
456 _sensorIdToName(handle), handle, enabled); in sensor_device_activate()
459 if (!ID_CHECK(handle)) { in sensor_device_activate()
465 uint32_t mask = (1U << handle); in sensor_device_activate()
481 _sensorIdToName(handle), in sensor_device_activate()
497 int handle __unused, in sensor_device_set_delay()
536 .handle = ID_ACCELERATION,
547 .handle = ID_MAGNETIC_FIELD,
558 .handle = ID_ORIENTATION,
569 .handle = ID_TEMPERATURE,
[all …]

1234