Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.0/
DSensor.cpp283 std::optional<std::vector<Orientation>> sensorOrientationList = getOrientation(config); in checkOrientation() local
284 if (!sensorOrientationList) return OK; in checkOrientation()
285 if (sensorOrientationList->empty()) return OK; in checkOrientation()
286 Orientation& sensorOrientation = (*sensorOrientationList)[0]; in checkOrientation()
311 std::optional<std::vector<Orientation>> sensorOrientationList = getOrientation(config); in setOrientation() local
313 if (sensorOrientationList && !sensorOrientationList->empty()) { in setOrientation()
314 Orientation& sensorOrientation = (*sensorOrientationList)[0]; in setOrientation()
358 auto sensorOrientationList = getOrientation(config); in getSensorPlacement() local
359 if (!sensorOrientationList) return BAD_VALUE; in getSensorPlacement()
360 if (sensorOrientationList->empty()) return BAD_VALUE; in getSensorPlacement()
[all …]