Lines Matching refs:manager

46         if (manager == nullptr) { \
76 int ASensorManager_getSensorList(ASensorManager* manager, ASensorList* list) { in ASensorManager_getSensorList() argument
79 int c = static_cast<SensorManager*>(manager)->getSensorList(&l); in ASensorManager_getSensorList()
86 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type) { in ASensorManager_getDefaultSensor() argument
88 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
91 ASensor const* ASensorManager_getDefaultSensorEx(ASensorManager* manager, int type, bool wakeUp) { in ASensorManager_getDefaultSensorEx() argument
94 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList); in ASensorManager_getDefaultSensorEx()
104 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, in ASensorManager_createEventQueue() argument
114 static_cast<SensorManager*>(manager)->createEventQueue(); in ASensorManager_createEventQueue()
119 queue->incStrong(manager); in ASensorManager_createEventQueue()
124 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue) { in ASensorManager_destroyEventQueue() argument
130 q->decStrong(manager); in ASensorManager_destroyEventQueue()
134 int ASensorManager_createSharedMemoryDirectChannel(ASensorManager *manager, int fd, size_t size) { in ASensorManager_createSharedMemoryDirectChannel() argument
153 int ret = static_cast<SensorManager *>(manager)->createDirectChannel( in ASensorManager_createSharedMemoryDirectChannel()
160 ASensorManager *manager, AHardwareBuffer const *buffer, size_t size) { in ASensorManager_createHardwareBufferDirectChannel() argument
178 return static_cast<SensorManager *>(manager)->createDirectChannel( in ASensorManager_createHardwareBufferDirectChannel()
182 void ASensorManager_destroyDirectChannel(ASensorManager *manager, int channelId) { in ASensorManager_destroyDirectChannel() argument
185 static_cast<SensorManager *>(manager)->destroyDirectChannel(channelId); in ASensorManager_destroyDirectChannel()
189 ASensorManager *manager, ASensor const *sensor, int channelId, int rate) { in ASensorManager_configureDirectReport() argument
203 return static_cast<SensorManager *>(manager)->configureDirectChannel( in ASensorManager_configureDirectReport()