platform/core/api/webapi-plugins.git
5 years ago[version] 2.26 72/182872/2 accepted/tizen/unified/20180629.061632 submit/tizen/20180628.091114
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>
5 years ago[MediaController] Replacing old functions with new equivalent 24/182824/4
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>
5 years agoMerge "[FileSystem] Fix access to destroyed stack object" into tizen
Piotr Kosko [Mon, 25 Jun 2018 06:47:03 +0000 (06:47 +0000)]
Merge "[FileSystem] Fix access to destroyed stack object" into tizen

5 years ago[Filesystem] Fix types of data passed to logging functions 14/182114/1
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>
5 years ago[FileSystem] Fix access to destroyed stack object 81/181681/1
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>
5 years ago[FileSystem] Fix open file mode security issue 08/181408/2
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>
5 years ago[version] 2.25 23/181323/1 accepted/tizen/unified/20180612.130817 submit/tizen/20180612.064221
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>
5 years agoMerge "[sound] Fix double firing of SoundModeChangeCallback" into tizen
Piotr Kosko [Tue, 12 Jun 2018 06:18:05 +0000 (06:18 +0000)]
Merge "[sound] Fix double firing of SoundModeChangeCallback" into tizen

5 years ago[sound] Fix double firing of SoundModeChangeCallback 21/180821/2
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>
5 years ago[Common] Prepared a macro WEBAPI_NOP 65/181265/1
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>
5 years ago[Mediacontroller] Added flags for setting shuffle and repeat modes 09/180809/2 submit/tizen/20180605.045703
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>
5 years agoMerge "[Filesystem] Changing initialization order of Worker's attributes" into tizen
Piotr Kosko [Mon, 4 Jun 2018 07:22:05 +0000 (07:22 +0000)]
Merge "[Filesystem] Changing initialization order of Worker's attributes" into tizen

5 years agoMerge "[filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE" 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

5 years ago[Filesystem] Changing initialization order of Worker's attributes 35/180735/1
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>
5 years agoMerge "Revert "Revert "[account] Module enabled in spec file""" into tizen
Piotr Kosko [Wed, 30 May 2018 10:06:04 +0000 (10:06 +0000)]
Merge "Revert "Revert "[account] Module enabled in spec file""" into tizen

