Searched defs:handle (Results 1 - 25 of 114) sorted by relevance

12345

/hardware/qcom/media/mm-video/vidc/venc/inc/
H A Domx_video_encoder.h60 class venc_dev *handle; member in class:omx_venc
/hardware/ti/omap4xxx/camera/inc/
H A DVideoMetadata.h27 void* handle; member in struct:__anon1533
/hardware/qcom/display/libqdutils/
H A DqdMetaData.cpp36 int setMetaData(private_handle_t *handle, DispParamType paramType, argument
38 if (!handle) {
39 ALOGE("%s: Private handle is null!", __func__);
42 if (handle->fd_metadata == -1) {
52 handle->fd_metadata, 0);
/hardware/samsung_slsi/exynos5/libsecurepath/
H A Dtlc_communication.h29 mcSessionHandle_t handle; member in struct:__anon905
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Library.c41 void *Exynos_OSAL_dlsym(void *handle, const char *symbol) argument
43 return dlsym(handle, symbol);
46 int Exynos_OSAL_dlclose(void *handle) argument
48 return dlclose(handle);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
H A DCWsm.h46 uint32_t handle; member in class:CWsm
51 uint32_t handle,
56 handle(handle),
49 CWsm(addr_t virtAddr, uint32_t len, uint32_t handle, addr_t physAddr = NULL) argument
/hardware/invensense/libsensors_iio/
H A DCompassSensor.IIO.9150.cpp132 * @param[in] handle
139 int CompassSensor::enable(int32_t handle, int en) argument
158 int CompassSensor::setDelay(int32_t handle, int64_t ns)
182 int CompassSensor::getEnable(int32_t handle)
274 int64_t CompassSensor::getDelay(int32_t handle)
H A DSensorBase.cpp78 int SensorBase::setDelay(int32_t handle, int64_t ns) argument
131 int SensorBase::enable(int32_t handle, int enabled)
/hardware/msm7k/librpc/
H A Dops.c16 int handle = open(router, O_RDWR, 0); local
18 if(handle < 0)
20 return handle;
23 void r_close(int handle) argument
25 if(close(handle) < 0) E("error: %s\n", strerror(errno));
28 int r_read(int handle, char *buf, uint32 size) argument
30 int rc = read((int) handle, (void *)buf, size);
46 int r_write (int handle, const char *buf, uint32 size) argument
48 int rc = write(handle, (void *)buf, size);
64 int r_control(int handle, cons argument
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
H A DTrustletSession.cpp91 if (buffers.find(pWsm->handle) != buffers.end()) {
95 buffers[pWsm->handle] = pWsm;
100 bool TrustletSession::removeBulkBuff(uint32_t handle) argument
102 if (buffers.find(handle) == buffers.end()) {
105 CWsm_ptr pWsm = buffers[handle];
107 buffers.erase(handle);
120 buffers.erase(pWsm->handle);
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
H A DSession.cpp67 LOG_I("removeBulkBuf - Physical Address of L2 Table = 0x%X, handle= %d",
69 pBlkBufDescr->handle);
72 int ret = mcKMod->unregisterWsmL2(pBlkBufDescr->handle);
110 uint32_t handle; local
126 mcResult_t ret = mcKMod->registerWsmL2(buf, len, 0, &handle, &pPhysWsmL2);
133 LOG_V(" addBulkBuf - Handle of L2 Table = %u", handle);
136 *blkBuf = new BulkBufferDescriptor(buf, 0x0, len, handle, pPhysWsmL2);
154 return (*iterator)->handle;
184 LOG_V("removeBulkBuf():handle=%u", pBlkBufDescr->handle);
[all...]
/hardware/invensense/libsensors/
H A DSensorBase.cpp76 int SensorBase::setDelay(int32_t handle, int64_t ns) { argument
/hardware/invensense/libsensors_iio/software/core/mllite/linux/
H A Dmlos_linux.c68 * @param mutex pointer to mutex handle
92 * @param mutex Mutex handle
110 * @param mutex mutex handle
140 * @param fp handle to file to close.
150 * @param handle handle to the resource.
153 inv_error_t inv_destroy_mutex(HANDLE handle) argument
156 pthread_mutex_t *pm = (pthread_mutex_t *)handle;
160 free((void*) handle);
/hardware/invensense/mlsdk/platform/linux/
H A Dmlos_linux.c81 * @param mutex pointer to mutex handle
105 * @param mutex Mutex handle
123 * @param mutex mutex handle
153 * @param fp handle to file to close.
163 * @param handle handle to the resource.
166 inv_error_t inv_destroy_mutex(HANDLE handle) argument
169 pthread_mutex_t *pm = (pthread_mutex_t*)handle;
174 free((void*) handle);
/hardware/libhardware/
H A Dhardware.c58 * return the dlopen handle and the hmi.
66 void *handle; local
74 handle = dlopen(path, RTLD_NOW);
75 if (handle == NULL) {
84 hmi = (struct hw_module_t *)dlsym(handle, sym);
98 hmi->dso = handle;
106 if (handle != NULL) {
107 dlclose(handle);
108 handle = NULL;
111 ALOGV("loaded HAL id=%s path=%s hmi=%p handle
[all...]
/hardware/libhardware/modules/gralloc/
H A Dmapper.cpp47 buffer_handle_t handle,
50 private_handle_t* hnd = (private_handle_t*)handle;
68 buffer_handle_t handle)
70 private_handle_t* hnd = (private_handle_t*)handle;
90 buffer_handle_t handle)
92 if (private_handle_t::validate(handle) < 0)
97 // If a buffer handle is passed from the process that allocated it to a
110 // allocations happen in its process. After returning the buffer handle to
111 // the IGraphicBufferAlloc client, SurfaceFlinger free's its handle to the
114 // buffer belongs to, it will get a new handle t
46 gralloc_map(gralloc_module_t const* module, buffer_handle_t handle, void** vaddr) argument
67 gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
89 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
139 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
170 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
191 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
[all...]
H A Dgralloc.cpp59 buffer_handle_t handle, int usage,
64 buffer_handle_t handle);
67 buffer_handle_t handle);
70 buffer_handle_t handle);
248 buffer_handle_t handle)
250 if (private_handle_t::validate(handle) < 0)
253 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle);
247 gralloc_free(alloc_device_t* dev, buffer_handle_t handle) argument
/hardware/msm7k/libgralloc/
H A Dmapper.cpp54 buffer_handle_t handle,
57 private_handle_t* hnd = (private_handle_t*)handle;
66 ALOGE("Could not mmap handle %p, fd=%d (%s)",
67 handle, hnd->fd, strerror(errno));
80 buffer_handle_t handle)
82 private_handle_t* hnd = (private_handle_t*)handle;
106 buffer_handle_t handle)
108 if (private_handle_t::validate(handle) < 0)
111 // if this handle was created in this process, then we keep it as is.
113 private_handle_t* hnd = (private_handle_t*)handle;
53 gralloc_map(gralloc_module_t const* module, buffer_handle_t handle, void** vaddr) argument
79 gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
105 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
124 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
169 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
190 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
[all...]
/hardware/qcom/display/libgenlock/
H A Dgenlock.cpp69 ALOGE("%s: handle is invalid", __FUNCTION__);
114 /* Internal function to close the fd and release the handle */
115 void close_genlock_fd_and_handle(int& fd, int& handle) argument
122 if (handle >= 0) {
123 close(handle);
124 handle = -1;
130 * handle are stored in the buffer_handle.
132 * @param: handle of the buffer
140 ALOGE("%s: handle is invalid", __FUNCTION__);
173 // Store the lock params in the handle
[all...]
/hardware/qcom/display/libgralloc/
H A Dionalloc.cpp92 fd_data.handle = ionAllocData.handle;
93 handle_data.handle = ionAllocData.handle;
184 struct ion_handle* handle; local
199 handle_data.handle = fd_data.handle;
200 flush_data.handle = fd_data.handle;
/hardware/samsung_slsi/exynos5/gralloc/
H A Dmapper.cpp40 static int gralloc_map(gralloc_module_t const* module, buffer_handle_t handle) argument
42 private_handle_t* hnd = (private_handle_t*)handle;
56 static int gralloc_unmap(gralloc_module_t const* module, buffer_handle_t handle) argument
58 private_handle_t* hnd = (private_handle_t*)handle;
98 buffer_handle_t handle)
101 if (private_handle_t::validate(handle) < 0)
104 err = gralloc_map(module, handle);
106 private_handle_t* hnd = (private_handle_t*)handle;
111 ret = ion_import(getIonFd(module), hnd->fd, &hnd->handle);
113 ALOGE("error importing handle
97 gralloc_register_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
128 gralloc_unregister_buffer(gralloc_module_t const* module, buffer_handle_t handle) argument
150 gralloc_lock(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void** vaddr) argument
173 gralloc_unlock(gralloc_module_t const* module, buffer_handle_t handle) argument
[all...]
/hardware/samsung_slsi/exynos5/libexynosutils/
H A DExynosMutex.cpp200 void *handle)
202 if (handle == NULL) {
203 ALOGE("%s::handle is null", __func__);
207 if (((ExynosMutex *)handle)->getCreatedStatus() == true)
208 ((ExynosMutex *)handle)->destroy();
210 delete (ExynosMutex *)handle;
216 void *handle)
218 if (handle == NULL) {
219 ALOGE("%s::handle is null", __func__);
223 return ((ExynosMutex *)handle)
199 exynos_mutex_destroy( void *handle) argument
215 exynos_mutex_lock( void *handle) argument
227 exynos_mutex_unlock( void *handle) argument
239 exynos_mutex_trylock( void *handle) argument
251 exynos_mutex_get_type( void *handle) argument
262 exynos_mutex_get_created_status( void *handle) argument
[all...]
/hardware/ti/omap4xxx/camera/
H A DMemoryManager.cpp79 struct ion_handle *handle; local
85 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle);
92 CAMHAL_LOGDB("Before mapping, handle = %x, nSize = %d", handle, bytes);
93 if ((ret = ion_map(mIonFd, handle, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, 0,
97 ion_free(mIonFd, handle);
101 mIonHandleMap.add(bufsArr[i], (unsigned int)handle);
/hardware/ti/omap4xxx/ion/
H A Dlinux_ion.h41 struct ion_handle *handle; member in struct:ion_allocation_data
45 struct ion_handle *handle; member in struct:ion_fd_data
50 struct ion_handle *handle; member in struct:ion_handle_data
H A Domap_ion.h29 struct ion_handle *handle; member in struct:omap_ion_tiler_alloc_data

Completed in 1577 milliseconds

12345