sensord: change sensor name to be the same as an sensor type name 11/64511/1
authorkibak.yoon <kibak.yoon@samsung.com>
Wed, 16 Mar 2016 13:01:10 +0000 (22:01 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 1 Apr 2016 11:56:10 +0000 (20:56 +0900)
* "*_SENSOR" instead of "SENSOR_"
* this patch is applied to virtual sensors

Change-Id: I9c5af4a00f2e6dbff217ae6cc4bcaec4848d0a02
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/sensor/auto_rotation/auto_rotation_sensor.cpp
src/sensor/gravity/gravity_sensor.cpp
src/sensor/linear_accel/linear_accel_sensor.cpp

index 0c50aca..e1d90f1 100644 (file)
@@ -36,7 +36,7 @@
 #include <auto_rotation_alg.h>
 #include <auto_rotation_alg_emul.h>
 
-#define SENSOR_NAME "AUTO_ROTATION_SENSOR"
+#define SENSOR_NAME "SENSOR_AUTO_ROTATION"
 
 auto_rotation_sensor::auto_rotation_sensor()
 : m_accel_sensor(NULL)
index 49ee0fe..e72f706 100644 (file)
@@ -35,7 +35,7 @@
 #include <sensor_loader.h>
 #include <fusion_util.h>
 
-#define SENSOR_NAME "GRAVITY_SENSOR"
+#define SENSOR_NAME "SENSOR_GRAVITY"
 
 #define GRAVITY 9.80665
 
index eb50de9..7e89700 100644 (file)
@@ -35,7 +35,7 @@
 #include <sensor_loader.h>
 #include <fusion_util.h>
 
-#define SENSOR_NAME "LINEAR_ACCEL_SENSOR"
+#define SENSOR_NAME "SENSOR_LINEAR_ACCELERATION"
 
 #define GRAVITY 9.80665