platform/core/api/webapi-plugins.git
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 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_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. 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 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 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 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 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_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 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 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[Calendar] Fixing multiple bugs in calendar API 12/170812/2
Michal Bistyga [Thu, 8 Feb 2018 12:41:42 +0000 (13:41 +0100)]
[Calendar] Fixing multiple bugs in calendar API

3 bugs has been fixed:
1) User couldn't add new calendar to database
1a) Resolved by sending new object, no calendar through JSON
2) Calendar object was not updated with id got from native layer
2a) Resolved by returning id to js layer and...
2b) Changing setting its as result.id, not just a result
3) Every event has been set to calendar with id 0
3a) Resolved by utilizing not used calendarId attribute

[Verification]
verified in chrome console
tct-tests 100% passrate

Change-Id: I5edcf33d8dd753fc044d2b61677439145f4a73d1
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
6 years ago[VoiceControl] Fixing bug with releasing listeners 18/170518/2
Rafal Walczyna [Tue, 20 Feb 2018 11:37:53 +0000 (12:37 +0100)]
[VoiceControl] Fixing bug with releasing listeners

Listeners was not removed after calling release() function

[verification] 100% passrate (auto and manual) on TM1

Change-Id: Ie241a7df83a72d0756f51d61b507f60d8b7c5f0f
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years agoMerge "[Filesystem] Fix return on error in FileWriteString and FileWriteBytes" into...
Piotr Kosko [Fri, 9 Feb 2018 08:52:54 +0000 (08:52 +0000)]
Merge "[Filesystem] Fix return on error in FileWriteString and FileWriteBytes" into tizen_3.0

6 years ago[Filesystem] Fix return on error in FileWriteString and FileWriteBytes 73/169573/1
Jakub Skowron [Wed, 7 Feb 2018 14:02:53 +0000 (15:02 +0100)]
[Filesystem] Fix return on error in FileWriteString and FileWriteBytes

