platform/core/api/webapi-plugins.git
3 years agoMerge branch 'tizen_3.0' into tizen_4.0 60/244460/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Fri, 18 Sep 2020 12:14:28 +0000 (14:14 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I0abc0ed3a4c04aa1df20e4ef1b804cad4aed2088

3 years ago[version] 2.43 59/244459/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Fri, 18 Sep 2020 12:08:38 +0000 (14:08 +0200)]
[version] 2.43

Change-Id: I1f760b29b975107288cf2b5595f94db168148f4e

3 years ago[Bluetooth][Pre-6.0] Fix BluetoothLEDevice::getServiceAllUuids() 58/244458/1
Pawel Wasowski [Wed, 5 Feb 2020 13:00:47 +0000 (14:00 +0100)]
[Bluetooth][Pre-6.0] Fix BluetoothLEDevice::getServiceAllUuids()

[Bug] When some remote device advertises non-standard UUID, it was invalidly
translated to 16bit UUID. Which caused "NotFoundError: Service not found" error
in case of reading this service.

Inlcudes:
* fix for BluetoothLEDevice::getServiceAllUuids based on 6.0 implementation
* moving toLowerCase() from messaging to common module (needed for a fix)

[Verification]
Auto TCT 100% pass.

Tested in console:

Precondition:
Remote device need to have a GATT server advertising some non-standard UUID service, e.g.
"12341234-1234-1234-1234-123412341234". Below code should work if your remote device "MyDevice"
has proper service with a characteristic.

Last result will be something like "Value read from 1 characteristic -> 116,101,115,116"

var testDeviceName = "MyDevice";
var nonStandardUUID = "12341234-1234-1234-1234-123412341234";

var device;
function testBle(name) {
    var adapter = tizen.bluetooth.getLEAdapter();

    adapter.startScan(function (device_) {
        device = device_;
        //Item one occurs here:
        if (device.name)
            console.log("Found: " + JSON.stringify(device))
        if (device.name === name) {
            console.log("[Found device] address: " + JSON.stringify(device));
            adapter.stopScan();

            device.connect(function () {
                console.log("[Connected]");
                uuids = device.getServiceAllUuids();
                console.log("all UUIDS\n" + JSON.stringify(uuids))

                if (uuids.includes(nonStandardUUID)) {
                    console.log("Reading: " + nonStandardUUID);
                    var service = device.getService(nonStandardUUID);
                    if (service.characteristics.length > 0) {
                        for (j = 0; j < service.characteristics.length; ++j) {
                            var characteristic = service.characteristics[j];
                            characteristic.readValue(function (val) {
                                console.log("Value read from " + j + " characteristic -> " + val);
                            });
                        }
                    } else {
                        console.log("no characteristics found for service: " + uuid)
                    }
                } else {
                    console.error("UUID " + nonStandardUUID + " not found ");
                }
            }, (e) => console.log(e));
        }
    }, (e) => console.log(e))
}
testBle(testDeviceName)

Change-Id: I38494b6b5037cf06ee7c4bc32d2f8f5e8e6ce97e

3 years ago[MediaController] Add locks for variable used in different threads 43/242843/1
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: Build successful

Change-Id: Iba90d1a85be51710ccda169389ce393f5ce1d1a3
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
3 years ago[MediaController] Add locks for variable used in different threads 42/242842/1
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: Build successful

Change-Id: Iba90d1a85be51710ccda169389ce393f5ce1d1a3
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
3 years ago[Systeminfo] Fixed behaviour of Network property 74/235874/1 accepted/tizen_4.0_unified accepted/tizen/4.0/unified/20200611.103152 submit/tizen_4.0/20200610.123534
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

3 years ago[Systeminfo] Fixed behaviour of Network property 73/235873/1 submit/tizen_3.0/20200610.123619
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

3 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

3 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

3 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_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_3.0' into tizen_4.0 68/221968/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 8 Jan 2020 12:51:35 +0000 (13:51 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I1bd47bf631acfcd842c26a5076c3538d8cbe8247

4 years ago[version] 2.40 67/221967/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 8 Jan 2020 12:49:22 +0000 (13:49 +0100)]
[version] 2.40

Change-Id: I06a43e95787fe3e97fc87cbaaee7f2e430b99b97

4 years ago[Archive] Prevent extracting files with ".." in relative paths 66/221966/1
Pawel Wasowski [Wed, 8 Jan 2020 10:28:08 +0000 (11:28 +0100)]
[Archive] Prevent extracting files with ".." in relative paths

This change mitigates a potential security issue, which could occur if
a zip archive contained files with ".." in their paths.
ArchiveEntry.extract() and Archive.extractAll() will not extract such
files.

Verification: auto tct-tizen-archive-tests pass rate: 100%
              Manual tests: attempts to extract files with forbidden
              ".." results in an UnknownError.

Change-Id: I563744d834d24e896493f55d15e579e714d539f9
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
4 years agoMerge branch 'tizen_3.0' into tizen_4.0 44/219744/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Mon, 9 Dec 2019 12:57:25 +0000 (13:57 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I46b19761d8c18ed668e27a078c7e8094c1dde614

4 years ago[version] 2.39 42/219742/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Mon, 9 Dec 2019 12:55:38 +0000 (13:55 +0100)]
[version] 2.39

Change-Id: I4b83c04cba5ab218c11cefdbffd4e89054f54540

4 years ago[Messageport] Fixed listener issues 41/219741/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Mon, 9 Dec 2019 10:26:39 +0000 (11:26 +0100)]
[Messageport] Fixed listener issues

