platform/core/csapi/tizenfx.git
7 years agosensor-csapi: exclude x86 and aarch64 architecture
kibak.yoon [Thu, 15 Dec 2016 04:40:48 +0000 (13:40 +0900)]
sensor-csapi: exclude x86 and aarch64 architecture

Change-Id: I9e5c414f2e8ee42cdfa5130180d02d417ab199d7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agosensor-csapi: add doxygen description for activity sensor
kibak.yoon [Thu, 15 Dec 2016 04:18:13 +0000 (13:18 +0900)]
sensor-csapi: add doxygen description for activity sensor

Change-Id: Ibf867794f114bdae091bfb0064810ed56bdbdfc7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agocsapi-sensor: fix bug about the lifetime of delegate
kibak.yoon [Tue, 15 Nov 2016 10:26:01 +0000 (19:26 +0900)]
csapi-sensor: fix bug about the lifetime of delegate

When the callback is passed to the native layer using PInvoke,
the lifetime of delegate has to be considered.
if the member function is passed to the interop directly, the memory
allocated within this function is not managed by the GC.

Change-Id: I06ab30b0e62c1f4baba5bcb38dd75f9764a3b0d5
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agoFix .nuspec file to change authors and version dependencies
WonYoung Choi [Tue, 15 Nov 2016 00:19:55 +0000 (09:19 +0900)]
Fix .nuspec file to change authors and version dependencies

Change-Id: I94e44b810961cbdc576be6c48af60127afa4d585
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
7 years agocsapi-sensor: change access modifier from protected internal to internal
kibak.yoon [Thu, 10 Nov 2016 11:30:15 +0000 (20:30 +0900)]
csapi-sensor: change access modifier from protected internal to internal

Change-Id: If44c02cb349d9df9a82d2732fff6530f1d30f906
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agocsapi-sensor: remove interval parameter of accuracy listeners
kibak.yoon [Thu, 10 Nov 2016 10:19:04 +0000 (19:19 +0900)]
csapi-sensor: remove interval parameter of accuracy listeners

- modified PInvoke

Change-Id: I82821d690514d87d606dcbb8d6110918b0ca9371
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
7 years agocsapi-sensor: update nuget description & version up 1.0.4
kibak.yoon [Mon, 7 Nov 2016 07:13:17 +0000 (16:13 +0900)]
csapi-sensor: update nuget description & version up 1.0.4

Change-Id: I624263ec2cba801db34880f5b5ed1e4cb3a249e3
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: change boiler plates for apache license 2.0
kibak.yoon [Mon, 31 Oct 2016 09:02:22 +0000 (18:02 +0900)]
csapi-sensor: change boiler plates for apache license 2.0

Change-Id: I448cb76e453798761ac102db2354fcc395b27de2
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: check if the sensor is started or not when Stop() is called
kibak.yoon [Thu, 27 Oct 2016 03:26:57 +0000 (12:26 +0900)]
csapi-sensor: check if the sensor is started or not when Stop() is called

Change-Id: I2674d2e5e78f092fe8108779f4712ce28c4b3d5d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: version up 1.0.3
kibak.yoon [Tue, 25 Oct 2016 08:29:51 +0000 (17:29 +0900)]
csapi-sensor: version up 1.0.3

Change-Id: Ifd2162e7eb4a7ca2f24057befaee03b2e987362d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: change sensor classes to sealed class to prevent inheritance
kibak.yoon [Tue, 25 Oct 2016 03:55:27 +0000 (12:55 +0900)]
csapi-sensor: change sensor classes to sealed class to prevent inheritance

Change-Id: I8d19abad0c4629a8958fafd2daac1b02d61eca35
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: set default value to properties
kibak.yoon [Tue, 25 Oct 2016 02:44:28 +0000 (11:44 +0900)]
csapi-sensor: set default value to properties

- add Unknown state(-1) to enum
- change count type from int to uint

Change-Id: Iaf917ccd2532573bf313ed1aebcd48e76302c894
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: version up 1.0.2
kibak.yoon [Mon, 24 Oct 2016 02:10:14 +0000 (11:10 +0900)]
csapi-sensor: version up 1.0.2

Change-Id: I822b805cdabd419a9141f54a6f900ae3d798438a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: modified to not throw an exception if stop() is called twice
kibak.yoon [Fri, 21 Oct 2016 06:52:11 +0000 (15:52 +0900)]
csapi-sensor: modified to not throw an exception if stop() is called twice

- this exception isn't much meaning about double-stop scenario

Change-Id: I20125b5ead9431165026fb50f05a24d00f40d3cc
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: change index type from int to unit in constructor
kibak.yoon [Fri, 21 Oct 2016 06:02:33 +0000 (15:02 +0900)]
csapi-sensor: change index type from int to unit in constructor

- index shouldn't be the negative number.

