platform/core/api/webapi-plugins.git
4 years ago[Bluetooth] Representation of binary data unification - exceptions fix 84/243984/1
Arkadiusz Pietraszek [Fri, 11 Sep 2020 17:18:59 +0000 (19:18 +0200)]
[Bluetooth] Representation of binary data unification - exceptions fix

Fixed misarg case. Before TypeError was thrown.
Corrected to TypeMismachError.

[Verification] Errors tested in developer console.

[ACR] TWDAPI-259

Change-Id: Ifdfc9682ed31f2cbb9f16d0d63cb2056412a9236
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years ago[Bluetooth] Added checking for null data 26/243826/1 accepted/tizen/unified/20200911.143315 submit/tizen/20200911.055107
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Thu, 10 Sep 2020 09:10:18 +0000 (11:10 +0200)]
[Bluetooth] Added checking for null data

[Verification] BT auto 100%
Manual test BluetoothSocket - subtest BluetoothSocket_writeData_misarg fixed.

Change-Id: I44f27a5f5bee1dae73017ce736709b4c464471c2

4 years agoMerge "[Utils] Change Utils.prototype.assert method to more generic" into tizen
Piotr Kosko [Wed, 9 Sep 2020 10:07:18 +0000 (10:07 +0000)]
Merge "[Utils] Change Utils.prototype.assert method to more generic" into tizen

4 years ago[Utils] Change Utils.prototype.assert method to more generic 22/243722/1
Rafal Walczyna [Wed, 9 Sep 2020 09:44:46 +0000 (11:44 +0200)]
[Utils] Change Utils.prototype.assert method to more generic

Starfish engine, which is used in WebWidgets, does not support console.assert

[Verification] WebWidgetTCT runs succesfully

Change-Id: I6286537c6bc8995b5fd3c0a60f22b2d2595ed787
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[version] 2.73 97/243697/1 accepted/tizen/unified/20200910.123927 submit/tizen/20200909.074050
Piotr Kosko [Wed, 9 Sep 2020 07:28:28 +0000 (09:28 +0200)]
[version] 2.73

Change-Id: I18dd6d47c83cafcfad79fd56688e263457a65bd7

4 years ago[Bluetooth] Implement re-registering GATT services on server start 87/240887/14
Pawel Wasowski [Wed, 12 Aug 2020 10:48:16 +0000 (12:48 +0200)]
[Bluetooth] Implement re-registering GATT services on server start

The services, that are once successfully registered on the local GATT
server will be present on it and re-registered on each start() call.
This commit implements re-registering services on start.

[Verification] Reregistering works - services that were present before
stop() are reregistered in the server after start().

Change-Id: I973ab73f652a8faa72fa2c933ae27666e1fe611a
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[HAM] Remove WRIST_UP gesture 83/243583/2
Rafal Walczyna [Tue, 8 Sep 2020 08:37:44 +0000 (10:37 +0200)]
[HAM] Remove WRIST_UP gesture

WRIST_UP is not supported natively since Tizen 6.0.

TWDAPI-269

[Verification] Build successful
Two tests fails - start and stop WRIST_UP (TypeMismatchError)

Change-Id: If09be9c1ce578adab1ec518b03be2884ea07ed51
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years agoMerge "[HAM] Deprecate gesture and activity methods" into tizen
Piotr Kosko [Tue, 8 Sep 2020 07:21:54 +0000 (07:21 +0000)]
Merge "[HAM] Deprecate gesture and activity methods" into tizen

4 years ago[Spec] Fixing conditional statement while generate rpm 95/243295/2
Lukasz Bardeli [Fri, 4 Sep 2020 10:39:26 +0000 (12:39 +0200)]
[Spec] Fixing conditional statement while generate rpm

At begining of spec file emulator feature flags are defined.
If any profile parameter was passed to spec file from command line then if statement
with emultor feature flag were always true.

[Verification] Code compiles without error

Change-Id: I83a82334e9f4655590fd96c1fc558e1888cb928d

4 years ago[HAM] Deprecate gesture and activity methods 15/243015/2
Rafal Walczyna [Wed, 2 Sep 2020 11:36:33 +0000 (13:36 +0200)]
[HAM] Deprecate gesture and activity methods

Native function are deprecated.

[ACR] TWDAPI-268

Change-Id: I4146362481542c47879413abc59aa2850eb17095
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years agoMerge "[MediaController] Add locks for variable used in different threads" into tizen accepted/tizen/unified/20200901.160650 submit/tizen/20200831.125703
Piotr Kosko [Thu, 27 Aug 2020 10:07:17 +0000 (10:07 +0000)]
Merge "[MediaController] Add locks for variable used in different threads" into tizen

4 years ago[MediaController] Add locks for variable used in different threads 49/242249/4
Rafal Walczyna [Tue, 25 Aug 2020 07:29:53 +0000 (09:29 +0200)]
[MediaController] Add locks for variable used in different threads

Handles for client and server can be used in different threads.
It may cause segmentation fault when already freed handle will be used.

Verification: tct-mediacontroller 100% pass

Change-Id: Iba90d1a85be51710ccda169389ce393f5ce1d1a3
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[Bluetooth][gatt] Add registerService method 82/239782/27
Pawel Wasowski [Wed, 12 Aug 2020 11:25:10 +0000 (13:25 +0200)]
[Bluetooth][gatt] Add registerService method

https://code.sec.samsung.net/jira/browse/TWDAPI-263

[Description]
Added:
+ BluetoothGATTServer::RegisterService()
+ BluetoothGATTServer::services getter

[Verification]
tested on chrome console

Change-Id: I9588d6c613293d3c5f139263c0e8703de8ab02c3
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years agoMerge "[Bluetooth] Add validators for BluetoothGATTServer*InitData objects" into...
Piotr Kosko [Wed, 26 Aug 2020 09:31:33 +0000 (09:31 +0000)]
Merge "[Bluetooth] Add validators for BluetoothGATTServer*InitData objects" into tizen

4 years agoMerge "[Bluetooth] Add BluetoothGATTServer{Service, Characteristic, Descriptor}"...
Piotr Kosko [Wed, 26 Aug 2020 09:31:24 +0000 (09:31 +0000)]
Merge "[Bluetooth] Add BluetoothGATTServer{Service, Characteristic, Descriptor}" into tizen

