platform/core/api/webapi-plugins.git
10 years ago[SecureElement] Fixed implementation of Session.isClosed.
Pawel Andruszkiewicz [Thu, 21 May 2015 08:56:34 +0000 (10:56 +0200)]
[SecureElement] Fixed implementation of Session.isClosed.

[Verification] TCT pass rate: 68/71.

Change-Id: I45ebdeb51e9c8409e830154485994b7b8f5e4ac5
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
10 years agoenable modules for TV profile
Hyunjin Park [Thu, 21 May 2015 07:53:16 +0000 (16:53 +0900)]
enable modules for TV profile
- alarm, content, download, system info

Change-Id: If80ea2c9b5ea95623da6469f6da9457fedd99ff3

10 years ago[Push] fix for Push module
Lukasz Bardeli [Thu, 21 May 2015 05:11:47 +0000 (07:11 +0200)]
[Push] fix for Push module

[Verification] Code compiles without error.

Change-Id: I48edb225e52d0e0ad483ee339c9976f052d5192f
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
10 years ago[push] add log to check error condition
Hyunjin Park [Thu, 21 May 2015 02:28:05 +0000 (11:28 +0900)]
[push] add log to check error condition

Change-Id: Ie46974e8188213012a32635e3f2c66233c2e5b9a

10 years ago[version] 0.3
Hyunjin Park [Wed, 20 May 2015 14:52:46 +0000 (23:52 +0900)]
[version] 0.3

Change-Id: I0915563d7f380d8608b94680846503ad40d30e85

10 years agoMerge "[FMRadio] Add throwing errors in methods" into tizen_2.4
HyunJin Park [Wed, 20 May 2015 14:49:14 +0000 (23:49 +0900)]
Merge "[FMRadio] Add throwing errors in methods" into tizen_2.4

10 years agoMerge "[NFC] Fix for manual tests." into tizen_2.4
HyunJin Park [Wed, 20 May 2015 14:46:05 +0000 (23:46 +0900)]
Merge "[NFC] Fix for manual tests." into tizen_2.4

10 years agoMerge "[Filesystem] Fix addStorageStateChangeListener method" into tizen_2.4
HyunJin Park [Wed, 20 May 2015 14:29:53 +0000 (23:29 +0900)]
Merge "[Filesystem] Fix addStorageStateChangeListener method" into tizen_2.4

10 years ago[FMRadio] Add throwing errors in methods
Przemyslaw Ciezkowski [Wed, 20 May 2015 12:38:51 +0000 (14:38 +0200)]
[FMRadio] Add throwing errors in methods

start(), stop(), setFMRadioInterruptedListener(),
unsetFMRadioInterruptedListener(), setAntennaChangeListener(),
unsetAntennaChangeListener() are methods that can throw
exception.

[Verification]
FMRadioManager_stop_invalid_state passes

Change-Id: Iab2739e8b32fd17c47015c6b7ebead9f175883c0
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
10 years ago[Filesystem] Fix addStorageStateChangeListener method
Piotr Czaja [Wed, 20 May 2015 09:25:52 +0000 (11:25 +0200)]
[Filesystem] Fix addStorageStateChangeListener method

[Verification] Following TCT are fixed:
- FileSystemManager_addStorageStateChangeListener
- FileSystemManager_addStorageStateChangeListener_with_onerror
- FileSystemManager_removeStorageStateChangeListener

Change-Id: I799686ee07c0481cb2d93f12fc90de67aa104494
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
10 years ago[NFC] Fix for manual tests.
Tomasz Marciniak [Wed, 20 May 2015 12:39:55 +0000 (14:39 +0200)]
[NFC] Fix for manual tests.

[Verification] Code compiles without errors.
Manual tests NFCPeer_unsetReceiveNDEFListener and
NFCPeer_unsetReceiveNDEFListener_extra_argument pass.

Change-Id: Ieee6b2c3585d783508f4acf7168881a6285ad911
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years agoMerge "[FMRadio] Fix multiple crashes" into tizen_2.4
HyunJin Park [Wed, 20 May 2015 10:10:49 +0000 (19:10 +0900)]
Merge "[FMRadio] Fix multiple crashes" into tizen_2.4

10 years ago[FMRadio] Fix multiple crashes
Przemyslaw Ciezkowski [Tue, 19 May 2015 10:47:07 +0000 (12:47 +0200)]
[FMRadio] Fix multiple crashes

Callbacks from radio api aren't called in main thread.
Added TaskQueue.

[Verification]
No crashes during tct.

