platform/core/api/sensor.git
2 years agoDivide private header files to include/private folder 78/277478/2
TaeminYeom [Thu, 7 Jul 2022 10:09:01 +0000 (19:09 +0900)]
Divide private header files to include/private folder

Change-Id: Ib9fab5c41a35cfb70a8f198481386e00f3a1a182
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoChange the name of header files 51/277451/2
TaeminYeom [Thu, 7 Jul 2022 06:09:25 +0000 (15:09 +0900)]
Change the name of header files

Fix the style of name sensor-xxx.h
Merge sensor_internal.h into sensor-internal.h

Change-Id: I7beddf55788172884670b978ee431c8ea4892eb5
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoCopy libsensor to API 44/277244/4
TaeminYeom [Mon, 4 Jul 2022 05:49:07 +0000 (14:49 +0900)]
Copy libsensor to API

Change-Id: Ib82941e2ba6cbb6b7d360a095a1f390797d08e9a
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoAdd timestamp in sensor-tool 72/276872/2 accepted/tizen/unified/20220628.133546 submit/tizen/20220627.091154
TaeminYeom [Mon, 27 Jun 2022 08:33:22 +0000 (17:33 +0900)]
Add timestamp in sensor-tool

Change-Id: I7916b26a6023cc2cff425d8398056f4cf33c810d
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoApply requirement for gcov automation 22/276122/1 accepted/tizen/unified/20220613.161558 submit/tizen/20220610.020359
Youngjae Cho [Fri, 10 Jun 2022 01:01:07 +0000 (10:01 +0900)]
Apply requirement for gcov automation

Change-Id: Ie2940bb5dd797d3e443e454934e6c4a27a898c0b
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2 years agoFix build error in 64bit environment 35/273535/1 accepted/tizen/unified/20220526.144410 submit/tizen/20220525.001052
TaeminYeom [Thu, 7 Apr 2022 06:59:12 +0000 (15:59 +0900)]
Fix build error in 64bit environment

Change-Id: I082ebc58681d88bc3f77ef04b124faa599904aa3
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoAdd option to sensor-tool 27/273527/2
TaeminYeom [Thu, 7 Apr 2022 01:59:22 +0000 (10:59 +0900)]
Add option to sensor-tool

Change-Id: I5ef54eacb2142afac007ecb2c8d953e5deeb176a
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoRemove unused test 26/273526/1
TaeminYeom [Wed, 6 Apr 2022 08:31:20 +0000 (17:31 +0900)]
Remove unused test

Change-Id: Ifeed63a95b2f2baf55a5f95fc9ec9cc097c969e6
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoImplement a test tool for sensor spec test and stress test 13/273413/4
TaeminYeom [Tue, 5 Apr 2022 08:38:15 +0000 (17:38 +0900)]
Implement a test tool for sensor spec test and stress test

Change-Id: I69393e5ad5c0539f051573e91a36bc73abebf11e
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoChange gcov object install path 72/270172/1 accepted/tizen/unified/20220128.144508 submit/tizen/20220127.011830
TaeminYeom [Wed, 26 Jan 2022 07:37:17 +0000 (16:37 +0900)]
Change gcov object install path

Change-Id: I511f7150685e0f6c77eb0e047fa152e9af249b88
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoAdd define check for __SENSOR_INTERNAL_H__ 43/269343/1
Hyotaek Shim [Thu, 13 Jan 2022 03:55:39 +0000 (12:55 +0900)]
Add define check for __SENSOR_INTERNAL_H__

Change-Id: I6d0e74a3e73ea4be8743ff5fd93363564bc7c1c2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoChange directory name from test to tests 79/269279/1
Hyotaek Shim [Wed, 12 Jan 2022 09:11:11 +0000 (18:11 +0900)]
Change directory name from test to tests

Change-Id: I699f87c6ca9d80bb4f2885ed33510fffb6ded564
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoAdd .gitignore 77/269277/1
Hyotaek Shim [Wed, 12 Jan 2022 09:09:48 +0000 (18:09 +0900)]
Add .gitignore

Change-Id: I088afb61fceb3346f7b7b71037845c0ce52ab4d0
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoApply ASLR compile options 59/269259/3
Hyotaek Shim [Wed, 12 Jan 2022 06:52:37 +0000 (15:52 +0900)]
Apply ASLR compile options

Change-Id: I182c1f6132305b1d7f96a31ae244cfe7e575b46a
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2 years agoChange to use SENSOR_BATCH_LATENCY_DEFAULT in sensord 81/269181/1
TaeminYeom [Tue, 11 Jan 2022 06:00:48 +0000 (15:00 +0900)]
Change to use SENSOR_BATCH_LATENCY_DEFAULT in sensord

Change-Id: I34e7d3bead97306e1893e91128a34b2dcc33acab
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoRemove sensor_get_type log 77/268777/3
TaeminYeom [Mon, 3 Jan 2022 01:10:49 +0000 (10:10 +0900)]
Remove sensor_get_type log