4 years agoMerge "[Bluetooth] Rename BluetoothGATTService to BluetoothGATTClientService" into...
Piotr Kosko [Wed, 26 Aug 2020 09:31:15 +0000 (09:31 +0000)]
Merge "[Bluetooth] Rename BluetoothGATTService to BluetoothGATTClientService" into tizen

4 years ago[Bluetooth] Implement BluetoothGATTServer::getConnectionMtu() 31/237931/6
Pawel Wasowski [Mon, 6 Jul 2020 14:24:35 +0000 (16:24 +0200)]
[Bluetooth] Implement BluetoothGATTServer::getConnectionMtu()

Related ACR: TWDAPI-263

[Verification] The function was tested in Chrome Dev Tool and worked
               fine.

Change-Id: I2fd9c719e8871cb5db86e2bc65f8fbbc853fa47d
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[Bluetooth] Add BLEAdapter::{add,remove}ConnectStateChangeListener 93/237793/6
Pawel Wasowski [Thu, 2 Jul 2020 13:55:00 +0000 (15:55 +0200)]
[Bluetooth] Add BLEAdapter::{add,remove}ConnectStateChangeListener

Related ACR: TWDAPI-263

This commit adds methods for registering listeners called when the
device running the web app connects to a remote GATT server or a remote
GATT client connects to the local GATT server hosted on the device.

[Verification] I have tested methods in Chrome Dev Tools console and
               they work fine

Change-Id: I5a65c7e4b14654b2a0754a6d1440eb7be67dec5b
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years agoMerge "[Bluetooth][fix] Small fix of crash in ParseServiceData" into tizen
Piotr Kosko [Wed, 26 Aug 2020 06:04:58 +0000 (06:04 +0000)]
Merge "[Bluetooth][fix] Small fix of crash in ParseServiceData" into tizen

4 years ago[Bluetooth] Add validators for BluetoothGATTServer*InitData objects 08/240708/15
Pawel Wasowski [Wed, 12 Aug 2020 10:47:26 +0000 (12:47 +0200)]
[Bluetooth] Add validators for BluetoothGATTServer*InitData objects

This commit adds ValidateBluetoothGATT*Init() functions, that validate
BluetoothGATT{Service, Characteristic, Descriptor}Init objects and fill
optional fields with default values.

Verification: webapi-plugins build succeeds. Instantiating
tizen.bluetooth in Chrome Dev Tools succeeds.
The code will be further verified together with the code that relies on
it. Verification results will be reported in the next commits.

Change-Id: I1fc2017a8c970bd24a3cc3ef0a0c85ca7faf7569
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[Bluetooth] Add BluetoothGATTServer{Service, Characteristic, Descriptor} 93/240893/9
Pawel Wasowski [Wed, 12 Aug 2020 11:19:08 +0000 (13:19 +0200)]
[Bluetooth] Add BluetoothGATTServer{Service, Characteristic, Descriptor}

This commit adds 3 interfaces, used to represent GATT objects exposed by
the local server.

[Verification] webapi-plugins build succeeds. Instantiating
tizen.bluetooth in Chrome Dev Tools succeeds.
The code will be further verified together with the code that
relies on it. Verification results will be reported in the next commits.

Change-Id: I8c5dd6a6da6d213518d0eb46d3bb0ca3e37b4629
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[Bluetooth] Rename BluetoothGATTService to BluetoothGATTClientService 42/236842/13
Dawid Juszczak [Wed, 22 Jul 2020 16:11:06 +0000 (18:11 +0200)]
[Bluetooth] Rename BluetoothGATTService to BluetoothGATTClientService

[Verification] Each method implemented by BluetoothGATTClientService was
called in Chrome Dev Tools.
All auto Bluetooth and manual BLE tests pass.

Change-Id: I530e94aa40b294d43525aed50c9a19dde3c2a1c4
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years agoMerge "[Bluetooth] Add BluetoothGATTServer. Implement start, stop and getServer"...
Piotr Kosko [Tue, 25 Aug 2020 10:23:48 +0000 (10:23 +0000)]
Merge "[Bluetooth] Add BluetoothGATTServer. Implement start, stop and getServer" into tizen

4 years ago[Common] Fixed initialization of non-static members 21/242121/1 accepted/tizen/unified/20200826.133110 submit/tizen/20200825.050155
Piotr Kosko [Mon, 24 Aug 2020 08:23:29 +0000 (10:23 +0200)]
[Common] Fixed initialization of non-static members

Related Coverity issue: 1146371

[Verification] Code compiles without errors.

Change-Id: I91da0bcdc083b83caa08ff69d9a9e31244aa1e0e

4 years ago[Bluetooth] Add BluetoothGATTServer. Implement start, stop and getServer 89/235889/13
Pawel Wasowski [Mon, 6 Jul 2020 18:36:21 +0000 (20:36 +0200)]
[Bluetooth] Add BluetoothGATTServer. Implement start, stop and getServer

ACR: TWDAPI-263

This commit adds BluetoothGATTServer class in C++ and implements JS
APIs:
- tizen.bluetooth.getGATTServer()
- BluetoothGATTServer.start()
- BluetoothGATTServer.stop()

Verification: The code tested in the Chrome DevTools console works fine

Change-Id: I688df55298be1b5ec997a5ae8ff42877f1bd6a24
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[Bluetooth][fix] Small fix of crash in ParseServiceData 76/240876/1
Arkadiusz Pietraszek [Wed, 12 Aug 2020 09:13:42 +0000 (11:13 +0200)]
[Bluetooth][fix] Small fix of crash in ParseServiceData

There was a small mistake that caused crash when advertising with BLE
adapter and using service data.

[Verification] Code compiles and executes without crash or errors.

Change-Id: I4254e800ee7fda21e6eb71c7f7f03d6b4a399beb
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years ago[version] 2.72 74/239774/1 accepted/tizen/unified/20200730.130821 submit/tizen/20200730.063627
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 29 Jul 2020 12:33:42 +0000 (14:33 +0200)]
[version] 2.72

Change-Id: I55fb5aba0b6d4f43eebe205b9f1d0605d10b075b

4 years agoMerge "[Common] Added cache for JS privilege checking" into tizen
Piotr Kosko [Wed, 29 Jul 2020 08:57:22 +0000 (08:57 +0000)]
Merge "[Common] Added cache for JS privilege checking" into tizen

