platform/core/api/sensor.git
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 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 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 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 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 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 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 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 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 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 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 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 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>
8 years agocapi-sensor: update doxygen for syncing with tizen 2.3 98/75098/1
kibak.yoon [Thu, 16 Jun 2016 12:39:47 +0000 (21:39 +0900)]
capi-sensor: update doxygen for syncing with tizen 2.3

Change-Id: I87869a6556b792bd7f6fe79cf6ec644fc8507b43
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: add a space between parameters 59/74859/2
kibak.yoon [Thu, 16 Jun 2016 02:12:40 +0000 (11:12 +0900)]
capi-sensor: add a space between parameters

- [SPC_M_SEP] Missing space after ,[whitespace/comma

Change-Id: Id33566cca139e82c8e020601357bcdc0a31b680a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-system-sensor: update api version for HRM sensor types 33/71833/1
kibak.yoon [Fri, 27 May 2016 08:49:21 +0000 (17:49 +0900)]
capi-system-sensor: update api version for HRM sensor types

Change-Id: I049aaa5b4633b577c43f5c2f96c7ee66827a8fec
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensord: delete the duplicated manifest file and clean up spec file 43/71743/1
kibak.yoon [Fri, 27 May 2016 02:50:08 +0000 (11:50 +0900)]
sensord: delete the duplicated manifest file and clean up spec file

- capi-system-sensor.manifest is already existed in packaging directory
- sync with tizen 2.3

Change-Id: I94259191afeae2aee1a455429e36d50f36ccc649
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-system-sensor: clean up CMakeLists.txt and package config file 42/71742/1
kibak.yoon [Fri, 27 May 2016 02:48:32 +0000 (11:48 +0900)]
capi-system-sensor: clean up CMakeLists.txt and package config file

- sync with tizne 2.3

Change-Id: I2799feceed46a4a3667ac68304a2cde0cc4daa89
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor: remove wrong api version in doxygen 33/68833/2
kibak.yoon [Tue, 10 May 2016 04:45:05 +0000 (13:45 +0900)]
sensor: remove wrong api version in doxygen

* WEARABLE 2.3.2 must be removed

Change-Id: I3e6bacb4e1d20e7a8fa583eda5d7e8c267b38ea8
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoRemap the axis enums for ABI compatibility 55/68055/1
Mu-Woong Lee [Mon, 2 May 2016 04:55:34 +0000 (13:55 +0900)]
Remap the axis enums for ABI compatibility

Change-Id: I282db494c388f8c09f58021026b78110acedd231
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-sensor: remove brackets for coding convention checker 31/67131/1
kibak.yoon [Mon, 25 Apr 2016 08:56:26 +0000 (17:56 +0900)]
capi-sensor: remove brackets for coding convention checker

Change-Id: Id6c38f04d03d27372cf963f90bf464af03e6084b
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: indent the source code properly and add/remove spaces as 29/65729/2
kibak.yoon [Tue, 12 Apr 2016 08:24:08 +0000 (17:24 +0900)]
capi-sensor: indent the source code properly and add/remove spaces as
coding rules

- Extra space before ( in function call
- Missing space after ,
- [IDT_R_TAB]

Change-Id: I39c63bb183e32553c48b53a03b4035665197f540
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: add returning NOT_SUPPORTED in sensor_set_max_batch_latency 80/65280/1
kibak.yoon [Tue, 5 Apr 2016 08:53:09 +0000 (17:53 +0900)]
capi-sensor: add returning NOT_SUPPORTED in sensor_set_max_batch_latency

* if max_batch_count is 0, it means that batching feature is not supported on this
  sensor. so checking max_batch_count is added.

Change-Id: I466b7406cdb5dfeeb584d0f23bbe8e6d2011ffcf
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: store batch_latency in listener 79/65279/1
kibak.yoon [Tue, 5 Apr 2016 10:16:11 +0000 (19:16 +0900)]
capi-sensor: store batch_latency in listener

- when sensor_register_event_cb() is called after calling set_max_batch_latency(),
  batch_latency is reset to 0.
- so it has to be modified to store the value of batch_latency in
  listener.

Change-Id: I424a4b94df423a75ff18ee9459fa2a846039ce13
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: rename sensor_get_sensor_*_ex() APIs to proper names 34/63934/3
kibak.yoon [Tue, 29 Mar 2016 01:50:43 +0000 (10:50 +0900)]
capi-sensor: rename sensor_get_sensor_*_ex() APIs to proper names

Change-Id: I517243b6c4abe0954e9842a3e224f88e13ee5e62
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: API returns an error to be clearer 82/63682/1
kibak.yoon [Thu, 24 Mar 2016 17:01:55 +0000 (02:01 +0900)]
capi-sensor: API returns an error to be clearer

* if client doesn't have privilege to use some privileged sensors,
  APIs has to return PERMISSION_DENIED.

Change-Id: I315c69f5780af72b18d77ffdca5b161a22175800
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: add implementation of sensor_listener_set_attribute_int 08/62708/2
kibak.yoon [Thu, 17 Mar 2016 13:16:49 +0000 (22:16 +0900)]
capi-sensor: add implementation of sensor_listener_set_attribute_int

Change-Id: I82550778555fe2894da3e8ddeaf23d8d08b6c021
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: add implementation of sensor_is_wake_up API 07/62707/1
kibak.yoon [Thu, 17 Mar 2016 13:16:24 +0000 (22:16 +0900)]
capi-sensor: add implementation of sensor_is_wake_up API

Change-Id: Ia483723431fe3685abc28a675305c0dbd596f29f
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocapi-sensor: clean up implementation of sensor_is_supported() 06/62706/1
kibak.yoon [Thu, 17 Mar 2016 13:15:47 +0000 (22:15 +0900)]
capi-sensor: clean up implementation of sensor_is_supported()

Change-Id: I1938ddc91fd1f0c86cf34dd74cc22435392924b7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoRename & reorder sleep stage enum 46/59546/1
Mu-Woong Lee [Tue, 16 Feb 2016 10:35:11 +0000 (19:35 +0900)]
Rename & reorder sleep stage enum

Change-Id: I585baf0a3a11b0589383fc0179c690796879b23e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-system-sensor: version 0.2.2 19/59419/1
kibak.yoon [Mon, 15 Feb 2016 10:32:19 +0000 (19:32 +0900)]
capi-system-sensor: version 0.2.2

Change-Id: Idf17072350890a870eb7503569d6617b374c5f2c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge "Remove activity/gesture enums & update doxygen script" into devel/tizen_3.0
Mu-Woong Lee [Mon, 15 Feb 2016 03:57:25 +0000 (19:57 -0800)]
Merge "Remove activity/gesture enums & update doxygen script" into devel/tizen_3.0

8 years agocapi-sensor: send sensor data to callback as pointer directly 50/59350/1
kibak.yoon [Sat, 13 Feb 2016 09:01:56 +0000 (18:01 +0900)]
capi-sensor: send sensor data to callback as pointer directly

Change-Id: I197608055abe0dae0f6c54e1d9a1534904759790
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoRemove activity/gesture enums & update doxygen script 99/59299/2
Mu-Woong Lee [Fri, 12 Feb 2016 08:16:31 +0000 (17:16 +0900)]
Remove activity/gesture enums & update doxygen script

Change-Id: I652808ca263a7726eaacdb159ebc605f9334a830
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agodoxygen: add since tag for wearable profile 16/58716/1
Mu-Woong Lee [Wed, 3 Feb 2016 05:15:56 +0000 (14:15 +0900)]
doxygen: add since tag for wearable profile

Change-Id: I3aa6b707c29c2b8249bf2b828e93f1f8e5e9ce7d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agodoxygen: remove privilege tags 11/58711/1
Mu-Woong Lee [Wed, 3 Feb 2016 05:08:08 +0000 (14:08 +0900)]
doxygen: remove privilege tags

Change-Id: Iebfaa9a2f949563598e2bd1e093d5cd4268952ba
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agodoxygen: update descriptions about interval and privilege 90/58090/1
Mu-Woong Lee [Wed, 27 Jan 2016 11:06:32 +0000 (20:06 +0900)]
doxygen: update descriptions about interval and privilege

Change-Id: Iaadc3685bae19ce4e963febaa1bbb9aa4382e0f2
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoMerge "util: fix the axis enum values" into devel/tizen_3.0
Mu-Woong Lee [Fri, 22 Jan 2016 04:15:12 +0000 (20:15 -0800)]
Merge "util: fix the axis enum values" into devel/tizen_3.0

8 years agoutil: fix the axis enum values 05/57705/1
Mu-Woong Lee [Fri, 22 Jan 2016 02:23:18 +0000 (11:23 +0900)]
util: fix the axis enum values

Change-Id: I01b87c5e8b2e54e1b75925737348db5e68cd9362
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-sensor: remove unnecessary type transition function 42/57442/3
kibak.yoon [Wed, 20 Jan 2016 07:03:59 +0000 (16:03 +0900)]
capi-sensor: remove unnecessary type transition function

- capi sensor type and internal sensor type will be maintained to be
  identical in the future.

related patch : https://review.tizen.org/gerrit/#/c/57438/

Change-Id: I7866667805dafe8c31326a75ea5cdeb4e086ad67
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoDeclare new functions and sensor types 30/57430/12
Mu-Woong Lee [Wed, 20 Jan 2016 05:44:14 +0000 (14:44 +0900)]
Declare new functions and sensor types

Change-Id: Ia1c7f7ee92665f69cba542b9d042a1122bdb5120
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-sensor: modify description for interval default/range 49/57349/1
Hongkuk, Son [Tue, 19 Jan 2016 09:24:15 +0000 (18:24 +0900)]
capi-sensor: modify description for interval default/range

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Iaacbe9c7c6100eb26846aa57d27bba1ee981acf8

8 years agocapi-sensor: fix sensor_listener_set_max_batch_latency() 96/55396/1
Hongkuk, Son [Wed, 23 Dec 2015 10:45:47 +0000 (19:45 +0900)]
capi-sensor: fix sensor_listener_set_max_batch_latency()

Previously, it was skipped to call sensord_change_event_max_batch_latency().
Now modify to call sensord_change_event_max_batch_latency().
This returns SENSOR_ERROR_NONE.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I3598549decd019feb94badab73f5b4df5b3edbbe

8 years agoVersioning to 0.2.1 11/55211/1
Mu-Woong Lee [Tue, 22 Dec 2015 11:27:02 +0000 (20:27 +0900)]
Versioning to 0.2.1

For backward compatibility, the major version is reset to 0.

Change-Id: I89d02213ebfadd756697c0dfbb01429bd9592da8
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-sensor: add a checking index of internal sensor type 97/54897/1
kibak.yoon [Fri, 18 Dec 2015 11:42:15 +0000 (20:42 +0900)]
capi-sensor: add a checking index of internal sensor type

Change-Id: I8c77cddaf149e6de6b72f04815df91358bedf6ea
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensord: fix the bug which index can be out of range 96/54896/1
kibak.yoon [Fri, 18 Dec 2015 11:29:13 +0000 (20:29 +0900)]
sensord: fix the bug which index can be out of range

Change-Id: Idd64bde22e2a901627cd20b46174cbb4bf6e593f
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoVersion 2.0.0 (sycned with sensord) 92/54892/1
Mu-Woong Lee [Fri, 18 Dec 2015 11:40:15 +0000 (20:40 +0900)]
Version 2.0.0 (sycned with sensord)

Change-Id: Ifc8a16f8bb1928f94899d5dd4993e0e8d520df21
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocapi-sensor: modify sensor_type_t name to sync with sensord 31/54031/1
Hongkuk, Son [Fri, 11 Dec 2015 02:14:32 +0000 (11:14 +0900)]
capi-sensor: modify sensor_type_t name to sync with sensord

from UNCAL_GYROSCOPE_SENSOR to GYROSCOPE_UNCAL_SENSOR

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I7d1bb277c21585549b613b688460c347cc8a0625

8 years agocapi-sensor: Put a space after closing brace 04/53604/1
Hongkuk, Son [Tue, 8 Dec 2015 05:21:25 +0000 (14:21 +0900)]
capi-sensor: Put a space after closing brace

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ic719009bf4ee2ba7efe52522c3e172a54e813bee

8 years agocapi-sensor: clean api description and code 05/51905/3
Hongkuk, Son [Tue, 17 Nov 2015 06:55:55 +0000 (15:55 +0900)]
capi-sensor: clean api description and code

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I5eefa7fcb3489a59c3729931f602b3346166025d

9 years agocapi-sensor: sync with SPIN tizen_2.4 22/49822/1 accepted/tizen/mobile/20151114.082259 accepted/tizen/tv/20151114.082415 accepted/tizen/wearable/20151114.082542 submit/tizen/20151113.112518
Hongkuk, Son [Tue, 20 Oct 2015 11:51:43 +0000 (20:51 +0900)]
capi-sensor: sync with SPIN tizen_2.4

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I9717ada136cf433586dc9450f25727af28d97b70

9 years agocapi-sensor: sync with tizen_2.4 99/49099/1
Hongkuk, Son [Tue, 6 Oct 2015 10:34:27 +0000 (19:34 +0900)]
capi-sensor: sync with tizen_2.4

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Iccbfdab416b696127cc89cad222076f13cd12c62

9 years agoAdding new sensor types for geomagnetic_rv, gaming_rv, uncal_gyro sensors 36/41636/6
Ankur [Wed, 17 Jun 2015 04:53:06 +0000 (10:23 +0530)]
Adding new sensor types for geomagnetic_rv, gaming_rv, uncal_gyro sensors

Updated the sensor type enum by adding the new sensors geomagnetic_rv, gaming_rv, and uncal_gyro sensors.

Change-Id: I22bc7bbac538aa708afef43777817a43827163f0

9 years agocapi-sensor: rename sensors.h to sensor.h 71/35471/1 tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/common/20150521.125442 accepted/tizen/mobile/20150406.020344 accepted/tizen/tv/20150302.123849 accepted/tizen/wearable/20150402.065353 submit/tizen/20150304.022845 submit/tizen_common/20150303.022446 submit/tizen_common/20150520.888885 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_mobile/20150303.022210 submit/tizen_mobile/20150402.061913 submit/tizen_tv/20150226.040306 submit/tizen_tv/20150226.063944 submit/tizen_tv/20150302.084059 submit/tizen_wearable/20150402.061918 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Kibak Yoon [Mon, 16 Feb 2015 07:38:50 +0000 (16:38 +0900)]
capi-sensor: rename sensors.h to sensor.h

sensor.h is proper header name for sensor capi from the tizen 2.3

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: Ia63af806dd341d57fe3436f2a43a0374ffff492a

9 years agocapi-sensor: add sensor types for HRM sensor 65/35465/1
Kibak Yoon [Mon, 16 Feb 2015 07:25:48 +0000 (16:25 +0900)]
capi-sensor: add sensor types for HRM sensor

Heart Rate Monitor Sensor type is added and supported.

added the following types:
- SENSOR_HRM
- SENSOR_HRM_LED_GREEN
- SENSOR_HRM_LED_IR
- SENSOR_HRM_LED_RED

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I5faf535c5c229809ff45ce53844a48f0bca7ff18

9 years agocapi-sensor: fix the wrong version of package 64/35464/1
Kibak Yoon [Mon, 16 Feb 2015 07:24:05 +0000 (16:24 +0900)]
capi-sensor: fix the wrong version of package

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I99e2ec242f5363c59c68cb45eab1640227f126dd

9 years agocapi-sensor: change the log level to debug 63/35463/1
Kibak Yoon [Mon, 16 Feb 2015 07:21:34 +0000 (16:21 +0900)]
capi-sensor: change the log level to debug

convert to the debug level since it is not error situation

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I669dc8f27c4f316e141607a624c1ec5bdc4853a2

9 years agosensord: convert cpp to C because they are from opensource 62/35462/1
Kibak Yoon [Mon, 16 Feb 2015 07:00:22 +0000 (16:00 +0900)]
sensord: convert cpp to C because they are from opensource

the original files of them from open source are based on C not cpp.
so change the language of these files to C language.

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I8ae5369c8e9d611576c754d7cbb2e4ae6d04dffb

9 years agocapi-sensor: merge tizen 2.3 capi to public 21/33921/6 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150126.084337 accepted/tizen/mobile/20150128.051434 accepted/tizen/tv/20150126.090008 accepted/tizen/wearable/20150126.111146 submit/tizen/20150122.074344 submit/tizen/20150124.064355
Kibak Yoon [Fri, 16 Jan 2015 13:37:18 +0000 (22:37 +0900)]
capi-sensor: merge tizen 2.3 capi to public

the features of tizen 2.3 Sensor API are the followings:
* in Tizen 2.2, the API set was seperately for each sensor. so this API
  set(start, stop, setting interval and so on) was added when each sensor
  added. in Tizen 2.3, they are consolidated to 1 API set. sensor is
  managed by handle and enumeration type.
  ie. sensor_(accelerometer)_start() APIs
      -> sensor_listener_start(acc_handle) API
  - if new sensor type is added, simply fix only two lines.
* added two APIs for getting sensor handle(s)
  ie. sensor_get_default_sensor, sensor_get_sensor_list APIs
* added new sensors.
  ie. pressure sensor, ultraviolet sensor and so on.
* removed some sensors.
  ie. motion sensor(managing it is moved to context-service)
* cleaned up the code.

see the doxygen for more information on those APIs:
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.apireference/group__CAPI__SYSTEM__SENSOR__MODULE.html

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I9a6b6a042075e941a2e6e4ee8d63149bbc463d01

10 years agopackaging: pkgconfig should mention version and cleanup 14/25714/2 tizen_3.0_ivi accepted/tizen/common/20141124.160850 accepted/tizen/ivi/20141203.010010 submit/tizen_common/20141124.152017 submit/tizen_ivi/20141201.000000 submit/tizen_ivi/20141201.014922 submit/tizen_ivi/20141202.062010 tizen_3.0_ivi_release
Philippe Coval [Fri, 8 Aug 2014 13:33:44 +0000 (15:33 +0200)]
packaging: pkgconfig should mention version and cleanup

efl looks for it

Change-Id: Ice9c3d6cd18ca628256f3ce8743fb71aba50150f
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
10 years agoBug fix : modify order of sensor_motion_snap_e enum values 58/13558/2 accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_ivi_panda accepted/tizen/20131210.214035 accepted/tizen/ivi/20140308.005116 accepted/tizen/ivi/panda/20140403.015056 accepted/tizen/mobile/20131216.220407 accepted/tizen/mobile/20140310.024645 submit/tizen/20131210.045140 submit/tizen/20140307.080325 submit/tizen_ivi_panda/20140403.011825 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
kibak.yoon [Mon, 9 Dec 2013 11:47:47 +0000 (20:47 +0900)]
Bug fix : modify order of sensor_motion_snap_e enum values

Compile time error with sensor_motion_snap_e enum values usages.
because SENSOR_MOTION_SNAP_Y_POSITIVE(2) has same value as SENSOR_MOTION_SNAP_X_POSITIVE(2)

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

11 years agoresetting manifest requested domain to floor 83/4583/1 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130710.221609 accepted/tizen/20130912.151131 accepted/tizen/20130912.191602 accepted/tizen/20130912.195619 accepted/tizen/ivi/genivi/20140131.061630 accepted/tizen_ivi_stable/20131116.101519 ivi_oct_m2 submit/tizen/20130710.102607 submit/tizen/20130912.080356 submit/tizen/20130912.090655 submit/tizen_ivi_genivi/20140131.060730 submit/tizen_ivi_stable/20131116.100119
Alexandru Cornea [Fri, 28 Jun 2013 17:17:29 +0000 (20:17 +0300)]
resetting manifest requested domain to floor

11 years agofix incorrect API name tizen_2.1 2.1b_release accepted/tizen/20130520.193234 accepted/tizen_2.1/20130425.035543 submit/tizen/20130520.200757 submit/tizen_2.1/20130424.230555
JuHyun Kim [Wed, 10 Apr 2013 10:13:15 +0000 (19:13 +0900)]
fix incorrect API name

11 years agoremove test code
JuHyun Kim [Wed, 10 Apr 2013 05:26:57 +0000 (14:26 +0900)]
remove test code

11 years agoFix hard-coded library path in *.pc
Junfeng Dong [Mon, 25 Mar 2013 12:09:11 +0000 (20:09 +0800)]
Fix hard-coded library path in *.pc

Change-Id: Ib1f93eb6da7703bca6bb0ad4013e31151f809a42

11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:12:08 +0000 (01:12 +0900)]
merge with master

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:46:11 +0000 (01:46 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 12:59:30 +0000 (21:59 +0900)]
Initial empty repository