Change-Id: I0f3214b6bc92931d956f01a9262b50c068e1b155
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoAdd the number of value of sleep_detector sensor 84/268784/1
TaeminYeom [Mon, 3 Jan 2022 03:15:44 +0000 (12:15 +0900)]
Add the number of value of sleep_detector sensor

Change-Id: If2892117e2c6f35a858f00bc53feb402f3e4d331
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
2 years agoUse HAL attribute enum 85/268385/1 accepted/tizen/unified/20211224.144853 submit/tizen/20211222.081021
taemin.yeom [Wed, 22 Dec 2021 05:55:47 +0000 (14:55 +0900)]
Use HAL attribute enum

-include hal-api-sensor
-remove sensor_attribute_internal_e

Change-Id: Iaf23b2ae7a4f6ca7e1627d27f6d50e3f34c57d03
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
2 years agoChange internal API argument 52/267952/1
taemin.yeom [Tue, 14 Dec 2021 02:20:56 +0000 (11:20 +0900)]
Change internal API argument

-sensor_util_set_attribute_int
-sensor_util_get_attribute_int

Change-Id: I1deb237b5b48ad900c868f1983c8bf3e31a1e5b7
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
2 years agoAdd Lidar sensor type in internal header 27/267927/2
taemin.yeom [Mon, 13 Dec 2021 09:30:34 +0000 (18:30 +0900)]
Add Lidar sensor type in internal header

Change-Id: I7a598c7fc3c97aa49677e25af6dd40ac70351bad
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
2 years agoAdd internal API prototype 09/267909/2
taemin.yeom [Mon, 13 Dec 2021 07:24:20 +0000 (16:24 +0900)]
Add internal API prototype

-sensor_util_set_attribute_int
-sensor_util_get_attribute_int
-enum sensor_Attribute_internal_e

Change-Id: I1ef8cfc7eae5b2f6c0338367256d8a6cdb64d173
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
3 years agoAdd sensor-tool prototype 89/266389/3
taemin.yeom [Thu, 11 Nov 2021 09:33:23 +0000 (18:33 +0900)]
Add sensor-tool prototype

Change-Id: I4eaa52048aeab578a56744f783e8cc97d802907b
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
3 years agoUpdate sensor_doc.h about new sensor types 65/264765/1 accepted/tizen/unified/20211108.181422 submit/tizen/20210929.092322 submit/tizen/20211103.072537 submit/tizen/20211104.032902
taemin.yeom [Wed, 29 Sep 2021 08:54:54 +0000 (17:54 +0900)]
Update sensor_doc.h about new sensor types

- Gyroscope Orientation
- Geomagnetic Orientation

Change-Id: I203a7a4ac054e48524591248c0dbb79890395cd0
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
3 years agoAdd orientation sensor type 01/263301/4 accepted/tizen/6.5/unified/20211028.101218 accepted/tizen/unified/20210917.124827 submit/tizen/20210916.054029 submit/tizen_6.5/20211028.161801 tizen_6.5.m2_release
Yunmi Ha [Tue, 31 Aug 2021 06:30:08 +0000 (15:30 +0900)]
Add orientation sensor type

- SENSOR_GYROSCOPE_ORIENTATION : based on gyroscope_rotation_vector
- SENSOR_GEOMAGNETIC_ORIENTATION : based on geomagnetic_rotration_vector

Change-Id: I5ff47b3e31d84e181c6d7a487b23451f28adbebf
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
3 years agoAdd a test verifying orientation 05/262905/6 submit/tizen/20210831.021755
taemin.yeom [Mon, 23 Aug 2021 08:52:31 +0000 (17:52 +0900)]
Add a test verifying orientation

Change-Id: I53c761da83f6aa7911632ccba2db4a4c7b10f769
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
3 years agoAdd checking NULL for strdup 66/262766/1 accepted/tizen/unified/20210823.124232 submit/tizen/20210820.083850
Yunmi Ha [Thu, 19 Aug 2021 08:42:41 +0000 (17:42 +0900)]
Add checking NULL for strdup

Change-Id: I42b437d06970045fc8d3af8c919c54d903a4db5e
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
3 years agoPrevent a corner case and add static keywords 73/260673/1 accepted/tizen/unified/20210727.124557 submit/tizen/20210726.050348
taemin.yeom [Thu, 1 Jul 2021 02:00:28 +0000 (11:00 +0900)]
Prevent a corner case and add static keywords

Change-Id: I3a5652879b446aa03e09ab935b065411d82f3fa0
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
3 years agoAdd a test verifying range of sensor 82/259782/3
taemin.yeom [Mon, 14 Jun 2021 07:32:46 +0000 (16:32 +0900)]
Add a test verifying range of sensor