4 years ago[Common] Added cache for JS privilege checking 48/239648/2
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 28 Jul 2020 10:38:04 +0000 (12:38 +0200)]
[Common] Added cache for JS privilege checking

Commit improves the performance of asking for application privileges.
Values are cached.

[Verification]
Code compiles without errors.
Privilege TCT passrate 100%

Change-Id: Id1772d9b14e4d4ff07e6a7ca0993027b98a4f2f4

4 years ago[Bookmark] Removed whole implementation of module. 58/238558/1
Piotr Kosko [Wed, 15 Jul 2020 05:10:46 +0000 (07:10 +0200)]
[Bookmark] Removed whole implementation of module.

By HQ decision whole module was removed.

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-266

[Verification] Code compiles without errors.

Change-Id: Icff7a08dfb7250c2029de677be0373236e98812f

4 years ago[version] 2.71 56/238556/1 accepted/tizen/unified/20200720.125625 submit/tizen/20200715.055037
Piotr Kosko [Wed, 15 Jul 2020 05:02:39 +0000 (07:02 +0200)]
[version] 2.71

Change-Id: I2fdcec5a0ca7e43cf24be3b8863f24b99b939dca

4 years agoMerge "[common][utils] Add new helper methods" into tizen
Piotr Kosko [Wed, 15 Jul 2020 04:50:06 +0000 (04:50 +0000)]
Merge "[common][utils] Add new helper methods" into tizen

4 years ago[utils] Remove of unused functions ValidateMethod and ValidateArguments 06/238506/1
Arkadiusz Pietraszek [Tue, 14 Jul 2020 15:25:28 +0000 (17:25 +0200)]
[utils] Remove of unused functions ValidateMethod and ValidateArguments

ValidateMethod and ValidateArguments functions located in utils_api.js are not used anywhere in Web API code.

[Verification] Grep search does not find any occurences of those
functions.

Change-Id: Ifad5f7005e82fb31e1c44c73dbed3a363d25d4ad
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years agoMerge "[6.0][Bluetooth] Representation of binary data unification" into tizen
Piotr Kosko [Tue, 14 Jul 2020 10:13:25 +0000 (10:13 +0000)]
Merge "[6.0][Bluetooth] Representation of binary data unification" into tizen

4 years ago[6.0][Bluetooth] Representation of binary data unification 59/231859/10
Arkadiusz Pietraszek [Fri, 24 Apr 2020 13:38:11 +0000 (15:38 +0200)]
[6.0][Bluetooth] Representation of binary data unification

Currently binary data is passed to functions and received in return as different types.
This API change has been designed to unify binary data handling across Bluetooth module.

Adding type:
  typedef (byte[] or DOMString or Uint8Array) Bytes;

Adding functions:
  byte[] toByteArray(Bytes);
  DOMString toDOMString(Bytes);
  Uint8Array toUint8Array(Bytes);

Changing functions signatures:
  BluetoothLEServiceData(DOMString uuid, Bytes data);
  BluetoothLEManufacturerData(DOMString uuid, Bytes data);
  void BluetoothGATTCharacteristic::writeValue (Bytes value, optional SuccessCallback? successCallback, optional ErrorCallback? errorCallback);
  void BluetoothGATTDescriptor::writeValue (Bytes value, optional SuccessCallback? successCallback, optional ErrorCallback? errorCallback);
  unsigned long BluetoothSocket::writeData(Bytes);

[ACR]
https://code.sec.samsung.net/jira/browse/TWDAPI-259

[Verification]
Automatic bluetooth tct pass rate 100%
Unit tests for new functions added

Change-Id: I31e436149ecab6c4b7223ba493d13638cd707851
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years ago[6.0] Replace deprecated validateMethod with validateArgs 17/233717/3
Arkadiusz Pietraszek [Mon, 4 May 2020 12:03:12 +0000 (14:03 +0200)]
[6.0] Replace deprecated validateMethod with validateArgs

https://code.sec.samsung.net/jira/browse/XWALK-2102

Changed modules:
alarm
application
humanactivitymonitor
inputdevice
iotcon
playerutil
power
time
tvinputdevice
widgetservice

[verification]
tct-pass rate did not change.
It is 100% for all changed modules, except playerutil, that crashes after argument validation.
Related task: https://code.sec.samsung.net/jira/browse/TSIX-3440

Change-Id: I805e92857cea9da7580c2bd3117227b1a5abb514
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years ago[version] 2.70 92/238092/2 accepted/tizen/unified/20200709.164720 submit/tizen/20200708.105445
Piotr Kosko [Wed, 8 Jul 2020 09:23:30 +0000 (11:23 +0200)]
[version] 2.70

Change-Id: Ibdd3c4eef53bedffdb629532b162e9c987ae9630

4 years ago[Bluetooth] Fix build break for disabled APP_CONTROL_SETTINGS_SUPPORT 91/238091/2
Piotr Kosko [Wed, 8 Jul 2020 09:22:14 +0000 (11:22 +0200)]
[Bluetooth] Fix build break for disabled APP_CONTROL_SETTINGS_SUPPORT

[Verification] Plugins for TV platform build with the change and
               APP_CONTROL_SETTINGS_SUPPORT flag.

Change-Id: I23b87954b877ae278970446a03bc94ffe16c9aed

4 years ago[Metadata] Changed path property to uri 14/238014/4
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 7 Jul 2020 10:50:31 +0000 (12:50 +0200)]
[Metadata] Changed path property to uri

* removed not used variables in js file
* path renamed with uri
* some helper functions moved from instance.cc to metadata_file_handle.cc

[Verification] Checked in chrome console

Change-Id: I560cd2b4c2c176b5386c53dd94d50b20a274732b

4 years ago[Metadata] Implementation of get() and release() 46/237846/3
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Mon, 6 Jul 2020 05:16:50 +0000 (07:16 +0200)]
[Metadata] Implementation of get() and release()

Implementation supports release() which frees all resources allocated
for metadata extraction.
Implementation supports get() for gathering metadata values. If get is called
after release(), API automatically recreates all handles for file.

[ACR]  https://code.sec.samsung.net/jira/browse/TWDAPI-265

[Verification] Chcecked in chrome console:
> m = tizen.metadata.createFileHandle("file:///home/owner/media/Videos/mp4video_mp3audio.mp4")
> m.get("DURATION")
> m.release()
> m.get("DURATION")
> m.get("VIDEO_WIDTH")
> m.release()

