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
Piotr Kosko [Thu, 26 Apr 2018 10:21:02 +0000 (10:21 +0000)]
Merge "[FMradio] Removed deprecated enums" into tizen
Piotr Kosko [Thu, 26 Apr 2018 08:15:25 +0000 (08:15 +0000)]
Merge "[Download] Fix for buildbreak" into tizen
Piotr Kosko [Thu, 26 Apr 2018 06:31:47 +0000 (06:31 +0000)]
Merge "[Contact] 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
Piotr Kosko [Thu, 26 Apr 2018 05:54:17 +0000 (05:54 +0000)]
Merge "[Exif] 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
Piotr Kosko [Thu, 26 Apr 2018 05:50:34 +0000 (05:50 +0000)]
Merge "[Messaging] 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
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>
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>
Piotr Kosko [Wed, 25 Apr 2018 12:31:09 +0000 (12:31 +0000)]
Merge "[Alarm][Notification] Synchronously checking access to file" into tizen
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>
Piotr Kosko [Wed, 25 Apr 2018 12:30:31 +0000 (12:30 +0000)]
Merge "[Iotcon] Synchronously checking access to file" into tizen
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>
Piotr Kosko [Wed, 25 Apr 2018 12:29:45 +0000 (12:29 +0000)]
Merge "[Download] 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
Piotr Kosko [Wed, 25 Apr 2018 12:25:53 +0000 (12:25 +0000)]
Merge "[Archive] Synchronously checking access to file" into tizen
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
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>
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>
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>
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>
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>
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>
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>
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>
Piotr Kosko [Tue, 24 Apr 2018 08:52:51 +0000 (08:52 +0000)]
Merge "[Common] Added log before exception throw in HandleMessage." into tizen
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>
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>
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>
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)
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
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>
Piotr Kosko [Wed, 18 Apr 2018 06:51:51 +0000 (06:51 +0000)]
Merge "[IoTcon] Fix query creation for requests" into tizen_3.0
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>
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>
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>
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
Piotr Kosko [Tue, 17 Apr 2018 12:54:29 +0000 (12:54 +0000)]
Merge "[Power] Refactoring module" into tizen_3.0
Piotr Kosko [Tue, 17 Apr 2018 11:14:48 +0000 (11:14 +0000)]
Merge "[Application] Add removing event_handler in destructor." into tizen
Piotr Kosko [Tue, 17 Apr 2018 11:13:37 +0000 (11:13 +0000)]
Merge "[Application] Add removing event_handler in destructor." into tizen_4.0
Lukasz Bardeli [Tue, 17 Apr 2018 09:07:51 +0000 (11:07 +0200)]
[Application] Add removing event_handler in destructor.
Removing all event_handler from events while closing application.
Without removing event_handler it is possible that native api will call
event with destroyed data. This fix is to prevent such situation
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I94d1fbb85ad47ca6dbcba6c56cd043521952860e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Tue, 17 Apr 2018 08:46:44 +0000 (10:46 +0200)]
[Application] Add removing event_handler in destructor.
Removing all event_handler from events while closing application.
Without removing event_handler it is possible that native api will call
event with destroyed data. This fix is to prevent such situation
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I94d1fbb85ad47ca6dbcba6c56cd043521952860e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Tue, 17 Apr 2018 08:45:24 +0000 (10:45 +0200)]
[Application] Add removing event_handler in destructor.
Removing all event_handler from events while closing application.
Without removing event_handler it is possible that native api will call
event with destroyed data. This fix is to prevent such situation
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I94d1fbb85ad47ca6dbcba6c56cd043521952860e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Wasowski [Wed, 4 Apr 2018 16:33:30 +0000 (18:33 +0200)]
[Power] Prevent override of power level locked with Web API
Chromium used to override power level locked by Web API with its own
settings. The level set by Web API was not restored.
From now on, Chromium will not override power level lock, after receiving
"__DisableChromiumInternalPowerLock" message from the Web API
and will be able to control the locked power level,
after receiving "__EnableChromiumInternalPowerLock" message.
Change-Id: Ia14f873766e26bd02ae7eecb182c69e0b6af00e8
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Szymon Jastrzebski [Tue, 10 Oct 2017 06:56:25 +0000 (08:56 +0200)]
[Power] Refactoring module
Previous implementation depended partly on Deviced functions through the
dbus interface. Currently, the implementation uses only DeviceD Native API
(except the ReleaseBrightness and SetBrightness methods).
TheReleaseBrightness is still not wrapped into the Native C DeviceD API).
[Verification] TCT pass: A/M - 100%.
Change-Id: I03124c0d332bf03cd5481ac2b38c9e5c9a534063
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Mon, 16 Apr 2018 07:57:46 +0000 (07:57 +0000)]
Merge "[Power] Prevent override of power level locked with Web API" into tizen_4.0
Piotr Kosko [Mon, 16 Apr 2018 07:43:11 +0000 (07:43 +0000)]
Merge "[Power] Refactoring module" into tizen_4.0
Lukasz Bardeli [Mon, 9 Apr 2018 10:36:28 +0000 (12:36 +0200)]
[MessagePort] Fix for using setMessageListener from utils_api.js
Remove setMessageListener from messageport_api.js and start using from utils_api.js
[Verification] Code compiles without error. TCT passrate 100%
Change-Id: I17ac80152694e25cb9203ff4815ef271553ddd62
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Szymon Jastrzebski [Wed, 17 Jan 2018 14:25:01 +0000 (15:25 +0100)]
[Filesystem] Synchronously checking access to file
[Verification] p.r. is equal to 100% with:
1. commit https://review.tizen.org/gerrit/#/c/166000/
2. added storage privileges to config.xml file
3. allowed the permission request
Change-Id: Ie3ea757a8513b1c33c5fa91ac0107301e7910656
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Fri, 6 Apr 2018 09:14:33 +0000 (11:14 +0200)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I9349f0648d154a4a1a9cce8f9f5963ef0023a3a2
Piotr Kosko [Fri, 6 Apr 2018 09:04:22 +0000 (11:04 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/download/download_instance.cc
src/download/download_instance.h
Change-Id: Idd927480881807d231e7edf17319e092e8ded81c
Piotr Kosko [Fri, 6 Apr 2018 07:29:15 +0000 (09:29 +0200)]
[version] 2.20
Change-Id: I8c11218bf7cb61b4dcc530a205e7a4bfc1d94be9
Rafal Walczyna [Fri, 6 Apr 2018 07:19:43 +0000 (09:19 +0200)]
[Messaging] Fixed permissions of temporary file used for messaging
File created by mkstemp() gives permissions only for user,
that's why msg-service could not read from file and body of message was empty.
[Verification] 100% passrate on TM1
Change-Id: I290277294459ca96392b9a97adccded1664a426d
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Pawel Wasowski [Wed, 4 Apr 2018 16:33:30 +0000 (18:33 +0200)]
[Power] Prevent override of power level locked with Web API
Chromium used to override power level locked by Web API with its own
settings. The level set by Web API was not restored.
From now on, Chromium will not override power level lock, after receiving
"__DisableChromiumInternalPowerLock" message from the Web API
and will be able to control the locked power level,
after receiving "__EnableChromiumInternalPowerLock" message.
Change-Id: Ia14f873766e26bd02ae7eecb182c69e0b6af00e8
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
Szymon Jastrzebski [Tue, 10 Oct 2017 06:56:25 +0000 (08:56 +0200)]
[Power] Refactoring module
Previous implementation depended partly on Deviced functions through the
dbus interface. Currently, the implementation uses only DeviceD Native API
(except the ReleaseBrightness and SetBrightness methods).
TheReleaseBrightness is still not wrapped into the Native C DeviceD API).
[Verification] TCT pass: A/M - 100%.
Change-Id: I03124c0d332bf03cd5481ac2b38c9e5c9a534063
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Piotr Kosko [Tue, 3 Apr 2018 08:12:44 +0000 (10:12 +0200)]
[Download] Fixed unexpected result of fixing coverity issues
[Bug] When running on TV device, checking status of cellular network
returned not supported error, the checking status of cellular needed
to be moved into correct section instead of running this code in common
code part.
[Verification] TCT result - 100%
Change-Id: I6cb171034588b2616222bde4101a278c491fdc52
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
(cherry picked from commit
affe078baa94cc800e0eefda9262936826e828d7)
Piotr Kosko [Tue, 3 Apr 2018 08:12:44 +0000 (10:12 +0200)]
[Download] Fixed unexpected result of fixing coverity issues
[Bug] When running on TV device, checking status of cellular network
returned not supported error, the checking status of cellular needed
to be moved into correct section instead of running this code in common
code part.
[Verification] TCT result - 100%
Change-Id: I6cb171034588b2616222bde4101a278c491fdc52
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Tue, 3 Apr 2018 08:12:44 +0000 (10:12 +0200)]
[Download] Fixed unexpected result of fixing coverity issues
[Bug] When running on TV device, checking status of cellular network
returned not supported error, the checking status of cellular needed
to be moved into correct section instead of running this code in common
code part.
[Verification] TCT result - 100%
Change-Id: I6cb171034588b2616222bde4101a278c491fdc52
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 28 Mar 2018 11:57:23 +0000 (13:57 +0200)]
[content] Fixed coding style
Change-Id: I3a4b396e8fba71fbe68763e7128d68334e4de183
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 28 Mar 2018 11:44:26 +0000 (13:44 +0200)]
Merge branch 'tizen_4.0' into tizen
Change-Id: Iba0fed733e5d9c99a37a71ca97c3fe8085e55fe4
Piotr Kosko [Wed, 28 Mar 2018 11:34:42 +0000 (11:34 +0000)]
Merge "[datacontrol] Fixing coverity issues" into tizen_4.0
Rafal Walczyna [Wed, 28 Mar 2018 11:24:48 +0000 (13:24 +0200)]
[datacontrol] Fixing coverity issues
[Feature] Fixed coverity ids:
109463, 108734
[Verification] 100% passrate on TCT datacontrol tests
Change-Id: I5e563fbd58c814d8d7ca1eefde465303f263c2f3
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
Piotr Kosko [Wed, 28 Mar 2018 11:20:31 +0000 (13:20 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0
Conflicts:
src/download/download_instance.cc
Change-Id: Ib5546e2489ffdd603e5889e895707b0800209174
Piotr Kosko [Wed, 28 Mar 2018 11:06:10 +0000 (13:06 +0200)]
[version] 2.19
Change-Id: Ic8848b54eda46b98bd609e0d4254548a8c5beb04
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 28 Mar 2018 11:00:13 +0000 (11:00 +0000)]
Merge "[common] Coverity issues fix" into tizen_3.0
Piotr Kosko [Tue, 27 Mar 2018 12:59:02 +0000 (14:59 +0200)]
[common] Coverity issues fix
[Feature] Fixed coverity issues with below ids:
110914, 110006, 108656, 107626, 107387,
107077, 106006, 108993, 108297, 106912
Additionally fixed potential crash in download API -
in case of native function failure, the "success" response
is not trying to be build.
[Verification] 100% passrate for modules:
application, bluetooth, download, exif, filesystem, messaging-*
Change-Id: I8d9482501a7375962408186feaa5ecd1f0826b1d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Rafal Walczyna [Tue, 27 Mar 2018 11:55:44 +0000 (13:55 +0200)]
[common] Fixing coverity issues
Issues: 110672, 108789, 108137, 107617,
106435, 112265, 112254, 107669, 105923
[Verification] 100% passrate in:
bookmark, calendar, contact, content, datacontrol,
filesystem, keymanager
Change-Id: Id667a94fe653f831a8cfdd70813c8ace91e1cf5d
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>