[Bugs]
* There was a problem with missing unregistration of
  listeners for local ports, it was added.
* There was invalid calling of listeners (only latest listener was called),
  now each registered listener is called properly.

[Verification] Messageport TCT passrate 100%.
Below scenario calls 3 different callbacks:

abc = tizen.messageport.requestLocalMessagePort("abc");
abc.addMessagePortListener((data, name) => {console.log(abc.messagePortName + " -> \"" + data + "\" : \"" + name + "\"")} );
abc.addMessagePortListener((data, name) => {console.log("2" + abc.messagePortName + " -> \"" + data + "\" : \"" + name + "\"")} );
abc.addMessagePortListener((data, name) => {console.log("3" + abc.messagePortName + " -> \"" + data + "\" : \"" + name + "\"")} );

abc_remote = tizen.messageport.requestRemoteMessagePort(tizen.application.getCurrentApplication().appInfo.id, "abc");
abc_remote.sendMessage([{key: "key1", value: "val1"}]);

Change-Id: If3a4b362de76599904c83737137c0d0cd4d023c7

4 years ago[version] 2.39 34/219534/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Thu, 5 Dec 2019 14:10:34 +0000 (15:10 +0100)]
[version] 2.39

Change-Id: I06df52433c2f8c159d42ae7ad11e10531b13a60d

4 years ago[Code format] Fixed formatting issues 33/219533/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Thu, 5 Dec 2019 14:09:46 +0000 (15:09 +0100)]
[Code format] Fixed formatting issues

Change-Id: Ieb6000829e03777e709ecfa9e447185975828866

4 years agoMerge "[ham] Fixed sleep recorder, returned value" into tizen_4.0
Piotr Kosko [Mon, 2 Dec 2019 11:21:50 +0000 (11:21 +0000)]
Merge "[ham] Fixed sleep recorder, returned value" into tizen_4.0

4 years ago[ham] Fixed sleep recorder, returned value 43/219143/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 27 Nov 2019 13:16:11 +0000 (14:16 +0100)]
[ham] Fixed sleep recorder, returned value

[Bug] there was missing conversion from numerical value from database to string value used in Web API

[Verification] TCT passrate 100% on wearable TW3.
Below code works when activity added manually to database.
var data = [];
date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1),
    query = {
        startTime: startTime/1000,
        endTime: endTime/1000,
        interval: 1440
    };
tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, (s) => console.log(data = s), (s) => console.log(s))

returns one of values of "ASLEEP", "AWAKE", or "UNKNOWN"

Change-Id: I86b6bead534638bafcb5abcb16512bb462c79374

4 years ago[ham] Fixed sleep recorder, returned value 41/219141/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Wed, 27 Nov 2019 13:16:11 +0000 (14:16 +0100)]
[ham] Fixed sleep recorder, returned value

[Bug] there was missing conversion from numerical value from database to string value used in Web API

[Verification] TCT passrate 100% on wearable TW3.
Below code works when activity added manually to database.
var data = [];
date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1),
    query = {
        startTime: startTime/1000,
        endTime: endTime/1000,
        interval: 1440
    };
tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, (s) => console.log(data = s), (s) => console.log(s))

returns one of values of "ASLEEP", "AWAKE", or "UNKNOWN"

Change-Id: I86b6bead534638bafcb5abcb16512bb462c79374

4 years agoMerge "[MediaController] Fix removing invalid listener" into tizen_4.0
Piotr Kosko [Mon, 2 Dec 2019 07:21:30 +0000 (07:21 +0000)]
Merge "[MediaController] Fix removing invalid listener" into tizen_4.0

4 years agoMerge branch 'tizen_3.0' into tizen_4.0 53/218353/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Thu, 21 Nov 2019 11:01:36 +0000 (12:01 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I19c718eb38545fda3bf0b49403e1cbd88960ec4f

4 years ago[version] 2.38 49/218349/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Thu, 21 Nov 2019 10:58:34 +0000 (11:58 +0100)]
[version] 2.38

Change-Id: Id74d1d21292bd36c33771009e5a6fac0bd50537b

4 years ago[MediaController] Fix removing invalid listener 46/218346/1
Rafal Walczyna [Thu, 21 Nov 2019 10:46:10 +0000 (11:46 +0100)]
[MediaController] Fix removing invalid listener

CommandListener was removed instead of ChangeRequestPlaybackInfoListener.
It was impossible to add ChangeRequestPlaybackInfoListener again.

Verification: tct passrate 100%.
Tested in GoogleChrome console on TM1 and KantM2.

Change-Id: Iff0ea6026581b3649592ee5bde3bfb625ceb35e4
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[MediaController] Fix removing invalid listener 43/218343/2
Rafal Walczyna [Thu, 21 Nov 2019 10:46:10 +0000 (11:46 +0100)]
[MediaController] Fix removing invalid listener

CommandListener was removed instead of ChangeRequestPlaybackInfoListener.
It was impossible to add ChangeRequestPlaybackInfoListener again.

Verification: tct passrate 100%.
Tested in GoogleChrome console on TM1 and KantM2.

