Searched refs:resourceHandle (Results 1 – 2 of 2) sorted by relevance
146 native_handle_t *resourceHandle = native_handle_create(1 /* nFd */, 0 /* nInt */); in ASensorManager_createSharedMemoryDirectChannel() local147 if (!resourceHandle) { in ASensorManager_createSharedMemoryDirectChannel()151 resourceHandle->data[0] = fd; in ASensorManager_createSharedMemoryDirectChannel()153 size, ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY, resourceHandle); in ASensorManager_createSharedMemoryDirectChannel()154 native_handle_delete(resourceHandle); in ASensorManager_createSharedMemoryDirectChannel()172 const native_handle_t *resourceHandle = AHardwareBuffer_getNativeHandle(buffer); in ASensorManager_createHardwareBufferDirectChannel() local173 if (!resourceHandle) { in ASensorManager_createHardwareBufferDirectChannel()178 size, ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER, resourceHandle); in ASensorManager_createHardwareBufferDirectChannel()
255 size_t size, int channelType, const native_handle_t *resourceHandle) { in createDirectChannel() argument271 SENSOR_DIRECT_FMT_SENSORS_EVENT, resourceHandle); in createDirectChannel()