Change-Id: I2ed27a7c8009325817c32c993f5f8d4f00cd063e

4 years ago[common][utils] Add new helper methods 59/236159/3
Pawel Wasowski [Mon, 15 Jun 2020 08:14:00 +0000 (10:14 +0200)]
[common][utils] Add new helper methods

This commit adds 2 helper methods, that may be used from all modules:
- (JS) NativeManager.getErrorObjectAndValidate(), that creates a
WebAPIException from the data sent from C++ layer. If the exception is
not among valid exceptions passed to this function, it is replaced with
a default value (e.g. UnknownError). A list of exceptions/errors,
defined for a function in the documentation can be passed as the list of
valid exceptions to ensure, that the function will only report errors
defined in the documentation.
- (C++) PlatformResult::SetMessage() method to set the error message.

This commit also allows to use JS console.assert() through
xwalk.utils.assert().

[Verification] The code compiles. I use it in the next commit and the
               code works fine.

Change-Id: If2291a4123b3235971ff1f1f1c69320bbb1ee167
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[Metadata] Implementation of handles management 74/237174/5
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Thu, 25 Jun 2020 12:36:21 +0000 (14:36 +0200)]
[Metadata] Implementation of handles management

Implementation supports creation a handle for a file, with returned
basic structure of MetadataFileHandle.

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-265

[Verifcation] Code compiles without errors.
Checked with Chrome console.

Change-Id: I421afbed3b618e7d376b9a93a8cf484d334a72b2

4 years ago[Metadata] Created template of module 22/237022/5
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 24 Jun 2020 05:58:41 +0000 (07:58 +0200)]
[Metadata] Created template of module

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-265

[verification] Code compiles and module is visible in Web application.

Change-Id: Ic4697a0e5af8dc6a4204a7fd5947f1cdadc8c477

4 years ago[Bluetooth] Add or modify uuid fields of BLE GATT objects 26/223426/19
Pawel Wasowski [Wed, 29 Jan 2020 14:38:38 +0000 (15:38 +0100)]
[Bluetooth] Add or modify uuid fields of BLE GATT objects

This commit adds uuid field to BluetoothGATTCharacteristic and
BluetoothGATTDescriptor objects and serviceUuid to BluetoothGATTService.
uuid values of BluetoothGATT{Characteristic, Descriptor} and
BluetoothGATTService::serviceUuid default to null,
if Web API implementation is unable to retrieve them from Native API.

There are more UUID fields in Bluetooth API objects, but have not been
made nullable. We expect values of BluetoothLEServiceData::uuid,
BluetoothSocket::uuid, BluetoothServiceHandler::uuid fields
to be valid, if the objects containing them are created successfully.

Related ACR: TWDAPI-255

[Verification] tct-bluetooth-tizen-tests auto: 100%;
               manual Bluetooth04_BLE_wearable: 100%

Change-Id: I4c7fe4e8b4507f07f58c0fb043081eb6d93c933c
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years agoMerge "[Bluetooth][ACR: TWDAPI-256] Sanitize UUIDs in BLE APIs" into tizen
Piotr Kosko [Tue, 16 Jun 2020 10:40:38 +0000 (10:40 +0000)]
Merge "[Bluetooth][ACR: TWDAPI-256] Sanitize UUIDs in BLE APIs" into tizen

4 years agoMerge "[Bluetooth] Fix onnamechanged callback" into tizen
Piotr Kosko [Tue, 16 Jun 2020 10:39:18 +0000 (10:39 +0000)]
Merge "[Bluetooth] Fix onnamechanged callback" into tizen

4 years agoMerge "[Bluetooth] Fix onvisibilitychanged callback" into tizen
Piotr Kosko [Tue, 16 Jun 2020 10:38:45 +0000 (10:38 +0000)]
Merge "[Bluetooth] Fix onvisibilitychanged callback" into tizen

4 years agoMerge "[Bluetooth] Fix onstatechanged callback" into tizen
Piotr Kosko [Tue, 16 Jun 2020 10:37:55 +0000 (10:37 +0000)]
Merge "[Bluetooth] Fix onstatechanged callback" into tizen

4 years ago[Systeminfo] Fixed behaviour of Network property 69/235869/2 accepted/tizen/unified/20200615.135439 submit/tizen/20200610.123237
Piotr Kosko [Wed, 10 Jun 2020 11:19:07 +0000 (13:19 +0200)]
[Systeminfo] Fixed behaviour of Network property

[Bug] When using device with not supported feature
http://tizen.org/feature/network.telephony
e.g. R800 device, below code returns no error:
  tizen.systeminfo.getPropertyValueArray("NETWORK", (s) => {console.log(s)}, (s) => {console.log(s)})
listener for "NETWORK" property is never triggered also:
  tizen.systeminfo.addPropertyValueChangeListener("NETWORK", (s) => console.log(s));

[verification]
Systeminfo TCT 100% passrate.
After fix, listener and getter works properly on TW3.

Change-Id: I9f0d533055926d186305fb7c39418de1fed76f5b

4 years ago[Bluetooth] Fix onnamechanged callback 84/230184/3
Dawid Juszczak [Wed, 8 Apr 2020 08:53:15 +0000 (10:53 +0200)]
[Bluetooth] Fix onnamechanged callback

https://code.sec.samsung.net/jira/browse/XWALK-2065

[Description]
+ removed unnecessary calls of onnamechanged of BluetoothAdapterChangeCallback
+ refactor setName function

[Verification]
+ tested manually on chrome console
+ tct-bluetooth-tizen-tests (auto) 100% PASS

Change-Id: Iaca69d08d18cc95d1f624678873a3d6f9ae2c575
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
4 years ago[Bluetooth] Fix onvisibilitychanged callback 83/230183/6
Dawid Juszczak [Mon, 8 Jun 2020 18:14:47 +0000 (20:14 +0200)]
[Bluetooth] Fix onvisibilitychanged callback

https://code.sec.samsung.net/jira/browse/XWALK-2065

[Description]
+ removed unnecessary calls of onvisibilitychanged of BluetoothAdapterChangeCallback
+ refactor setVisible function

[Verification]
+ tested manually on chrome console
+ tct-bluetooth-tizen-tests (auto) - 100% PASS

Change-Id: I7edcb5a1028fec68d917a9b0e91a18c4d0d5294c
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
4 years ago[Bluetooth] Fix onstatechanged callback 82/230182/8
Dawid Juszczak [Wed, 8 Apr 2020 08:14:22 +0000 (10:14 +0200)]
[Bluetooth] Fix onstatechanged callback

