Searched refs:sensorAlgorithm (Results 1 – 2 of 2) sorted by relevance
| /base/sensors/sensor/interfaces/native/test/unittest/ |
| D | sensor_algorithm_test.cpp | 51 SensorAlgorithm sensorAlgorithm; variable 58 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 72 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 81 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 90 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix); 105 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix); 114 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, -1, outRotationMatrix… 123 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, -1, 1, outRotationMatrix… 130 int32_t ret = sensorAlgorithm.GetAltitude(5.0, 0.0, &altitude); 137 int32_t ret = sensorAlgorithm.GetAltitude(5.0, 0.0, nullptr); [all …]
|
| /base/sensors/sensor/interfaces/plugin/src/ |
| D | sensor_js.cpp | 583 SensorAlgorithm sensorAlgorithm; in TransformCoordinateSystem() local 584 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationVector, axisX, axisY, outRotatio… in TransformCoordinateSystem() 646 SensorAlgorithm sensorAlgorithm; in GetAngleModify() local 647 int32_t ret = sensorAlgorithm.GetAngleModify(curRotationVector, preRotationVector, angleChange); in GetAngleModify() 700 SensorAlgorithm sensorAlgorithm; in GetDirection() local 701 int32_t ret = sensorAlgorithm.GetDirection(rotationMatrix, rotationAngle); in GetDirection() 754 SensorAlgorithm sensorAlgorithm; in CreateQuaternion() local 755 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); in CreateQuaternion() 813 SensorAlgorithm sensorAlgorithm; in GetAltitude() local 814 int32_t ret = sensorAlgorithm.GetAltitude(seaPressure, currentPressure, &altitude); in GetAltitude() [all …]
|