Searched refs:sensorAlgorithm (Results 1 – 3 of 3) sorted by relevance
| /base/sensors/sensor/test/unittest/interfaces/inner_api/ |
| D | sensor_algorithm_test.cpp | 54 SensorAlgorithm sensorAlgorithm; variable 61 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 75 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 84 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 93 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 103 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix); 118 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix); 127 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, -1, outRotationMatrix… 136 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, -1, 1, outRotationMatrix… 145 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 0, 2, outRotationMatrix); [all …]
|
| /base/sensors/sensor/frameworks/cj/src/ |
| D | cj_sensor_impl.cpp | 213 SensorAlgorithm sensorAlgorithm; in GetAltitude() local 214 int32_t ret = sensorAlgorithm.GetAltitude(seaPressure, currentPressure, altitude); in GetAltitude() 223 SensorAlgorithm sensorAlgorithm; in GetGeomagneticDip() local 224 …int32_t ret = sensorAlgorithm.GetGeomagneticDip(ConvertCArr2Vector(inclinationMatrix), geomagnetic… in GetGeomagneticDip() 240 SensorAlgorithm sensorAlgorithm; in GetAngleModify() local 241 int32_t ret = sensorAlgorithm.GetAngleModify(ConvertCArr2Vector(curRotationMatrix), in GetAngleModify() 255 SensorAlgorithm sensorAlgorithm; in GetRotationMatrix() local 256 …int32_t ret = sensorAlgorithm.CreateRotationMatrix(ConvertCArr2Vector(rotationCArr), rotationMatri… in GetRotationMatrix() 275 SensorAlgorithm sensorAlgorithm; in TransformRotationMatrix() local 277 …sensorAlgorithm.TransformCoordinateSystem(ConvertCArr2Vector(rotationCArr), axisX, axisY, outRotat… in TransformRotationMatrix() [all …]
|
| /base/sensors/sensor/frameworks/js/napi/src/ |
| D | sensor_js.cpp | 1018 SensorAlgorithm sensorAlgorithm; in TransformCoordinateSystem() local 1019 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationVector, axisX, axisY, outRotatio… in TransformCoordinateSystem() 1068 SensorAlgorithm sensorAlgorithm; in GetAngleModify() local 1069 int32_t ret = sensorAlgorithm.GetAngleModify(curRotationVector, preRotationVector, angleChange); in GetAngleModify() 1109 SensorAlgorithm sensorAlgorithm; in GetDirection() local 1110 int32_t ret = sensorAlgorithm.GetDirection(rotationMatrix, rotationAngle); in GetDirection() 1150 SensorAlgorithm sensorAlgorithm; in CreateQuaternion() local 1151 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); in CreateQuaternion() 1196 SensorAlgorithm sensorAlgorithm; in GetAltitude() local 1197 int32_t ret = sensorAlgorithm.GetAltitude(seaPressure, currentPressure, &altitude); in GetAltitude() [all …]
|