https://code.sec.samsung.net/jira/browse/XWALK-2065

[Description]
+ removed unnecessary calls of onstatechanged of BluetoothAdapterChangeCallback
+ refactor setPowered function

[Verification]
+ tested manually on chrome console
+ tct-bluetooth-tizen-tests (auto) - 100% PASS

Change-Id: I4109151dd805c06aab3c73d1eb55ae4236391ab4
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
4 years ago[Bluetooth][ACR: TWDAPI-256] Sanitize UUIDs in BLE APIs 88/226088/32
Pawel Wasowski [Thu, 27 Feb 2020 10:47:47 +0000 (11:47 +0100)]
[Bluetooth][ACR: TWDAPI-256] Sanitize UUIDs in BLE APIs

The ACR defines ways, in which Bluetooth APIs will handle UUIDs passed
as arguments and returned from functions and adds clarifications about
converisons of UUIDs passed to the Web API, that are made before
advertising.
It also adds tizen.bluetooth.BASE_UUID constant.

APIs modified in this commit:
   BluetoothLEDevice::getService():
     - now it accepts UUIDs in any of the 3 formats defined in BluetoothUUID
   BluetoothLEDevice::getServiceAllUuids():
     - a bugfix and slight change of behavior:
       In the past, this function has always trimmed UUIDs retrieved
       from native API to 16 bit format. In case of UUIDs not built with
       Bluetooth's BASE_UUID the conversions were erroneous, for example:
       "198d3a9c-e21a-4f72-a48b-39a6bad7e583" was converted to "3a9c" which
       (almost surely) did not correspond to any service on the device.
       The function now returns UUIDs in their shortest formats.
  BluetoothLEAdvertiseData::uuids and
  BluetoothLEAdvertiseData::solicitationuuids:
     - now they accept UUIDs in any of the 3 formats defined in
       BluetoothUUID
  BluetoothLEAdvertiseData::serviceData:
     - it accepts UUIDs in any of the 3 formats defined in BluetoothUUID

Verification: tct-bluetooth-tizen-tests pass rate:
                Auto: 100% (BLE suite)
                Manual: 10/11 tests passed. The fail is due to a bug in TCT tests

Manual tests in Chrome DevTools:
tizen.bluetooth.BASE_UUID exists and its value is correct
BluetoothLEAdapter::startAdvertise:
  BluetoothLEAdvertiseData::uuids:
    16 bit: advertised as 16 bit (OK)
    32 bit: advertised as 32 bit
    Random 128 bit: advertised as 128 bit (OK)
    16 bit as 128 bit: advertised as 16 bit (OK)
    32 bit as 128 bit: advertised as 32 bit
  BluetoothLEAdvertiseData::solicitationuuids:
    16 bit: advertised as 16 bit (OK)
    32 bit: advertised as 32 bit
    Random 128 bit: advertised as 128 bit (OK)
    16 bit as 128 bit: advertised as 16 bit (OK)
    32 bit as 128 bit: advertised as 32 bit
  BluetoothLEAdvertiseData::BluetoothLEServiceData::uuid:
    16 bit: advertised as 16 bit (OK)
    32 bit: InvalidValuesErrror, Invalid parameter (OK)
    Random 128 bit: InvalidValuesErrror: Invalid parameter (OK)
    16 bit as 128 bit: advertised as 16 bit (OK)
    32 bit as 128 bit: InvalidValuesErrror: Invalid parameter (OK)

BluetoothLEAdapter::startScan() and BluetoothLEScanCallback():
  BluetoothLEDevice::uuids:
    16 bit: found as 16 bit (OK)
    32 bit: not found at all (OK - native API does not support detecting
                              32 bit UUIDs at all)
    Random 128 bit: found as 128 bit (OK)
    16 bit as 128 bit: found as 128 bit (OK)
    32 bit as 128 bit: found as 128 bit (OK)
  BluetoothLEDevice::solicitationuuids:
    16 bit: found as 16 bit (OK)
    32 bit: not found at all (OK - native API does not support detecting
                              32 bit UUIDs at all)
    Random 128 bit: found as 128 bit (OK)
    16 bit as 128 bit: found as 128 bit (OK)
    32 bit as 128 bit: found as 128 bit (OK)
  BluetoothLEDevice::BluetoothLEServiceData::uuid:
    16 bit: found as 16 bit (OK)
    32 bit: not found at all (probably OK - native API supports only 128
                              bit UUIDs)
    Random 128 bit: not found at all (native support for 128 bit UUIDs
                                      will be introduced in Tizen 6.0)
    16 bit as 128 bit: not found at all (native support for 128 bit UUIDs
                                      will be introduced in Tizen 6.0)
    32 bit as 128 bit: not found at all (native support for 128 bit UUIDs
                                      will be introduced in Tizen 6.0)
  BluetoothLEDevice::getServiceAllUuids():
    16 bit: found as 16 bit (OK)
    32 bit:
      According to the Bluetooth Core Specification (Version 5.2, Vol 3, Part G,
      chapter 3.1 "Service Definition"), GATT servers can only provide 16
      and 128 bit services, so a 32 bit service UUID could not be created.
    Random 128 bit: found as 128 bit (OK)
    16 bit as 128 bit: found as 16 bit (OK)
    32 bit as 128 bit: found as 32 bit (OK)

  BluetoothLEDevice::getService(): TEST 1 - passing UUID as a parameter:
    16 bit to retrieve 16 bit service: OK
    16 bit to retrieve 128 bit built with BASE_UUID service: OK
    128 bit to retrieve 128 bit built with BASE_UUID service: OK
    Random 128 bit: OK
  BluetoothLEDevice::getService(): TEST 2 - the value of
                                   BluetoothGATTService::uuid:
    The same as passed to the getService() for all cases.
  BluetoothLEDevice::getService(): TEST 3 - values of
                                   BluetoothGATTService::uuid in the
                                   service objects from services
                                   included in a service
  I was unable to test this functionality. I have tried to create a
  GATT service incluing secondary services, but was unable to do that neither
  using a BLE adapter and bluetoothctl command on my PC, nor the Android app
  I use for tests.