Change-Id: I80c77778e9c0263498c1aedd8f8aac52d4f41046
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
3 years agoRemoving unnecessary HTML link for privilege 04/250104/1 accepted/tizen/unified/20201221.122649 submit/tizen/20201221.015520
Boram Bae [Mon, 21 Dec 2020 01:33:48 +0000 (10:33 +0900)]
Removing unnecessary HTML link for privilege

Change-Id: I4bb80c031f5a7fda0de29e9b65fde7a8832aee9a
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
3 years agoPrevent unnecessary HTML link 50/249750/1
Boram Bae [Wed, 16 Dec 2020 09:24:32 +0000 (18:24 +0900)]
Prevent unnecessary HTML link

Change-Id: I14724bb94148a5dbc4fe5def4da3ba85f744b4ab
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoDeprecate SENSOR_HUMAN_STRESS_MONITOR 92/233892/2 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.122736 accepted/tizen/6.0/unified/hotfix/20201103.005023 accepted/tizen/6.0/unified/hotfix/20201103.052457 accepted/tizen/unified/20200805.122524 submit/tizen/20200724.011530 submit/tizen/20200804.055632 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
Boram Bae [Wed, 20 May 2020 05:46:23 +0000 (14:46 +0900)]
Deprecate SENSOR_HUMAN_STRESS_MONITOR

Change-Id: I36f9ff5bec8075f2fcaec60e2df9699d739529a6
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoFix license in spec file 07/231307/1
Boram Bae [Tue, 21 Apr 2020 06:11:34 +0000 (15:11 +0900)]
Fix license in spec file

Change-Id: I25ab935f76931696337b22bfc25affba66e91b88
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoFix a typo 11/229611/1 accepted/tizen/unified/20200407.043013 submit/tizen/20200403.011227
Boram Bae [Thu, 2 Apr 2020 08:01:46 +0000 (17:01 +0900)]
Fix a typo

Change-Id: Ie3d5823152cb42bac65d81bdf29df2e278f35a52
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoAdd sensor types and enum for new sensors 42/228042/2 accepted/tizen/unified/20200402.155354 submit/tizen/20200327.054009 submit/tizen/20200330.005543
Boram Bae [Wed, 18 Mar 2020 08:35:49 +0000 (17:35 +0900)]
Add sensor types and enum for new sensors

Change-Id: I6934843154a7dea1a66628df1602ec76543fb757
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoUpdate some API description 18/224618/1 accepted/tizen/unified/20200218.145834 submit/tizen/20200212.051016 submit/tizen/20200217.010941 submit/tizen/20200218.014904
Boram Bae [Mon, 10 Feb 2020 05:30:06 +0000 (14:30 +0900)]
Update some API description

Change-Id: Icdfda275de7ec1c63a62c73f177ec21ee0a0c276
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoAdd new APIs and Deprecate a old API 17/224617/1
Boram Bae [Wed, 5 Feb 2020 07:26:04 +0000 (16:26 +0900)]
Add new APIs and Deprecate a old API

* Add int sensor_listener_read_data_list(sensor_listener_h listener, sensor_event_s **events, int *count);
* Add int sensor_listener_flush(sensor_listener_h listener);
* Deprecate int sensor_listener_read_data(sensor_listener_h listener, sensor_event_s *event);
* Use sensor_listener_read_data_list instead of sensor_listener_read_data

Change-Id: I730643557c2650a6447090b0b0ce5b16672969ed
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoFix a typo 96/220496/1 accepted/tizen/unified/20200116.101833 submit/tizen/20200115.045858
Boram Bae [Thu, 19 Dec 2019 01:53:40 +0000 (10:53 +0900)]
Fix a typo

Change-Id: I1bc0bbafaf5b7c61a25564d3c36f06a8d749148a
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoChange descriptions related to batch events API and Deprecate API related to event 36/219936/8
Boram Bae [Thu, 12 Dec 2019 02:16:10 +0000 (11:16 +0900)]
Change descriptions related to batch events API and Deprecate API related to event

* Change the signature of sensor_events_cb
* Add deprecation warning logs

Change-Id: Ib350d90906bcd19cc5fd836413708420e8b1b0f8
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
4 years agoNative API Reference issues: developer.tizen.org => doc.tizen.org 46/219346/1
Abhimanyu Swami [Wed, 4 Dec 2019 10:32:00 +0000 (16:02 +0530)]
Native API Reference issues: developer.tizen.org => doc.tizen.org

Change-Id: I9282e905b4687f8b6a1c73c04e60fb28827d068a
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
4 years agoTizen Coverage Automation 52/218352/1 submit/tizen/20191128.120907
chakradhar [Thu, 21 Nov 2019 11:01:50 +0000 (16:31 +0530)]
Tizen Coverage Automation

Change-Id: Ic2b0e814dbfbe6f3fec915bf5a0f2ac2dd7b6136
Signed-off-by: chakradhar <v.pogiri@samsung.com>
4 years agoAdd sensor APIs related to batch event 59/217959/1
Boram Bae [Tue, 12 Nov 2019 09:43:13 +0000 (18:43 +0900)]
Add sensor APIs related to batch event

