platform/core/api/webapi-plugins.git
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[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

6 years agoMerge "[Power] Refactoring module" 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

6 years agoMerge "[Application] Add removing event_handler in destructor." into tizen
Piotr Kosko [Tue, 17 Apr 2018 11:14:48 +0000 (11:14 +0000)]
Merge "[Application] Add removing event_handler in destructor." into tizen

6 years agoMerge "[Application] Add removing event_handler in destructor." into tizen_4.0
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

6 years ago[Application] Add removing event_handler in destructor. 73/176073/5
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>
6 years ago[Application] Add removing event_handler in destructor. 52/176152/2
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>
6 years ago[Application] Add removing event_handler in destructor. 88/176088/3
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>
6 years ago[Power] Prevent override of power level locked with Web API 68/176068/1
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>
6 years ago[Power] Refactoring module 62/176062/1
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>
6 years agoMerge "[Power] Prevent override of power level locked with Web API" into tizen_4.0
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

6 years agoMerge "[Power] Refactoring module" 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

6 years ago[MessagePort] Fix for using setMessageListener from utils_api.js 83/173083/5
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>
6 years ago[Filesystem] Synchronously checking access to file 37/167437/8
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>
6 years agoMerge branch 'tizen_4.0' into tizen 60/175060/1 accepted/tizen/unified/20180409.060339 submit/tizen/20180406.100350
Piotr Kosko [Fri, 6 Apr 2018 09:14:33 +0000 (11:14 +0200)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I9349f0648d154a4a1a9cce8f9f5963ef0023a3a2

6 years agoMerge branch 'tizen_3.0' into tizen_4.0 59/175059/1 accepted/tizen/4.0/unified/20180409.060420 submit/tizen_4.0/20180406.100414
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

6 years ago[version] 2.20 49/175049/1 accepted/tizen/3.0/common/20180409.075437 accepted/tizen/3.0/mobile/20180408.221909 accepted/tizen/3.0/tv/20180408.221919 accepted/tizen/3.0/wearable/20180408.221915 submit/tizen_3.0/20180406.100431
Piotr Kosko [Fri, 6 Apr 2018 07:29:15 +0000 (09:29 +0200)]
[version] 2.20

Change-Id: I8c11218bf7cb61b4dcc530a205e7a4bfc1d94be9

6 years ago[Messaging] Fixed permissions of temporary file used for messaging 47/175047/1
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>
6 years ago[Power] Prevent override of power level locked with Web API 81/174881/1
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>
6 years ago[Power] Refactoring module 80/174880/1
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>
6 years ago[Download] Fixed unexpected result of fixing coverity issues 88/174688/1 accepted/tizen/unified/20180405.064313 submit/tizen/20180404.122638
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)

6 years ago[Download] Fixed unexpected result of fixing coverity issues 26/174626/2 accepted/tizen/3.0/common/20180405.115959 accepted/tizen/3.0/mobile/20180405.104723 accepted/tizen/3.0/tv/20180405.104717 accepted/tizen/3.0/wearable/20180405.104728 submit/tizen_3.0/20180404.122604
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>
6 years ago[Download] Fixed unexpected result of fixing coverity issues 75/174675/1 accepted/tizen/4.0/unified/20180405.064300 submit/tizen_4.0/20180404.122621
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>
6 years ago[content] Fixed coding style 44/174144/1 accepted/tizen/unified/20180403.182434 submit/tizen/20180403.060641
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>
6 years agoMerge branch 'tizen_4.0' into tizen 43/174143/1
Piotr Kosko [Wed, 28 Mar 2018 11:44:26 +0000 (13:44 +0200)]
Merge branch 'tizen_4.0' into tizen

Change-Id: Iba0fed733e5d9c99a37a71ca97c3fe8085e55fe4

6 years agoMerge "[datacontrol] Fixing coverity issues" into tizen_4.0 accepted/tizen/4.0/unified/20180404.063501 submit/tizen_4.0/20180403.061033
Piotr Kosko [Wed, 28 Mar 2018 11:34:42 +0000 (11:34 +0000)]
Merge "[datacontrol] Fixing coverity issues" into tizen_4.0

6 years ago[datacontrol] Fixing coverity issues 42/174142/1
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>
6 years agoMerge branch 'tizen_3.0' into tizen_4.0 38/174138/1
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

6 years ago[version] 2.19 33/174133/1 submit/tizen_3.0/20180403.060802
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>
6 years agoMerge "[common] Coverity issues fix" into tizen_3.0
Piotr Kosko [Wed, 28 Mar 2018 11:00:13 +0000 (11:00 +0000)]
Merge "[common] Coverity issues fix" into tizen_3.0

6 years ago[common] Coverity issues fix 39/174039/4
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>
6 years ago[common] Fixing coverity issues 36/174036/2
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>
6 years agoMerge "[common] Fix coverity issue number 112263" into tizen
Piotr Kosko [Wed, 28 Mar 2018 08:57:28 +0000 (08:57 +0000)]
Merge "[common] Fix coverity issue number 112263" into tizen

6 years ago[common] Fix coverity issue number 112263 16/174116/1
Rafal Walczyna [Wed, 28 Mar 2018 06:45:53 +0000 (08:45 +0200)]
[common] Fix coverity issue number 112263

[Verification] Build successful

Change-Id: I858c6f6cf34174d1f3efadfbdb688fb0bc04ae8d
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years ago[Spec][Mediacontroller] Module enabled for tv profile 89/171689/2
Piotr Kosko [Tue, 6 Mar 2018 11:13:33 +0000 (12:13 +0100)]
[Spec][Mediacontroller] Module enabled for tv profile

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

Change-Id: I5020039fb673ed084904feb7ce7b79b7a79a4447
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[Push] Prefix string type with namespace std 59/173759/1
Lukasz Wojciechowski [Sat, 10 Mar 2018 02:25:34 +0000 (03:25 +0100)]
[Push] Prefix string type with namespace std

The patch fixes build break in Tizen:4.0:Unified.
The string type without std::string is not recognized by compiler.

Change-Id: I048bad0a1d71cb841965a84b2d11d2afb9c19eea
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
(cherry picked from commit a2c7a32a5fbc41e6bf20c891797c786e946628c9)

6 years ago[Push] Prefix string type with namespace std 58/173758/1 accepted/tizen/4.0/unified/20180323.190337 submit/tizen_4.0/20180323.180729
Lukasz Wojciechowski [Sat, 10 Mar 2018 02:25:34 +0000 (03:25 +0100)]
[Push] Prefix string type with namespace std

The patch fixes build break in Tizen:4.0:Unified.
The string type without std::string is not recognized by compiler.

Change-Id: I048bad0a1d71cb841965a84b2d11d2afb9c19eea
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
6 years agoMerge branch 'tizen_4.0' into tizen 37/173737/1
Piotr Kosko [Fri, 23 Mar 2018 12:37:07 +0000 (13:37 +0100)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I0c449ee349da1f34fbed2243ac0a6616b7b70717

6 years agoMerge branch 'tizen_3.0' into tizen_4.0 36/173736/1
Piotr Kosko [Fri, 23 Mar 2018 11:12:17 +0000 (12:12 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I08833f4e4e820cafcdf5cbb6a291f4c7d78bf05d

6 years ago[version] 2.18 28/173728/1
Piotr Kosko [Fri, 23 Mar 2018 11:10:31 +0000 (12:10 +0100)]
[version] 2.18

Change-Id: I171c24fc4170a519fef7fde45b4e223843cf33c0

6 years agoMerge "[NFC] Fix isActivatedHandlerFunctions return values" into tizen_3.0
Piotr Kosko [Fri, 23 Mar 2018 11:05:34 +0000 (11:05 +0000)]
Merge "[NFC] Fix isActivatedHandlerFunctions return values" into tizen_3.0

6 years ago[NFC] Fix isActivatedHandlerFunctions return values 19/173719/2
Rafal Walczyna [Fri, 23 Mar 2018 10:05:05 +0000 (11:05 +0100)]
[NFC] Fix isActivatedHandlerFunctions return values

Functions IsActivatedHandlerForCategory and IsActivatedHandlerForAID
always return false. After fix they work properly.

TCT tests needs fixing, after fix there will be 100% passrate.
Tested on TW1 tizen3.0

Change-Id: I9a4833d4073e512e9414e63325515ebfa8d6b8a4
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years ago[Systeminfo] Fix for incorrect USB storage capacity 37/173337/5
Pawel Kaczmarczyk [Mon, 19 Mar 2018 14:45:33 +0000 (15:45 +0100)]
[Systeminfo] Fix for incorrect USB storage capacity

USB_DEVICE has not been reporting correct capacity values
on TV profile. It was caused by different way of handling
reading storage properties.

[Fix]
Each storage type is treated in the same way when
getting information about storage's space.

[Verification] Tested in Chromium cosole
               tct-systeminfo-tizen-tests passrate: 100%
               tct-filesystem-tizen-tests passrate: 100%

Change-Id: I1d2a8a40a2cac18d5961a301bdd3e586cc3eedad
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
6 years ago[NFC] Fix setPreferredApp() 30/173330/3
Rafal Walczyna [Mon, 26 Feb 2018 11:11:58 +0000 (12:11 +0100)]
[NFC] Fix setPreferredApp()

It was unable to use when there was only one app
or app was already set as preferred. Added checking for
already activated app.

[Verification] 100% passrate (auto + manual)_on solis TW2

Change-Id: Ie85d1c09692bebdca7afe5278f63db9071d1adf5
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years ago[Push] Prefix string type with namespace std 93/172093/1 accepted/tizen/unified/20180312.145917 submit/tizen/20180312.085619 submit/tizen/20180312.090836
Lukasz Wojciechowski [Sat, 10 Mar 2018 02:25:34 +0000 (03:25 +0100)]
[Push] Prefix string type with namespace std

The patch fixes build break in Tizen:Unified.
The string type without std::string is not recognized by compiler.

Change-Id: I048bad0a1d71cb841965a84b2d11d2afb9c19eea
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
6 years ago[version] 2.18 72/171772/1 accepted/tizen/unified/20180308.070120 submit/tizen/20180307.071016
Lukasz Bardeli [Wed, 7 Mar 2018 07:07:59 +0000 (08:07 +0100)]
[version] 2.18

Change-Id: Ie8b94c3bb824a8214df2649fdaa196cfd9d8d4e5
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[Voice-control] Enabling module for 5.0 83/171383/2
Szymon Jastrzebski [Fri, 2 Mar 2018 07:54:50 +0000 (08:54 +0100)]
[Voice-control] Enabling module for 5.0

[Verification] Code compiles, TCT VC A&M 100%

Change-Id: I6a01eb8548582660da8f09ae1fdc75af04e1da59
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[Power] Fix for casting void* into int 28/171328/2 accepted/tizen/unified/20180302.155636 submit/tizen/20180301.135635
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 agoMerge branch 'tizen_4.0' into tizen 83/171083/1 submit/tizen/20180228.082430
Piotr Kosko [Mon, 26 Feb 2018 09:58:41 +0000 (10:58 +0100)]
Merge branch 'tizen_4.0' into tizen

Conflicts:
src/nfc/nfc_message_utils.cc

Change-Id: Iec3145fba1c248841abce2dabbd9c912347aa198

6 years agoMerge branch 'tizen_3.0' into tizen_4.0 81/171081/1 accepted/tizen/4.0/unified/20180228.140903 submit/tizen_4.0/20180228.082044
Piotr Kosko [Mon, 26 Feb 2018 09:42:08 +0000 (10:42 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I402b1950719d6b614070be9b7cf2228339e3f70f

6 years ago[version] 2.17 79/171079/1 accepted/tizen/3.0/common/20180305.083113 accepted/tizen/3.0/mobile/20180305.040049 accepted/tizen/3.0/tv/20180305.040044 accepted/tizen/3.0/wearable/20180305.040039 submit/tizen_3.0/20180228.081957
Piotr Kosko [Mon, 26 Feb 2018 09:33:00 +0000 (10:33 +0100)]
[version] 2.17

Change-Id: I3bf56e2b79bff86daefb7b9c3c8d53b41d5ac22c
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[NFC] Fix for casting signed value to unsigned int" into tizen
Piotr Kosko [Fri, 23 Feb 2018 13:52:30 +0000 (13:52 +0000)]
Merge "[NFC] Fix for casting signed value to unsigned int" into tizen

6 years agoMerge "[NFC] Fix memory management problems" into tizen_3.0
Piotr Kosko [Fri, 23 Feb 2018 13:50:55 +0000 (13:50 +0000)]
Merge "[NFC] Fix memory management problems" into tizen_3.0

6 years ago[NFC] Fix memory management problems 78/169978/4
Pawel Wasowski [Mon, 12 Feb 2018 11:14:15 +0000 (12:14 +0100)]
[NFC] Fix memory management problems

This commit prevents crashes, fixing 2 memory management problems:
1. user_data passed to nfc_tag_transceive was deleted twice
2. buffer argument of tagTransceiveCb was deleted inside the function;
   according to Native NFC API reference: "buffer will be automatically
   destroyed when the callback function returns. (Do not release buffer.)"

[Verification] NFCTag.transceive() function was tested in Chrome
               DevTools console and worked fine.

Change-Id: I509c368d817b6663373ba0614af73402f8ad47a6
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
6 years ago[NFC] Fix for casting signed value to unsigned int 54/170954/1
Szymon Jastrzebski [Thu, 22 Feb 2018 11:55:36 +0000 (12:55 +0100)]
[NFC] Fix for casting signed value to unsigned int

SVACE ID #310366

[Verification] TW2 NFC M&A TCT pass rate 100%.

Change-Id: Id329ba99d1ae62c6380c672dc3a06d2cd581011b
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years ago[NFC] Fix for casting signed value to unsigned int 41/170841/2
Szymon Jastrzebski [Thu, 22 Feb 2018 11:55:36 +0000 (12:55 +0100)]
[NFC] Fix for casting signed value to unsigned int

SVACE ID #310366

[Verification] TW2 NFC M&A TCT pass rate 100%.

Change-Id: Id329ba99d1ae62c6380c672dc3a06d2cd581011b
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
6 years agoMerge "[Archive] Updating cached storages" into tizen
Piotr Kosko [Fri, 23 Feb 2018 10:46:03 +0000 (10:46 +0000)]
Merge "[Archive] Updating cached storages" into tizen

6 years agoMerge "[MediaController] Fix for bug onChange events" into tizen
Piotr Kosko [Fri, 23 Feb 2018 10:45:43 +0000 (10:45 +0000)]
Merge "[MediaController] Fix for bug onChange events" into tizen