Tomasz Marciniak [Mon, 18 May 2015 13:51:42 +0000 (15:51 +0200)]
[Sound] Throw exception if listener does not exists.
[Verification] Code compiles without errors.
Manual test SoundManager_removeDeviceStateChangeListener passes.
Change-Id: I81cd390cbed3eff74f97211c34de464c198fa5d8
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
HyunJin Park [Mon, 18 May 2015 13:01:34 +0000 (22:01 +0900)]
Merge "[SystemInfo] getCapability refactoring" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 12:50:21 +0000 (21:50 +0900)]
Merge "[NBS] Unregister listener when profile is disconnected." into tizen_2.4
Tomasz Marciniak [Mon, 18 May 2015 12:12:53 +0000 (14:12 +0200)]
[NBS] Unregister listener when profile is disconnected.
[Verification] Code compiles without errors.
Manual test NetworkSuccessCallback_ondisconnected passes.
TCT Auto passrate 100%
Change-Id: I37ff7d6030967e369c2a95e8aeb5b49f00a6d527
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
HyunJin Park [Mon, 18 May 2015 10:18:35 +0000 (19:18 +0900)]
Merge "[Power] Always fetch current display state" into tizen_2.4
Przemyslaw Ciezkowski [Mon, 18 May 2015 09:49:29 +0000 (11:49 +0200)]
[Power] Always fetch current display state
If screen was OFF, requested state was DIM and Release was called
sreen state change was called with state NORMAL.
The fix is to fetch current state always.
[Verification]
PowerManager_setScreenStateChangeListener now doesn't block
on mobile emulator.
Change-Id: I286ad5c2d231dec6af9d6fe2766485d2f4cb59f6
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Tomasz Marciniak [Mon, 4 May 2015 09:40:12 +0000 (11:40 +0200)]
[NFC] Added missing privilege checks in JS layer.
Change-Id: I07d9fe1ffa1de0e01a8d469e9414cf843c34d46b
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Rafal Galka [Wed, 29 Apr 2015 10:14:50 +0000 (12:14 +0200)]
[NFC] Improved error handling
Change-Id: I8e69c1be659dc5af4565a4246229bf286a9da5ce
Rafal Galka [Mon, 18 May 2015 08:28:13 +0000 (10:28 +0200)]
[SystemInfo] getCapability refactoring
[Info] http://168.219.209.56/jira/browse/XWALK-258
Change-Id: I25728a7c0d69f29a57bcede66e58122bd8675644
Tomasz Marciniak [Mon, 18 May 2015 07:11:50 +0000 (09:11 +0200)]
[SystemInfo] Unregister all listeners in destructor.
[Verification] Code compiles without errors.
SystemInfo_addPropertyValueChangeListener_with_options passes.
Change-Id: Ibe408f0a3288c1df4035f80088c1e75d1bf51c6f
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Pawel Andruszkiewicz [Fri, 15 May 2015 14:19:54 +0000 (16:19 +0200)]
[Contact] Fix for AddressBook.find().
In case of unified address book use contacts_db_get_all_records().
Change-Id: Ibe9b13269874ca2a6b30b9cc1ed2cd4c7652df85
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
HyunJin Park [Mon, 18 May 2015 02:01:51 +0000 (11:01 +0900)]
Merge "[HRM] getHumanActivityData" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 01:48:03 +0000 (10:48 +0900)]
Merge "[HAM] GPS implementation" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 01:45:21 +0000 (10:45 +0900)]
Merge "[HAM] WRIST_UP implementation" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 01:42:35 +0000 (10:42 +0900)]
Merge "[HAM] HRM implementation" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 01:33:55 +0000 (10:33 +0900)]
Merge "[Power] Changed obtaining brightness levels." into tizen_2.4
Hyunjin Park [Fri, 15 May 2015 14:28:30 +0000 (23:28 +0900)]
Merge "enable feature on wearable - push, notification" into tizen_2.4
Hyunjin Park [Fri, 15 May 2015 14:26:23 +0000 (23:26 +0900)]
enable feature on wearable - push, notification
Change-Id: I68dd3ed92ff283d65f1dd5e0dc47c7324181b9e7
Pawel Andruszkiewicz [Fri, 15 May 2015 06:47:54 +0000 (08:47 +0200)]
[Contact] Added missing return in case of error in AddressBook.find().
Change-Id: I7053c164102371c7e860ee61531f6efba0202ad2
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Tomasz Marciniak [Fri, 15 May 2015 11:28:02 +0000 (13:28 +0200)]
[SystemInfo] Changed key for getting platform version name.
[Feature] http://tizen.org/feature/platform.version.name key
has been replaced with http://tizen.org/system/platform.name
[Verification] Code compiles without errors.
SystemInfo_getCapability_platform_version_name passes.
Change-Id: I6d70e25f936f190646d3767ab089d17f5e0c957f
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Piotr Kosko [Fri, 15 May 2015 10:18:56 +0000 (12:18 +0200)]
[Badge] Removed package API calls
[Feature] Removed usage of pakage API, badge API supports checking if
application is installed on device.
[Verification] Code compiles without errors.
Passrate of TCTs increased to 96.15%
Change-Id: Icb55cd464ad09a2485b3d5f3ee51b693339093ba
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Tomasz Marciniak [Fri, 15 May 2015 11:05:09 +0000 (13:05 +0200)]
[Sensor] Report correct function name in case of error.
Change-Id: Ib9740f28e59715f2cd1d4edb569a465f87090027
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Pawel Andruszkiewicz [Fri, 15 May 2015 10:02:50 +0000 (12:02 +0200)]
[Power] Changed obtaining brightness levels.
[Verification] PowerManager_setScreenBrightness, PowerManager_getScreenBrightness_check_change pass.
Change-Id: I37f9e82685de41908b540264023775308b6c4518
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Rafal Galka [Fri, 15 May 2015 09:25:26 +0000 (11:25 +0200)]
[HRM] getHumanActivityData
Change-Id: I0a2d9332c578169a8662ca82a75d128e1e4019c4
Hyunjin Park [Fri, 15 May 2015 04:14:39 +0000 (13:14 +0900)]
[media controller] modify privilege name ( read/write -> server/client )
Change-Id: I67b1f2ba8ef9263a4706837f10de0dda68165bc7
Rafal Galka [Thu, 14 May 2015 15:28:16 +0000 (17:28 +0200)]
[HAM] GPS implementation
Change-Id: I55a6b32cec10c11560545c2ddc8e66c69c706ff6
Rafal Galka [Thu, 14 May 2015 14:01:07 +0000 (16:01 +0200)]
[HAM] WRIST_UP implementation
[Info] Unable to verify. Gesture not supported on emulator.
Change-Id: I2d7751c92f4cb1c8e3dbe566f03004b7f926c8ac
Signed-off-by: Rafal Galka <r.galka@samsung.com>
Rafal Galka [Thu, 14 May 2015 14:35:40 +0000 (16:35 +0200)]
[HAM] HRM implementation
[Info] Unable to verify. HRM sensor not working on emulator.
Change-Id: Icf69396ab9e89e80152543633714a2ec068ca89e
Signed-off-by: Rafal Galka <r.galka@samsung.com>
Pawel Andruszkiewicz [Thu, 14 May 2015 12:26:29 +0000 (14:26 +0200)]
[DataControl] Fixed size of array used for reading data.
Change-Id: Ibe85665c7da736c23497a863599eb612354fdaff
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 14 May 2015 09:17:21 +0000 (11:17 +0200)]
[Application] Make sure that the whole encoded_bundle is read.
Change-Id: I6c805bfec061d2596d283cb0a154496dde0335af
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Tomasz Marciniak [Thu, 14 May 2015 13:36:28 +0000 (15:36 +0200)]
[Utils] Call proper function name for checking privileges.
[Verification] Code compiles without errors.
Change-Id: I07003ae69000cbb05600cd74aec5f3faa38a5b76
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
Andrzej Popowski [Thu, 14 May 2015 12:07:49 +0000 (14:07 +0200)]
[Contact] - Stop running listeners in a desctructor of an instance
Change-Id: I9d81c16f12eb3aa27503e8cd2dd244ce8a850451
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
Lukasz Bardeli [Thu, 14 May 2015 11:48:05 +0000 (13:48 +0200)]
[Messaging-Email] fix preventing crash
[Verification] Code compiles without errors
Change-Id: Ib8808d64ef37e7804d6faf6effbb152d5967d81d
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Lukasz Bardeli [Thu, 14 May 2015 05:32:50 +0000 (07:32 +0200)]
[MessagingEmail] fix with remove directory from temp
[Verification] code compiles without error
Change-Id: I0f00142f2873c0c65ce3cf6eba3b84dbbdfd833e
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Hyunjin Park [Thu, 14 May 2015 09:06:52 +0000 (18:06 +0900)]
Merge "[BT] add bluetooth_internal.h - some APIs is moved to internal.h" into tizen_2.4
Hyunjin Park [Thu, 14 May 2015 06:09:15 +0000 (15:09 +0900)]
modify spec for HAM, Wifi
Change-Id: I5a04461ee1c3b314e0980eec964c25e956f2c91b
HyunJin Park [Thu, 14 May 2015 05:49:46 +0000 (14:49 +0900)]
Merge "[HAM] initial commit" into tizen_2.4
Hyunjin Park [Wed, 13 May 2015 14:35:06 +0000 (23:35 +0900)]
[BT] add bluetooth_internal.h
- some APIs is moved to internal.h
Change-Id: I2ca6537eaca6b6d408e60fa00404924f3efa2972
Hyunjin Park [Wed, 13 May 2015 06:08:04 +0000 (15:08 +0900)]
enable alarm of wearable profile
Change-Id: If208f8170eb707a1dcb06cd5446fa480b6f8cb1b
HyunJin Park [Wed, 13 May 2015 05:29:47 +0000 (14:29 +0900)]
Merge "[NFC] Modify HCE APIs" into tizen_2.4
Pawel Andruszkiewicz [Tue, 12 May 2015 12:45:40 +0000 (14:45 +0200)]
[BluetoothLE] Fixed typing error.
Change-Id: Ic35dd2c9fb512064dcbec802a52918fd48827aa2
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Rafal Galka [Tue, 12 May 2015 08:52:23 +0000 (10:52 +0200)]
[HAM] initial commit
[Verification] Code compiles.
tizen.humanactivitymonitor namespace should exist
Change-Id: I97048c25df939e54d51350fd6231a94276eaadad
Rafal Galka [Wed, 29 Apr 2015 10:14:02 +0000 (12:14 +0200)]
[NFC] Modify HCE APIs
[Task] http://168.219.209.56/jira/browse/XWALK-211
[Remark] Patch should be merged when
http://168.219.209.56/gerrit/#/c/29752/
will be available on nearest stable binary.
Change-Id: I166c961d3844fe85d43d9dd2257a2c0f1fb93fbb
Pawel Andruszkiewicz [Tue, 12 May 2015 07:14:09 +0000 (09:14 +0200)]
[BluetoothLE] Added error checks when removing a listener (JS).
Change-Id: I173ae5ccba094e3cf0a98bd265873e0490942378
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Mon, 11 May 2015 09:48:25 +0000 (11:48 +0200)]
[BluetoothLE] Added listeners for characteristic.
Change-Id: Ia4ce7dd4e0806dbf8e33776d02bdaf73d88b899d
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Piotr Kosko [Tue, 12 May 2015 05:34:36 +0000 (07:34 +0200)]
[BluetoothLE] Added error checking in GATT-related methods
[Feature] Missing failure checking of core functions was added.
[Verification] Code compiles without errors.
Change-Id: I8d43063d268e212ae749e546b15a23442e3bf666
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
pius.lee [Tue, 12 May 2015 06:34:34 +0000 (15:34 +0900)]
[Bookmark] fix removed bookmark getter API to newer API
Change-Id: I199bc91a4b28860dd028a8973da1b13ad2675355
Signed-off-by: pius.lee <pius.lee@samsung.com>
Hyunjin Park [Tue, 12 May 2015 02:37:33 +0000 (11:37 +0900)]
disable bookmark to prevent build error
Change-Id: I556974ad62f8941ff522e7bd0c9261a7efd1b18f
Lukasz Bardeli [Mon, 11 May 2015 12:57:12 +0000 (14:57 +0200)]
[Ble] Add getService method.
[Verification] Code compiles without errors.
Change-Id: Ia3e230f6f5c6c772aa833d8db6d1f32002e502da
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Mon, 11 May 2015 08:56:40 +0000 (10:56 +0200)]
[BluetoothLE] Added checking, if device is still connected
[Feature] Code for checking if device from which BluetoothGATTService object was gathered
is still connected.
[Verification] Code compiles without errors.
Change-Id: Ie94c771116b0129f208374ce8a9042c5a071b040
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Przemyslaw Ciezkowski [Mon, 11 May 2015 10:09:37 +0000 (12:09 +0200)]
[KeyManager] Added permission checks
Change-Id: Icc7fd601fb43e3ee1c38766bf7d51e0f256242bd
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Tue, 5 May 2015 10:25:15 +0000 (12:25 +0200)]
[KeyManager] allow and deny access
[Verification]
tizen.keymanager.allowAccessControl("data1", "BDbst72e47", "READ_REMOVE",
function () {
console.log("Successfully allowed access control");
tizen.keymanager.denyAccessControl("data1", "BDbst72e47",
function () {console.log("Denied");},
function(e) {
console.log(e.code);
console.log(e.message);
});
},
function(e) {
console.log(e.code);
console.log(e.message);
});
Change-Id: I7bba542b70e60864af0aba39214ddeff0c7da7d2
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Mon, 4 May 2015 13:31:16 +0000 (15:31 +0200)]
[KeyManager] loadFromPKCS12File implementation
[Verification]
tizen.keymanager.loadFromPKCS12File("file:///opt/usr/media/Others/pkcs12.p12",
"priv_load1", "cert_load1",
function() {
console.log('ok');
},
function(e) {
console.log(e.code);
console.log(e.message);
},
"password"
);
Change-Id: Ia6af4f506195d7e387e0a238e384fa022a0da3f1
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Mon, 4 May 2015 10:25:43 +0000 (12:25 +0200)]
[KeyManager] createSignature and verifySiganture
[Verification]
var privpsswd = "priv_password";
var privKeyAlias = "priv20";
var pubKeyAlias = "pub20";
var myPrivKey = new tizen.Key(privKeyAlias, privpsswd, false);
var myPubKey = new tizen.Key(pubKeyAlias, null, true);
var testMessage = "MTIzNDU2Nzg5MA==";
function onCreateSignatureSuccess(signature) {
console.log("Successfully created signature: " + signature);
tizen.keymanager.verifySignature(signature, testMessage, pubKeyAlias,
"HASH_SHA1", "PADDING_PKCS1", null,
function() {
console.log('ok');
},function(e) {
console.log(e.code);
console.log(e.message);
});
}
function onGenerateSuccess() {
tizen.keymanager.createSignature(testMessage, privKeyAlias, "HASH_SHA1",
"PADDING_PKCS1", privpsswd, onCreateSignatureSuccess,
function(e) {
console.log(e.code);
console.log(e.message);
});
}
tizen.keymanager.generateKeyPair(myPrivKey, myPubKey, "RSA",
"2048", onGenerateSuccess);
Change-Id: I51207ceeab690cfae74745f01414dcadef9d43f8
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Mon, 4 May 2015 08:27:45 +0000 (10:27 +0200)]
[KeyManager] save, remove, get Data object
[Verification]
var data = new tizen.Data("data2", null, true);
data.save("MTIzNDU2Nzg5MA==",
function() {
console.log("ok");
var d = tizen.keymanager.getData("data2");
console.log(d);
d.remove();
console.log("remove ok");
},
function(e) {
console.log(e.code);
console.log(e.message);
}
);
Change-Id: Ibfa9ec593e57e73368d3f996abb03e9a50927e07
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Thu, 30 Apr 2015 14:29:23 +0000 (16:29 +0200)]
[KeyManager] removeCertificate
[Verification]
var cert = new tizen.Certificate("cert_file7", null, true);
cert.loadFromFile("file:///opt/usr/media/Others/cert.cer",
function() {
console.log('ok');
cert.remove();
},
function(e) {
console.log(e.code);
console.log(e.message);
}
);
Change-Id: Ia2f7fd968a4197572eb97c240e2e69a54d4ccf86
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Wed, 29 Apr 2015 11:30:24 +0000 (13:30 +0200)]
[KeyManager] loadCertificateFromFile implementation
[Verification]
var cert = new tizen.Certificate("cert_file1", null, true);
cert.loadFromFile("/opt/usr/media/Others/cert.cer",
function() {
console.log('ok');
},
function(e) {
console.log(e.code);
console.log(e.message);
}
);
Change-Id: I81380b69a835ef0e3128c92b8c541bec3538f7ee
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Tue, 28 Apr 2015 10:18:14 +0000 (12:18 +0200)]
[KeyManager] getCertificate and saveCertificate
[Verification]
var cert = new tizen.Certificate("cert3", null, true);
cert.save("MIIDGDC...DVC8w==",
function() {
console.log('ok');
var c = tizen.keymanager.getCertificate("cert3");
console.log(c.name);
console.log(c.password);
console.log(c.extractable);
console.log(c.rawCert);
},
function(e) {
console.log(e.code);
console.log(e.message);
}
);
Change-Id: I44ff150d6e83a9715d86e0bc1ca659047bc40a9c
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Tue, 28 Apr 2015 09:47:52 +0000 (11:47 +0200)]
[KeyManager] getCertificateAliasList and getDataAliasList
[Verification]
console.log("key list size: " + tizen.keymanager.getKeyAliasList().length);
console.log("cert list size: " + tizen.keymanager.getCertificatesAliasList().length);
console.log("data list size: " + tizen.keymanager.getDataAliasList().length);
Change-Id: Ieeda0feaa7bbc09a20851e4bf2b9ed6533fcc75b
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Mon, 27 Apr 2015 14:26:53 +0000 (16:26 +0200)]
[KeyManager] getKey implementation
[Verification]
k = tizen.keymanager.getKey("pub2");
console.log(k.name);
console.log(k.password);
console.log(k.extractable);
console.log(k.keyType);
console.log(k.rawKey);
Change-Id: Ib1a83c8bac455b6a848079e7fe9d06a4a4b24fd2
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Mon, 27 Apr 2015 13:17:35 +0000 (15:17 +0200)]
[KeyManager] generateKeyPair implementation
[Verification]
var myPrivKey = new tizen.Key("priv3", "priv_password", false);
var myPubKey = new tizen.Key("pub3", null, true);
tizen.keymanager.generateKeyPair(myPrivKey, myPubKey, "RSA", "2048", function() {
console.log('ok');
}, function(e) {
console.log(e.code);
console.log(e.message);
});
Change-Id: I6d59104f2d8d0f0022ed64b83a6036e10dd9f306
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Mon, 27 Apr 2015 12:00:38 +0000 (14:00 +0200)]
[KeyManager] removeKey implementation
[Verification]
var myPubKey = new tizen.Key("pub1", null, true);
myPubKey.save("rawData", function() {
myPubKey.remove();
}, function(e) {
console.log("error: " + e.message);
});
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Change-Id: I396c756024d1d9123ad34c01324806e2dee2733c
Przemyslaw Ciezkowski [Fri, 24 Apr 2015 13:50:06 +0000 (15:50 +0200)]
[KeyManager] saveKey implementation
[Verification]
var myPubKey = new tizen.Key("pub1", null, true);
myPubKey.saveKey("MIIBIj...wIDAQAB", function() {
console.log("ok");
}, function(e) {
console.log("error: " + e.message);
});
Change-Id: I5f58737b0ce5d794c1b611100c0a760d26a441ed
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Fri, 24 Apr 2015 10:42:22 +0000 (12:42 +0200)]
[KeyManager] getKeyAlias implementation
[Verification]
items = tizen.keymanager.getKeyAliasList();
console.log('length: ' + items.length);
console.log("isArray: " + Array.isArray(items));
Change-Id: I0c85704b8141e2d5d3c4063b1af4ee6aba278d27
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Fri, 24 Apr 2015 09:09:03 +0000 (11:09 +0200)]
[KeyManager] Data methods
[Verification]
d = new tizen.Data("a", "b", true);
d.save("test", function() {}, function() {}, "pass");
d.remove("pass");
Change-Id: Id7ddae37aaac99d546fc5cf0272461d6b9677b52
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Fri, 24 Apr 2015 08:24:24 +0000 (10:24 +0200)]
[KeyManager] Certificate JS methods
[Verification]
c = new tizen.Certificate("a", "b", true);
c.save("test", function() {}, function() {}, "pass");
c.loadFromFile("documents/cert.pem", function() {}, function() {}, "pass");
c.remove("pass");
Change-Id: Ib06eddfcef4a0b121f3a6c131e5d0793934c9966
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Thu, 23 Apr 2015 15:01:18 +0000 (17:01 +0200)]
[KeyManager] Key save and remove JS methods
[Verification]
k = new tizen.Key("a", "b", true);
k.save("test", function() {});
k.remove("pass");
Change-Id: I7c114eeae0aaa9c0396233a82dda0dcfe56bfa57
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Thu, 23 Apr 2015 13:20:30 +0000 (15:20 +0200)]
[KeyManager] Implement JS createSignature and verifySignature
[Verification]
tizen.keymanager.createSignature("message", "alias", "HASH_SHA1",
"PADDING_PKCS1", "password", function(s){console.log(s)}, function(){});
tizen.keymanager.verifySignature("signature", "message", "alias",
"HASH_SHA1", "PADDING_PKCS1", "password",
function(){}, function(){});
Change-Id: I3b5bf2a3f4e2a8c84fca51f0719aebc258a89f6d
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Thu, 23 Apr 2015 12:31:22 +0000 (14:31 +0200)]
[KeyManager] Implement JS get* methods
[Verification]
New methods are available:
tizen.keymanager.getKey()
tizen.keymanager.getKeyAliasList()
tizen.keymanager.getCertificate()
tizen.keymanager.getCertificatesAliasList()
tizen.keymanager.getData()
tizen.keymanager.getDataAliasList()
Change-Id: I5d1d1b165fcb06b713a1080f2a0f5efc176c6e29
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Thu, 23 Apr 2015 12:19:37 +0000 (14:19 +0200)]
[KeyManager] Implement JS loadFromPKCS12File
[Verification]
tizen.keymanager.loadFromPKCS12File("documents/test.pem",
"priv1", "cert", function() {}, function() {});
Change-Id: I984556e8f622ad6c16f9a3aaa54850104c9f8b26
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Lukasz Bardeli [Mon, 11 May 2015 08:58:57 +0000 (10:58 +0200)]
[BLE] add addConnectStateChangeListener and removeConnectStateChangeListener methods.
[Verification] Code compiles without errors
Change-Id: Ia054f9ee90b29939ef9ecfa3ea0c865e56d6f971
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Piotr Kosko [Mon, 11 May 2015 05:28:01 +0000 (07:28 +0200)]
[BluetoothLE] Implemented writeValue method
[Feature] Added implementation of writeValue method for both
BluetoothGATTCharacteristic and BluetoothGATTDescriptor objects.
[Verification] Code compiles without errors.
Change-Id: I5b534d23799d8d500d1ff73762bb30210b448afa
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Fri, 8 May 2015 12:51:46 +0000 (14:51 +0200)]
[BluetoothLE] Added implementation of readData
[Feature] Added c++ implementation of method readData for objects
BluetoothGATTDescriptor and BluetoothGATTCharacteristic.
[Verification] Code compiles without errors.
Change-Id: I0d6ea6cc6f10e5890644540bb8dd13da99a38a80
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Pawel Andruszkiewicz [Thu, 7 May 2015 14:49:44 +0000 (16:49 +0200)]
[BluetoothLE] JS implementation of data structures.
Change-Id: I5e4d6c35276b6f2d10803c05fa6524ccce921c3e
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Piotr Kosko [Wed, 6 May 2015 05:39:30 +0000 (07:39 +0200)]
[BluetoothLE] Added code for gatt service object
[Feature] Added manager for BluetoothGATTService objects.
Implemented gathering services and characteristics.
[Verification] Code compiles without errors.
Change-Id: I8409d9ed4c8d8dd538a6d0e4b7a7cdbbf7331abc
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Przemyslaw Ciezkowski [Thu, 23 Apr 2015 12:06:45 +0000 (14:06 +0200)]
[KeyManager] Implement JS generateKeyPair
[Verification]
tizen.keymanager.generateKeyPair(new tizen.Key("a", "b", true),
new tizen.Key("c", "d", true), "RSA", "1024",
function() {}, function() {});
Change-Id: I07aaa0e21dd35634ecbc3eae08861ebc1dde70d4
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Przemyslaw Ciezkowski [Thu, 23 Apr 2015 10:46:30 +0000 (12:46 +0200)]
[KeyManager] Plugin stubs
[Verification]
New namespace:
tizen.keymanager
New constructors:
tizen.Key
tizen.Certificate
tizen.Data
Change-Id: I1390feda269f80107b87453cc4cd74dce2f4a7b2
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Lukasz Bardeli [Thu, 7 May 2015 11:39:32 +0000 (13:39 +0200)]
[BluetoothLE] Add method connect and disconnect to BluetoothLEDevice
[Verification] Code compiles without error.
Change-Id: I6f051d4baf9daf66ece638d5477c602418d437d1
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Andruszkiewicz [Thu, 7 May 2015 08:54:00 +0000 (10:54 +0200)]
[BluetoothLE] Listeners for scan and advertise merged into one.
Change-Id: Ie9d66fbfad96f029322410bcd49254aa66093301
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Tue, 5 May 2015 12:23:25 +0000 (14:23 +0200)]
[BluetoothLE] Advertising in bluetooth LE adapter implemented.
Change-Id: Iae24a17f840a26cd898a43140d7c25c73d5785f8
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Lukasz Bardeli [Wed, 6 May 2015 10:02:54 +0000 (12:02 +0200)]
[BluetoothLE] Implementation of Bluetooth LE Device
ToJson method
[Verification] Code compiles without errors.
Change-Id: I1a29d6284e35debefe405dc6fcdf1e704c152bc4
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Andruszkiewicz [Mon, 4 May 2015 14:13:27 +0000 (16:13 +0200)]
[BluetoothLE] Implementation of Bluetooth LE adapter.
Class, startScan(), stopScan().
Change-Id: Ib1b701f6c6208cd767d459a1d322d2462d2674a7
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Hyunjin Park [Fri, 8 May 2015 06:51:05 +0000 (15:51 +0900)]
Merge "Modify feature on wearable profile 1. disable feature - nbs 2. add feature - HAM, Datasync" into tizen_2.4
Hyunjin Park [Fri, 8 May 2015 06:50:00 +0000 (15:50 +0900)]
Modify feature on wearable profile
1. disable feature - nbs
2. add feature - HAM, Datasync
Change-Id: I9cb21dccf92c1453bb2e3e41323e6d0e8af64972
Piotr Kosko [Wed, 6 May 2015 12:29:30 +0000 (14:29 +0200)]
[Systeminfo] Removed reporting error in DeviceOrientation
[Feature] Default rotation is returned in case of errors.
[Verification] Code compiles without errors.
Change-Id: I4b90d1b87c7cef4c529e11ae231c449edf102996
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Hyunjin Park [Thu, 7 May 2015 06:28:27 +0000 (15:28 +0900)]
API move to internel.h - AppFW
Change-Id: I1f789e91c0891c1cd84eacd06611389fe8bc9a91
Hyunjin Park [Thu, 7 May 2015 05:07:32 +0000 (14:07 +0900)]
modify spec of wearable - add application, FS, sysinfo, syssetting, time
Change-Id: Ib60a6bd0db09abb23762adeb70f433b73a382299
Piotr Kosko [Wed, 6 May 2015 11:49:50 +0000 (13:49 +0200)]
[Callhistory][Contact] added include for changed internal contact API
[Feature]
contacts_db_add_changed_cb_with_info
contacts_db_remove_changed_cb_with_info
moved from contacts_db.h to contacts_db_extension.h, so include was needed.
[Verification] Code compiles without errors after manually added changed rpms to GBS-ROOT.
Change-Id: Ie9ef7096c0a13e5c15356507a24a812cd6f4f774
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Pawel Andruszkiewicz [Mon, 4 May 2015 08:52:35 +0000 (10:52 +0200)]
[MediaController] Privilege checks moved to JS.
Privileges need to be checked before validation of arguments.
Change-Id: I82d84186e526f401231f8d84bf9b657df4b54eae
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Mon, 4 May 2015 08:36:00 +0000 (10:36 +0200)]
[Sensor] Removed unnecessary constant for privilege.
Change-Id: I7893035388890d803ad6cb7b5504744c7022dd39
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Piotr Kosko [Mon, 4 May 2015 12:26:00 +0000 (14:26 +0200)]
[BluetoothLE] Stubs for BluetoothLE features
[Feature] Added stubs for methods and objects related to
Bluetooth Low Energy.
[Verification] tizen.bluetooth.getLEAdapter() is visible in console.
Change-Id: Ia25cddfe75d19c3f53d27383f3668ca7b962d0c4
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Mon, 4 May 2015 08:37:55 +0000 (10:37 +0200)]
[Systeminfo] changed physical screen size fetching is SystemInfoDisplay
[Feature] Physical size is now calculated with screen resolution and dots per inch property.
[Verficiation] TCTs related to physical screen size now pass.
Change-Id: I63d4bb8ff0c08981fcf7506b9040e9719278b3a0
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Andrzej Popowski [Mon, 4 May 2015 09:40:01 +0000 (11:40 +0200)]
[systeminfo] - Added codes to check if m_tapi_handles is null
Change-Id: I79f7f42880ab271074b61893a59ab1623b01aadc
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
Lukasz Bardeli [Mon, 4 May 2015 09:35:41 +0000 (11:35 +0200)]
[Push] fix TCT capability issue. b2 target is not support push API.
[Verification] Code compiles without error.
Change-Id: I8ea1fbf71ba33db63afca80ccc3a8864f8e67747
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Kaczmarek [Mon, 4 May 2015 09:29:59 +0000 (11:29 +0200)]
[Utils][Content] Fix for TCT
[Verification]
TCT content result:
before: 60.87%
after: 94.35%
Change-Id: Idd319bb9a86dd41c34e87fb454421bf645848c35
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
Andrzej Popowski [Mon, 4 May 2015 08:45:50 +0000 (10:45 +0200)]
[exif] - Updated the codes fixing a prevent issue for error handling from slp
Change-Id: I4181d0af91035ed358c8eb2335c1acb099d2fcfa
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
Lukasz Bardeli [Thu, 30 Apr 2015 12:04:19 +0000 (14:04 +0200)]
[Messaging] Fix in toTimeT method
[Verification] Code compiles without error.
Passrate 100% (184/184/0/0/0)
Change-Id: I43c6040ccb21f36bf56985d003103df69e046c86
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
Pawel Andruszkiewicz [Thu, 30 Apr 2015 13:56:22 +0000 (15:56 +0200)]
[NFC] Privilege checks moved to JS.
Privileges need to be checked before validation of arguments.
Change-Id: If41026035363a1f9d1a8e2d467ca4cd03bdbdcc6
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 30 Apr 2015 13:28:01 +0000 (15:28 +0200)]
[NBS] Privilege checks moved to JS.
Privileges need to be checked before validation of arguments.
Change-Id: I35b774057f75fa68082093445d3f5b52abea6666
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Pawel Andruszkiewicz [Thu, 30 Apr 2015 13:22:25 +0000 (15:22 +0200)]
[Messaging] Privilege checks moved to JS.
Privileges need to be checked before validation of arguments.
Change-Id: I8a05bbe64c84a578998e40b3aba7f3aca776def3
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>