Change-Id: I06de291893588bc22fff4486feda9b3cbf0922cb
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: update API spec about exceptions
kibak.yoon [Fri, 21 Oct 2016 05:04:10 +0000 (14:04 +0900)]
csapi-sensor: update API spec about exceptions

- Added the below Exceptions
  * NotSupportedException
  * UnauthorizedAccessException

Change-Id: I8319da08508dd663d365b2750a376dcf00001636
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: change namespace from Tizen.System.Sensor to Tizen.Sensor
kibak.yoon [Wed, 19 Oct 2016 02:00:58 +0000 (11:00 +0900)]
csapi-sensor: change namespace from Tizen.System.Sensor to Tizen.Sensor

Change-Id: I518268701bd3f16629bfbdb6a93a7d8f204f5985
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: check feature value if sensor is supported or not
kibak.yoon [Tue, 18 Oct 2016 17:39:27 +0000 (02:39 +0900)]
csapi-sensor: check feature value if sensor is supported or not

- it checks the feature value which is in model-config

Change-Id: I41158fee8cfb3dc46a9a57b96551d5ba032520e4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: add descriptions for activity/gesture sensor class
kibak.yoon [Thu, 6 Oct 2016 09:16:13 +0000 (18:16 +0900)]
csapi-sensor: add descriptions for activity/gesture sensor class

- missing class descriptions in the doxygen document

Change-Id: I896de74be45a1a3162cfcf0707dc3becf4d353c0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoUse nuget restore to solve dependencies
WonYoung Choi [Tue, 4 Oct 2016 14:07:33 +0000 (23:07 +0900)]
Use nuget restore to solve dependencies

Change-Id: I5500553cf55b3096813e88c764f2e80d7796289b
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
8 years agocsapi-sensor: add default value in constructors of activity detectors
kibak.yoon [Thu, 29 Sep 2016 12:53:10 +0000 (21:53 +0900)]
csapi-sensor: add default value in constructors of activity detectors

- default value(0) must be assigned to parameter in constructor.

Change-Id: Ifccf544f90e58d7f8d07dc7b41c45575d433ee85
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoFix project files to support netstandard 1.6
WonYoung Choi [Sat, 3 Sep 2016 08:19:24 +0000 (17:19 +0900)]
Fix project files to support netstandard 1.6

Change-Id: I01d1dcd41095c167b3717c993d39763e55ed5028
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
8 years agoRemove TCT
Mu-Woong Lee [Thu, 25 Aug 2016 09:41:04 +0000 (18:41 +0900)]
Remove TCT

UTC & ITCs are maintained in the main TCT git project.

Change-Id: I9f8b713c87cdb9b808c65ae4e4c19605a4545be7
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agocsapi-sensor: fix file permission
kibak.yoon [Tue, 23 Aug 2016 08:34:04 +0000 (17:34 +0900)]
csapi-sensor: fix file permission

Change-Id: Ic5d0ac88a667a4646feff155bcaf7a12c4fb09b9
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: fix activity sensors properly
kibak.yoon [Tue, 23 Aug 2016 08:21:36 +0000 (17:21 +0900)]
csapi-sensor: fix activity sensors properly

Change-Id: I06aa679e235e7ea63b429787e0fadfa5d85f88ef
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agocsapi-sensor: modify new line format in csproj file
kibak.yoon [Tue, 23 Aug 2016 04:08:13 +0000 (13:08 +0900)]
csapi-sensor: modify new line format in csproj file

Change-Id: I97c8f7b516609e7567e431c03c5ee221961bff04
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoAdd activity/gesture detectors as new sensor
kibak.yoon [Tue, 26 Jul 2016 13:29:19 +0000 (22:29 +0900)]
Add activity/gesture detectors as new sensor

Change-Id: If2451f4d07264bdddf604c9874daf49861432955
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoUpdated package name in spec file
Aditya [Wed, 17 Aug 2016 12:07:01 +0000 (17:37 +0530)]
Updated package name in spec file

Change-Id: I632095be4218fb916d607d80471be89307963e84
Signed-off-by: Aditya <a.aswani@samsung.com>
8 years agoFix code for building with corefx
WonYoung Choi [Thu, 28 Jul 2016 09:28:50 +0000 (18:28 +0900)]
Fix code for building with corefx

Change-Id: I611cd9dffa6b347671ac0c0e84accbbacff63cb7

8 years agoAdding doxygen comments for missing symbols
Jyothi Kumar Sambolu [Thu, 7 Jul 2016 04:55:38 +0000 (10:25 +0530)]
Adding doxygen comments for missing symbols

Change-Id: Ib4d8eac8198af60f65ed95c14e0e7b1888be5039
Signed-off-by: Jyothi Kumar Sambolu <s.jyothi@samsung.com>
8 years agoChange assembly installation path
WonYoung Choi [Wed, 6 Jul 2016 07:13:48 +0000 (16:13 +0900)]
Change assembly installation path