Change-Id: I90041ed2f66469814c752cc9364d165d972a1a44
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
5 years agoResolved Native API Reference issues for sensor 52/216752/1 accepted/tizen/unified/20191106.124722 submit/tizen/20191105.095622
Abhimanyu Swami [Thu, 31 Oct 2019 12:51:41 +0000 (18:21 +0530)]
Resolved Native API Reference issues for sensor

Change-Id: I4b018d098f7f2065e6e4f369addee7fa9f9f717d
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
5 years agosensor: capi: change log macro to show logs efficiently 86/205086/1
kibak.yoon [Mon, 22 Apr 2019 03:35:17 +0000 (12:35 +0900)]
sensor: capi: change log macro to show logs efficiently

Change-Id: Ie96faf6cc472bf2486f39ca0e14a84c13c1c334c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
(cherry picked from commit 0d60ab51f50e1886af89e794bfffd3d7ab325202)

7 years agosensor: capi: fix coding rule violations 20/149220/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.0/unified/20181102.014645 accepted/tizen/5.5/unified/20191031.031707 accepted/tizen/5.5/unified/mobile/hotfix/20201027.070028 accepted/tizen/unified/20170913.071907 submit/tizen/20170912.122717 submit/tizen_5.0/20181101.000002 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
kibak.yoon [Tue, 12 Sep 2017 02:08:55 +0000 (11:08 +0900)]
sensor: capi: fix coding rule violations

Change-Id: Iace7015137fbdd7d6a30f4dae114420f807ebc23
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: capi: add SIGINIFICANT_MOTION sensor type 58/138858/6 accepted/tizen/4.0/unified/20170816.014005 accepted/tizen/4.0/unified/20170816.020327 accepted/tizen/4.0/unified/20170828.224040 accepted/tizen/unified/20170727.190936 submit/tizen/20170726.085456 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100002 submit/tizen_4.0_unified/20170814.115522
kibak.yoon [Fri, 14 Jul 2017 05:12:42 +0000 (14:12 +0900)]
sensor: capi: add SIGINIFICANT_MOTION sensor type

Change-Id: Ic603c9db1d90e95c5f61e267fabe5055f32bfccf
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: capi: add sensor_util_get_altitude API 39/138839/5
kibak.yoon [Fri, 14 Jul 2017 04:23:32 +0000 (13:23 +0900)]
sensor: capi: add sensor_util_get_altitude API

- this API computes the altitude in meters from the atmospheric
  pressure, the pressure at sea level and the temperature.

Change-Id: Ic77516aeb067bb53b74720aedc5d49b91eab18ed
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: capi: fix bugs with using invalid format in logs 98/134198/2 accepted/tizen/unified/20170615.234805 submit/tizen/20170615.081748
kibak.yoon [Thu, 15 Jun 2017 07:39:08 +0000 (16:39 +0900)]
sensor: capi: fix bugs with using invalid format in logs

Change-Id: Ie01edbe98786cce60aa766add39bcf438b24a23c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: capi: add dummy to fix build dependency issue(tv) 98/132698/5 accepted/tizen/unified/20170608.072334 submit/tizen/20170607.105041
kibak.yoon [Wed, 7 Jun 2017 07:17:35 +0000 (16:17 +0900)]
sensor: capi: add dummy to fix build dependency issue(tv)

Change-Id: If473feda011d1303cbb61b640faf52713a3cf86f
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: fix doxygen errors 78/131278/1 accepted/tizen/unified/20170531.082557 submit/tizen/20170526.063331
kibak.yoon [Fri, 26 May 2017 06:07:22 +0000 (15:07 +0900)]
sensor: fix doxygen errors