Change-Id: Ib03c2a7c9137f4cfd24511a9608a49e6581668aa
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
10 years ago[push] add return value on log of push_register()
Hyunjin Park [Wed, 20 May 2015 01:46:48 +0000 (10:46 +0900)]
[push] add return value on log of push_register()

Change-Id: I249acfb39f1e94bf22a67eff7a94b993001956cd

10 years ago[version] 0.2
Hyunjin Park [Tue, 19 May 2015 15:36:37 +0000 (00:36 +0900)]
[version] 0.2

Change-Id: Ifd3e0acfeb25ddc928b1b5d0333ac7fb845f7a01

10 years agoMerge "[SecureElement] Fixed implementation of isPresent()." into tizen_2.4
HyunJin Park [Tue, 19 May 2015 15:34:04 +0000 (00:34 +0900)]
Merge "[SecureElement] Fixed implementation of isPresent()." into tizen_2.4

10 years agoMerge "[MessagePort] In case of I/O error return NotFoundError." into tizen_2.4
HyunJin Park [Tue, 19 May 2015 14:58:21 +0000 (23:58 +0900)]
Merge "[MessagePort] In case of I/O error return NotFoundError." into tizen_2.4

10 years agoMerge "[NFC] Fix for setting exclusiveMode." into tizen_2.4
HyunJin Park [Tue, 19 May 2015 14:53:32 +0000 (23:53 +0900)]
Merge "[NFC] Fix for setting exclusiveMode." into tizen_2.4

10 years agoMerge "[NFC] Return proper PlatformResult in case of NOT_SUPPORTED error." into tizen_2.4
HyunJin Park [Tue, 19 May 2015 14:51:09 +0000 (23:51 +0900)]
Merge "[NFC] Return proper PlatformResult in case of NOT_SUPPORTED error." into tizen_2.4

10 years ago[NFC] Fix for setting exclusiveMode.
Tomasz Marciniak [Tue, 19 May 2015 14:17:47 +0000 (16:17 +0200)]
[NFC] Fix for setting exclusiveMode.

[Verification] Code compiles without errors.
Test NFCManager_setExclusiveMode passes.

Change-Id: I782ba4ebd18b059e1c7113d176bae25bdbf66804
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[MessagePort] In case of I/O error return NotFoundError.
Pawel Andruszkiewicz [Tue, 19 May 2015 13:31:47 +0000 (15:31 +0200)]
[MessagePort] In case of I/O error return NotFoundError.

[Verification] Following TCT are fixed:
- MessagePortManager_requestRemoteMessagePort_misarg
- MessagePortManager_requestRemoteMessagePort_TypeMismatch
- MessagePortManager_requestTrustedRemoteMessagePort_misarg
- MessagePortManager_requestTrustedRemoteMessagePort_TypeMismatch

TCT pass rate: 48/48.

Change-Id: I9afad0ef0125c29b17a3aeb540ecf7aee0d86ec3
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
10 years ago[NFC] Return proper PlatformResult in case of NOT_SUPPORTED error.
Tomasz Marciniak [Tue, 19 May 2015 13:18:42 +0000 (15:18 +0200)]
[NFC] Return proper PlatformResult in case of NOT_SUPPORTED error.

[Verification] Code compiles without errors.

Change-Id: Id06a62e925fd4546bd5f36a8e9bffb830a040a7f
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
10 years ago[SecureElement] Fixed implementation of isPresent().
Pawel Andruszkiewicz [Tue, 19 May 2015 12:54:37 +0000 (14:54 +0200)]
[SecureElement] Fixed implementation of isPresent().

Change-Id: I5079650ae7a1bcf4cbd6bc287904e4b1327b2f23
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
10 years agoMerge "[Contact] Added filtering in ContactManagerListenerCallback callback." into...
HyunJin Park [Tue, 19 May 2015 11:54:01 +0000 (20:54 +0900)]
Merge "[Contact] Added filtering in ContactManagerListenerCallback callback." into tizen_2.4

10 years agoMerge "[Contact] Verify if ringtone local path exists." into tizen_2.4
HyunJin Park [Tue, 19 May 2015 11:50:42 +0000 (20:50 +0900)]
Merge "[Contact] Verify if ringtone local path exists." into tizen_2.4

10 years ago[Contact] Added filtering in ContactManagerListenerCallback callback.
Pawel Andruszkiewicz [Tue, 19 May 2015 09:43:19 +0000 (11:43 +0200)]
[Contact] Added filtering in ContactManagerListenerCallback callback.

