platform/adaptation/tw1/sensor-hal-tw1.git
9 years agosensor-hal-tw1: clean up sensor-hal-tw1 codes 08/65308/2
kibak.yoon [Fri, 8 Apr 2016 09:11:30 +0000 (18:11 +0900)]
sensor-hal-tw1: clean up sensor-hal-tw1 codes

* change event_ids to member variable
* move setting monotonic function to util.cpp
* update sensor.xml

Change-Id: I0878b0a164a6ff2b39943177df850f193a773f04
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agosensor-hal: change char array to structure on receiving iio event 92/65292/6
kibak.yoon [Wed, 6 Apr 2016 08:30:02 +0000 (17:30 +0900)]
sensor-hal: change char array to structure on receiving iio event

- using structure instead of char array can remove useless memcpy()s.
- furthermore, it can replace the comment.

- this iio function is not used yet, but for the future, it has to be fixed.

Change-Id: Iae2d70e17b3d1fa8853adb57ded92a81ba86b0e9
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agosensor-hal-tw1: remove unused functions in accel_device 43/64743/1
kibak.yoon [Tue, 5 Apr 2016 07:43:14 +0000 (16:43 +0900)]
sensor-hal-tw1: remove unused functions in accel_device

Change-Id: Id84536b2f5ba19037e4a946679ad9575986b3c88
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agoMerge "sensor-hal-tw1: remove useless code in pressure_device" into devel/tizen_3.0
Mu-Woong Lee [Tue, 5 Apr 2016 06:36:20 +0000 (23:36 -0700)]
Merge "sensor-hal-tw1: remove useless code in pressure_device" into devel/tizen_3.0

9 years agosensor-hal-tw1: remove useless code in pressure_device 28/64728/1
kibak.yoon [Tue, 5 Apr 2016 06:26:31 +0000 (15:26 +0900)]
sensor-hal-tw1: remove useless code in pressure_device

Change-Id: Ic53b59890e8aea459326f9a9cf3ea1c810da5c58
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agosensor-hal-tw1: use _ERRNO macro instead of strerror 27/64727/1
kibak.yoon [Tue, 5 Apr 2016 06:24:51 +0000 (15:24 +0900)]
sensor-hal-tw1: use _ERRNO macro instead of strerror

* this macro uses strerror_r() instead of strerror().

Change-Id: I8439e2d86f1a0d4e0aaf95adca3a9641a47575b4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agoMerge "sensor-hal: tw1: change strerror to strerror_r" into devel/tizen_3.0
Mu-Woong Lee [Sun, 3 Apr 2016 04:57:58 +0000 (21:57 -0700)]
Merge "sensor-hal: tw1: change strerror to strerror_r" into devel/tizen_3.0

9 years agosensor-hal: tw1: change readdir to readdir_r 26/64526/1
kibak.yoon [Fri, 1 Apr 2016 13:16:07 +0000 (22:16 +0900)]
sensor-hal: tw1: change readdir to readdir_r

- Although HAL is thread-safe now, but for later, this patch is applied.
- remove the assign statement in while loop

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Id5d0c3ece1231e216a063cb6978295b5d1960831

9 years agosensor-hal: tw1: change strerror to strerror_r 25/64525/1
kibak.yoon [Fri, 1 Apr 2016 12:59:40 +0000 (21:59 +0900)]
sensor-hal: tw1: change strerror to strerror_r

* use thread-safe function(strerror_r)

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Ia09a12f6b7732ad49cdf8d1d14d74904b00584ab

9 years agoRevert "sensor-hal: tw1: change strerror to strerror_r"
kibak.yoon [Fri, 1 Apr 2016 13:27:02 +0000 (22:27 +0900)]
Revert "sensor-hal: tw1: change strerror to strerror_r"

This reverts commit 89c6bd75e0b2ed42b8ec9f82ce426810d7a2e055.

9 years agoRevert "sensor-hal: tw1: change readdir to readdir_r"
kibak.yoon [Fri, 1 Apr 2016 13:26:56 +0000 (22:26 +0900)]
Revert "sensor-hal: tw1: change readdir to readdir_r"

This reverts commit 05497ff6c919ed714342b5e7bbf3f9f8451fc6db.

9 years agosensor-hal: tw1: change readdir to readdir_r
kibak.yoon [Fri, 1 Apr 2016 13:16:07 +0000 (22:16 +0900)]
sensor-hal: tw1: change readdir to readdir_r

- Although HAL is thread-safe now, but for later, this patch is applied.
- remove the assign statement in while loop

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agosensor-hal: tw1: change strerror to strerror_r
kibak.yoon [Fri, 1 Apr 2016 12:59:40 +0000 (21:59 +0900)]
sensor-hal: tw1: change strerror to strerror_r

* use thread-safe function(strerror_r)

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agosensor-hal-tw1: fix profile about ExcludeArch in spec 81/62381/1 accepted/tizen/wearable/20160316.040248 submit/tizen_wearable/20160316.010859
kibak.yoon [Wed, 16 Mar 2016 01:05:10 +0000 (10:05 +0900)]
sensor-hal-tw1: fix profile about ExcludeArch in spec

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: I48f23a01d3e9a63a6e3d3cefb7c075e5d1a5fc6f

9 years agosensor-plugin-tw1: plugins for tw1 accepted/tizen/wearable/20160315.125759 submit/tizen_wearable/20160315.083344
kibak.yoon [Tue, 15 Mar 2016 08:23:59 +0000 (17:23 +0900)]
sensor-plugin-tw1: plugins for tw1

supported sensors on TW1:
  accelerometer
  gyroscope
  light
  hrm sensors
  pressure

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
9 years agoInitial empty repository master
Jinkun Jang [Tue, 15 Mar 2016 08:15:35 +0000 (01:15 -0700)]
Initial empty repository