Change-Id: Iff0ea6026581b3649592ee5bde3bfb625ceb35e4
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years agoMerge branch 'tizen_3.0' into tizen_4.0 11/217011/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 5 Nov 2019 10:26:43 +0000 (11:26 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Icba6eb40bb40a300befb71d01aa07320ea68b069

4 years ago[version] 2.37 06/217006/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/Samsung Electronics [Tue, 5 Nov 2019 10:10:03 +0000 (11:10 +0100)]
[version] 2.37

Change-Id: Ib1de6d53a704c6321d70c5202b5a5fcc3b055ead

4 years ago[filesystem] Fix getAllStorages 99/216999/1
Rafal Walczyna [Tue, 29 Oct 2019 12:58:14 +0000 (13:58 +0100)]
[filesystem] Fix getAllStorages

Fixed bug which causes to show duplicated values of internal
and external storages

[verification] Filesystem and Archive tct - 100% pass.

Change-Id: Ic087583a906eecfa040d97cb903f4c99838c6591
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[filesystem] Fix getAllStorages 98/216998/1
Rafal Walczyna [Tue, 29 Oct 2019 12:58:14 +0000 (13:58 +0100)]
[filesystem] Fix getAllStorages

Fixed bug which causes to show duplicated values of internal
and external storages

[verification] Filesystem and Archive tct - 100% pass.

Change-Id: Ic087583a906eecfa040d97cb903f4c99838c6591
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years agoMerge branch 'tizen_3.0' into tizen_4.0 03/216403/1
Piotr Kosko/Engineer/Native/Web API (PLT) /SRPOL/Samsung Electronics [Thu, 24 Oct 2019 10:51:04 +0000 (12:51 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I99c57c205dd95970412c98430b9998c773a94917

4 years ago[version] 2.36 88/216388/1
Piotr Kosko/Engineer/Native/Web API (PLT) /SRPOL/Samsung Electronics [Thu, 24 Oct 2019 08:51:18 +0000 (10:51 +0200)]
[version] 2.36

Change-Id: I99c7c0258b677468f6a163e03a7807411dbbde56

4 years ago[Bluetooth] Fixed issues related to BLE 81/216381/3
Piotr Kosko/Engineer/Native/Web API (PLT) /SRPOL/Samsung Electronics [Thu, 24 Oct 2019 06:59:52 +0000 (08:59 +0200)]
[Bluetooth] Fixed issues related to BLE

[Bug/Fix]
  1. Prevent possible crash in case of invalid data passed from native
  2. Prevent type mismatch exception in JS in case of LE devices advertising
     serviceData.

[Verification] tct passrate 100%
  Checked in chrome console and le device with serviceData.

Change-Id: Iecc9929a77a1acfd1b33eb325ea287011b9a6096

4 years agoMerge branch 'tizen_3.0' into tizen_4.0 01/214901/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/삼성전자 [Fri, 27 Sep 2019 09:15:05 +0000 (11:15 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Iea1a8a0914572301a28c53d54bf64c795237ce44

4 years ago[version] 2.35 80/214880/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Engineer/삼성전자 [Fri, 27 Sep 2019 08:36:20 +0000 (10:36 +0200)]
[version] 2.35

Change-Id: Ifc5a4e534e395579031af9d3d115389b7545ab77

4 years ago[Filesystem] Source code auto-formatting 79/214879/1
Rafal Walczyna [Fri, 27 Sep 2019 08:33:30 +0000 (10:33 +0200)]
[Filesystem] Source code auto-formatting

Used: ./code_format src/ -c -js

Change-Id: I1a27efa220445342ec42ef5327d06ac7bdd40ca9
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[Archive] Fix for retrieving virtual roots 54/214854/2
Szymon Jastrzebski [Fri, 12 Jan 2018 10:07:53 +0000 (11:07 +0100)]
[Archive] Fix for retrieving virtual roots

Current implmentation gets only internal virtual roots. This change adds
getting external roots as well.

[Verification] TCT Archive passed with 100% p.r.

Change-Id: Ia961dd276901ed31d42b22d93148d51066276163
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
4 years ago[Filesystem] List of virtual roots for resolve function fixed. 53/214853/2
Rafal Walczyna [Tue, 24 Sep 2019 14:23:38 +0000 (16:23 +0200)]
[Filesystem] List of virtual roots for resolve function fixed.

Current implementation of virtual roots list did not include internal0 or
external memory i.e. SDCard or USBDrive. It results in not working resolve()
function, when location to resolve was on external memory.

Verification: TCT - 100 % pass.

Change-Id: I11c2537a7f5643f8c9ccfe2f45be9f3bce3edf00
Signed-off-by: Rafal Walczyna <r.walczyna@samsung.com>
4 years ago[Application] Fixed path of getAppSharedURI 69/210569/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Mon, 22 Jul 2019 09:21:02 +0000 (11:21 +0200)]
[Application] Fixed path of getAppSharedURI

Application should return path to the 'shared' directory which follows
the description of 'shared' directory content available here:
https://developer.tizen.org/development/training/native-application/understanding-tizen-programming/file-system-directory-hierarchy

New application returns the path like:
sh-3.2# ls -al /opt/usr/home/owner/apps_rw/org.example.basic/shared/
total 20
drwxr-xr-x 4 owner  users        4096 Jul 18 13:06 .
drwxr-xr-x 5 owner  users        4096 Jul 18 13:06 ..
drwxrwsr-x 2 owner  system_share 4096 Jul 18 13:06 data
lrwxrwxrwx 1 app_fw app_fw         58 Jul 18 13:06 res -> /opt/usr/globalapps/org.example.basic/shared/res
drwxr-xr-x 2 owner  users        4096 Jul 18 13:06 trusted

Instead of the previous result:
sh-3.2# ls -al /opt/usr/globalapps/org.example.basic/shared/
total 12
drwxr-xr-x 3 tizenglobalapp root 4096 Jul 18 13:06 .
drwxr-xr-x 6 tizenglobalapp root 4096 Jul 18 13:06 ..
drwxr-xr-x 2 tizenglobalapp root 4096 Jul 18 13:06 res

[Verification] Checked manually in chrome console
  TCT Application 100% passrate

Change-Id: I0032c10bf2d98487117cd0049103767f9c7f1d09

4 years ago[Application] Fixed path of getAppSharedURI 58/210558/5
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Mon, 22 Jul 2019 09:21:02 +0000 (11:21 +0200)]
[Application] Fixed path of getAppSharedURI

Application should return path to the 'shared' directory which follows
the description of 'shared' directory content available here:
https://developer.tizen.org/development/training/native-application/understanding-tizen-programming/file-system-directory-hierarchy

New application returns the path like:
sh-3.2# ls -al /opt/usr/home/owner/apps_rw/org.example.basic/shared/
total 20
drwxr-xr-x 4 owner  users        4096 Jul 18 13:06 .
drwxr-xr-x 5 owner  users        4096 Jul 18 13:06 ..
drwxrwsr-x 2 owner  system_share 4096 Jul 18 13:06 data
lrwxrwxrwx 1 app_fw app_fw         58 Jul 18 13:06 res -> /opt/usr/globalapps/org.example.basic/shared/res
drwxr-xr-x 2 owner  users        4096 Jul 18 13:06 trusted

Instead of the previous result:
sh-3.2# ls -al /opt/usr/globalapps/org.example.basic/shared/
total 12
drwxr-xr-x 3 tizenglobalapp root 4096 Jul 18 13:06 .
drwxr-xr-x 6 tizenglobalapp root 4096 Jul 18 13:06 ..
drwxr-xr-x 2 tizenglobalapp root 4096 Jul 18 13:06 res

[Verification] Checked manually in chrome console
  TCT Application 100% passrate

Change-Id: I0032c10bf2d98487117cd0049103767f9c7f1d09

4 years agoMerge remote-tracking branch 'origin/tizen_3.0' into tizen_4.0 30/206830/3
Arkadiusz Pietraszek [Fri, 12 Jul 2019 11:47:35 +0000 (13:47 +0200)]
Merge remote-tracking branch 'origin/tizen_3.0' into tizen_4.0

[Verification] TCT passrate 100%.

Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
Change-Id: Id004158e62f5d0b6f2c09eeee5cf300d461a9d9f

4 years ago[Project][Filesystem] Fix needed after code formating of tizen_3.0 branch 86/209486/2
Arkadiusz Pietraszek [Mon, 8 Jul 2019 08:20:14 +0000 (10:20 +0200)]
[Project][Filesystem] Fix needed after code formating of tizen_3.0 branch

Prietter code formatter treated obiect properties named 'null' and 'undefined' as keywords that should not be in apostrophes and removed those apostrophes.
This change has been reverted and //prettier-ignore tags has been added.

Change-Id: I78d502b9f674397f01c959031ad37fa139dd0b16
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
4 years ago[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener. 17/209217/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 12:12:21 +0000 (14:12 +0200)]
[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener.

Change-Id: Ic77f57e39b73acc77c67c3f1cff0352a94315206
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
4 years agoMerge "[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListene...
Piotr Kosko [Wed, 3 Jul 2019 09:00:58 +0000 (09:00 +0000)]
Merge "[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener." into tizen_3.0

4 years ago[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener. 27/208727/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 12:12:21 +0000 (14:12 +0200)]
[Mediacontroller] Added callIfPossible safeguards in ServerPlaybackInfoListener.

Change-Id: Ic77f57e39b73acc77c67c3f1cff0352a94315206
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
4 years ago[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaContr... 14/208714/1
Arkadiusz Pietraszek [Thu, 27 Jun 2019 09:14:58 +0000 (11:14 +0200)]
[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaControllerPlaybackInfo

Previous implementation intended to check for null and undefined and in reality didn't allow for setting 'false' or '0' values.

Change-Id: I03194e81d5d0bd5ef97a88d01a014f758a6ca49d

4 years ago[version] 2.34 13/208713/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 27 Jun 2019 09:36:13 +0000 (11:36 +0200)]
[version] 2.34

Change-Id: Idd416b0d826a58f7bbc72edb07d4570aa3319212

4 years ago[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaContr... 12/208712/3
Arkadiusz Pietraszek [Thu, 27 Jun 2019 09:14:58 +0000 (11:14 +0200)]
[Mediacontroller] Setter fixes for shuffleMode, repeatMode end position in MediaControllerPlaybackInfo

Previous implementation intended to check for null and undefined and in reality didn't allow for setting 'false' or '0' values.

Change-Id: I03194e81d5d0bd5ef97a88d01a014f758a6ca49d

5 years ago[version] 2.33 29/205329/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 2 May 2019 10:29:42 +0000 (12:29 +0200)]
[version] 2.33

Change-Id: I2a04c187950845b460b398c9b16ad963c4c2330f

5 years ago[Project] JS code formatting 84/202884/7
Arkadiusz Pietraszek [Wed, 3 Apr 2019 11:09:04 +0000 (13:09 +0200)]
[Project] JS code formatting

All project *.js files were formatted with eslint tool, to eliminate CodingRule_Auto negative marks.
Additionally Prettier tool was used for unified line breaking rules.
In few cases, the tool did not break line for very long object definitions e.g.
HumanActivityRecorderPressureData.prototype.constructor = HumanActivityRecorderPressureData;

in such cases, line was broken manually and flag // prettier-ignore was added to ignore next node.

Change-Id: I537435c652abad22364421fc4c5ebddd411defbf

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 17/205317/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 2 May 2019 07:56:41 +0000 (09:56 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I0d282d007e89b4c761fa74d9b0737ca35c29ec57

5 years ago[Content] isFavorite added to editableAttributes array 21/204021/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Thu, 18 Apr 2019 11:54:27 +0000 (13:54 +0200)]
[Content] isFavorite added to editableAttributes array

[Bug] Since 2.3 isFavorite is an editableAttribute, which was missing
in editableAttributes array. Now added it there.

[Verification] Code compiles without errors.

Change-Id: Ib5266a66920f0050fd5c25287602514bc4ea3762

5 years agoMerge "[Project][Codeformat] Added prettier as partial formatter for JS" into tizen_3.0
Piotr Kosko [Wed, 17 Apr 2019 10:35:16 +0000 (10:35 +0000)]
Merge "[Project][Codeformat] Added prettier as partial formatter for JS" into tizen_3.0

5 years agoMerge "[Project][code_formatter] Added u options and changed JS formatting and valida...
Piotr Kosko [Wed, 17 Apr 2019 10:34:30 +0000 (10:34 +0000)]
Merge "[Project][code_formatter] Added u options and changed JS formatting and validating tools" into tizen_3.0

5 years ago[Project][Codeformat] Added prettier as partial formatter for JS 79/203179/2
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Wed, 10 Apr 2019 09:00:29 +0000 (11:00 +0200)]
[Project][Codeformat] Added prettier as partial formatter for JS

[Feature] Existing solution check the format using eslint and fix
some issues with predefined rules (which match the requirements
of review.tizen.org CodingRule_Auto bot rules.
However the tool checks the validity, it does not provide auto
formating of too long lines issues.
To ensure such feature, the new tool was introduced and executed before
eslint validation.
Thanks to prettier, the line breaks are unified and handled the same
way in whole project.

Change-Id: I077036521307ef28fda5388ecab01b8d850ad3e3

5 years agoMerge branch 'tizen_3.0' into tizen_4.0 78/203078/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Tue, 9 Apr 2019 10:10:15 +0000 (12:10 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I8f28e19de69751b7b92328491366aa0b8c7c6847

5 years ago[version] 2.32 72/203072/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Tue, 9 Apr 2019 10:08:45 +0000 (12:08 +0200)]
[version] 2.32

Change-Id: Idb24a1afa087aa101cebcfde7d46d283d459c956

5 years ago[Filesystem] listFiles method of File ignores files without access 71/203071/1
Piotr Kosko/Native/Web API (PLT) /SRPOL/Professional/삼성전자 [Mon, 8 Apr 2019 08:18:05 +0000 (10:18 +0200)]
[Filesystem] listFiles method of File ignores files without access

[Bug] Files with invalid SMACK labels (not allowed to be accessed by app)
caused exception about missing member ("location is required argument").

Fix ignores the files that cannot be accessed.

[Verification] Manually checked with Chrome console and trying to list files
with invalid SMACK label. Files are being ignored.
100% passrate for filesystem module.

Change-Id: I48ed83ebbba5d0c6cfa0e597f083a7a1abce17fa

5 years ago[Project][code_formatter] Added u options and changed JS formatting and validating... 70/202370/5
Arkadiusz Pietraszek [Wed, 27 Mar 2019 14:29:37 +0000 (15:29 +0100)]
[Project][code_formatter] Added u options and changed JS formatting and validating tools

Now eslint is used to format js files.
Not all issues can be fixed by eslint, so it prints list of issues for user to fix.
All 'u' options in formatter format appropriate files, that was changed from last commit.
Since files to format are not commited, this script backs up those files.

[Verification] Script executes without errors and proper files are chosen to format. Formated .js files have 4 spaces of indentation.

Change-Id: I10509ce3f639b25cca7e68e95e7c9419d9d82304
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>
5 years ago[messaging] fixed bug with foldersupdate callback 88/201888/2
Dawid Juszczak [Wed, 20 Mar 2019 12:42:20 +0000 (13:42 +0100)]
[messaging] fixed bug with foldersupdate callback

foldersupdated callback in method addFoldersChangeListener was not
invoked when renamed folder

[Verification] Tested on device, works fine. Also tested with new
testcase added in commit:
https://review.tizen.org/gerrit/#/c/test/tct/web/api/+/201889/

Change-Id: Ic48f0740da9c73ef676d30eedf72226c7f4d5699
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
5 years ago[messaging] fixed bug with foldersupdate callback 77/201877/2
Dawid Juszczak [Wed, 20 Mar 2019 11:19:48 +0000 (12:19 +0100)]
[messaging] fixed bug with foldersupdate callback

foldersupdated callback in method addFoldersChangeListener was not
invoked when renamed folder

[Verification] Tested on device, works fine. Also tested with new
testcase added in commit:
https://review.tizen.org/gerrit/#/c/test/tct/web/api/+/201880/

Change-Id: I26f3ae8991218e97d1a55cf6a0abffba622ed25f
Signed-off-by: Dawid Juszczak <d.juszczak@samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 83/197783/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 16 Jan 2019 09:08:42 +0000 (10:08 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I7bdf58474ccd556f444f93dee7856566a65373b6

5 years ago[version] 2.31 81/197781/2
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 16 Jan 2019 08:46:08 +0000 (09:46 +0100)]
[version] 2.31

Change-Id: Ic8c3ade13866c7e55ee660346c3a79103f29d006

5 years ago[Archive][Exif] Added checking return value of fseek 80/197780/2
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 16 Jan 2019 08:45:10 +0000 (09:45 +0100)]
[Archive][Exif] Added checking return value of fseek

SVACE issues: 246302, 246317

Change-Id: If4f803b9db18c352912290b25df706a21cd07853
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 88/197088/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 9 Jan 2019 10:33:41 +0000 (11:33 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Ifadc8944744fa1fe4e944670a51c184f1c36c228

5 years ago[version] 2.30 87/197087/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Wed, 9 Jan 2019 10:28:49 +0000 (11:28 +0100)]
[version] 2.30

Change-Id: I701491ee275a9540c9ddb821f420898629a3f5ca
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years ago[Messaging] Prevent crash on getMessageServices call 28/196828/3
Pawel Wasowski [Wed, 19 Dec 2018 18:05:20 +0000 (19:05 +0100)]
[Messaging] Prevent crash on getMessageServices call

Calling tizen.messaging.getMessageServices() multiple times at
short intervals used to cause a crash, due to race condition, occurring
between different threads, modifying the same MessagingManager
instance's fields.
The fix moves execution of the underlying implementation to the main
thread - it is not called concurrently. The function execution time
is typically below 2 ms, so moving it to the main thread should
not worsen user experience.

[Verification] tct-tizen-messaging-email-tests pass rate: 100%
               tct-tizen-messaging-sms-tests pass rate: 100%
               tct-tizen-messaging-mms-tests pass rate: 100%
               A code snippet, that used to cause a crash, does not
               cause crash now:
               for (var i = 0; i < 1000; ++i) {
                   tizen.messaging.getMessageServices('messaging.email',
                                                      s=>{console.log(s);},
                                                      e=>{console.error(e);});
               }

Change-Id: I2f140281e64aeffea1ad9ca15f99ee38378693d3
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[Messaging] Prevent crash on getMessageServices call 95/196595/5
Pawel Wasowski [Wed, 19 Dec 2018 18:05:20 +0000 (19:05 +0100)]
[Messaging] Prevent crash on getMessageServices call

Calling tizen.messaging.getMessageServices() multiple times at
short intervals used to cause a crash, due to race condition, occurring
between different threads, modifying the same MessagingManager
instance's fields.
The fix moves execution of the underlying implementation to the main
thread - it is not called concurrently. The function execution time
is typically below 2 ms, so moving it to the main thread should
not worsen user experience.

[Verification] tct-tizen-messaging-email-tests pass rate: 100%
               tct-tizen-messaging-sms-tests pass rate: 100%
               tct-tizen-messaging-mms-tests pass rate: 100%
               A code snippet, that used to cause a crash, does not
               cause crash now:
               for (var i = 0; i < 1000; ++i) {
                   tizen.messaging.getMessageServices('messaging.email',
                                                      s=>{console.log(s);},
                                                      e=>{console.error(e);});
               }

Change-Id: I2f140281e64aeffea1ad9ca15f99ee38378693d3
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[MessagePort] Fixed issue with removeMessagePortListener without any added earlier 47/194647/1
Lukasz Bardeli [Wed, 5 Dec 2018 09:18:08 +0000 (10:18 +0100)]
[MessagePort] Fixed issue with removeMessagePortListener without any added earlier

If any listener was added before remove then error was thrown
'Cannot read property length of undefined'

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

Change-Id: I96000345ae483a9fa2c0b50a6be0ece427ce8e1b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
5 years ago[MessagePort] Fixed issue with removeMessagePortListener without any added earlier 45/194645/1
Lukasz Bardeli [Wed, 5 Dec 2018 09:18:08 +0000 (10:18 +0100)]
[MessagePort] Fixed issue with removeMessagePortListener without any added earlier

If any listener was added before remove then error was thrown
'Cannot read property length of undefined'

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

Change-Id: I96000345ae483a9fa2c0b50a6be0ece427ce8e1b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 07/193407/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Tue, 20 Nov 2018 08:06:54 +0000 (09:06 +0100)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I3142680c3588c1287d4dc23af6aee9832ebe6cd0

5 years ago[version] 2.29 44/193344/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Mon, 19 Nov 2018 13:56:05 +0000 (14:56 +0100)]
[version] 2.29

Change-Id: I27c09aef9adc3ba125477521e95a85633b0e702d

5 years ago[Common] Added missing return statement 43/193343/1
Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 [Mon, 19 Nov 2018 13:46:34 +0000 (14:46 +0100)]
[Common] Added missing return statement

[Bug] When parsing invalid message, exception is catched, but the control
  is not finished. Going to following lines, other exception would be raised.
  We need to finish execution for invalid message.

[Verification] Code compiles without errors.

Change-Id: I65784e775b9a765332c4a1f0a19b8184e896872c
Signed-off-by: Piotr Kosko/Native/Web API (SWP) /SRPOL/Professional/삼성전자 <p.kosko@samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 36/191736/1 accepted/tizen/4.0/unified/20181024.131858 submit/tizen_4.0/20181023.123130
Piotr Kosko [Tue, 23 Oct 2018 05:30:19 +0000 (07:30 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I1095cde2fdf145ec952fb0ce220837705982086f

5 years ago[version] 2.28 33/191733/1 accepted/tizen_3.0_common accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20181024.102404 accepted/tizen/3.0/mobile/20181024.093356 accepted/tizen/3.0/tv/20181024.093327 accepted/tizen/3.0/wearable/20181024.093336 submit/tizen_3.0/20181023.123110
Piotr Kosko [Mon, 22 Oct 2018 12:16:20 +0000 (14:16 +0200)]
[version] 2.28

Change-Id: Icfae075f33085630150a69087c7dc8ccd78c9697

5 years ago[Messaging] Refactor MessageConversation related code 44/191644/1
Pawel Wasowski [Fri, 19 Oct 2018 10:03:02 +0000 (12:03 +0200)]
[Messaging] Refactor MessageConversation related code

Refactoring was requested to get rid of duplicated and unnecessary
code.

[Verification] TCT pass rate: 100%

Change-Id: Iee2eacf50ca89ea60e89b283d3aac24111cfd5e5
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[Messaging] Refactor MessageConversation related code 46/191646/1
Pawel Wasowski [Fri, 19 Oct 2018 10:03:02 +0000 (12:03 +0200)]
[Messaging] Refactor MessageConversation related code

Refactoring was requested to get rid of duplicated and unnecessary
code.

[Verification] TCT pass rate: 100%

Change-Id: Iee2eacf50ca89ea60e89b283d3aac24111cfd5e5
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[Messaging] Fix sorting and filtering issues in findConversations 87/191287/1
Pawel Wasowski [Fri, 24 Aug 2018 16:12:09 +0000 (18:12 +0200)]
[Messaging] Fix sorting and filtering issues in findConversations

The commit fixes the following problems of email service's findConversations:
- conversations sorted with regard to timestamp, subject, to, from attributes
  were ordered incorrectly
- an attempt to sort results with regard to unreadMessages, isRead, cc,
  bcc, lastMessageId attributes resulted in throwing a JS exception
- unreadMessages attribute value depended on the offset argument value
- filtering by unreadMessages, did not work

The commit changes also the method of creation of MessageConversation
from database records. It may be quicker than the previous one,
that unnecessarily retrieved numerous messages from the database several times.

[Verification] TCT Pass rate: 100%
               Several filters and sort modes were tested manually,
               with Chrome DevTools.

Change-Id: I6196e316ff2b1477c909d528859ef980237454b6
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years ago[Messaging] Fix sorting and filtering issues in findConversations 96/191196/1
Pawel Wasowski [Fri, 24 Aug 2018 16:12:09 +0000 (18:12 +0200)]
[Messaging] Fix sorting and filtering issues in findConversations

The commit fixes the following problems of email service's findConversations:
- conversations sorted with regard to timestamp, subject, to, from attributes
  were ordered incorrectly
- an attempt to sort results with regard to unreadMessages, isRead, cc,
  bcc, lastMessageId attributes resulted in throwing a JS exception
- unreadMessages attribute value depended on the offset argument value
- filtering by unreadMessages, did not work

The commit changes also the method of creation of MessageConversation
from database records. It may be quicker than the previous one,
that unnecessarily retrieved numerous messages from the database several times.

[Verification] TCT Pass rate: 100%
               Several filters and sort modes were tested manually,
               with Chrome DevTools.

Change-Id: I6196e316ff2b1477c909d528859ef980237454b6
Signed-off-by: Pawel Wasowski <p.wasowski2@partner.samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 95/190495/1
Piotr Kosko [Tue, 2 Oct 2018 12:11:27 +0000 (14:11 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Iaff2d9c208f5291dfac1eacb23070b8c4f3f10f2

5 years ago[version] 2.27 93/190493/1
Piotr Kosko [Tue, 2 Oct 2018 12:08:07 +0000 (14:08 +0200)]
[version] 2.27

Change-Id: I7aa0f9e1384347db1d0b045ef46542fcd5e8c7a2
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
5 years ago[Archive][Exif] Added missing error checking 92/190492/1
Piotr Kosko [Tue, 2 Oct 2018 11:25:19 +0000 (13:25 +0200)]
[Archive][Exif] Added missing error checking

[Verification] Code compiles without errors.

Change-Id: I588a1d08f4dea4a19038653b2889a1daa5b45673
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 62/189762/1
Piotr Kosko [Thu, 20 Sep 2018 07:20:56 +0000 (09:20 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: I8dd955cb6c74b1323acfb5c8839733517c70e053

5 years ago[version] 2.26 60/189760/2
Piotr Kosko [Thu, 20 Sep 2018 07:01:37 +0000 (09:01 +0200)]
[version] 2.26

Change-Id: Ibb8feb4665aee4761dc2592147bdd41743bed13d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
5 years ago[Bluetooth] Fixing the memory releasing issue 59/189759/2
Piotr Kosko [Thu, 20 Sep 2018 06:40:06 +0000 (08:40 +0200)]
[Bluetooth] Fixing the memory releasing issue

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

Change-Id: I4a7b516635b7d2a3bfc96359fa4d51543b0eb4e0
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
5 years ago[Alarm] Fix printing deprecation warnings on TV profile 65/187665/1
Pawel Kaczmarczyk [Mon, 27 Aug 2018 08:03:57 +0000 (10:03 +0200)]
[Alarm] Fix printing deprecation warnings on TV profile

AlarmAbsolute(date, period) constructor is not marked
as deprecated on TV profile.

[Verification]
Tested in chrome console

Change-Id: I1b3de7ad9d38c4bf4f8e55f8e8309e86b106e2f1
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 90/186890/1
Piotr Kosko [Thu, 16 Aug 2018 08:43:39 +0000 (10:43 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Ic220dd064ebbb7187462bf78fde154cea2a19b66

5 years ago[version] 2.25 86/186886/1
Piotr Kosko [Thu, 16 Aug 2018 08:42:15 +0000 (10:42 +0200)]
[version] 2.25

Change-Id: If58254886f7fa6188e597e4d20dcb30f0ef60234
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
5 years ago[HAM][Notification][Alarm] Add missing deprecation warnings since Tizen 4.0 46/186446/1
Pawel Kaczmarczyk [Thu, 9 Aug 2018 08:40:58 +0000 (10:40 +0200)]
[HAM][Notification][Alarm] Add missing deprecation warnings since Tizen 4.0

[Verification]
tct-humanactivitymonitor-tizen-tests auto 100%
tct-notification-tizen-tests auto 100%
tct-alarm-tizen-tests auto 100%

Change-Id: I8d0de96c0d6a2ca8a009a25a7c1373dc4064ec36
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
5 years ago[SystemInfo][Bluetooth][Push] Add misssing deprecation warnings since Tizen 3.0 86/186286/3
Pawel Kaczmarczyk [Wed, 8 Aug 2018 12:32:16 +0000 (14:32 +0200)]
[SystemInfo][Bluetooth][Push] Add misssing deprecation warnings since Tizen 3.0

[Verification]
  Code compiles
  tct-systeminfo-tizen-tests passrate 100%

Change-Id: I41db5325ac94ca042069551a41161e5b968e51d3
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
5 years ago[HAM] Fix throwing exceptions for getHumanActivityData 71/185771/3
Pawel Kaczmarczyk [Wed, 18 Jul 2018 13:45:45 +0000 (15:45 +0200)]
[HAM] Fix throwing exceptions for getHumanActivityData

[Bug] getHumanActivityData method accepts only 'PEDOMETER'
      and 'HRM' values of HumanActivityType enum as type
      parameter. Any other value should cause NotSupportedError,
      but implementation leaded to UnknownError instead.

[Verification] AutoTCT 100% passrate

Change-Id: Id5145d76f8957527e28f42c9b1c3141b11b8e5ca
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
5 years ago[NFC] Minor fixes 63/185163/2
Pawel Kaczmarczyk [Thu, 26 Jul 2018 07:05:03 +0000 (09:05 +0200)]
[NFC] Minor fixes

[Bugs]
  1. In special cases records objects were created as empty
  2. If NFCPeerDetectCallback or NFCTagDetectCallback did
     not have defined function to call on action an TypeError
     would be thrown.

[Verification] tct-nfc-tizen-tests passrate 100%

Change-Id: I32d6cbdc05c491f42100580a1cfe021c4c877bfc
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
5 years agoMerge branch 'tizen_3.0' into tizen_4.0 13/183913/1 accepted/tizen/4.0/unified/20180712.235803 submit/tizen_4.0/20180712.082455
Lukasz Bardeli [Thu, 12 Jul 2018 08:08:07 +0000 (10:08 +0200)]
Merge branch 'tizen_3.0' into tizen_4.0

Change-Id: Ib0a0675b868f145f94825b3b209ed779e648df73

5 years ago[version] 2.24 81/183881/1 accepted/tizen/3.0/common/20180713.125154 accepted/tizen/3.0/mobile/20180713.005459 accepted/tizen/3.0/tv/20180713.005454 accepted/tizen/3.0/wearable/20180713.005506 submit/tizen_3.0/20180712.054830
Lukasz Bardeli [Thu, 12 Jul 2018 05:38:20 +0000 (07:38 +0200)]
[version] 2.24

Change-Id: I612a9ec9977025efbbb35fa2c58e4c3ec8226b79
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
5 years ago[HRM] Fix for resetting pedometer data after calling start 53/183653/3
Pawel Kaczmarczyk [Tue, 10 Jul 2018 13:35:36 +0000 (15:35 +0200)]
[HRM] Fix for resetting pedometer data after calling start

[Bug] Pedometer properties were not reset
      back to zero after calling start again.

[Verification] Auto TCT passrate 100%
    Manual (wearable and mobile emulators) 100%

Change-Id: I4b961a5c05224accb7ff482c570b3dd3aa352bb4
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
5 years ago[MediaController] Replacing old functions with new equivalent 62/182862/1
Szymon Jastrzebski [Wed, 27 Jun 2018 10:21:48 +0000 (12:21 +0200)]
[MediaController] Replacing old functions with new equivalent

The part of Native API has been removed and needs to be replaced with new
one.

Related to Native ACR-1235

[Verification] Code successfully built. MC TCT M&A 100%

Change-Id: Iad47da5f58bd99a3505248b9f9a25e45cb7048db
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
5 years ago[Mediacontroller] Added flags for setting shuffle and repeat modes 61/182861/1
Arkadiusz Pietraszek [Mon, 4 Jun 2018 09:55:34 +0000 (11:55 +0200)]
[Mediacontroller] Added flags for setting shuffle and repeat modes

shuffle_mode_ and repeat_mode_ initial values are not determined.
Added flags enables to determine if it was already set.
Without it following TCT cases failed regardles of initial value:
MediaControllerPlaybackInfoChangeCallback_onrepeatmodechanged
MediaControllerPlaybackInfoChangeCallback_onshufflemodechanged
when run second time on target device.
First run might result in success as well as in block.

Verification: TCT pass rate: 100%

Change-Id: I71ef1a8ab4f7c86bb6f9adc9b05fc6f192bd0d96
Signed-off-by: Arkadiusz Pietraszek <a.pietraszek@partner.samsung.com>