- warning: Found unknown command `\since_tizen' in API doxygen
- solution : change \" to @"

Change-Id: Id75d401a352afa13cb2f8b620a5e0bccbe1fa943
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 90/130290/1 accepted/tizen/unified/20170522.182639 submit/tizen/20170521.102545 tizen_4.0.m1_release
kibak.yoon [Sun, 21 May 2017 08:48:38 +0000 (17:48 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  sensor: rec: check invalid parameter
  sensor: add internal callback function for sensor recorder

Change-Id: If83cfcba952e32a2918c26fa53b216216ee65638
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: rec: check invalid parameter 85/130285/1
kibak.yoon [Sun, 21 May 2017 07:03:23 +0000 (16:03 +0900)]
sensor: rec: check invalid parameter

Change-Id: I59ee8d38949bc3673f82ef72d58a49050a73f7bd
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: add internal callback function for sensor recorder 36/130236/2
kibak.yoon [Fri, 19 May 2017 12:55:34 +0000 (21:55 +0900)]
sensor: add internal callback function for sensor recorder

Change-Id: I5322833c481184097c6b24a03b03fb4cb040f688
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 36/129436/1 accepted/tizen/unified/20170516.180113 submit/tizen/20170516.115454
kibak.yoon [Tue, 16 May 2017 10:46:07 +0000 (19:46 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  sensor: api: implement URI-based APIs and sensor provider APIs
  Declare APIs to support application sensors

Change-Id: Ic4113d40298c85b4582f78086ec8f16f0b439da8
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: api: implement URI-based APIs and sensor provider APIs 35/126635/9
kibak.yoon [Wed, 26 Apr 2017 10:56:02 +0000 (19:56 +0900)]
sensor: api: implement URI-based APIs and sensor provider APIs

Change-Id: I339e2964b256f96d4462b57a2077bfd668be0ade
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoDeclare APIs to support application sensors 62/125162/30
Mu-Woong Lee [Fri, 14 Apr 2017 04:43:23 +0000 (13:43 +0900)]
Declare APIs to support application sensors

Change-Id: I6151f78af54122aab9621d03f3ba7b0e6c70b18d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoRevert "Re-enable dummy sensor recorder API build to support Tizen:TV OBS project" 65/124765/1 accepted/tizen/unified/20170414.163506 submit/tizen/20170413.031950
Mu-Woong Lee [Wed, 12 Apr 2017 09:54:52 +0000 (02:54 -0700)]
Revert "Re-enable dummy sensor recorder API build to support Tizen:TV OBS project"

This reverts commit fc8c64be1d8d8351bc35fe58aabcc40786e49a1f.

Change-Id: Ieffc71a30e1a85098bfe4e6e5e40836c3c4ac7a3

7 years agoRe-enable dummy sensor recorder API build to support Tizen:TV OBS project 62/124762/1
Mu-Woong Lee [Wed, 12 Apr 2017 09:39:12 +0000 (18:39 +0900)]
Re-enable dummy sensor recorder API build to support Tizen:TV OBS project

Change-Id: I302211f6076eae3e44d6e9476ae41b94af31ac86
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 23/124723/1
Mu-Woong Lee [Wed, 12 Apr 2017 07:48:27 +0000 (16:48 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  sensor-recorder: check parameters of some APIs
  Doxygen: fix the broken feature page link
  Fix the nonconventional so symlink packaging
  Cleanup the build spec and remove capi-system-sensor-extension-recorder package
  capi-sensor: change sensor-recorder implementations for migration

Change-Id: I564ce7cd5b939b528e4dc4426379ca712f542583
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agosensor-recorder: check parameters of some APIs 48/124148/1
kibak.yoon [Mon, 10 Apr 2017 09:53:18 +0000 (18:53 +0900)]
sensor-recorder: check parameters of some APIs

Change-Id: Ie364d4af76f9c2cb86ee137b878a8153c1c7a8fc
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoDoxygen: fix the broken feature page link 32/123332/1
Mu-Woong Lee [Wed, 5 Apr 2017 07:59:59 +0000 (16:59 +0900)]
Doxygen: fix the broken feature page link

Change-Id: I799fae46fa541cbd12d993e01ca41187e731b739
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoFix the nonconventional so symlink packaging 13/123313/1
Mu-Woong Lee [Wed, 5 Apr 2017 07:36:51 +0000 (16:36 +0900)]
Fix the nonconventional so symlink packaging

Change-Id: I1ca3b24bbd3287d91488c3205614c42b00a83ed2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoCleanup the build spec and remove capi-system-sensor-extension-recorder package 80/121780/1
Mu-Woong Lee [Wed, 29 Mar 2017 03:47:28 +0000 (12:47 +0900)]
Cleanup the build spec and remove capi-system-sensor-extension-recorder package

Change-Id: I4efb8a4c8735242205cf77f691c4cf597a9925be
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agocapi-sensor: change sensor-recorder implementations for migration 54/121554/2
kibak.yoon [Tue, 28 Mar 2017 08:01:47 +0000 (17:01 +0900)]
capi-sensor: change sensor-recorder implementations for migration

- change dependency package from context-common to context-sensor-recorder.
- ITC/UTC : all passed.

* this patch is related to https://review.tizen.org/gerrit/#/c/121551/.

Change-Id: I85625d711e358471a82df5906838631de205a75a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 70/108670/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170105.172834 accepted/tizen/common/20170111.155026 accepted/tizen/ivi/20170105.223851 accepted/tizen/mobile/20170105.223758 accepted/tizen/tv/20170105.223813 accepted/tizen/unified/20170309.032318 accepted/tizen/wearable/20170105.223833 submit/tizen/20170105.120901 submit/tizen_common/20170111.150147 submit/tizen_unified/20170308.100405
Mu-Woong Lee [Thu, 5 Jan 2017 10:21:18 +0000 (19:21 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  "profile_common" virtual package is provided by the recorder extension
  Add explicit dependency from capi-system-sensor-extension-recorder to context-service

Change-Id: I8af861503c3e83ad8d0a6b952b22b6402e3464ab
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years ago"profile_common" virtual package is provided by the recorder extension 55/108655/1
Mu-Woong Lee [Thu, 5 Jan 2017 09:52:52 +0000 (18:52 +0900)]
"profile_common" virtual package is provided by the recorder extension

Change-Id: Ife7de48d264dbbeff416ebe88eb164ce0c210cfd
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoAdd explicit dependency from capi-system-sensor-extension-recorder to context-service 47/108647/1
Mu-Woong Lee [Thu, 5 Jan 2017 09:24:55 +0000 (18:24 +0900)]
Add explicit dependency from capi-system-sensor-extension-recorder to context-service

This dependency can be removed after refactoring Context FW.

Change-Id: I8d65ce1c2c15323cda928a0cd95368889bc6461b
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 59/108159/1 accepted/tizen/common/20170103.135647 accepted/tizen/ivi/20170103.225215 accepted/tizen/mobile/20170103.225117 accepted/tizen/tv/20170103.225155 accepted/tizen/wearable/20170103.225201 submit/tizen/20170103.072008
kibak.yoon [Tue, 3 Jan 2017 07:13:31 +0000 (16:13 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  Fix smack labels of so symlinks
  sensor: remove UNIX build script in CMakeLists.txt
  Remove Profile Build Dependency
  sensor: remove unnecessary logs in the dummy

Change-Id: Ia5e2a4013da7b03d3a5b1a522dfcc13b05356031
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoFix smack labels of so symlinks 21/108121/1
Mu-Woong Lee [Tue, 3 Jan 2017 05:44:14 +0000 (14:44 +0900)]
Fix smack labels of so symlinks

Change-Id: Ife0d01a5a18784d0867f52c9b911e31db499b50d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
7 years agosensor: remove UNIX build script in CMakeLists.txt 97/108097/2
kibak.yoon [Tue, 3 Jan 2017 03:49:57 +0000 (12:49 +0900)]
sensor: remove UNIX build script in CMakeLists.txt

Change-Id: I9b95cd8d8affdf231de58aa6de33b7a5cd5b8c2f
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoRemove Profile Build Dependency 77/97077/14
MyungJoo Ham [Fri, 11 Nov 2016 06:13:18 +0000 (15:13 +0900)]
Remove Profile Build Dependency

- This is for Tizen 4.0.

- When SR-ing this, you need to create JIRA-TRE issue of:

  Add capi-system-sensor-profile_mobile for mobile profile
  Add capi-system-sensor-profile_wearable for wearable profile

Change-Id: I150ade04716ee3c1f0d5aefa7f4de82a177d66a7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agosensor: remove unnecessary logs in the dummy 58/107958/1
kibak.yoon [Wed, 14 Dec 2016 01:38:54 +0000 (10:38 +0900)]
sensor: remove unnecessary logs in the dummy

Change-Id: I09e38e6e4c877d0f19b29570afdd8b67300af5d4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
(cherry picked from commit f1c6ae512b2a1366eb5364cd95b1fa0a47298995)

7 years agoMerge branch 'devel/tizen' into tizen 69/102269/1
kibak.yoon [Mon, 5 Dec 2016 09:03:18 +0000 (18:03 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  capi-sensor: fix requiered package

Change-Id: I15ab0f3eec4c112499b190f0c513195506e73bb7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agocapi-sensor: fix requiered package 67/102267/2
kibak.yoon [Mon, 5 Dec 2016 08:57:15 +0000 (17:57 +0900)]
capi-sensor: fix requiered package

Change-Id: Ifec671d44633c9e8d260ef11a76bad17015002eb
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoMerge branch 'devel/tizen' into tizen 54/99154/1
kibak.yoon [Tue, 22 Nov 2016 05:23:43 +0000 (14:23 +0900)]
Merge branch 'devel/tizen' into tizen

* devel/tizen:
  sensor: add the dummy code for profile which doesn't support sensor

Change-Id: I67543f1a163f0ca802d364dd1bdc8125bd44fda8
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor: add the dummy code for profile which doesn't support sensor 63/98963/4
kibak.yoon [Mon, 21 Nov 2016 08:12:16 +0000 (17:12 +0900)]
sensor: add the dummy code for profile which doesn't support sensor

Change-Id: Ifbff36d3b5cb82dab721fb2328f23ce4f91f6fbc
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 15/86215/1 accepted/tizen/3.0/common/20161114.105308 accepted/tizen/3.0/ivi/20161011.062414 accepted/tizen/3.0/mobile/20161015.032851 accepted/tizen/3.0/tv/20161016.004210 accepted/tizen/3.0/wearable/20161015.082028 accepted/tizen/common/20160831.161822 accepted/tizen/ivi/20160831.124847 accepted/tizen/mobile/20160831.124701 accepted/tizen/tv/20160831.124722 accepted/tizen/wearable/20160831.124739 submit/tizen/20160831.044825 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
kibak.yoon [Wed, 31 Aug 2016 05:49:41 +0000 (14:49 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  Add deprecation warnings for the deprecated sensor type enums
  capi-sensor: fix api version in doxygen
  capi-sensor: fix doxygen of sensor recorder APIs

Change-Id: Id0624f5ba63273044e4334131b8c5df59d21bd21
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoAdd deprecation warnings for the deprecated sensor type enums 08/86208/2
Mu-Woong Lee [Wed, 31 Aug 2016 05:28:48 +0000 (14:28 +0900)]
Add deprecation warnings for the deprecated sensor type enums

Change-Id: I3406a62598dc9016084ecdfa53ae2af90b7aad07
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-sensor: fix api version in doxygen 38/85638/1
kibak.yoon [Fri, 26 Aug 2016 08:00:58 +0000 (17:00 +0900)]
capi-sensor: fix api version in doxygen

Change-Id: I1ff23053b3d7c49384667b63bbd82a9f4041282c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: fix doxygen of sensor recorder APIs 17/83117/1
kibak.yoon [Tue, 9 Aug 2016 08:01:58 +0000 (17:01 +0900)]
capi-sensor: fix doxygen of sensor recorder APIs

Change-Id: I5daa45c365f972832ab50fd8ce84ffea5d5f9268
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 54/79854/2 accepted/tizen/common/20160715.175700 accepted/tizen/ivi/20160717.035045 accepted/tizen/mobile/20160717.035037 accepted/tizen/tv/20160717.034931 accepted/tizen/wearable/20160717.034933 submit/tizen/20160715.115904
kibak.yoon [Wed, 13 Jul 2016 09:40:02 +0000 (18:40 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor: fix dummy implements to pass tct on common/tv profiles
  sensor: recorder: add error cases for setting time/interval to query

Change-Id: Ia808b3ee378f00ec4e95a6af2c6bb84c96ba805b
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor: fix dummy implements to pass tct on common/tv profiles 45/79845/3
kibak.yoon [Wed, 13 Jul 2016 01:47:30 +0000 (10:47 +0900)]
sensor: fix dummy implements to pass tct on common/tv profiles

Change-Id: Ia69c160f1730a260e9818f87b99b7e507ae874fa
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor: recorder: add error cases for setting time/interval to query 53/79853/1
kibak.yoon [Tue, 12 Jul 2016 12:18:22 +0000 (21:18 +0900)]
sensor: recorder: add error cases for setting time/interval to query

Change-Id: I56b6477275c9e21d68f2e371b11f97b02f27eca2
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 05/78805/1 accepted/tizen/common/20160708.141021 accepted/tizen/ivi/20160709.015010 accepted/tizen/mobile/20160709.014948 accepted/tizen/tv/20160709.015014 accepted/tizen/wearable/20160709.014959 submit/tizen/20160708.084014
kibak.yoon [Thu, 7 Jul 2016 02:27:54 +0000 (11:27 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  capi-sensor: mapping heart rate/sleep state key for recorder api

Change-Id: I6ea31238d20f73095ddacded45eac324501c3b86
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: mapping heart rate/sleep state key for recorder api 78/78678/1
kibak.yoon [Wed, 6 Jul 2016 11:35:07 +0000 (20:35 +0900)]
capi-sensor: mapping heart rate/sleep state key for recorder api

Change-Id: If1c26393a2b5a089891481d3f4d89dd7d603888f
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 20/78520/1 accepted/tizen/common/20160706.142212 accepted/tizen/ivi/20160706.082618 accepted/tizen/mobile/20160706.082526 accepted/tizen/tv/20160706.082516 accepted/tizen/wearable/20160706.082459 submit/tizen/20160706.022032
kibak.yoon [Wed, 6 Jul 2016 02:05:47 +0000 (11:05 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor-capi: fix dependents variable in CMakeLists for .pc

Change-Id: I1b92efde8c2f977272e9fc013a89420c293b1de6
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-capi: fix dependents variable in CMakeLists for .pc 15/78515/1
kibak.yoon [Wed, 6 Jul 2016 01:52:01 +0000 (10:52 +0900)]
sensor-capi: fix dependents variable in CMakeLists for .pc

Change-Id: Id90318cc32f18c525a6d2c9d1bdd48a7d74cb6ef
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 11/78311/1 submit/tizen/20160705.060431
kibak.yoon [Tue, 5 Jul 2016 05:52:55 +0000 (14:52 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor-capi: add recorder dummy for some profiles in which don't include contextd

Change-Id: I6c44fd58ee6d3e7f01ec2163ecb06d02b184f449
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-capi: add recorder dummy for some profiles in which don't include contextd 95/78295/3
kibak.yoon [Tue, 5 Jul 2016 05:09:40 +0000 (14:09 +0900)]
sensor-capi: add recorder dummy for some profiles in which don't include contextd

Change-Id: Ief31add9712f04359369ff5f340468011f15b8ac
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 83/77483/1
kibak.yoon [Thu, 30 Jun 2016 02:39:47 +0000 (11:39 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  capi-sensor: version 0.2.3
  recorder: include SensorRecorderTypes.h directly
  capi-sensor: implements sensor_recorder APIs

Change-Id: I46e4bcc606e42f6c9c2cff060aaa91b84abb55ef
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: version 0.2.3 72/77472/1
kibak.yoon [Thu, 30 Jun 2016 02:31:52 +0000 (11:31 +0900)]
capi-sensor: version 0.2.3

Change-Id: Ie24f868d3dd1afd758b16d58e103ae1e63c18d93
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agorecorder: include SensorRecorderTypes.h directly 83/77283/1
Mu-Woong Lee [Mon, 27 Jun 2016 06:56:58 +0000 (15:56 +0900)]
recorder: include SensorRecorderTypes.h directly

ProviderTypes.h does not work as an unbrella header anymore.

Change-Id: I0dd31a1541d8bce082d6c649bb6e89d6c712390c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-sensor: implements sensor_recorder APIs 82/77282/1
kibak.yoon [Thu, 23 Jun 2016 10:50:33 +0000 (19:50 +0900)]
capi-sensor: implements sensor_recorder APIs

Change-Id: Ic588754f1aa722276d6f11fedb74aa46c45aa5f5
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 28/76028/1 accepted/tizen/common/20160627.191138 accepted/tizen/ivi/20160623.121112 accepted/tizen/mobile/20160623.120958 accepted/tizen/tv/20160623.121045 accepted/tizen/wearable/20160623.121056 submit/tizen/20160622.045445
kibak.yoon [Wed, 22 Jun 2016 10:59:28 +0000 (19:59 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  capi-sensor: fix the bug which converts wrong pause policy

Change-Id: Ib4f2246dbd4c34ef669d743f2db6229876d72672
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: fix the bug which converts wrong pause policy 25/76025/1
kibak.yoon [Wed, 22 Jun 2016 10:06:00 +0000 (19:06 +0900)]
capi-sensor: fix the bug which converts wrong pause policy

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

8 years agoMerge branch 'devel/tizen_3.0' into tizen 21/75721/1
kibak.yoon [Tue, 21 Jun 2016 06:12:38 +0000 (15:12 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  capi-sensor: include sensor_log.h in capi-system-sensor package
  capi-sensor: recorder: add code skeleton of sensor_recorder APIs
  capi-sensor: add new sensor types and recorder APIs
  capi-sensor: clean up attribute/option feature
  capi-sensor: regrouping sensor api modules and update doxygen
  capi-sensor: update doxygen for syncing with tizen 2.3

Change-Id: Icecd03395d9fcd93fc89e9fbe7b2d7c2228d750c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: include sensor_log.h in capi-system-sensor package 12/75612/1
kibak.yoon [Mon, 20 Jun 2016 13:11:03 +0000 (22:11 +0900)]
capi-sensor: include sensor_log.h in capi-system-sensor package

- because there are same name header files, sensor_log.h,
  in capi-system-sensor and libsensord packages, they should be distinguished.

Change-Id: I27f22c7152ed9dbd723f9a057e89ea93d19b8f4e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: recorder: add code skeleton of sensor_recorder APIs 11/75611/1
kibak.yoon [Thu, 9 Jun 2016 02:45:20 +0000 (11:45 +0900)]
capi-sensor: recorder: add code skeleton of sensor_recorder APIs

Change-Id: Ieec1d88825df3a28eb1ff1f9b8a3c813cc2bd905
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: add new sensor types and recorder APIs 01/75101/2
kibak.yoon [Fri, 3 Jun 2016 04:42:11 +0000 (13:42 +0900)]
capi-sensor: add new sensor types and recorder APIs

- added sensor types for tizen 2.3.2
  - SENSOR_HUMAN_SLEEP_DETECTOR
  - SENSOR_HUMAN_STRESS_MONITOR

- added sensor recorder APIs

Change-Id: Id5e55ee3417714f453d16aefb729b1fb0a1e0159
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: clean up attribute/option feature 00/75100/1
kibak.yoon [Wed, 8 Jun 2016 04:40:53 +0000 (13:40 +0900)]
capi-sensor: clean up attribute/option feature

- SENSOR_ATTRIBUTE_PAUSE_POLICY
- SENSOR_ATTRIBUTE_AXIS_ORIENTATION
- attribute for each sensors

Change-Id: I6f85da39452fff9c4d831a5655884b41f02056a0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: regrouping sensor api modules and update doxygen 99/75099/1
kibak.yoon [Fri, 3 Jun 2016 04:27:45 +0000 (13:27 +0900)]
capi-sensor: regrouping sensor api modules and update doxygen

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