Change-Id: Ic0b75867cb4be3e2fb3fa9ea046b515503363edb
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years agoMerge "[Bluetooth] Add changeListener flag in c++ layer" into tizen submit/tizen/20200603.100702
Piotr Kosko [Tue, 2 Jun 2020 06:03:26 +0000 (06:03 +0000)]
Merge "[Bluetooth] Add changeListener flag in c++ layer" into tizen

4 years agoMerge "[6.0][Bluetooth] Add JS functionalities enabling conversions and comparisons...
Piotr Kosko [Tue, 2 Jun 2020 05:57:40 +0000 (05:57 +0000)]
Merge "[6.0][Bluetooth] Add JS functionalities enabling conversions and comparisons of UUIDs" into tizen

4 years agoMerge branch 'tizen_5.5' into tizen 79/234879/1
Piotr Kosko [Fri, 29 May 2020 10:21:19 +0000 (12:21 +0200)]
Merge branch 'tizen_5.5' into tizen

Change-Id: I633089bf180dcb69725ba092f6a62a6630ce335f

4 years agoMerge branch 'tizen_5.0' into tizen_5.5 76/234876/1
Piotr Kosko [Fri, 29 May 2020 10:07:56 +0000 (12:07 +0200)]
Merge branch 'tizen_5.0' into tizen_5.5

Change-Id: I2fcaac28cd70e48e7007c3db1a5d15bd30f85dbf

