Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp62 checkReturn(mSensors->getSensorsList( in SensorDevice()
81 checkReturn(mSensors->activate(list[i].sensorHandle, 0 /* enabled */)); in SensorDevice()
86 (checkReturn(mSensors->unregisterDirectChannel(-1)) != Result::INVALID_OPERATION); in SensorDevice()
122 checkReturn(mSensors->activate(handle, 0 /* enabled */)); in handleDynamicSensorConnection()
288 checkReturn(mSensors->batch( in activate()
303 err = StatusFromResult(checkReturn(mSensors->activate(handle, enabled))); in activate()
367 checkReturn(mSensors->batch( in batch()
392 return StatusFromResult(checkReturn(mSensors->flush(handle))); in flush()
417 checkReturn(mSensors->batch( in enableAllSensors()
425 checkReturn(mSensors->activate(sensor_handle, 1 /* enabled */))); in enableAllSensors()
[all …]
DSensorDevice.h169 static Return<T> checkReturn(Return<T> &&ret) { in checkReturn() function