Change-Id: I0377b1a7eaa60a1b5d50c759005d2c6063400332
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years agoMerge branch 'tizen_3.0' into tizen_4.0 90/169390/1 accepted/tizen/4.0/unified/20180212.140732 submit/tizen_4.0/20180207.065235
Piotr Kosko [Tue, 6 Feb 2018 08:36:56 +0000 (09:36 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Iaa5ae2327a66726af1922e072dd6b39fc76de3d7

6 years ago[SecureElement][NFC][Messageport] Fixing casting problems 69/169369/1 accepted/tizen/3.0/common/20180219.092234 accepted/tizen/3.0/mobile/20180219.000616 accepted/tizen/3.0/tv/20180219.000536 accepted/tizen/3.0/wearable/20180219.000541 submit/tizen_3.0/20180207.065225
Piotr Kosko [Mon, 5 Feb 2018 12:48:16 +0000 (13:48 +0100)]
[SecureElement][NFC][Messageport] Fixing casting problems

[Bug] Casting double -> char should not be done directly.

[Verification] Passing values greater than 127 to API makes that
  values are correctly translated.
  TCT passrate 100%.

Change-Id: I786392fd3be2e7d0eb5211e224a25c8078f383e9
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge branch 'tizen_3.0' into tizen_4.0 42/169242/1 accepted/tizen/4.0/unified/20180205.144611 submit/tizen_4.0/20180205.082909
Piotr Kosko [Mon, 5 Feb 2018 06:57:27 +0000 (07:57 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I341501004603b29f58f41320ab1093f09f039af6

6 years ago[version] 2.16 39/169239/1 accepted/tizen/3.0/common/20180206.142007 accepted/tizen/3.0/mobile/20180206.090549 accepted/tizen/3.0/tv/20180206.090539 accepted/tizen/3.0/wearable/20180206.090544 submit/tizen_3.0/20180205.082857
Piotr Kosko [Mon, 5 Feb 2018 06:49:29 +0000 (07:49 +0100)]
[version] 2.16

Change-Id: I7316b54e3c6ab3fe41b5e2e1ac6e4b1a9e7dfa35
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[Bluetooth] Fixing undefined behaviour during cast" into tizen_3.0
Piotr Kosko [Mon, 5 Feb 2018 06:10:16 +0000 (06:10 +0000)]
Merge "[Bluetooth] Fixing undefined behaviour during cast" into tizen_3.0

6 years ago[NFC] Fixing undefined behaviour during static_cast to unsigned char 63/169163/1
Michal Bistyga [Fri, 2 Feb 2018 15:09:33 +0000 (16:09 +0100)]
[NFC] Fixing undefined behaviour during static_cast to unsigned char

Validation:
Automatic tests 100% pass rate
TODO manual tests

Change-Id: I9c15efc77c82f0f7e4019913b2bd02d0f8047bb1
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
6 years ago[Bluetooth] Fixing undefined behaviour during cast 48/169148/2
Michal Bistyga [Fri, 2 Feb 2018 11:37:08 +0000 (12:37 +0100)]
[Bluetooth] Fixing undefined behaviour during cast

Char is unsigned by default on ARM architecture. static_cast from double to unsigned char is undefined behaviour and complier overwritten any negative value with 0.

[Validation]
tests 100% pass rate

Change-Id: Iec39a3c17b18ec7aa4f020fe5de709d66fa426fd
Signed-off-by: Michal Bistyga <m.bistyga@samsung.com>
6 years agoMerge branch 'tizen_3.0' into tizen_4.0 22/168422/1 accepted/tizen/4.0/unified/20180131.050338 submit/tizen_4.0/20180126.102411
Piotr Kosko [Fri, 26 Jan 2018 10:10:36 +0000 (11:10 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Conflicts:
src/download/download_instance.cc

Change-Id: I58ad10dac86b0a93074499fc839b30dd365b0f59

6 years ago[version] 2.15 19/168419/1 accepted/tizen/3.0/common/20180202.113512 accepted/tizen/3.0/mobile/20180202.052129 accepted/tizen/3.0/tv/20180202.052135 accepted/tizen/3.0/wearable/20180202.052139 submit/tizen_3.0/20180126.102446
Piotr Kosko [Fri, 26 Jan 2018 10:04:18 +0000 (11:04 +0100)]
[version] 2.15

- version increased
- fixed minor style issue

Change-Id: I70a371ce7e6834bf73c413e19de37111168c9147
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[Download] refactoring module 55/167355/4
Lukasz Bardeli [Fri, 26 Jan 2018 09:37:21 +0000 (10:37 +0100)]
[Download] refactoring module

Remove setMessageListener from download_api.js and start using from utils_api.js
Remove method declarations from .cc file getDownloadRequest and setListener
Variable name changes
Delete element from callbacks after finished, cancel or failed download

[Verification] Code compiles without error. TCT passrate 100%

Change-Id: Idcca394f4ec6bda7ea3097248a9c900b2a542f7a
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years agoMerge "[Utils] Fix Long conversion (allow hex string value)" into tizen_3.0
Piotr Kosko [Fri, 26 Jan 2018 09:01:47 +0000 (09:01 +0000)]
Merge "[Utils] Fix Long conversion (allow hex string value)" into tizen_3.0

6 years ago[Utils] Fix Long conversion (allow hex string value) 33/167433/2
Jakub Skowron [Wed, 17 Jan 2018 13:27:09 +0000 (14:27 +0100)]
[Utils] Fix Long conversion (allow hex string value)

Until now string "0x15" would be converted 0. This change affects
all numeric conversions which use _toLong.

According to https://www.w3.org/TR/WebIDL-1/#es-long value
should be initialized by ToNumber, which is defined in
https://tc39.github.io/ecma262/#sec-tonumber-applied-to-the-string-type
and allows value to be in form of HexIntegerLiteral.

Change-Id: Ib719ce8fd5beccc5947b761dc905c49ac0469490

6 years ago[Filesystem] Add support for ISO-8859-1 20/168020/3
Jakub Skowron [Tue, 23 Jan 2018 12:19:10 +0000 (13:19 +0100)]
[Filesystem] Add support for ISO-8859-1

Latin-1 encoding in FileReadString and FileWriteString

Change-Id: I2cd7942481619989891c3019d3f7d4325b962892
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years agoMerge "[Filesystem] Remove special case for zero in readBytes/writeBytes" into tizen_4.0
Piotr Kosko [Fri, 26 Jan 2018 06:21:20 +0000 (06:21 +0000)]
Merge "[Filesystem] Remove special case for zero in readBytes/writeBytes" into tizen_4.0

6 years agoMerge "[Download] Fix preventing crash. Prevent call callback twice" into tizen_4.0
Piotr Kosko [Fri, 26 Jan 2018 06:18:08 +0000 (06:18 +0000)]
Merge "[Download] Fix preventing crash. Prevent call callback twice" into tizen_4.0

6 years ago[Download] Fix preventing crash. Prevent call callback twice 78/168378/1
Lukasz Bardeli [Thu, 25 Jan 2018 10:53:43 +0000 (11:53 +0100)]
[Download] Fix preventing crash. Prevent call callback twice

Add condition to prevent call some callback twice and modify body of methods
OnFinished, OnCanceled and OnFailed to prevent crash.

[Verification] Code compiles without error. TCT passrate 100%

Change-Id: I7d194b4d762a52f0281e22555bfd54caa3cb4579
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[Download] Fix preventing crash. Prevent call callback twice 14/168014/2
Lukasz Bardeli [Thu, 25 Jan 2018 10:53:43 +0000 (11:53 +0100)]
[Download] Fix preventing crash. Prevent call callback twice

Add condition to prevent call some callback twice and modify body of methods
OnFinished, OnCanceled and OnFailed to prevent crash.

[Verification] Code compiles without error. TCT passrate 100%

Change-Id: I7d194b4d762a52f0281e22555bfd54caa3cb4579
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years agoMerge "[Common] Improve performance of picojson::serialize_str" into tizen_4.0
Piotr Kosko [Thu, 25 Jan 2018 10:15:55 +0000 (10:15 +0000)]
Merge "[Common] Improve performance of picojson::serialize_str" into tizen_4.0

6 years ago[humanactivitymonitor] Fix crash when WRIST_UP event was called 81/168281/1
Rafal Walczyna [Thu, 25 Jan 2018 09:01:43 +0000 (10:01 +0100)]
[humanactivitymonitor] Fix crash when WRIST_UP event was called

[Verification] Tested with custom app - event fires properly
Auto test on TW2 - 100% passrate

Change-Id: I762a2a0950c4b17333f78b11eb320680f8ec1128
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years ago[Filesystem] Remove special case for zero in readBytes/writeBytes 19/168019/2
Jakub Skowron [Wed, 24 Jan 2018 08:44:34 +0000 (09:44 +0100)]
[Filesystem] Remove special case for zero in readBytes/writeBytes

Null character in Unicode sequence is correctly interpreted
by picojson and crosswalk, so remove mapping 0 to 0x100.

Change-Id: I61988a1089ecdab006ce5cc2492960d526fb9455
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years ago[Common] Remove unused member and parameters from ScopeLogger 36/167736/2
Jakub Skowron [Fri, 19 Jan 2018 11:00:53 +0000 (12:00 +0100)]
[Common] Remove unused member and parameters from ScopeLogger

Change-Id: I1ce2a5747c31e7a751f75005b0574e983e860fb1
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years ago[Common] Improve performance of picojson::serialize_str 18/168018/1
Jakub Skowron [Tue, 23 Jan 2018 10:29:48 +0000 (11:29 +0100)]
[Common] Improve performance of picojson::serialize_str

Remove snprintf by mapping all C0 control characters
in a static array.

Change-Id: I3c801551845523b8c33d74426cdddc30103d426d
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years agoMerge branch 'tizen_3.0' into tizen_4.0 01/167601/2 accepted/tizen/4.0/unified/20180123.000850 submit/tizen_4.0/20180122.134957
Piotr Kosko [Thu, 18 Jan 2018 12:35:15 +0000 (13:35 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Conflicts:
src/filesystem/filesystem_file.cc

Change-Id: I0360e670aefd456dd14b93948c1f2e3e4640e88e

6 years ago[version] 2.14 03/167603/1 accepted/tizen/3.0/common/20180123.124808 accepted/tizen/3.0/mobile/20180122.224252 accepted/tizen/3.0/tv/20180122.224248 accepted/tizen/3.0/wearable/20180122.224256 submit/tizen_3.0/20180122.134630
Piotr Kosko [Thu, 18 Jan 2018 12:32:21 +0000 (13:32 +0100)]
[version] 2.14

Change-Id: I7b9924c14471bce00e2e5eaf607080c869ad92b1
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[Filesystem] Remove unused Base64 and UTF-8 functions" into tizen_3.0
Piotr Kosko [Thu, 18 Jan 2018 11:45:51 +0000 (11:45 +0000)]
Merge "[Filesystem] Remove unused Base64 and UTF-8 functions" into tizen_3.0

6 years agoMerge "[Filesystem] Speed up conversion to octet in writeBytes" into tizen_3.0
Piotr Kosko [Thu, 18 Jan 2018 11:45:14 +0000 (11:45 +0000)]
Merge "[Filesystem] Speed up conversion to octet in writeBytes" into tizen_3.0

6 years agoMerge "[Filesystem] Write file performace improvement (binary data through UTF-8...
Piotr Kosko [Thu, 18 Jan 2018 11:44:56 +0000 (11:44 +0000)]
Merge "[Filesystem] Write file performace improvement (binary data through UTF-8)" into tizen_3.0

6 years agoMerge "[Filesystem] Read file performace improvement (binary data through UTF-8)...
Piotr Kosko [Thu, 18 Jan 2018 11:44:07 +0000 (11:44 +0000)]
Merge "[Filesystem] Read file performace improvement (binary data through UTF-8)" into tizen_3.0

6 years ago[Filesystem] Remove unused Base64 and UTF-8 functions 87/167587/1
Jakub Skowron [Wed, 17 Jan 2018 16:04:49 +0000 (17:04 +0100)]
[Filesystem] Remove unused Base64 and UTF-8 functions

removed: encodeString, decode, decodeString, getCodePoint,
_utf8_encode, _utf8_decode

Change-Id: I269cd71eb252e2f6ea9b266a50acde3f769db50e
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years ago[Filesystem] Speed up conversion to octet in writeBytes 86/167586/1
Jakub Skowron [Wed, 17 Jan 2018 14:43:31 +0000 (15:43 +0100)]
[Filesystem] Speed up conversion to octet in writeBytes

Do not use validateArgs to validate each value in array

Change-Id: I9ac59f59187c7f57a0213778d0f2552cb9de4538
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years ago[Filesystem] Write file performace improvement (binary data through UTF-8) 85/167585/1
Jakub Skowron [Wed, 17 Jan 2018 12:46:16 +0000 (13:46 +0100)]
[Filesystem] Write file performace improvement (binary data through UTF-8)

Improve performance of write, writeBytes, writeBase64 by
pushing binary data through UTF-8 null-terminated string.
Byte 0x00 is encoded as U+0100.

Removed class FilesystemFile.

[Verification] TCT pass rate is 100%
    tct-filesystem-tizen-tests

Change-Id: Iee5983a429ed484eb0fd6a6d35ea794d292de8de
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years ago[Filesystem] Read file performace improvement (binary data through UTF-8) 84/167584/1
Jakub Skowron [Wed, 10 Jan 2018 06:54:35 +0000 (07:54 +0100)]
[Filesystem] Read file performace improvement (binary data through UTF-8)

Improve performance of readBytes, readBase64 by pushing binary data
through UTF-8 null-terminated string.
Byte 0x00 is encoded as U+0100.

Removed not used functions in FilesystemFile. Improved performance of
readAsText.

[Verification] TCT pass rate is 100%
    tct-filesystem-tizen-tests

Change-Id: I41fe2f9c7855721b38ad4bbf268e8eb7851b10eb
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
6 years ago[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData 36/167436/1
Rafal Walczyna [Wed, 17 Jan 2018 13:43:45 +0000 (14:43 +0100)]
[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData

[Verification] auto and manual tests which use this data pass

Change-Id: I8f174925147c561cfcf22590cc5d4b5abbbba506
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
(cherry picked from commit f3123977c14bad5410ee36b520f07c4061d4fc3a)

6 years agoMerge "[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData" into... accepted/tizen/4.0/unified/20180117.163214 submit/tizen_4.0/20180117.135323 tizen_4.0.IoT.p2_release
Piotr Kosko [Wed, 17 Jan 2018 13:51:07 +0000 (13:51 +0000)]
Merge "[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData" into tizen_4.0

6 years ago[HAM] Added missing conversion of alwaysOn parameter 34/167434/2
Piotr Kosko [Wed, 17 Jan 2018 11:52:50 +0000 (12:52 +0100)]
[HAM] Added missing conversion of alwaysOn parameter

[Verification] TCT passrate on Solis binary increased, some TCT issues left,
but webapi code seems to be valid now.

Change-Id: I7f5e1cd4ff7ea8f3a9f141f46794afc3a4789f06
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years ago[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData 35/167435/1
Rafal Walczyna [Wed, 17 Jan 2018 13:43:45 +0000 (14:43 +0100)]
[humanactivitymonitor] Fix timestamp in HumanActivityRecognitionData

[Verification] auto and manual tests which use this data pass

Change-Id: I8f174925147c561cfcf22590cc5d4b5abbbba506
Signed-off-by: Rafal Walczyna <r.walczyna@partner.samsung.com>
6 years agoMerge branch 'tizen_3.0' into tizen_4.0 44/167244/2 accepted/tizen/4.0/unified/20180116.143044 submit/tizen_4.0/20180116.110851
Piotr Kosko [Tue, 16 Jan 2018 09:48:26 +0000 (10:48 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Conflicts:
src/filesystem/filesystem_instance.cc
src/filesystem/js/file.js

Change-Id: I355ce9bb6d27d1990267994f0cfec5c7eaa07792

6 years ago[version] 2.13 36/167236/2 accepted/tizen/3.0/common/20180116.124745 accepted/tizen/3.0/mobile/20180117.101643 accepted/tizen/3.0/tv/20180117.101647 accepted/tizen/3.0/wearable/20180116.115315 submit/tizen_3.0/20180116.110805
Piotr Kosko [Tue, 16 Jan 2018 09:38:34 +0000 (10:38 +0100)]
[version] 2.13

Code format was also fixed

Change-Id: Iae0d214d3caeeb67cdbfe1938718863d70a15789
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
6 years agoMerge "[Alarm] Delete (add/get)AlarmNotification from tv, common and ivi profiles...
Piotr Kosko [Mon, 15 Jan 2018 09:47:41 +0000 (09:47 +0000)]
Merge "[Alarm] Delete (add/get)AlarmNotification from tv, common and ivi profiles" into tizen_4.0

6 years agoMerge "[NFC] Fix for passing wrong values to APDU response" into tizen_3.0
Piotr Kosko [Thu, 11 Jan 2018 08:23:10 +0000 (08:23 +0000)]
Merge "[NFC] Fix for passing wrong values to APDU response" into tizen_3.0

6 years ago[Filesystem] Fix to commit 50ec63f0b8 to read 64 Kb and greater files 89/166189/2
Arkadiusz Pietraszek [Mon, 8 Jan 2018 15:52:30 +0000 (16:52 +0100)]
[Filesystem] Fix to commit 50ec63f0b8 to read 64 Kb and greater files

[Verification] TCT pass rate is 100%
Automated tests has been run:
tct-archive-tizen-tests
tct-systeminfo-tizen-tests
tct-content-tizen-tests
tct-filesystem-tizen-tests

Commit 50ec63f0b8 has introduced error in which only first 64 Kb of
text file was read.

Change-Id: I679cb4a6447c6996a882388c304989e14f6ec6be

6 years ago[Filesystem] Fix to commit ce958812096 to read 64 Kb and greater files 88/166188/2
Arkadiusz Pietraszek [Mon, 8 Jan 2018 15:23:33 +0000 (16:23 +0100)]
[Filesystem] Fix to commit ce958812096 to read 64 Kb and greater files

Commit ce958812096 has introduced error in which only first 64 Kb of
text file was read.

[Verification] TCT pass rate is 100%
    Automated tests has been run:
    tct-archive-tizen-tests
    tct-systeminfo-tizen-tests
    tct-content-tizen-tests
    tct-filesystem-tizen-tests

Change-Id: I266c839e78af9420bdad328e8fa4332bdc16b8a4

6 years ago[NFC] Fix for passing wrong values to APDU response 74/166174/1
Pawel Kaczmarczyk [Mon, 8 Jan 2018 11:19:26 +0000 (12:19 +0100)]
[NFC] Fix for passing wrong values to APDU response

Issue: http://suprem.sec.samsung.net/jira/browse/XWALK-1747

Bug: Wrong type of data in array.

Verification: NFC auto tct passrate 100% (emulator wearable)

Change-Id: I5824e51ce677d6c1c7de006ad10b509b84f00a6a
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@partner.samsung.com>
6 years agoMerge "[Utils] remove Native Bridge from utils_api.js" into tizen_4.0
Piotr Kosko [Mon, 8 Jan 2018 10:39:36 +0000 (10:39 +0000)]
Merge "[Utils] remove Native Bridge from utils_api.js" into tizen_4.0

6 years ago[Filesystem] Quick fix to speed up, by not encoding strings 76/166176/1
Arkadiusz Pietraszek [Thu, 4 Jan 2018 12:01:16 +0000 (13:01 +0100)]
[Filesystem] Quick fix to speed up, by not encoding strings

FileStream.write and FilesStream.read API methods has been speed up by
removing encoding and decoding operations when passing string data
through XWalk

[Verification] TCT pass rate is 100%
Automated tests has been run:
tct-archive-tizen-tests
tct-systeminfo-tizen-tests
tct-content-tizen-tests
tct-filesystem-tizen-tests

FilesystemInstance::FileRead method was unused and because of that has
been removed.

Change-Id: Ifa48e73f8b795969b584c362de3744fe774e9501
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
6 years agoMerge "[Filesystem] Quick fix to speed up, by not encoding strings" into tizen_4.0
Piotr Kosko [Mon, 8 Jan 2018 10:09:16 +0000 (10:09 +0000)]
Merge "[Filesystem] Quick fix to speed up, by not encoding strings" into tizen_4.0

6 years ago[Filesystem] Quick fix to speed up, by not encoding strings 79/165879/5
Arkadiusz Pietraszek [Thu, 4 Jan 2018 12:01:16 +0000 (13:01 +0100)]
[Filesystem] Quick fix to speed up, by not encoding strings

FileStream.write and FilesStream.read API methods has been speed up by
removing encoding and decoding operations when passing string data
through XWalk

[Verification] TCT pass rate is 100%
Automated tests has been run:
tct-archive-tizen-tests
tct-systeminfo-tizen-tests
tct-content-tizen-tests
tct-filesystem-tizen-tests

FilesystemInstance::FileRead method was unused and because of that has
been removed.

Change-Id: Ifa48e73f8b795969b584c362de3744fe774e9501
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
6 years ago[SPEC] fix for error while uninstalling webapi-plugins on emulator 61/166061/4
Lukasz Bardeli [Fri, 5 Jan 2018 12:42:13 +0000 (13:42 +0100)]
[SPEC] fix for error while uninstalling webapi-plugins on emulator

On emulator there are two packages webapi-plugins-<profile>-extension-emulator and
webapi-plugins-profile_<profile>. Uninstalling one of them causes error
rm: cannot remove `/usr/lib/tizen-extensions-crosswalk/libtizen*.so': No such file or directory
rm: cannot remove `/usr/lib/tizen-extensions-crosswalk/plugins.json': No such file or directory
That's why it is needed to be check if file exists before remove

Change-Id: I25cf8d854a019637bcd05a3c686d86f4020a1cc2
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[Download] fix crash while getting map element 44/165744/2
Lukasz Bardeli [Wed, 3 Jan 2018 12:09:24 +0000 (13:09 +0100)]
[Download] fix crash while getting map element

There may be situation when while destroying DownloadInfoPtr in DownloadInstance
destructor on second thread static method is called and check if instance is exist
and later try to read info from DownloadInfoPtr. To avoid this situation lock_guard
is moved just before part of code responsible for destroying DownloadInfoPtr

[Verification] Code compiles without error. 100% passrate

Change-Id: I20b0b0fc1b021d91d2f7daaf36500e4c2b83766c

6 years ago[SPEC] Fix to build plugins with specific profile and disable some plugins 90/164890/1
Lukasz Bardeli [Thu, 21 Dec 2017 11:19:32 +0000 (12:19 +0100)]
[SPEC] Fix to build plugins with specific profile and disable some plugins

[Verification] Code compiles without error

Change-Id: I62ca497792f02b2240f66b3b66cb9a88edc6792c
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[version] 2.13 92/164692/1 accepted/tizen/4.0/unified/20171221.070930 submit/tizen_4.0/20171220.102452
Lukasz Bardeli [Wed, 20 Dec 2017 10:20:29 +0000 (11:20 +0100)]
[version] 2.13

Change-Id: I8d88c1dad219f6aab62c8a0af371a9a3a2758c66
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[DataControl] Fix for addChangeListener 82/164682/1
Lukasz Bardeli [Wed, 20 Dec 2017 09:29:43 +0000 (10:29 +0100)]
[DataControl] Fix for addChangeListener

[Verification] Code compiles without error. TCT passrate 100%

Change-Id: I6ad313b82498f1517d65f53d3cf5bdba600fe521
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
6 years ago[Utils] remove Native Bridge from utils_api.js 85/164485/1
Lukasz Bardeli [Tue, 19 Dec 2017 08:46:05 +0000 (09:46 +0100)]
[Utils] remove Native Bridge from utils_api.js

        Remove NativeBridge from code. Native Bridge is not used anymore in
        webapi plugins.

[Verification] Code compiles without error. TCT passrate alarm, filesystem, archive and
        systeminfo 100%

Change-Id: Ia2da038df334b08425739bc3e18f0d3a3fc688ab
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>