Home
last modified time | relevance | path

Searched refs:memOut (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp342 bool convertFromSharedMemInfo(const SharedMemInfo& memIn, sensors_direct_mem_t *memOut) { in convertFromSharedMemInfo() argument
343 if (memOut == nullptr) { in convertFromSharedMemInfo()
349 memOut->type = SENSOR_DIRECT_MEM_TYPE_ASHMEM; in convertFromSharedMemInfo()
352 memOut->type = SENSOR_DIRECT_MEM_TYPE_GRALLOC; in convertFromSharedMemInfo()
360 memOut->format = SENSOR_DIRECT_FMT_SENSORS_EVENT; in convertFromSharedMemInfo()
370 memOut->size = memIn.size; in convertFromSharedMemInfo()
371 memOut->handle = memIn.memoryHandle; in convertFromSharedMemInfo()
/hardware/interfaces/sensors/1.0/default/include/sensors/
Dconvert.h36 bool convertFromSharedMemInfo(const SharedMemInfo& memIn, sensors_direct_mem_t *memOut);