Arkadiusz Pietraszek [Tue, 15 Jan 2019 11:26:38 +0000 (12:26 +0100)]
[Common][Utils] Adding functions to unify deprecation warnings.
[Verification] Code compiles successfully.
Change-Id: Id81aa801f3858ead071ef8899cb9cfc4136ad589
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Szymon Jastrzebski [Fri, 31 Aug 2018 11:16:25 +0000 (13:16 +0200)]
[Common] Updating picojson library
+ All the changes made to previous version of picojson were applied to
the latest version.
+ Removed the PICOJSON_USE_LOCALE macro, because the localization is
already handled and the solution was verified.
Change-Id: Icd4b6c29e8309d5573943f7ed7d174fe3f5a70dc
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Fri, 7 Sep 2018 10:44:59 +0000 (10:44 +0000)]
Merge "[FMRadio] Adding missing dependency to capi-media-sound-manager" into tizen
Piotr Kosko [Fri, 7 Sep 2018 10:34:13 +0000 (12:34 +0200)]
[FMRadio] Adding missing dependency to capi-media-sound-manager
[Bug] Lack of dependency causes crash in RadioManager's object constructor
[Verification] Code compiles without errors.
TCT passrate of radio module - 100%.
Change-Id: I744016e16127b34a4f93d1ab1437765db3b484e6
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 4 Sep 2018 10:33:59 +0000 (10:33 +0000)]
Merge "[Sound] Changed methods for accessing state" into tizen
Mateusz Plesinski [Fri, 31 Aug 2018 06:49:41 +0000 (08:49 +0200)]
[Sound] Changed methods for accessing state
[Feature] Replaced deprecated functions with their equivalents added since tizen 5.0.
Replaced functions :
+ sound_manager_add_device_state_changed_cb with sound_manager_add_device_running_changed_cb
+ sound_manager_remove_device_state_changed_cb with sound_manager_remove_device_running_changed_cb
+ sound_manager_get_device_state with sound_manager_is_device_running
Added mapping for native type SOUND_DEVICE_BLUETOOTH_VOICE, so it is now correctly returned.
[Verification] tct-sound-tizen-tests (both Auto and Manual) pass with 100% on mobile
Change-Id: I0299a26685fb7fdc5e02fa00c87af86726b6ca27
Signed-off-by: Mateusz Plesinski <m.plesinski@samsung.com>
Piotr Kosko [Fri, 31 Aug 2018 10:26:35 +0000 (10:26 +0000)]
Merge "[Spec] Reordering macro alphabetically" into tizen
Piotr Kosko [Wed, 29 Aug 2018 09:18:58 +0000 (09:18 +0000)]
Merge "[Spec] fix for generating emulator extension plugins" into tizen
Lukasz Bardeli [Wed, 29 Aug 2018 06:56:16 +0000 (08:56 +0200)]
[Spec] Reordering macro alphabetically
[verification] plugins generate properlly
Change-Id: I08b8aca29c770699ac70563a13dfd47c8deb58e2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Tue, 28 Aug 2018 11:34:08 +0000 (13:34 +0200)]
[Spec] fix for generating emulator extension plugins
Fix preventing error while generate emulator extension. Packages was not
downloaded for modules which are enable on emulator and disable on devices.
[Verification] Plugins generate properly
Change-Id: I1eae9fd0d42d2d645792fb9b3ffe779f7cae1a1f
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Szymon Jastrzebski [Mon, 27 Aug 2018 07:24:18 +0000 (09:24 +0200)]
[Filesystem] Fix for reading binary data
+ The variable 'size' wasn't initialized.
[Verification] TCT TV&Mobile 100%
Change-Id: I803ac19cc964e1bd3d54f5fb403b348ec2779734
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Fri, 24 Aug 2018 06:49:45 +0000 (06:49 +0000)]
Merge "[Common] Fixing printf format modifiers" into tizen
Piotr Kosko [Fri, 24 Aug 2018 06:49:38 +0000 (06:49 +0000)]
Merge "[Common] Added checking types of arguments passed to the logging macros" into tizen
Szymon Jastrzebski [Mon, 20 Aug 2018 09:29:33 +0000 (11:29 +0200)]
[Common] Fixing printf format modifiers
+ The following commit fixes error build for aarch.
+ C++ source code was formatted in whole project.
+ Added -Wformat-signedness flag to check the signedness of arguments
passed to the logging macros.
[Verification] Code compiles for 32&64 bit archs
Change-Id: I106afb31132babb50c3a4b64dd510d627c5c10fe
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Tue, 21 Aug 2018 07:47:03 +0000 (07:47 +0000)]
Merge "[Filesystem] Add missing deprecation warnings since Tizen 5.0" into tizen
Szymon Jastrzebski [Sun, 19 Aug 2018 06:18:52 +0000 (08:18 +0200)]
[Common] Added checking types of arguments passed to the logging macros
+ The type check is made only in debug build.
+ Added WEBAPI_NOOP macro, used in the release builds.
[Verification] The code builds for debug&release builds.
Change-Id: Ie192f02b40a204dc97e713c0b2e280cd612efc77
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Pawel Kaczmarczyk [Fri, 10 Aug 2018 10:37:47 +0000 (12:37 +0200)]
[Filesystem] Add missing deprecation warnings since Tizen 5.0
[Verification]
tct-filesystem-tizen-tests: 100%
Change-Id: I8f0c2b888d1965a3ca633e1f56d77d88c4505ab1
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Piotr Kosko [Thu, 16 Aug 2018 09:43:33 +0000 (11:43 +0200)]
Merge branch 'tizen_4.0' into tizen
Change-Id: Ibae752b267feae901c0312645fa33e0bdcdc97fd
Piotr Kosko [Thu, 16 Aug 2018 08:43:39 +0000 (10:43 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Ic220dd064ebbb7187462bf78fde154cea2a19b66
Piotr Kosko [Thu, 16 Aug 2018 08:42:15 +0000 (10:42 +0200)]
[version] 2.25
Change-Id: If58254886f7fa6188e597e4d20dcb30f0ef60234
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Szymon Jastrzebski [Mon, 13 Aug 2018 12:22:57 +0000 (14:22 +0200)]
[Filesystem] Fix for readString methods
+ The readString methods reported string till the first null character.
This is wrong, because files may contain 0x00 bytes.
+ The returned string contains exactly at most 'count' characters.
The returned string does not contain additional null characters.
[ACR] http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
[Verification] TCT 100%
Code works well with below snippet:
var fileHandleWrite = tizen.filesystem.openFile("documents/filet", "w");
fileHandleWrite.writeString("Lorem ipsum\x00\x00dolor sit amet...");
var fileHandleRead = tizen.filesystem.openFile("documents/filet", "r");
var fileContents = fileHandleRead.readString();
The 'fileContents is equal to:
"Lorem ipsum"\x00\x00"dolor sit amet..."
Change-Id: Id56c365e701c4ba88bdeeb7a4851669250f332b4
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Tue, 14 Aug 2018 08:12:19 +0000 (08:12 +0000)]
Merge "[Filesystem] Fixing reported bugs and unifying code" into tizen
Szymon Jastrzebski [Wed, 1 Aug 2018 07:20:30 +0000 (09:20 +0200)]
[Filesystem] Fixing reported bugs and unifying code
+ Many IOErrors were thrown synchronously, but they should be reported
asynchronously.
+ JS/C++ code was formatted
+ Removing unnecessary code
+ Methods read* returned arrays with size equal to 'size' given by user,
which might have been bigger than the size of file. This led to returning
arrays with redundant '\0' bytes.
+ Added 'path' parameter to ListDirectorySuccessCallback
[ACR] http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
[Verification] Filesystem TCT 100%
Change-Id: If48826e6317f0a09dd927ff0ceca0cd64f26e2fc
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Pawel Kaczmarczyk [Thu, 9 Aug 2018 08:40:58 +0000 (10:40 +0200)]
[HAM][Notification][Alarm] Add missing deprecation warnings since Tizen 4.0
[Verification]
tct-humanactivitymonitor-tizen-tests auto 100%
tct-notification-tizen-tests auto 100%
tct-alarm-tizen-tests auto 100%
Change-Id: I8d0de96c0d6a2ca8a009a25a7c1373dc4064ec36
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Pawel Kaczmarczyk [Wed, 8 Aug 2018 12:32:16 +0000 (14:32 +0200)]
[SystemInfo][Bluetooth][Push] Add misssing deprecation warnings since Tizen 3.0
[Verification]
Code compiles
tct-systeminfo-tizen-tests passrate 100%
Change-Id: I41db5325ac94ca042069551a41161e5b968e51d3
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Pawel Kaczmarczyk [Wed, 18 Jul 2018 13:45:45 +0000 (15:45 +0200)]
[HAM] Fix throwing exceptions for getHumanActivityData
[Bug] getHumanActivityData method accepts only 'PEDOMETER'
and 'HRM' values of HumanActivityType enum as type
parameter. Any other value should cause NotSupportedError,
but implementation leaded to UnknownError instead.
[Verification] AutoTCT 100% passrate
Change-Id: Id5145d76f8957527e28f42c9b1c3141b11b8e5ca
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Lukasz Bardeli [Thu, 2 Aug 2018 07:12:42 +0000 (07:12 +0000)]
Merge "[Filesystem] Fix for thread that may outlive object it reffers to" into tizen
Pawel Kaczmarczyk [Thu, 26 Jul 2018 07:05:03 +0000 (09:05 +0200)]
[NFC] Minor fixes
[Bugs]
1. In special cases records objects were created as empty
2. If NFCPeerDetectCallback or NFCTagDetectCallback did
not have defined function to call on action an TypeError
would be thrown.
[Verification] tct-nfc-tizen-tests passrate 100%
Change-Id: I32d6cbdc05c491f42100580a1cfe021c4c877bfc
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Lukasz Bardeli [Thu, 12 Jul 2018 09:45:50 +0000 (11:45 +0200)]
[version] 2.27
Change-Id: I1beaa9f9255ddfc57aae071d15294f33481fce7a
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Kaczmarczyk [Tue, 10 Jul 2018 13:35:36 +0000 (15:35 +0200)]
[HRM] Fix for resetting pedometer data after calling start
[Bug] Pedometer properties were not reset
back to zero after calling start again.
[Verification] Auto TCT passrate 100%
Manual (wearable and mobile emulators) 100%
Change-Id: I4b961a5c05224accb7ff482c570b3dd3aa352bb4
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Lukasz Bardeli [Thu, 12 Jul 2018 08:08:07 +0000 (10:08 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Ib0a0675b868f145f94825b3b209ed779e648df73
Lukasz Bardeli [Thu, 12 Jul 2018 05:38:20 +0000 (07:38 +0200)]
[version] 2.24
Change-Id: I612a9ec9977025efbbb35fa2c58e4c3ec8226b79
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Kaczmarczyk [Tue, 10 Jul 2018 13:35:36 +0000 (15:35 +0200)]
[HRM] Fix for resetting pedometer data after calling start
[Bug] Pedometer properties were not reset
back to zero after calling start again.
[Verification] Auto TCT passrate 100%
Manual (wearable and mobile emulators) 100%
Change-Id: I4b961a5c05224accb7ff482c570b3dd3aa352bb4
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Arkadiusz Pietraszek [Wed, 20 Jun 2018 08:58:57 +0000 (10:58 +0200)]
[Filesystem] Fix for thread that may outlive object it reffers to
[Verification] tizen.filesystem methods work properly. Worker and insstance destructors work properly.
Change-Id: I5724bd798c868aaba23e9f4e5c5f4ba0b13d2faf
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Lukasz Bardeli [Thu, 28 Jun 2018 10:08:44 +0000 (12:08 +0200)]
[version] 2.26
Change-Id: I93281fe3b20d1871480d4573aa04ea3f11eb34f2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Szymon Jastrzebski [Wed, 27 Jun 2018 10:21:48 +0000 (12:21 +0200)]
[MediaController] Replacing old functions with new equivalent
The part of Native API has been removed and needs to be replaced with new
one.
Related to Native ACR-1235
[Verification] Code successfully built. MC TCT M&A 100%
Change-Id: Iad47da5f58bd99a3505248b9f9a25e45cb7048db
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Szymon Jastrzebski [Wed, 27 Jun 2018 10:21:48 +0000 (12:21 +0200)]
[MediaController] Replacing old functions with new equivalent
The part of Native API has been removed and needs to be replaced with new
one.
Related to Native ACR-1235
[Verification] Code successfully built. MC TCT M&A 100%
Change-Id: Iad47da5f58bd99a3505248b9f9a25e45cb7048db
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Arkadiusz Pietraszek [Mon, 4 Jun 2018 09:55:34 +0000 (11:55 +0200)]
[Mediacontroller] Added flags for setting shuffle and repeat modes
shuffle_mode_ and repeat_mode_ initial values are not determined.
Added flags enables to determine if it was already set.
Without it following TCT cases failed regardles of initial value:
MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged
MediaControllerPlaybackInfoChangeCallback_onshufflemodechanged
when run second time on target device.
First run might result in success as well as in block.
Verification: TCT pass rate: 100%
Change-Id: I71ef1a8ab4f7c86bb6f9adc9b05fc6f192bd0d96
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Szymon Jastrzebski [Thu, 21 Dec 2017 06:32:11 +0000 (07:32 +0100)]
[MediaController] Fix for bug onChange events
In server side, all onchange*request events should be fired only after
requesting server state change from client side.
Clients should receive on*changed events only after server state change.
[Verification] TCT passed 100%
Change-Id: I85e5eda12acf6de74bc653a9ccc8a283862eeb16
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Szymon Jastrzebski [Wed, 13 Dec 2017 09:31:43 +0000 (10:31 +0100)]
[MediaController] Refactoring internal implementation into dedicated CAPI
[Verification] TCT pass rates: 100% A 100% M
Change-Id: Id01a8988a122d0055f662eabe066a4b3f35bb48b
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Mon, 25 Jun 2018 06:47:03 +0000 (06:47 +0000)]
Merge "[FileSystem] Fix access to destroyed stack object" into tizen
Pawel Wasowski [Wed, 20 Jun 2018 10:44:51 +0000 (12:44 +0200)]
[Filesystem] Fix types of data passed to logging functions
Types of arguments, passed to LoggerD, were incompatible with format
strings.
Change-Id: Id4ccd6b1fd3251b074da5e2eb49c8208989c3d49
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Rafal Walczyna [Fri, 15 Jun 2018 12:32:38 +0000 (14:32 +0200)]
[FileSystem] Fix access to destroyed stack object
[Bug] Application used variable which was destroyed in different thread.
[Verification] Tested in Chrome console.
SATIZENVUL-1467
Change-Id: I1461e39c0d5a879ccaa8263cfef675c51e629a77
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Rafal Walczyna [Wed, 13 Jun 2018 10:28:41 +0000 (12:28 +0200)]
[FileSystem] Fix open file mode security issue
[Bug] Privileges could be ommited by overriding JS function what
leads to unauthorized access to files.
[Verification] TCT 100% pass
SATIZENVUL-1461
Change-Id: I801096bacd4447f915588f07a4a96bc8c147fd1e
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Tue, 12 Jun 2018 06:21:45 +0000 (08:21 +0200)]
[version] 2.25
Change-Id: I82b7d4e012d08e991ec05bae4a9b185fde46d382
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 12 Jun 2018 06:18:05 +0000 (06:18 +0000)]
Merge "[sound] Fix double firing of SoundModeChangeCallback" into tizen
Rafal Walczyna [Mon, 4 Jun 2018 12:14:29 +0000 (14:14 +0200)]
[sound] Fix double firing of SoundModeChangeCallback
Because of native functions logic callback was firing twice,
sometimes with wrong (transitional) value
[verification] TCT Auto + Manual 100% passrate
Change-Id: I18bab460ecc16e39817318d76461ebe63a65d0bf
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Mon, 11 Jun 2018 10:22:41 +0000 (12:22 +0200)]
[Common] Prepared a macro WEBAPI_NOP
[Feature] Dlog team is changing internal code of their module.
As webapi code is using this code, it was needed to prepare own
macro for no-operation with checking the types in compilation time.
[Verification] Code compiles without errors
Change-Id: I68a0e2bde3894cc991420abd9e0efe778e637be7
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Arkadiusz Pietraszek [Mon, 4 Jun 2018 09:55:34 +0000 (11:55 +0200)]
[Mediacontroller] Added flags for setting shuffle and repeat modes
shuffle_mode_ and repeat_mode_ initial values are not determined.
Added flags enables to determine if it was already set.
Without it following TCT cases failed regardles of initial value:
MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged
MediaControllerPlaybackInfoChangeCallback_onshufflemodechanged
when run second time on target device.
First run might result in success as well as in block.
Verification: TCT pass rate: 100%
Change-Id: I71ef1a8ab4f7c86bb6f9adc9b05fc6f192bd0d96
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Piotr Kosko [Mon, 4 Jun 2018 07:22:05 +0000 (07:22 +0000)]
Merge "[Filesystem] Changing initialization order of Worker's attributes" into tizen
Piotr Kosko [Mon, 4 Jun 2018 05:42:36 +0000 (05:42 +0000)]
Merge "[filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE" into tizen
Szymon Jastrzebski [Fri, 1 Jun 2018 12:57:04 +0000 (14:57 +0200)]
[Filesystem] Changing initialization order of Worker's attributes
Change-Id: I789025ecb078ab3bf62a9ced2d96a7b25ddc918b
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Wed, 30 May 2018 10:06:04 +0000 (10:06 +0000)]
Merge "Revert "Revert "[account] Module enabled in spec file""" into tizen
Rafal Walczyna [Mon, 28 May 2018 08:00:25 +0000 (10:00 +0200)]
[filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE
[verification] build successful
Change-Id: I93a7f187810993a7d0bfb6ed0a1ece0ff2b9ed53
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Rafal Walczyna [Sun, 27 May 2018 07:13:01 +0000 (09:13 +0200)]
[filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE
WGIDs: 346838, 346836, 346837, 346838, 346839, 346840
[verification] TCT auto tests 100% passrate on TM1
20180524.2
Change-Id: I37557679b68be53f479a99fed73b58ca5291ab21
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Fri, 25 May 2018 09:05:51 +0000 (09:05 +0000)]
Merge "[version] 2.24" into tizen
Piotr Kosko [Fri, 25 May 2018 09:05:35 +0000 (09:05 +0000)]
Merge "Revert "[account] Module enabled in spec file"" into tizen
Piotr Kosko [Fri, 25 May 2018 08:53:03 +0000 (10:53 +0200)]
Revert "Revert "[account] Module enabled in spec file""
Module re-enabled for ACR http://suprem.sec.samsung.net/jira/browse/TWDAPI-192
This reverts commit
25bdec6676fb2e4e404f1b9ef55f14d48d7b8460.
Change-Id: Ia74bf04668cc26e1cfd5768cb36269df06dfafe0
Piotr Kosko [Fri, 25 May 2018 08:52:48 +0000 (10:52 +0200)]
[version] 2.24
Change-Id: I24c6a8fac76a02d41ce9afa34adb4dec4c1cae0d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Fri, 25 May 2018 08:31:46 +0000 (10:31 +0200)]
Revert "[account] Module enabled in spec file"
Account module should not be included into platform, so for now
it is temporary disabled.
This reverts commit
1312ae0b1906e0f38ff638e47ecd911eee6bee71.
Change-Id: I0380d15c6f00095d386e96285985eb6c6c411df8
Piotr Kosko [Fri, 25 May 2018 08:55:06 +0000 (08:55 +0000)]
Merge "[Filesystem] Fixed errno issue found by Coverity system" into tizen
Piotr Kosko [Fri, 25 May 2018 08:26:20 +0000 (10:26 +0200)]
[Filesystem] Fixed errno issue found by Coverity system
[Bug] Coverity issue 835432
Documentation of nftw() function says that the result can be -1,
which is not valid error code for system_error constructor. To
resolve such problem, the -1 value is translated to IOError code.
[Verification] Code compiles without errors.
TCT passrate of filesystem module is 100%.
Change-Id: I92805294270b4969fd545a413c03c565fdef7afd
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Rafal Walczyna [Thu, 24 May 2018 11:12:03 +0000 (13:12 +0200)]
[FMRadio] Fixing invalid use of pointer reference in release_focus lambda
Variable from stack was passed to lambda by reference
so the value could be invalid on lambda execution.
Issue was described in SETIZENVUL-1411
[Verification] 100% auto + manual TCT on TM1
Change-Id: I36543863eebd9f93cb22e1c5868884b7997656a8
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Thu, 24 May 2018 10:05:44 +0000 (10:05 +0000)]
Merge "[account] Module enabled in spec file" into tizen
Piotr Kosko [Thu, 24 May 2018 08:42:43 +0000 (08:42 +0000)]
Merge "[Filesystem] Minor corrections" into tizen
Arkadiusz Pietraszek [Thu, 17 May 2018 11:24:10 +0000 (13:24 +0200)]
[Filesystem] Minor corrections
+ Code formatted.
[Verification] TCT passrate 100%
Change-Id: Ia56a19e1089dd1f4a9b0d0d0f7ae33cf75a5f2da
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Rafal Walczyna [Wed, 23 May 2018 10:39:08 +0000 (12:39 +0200)]
[Filesystem] Resolving unexpected result of coverity issues
Time of checking to time of use is already short as possible.
[verification] Build successful
Change-Id: Ifa55b413962fb88321771ac952487f6901581790
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Fri, 18 May 2018 12:34:23 +0000 (14:34 +0200)]
[account] Module enabled in spec file
[ACR] http://suprem.sec.samsung.net/jira/browse/TWDAPI-192
[Verification] Code compiles without errors.
Change-Id: I4e67dc2b3f1f77613e62e92f307469fba2d27cac
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Fri, 18 May 2018 12:08:28 +0000 (14:08 +0200)]
Merge branch 'tizen_4.0' into tizen
Conflicts:
src/humanactivitymonitor/humanactivitymonitor_manager.cc
Change-Id: I7f7835ce9ce66f38d7b481a1e479cf0d24a67069
Piotr Kosko [Fri, 18 May 2018 12:05:34 +0000 (14:05 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/humanactivitymonitor/humanactivitymonitor_manager.cc
Change-Id: I782f99a7d436a786ee41d6fb0e37f4404e401813
Piotr Kosko [Fri, 18 May 2018 11:44:31 +0000 (13:44 +0200)]
[version] 2.23
Change-Id: I7634bdecaab795b4f9db8b76ecc92a8ee00da755
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Rafal Walczyna [Wed, 16 May 2018 12:29:03 +0000 (14:29 +0200)]
[humanactivitymonitor] Fixing rRinterval value in heartRate data
rRinterval was always 0. This value is now available, but measurement
is not present in unified builds. It was tested on R765 and R600 with
solis binaries and it worked fine.
[verification] AutoTCT - 100% pass
Change-Id: I3c181c53e0832f429774f86277bcaeda4708c0b7
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Rafal Walczyna [Wed, 16 May 2018 12:29:03 +0000 (14:29 +0200)]
[humanactivitymonitor] Fixing rRinterval value in heartRate data
rRinterval was always 0. This value is now available, but measurement
is not present in unified builds. It was tested on R765 and R600 with
solis binaries and it worked fine.
[verification] AutoTCT - 100% pass
Change-Id: I3c181c53e0832f429774f86277bcaeda4708c0b7
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Rafal Walczyna [Wed, 16 May 2018 12:29:03 +0000 (14:29 +0200)]
[humanactivitymonitor] Fixing rRinterval value in heartRate data
rRinterval was always 0. This value is now available, but measurement
is not present in unified builds. It was tested on R765 and R600 with
solis binaries and it worked fine.
[verification] AutoTCT - 100% pass
Change-Id: I3c181c53e0832f429774f86277bcaeda4708c0b7
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Arkadiusz Pietraszek [Fri, 27 Apr 2018 09:23:56 +0000 (11:23 +0200)]
[Filesystem] Added storege privilage checks
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: Id146dd02bc37ffc6064a40d77f184f302def3f93
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Arkadiusz Pietraszek [Thu, 19 Apr 2018 11:19:32 +0000 (13:19 +0200)]
[Filesystem] Added fileHandle methods in new file file_handle.js
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: I5beefd68490dd86d0cfe5e296201f3fa0ec7160b
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Arkadiusz Pietraszek [Thu, 19 Apr 2018 11:10:50 +0000 (13:10 +0200)]
[Filesystem] Added filesystem methods to file_system_manager.js
Change-Id: I5a6f55d9dc82a98ad0e1e4e6d062ccc93e40479d
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Arkadiusz Pietraszek [Thu, 19 Apr 2018 10:35:16 +0000 (12:35 +0200)]
[Filesystem] FileHandle handling methods implementation.
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: Ie0bc67b1858ad9638942d9a0c93ee799316c05ee
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Piotr Kosko [Mon, 14 May 2018 10:52:00 +0000 (10:52 +0000)]
Merge "[Filesystem] Filesystem handling methods implementation." into tizen
Arkadiusz Pietraszek [Thu, 19 Apr 2018 09:23:58 +0000 (11:23 +0200)]
[Filesystem] Filesystem handling methods implementation.
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: I84f383a2f5a8c56a9b21ad2bbc3cc872ee86e427
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Piotr Kosko [Mon, 14 May 2018 07:04:46 +0000 (07:04 +0000)]
Merge "[HAM] Add SLEEP_DETECTOR and STRESS_MONITOR" into tizen
Lukasz Bardeli [Mon, 14 May 2018 07:02:25 +0000 (09:02 +0200)]
[HAM] Add SLEEP_DETECTOR and STRESS_MONITOR
[Verification] Code compiles without error.
Tested in chrome console
var listenerId;
function errorCallback(error)
{
alert(error.name + ": " + error.message);
console.log(error.name + ": " + error.message);
}
function listener(label)
{
alert("Stress level: " + label);
console.log("Stress level: " + label);
}
var ranges = [new tizen.StressMonitorDataRange("Normal",10, 50),
new tizen.StressMonitorDataRange("Stress Alarm 1",0, 20),
new tizen.StressMonitorDataRange("Stress Alarm 2",50),
new tizen.StressMonitorDataRange("Stress Alarm 3",30,100)];
try
{
listenerId = tizen.humanactivitymonitor.addStressMonitorChangeListener(ranges, listener, errorCallback);
}
catch (error)
{
console.log(error.name + ": " + error.message);
}
function onchangedCB(info)
{
alert("score: " + info.stressScore);
console.log("score: " + info.stressScore);
}
function onerrorCB(error)
{
alert("Error occurred, name: " + error.name + ", message: " + error.message);
console.log("Error occurred, name: " + error.name + ", message: " + error.message);
}
try
{
tizen.humanactivitymonitor.start("STRESS_MONITOR", onchangedCB, onerrorCB,
{callbackInterval: 1500, sampleInterval: 100});
}
catch (err)
{
console.log(err.name + ": " + err.message);
}
ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-178
Change-Id: I56aaba87989d84d8364a8212afd98eff3d8edcee
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Arkadiusz Pietraszek [Thu, 19 Apr 2018 08:38:07 +0000 (10:38 +0200)]
[Filesystem] Worker implementation for separate thread.
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: I3096a27d6684c1ee4c226aebd2076c9b6f73f23c
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Arkadiusz Pietraszek [Thu, 19 Apr 2018 08:05:18 +0000 (10:05 +0200)]
[Filesystem] Filehandle class added. Some refactoring.
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: I3380297e0fc4f03032a9892e47392564786871bd
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Arkadiusz Pietraszek [Wed, 18 Apr 2018 09:10:04 +0000 (11:10 +0200)]
[Filesystem] Added utility functions to be used in filesystem module.
Functions added:
Mkdir
Unlink
PosixBasename
Dirname
CopyFile
CopyDirectory
ListDirectory
RemoveDirectoryRecursively
RemoveDirectory
RealPath
CheckIfExists
CheckIfDir
CheckIfFile
Rename
MoveFile
MoveDirectory
TranslateException
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: I7ebaa5fbacc31c941f46fd9372a827c15b69a632
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Piotr Kosko [Thu, 10 May 2018 10:46:42 +0000 (10:46 +0000)]
Merge "[Filesystem] Removed old methods and refactoring of argument." into tizen
Arkadiusz Pietraszek [Wed, 18 Apr 2018 07:47:53 +0000 (09:47 +0200)]
[Filesystem] Removed old methods and refactoring of argument.
Methods removed:
string_to_array
array_to_string
Refactored argument _rewrite to _truncate for consistency.
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: I6b22bc8b65bc1e967a18c60c2416bb7519eb43b1
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Piotr Kosko [Thu, 10 May 2018 08:54:55 +0000 (08:54 +0000)]
Merge "[Filesystem] Added new FileMode option and two methods." into tizen
Lukasz Bardeli [Thu, 10 May 2018 06:43:35 +0000 (08:43 +0200)]
[Iotcon] Prevent iotcon from call timeout after found resource
In ResourceFoundCallback after some resource was found, timeout will
never be called.
[Verification] Code compiles without error. TCT tests passrate 100%
Change-Id: I96ca592eb94e14c374b6eab99ca1956108f37154
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Thu, 10 May 2018 06:48:23 +0000 (06:48 +0000)]
Merge "[Iotcon] Prevent iotcon from call timeout after found resource" into tizen
Lukasz Bardeli [Thu, 10 May 2018 06:43:35 +0000 (08:43 +0200)]
[Iotcon] Prevent iotcon from call timeout after found resource
In ResourceFoundCallback after some resource was found, timeout will
never be called.
[Verification] Code compiles without error. TCT tests passrate 100%
Change-Id: I96ca592eb94e14c374b6eab99ca1956108f37154
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Thu, 10 May 2018 06:43:35 +0000 (08:43 +0200)]
[Iotcon] Prevent iotcon from call timeout after found resource
In ResourceFoundCallback after some resource was found, timeout will
never be called.
[Verification] Code compiles without error. TCT tests passrate 100%
Change-Id: I96ca592eb94e14c374b6eab99ca1956108f37154
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyotaek Shim [Thu, 10 May 2018 01:05:47 +0000 (10:05 +0900)]
Remove unused dependency to dbus-glib
Change-Id: If971f217eb9e255ae0c661bf3406ea48e430ee81
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Piotr Kosko [Tue, 8 May 2018 07:35:06 +0000 (09:35 +0200)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I04662d695a7600ab03397c1e775060bc9220220f
Piotr Kosko [Tue, 8 May 2018 07:16:04 +0000 (09:16 +0200)]
[version] 2.23
Change-Id: I2721525833d99e46d09ffa8d34ad7b3f7c2eecf2
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 8 May 2018 05:53:49 +0000 (07:53 +0200)]
[Filesystem][Alarm] Fix coverity/SVACE issues
[Bug] Fixed Coverity issues: 119865, 119863.
Fixed SVACE issue: 345864
Issues were related to not reachable code (invalid returned value was checked)
in Alarm module and not checking returned values in Filesystem module.
SVACE issue 345864 is related to the same problem as Coverity 119863.
[Verification] Code compiles without errors.
TCT passrate for Alarm and Filesystem - 100%.
Change-Id: I315d0aed94f8efef13d37a73b313ef455fb3b00e
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Arkadiusz Pietraszek [Wed, 18 Apr 2018 07:41:56 +0000 (09:41 +0200)]
[Filesystem] Added new FileMode option and two methods.
Methods added:
StringToArray
ArrayToString
ACR:
http://suprem.sec.samsung.net/jira/browse/TWDAPI-121
Change-Id: If643ebef22b43fdbd61d21f77006a5ab0cf0f04a
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Michal Bistyga [Wed, 28 Feb 2018 09:03:07 +0000 (10:03 +0100)]
[Calendar] Supporting new ENUM values in Calendar API
Native implementation supports 4 values of enum, while WebPI supported only 2.
Verification:
TCT 100%
Feature tested in chrome console
ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-188
Change-Id: Ie881ca706c952537df8e6350a57d0cd9e9371b8a
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
Piotr Kosko [Fri, 27 Apr 2018 06:18:39 +0000 (08:18 +0200)]
[Common] Disabled error log in case of Power special message
[Verification] Code compiles without errors.
Below code works without any JS errors (special Power
chromium message is ignored):
tizen.power.request("SCREEN", "SCREEN_NORMAL");
tizen.power.release("SCREEN");
TCT passrate for Power module is 100% (A & M).
Change-Id: I2b2cf3d97442389b722db8a9943e5c98f1a0d0cf
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Fri, 27 Apr 2018 05:01:04 +0000 (07:01 +0200)]
Merge branch 'tizen_4.0' into HEAD
Conflicts:
src/power/power_manager.cc
src/power/power_manager.h
Change-Id: If92f51de4cae01ace304a007bddf63e23ac84d94