[Verification] PersonsChangeCallback_onpersonsadded passes, TCT pass rate: 441/442.

Change-Id: I290617bd2e5a9df944b98832e0d1403f0584c6b5
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
10 years agoMerge "remove runtime lib" into tizen_2.4
Hyunjin Park [Tue, 19 May 2015 08:44:42 +0000 (17:44 +0900)]
Merge "remove runtime lib" into tizen_2.4

10 years agoremove runtime lib
Hyunjin Park [Tue, 19 May 2015 08:45:29 +0000 (17:45 +0900)]
remove runtime lib

Change-Id: I7130495f1ded5cb79575c93c932c6ecaabd38736

10 years ago[Contact] Verify if ringtone local path exists.
Pawel Andruszkiewicz [Tue, 19 May 2015 08:25:42 +0000 (10:25 +0200)]
[Contact] Verify if ringtone local path exists.

[Verification] AddressBook_addBatch_errorCallback_invoked passes, pass rate: 440/442.

Change-Id: Idae0f5f639fe0db0ef35972a0313c631aa701b4a
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
10 years agoMerge "Revert "[Badge] Removed package API calls"" into tizen_2.4
HyunJin Park [Tue, 19 May 2015 05:40:10 +0000 (14:40 +0900)]
Merge "Revert "[Badge] Removed package API calls"" into tizen_2.4

10 years ago[systeminfo] replace runtime API with systemsettings API
Hyunjin Park [Tue, 19 May 2015 05:02:50 +0000 (14:02 +0900)]
[systeminfo] replace runtime API with systemsettings API

[Verified] TCT result isn't changed.

Change-Id: Ief1d2cd6a7c20c846995d8b29f510bf56963f0c4

10 years agoMerge "[Sound] Throw exception if listener does not exists." into tizen_2.4
HyunJin Park [Mon, 18 May 2015 14:11:59 +0000 (23:11 +0900)]
Merge "[Sound] Throw exception if listener does not exists." into tizen_2.4

10 years ago[Sound] Throw exception if listener does not exists.
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>
10 years agoRevert "[Badge] Removed package API calls"
HyunJin Park [Mon, 18 May 2015 13:04:02 +0000 (22:04 +0900)]
Revert "[Badge] Removed package API calls"

This reverts commit 8a47d72481b1b6e32fe79afb957963b12698f5b5.

Change-Id: Iefe69e8befcd6a33e2fdf90af2b11b5c482db735

10 years agoMerge "[SystemInfo] getCapability refactoring" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 13:01:34 +0000 (22:01 +0900)]
Merge "[SystemInfo] getCapability refactoring" into tizen_2.4

10 years agoMerge "[NBS] Unregister listener when profile is disconnected." 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

10 years ago[NBS] Unregister listener when profile is disconnected.
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>
10 years agoMerge "[Power] Always fetch current display state" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 10:18:35 +0000 (19:18 +0900)]
Merge "[Power] Always fetch current display state" into tizen_2.4

10 years ago[Power] Always fetch current display state
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>
10 years ago[NFC] Added missing privilege checks in JS layer.
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>
10 years ago[NFC] Improved error handling
Rafal Galka [Wed, 29 Apr 2015 10:14:50 +0000 (12:14 +0200)]
[NFC] Improved error handling

Change-Id: I8e69c1be659dc5af4565a4246229bf286a9da5ce

10 years ago[SystemInfo] getCapability refactoring
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

10 years ago[SystemInfo] Unregister all listeners in destructor.
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>
10 years ago[Contact] Fix for AddressBook.find().
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>
10 years agoMerge "[HRM] getHumanActivityData" into tizen_2.4
HyunJin Park [Mon, 18 May 2015 02:01:51 +0000 (11:01 +0900)]
Merge "[HRM] getHumanActivityData" into tizen_2.4

10 years agoMerge "[HAM] GPS implementation" 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

10 years agoMerge "[HAM] WRIST_UP 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

10 years agoMerge "[HAM] HRM 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

10 years agoMerge "[Power] Changed obtaining brightness levels." 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

10 years agoMerge "enable feature on wearable - push, notification" 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

10 years agoenable feature on wearable - push, notification
Hyunjin Park [Fri, 15 May 2015 14:26:23 +0000 (23:26 +0900)]
enable feature on wearable - push, notification

Change-Id: I68dd3ed92ff283d65f1dd5e0dc47c7324181b9e7

