Piotr Kosko [Wed, 27 May 2015 12:02:43 +0000 (14:02 +0200)]
[Content] Added logs in methods onEntered and onReturn
Change-Id: I998c16bb90362066320f8fa16dddce926bfa9565
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 27 May 2015 10:50:21 +0000 (12:50 +0200)]
[Callhistory] Added logs in methods onEntered and onReturn
Change-Id: I33378ebc81cfed24aa8e96473ff848ef01f19b9d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 27 May 2015 10:50:03 +0000 (12:50 +0200)]
[Calendar] Added logs in methods onEntered and onReturn
Change-Id: I46f62c9f815a16bccb7e92b7db7fd0faa2c33415
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 27 May 2015 10:49:42 +0000 (12:49 +0200)]
[Bookmark] Added logs in methods onEntered and onReturn
Change-Id: Id31b284f3b7300cfface17fc3a3df4e6ce3e3ea4
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 27 May 2015 10:49:05 +0000 (12:49 +0200)]
[Bluetooth] Added logs in methods onEntered and onReturn
Change-Id: I422333daff0b546265291035304b51dd1033ab5b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Hyunjin Park [Mon, 1 Jun 2015 15:42:10 +0000 (00:42 +0900)]
build error fix - temporal
pkgmgr API on application_manager.cc
Change-Id: I1dcc753aee568bee77019955715a0493c9377d62
Piotr Kosko [Wed, 27 May 2015 10:48:18 +0000 (12:48 +0200)]
[Archive] Added logs in methods onEntered and onReturn
Change-Id: Ibdea02869a83e7e31c9bbf151c84a5b717044a13
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 27 May 2015 10:47:29 +0000 (12:47 +0200)]
[Application] Added logs in methods onEntered and onReturn
Change-Id: I3a71b4e927079a22c9e1832d8d91390094adf381
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 27 May 2015 10:47:09 +0000 (12:47 +0200)]
[Alarm] Added logs in methods onEntered and onReturn
Change-Id: Id007aae583f7c57a7c3e25884d2ad05ca8035ae3
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Piotr Kosko [Wed, 27 May 2015 10:45:14 +0000 (12:45 +0200)]
[Account] Added logs in methods onEntered and onReturn
Change-Id: Iaf84eba7a98369055a22eb92f43f3b116adce91d
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Pawel Kaczmarek [Mon, 1 Jun 2015 10:23:27 +0000 (12:23 +0200)]
[Common] GetRuntimeVariable - removing double quotes from app_id
[Info]
Crosswalk has used the double quote for the app_id from the first.
The n-wrt (new wrt) is using the double quote also but that's wrt and wrt-service's bug.
To keep compatibilities, two case of formats should be considered in webapi-plugins.
Change-Id: I69aaa06d5213d3d99f08f6393cf8249d30671346
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
Pawel Andruszkiewicz [Wed, 20 May 2015 14:29:59 +0000 (16:29 +0200)]
[Common] Added privilege implementation using Cynara.
[Verificiation] Common module compiled with 3.0 repository (http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm-wayland/packages/).
Change-Id: I1d807f0c621bdac4481145d1ca534fcb8987da1d
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
ByungWoo Lee [Mon, 1 Jun 2015 07:39:40 +0000 (16:39 +0900)]
Add MIT license
Change-Id: I7320d1db59f6a47ab479c669c8ea053fcc1405c5
HyunJin Park [Fri, 29 May 2015 08:51:21 +0000 (17:51 +0900)]
Merge "[License] Modify license of tools" into tizen_3.0
ByungWoo Lee [Fri, 29 May 2015 08:48:24 +0000 (17:48 +0900)]
[License] Modify license of tools
Change-Id: Ic336094cbbedac43bf15d80694274d7c873dbbab
Hyunjin Park [Fri, 29 May 2015 08:09:51 +0000 (17:09 +0900)]
Merge "[common] modify return value of CYNARA ( false -> true )" into tizen_3.0
ByungWoo Lee [Fri, 29 May 2015 08:04:10 +0000 (17:04 +0900)]
[License] Modify license
Change-Id: Ie66d976c5eb67ecb494f028a2b9232b2b3f927dd
Hyunjin Park [Fri, 29 May 2015 08:03:47 +0000 (17:03 +0900)]
[common] modify return value of CYNARA ( false -> true )
getCap app issue of Web TCT to fix
Change-Id: I344504798a83b10bdf2a738a55e3012c823d93da
ByungWoo Lee [Fri, 29 May 2015 07:37:59 +0000 (16:37 +0900)]
[License] Modify the file name of license
Change-Id: Ie7f464f0d041ca7224e70a75fd71fa2945599823
ByungWoo Lee [Fri, 29 May 2015 07:18:47 +0000 (16:18 +0900)]
[License] modify the boilerplate of source code and license
Change-Id: I49c30fc544cbe6ab877757f7ad3a8dd7da91380a
Dongyoung Kim [Fri, 29 May 2015 06:52:52 +0000 (15:52 +0900)]
[WebDeviceAPI] modify the boilerplate of source code.
Change-Id: I69e3bd1e2f7e0521b299a8bcdaa633c48fff0c9c
Dongyoung Kim [Thu, 28 May 2015 08:06:06 +0000 (17:06 +0900)]
[WebDeviceAPI] add a license file for BSD
Change-Id: I95923e11d60ea78f3f48705bb821f83174d5a019
Dongyoung Kim [Thu, 28 May 2015 07:53:59 +0000 (16:53 +0900)]
[WebDeviceAPI] fixed the license from protex
Change-Id: I188a81a2ed7c55a4f70c9740fe9ee8c5194882b2
Hyunjin Park [Thu, 28 May 2015 02:27:02 +0000 (11:27 +0900)]
modify license for protex
Change-Id: Ifb1494c52903f3564ec83488b50cec1ccb741056
Hyunjin Park [Thu, 28 May 2015 02:14:09 +0000 (11:14 +0900)]
modify license for protex
Change-Id: I86dd76fa780036ebbd3b3c888ea928b7a114f834
Pawel Kaczmarek [Tue, 26 May 2015 13:13:24 +0000 (15:13 +0200)]
[Build] Tizen 3.0 mobile, messageport enabled
Change-Id: Ie8fd3e429c8ffba58d9561a8c3b011bbfb0e9792
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
HyunJin Park [Tue, 26 May 2015 10:25:35 +0000 (19:25 +0900)]
Merge "Fix build for x11, issue with xrandr" into tizen_3.0
Pawel Kaczmarek [Tue, 26 May 2015 10:20:58 +0000 (12:20 +0200)]
Fix build for x11, issue with xrandr
Change-Id: I25e0b547d382d8f8a7c242dfc1efb4fdac116ab5
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
Pawel Kaczmarek [Tue, 26 May 2015 09:09:02 +0000 (11:09 +0200)]
[Build] Tizen 3.0 tv
[Info]
Enabled modules:
alarm, application, content, download, messageport, system_info, system_setting
Change-Id: I169182ca20ca0ac137272cfce5d01aedd8aa9ed8
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
Pawel Kaczmarek [Mon, 25 May 2015 09:53:23 +0000 (11:53 +0200)]
[Build] Tizen 3.0 mobile, Systemsetting and Download enabled
[Info]
Messageport - not enabled
Reason: nothing provides pkgconfig(capi-message-port)
Change-Id: Ic987b45e046bddbf0f7fc665f9812032eafaa7bd
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
Rafal Galka [Thu, 21 May 2015 11:41:05 +0000 (13:41 +0200)]
[Build] Tizen 3.0 tv (ARM/Wayland)
[Info]
http://168.219.209.56/jira/browse/XWALK-253
http://168.219.209.56/confluence/display/WRT/Common+WebAPI+for+Tizen+3.0
Change-Id: Icde2509851886e02bd2ba8fc8f3d25025b9d1c85
Rafal Galka [Thu, 21 May 2015 11:52:48 +0000 (13:52 +0200)]
[Build] Tizen 3.0 tv
[Info]
http://168.219.209.56/jira/browse/XWALK-253
http://168.219.209.56/confluence/display/WRT/Common+WebAPI+for+Tizen+3.0
Change-Id: Id48188eb9d3e9bfae21b8a108493d3d71b22ada8
Rafal Galka [Thu, 21 May 2015 12:02:49 +0000 (14:02 +0200)]
[Build] Tizen 3.0 mobile
[Info]
http://168.219.209.56/jira/browse/XWALK-253
http://168.219.209.56/confluence/display/WRT/Common+WebAPI+for+Tizen+3.0
Change-Id: I83f02667c23e00a5b9c41e605614c10af5fcc328
Rafal Galka [Thu, 21 May 2015 10:54:50 +0000 (12:54 +0200)]
[SystemInfo] Replace internal keys with appropriate API
Change-Id: If3295f8b8d2aa4baef6c12bb70ee8de1cb6ef07e
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
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>