The assembly installation path is changed to /usr/share/assembly/ as default.
This path can be overrided by the macro %dotnet_assembly_path also.

Change-Id: I650063f7697db2054b65f62b8e1b2940810f54a1

8 years agoReplacing make with xbuild
Jyothi Kumar Sambolu [Mon, 4 Jul 2016 13:08:40 +0000 (18:38 +0530)]
Replacing make with xbuild

Change-Id: I568161e82850ad470d5353dce73a089e6c6c9ce5
Signed-off-by: Jyothi Kumar Sambolu <s.jyothi@samsung.com>
8 years agoUpdating spec file as per change in folder name
Ankur [Thu, 2 Jun 2016 06:48:08 +0000 (12:18 +0530)]
Updating spec file as per change in folder name

Folder name was renamed from 'Sensor' to 'Tizen.System.Sensor' -> changed spec file accordingly

signed-off-by:"Ankur garg <ankur29.garg@samsung.com>"
Change-Id: Ia011818839e821dc5f1c2e7cf0b80937b9911dac

8 years agoAdding Other sensor classes and tct-test folder for accelerometer
Ankur [Thu, 26 May 2016 10:33:12 +0000 (16:03 +0530)]
Adding Other sensor classes and tct-test folder for accelerometer

-Added the Test case file for accelerometer
-Added other sensor files (apart from accelerometer)

Patch-Set-2: Minor Changes
Patch-Set-3: Minor CHanges
Patch-Set-4: Added Lib fodler to tct
Patch-Set-5: Bug Fixing for tct passing. Now 17/18 passing. Set Sensor.MaxBatchLatency not passing
Patch-Set-6: Changed .Net Framwork Version to 4.5
Patch-Set-7: Removed MaxBatchLatency TCT as Batch Mode is currently not suported by sensor framework
Patch-Set-8: Added Log.Info and Log.Error Tags and removed extra whitespace
Patch-Set-9: Minor changes as per reviews/comments
Patch-Set-10: Added GravitySensor, LinearAccelerationSensor, Magnetometer, RotationVectorSensor, OrientationSensor, Gyroscope
Patch-Set-11: Added LightSensor, ProximitySensor, PressureSensor, UltravioletSensor, TemperatureSensor, HumiditySensor, HeartRateSensor
Patch-Set-12: Added UncalibratedGyroscope, UncalibratedMagnetometer, GyroscopeRV, MagnetometerRV. Updates as per reviews/comments.
Patch-Set-13: Added Pedometer and SleepMonitor, Renamed Sensor folder to Tizen.System.Senosr, Enumerations.cs to SensorEnumerations.cs, Removed sln file, Added LICENSE file, Renamed EventArgs classes
Patch-Set-14: Changes as per reivew
Patch-Set-15: Removed Tizen.System.Sensor/obj/
Patch-Set-16: Timestamp type changed to TimeSpan
Patch-Set-17: Renmaing Timestamp to TimeSpan
Patch-Set-18: Minor Changes
Patch-Set-19: Updated Commit message
Patch-Set-20: New tpk file for tct
Patch-Set-21: Renamed dll from Tizen.System.Sensor.dll to Tizen.System.dll and linked snk file
Patch-Set-22: Added logs to tct, updated new dll for Tizen.System.dll, Added tct for LinearAcceleration, Gravity and Proximity Sensors
Patch-Set-23: Updated tpk file
Patch-Set-24: Tested LinearAccel, Proximity and Gravity Sensor. Updated tpk file.. tct 62/64 working
Patch-Set-25: Changes by SeungHun Choi - Bug Fixing for TCT
Patch-Set-26: Minor Changes  - removed extra whitespace

signed-off-by:"Ankur Garg <ankur29.garg@samsung.com>"
Change-Id: I6dd6f8ca439c57f0ac8576036df39ce547adbaa6

8 years agoIntroduce Sensor implementation
Ankur [Tue, 24 May 2016 06:47:36 +0000 (12:17 +0530)]
Introduce Sensor implementation

Patch-Set-3
  Changes as per reviews/comments.
  Auto-implemented properties, dont throw exception in the error factory, protected/private tags, enums as per 3.0
Patch-Set-4
  Changes as per reviews/comments
  Separate function for destroying handles, renaming of one function etc.
Patch-Set-5: Minor Changes
Patch-Set-6: Minor Changes
Patch-Set-7: Changes as per review - removed exceptions from getters.
Patch-Set-8: Removed Stopwatch
Patch-Set-9: Minor Changes
Patch-Set-10: Minor Changes as per reviews/comments

signed-off-by:"Ankur Garg <ankur29.garg@samsung.com>"
Change-Id: I15ba1686d8954165781d4a8d4a63ff71b9a92d08

8 years agoInitial empty repository
JeongHoon Jeon [Mon, 4 Apr 2016 00:57:05 +0000 (09:57 +0900)]
Initial empty repository