10 years ago[Contact] Added missing return in case of error in AddressBook.find().
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>
10 years ago[SystemInfo] Changed key for getting platform version name.
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>
10 years ago[Badge] Removed package API calls
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>
10 years ago[Sensor] Report correct function name in case of error.
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>
10 years ago[Power] Changed obtaining brightness levels.
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>
10 years ago[HRM] getHumanActivityData
Rafal Galka [Fri, 15 May 2015 09:25:26 +0000 (11:25 +0200)]
[HRM] getHumanActivityData

Change-Id: I0a2d9332c578169a8662ca82a75d128e1e4019c4

10 years ago[media controller] modify privilege name ( read/write -> server/client )
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

10 years ago[HAM] GPS implementation
Rafal Galka [Thu, 14 May 2015 15:28:16 +0000 (17:28 +0200)]
[HAM] GPS implementation

Change-Id: I55a6b32cec10c11560545c2ddc8e66c69c706ff6

10 years ago[HAM] WRIST_UP implementation
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>
10 years ago[HAM] HRM implementation
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>
10 years ago[DataControl] Fixed size of array used for reading data.
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>
10 years ago[Application] Make sure that the whole encoded_bundle is read.
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>
10 years ago[Utils] Call proper function name for checking privileges.
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>
10 years ago[Contact] - Stop running listeners in a desctructor of an instance
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>
10 years ago[Messaging-Email] fix preventing crash
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>
10 years ago[MessagingEmail] fix with remove directory from temp
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>
10 years agoMerge "[BT] add bluetooth_internal.h - some APIs is moved to internal.h" into tizen_2.4
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

10 years agomodify spec for HAM, Wifi
Hyunjin Park [Thu, 14 May 2015 06:09:15 +0000 (15:09 +0900)]
modify spec for HAM, Wifi

Change-Id: I5a04461ee1c3b314e0980eec964c25e956f2c91b

10 years agoMerge "[HAM] initial commit" into tizen_2.4
HyunJin Park [Thu, 14 May 2015 05:49:46 +0000 (14:49 +0900)]
Merge "[HAM] initial commit" into tizen_2.4

10 years ago[BT] add bluetooth_internal.h
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

10 years agoenable alarm of wearable profile
Hyunjin Park [Wed, 13 May 2015 06:08:04 +0000 (15:08 +0900)]
enable alarm of wearable profile

Change-Id: If208f8170eb707a1dcb06cd5446fa480b6f8cb1b

10 years agoMerge "[NFC] Modify HCE APIs" into tizen_2.4
HyunJin Park [Wed, 13 May 2015 05:29:47 +0000 (14:29 +0900)]
Merge "[NFC] Modify HCE APIs" into tizen_2.4

10 years ago[BluetoothLE] Fixed typing error.
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>
10 years ago[HAM] initial commit
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

10 years ago[NFC] Modify HCE APIs
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

10 years ago[BluetoothLE] Added error checks when removing a listener (JS).
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>
10 years ago[BluetoothLE] Added listeners for characteristic.
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>
10 years ago[BluetoothLE] Added error checking in GATT-related methods
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>
10 years ago[Bookmark] fix removed bookmark getter API to newer API
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>
10 years agodisable bookmark to prevent build error
Hyunjin Park [Tue, 12 May 2015 02:37:33 +0000 (11:37 +0900)]
disable bookmark to prevent build error

Change-Id: I556974ad62f8941ff522e7bd0c9261a7efd1b18f

10 years ago[Ble] Add getService method.
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>
10 years ago[BluetoothLE] Added checking, if device is still connected
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>
10 years ago[KeyManager] Added permission checks
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>
10 years ago[KeyManager] allow and deny access
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>
10 years ago[KeyManager] loadFromPKCS12File implementation
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>
10 years ago[KeyManager] createSignature and verifySiganture
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>
10 years ago[KeyManager] save, remove, get Data object
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>
10 years ago[KeyManager] removeCertificate
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>
10 years ago[KeyManager] loadCertificateFromFile implementation
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>
10 years ago[KeyManager] getCertificate and saveCertificate
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>
10 years ago[KeyManager] getCertificateAliasList and getDataAliasList
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>
10 years ago[KeyManager] getKey implementation
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>
10 years ago[KeyManager] generateKeyPair implementation
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>
10 years ago[KeyManager] removeKey implementation
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

10 years ago[KeyManager] saveKey implementation
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>
10 years ago[KeyManager] getKeyAlias implementation
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>
10 years ago[KeyManager] Data methods
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>
10 years ago[KeyManager] Certificate JS methods
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>
10 years ago[KeyManager] Key save and remove JS methods
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>