5 years ago[filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE 14/180314/1
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>
5 years ago[filesystem] Fixing SVACE issues, type PROC_USE.VULNERABLE 52/180252/2 submit/tizen/20180527.080835
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>
5 years agoMerge "[version] 2.24" into tizen accepted/tizen/unified/20180527.044821 submit/tizen/20180525.090915
Piotr Kosko [Fri, 25 May 2018 09:05:51 +0000 (09:05 +0000)]
Merge "[version] 2.24" into tizen

5 years agoMerge "Revert "[account] Module enabled in spec file"" 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

5 years agoRevert "Revert "[account] Module enabled in spec file"" 84/180184/1
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

5 years ago[version] 2.24 83/180183/1
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>
5 years agoRevert "[account] Module enabled in spec file" 82/180182/1
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

5 years agoMerge "[Filesystem] Fixed errno issue found by Coverity system" into tizen
Piotr Kosko [Fri, 25 May 2018 08:55:06 +0000 (08:55 +0000)]
Merge "[Filesystem] Fixed errno issue found by Coverity system" into tizen

5 years ago[Filesystem] Fixed errno issue found by Coverity system 76/180176/1
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>
5 years ago[FMRadio] Fixing invalid use of pointer reference in release_focus lambda 58/180058/1
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>
5 years agoMerge "[account] Module enabled in spec file" into tizen
Piotr Kosko [Thu, 24 May 2018 10:05:44 +0000 (10:05 +0000)]
Merge "[account] Module enabled in spec file" into tizen

5 years agoMerge "[Filesystem] Minor corrections" into tizen
Piotr Kosko [Thu, 24 May 2018 08:42:43 +0000 (08:42 +0000)]
Merge "[Filesystem] Minor corrections" into tizen

5 years ago[Filesystem] Minor corrections 76/179376/6
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>
6 years ago[Filesystem] Resolving unexpected result of coverity issues 28/179928/1
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>
6 years ago[account] Module enabled in spec file 56/179556/1
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>
6 years agoMerge branch 'tizen_4.0' into tizen 49/179549/1 accepted/tizen/unified/20180522.055729 submit/tizen/20180518.121229
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

6 years agoMerge branch 'tizen_3.0' into tizen_4.0 48/179548/1 accepted/tizen/4.0/unified/20180521.190747 submit/tizen_4.0/20180518.121025
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

6 years ago[version] 2.23 46/179546/1 submit/tizen_3.0/20180518.115137
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>
6 years ago[humanactivitymonitor] Fixing rRinterval value in heartRate data 44/179244/3
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>
6 years ago[humanactivitymonitor] Fixing rRinterval value in heartRate data 76/179476/2
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>
6 years ago[humanactivitymonitor] Fixing rRinterval value in heartRate data 75/179475/3
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>
6 years ago[Filesystem] Added storege privilage checks 60/177360/11
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>
6 years ago[Filesystem] Added fileHandle methods in new file file_handle.js 76/176476/24
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>
6 years ago[Filesystem] Added filesystem methods to file_system_manager.js 72/176472/20
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>
6 years ago[Filesystem] FileHandle handling methods implementation. 68/176468/26
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>
6 years agoMerge "[Filesystem] Filesystem handling methods implementation." into tizen
Piotr Kosko [Mon, 14 May 2018 10:52:00 +0000 (10:52 +0000)]
Merge "[Filesystem] Filesystem handling methods implementation." into tizen

6 years ago[Filesystem] Filesystem handling methods implementation. 54/176454/12
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>
6 years agoMerge "[HAM] Add SLEEP_DETECTOR and STRESS_MONITOR" into tizen
Piotr Kosko [Mon, 14 May 2018 07:04:46 +0000 (07:04 +0000)]
Merge "[HAM] Add SLEEP_DETECTOR and STRESS_MONITOR" into tizen

6 years ago[HAM] Add SLEEP_DETECTOR and STRESS_MONITOR 18/175218/6
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>
6 years ago[Filesystem] Worker implementation for separate thread. 50/176450/10
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>
6 years ago[Filesystem] Filehandle class added. Some refactoring. 42/176442/12
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>
6 years ago[Filesystem] Added utility functions to be used in filesystem module. 13/176313/13
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>
6 years agoMerge "[Filesystem] Removed old methods and refactoring of argument." into tizen
Piotr Kosko [Thu, 10 May 2018 10:46:42 +0000 (10:46 +0000)]
Merge "[Filesystem] Removed old methods and refactoring of argument." into tizen

6 years ago[Filesystem] Removed old methods and refactoring of argument. 03/176303/9
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>
6 years agoMerge "[Filesystem] Added new FileMode option and two methods." into tizen
Piotr Kosko [Thu, 10 May 2018 08:54:55 +0000 (08:54 +0000)]
Merge "[Filesystem] Added new FileMode option and two methods." into tizen

6 years ago[Iotcon] Prevent iotcon from call timeout after found resource 97/178497/1
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>
6 years agoMerge "[Iotcon] Prevent iotcon from call timeout after found resource" into tizen accepted/tizen/unified/20180510.134404 submit/tizen/20180510.074752
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

6 years ago[Iotcon] Prevent iotcon from call timeout after found resource 67/178467/1
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>
6 years ago[Iotcon] Prevent iotcon from call timeout after found resource 62/178462/1
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>
6 years agoRemove unused dependency to dbus-glib 82/178382/1
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>
6 years agoMerge branch 'tizen_4.0' into tizen 24/178124/1 accepted/tizen/unified/20180509.073002 submit/tizen/20180508.125915
Piotr Kosko [Tue, 8 May 2018 07:35:06 +0000 (09:35 +0200)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I04662d695a7600ab03397c1e775060bc9220220f

6 years ago[version] 2.23 16/178116/1
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>
6 years ago[Filesystem][Alarm] Fix coverity/SVACE issues 10/178110/2
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>
6 years ago[Filesystem] Added new FileMode option and two methods. 00/176300/8
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>
6 years ago[Calendar] Supporting new ENUM values in Calendar API 95/171295/3 accepted/tizen/unified/20180430.172410 submit/tizen/20180427.125243
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>
6 years ago[Common] Disabled error log in case of Power special message 28/177328/1
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>
6 years agoMerge branch 'tizen_4.0' into HEAD 67/177267/2
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

6 years agoMerge "[FMradio] Removed deprecated enums" into tizen
Piotr Kosko [Thu, 26 Apr 2018 10:21:02 +0000 (10:21 +0000)]
Merge "[FMradio] Removed deprecated enums" into tizen

6 years agoMerge "[Download] Fix for buildbreak" into tizen
Piotr Kosko [Thu, 26 Apr 2018 08:15:25 +0000 (08:15 +0000)]
Merge "[Download] Fix for buildbreak" into tizen

6 years agoMerge "[Contact] Synchronously checking access to file" into tizen
Piotr Kosko [Thu, 26 Apr 2018 06:31:47 +0000 (06:31 +0000)]
Merge "[Contact] Synchronously checking access to file" into tizen

6 years agoMerge "[Package] Synchronously checking access to file" into tizen
Piotr Kosko [Thu, 26 Apr 2018 06:18:20 +0000 (06:18 +0000)]
Merge "[Package] Synchronously checking access to file" into tizen

6 years agoMerge "[Exif] Synchronously checking access to file" into tizen
Piotr Kosko [Thu, 26 Apr 2018 05:54:17 +0000 (05:54 +0000)]
Merge "[Exif] Synchronously checking access to file" into tizen

6 years agoMerge "[Content] Synchronously checking access to file" into tizen
Piotr Kosko [Thu, 26 Apr 2018 05:52:12 +0000 (05:52 +0000)]
Merge "[Content] Synchronously checking access to file" into tizen

6 years agoMerge "[Messaging] Synchronously checking access to file" into tizen
Piotr Kosko [Thu, 26 Apr 2018 05:50:34 +0000 (05:50 +0000)]
Merge "[Messaging] Synchronously checking access to file" into tizen

6 years agoMerge "[SystemSetting] Synchronously checking access to file" into tizen
Piotr Kosko [Thu, 26 Apr 2018 05:48:15 +0000 (05:48 +0000)]
Merge "[SystemSetting] Synchronously checking access to file" into tizen

6 years ago[Download] Fix for buildbreak 36/177136/1
Szymon Jastrzebski [Wed, 25 Apr 2018 14:33:27 +0000 (16:33 +0200)]
[Download] Fix for buildbreak

Change-Id: If84461ea78af687e490c6cb49cf503001a973c7f
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[SystemSetting] Synchronously checking access to file 59/168859/3
Szymon Jastrzebski [Wed, 31 Jan 2018 12:59:13 +0000 (13:59 +0100)]
[SystemSetting] Synchronously checking access to file

[Verificaton] SystemSetting TCT 100% pass rate

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

Change-Id: Ic7df53247ce575790f428d6338bfdb23ee00e997
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[Alarm][Notification] Synchronously checking access to file" into tizen
Piotr Kosko [Wed, 25 Apr 2018 12:31:09 +0000 (12:31 +0000)]
Merge "[Alarm][Notification] Synchronously checking access to file" into tizen

6 years ago[Alarm][Notification] Synchronously checking access to file 62/168762/4
Szymon Jastrzebski [Tue, 30 Jan 2018 14:44:53 +0000 (15:44 +0100)]
[Alarm][Notification] Synchronously checking access to file

This change affects also Alarm module.

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

Change-Id: Id1758f89a1a2e6be4c56d205c55188637d14e36a
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[Iotcon] Synchronously checking access to file" into tizen
Piotr Kosko [Wed, 25 Apr 2018 12:30:31 +0000 (12:30 +0000)]
Merge "[Iotcon] Synchronously checking access to file" into tizen

6 years ago[Iotcon] Synchronously checking access to file 11/168711/3
Szymon Jastrzebski [Tue, 30 Jan 2018 08:12:30 +0000 (09:12 +0100)]
[Iotcon] Synchronously checking access to file

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

Change-Id: I83ded470ff06f40065879667d4f43fba8356c7d7
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[Download] Synchronously checking access to file" into tizen
Piotr Kosko [Wed, 25 Apr 2018 12:29:45 +0000 (12:29 +0000)]
Merge "[Download] Synchronously checking access to file" into tizen

6 years agoMerge "[Filesystem] Synchronously checking access to file" into tizen
Piotr Kosko [Wed, 25 Apr 2018 12:27:27 +0000 (12:27 +0000)]
Merge "[Filesystem] Synchronously checking access to file" into tizen

6 years agoMerge "[Archive] Synchronously checking access to file" into tizen
Piotr Kosko [Wed, 25 Apr 2018 12:25:53 +0000 (12:25 +0000)]
Merge "[Archive] Synchronously checking access to file" into tizen

6 years agoMerge branch 'tizen_3.0' into tizen_4.0 10/177110/1
Piotr Kosko [Wed, 25 Apr 2018 10:47:11 +0000 (12:47 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Ib7b5158b9a129d63575e2f0b5eac142343d76e0b

6 years ago[version] 2.22 07/177107/1
Piotr Kosko [Wed, 25 Apr 2018 10:42:27 +0000 (12:42 +0200)]
[version] 2.22

Change-Id: I75c3fdd794b62946720fc5cb537c437ab33843bd
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[Filesystem] Fixing file filter 07/177007/2
Piotr Kosko [Tue, 24 Apr 2018 10:40:19 +0000 (12:40 +0200)]
[Filesystem] Fixing file filter

[Bug]
  1. FileFilter name was not matching '%' wildcard on the beginning of filename
  2. wildcard escaping need to be done by using '\\%' not '\%' - proper comment
     added in code to ease future investigations.

[Verification] Code compiles successfully.
  TCT passrate is 100%.

Below code:
var filter = "piotr\\%kosko%";
function onsuccess(files) {
  console.log("There are " + files.length  + " in the selected folder");
  for (var i =0; i < files.length; ++i) { console.log(files[i].name) }
}
function onerror(error) {
  console.log("The error " + error.message +
              " occurred when listing the files in the selected folder");
}
tizen.filesystem.resolve("documents", function(dir) {
  dir.listFiles(onsuccess, onerror, {name: filter});
}, function(e) { console.log("Error " + e.message);}, "r");

for filter "piotr\\%kosko%" filters file:
piotr%koskoTest

for filter "%kosko%" filter files:
piotrkoskoTest
piotrkosko
piotrTestkoskoTest
kosko
piotr%koskoTest
piotr%kosko

Change-Id: If7e6c3c3ad97a3d01a800916ba73c5f7749ae0cb
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[common] Coverity issues fix 11/176911/2
Rafal Walczyna [Mon, 23 Apr 2018 12:14:56 +0000 (14:14 +0200)]
[common] Coverity issues fix

[Feature] Fixed coverity issues with below ids:
      112270, 112248, 112261, 112244, 110974, 106503, 110555,
      105980, 110371, 108240, 105141, 110066, 109641, 109341,
      109028, 108310, 106161, 105761, 105746, 108409, 108493,
      106299, 106009, 105130, 105410

[Verification] 100% passrate for modules:
      alarm, bluetooth, contact, content, email, filesystem,
      humanactivitymonitor, mms, sms, voice-control

Change-Id: Ic32295ee12e9a8830d2e071e003a0045d0c5355e
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years ago[Messaging] Synchronously checking access to file 97/167597/4
Pawel Kaczmarczyk [Thu, 18 Jan 2018 11:34:57 +0000 (12:34 +0100)]
[Messaging] Synchronously checking access to file

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

[Verification] Tested in Chromium console

Passrate with storage privileges:
  tct-messaging-email-tizen-tests: 100%
  tct-messaging-sms-tizen-tests: 100%
  tct-messaging-mms-tizen-tests: 100%

Change-Id: Iacf8b3c647d65e20fc73a810746ff1a536f7507d
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
6 years ago[Content] Synchronously checking access to file 80/168280/6
Pawel Kaczmarczyk [Thu, 18 Jan 2018 12:36:11 +0000 (13:36 +0100)]
[Content] Synchronously checking access to file

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

Change-Id: I09c965191cd752835cfe4ac2f6ac4fc547541bdb
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
6 years ago[Exif] Synchronously checking access to file 56/168856/4
Pawel Kaczmarczyk [Wed, 31 Jan 2018 10:55:58 +0000 (11:55 +0100)]
[Exif] Synchronously checking access to file

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

[Verification] Tested in Chromium console

Change-Id: I4818dd71aaa54ef52bc0d18862f628beedac05f4
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
6 years ago[Package] Synchronously checking access to file 64/168964/3
Pawel Kaczmarczyk [Thu, 1 Feb 2018 11:53:21 +0000 (12:53 +0100)]
[Package] Synchronously checking access to file

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

Change-Id: I9b16ca1a9d175815f09087ce6801a3ad85343dd8
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
6 years ago[Contact] Synchronously checking access to file 85/175085/4
Pawel Kaczmarczyk [Fri, 6 Apr 2018 13:17:11 +0000 (15:17 +0200)]
[Contact] Synchronously checking access to file

ACR: http://suprem.sec.samsung.net/jira/browse/TWDAPI-187

[Verification]
Tested in Chromium console
tct-contact-tizen-tests passrate: 100%

Change-Id: Ie0e1ee09737b37174511e1e30e5ba0e40cdcbc94
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
6 years agoMerge "[Common] Added log before exception throw in HandleMessage." into tizen
Piotr Kosko [Tue, 24 Apr 2018 08:52:51 +0000 (08:52 +0000)]
Merge "[Common] Added log before exception throw in HandleMessage." into tizen

6 years ago[FMradio] Removed deprecated enums 65/175065/2
Rafal Walczyna [Tue, 20 Mar 2018 06:11:36 +0000 (07:11 +0100)]
[FMradio] Removed deprecated enums

Some of the native enums are deprecated and there is a need of changing
WebAPI's behaviour of interrupt events to use sound-manager audio focus

[ACR] http://suprem.sec.samsung.net/jira/browse/TWDAPI-190

[Verification] Auto and manual TCT 100% passrate on TM1

Change-Id: I69c3d5c30225b8b84ccdbff6993bceff5406396d
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years ago[Common] Added log before exception throw in HandleMessage. 99/176299/2
Arkadiusz Pietraszek [Wed, 18 Apr 2018 07:20:50 +0000 (09:20 +0200)]
[Common] Added log before exception throw in HandleMessage.

Change-Id: I6ede16dfd84da357b91bd26633dacafc371eacc9
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>
6 years ago[Power] Fix for casting void* into int 46/176346/1 accepted/tizen/4.0/unified/20180419.080214 submit/tizen_4.0/20180418.125945
Szymon Jastrzebski [Thu, 1 Mar 2018 11:40:18 +0000 (12:40 +0100)]
[Power] Fix for casting void* into int

This bug caused to fail building on 64-bits architecture.

[Verification] Power M&A TCT 100% (TM1).
The code is build-able for 64-bits arch.

Change-Id: I3600a753956f448ca0938655cf1873e9ba057754
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[Spec] Fixing build dependency 23/176323/1 accepted/tizen/unified/20180424.165645 submit/tizen/20180416.022000 submit/tizen/20180423.122502
Piotr Kosko [Wed, 18 Apr 2018 06:05:48 +0000 (08:05 +0200)]
[Spec] Fixing build dependency

[Verification] Code compiles without errors.

Change-Id: I7bc3f9c4ed440ab00822366c49843228be626b62
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
(cherry picked from commit 5c3f9aa1dc7865cc4f253ec1f7f252f818885552)

6 years agoMerge branch 'tizen_3.0' into tizen_4.0 06/176306/2 submit/tizen_4.0/20180418.112525
Piotr Kosko [Wed, 18 Apr 2018 08:49:16 +0000 (10:49 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Conflicts:
src/application/application_manager.cc
src/power/power.gyp

Change-Id: Ib9baaf8221cc99b01cfe8343b0e36a197c669941

6 years ago[version] 2.21 07/176307/1 accepted/tizen/3.0/common/20180424.123038 accepted/tizen/3.0/mobile/20180424.101009 accepted/tizen/3.0/tv/20180424.101040 accepted/tizen/3.0/wearable/20180424.101105 submit/tizen_3.0/20180418.103754
Piotr Kosko [Wed, 18 Apr 2018 08:28:21 +0000 (10:28 +0200)]
[version] 2.21

Change-Id: Id7ba90815fd7970998c28343c0b1e5cce6fac32f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[IoTcon] Fix query creation for requests" into tizen_3.0
Piotr Kosko [Wed, 18 Apr 2018 06:51:51 +0000 (06:51 +0000)]
Merge "[IoTcon] Fix query creation for requests" into tizen_3.0

6 years ago[IoTcon] Fix query creation for requests 28/176228/5
Rafal Walczyna [Tue, 17 Apr 2018 12:39:23 +0000 (14:39 +0200)]
[IoTcon] Fix query creation for requests

[Bug] query was not created properly when there was no
resource interface set

[Verification] 100% passrate on TM1

Change-Id: Iea1db9418fe10e9fad56a9bb7de1c34c95cbc5dd
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years ago[Spec] Fixing build dependency 95/176295/1
Piotr Kosko [Wed, 18 Apr 2018 06:11:18 +0000 (08:11 +0200)]
[Spec] Fixing build dependency

[Verification] Code compiles without errors.

Change-Id: I7bc3f9c4ed440ab00822366c49843228be626b62
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[Spec] Fixing build dependency 93/176293/1
Piotr Kosko [Wed, 18 Apr 2018 06:05:48 +0000 (08:05 +0200)]
[Spec] Fixing build dependency

[Verification] Code compiles without errors.

Change-Id: I7bc3f9c4ed440ab00822366c49843228be626b62
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[Power] Prevent override of power level locked with Web API" into tizen_3.0
Piotr Kosko [Tue, 17 Apr 2018 12:56:43 +0000 (12:56 +0000)]
Merge "[Power] Prevent override of power level locked with Web API" into tizen_3.0