4 years agoMerge branch 'tizen_4.0' into tizen_5.0 74/234874/1
Piotr Kosko [Fri, 29 May 2020 10:06:12 +0000 (12:06 +0200)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: If003c06d7b3ed61e67b370011b59993e7f211d69

4 years agoMerge branch 'tizen_3.0' into tizen_4.0 73/234873/1
Piotr Kosko [Fri, 29 May 2020 09:59:52 +0000 (11:59 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I00cb2f4c2c127315e11546b3d244f25208f921f3

4 years ago[version] 2.42 68/234868/1
Piotr Kosko [Fri, 29 May 2020 09:11:31 +0000 (11:11 +0200)]
[version] 2.42

Change-Id: I21e64688f0d19c08c7ce6ce28b1c1209c3c3d04d

4 years ago[archive] Fix paths comparator for permissions dictionary. 67/234867/1
Michal Michalski [Thu, 28 May 2020 11:47:22 +0000 (13:47 +0200)]
[archive] Fix paths comparator for permissions dictionary.

[Verification] tct-archive-tizen-tests 100% pass rate on TM1 emulator.

Change-Id: I675857a5f1335d8fb28a623ff15edc2d6d1aa8b5
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
4 years agoMerge branch 'tizen_5.5' into tizen 52/234452/1
Piotr Kosko [Tue, 26 May 2020 10:48:06 +0000 (12:48 +0200)]
Merge branch 'tizen_5.5' into tizen

Change-Id: I7cea95dc5be02242ee425f417cf692f5e8b8edb1

4 years agoMerge "[version] 2.64" into tizen_5.5 accepted/tizen/5.5/unified/20200526.224052 submit/tizen_5.5/20200526.102615
Piotr Kosko [Tue, 26 May 2020 10:24:42 +0000 (10:24 +0000)]
Merge "[version] 2.64" into tizen_5.5

4 years agoMerge "[5.5][humanactivitymonitor] Deprecate STRESS_MONITOR" into tizen_5.5
Piotr Kosko [Tue, 26 May 2020 10:24:21 +0000 (10:24 +0000)]
Merge "[5.5][humanactivitymonitor] Deprecate STRESS_MONITOR" into tizen_5.5

4 years ago[5.5][humanactivitymonitor] Deprecate STRESS_MONITOR 94/234294/3
Dawid Juszczak [Fri, 22 May 2020 17:58:09 +0000 (19:58 +0200)]
[5.5][humanactivitymonitor] Deprecate STRESS_MONITOR

[ACR]
https://code.sec.samsung.net/jira/browse/TWDAPI-262

[Description]
Deprecated methods:
- addStressMonitorChangeListener()
- removeStressMonitorChangeListener()

Deprecated interfaces:
- HumanActivityStressMonitorData
- StressMonitorDataRange
- stressMonitorListener

[Verification]
builds witout errors

Change-Id: I3adffddcca970cb668a65bbb1254564a3bde30b1
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
4 years ago[version] 2.64 45/234445/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 26 May 2020 09:45:35 +0000 (11:45 +0200)]
[version] 2.64

Change-Id: I9edf53a093e350c02ca9e7ff522c33412e6d5951

4 years ago[6.0][humanactivitymonitor] Deprecate STRESS_MONITOR 41/234241/5
Dawid Juszczak [Fri, 22 May 2020 17:58:09 +0000 (19:58 +0200)]
[6.0][humanactivitymonitor] Deprecate STRESS_MONITOR

[ACR]
https://code.sec.samsung.net/jira/browse/TWDAPI-262

[Description]
Deprecated methods:
- addStressMonitorChangeListener()
- removeStressMonitorChangeListener()

Deprecated interfaces:
- HumanActivityStressMonitorData
- StressMonitorDataRange
- stressMonitorListener

[Verification]
builds witout errors

Change-Id: I3adffddcca970cb668a65bbb1254564a3bde30b1
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
4 years ago[Application] Fixed behaviour of clearing data for reply callbacks 35/234435/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 26 May 2020 09:07:42 +0000 (11:07 +0200)]
[Application] Fixed behaviour of clearing data for reply callbacks

[Bug] Issue reported by PLM P200525-06256
When application suspends the reply callback, e.g. because of waiting for
user interaction, the data for callback was released too early. This caused
that everytime when reply callback is delayed, data was already freed and it
caused crash of application.

[Fix] Issue was fixed with saving pointers for releasing during manager destruction.

[Verification] PLM application has no longer any issues.
TCT passrate is 100%.

Change-Id: I575ab5f9ce4ccd0ce0bff0e6e9bdc15cadc09ed5

4 years ago[version] 2.63 99/233999/1 accepted/tizen/5.5/unified/20200521.163220 submit/tizen_5.5/20200521.042803
Piotr Kosko [Thu, 21 May 2020 04:25:06 +0000 (06:25 +0200)]
[version] 2.63

Change-Id: I6495eef497d12b3753236115ca371a6dd2da0847

4 years ago[mediacontroller] Fix to handle changed behaviour of native API 98/233998/1
Piotr Kosko [Thu, 14 May 2020 11:32:43 +0000 (13:32 +0200)]
[mediacontroller] Fix to handle changed behaviour of native API

Native API was returning invalid pointer in case when metadata was
missing. This caused passing junk data to WebAPI. Now native API returns
null if metadata is missing. Unfortunately, Web API design does not
allow null value for metadata members. To workaround this problem, we
just pass empty strings to Javascript.

[Verification] mediacontroller  TCT passrate 100%.

Change-Id: Icb6813c10bc74caff4cecca2cbc6b55788f08a92

4 years ago[version] 2.67 87/233487/1 accepted/tizen/unified/20200518.211945 submit/tizen/20200515.042900
Piotr Kosko [Fri, 15 May 2020 04:27:37 +0000 (06:27 +0200)]
[version] 2.67

Change-Id: I497d50336fc06b5fe7f140fcbe13b818230e0bbb

4 years ago[mediacontroller] Fix to handle changed behaviour of native API 20/233420/2
Piotr Kosko [Thu, 14 May 2020 11:32:43 +0000 (13:32 +0200)]
[mediacontroller] Fix to handle changed behaviour of native API

Native API was returning invalid pointer in case when metadata was
missing. This caused passing junk data to WebAPI. Now native API returns
null if metadata is missing. Unfortunately, Web API design does not
allow null value for metadata members. To workaround this problem, we
just pass empty strings to Javascript.

[Verification] mediacontroller  TCT passrate 100%.

Change-Id: Icb6813c10bc74caff4cecca2cbc6b55788f08a92

4 years ago[6.0][Bluetooth] Add JS functionalities enabling conversions and comparisons of UUIDs 51/229651/12
Arkadiusz Pietraszek [Thu, 2 Apr 2020 12:03:08 +0000 (14:03 +0200)]
[6.0][Bluetooth] Add JS functionalities enabling conversions and comparisons of UUIDs

Added functions:
uuidTo128bit
uuidToShortestPossible
uuidsEqual

Related ACR: TWDAPI-258

[Verification]
Function tested manually in console.
Unit test added:
+ test_UUIDTo128bit.js
+ test_UUIDToShortestPossible.js
+ test_UUIDsEqual.js
pass rate is 100%

Change-Id: I2e41443d4ad5eeb8997a5381901af2c2f96151c8
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years ago[iotcon] Fix timeout error 33/232933/1 accepted/tizen/5.5/unified/20200511.223611 submit/tizen_5.5/20200508.125233
Piotr Kosko [Fri, 8 May 2020 10:52:00 +0000 (12:52 +0200)]
[iotcon] Fix timeout error

Missing break statement caused crash on iotcon error.

Verification: Build succesfull, TCT 100% pass

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

4 years agoMerge "[iotcon] Fix timeout error" into tizen accepted/tizen/unified/20200511.214633 submit/tizen/20200508.122743
Piotr Kosko [Fri, 8 May 2020 12:17:20 +0000 (12:17 +0000)]
Merge "[iotcon] Fix timeout error" into tizen

4 years ago[iotcon] Fix timeout error 28/232928/2
Piotr Kosko [Fri, 8 May 2020 10:52:00 +0000 (12:52 +0200)]
[iotcon] Fix timeout error

Missing break statement caused crash on iotcon error.

Verification: Build succesfull, TCT 100% pass

Change-Id: I5a20c2506007954874725da59869f15fe1fb4ab6
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years agoMerge "[Bluetooth] Add uuid_in_source_format field to UUID class" into tizen
Piotr Kosko [Thu, 30 Apr 2020 10:33:44 +0000 (10:33 +0000)]
Merge "[Bluetooth] Add uuid_in_source_format field to UUID class" into tizen

4 years agoMerge "[Bluetooth][Minor] Replace deprecated ValidateMethod with ValidateArgs" into...
Piotr Kosko [Wed, 29 Apr 2020 11:58:16 +0000 (11:58 +0000)]
Merge "[Bluetooth][Minor] Replace deprecated ValidateMethod with ValidateArgs" into tizen

4 years ago[Bluetooth][Minor] Replace deprecated ValidateMethod with ValidateArgs 62/232062/2
Arkadiusz Pietraszek [Mon, 27 Apr 2020 13:15:32 +0000 (15:15 +0200)]
[Bluetooth][Minor] Replace deprecated ValidateMethod with ValidateArgs

https://code.sec.samsung.net/jira/browse/TSIX-3080

[Verification] tct pass rate 100%

Change-Id: Icf77d6ebaad1d54c147b03696f50df1a0678d600
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years ago[Bluetooth] Implementation of MAC address validator fix 96/230996/4
Arkadiusz Pietraszek [Thu, 16 Apr 2020 09:36:47 +0000 (11:36 +0200)]
[Bluetooth] Implementation of MAC address validator fix

Functions IsValidAddress() and IsValidUUID have been fixed.

[Verification]
Code compiles without errors. Functions tested manually in developer console.

Change-Id: I3e975f6ea08061528ef5b6cfe14e8a6f814e693c
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@samsung.com>
4 years agoMerge "[Bookmark] Added deprecation warnings" into tizen
Piotr Kosko [Thu, 9 Apr 2020 08:10:38 +0000 (08:10 +0000)]
Merge "[Bookmark] Added deprecation warnings" into tizen

4 years ago[Bluetooth] Add changeListener flag in c++ layer 81/230181/1
Dawid Juszczak [Wed, 8 Apr 2020 07:14:43 +0000 (09:14 +0200)]
[Bluetooth] Add changeListener flag in c++ layer

https://code.sec.samsung.net/jira/browse/XWALK-2065

[Description]
+ add flag to c++ layer about set callback

[Verification]
tct-bluetooth-tizen-tests (auto) 100% PASS

Change-Id: I5588a613951a20f1e5d45ee16faea4d5b4019d3c
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
4 years ago[Tools] Add script for SAM with SVACE 3.0 engine 20/229620/2
Rafal Walczyna [Thu, 2 Apr 2020 07:59:47 +0000 (09:59 +0200)]
[Tools] Add script for SAM with SVACE 3.0 engine

Change-Id: I421dad53fc79ae0ab45d26b4b9c75af0f2a1f725
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[Bluetooth] Add uuid_in_source_format field to UUID class 92/229792/3
Pawel Wasowski [Fri, 3 Apr 2020 09:49:12 +0000 (11:49 +0200)]
[Bluetooth] Add uuid_in_source_format field to UUID class

Some legacy functions have returned UUID in the very same format,
they get it from the user. In order to preserve backward compatibility,
we cannot return this UUID in another form and we have to keep
the UUID in source format in UUID object.

Change-Id: Ia2668aaa331ddfd3331ffe7c42133e8a97cb06bc
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[Bookmark] Added deprecation warnings 15/229515/1
Piotr Kosko [Wed, 1 Apr 2020 11:25:38 +0000 (13:25 +0200)]
[Bookmark] Added deprecation warnings

Whole module is deprecated since 6.0 - added warnings for C++ and JS
layers.

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-257

[Verification] Code compiles without errors.

Change-Id: Iea2fb030b2876e0546273adf17b0f6e7c43ec296

4 years agoMerge branch 'tizen_5.5' into tizen 32/228932/1
Piotr Kosko [Thu, 26 Mar 2020 10:33:02 +0000 (11:33 +0100)]
Merge branch 'tizen_5.5' into tizen

Change-Id: Id8bcb09c4bf225bb80726a922deee7b30733d0a6

4 years agoMerge branch 'tizen_5.0' into tizen_5.5 30/228930/1
Piotr Kosko [Thu, 26 Mar 2020 10:25:26 +0000 (11:25 +0100)]
Merge branch 'tizen_5.0' into tizen_5.5

Change-Id: I4e6eafdfe9c3fc56deed4d50b0a99c08ab877bb6

4 years agoMerge branch 'tizen_4.0' into tizen_5.0 24/228924/1
Piotr Kosko [Thu, 26 Mar 2020 09:09:19 +0000 (10:09 +0100)]
Merge branch 'tizen_4.0' into tizen_5.0

Change-Id: Iba85c9ce0c49127d8cbe14687d6e21cb5e9bb444

4 years agoMerge branch 'tizen_3.0' into tizen_4.0 23/228923/1
Piotr Kosko [Thu, 26 Mar 2020 08:32:14 +0000 (09:32 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Ifbd17f0ca3fcaa5922f6a2194c5f2ffc007ee1c6

4 years ago[version] 2.41 22/228922/1
Piotr Kosko [Thu, 26 Mar 2020 08:30:38 +0000 (09:30 +0100)]
[version] 2.41

Change-Id: If5ba0f4ac89de2b51259a0a94be4a3a2f156e5a5

4 years ago[Alarm] Fixed Coverity issue and undefined behaviour 21/228921/1
Piotr Kosko [Thu, 26 Mar 2020 07:41:59 +0000 (08:41 +0100)]
[Alarm] Fixed Coverity issue and undefined behaviour

[Coverity] 1134493

Change-Id: I3c9aa41a640efc6ca001ea96978374994a88e029

4 years agoMerge branch 'tizen_5.5' into tizen 64/228664/1 accepted/tizen/unified/20200326.215035 submit/tizen/20200324.115410 submit/tizen/20200325.120221
Piotr Kosko [Tue, 24 Mar 2020 11:51:10 +0000 (12:51 +0100)]
Merge branch 'tizen_5.5' into tizen

Change-Id: I9ee6e22707bc89ff0191164b97d157b2fa072e1e

4 years ago[version] 2.61 53/228653/1 accepted/tizen/5.5/unified/20200325.144859 submit/tizen_5.5/20200324.115426
Piotr Kosko [Tue, 24 Mar 2020 11:01:40 +0000 (12:01 +0100)]
[version] 2.61

Change-Id: I45017805b30ec6e0afd49f4f07f895b6d0949949

4 years ago[application] Fixing memory management for app_control_send_launch_request_async 49/228649/3
Piotr Kosko [Tue, 24 Mar 2020 09:48:55 +0000 (10:48 +0100)]
[application] Fixing memory management for app_control_send_launch_request_async

[Bug] Order of reply and result callbacks is not defined (because both
signals come from different processes). This causes that we cannot just
release the memory in well defined way. Thus we added delay for removing
a data passed to callbacks to prevent crash.

[Verification] application tct passrate 100%
deprecate tct passrate 100%
Verified manually with application from PLM issue P200214-04877

Change-Id: Id50e80f7aecbaa9a01d46258f4f2a8eabe322409

4 years ago[Bluetooth] Add unit tests for UUID class 84/226284/1
Pawel Wasowski [Fri, 28 Feb 2020 13:43:19 +0000 (14:43 +0100)]
[Bluetooth] Add unit tests for UUID class

Change-Id: I28bcc5e0bc48eb613a9076e93e6d68abe27cdc13
Verification: tests build; pass rate: 100%
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[Bluetooth] Add UUID class 17/225017/28
Pawel Wasowski [Fri, 28 Feb 2020 13:02:25 +0000 (14:02 +0100)]
[Bluetooth] Add UUID class

UUID class will handle validation of string UUIDs and conversions
between different UUID formats.

Verification: unit tests (added in the next commit) pass rate: 100%
Change-Id: Ie075379d7c5a4567646c04097888d5ae2f560b5b
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[common][optional] Add operator== 31/225531/5
Pawel Wasowski [Thu, 20 Feb 2020 11:52:15 +0000 (12:52 +0100)]
[common][optional] Add operator==

Verification: the compilation doesn't fail; further validation will be
done when the operator will be used in the UUID class code

Change-Id: If7bee4f1f4b5d994aeaa11d32e2e2371397e94ba
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years ago[version] 2.64 42/226042/1 accepted/tizen/unified/20200226.124242 submit/tizen/20200226.080432
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 26 Feb 2020 08:02:17 +0000 (09:02 +0100)]
[version] 2.64

Change-Id: I8d45775a26877a7770d7455846e08ec227ef70e5

4 years ago[tv][6.0] enable bluetooth module on TV 22/225922/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 25 Feb 2020 09:54:42 +0000 (10:54 +0100)]
[tv][6.0] enable bluetooth module on TV

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-253

[Verification] Code compiles without errors.

Change-Id: If580567a72be0fc0f282584b6a7b7fa1dcda065f

4 years agoMerge branch 'tizen_5.5' into tizen 19/225919/1 accepted/tizen/unified/20200225.224502 submit/tizen/20200225.093834
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 25 Feb 2020 09:16:36 +0000 (10:16 +0100)]
Merge branch 'tizen_5.5' into tizen

Change-Id: Iba20b786c516812af5700a5eadf47bd6d73712b7