platform/core/connectivity/bluetooth-frwk.git
7 years agoApply the initial codes for BT emulator 04/75304/2 accepted/tizen/common/20160620.163738 accepted/tizen/ivi/20160621.024524 accepted/tizen/mobile/20160621.024328 accepted/tizen/tv/20160621.024356 accepted/tizen/wearable/20160621.024412 submit/tizen/20160620.042720 submit/tizen/20160620.064511
DoHyun Pyun [Fri, 17 Jun 2016 09:23:47 +0000 (18:23 +0900)]
Apply the initial codes for BT emulator

BT on / off operation was verified. We should implement other functionalities.

Change-Id: I6221b7a768d87bab51246510483c7a0fa0e5752e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the type naming correctly for hid device role 06/70706/6
Taejin Woo [Wed, 8 Jun 2016 02:26:51 +0000 (11:26 +0900)]
Fix the type naming correctly for hid device role

Change-Id: I31d6faed8d94ae6f79db508912de5c75c774d764
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
7 years agoMerge "Add the privilege check for registering HDP sink app" into tizen accepted/tizen/common/20160620.163218 accepted/tizen/ivi/20160617.084150 accepted/tizen/mobile/20160617.084154 accepted/tizen/tv/20160617.084006 accepted/tizen/wearable/20160617.084209 submit/tizen/20160617.023912
Pyun DoHyun [Fri, 17 Jun 2016 02:38:03 +0000 (19:38 -0700)]
Merge "Add the privilege check for registering HDP sink app" into tizen

7 years ago[BT-frwk] Fix issue in the gdbus proxy call for remove remote oob data. 31/75031/1
Sudha Bheemanna [Thu, 16 Jun 2016 10:21:49 +0000 (15:51 +0530)]
[BT-frwk] Fix issue in the gdbus proxy call for remove remote oob data.

Added missing brackets in the proxy call sisgnature which
causes failiure in the dbus proxy call to bluez.

Change-Id: Ic0c8112d4493051aa4fa5ca979ffed3e094d8401
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
7 years agoAdd the privilege check for registering HDP sink app 69/74869/1
Hyuk Lee [Thu, 16 Jun 2016 02:36:05 +0000 (11:36 +0900)]
Add the privilege check for registering HDP sink app

Change-Id: I960082035b23834527c36fe9066b6f8629c28185
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years ago[BT-frwk] Fix issue in the gdbus proxy call for Add remote oob data. 64/74764/1
Sudha Bheemanna [Wed, 15 Jun 2016 11:35:44 +0000 (17:05 +0530)]
[BT-frwk] Fix issue in the gdbus proxy call for Add remote oob data.

Added missing brackets in the proxy call sisgnature which
causes failiure in the dbus proxy call to bluez.

Change-Id: I8b8ebabef5db4bac7287a3521005ba5f015dd56e
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
7 years agoEnable the flight mode handling logic for wearable target 56/73956/1 accepted/tizen/common/20160610.182608 accepted/tizen/ivi/20160613.022032 accepted/tizen/mobile/20160613.022102 accepted/tizen/tv/20160613.021955 accepted/tizen/wearable/20160613.022009 submit/tizen/20160610.075956
DoHyun Pyun [Fri, 10 Jun 2016 07:34:47 +0000 (16:34 +0900)]
Enable the flight mode handling logic for wearable target

Change-Id: Iaba1b81bc8baf8e05cb8cf743e0b734496ac4233
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoIPSP : Handle BT interface info event or property emitted from bluez 98/58198/3 accepted/tizen/common/20160609.145517 accepted/tizen/ivi/20160609.090242 accepted/tizen/mobile/20160609.090201 accepted/tizen/tv/20160609.090308 accepted/tizen/wearable/20160609.090231 submit/tizen/20160608.051814
paras.kumar [Thu, 28 Jan 2016 08:42:45 +0000 (14:12 +0530)]
IPSP : Handle BT interface info event or property emitted from bluez

This patch is to handle the property emitted from bluez for BT interface
info after IPSP connection. Add bluetooth event for the same.

Change-Id: Ib38a6b0a7f12442a693b84507edf3f8ef8037f9a
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
7 years agoAdd the privilege for IPSP 30/72230/3
Taejin Woo [Tue, 31 May 2016 08:11:22 +0000 (17:11 +0900)]
Add the privilege for IPSP

Change-Id: Ic8c7197c00bcb681f0c948319ea815baf36318ca
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
7 years agoFix the coding style errors (include) 53/73253/1
DoHyun Pyun [Tue, 7 Jun 2016 09:24:32 +0000 (18:24 +0900)]
Fix the coding style errors (include)

Change-Id: I7ef692ed981cf3e0bfd219dc73267030fb7bbc15
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the coding style errors (test) 52/73252/1
DoHyun Pyun [Tue, 7 Jun 2016 09:22:18 +0000 (18:22 +0900)]
Fix the coding style errors (test)

Change-Id: Idfe816533734aea605db7387852b356bfa5a8619
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge "Fix the coding style errors (bt-httpproxy)" into tizen
DoHyun Pyun [Tue, 7 Jun 2016 08:11:43 +0000 (01:11 -0700)]
Merge "Fix the coding style errors (bt-httpproxy)" into tizen

7 years agoMerge "Add the privilege check for GATT SERVER APIs" into tizen
Pyun DoHyun [Tue, 7 Jun 2016 05:16:47 +0000 (22:16 -0700)]
Merge "Add the privilege check for GATT SERVER APIs" into tizen

7 years agoFix the coding style errors (bt-httpproxy) 73/73173/1
DoHyun Pyun [Tue, 7 Jun 2016 04:50:23 +0000 (13:50 +0900)]
Fix the coding style errors (bt-httpproxy)

Change-Id: I3e7d7be31156f44afd5afa6dc760e2998f8ea659
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the privilege check for GATT SERVER APIs 72/73172/1
Hyuk Lee [Tue, 7 Jun 2016 04:49:43 +0000 (13:49 +0900)]
Add the privilege check for GATT SERVER APIs

Change-Id: I8cb8bcbb333837f06918b5e02b8742642abfe1db
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoFix the coding style errors (bt-api) 49/73149/1
DoHyun Pyun [Tue, 7 Jun 2016 02:34:19 +0000 (11:34 +0900)]
Fix the coding style errors (bt-api)

Change-Id: I13625ced68f5aef772d9f219643a73e4168c43e1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the coding style errors (bt-service) 09/72909/1 accepted/tizen/common/20160607.194547 accepted/tizen/ivi/20160607.071930 accepted/tizen/mobile/20160607.071857 accepted/tizen/tv/20160607.071902 accepted/tizen/wearable/20160607.071846 submit/tizen/20160607.011620
DoHyun Pyun [Fri, 3 Jun 2016 04:19:38 +0000 (13:19 +0900)]
Fix the coding style errors (bt-service)

Change-Id: I9b08cfa50b3d0f18674ded0f1a43692de82deadb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the privilege check for async GATT connection 27/72527/1 accepted/tizen/common/20160603.150552 accepted/tizen/ivi/20160602.231130 accepted/tizen/mobile/20160602.231149 accepted/tizen/tv/20160602.231111 accepted/tizen/wearable/20160602.231116 submit/tizen/20160602.083956
Hyuk Lee [Wed, 1 Jun 2016 09:56:35 +0000 (18:56 +0900)]
Add the privilege check for async GATT connection

Change-Id: Ia5b7b6d28bd3a928298785bc3b6c017144e63672
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoDPM: Add Error code for device policy restriction. 09/72309/3
h.sandeep [Tue, 31 May 2016 10:17:01 +0000 (15:47 +0530)]
DPM: Add Error code for device policy restriction.

Added the Error code "BLUETOOTH_ERROR_DEVICE_POLICY_RESTRICTION".

Change-Id: I303860eff6a5df40dccf641df390552d2c4cdb43
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoFix the coding style errors (bt-service) 63/72263/1
DoHyun Pyun [Tue, 31 May 2016 09:09:18 +0000 (18:09 +0900)]
Fix the coding style errors (bt-service)

Change-Id: Ia82e50427bd0ec90323e1de99a55973307526905
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the coding style errors (bt-core) 47/72047/1
DoHyun Pyun [Mon, 30 May 2016 09:52:52 +0000 (18:52 +0900)]
Fix the coding style errors (bt-core)

Change-Id: I519953e66b0980657a7ad5f60f6a9aec5ed5a6d2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the bug for the A2DP connection 75/71975/1
DoHyun Pyun [Mon, 30 May 2016 04:55:47 +0000 (13:55 +0900)]
Fix the bug for the A2DP connection

When an application uses BT_AUDIO_PROFILE_TYPE_ALL to connect,
HSP profile only be connected because of the wrong logic in
bt-service's audio connected list.

Change-Id: If1d9569a018bc02c1a3c863bd21e01ff6715533b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoHPS: Add D-bus configuration for bt-httpproxy 89/59489/2
h.sandeep [Tue, 16 Feb 2016 04:58:14 +0000 (10:28 +0530)]
HPS: Add D-bus configuration for bt-httpproxy

Change-Id: I0fa6846075718fdb5650bfd5566f981554f8576c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoMerge "Modify the PBAP connection event implementation" into tizen accepted/tizen/common/20160530.131853 accepted/tizen/ivi/20160602.021805 accepted/tizen/mobile/20160602.021859 accepted/tizen/tv/20160602.021730 accepted/tizen/wearable/20160602.021809 submit/tizen/20160530.005238
DoHyun Pyun [Thu, 26 May 2016 01:25:23 +0000 (18:25 -0700)]
Merge "Modify the PBAP connection event implementation" into tizen

7 years agoFix memory leak 66/71266/1
Taejin Woo [Wed, 25 May 2016 00:47:47 +0000 (09:47 +0900)]
Fix memory leak

Change-Id: Ia7a5dbcd25e4825314ae3e7e577db3c557defc99
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
7 years agoModify the PBAP connection event implementation 95/70895/4
DoHyun Pyun [Mon, 23 May 2016 07:43:36 +0000 (16:43 +0900)]
Modify the PBAP connection event implementation

The previous implemenation only send the connection event
when an application calls PBAP connect / disconnect API.
This patchset enables to recieve the connection state changed
event in the idle time.

Change-Id: I498c857dcc8ee8ef29eb5b0aea579dbd8b3e4f82
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoDPM: Modify Discoverable policy handling. 83/69283/2
h.sandeep [Thu, 12 May 2016 06:32:57 +0000 (12:02 +0530)]
DPM: Modify Discoverable policy handling.

Change-Id: I26df964a4203ede38c4dcad1e513ff144b058bb5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoModify the hardcorded storage path to get the download path 85/68985/1 accepted/tizen/common/20160511.142125 accepted/tizen/ivi/20160512.050827 accepted/tizen/mobile/20160512.050819 accepted/tizen/tv/20160512.050748 accepted/tizen/wearable/20160512.050806 submit/tizen/20160511.024308
DoHyun Pyun [Wed, 11 May 2016 02:17:10 +0000 (11:17 +0900)]
Modify the hardcorded storage path to get the download path

The previous pbap download path is hardcorded. Instead of this
uses storage API and get the platform download path. And add the
storage privilege check logic.

Change-Id: If8c5d9a8565cc5e3ba39b4284553a98b325310b8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the privilege related with the role of hid device 18/68818/1 accepted/tizen/common/20160511.141806 submit/tizen/20160510.081616
Taejin Woo [Tue, 10 May 2016 01:54:27 +0000 (10:54 +0900)]
Add the privilege related with the role of hid device

Change-Id: I794ec5b0fe527bb64f60ebefc4187909bf998fc6
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoMerge "Modify the AVRCP handle control privilege" into tizen
Pyun DoHyun [Wed, 4 May 2016 04:35:37 +0000 (21:35 -0700)]
Merge "Modify the AVRCP handle control privilege" into tizen

8 years agoDPM: Fix API naming convention. 26/68326/3 accepted/tizen/common/20160504.130650 accepted/tizen/ivi/20160504.115110 accepted/tizen/mobile/20160504.114616 accepted/tizen/tv/20160504.114521 accepted/tizen/wearable/20160504.114853 submit/tizen/20160504.035912
h.sandeep [Tue, 3 May 2016 11:10:35 +0000 (16:40 +0530)]
DPM: Fix API naming convention.

Change-Id: Iea44be3b73b86bc9c409fed83cdaf2dc813d0f5e
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoModify the AVRCP handle control privilege 49/68049/2
Hyuk Lee [Mon, 2 May 2016 04:19:21 +0000 (13:19 +0900)]
Modify the AVRCP handle control privilege

Change-Id: Ib1a9acfaa5a2cdda2284af5662aff7a1610f7d35
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoDPM: Modify/Remove the DPM APIs and Expose DPM BT-APIs 90/66690/11 accepted/tizen/ivi/20160504.012033 accepted/tizen/mobile/20160504.011937 accepted/tizen/tv/20160504.011958 accepted/tizen/wearable/20160504.012023 submit/tizen/20160503.014314 submit/tizen/20160503.100744
h.sandeep [Wed, 20 Apr 2016 09:31:24 +0000 (15:01 +0530)]
DPM: Modify/Remove the DPM APIs and Expose DPM BT-APIs

1. Add BT-APIs
2. Add dpm policies to individual profiles as per mdm policies

Change-Id: Ie60dc0e4cdd3666631e2707e8cfebfc7a8333838
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoFix TBT fail issue (TBT-Gatt-client) 16/67816/1 accepted/tizen/common/20160429.170313 accepted/tizen/ivi/20160429.011807 accepted/tizen/mobile/20160429.011738 accepted/tizen/tv/20160429.011656 accepted/tizen/wearable/20160429.011706 submit/tizen/20160428.104148
DoHyun Pyun [Thu, 28 Apr 2016 10:29:46 +0000 (19:29 +0900)]
Fix TBT fail issue (TBT-Gatt-client)

TBT application set the "auto_connect" flag as TRUE.
Because of this, some connection issue is occured in bluez side.

We need to check why auto connect option is not working. But to resolve
the issue, always set the flag as FALSE.

http://suprem.sec.samsung.net/jira/browse/TSAM-2614

Change-Id: I80219d9f30c5ef43c28bed9c7257b7e4825898d3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoDebug the headset connected type for working AVRCP Control 16/66716/1 accepted/tizen/common/20160421.161612 accepted/tizen/ivi/20160422.065610 accepted/tizen/mobile/20160422.065658 accepted/tizen/tv/20160422.065622 accepted/tizen/wearable/20160422.065550 submit/tizen/20160421.042032
Hyuk Lee [Wed, 20 Apr 2016 11:50:45 +0000 (20:50 +0900)]
Debug the headset connected type for working AVRCP Control

Change-Id: I8f006a137d5e28ff70ff9f3760f69948eb821b0f
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoFix the crash in PBAP operations 04/66304/1 accepted/tizen/common/20160419.143012 accepted/tizen/ivi/20160418.235603 accepted/tizen/mobile/20160418.235541 accepted/tizen/tv/20160418.235558 accepted/tizen/wearable/20160418.235527 submit/tizen/20160418.083706
DoHyun Pyun [Mon, 18 Apr 2016 08:33:42 +0000 (17:33 +0900)]
Fix the crash in PBAP operations

Change-Id: I997238d0d8d8326ee050122af936fe58d5424343
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoModify gatt-server interface as per bluez_5.37. 33/65033/2 accepted/tizen/common/20160414.142541 accepted/tizen/common/20160414.144323 accepted/tizen/ivi/20160414.092028 accepted/tizen/mobile/20160414.092017 accepted/tizen/tv/20160414.092042 accepted/tizen/wearable/20160414.091941 submit/tizen/20160414.030922 submit/tizen_common/20160414.163915
h.sandeep [Thu, 7 Apr 2016 04:17:00 +0000 (09:47 +0530)]
Modify gatt-server interface as per bluez_5.37.

1. Modified the GATT Manager hierarchy
2. Added new API "bluetooth_gatt_register_application" to register
   the Application and "bluetooth_gatt_unregister_application"
   to unregister the Application.
3. Added new properties for characteristics/Descriptors.

Change-Id: I4fdc39642d60f0f568cdd9e4e920c12643a04066
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoFix the waring issue 42/65242/2 accepted/tizen/common/20160414.143701 accepted/tizen/mobile/20160411.100406 accepted/tizen/tv/20160411.100328 accepted/tizen/wearable/20160411.100355 submit/tizen_common/20160413.090423 submit/tizen_mobile/20160411.030431 submit/tizen_tv/20160411.030435 submit/tizen_wearable/20160411.030439
Hyuk Lee [Fri, 8 Apr 2016 05:27:53 +0000 (14:27 +0900)]
Fix the waring issue

Change-Id: I098d6e7aa631adf782163b2cbf075f600a9488e2
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoFix Web TC blocking issues 29/64229/1 accepted/tizen/common/20160406.145347 accepted/tizen/mobile/20160330.153132 accepted/tizen/tv/20160330.153237 accepted/tizen/wearable/20160330.153203 submit/tizen_common/20160505.135200 submit/tizen_common/20160506.103415 submit/tizen_mobile/20160330.142355 submit/tizen_tv/20160330.142416 submit/tizen_wearable/20160330.142411
DoHyun Pyun [Wed, 30 Mar 2016 14:02:55 +0000 (23:02 +0900)]
Fix Web TC blocking issues

After modifying bt-service's permission, sometimes don't recieve the event
in application side. To resolve the issue, temperary send broadcast events.
Before finding the root cause with dbus team.

Change-Id: I688593aae3897255560b324af1902e30b089feed
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoModify bt-service process permission to user from root 98/63898/1 accepted/tizen/mobile/20160329.043518 accepted/tizen/tv/20160329.043633 accepted/tizen/wearable/20160329.043703 submit/tizen_mobile/20160328.112117 submit/tizen_tv/20160328.112121 submit/tizen_wearable/20160328.112125
DoHyun Pyun [Mon, 28 Mar 2016 09:39:08 +0000 (18:39 +0900)]
Modify bt-service process permission to user from root

Change-Id: Icb4993968080ce4aee37a240016c7f8fa9baacfb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoModify the segmentation fault for connecting HDP 70/63870/3
Hyuk Lee [Mon, 28 Mar 2016 07:38:34 +0000 (16:38 +0900)]
Modify the segmentation fault for connecting HDP

Change-Id: I9636f663b4baa22be7880df5ae9837386652e3c6
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoFix the build fail 55/63355/1 submit/tizen_mobile/20160324.020353 submit/tizen_tv/20160324.020359 submit/tizen_wearable/20160324.020405
Taejin Woo [Wed, 23 Mar 2016 09:11:00 +0000 (18:11 +0900)]
Fix the build fail

incompatible pointer type

Change-Id: I16c05ad09607803ee3c2ea17fddc2090971a68b4
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoFix the build error 26/63326/2
Hyuk Lee [Wed, 23 Mar 2016 07:44:14 +0000 (16:44 +0900)]
Fix the build error

Change-Id: I69fbdcd286876c09eae95e42236066bd07fcfd57
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoMerge "Fix Memory leak issue" into tizen submit/tizen_mobile/20160323.044436 submit/tizen_tv/20160323.044441 submit/tizen_wearable/20160323.044445
Pyun DoHyun [Wed, 23 Mar 2016 01:49:55 +0000 (18:49 -0700)]
Merge "Fix Memory leak issue" into tizen

8 years ago[bt-api] svace issue fixed 07/63207/2
Sudha Bheemanna [Tue, 22 Mar 2016 13:49:16 +0000 (19:19 +0530)]
[bt-api] svace issue fixed

Change-Id: I4849b58d5d4dc376dc7ef813d532322e02de6d1c
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoFix Memory leak issue 99/63199/1
paras.kumar [Tue, 22 Mar 2016 12:00:34 +0000 (17:30 +0530)]
Fix Memory leak issue

Change-Id: I213da6308b8193bdc30668fb396345f97f9de2bf
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
8 years ago[Bt-frwk] Fix build errors 71/63171/2
Sudha Bheemanna [Tue, 22 Mar 2016 09:44:52 +0000 (15:14 +0530)]
[Bt-frwk] Fix build errors

Change-Id: I5f9397c46a3f0b626c8de7c50ff5496e5424a8d4
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoAdd the BT_AV_SOURCE_CONNECT public privilege 28/62928/2 submit/tizen_mobile/20160322.012355 submit/tizen_tv/20160322.012359 submit/tizen_wearable/20160322.012403
Hyuk Lee [Mon, 21 Mar 2016 06:23:08 +0000 (15:23 +0900)]
Add the BT_AV_SOURCE_CONNECT public privilege

Change-Id: I3bd55d09b8383ba1ce62c64642aa533a8ea84771
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years ago[BT-Frwk] Fixed build warnings. 88/62788/2
Sudha Bheemanna [Fri, 18 Mar 2016 08:46:28 +0000 (14:16 +0530)]
[BT-Frwk] Fixed build warnings.

Fixed remaining build warnings in the code

Change-Id: I9c80721518fe5bd7c10109c031918d5591cd4d89
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoMerge "[warnings] Fix build warnings" into tizen
Pyun DoHyun [Fri, 18 Mar 2016 06:20:46 +0000 (23:20 -0700)]
Merge "[warnings] Fix build warnings" into tizen

8 years ago[warnings] Fix build warnings 00/62700/2
Sudha Bheemanna [Thu, 17 Mar 2016 12:07:51 +0000 (17:37 +0530)]
[warnings] Fix build warnings

Fixed build warnings in code

Change-Id: I3831341c551f4eba0cc3eae36bdfe33cf3f9afe9
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoLaunch bluetooth-frwk service after multi-user.target in TM1 55/62655/1 accepted/tizen/mobile/20160318.114117 accepted/tizen/tv/20160318.114205 accepted/tizen/wearable/20160318.114247 submit/tizen_mobile/20160317.085503 submit/tizen_tv/20160317.085507 submit/tizen_wearable/20160317.085511
Hyuk Lee [Thu, 17 Mar 2016 08:45:24 +0000 (17:45 +0900)]
Launch bluetooth-frwk service after multi-user.target in TM1

Change-Id: I215cf08c1ba3177d7eb9a1fee156e107a4dc29dc
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoModify the Dbus Policy(remove "method_call") 64/60764/1 accepted/tizen/mobile/20160302.225432 accepted/tizen/tv/20160302.225605 accepted/tizen/wearable/20160302.225655 submit/tizen_mobile/20160302.064833 submit/tizen_tv/20160302.064837 submit/tizen_wearable/20160302.064841
Hyuk Lee [Wed, 2 Mar 2016 05:40:33 +0000 (14:40 +0900)]
Modify the Dbus Policy(remove "method_call")

Change-Id: Icc7ea43fef47c11f047d2d03b469813793be672f
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years ago[DPM] Add apis for the device policy manager in BT 10/58310/2
Sudha Bheemanna [Fri, 29 Jan 2016 07:15:14 +0000 (12:45 +0530)]
[DPM] Add apis for the device policy manager in BT

Added some more BT api implementation in the base code.

Change-Id: I38690eeb8a4e467ea2e92904f1e0acb3fae5f305
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoMerge "DPM: Add basic code for device policy manager for BT." into tizen
Pyun DoHyun [Mon, 25 Jan 2016 06:39:48 +0000 (22:39 -0800)]
Merge "DPM: Add basic code for device policy manager for BT." into tizen

8 years ago[Boiler Plate] Update Boiler plate to remove unwanted information 30/57730/2
Sudha Bheemanna [Fri, 22 Jan 2016 06:31:54 +0000 (12:01 +0530)]
[Boiler Plate] Update Boiler plate to remove unwanted information

removed unwanted and old information
updated the timeline

Change-Id: Ia17f2933f45425db982f26e1cb1ff19822d54d64
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoDPM: Add basic code for device policy manager for BT. 75/57375/5
h.sandeep [Tue, 19 Jan 2016 12:44:48 +0000 (18:14 +0530)]
DPM: Add basic code for device policy manager for BT.

Change-Id: I708a7f0e013b7fa5b298050518e59852686d5a0f
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoFix the build error for TV Profile 62/56962/1 accepted/tizen/ivi/20160218.023243 accepted/tizen/mobile/20160115.011102 accepted/tizen/mobile/20160115.114822 accepted/tizen/tv/20160115.114908 accepted/tizen/wearable/20160115.011841 accepted/tizen/wearable/20160115.115112 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002 submit/tizen_mobile/20160114.063956 submit/tizen_mobile/20160115.011928 submit/tizen_tv/20160114.064009 submit/tizen_tv/20160115.011940 submit/tizen_wearable/20160114.064033 submit/tizen_wearable/20160115.011951
Hyuk Lee [Thu, 14 Jan 2016 02:09:31 +0000 (11:09 +0900)]
Fix the build error for TV Profile

Change-Id: If1c5c6aab2e423803356a6c152f603381699d478
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoMerge the code from tizen_2.4 08/56608/3 submit/tizen_mobile/20160113.070328 submit/tizen_tv/20160113.070350 submit/tizen_wearable/20160113.070410
Taejin Woo [Fri, 8 Jan 2016 04:35:31 +0000 (13:35 +0900)]
Merge the code from tizen_2.4

Change-Id: Id763ee7f503c8b0535b6d437f69d65710d98c011
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoSvace resolve : memory leak in gatt-test 20/55720/1 accepted/tizen/mobile/20151229.075114 accepted/tizen/tv/20151229.075207 accepted/tizen/wearable/20151229.075015 submit/tizen_mobile/20151229.042928 submit/tizen_tv/20151229.042932 submit/tizen_wearable/20151229.042936
Hyuk Lee [Tue, 29 Dec 2015 02:00:49 +0000 (11:00 +0900)]
Svace resolve : memory leak in gatt-test

Change-Id: Iaf863f7d7f3cf75bf71622b8e0c2b4c87ccc9544
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoRemove sys-assert dependency 05/55705/1 accepted/tizen/mobile/20151229.074506 accepted/tizen/tv/20151229.074808 accepted/tizen/wearable/20151229.074923 submit/tizen_mobile/20151229.013316 submit/tizen_tv/20151229.013320 submit/tizen_wearable/20151229.013324
Taejin Woo [Tue, 29 Dec 2015 01:16:01 +0000 (10:16 +0900)]
Remove sys-assert dependency

Change-Id: I311401e2e15117f6bba14600021afe69dde5ef6f
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoRemove libprivilege-control dependency 41/54841/1 accepted/tizen/mobile/20151221.102207 accepted/tizen/tv/20151221.101954 accepted/tizen/wearable/20151221.102139 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_mobile/20151221.045050 submit/tizen_tv/20151221.045053 submit/tizen_wearable/20151221.045102
Taejin Woo [Fri, 18 Dec 2015 06:53:22 +0000 (15:53 +0900)]
Remove libprivilege-control dependency

Change-Id: I0d9c1d64c9d23aba44b6667d2b9e9063ae02de43
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoInclude bundle_internal.h for internal bundle apis 10/54310/1 accepted/tizen/mobile/20151215.230823 accepted/tizen/tv/20151215.230934 accepted/tizen/wearable/20151215.231033 submit/tizen_mobile/20151215.082306 submit/tizen_tv/20151215.082310 submit/tizen_wearable/20151215.082316
Hwankyu Jhun [Tue, 15 Dec 2015 01:28:09 +0000 (10:28 +0900)]
Include bundle_internal.h for internal bundle apis

Some bundle apis are platform internal apis
and we need to include bundle_internal.h to use them

Change-Id: I6d4551a425dcb6c0f3a7f38c86c3ba9341ce123d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 years agoAdded code for LE Data length extension feature. 72/48672/4 accepted/tizen/mobile/20151207.124037 accepted/tizen/tv/20151207.124307 accepted/tizen/wearable/20151207.124413 submit/tizen_mobile/20151207.014436 submit/tizen_tv/20151207.014441 submit/tizen_wearable/20151207.014445
Sudha Bheemanna [Thu, 24 Sep 2015 10:27:19 +0000 (15:57 +0530)]
Added code for LE Data length extension feature.

Added code to handle Le data length extension feature and commands.

Change-Id: Ib5bf2ea7b80bef45078b037218ed30191e364dff
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoAdd the dbus policy for HFP 62/51362/2 accepted/tizen/mobile/20151109.234224 accepted/tizen/tv/20151109.234257 accepted/tizen/wearable/20151109.234315 submit/tizen_mobile/20151109.073150 submit/tizen_tv/20151109.073154 submit/tizen_wearable/20151109.073158
Taejin Woo [Mon, 9 Nov 2015 06:38:26 +0000 (15:38 +0900)]
Add the dbus policy for HFP

Change-Id: I9d9e9459859d813f4a3038b19654ecfdd8348b89
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoDisable the AUTO_ACCEPT in mobile profile 60/50560/1 accepted/tizen/mobile/20151031.105708 accepted/tizen/tv/20151031.110335 accepted/tizen/wearable/20151031.110607 submit/tizen_mobile/20151030.015014 submit/tizen_tv/20151030.015019 submit/tizen_wearable/20151030.015022
Hyuk Lee [Fri, 30 Oct 2015 01:47:35 +0000 (10:47 +0900)]
Disable the AUTO_ACCEPT in mobile profile
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Change-Id: Iaa600ca2debafc85b2b94f2eff1a2a1675a6ca9c

8 years agoremove the vconftool in the spec file 64/50364/1 accepted/tizen/mobile/20151029.041518 accepted/tizen/tv/20151029.041634 accepted/tizen/wearable/20151029.041649 submit/tizen_mobile/20151028.075555 submit/tizen_tv/20151028.075616 submit/tizen_wearable/20151028.075621
Hyuk Lee [Wed, 28 Oct 2015 06:59:28 +0000 (15:59 +0900)]
remove the vconftool in the spec file

Change-Id: Ic41c5d6940946ef9a0967c50fe534f62a1be283b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoFix : GATT connection status check issue 07/49907/1 accepted/tizen/mobile/20151022.010449 accepted/tizen/tv/20151022.010456 accepted/tizen/wearable/20151022.010522 submit/tizen_mobile/20151021.114900 submit/tizen_tv/20151021.114905 submit/tizen_wearable/20151021.114909
h.sandeep [Wed, 21 Oct 2015 10:55:08 +0000 (16:25 +0530)]
Fix : GATT connection status check issue

GATT connection state check is always failed because dbus interface was
not described, add proper dbus interface to check GATT connection state.

Change-Id: Ic1420d615d011499922a8f359bef9d5c1f8959da
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoFix the rebond and crash issue 98/48798/5 accepted/tizen/mobile/20150930.115719 accepted/tizen/tv/20150930.115747 accepted/tizen/wearable/20150930.115755 submit/tizen_mobile/20150930.073015 submit/tizen_tv/20150930.073020 submit/tizen_wearable/20150930.073024 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Taejin Woo [Wed, 30 Sep 2015 04:17:51 +0000 (13:17 +0900)]
Fix the rebond and crash issue

Change-Id: I5c77b1826622a9626851469e052068bf3d93b13c
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoForce to accept auto pairing temporarily 19/48019/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.091947 accepted/tizen/tv/20150911.091955 accepted/tizen/wearable/20150911.092010 submit/tizen/20150911.075625 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Taejin Woo [Fri, 11 Sep 2015 06:46:05 +0000 (15:46 +0900)]
Force to accept auto pairing temporarily

Change-Id: I9b8d428f314c078ac5be7c4a06feff3ac8bd75c3
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoChange the uid and smack lable from system to root 98/47798/2 accepted/tizen/mobile/20150909.140946 accepted/tizen/tv/20150909.140251 accepted/tizen/wearable/20150909.135240 submit/tizen_mobile/20150909.022934 submit/tizen_tv/20150909.022930 submit/tizen_wearable/20150909.022927
Taejin Woo [Wed, 9 Sep 2015 02:10:40 +0000 (11:10 +0900)]
Change the uid and smack lable from system to root

we need to access specific directories regardless of file permission

Change-Id: I6cb045471e84ccef5bc62f4775c11a47f24d6396
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoFix the privilige issue 49/47649/2 accepted/tizen/mobile/20150908.004358 accepted/tizen/tv/20150908.004418 accepted/tizen/wearable/20150908.004443 submit/tizen_mobile/20150907.122525 submit/tizen_tv/20150907.122529 submit/tizen_wearable/20150907.122533
Taejin Woo [Mon, 7 Sep 2015 12:19:17 +0000 (21:19 +0900)]
Fix the privilige issue

Change-Id: I8e5e0e1d7fa155130991528902b04f03ac933c72
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoFix method of fetching adapter UUID's 11/47411/1
Anupam Roy [Thu, 3 Sep 2015 07:16:18 +0000 (03:16 -0400)]
Fix method of fetching adapter UUID's

Change-Id: I9fdb6d6830c5ac5db7703170b9ec3be1d2686a19
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years agoRemove journal related codes 92/46492/1 accepted/tizen/mobile/20150821.092411 accepted/tizen/tv/20150821.092425 accepted/tizen/wearable/20150821.092436 submit/tizen_mobile/20150821.064505 submit/tizen_tv/20150821.064509 submit/tizen_wearable/20150821.064513
DoHyun Pyun [Fri, 21 Aug 2015 06:43:22 +0000 (15:43 +0900)]
Remove journal related codes

Change-Id: Ieaeb89ce5313cb35e1dd275a9b2226f71bc2df50
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoModify bt-service's permission as system 78/46278/1 accepted/tizen/mobile/20150819.072913 accepted/tizen/tv/20150819.073011 accepted/tizen/wearable/20150819.072951 submit/tizen_mobile/20150819.043945 submit/tizen_tv/20150819.043940 submit/tizen_wearable/20150819.043935
DoHyun Pyun [Wed, 19 Aug 2015 04:36:49 +0000 (13:36 +0900)]
Modify bt-service's permission as system

Change-Id: I2f9bc99fcf183da211abb44156e5e934a402bc14
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoChange installation path for service files 56/45856/1 accepted/tizen/mobile/20150817.134210 accepted/tizen/tv/20150817.134601 accepted/tizen/wearable/20150817.080743 submit/tizen_mobile/20150817.053233 submit/tizen_tv/20150817.053229 submit/tizen_wearable/20150817.053225
seungku kim [Wed, 12 Aug 2015 04:10:18 +0000 (13:10 +0900)]
Change installation path for service files

/usr/lib64/systemd/system -> /usr/lib/systemd/system

Change-Id: I01ef0c0f306b77a86c920024aa9600fa0fb84d97

8 years agoFix the bug in oob get data 50/45250/1 accepted/tizen/mobile/20150804.111906 accepted/tizen/tv/20150804.112001 accepted/tizen/wearable/20150804.112034 submit/tizen_mobile/20150804.063507 submit/tizen_tv/20150804.063511 submit/tizen_wearable/20150804.063515
DoHyun Pyun [Tue, 4 Aug 2015 05:59:38 +0000 (14:59 +0900)]
Fix the bug in oob get data

Change-Id: I6025ff49e8abe3672a13ce29e224b4890d004466
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoRevise auto accept for pairing request for TV profile 82/44882/1 accepted/tizen/mobile/20150729.105609 accepted/tizen/tv/20150729.105626 accepted/tizen/wearable/20150729.105635 submit/tizen_mobile/20150729.071022 submit/tizen_tv/20150729.071030 submit/tizen_wearable/20150729.071035
seungku kim [Wed, 29 Jul 2015 06:03:44 +0000 (15:03 +0900)]
Revise auto accept for pairing request for TV profile

Change-Id: Ibc495968c50e33b67c032061cb0713b8baa67328

8 years agoIncrease the version 03/44803/1 accepted/tizen/mobile/20150728.070410 accepted/tizen/tv/20150728.070439 accepted/tizen/wearable/20150728.070456 submit/tizen_mobile/20150728.041340 submit/tizen_tv/20150728.041343 submit/tizen_wearable/20150728.041347
DoHyun Pyun [Tue, 28 Jul 2015 04:11:08 +0000 (13:11 +0900)]
Increase the version

Change-Id: I0ac2bd72f4a1e251925bf6064a456961a91b6d2d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoAuto accept the pairing request and connection in TV Profile 02/44802/1
DoHyun Pyun [Tue, 28 Jul 2015 04:10:39 +0000 (13:10 +0900)]
Auto accept the pairing request and connection in TV Profile

Change-Id: I44a5df1bf906586675b4ac86d82f9a2abc0657ce
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoSet connectable and visible mode in TV profile 01/44801/1
DoHyun Pyun [Tue, 28 Jul 2015 04:09:45 +0000 (13:09 +0900)]
Set connectable and visible mode in TV profile

Change-Id: I45a8cdce9eaab4c1f6a0b16a2e35f1ae40382dae
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the bug on TV profile's BT on 45/44545/1 accepted/tizen/mobile/20150723.090048 accepted/tizen/tv/20150723.090143 accepted/tizen/wearable/20150723.090235 submit/tizen_mobile/20150723.064429 submit/tizen_tv/20150723.064433 submit/tizen_wearable/20150723.064437
DoHyun Pyun [Thu, 23 Jul 2015 06:42:54 +0000 (15:42 +0900)]
Fix the bug on TV profile's BT on

Change-Id: I06a5ce1e466517dd31e62d45a2e7b246287e6098
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoEnable systemd service in booting time 98/44498/1 accepted/tizen/mobile/20150723.005353 accepted/tizen/tv/20150723.005433 accepted/tizen/wearable/20150723.005845 submit/tizen_mobile/20150722.133741 submit/tizen_tv/20150722.133745 submit/tizen_wearable/20150722.133748
DoHyun Pyun [Wed, 22 Jul 2015 13:36:54 +0000 (22:36 +0900)]
Enable systemd service in booting time

Change-Id: Id37d184dfb80a976271ccf397ef156413c9de189
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoEnable BT as default mode in TV profile 96/44496/1 accepted/tizen/mobile/20150723.005337 accepted/tizen/tv/20150723.005421 accepted/tizen/wearable/20150723.005520 submit/tizen_mobile/20150722.133126 submit/tizen_tv/20150722.133122 submit/tizen_wearable/20150722.133118
DoHyun Pyun [Wed, 22 Jul 2015 13:29:24 +0000 (22:29 +0900)]
Enable BT as default mode in TV profile

Change-Id: Ia0c3fea5149d3c9360a5dae19fc05bcfdc607bf1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix to enable bluetooth adapter 97/43597/1 accepted/tizen/tv/20150713.110959 submit/tizen_tv/20150713.054057
seungku kim [Fri, 10 Jul 2015 09:43:54 +0000 (18:43 +0900)]
Fix to enable bluetooth adapter

bt-service privilege is guest.

Change-Id: I0b0921500571bd40c8f36c2d24629df576ca1bbf

8 years agoMerge changes Ibff4b686,I201a8c75 into tizen accepted/tizen/mobile/20150708.015030 accepted/tizen/tv/20150708.015132 accepted/tizen/wearable/20150708.015225 submit/tizen/20150630.051205 submit/tizen/20150702.103311
Pyun DoHyun [Thu, 2 Jul 2015 08:29:49 +0000 (01:29 -0700)]
Merge changes Ibff4b686,I201a8c75 into tizen

* changes:
  Remove Vconf values
  Apply Tizen 3.0 security policy

8 years agoRemove Vconf values 81/42781/1
Taejin Woo [Thu, 2 Jul 2015 08:06:11 +0000 (17:06 +0900)]
Remove Vconf values

Change-Id: Ibff4b6861d4f0d7cbc8b877db6a404b4e4304f11
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoApply Tizen 3.0 security policy 58/42758/1
Taejin Woo [Thu, 2 Jul 2015 06:20:19 +0000 (15:20 +0900)]
Apply Tizen 3.0 security policy

Change-Id: I201a8c75ed4409ebc78e3c467c44fc0ab380e74e
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoDisable privilege check temporally 42/42742/1
seungku kim [Thu, 2 Jul 2015 04:27:11 +0000 (13:27 +0900)]
Disable privilege check temporally

Change-Id: I750459ba39cf1f1a5014cb005ee6e756c2e25e13

8 years agoFix the bug in LE enable / disable scenario 36/42736/1
seungku kim [Thu, 2 Jul 2015 03:58:27 +0000 (12:58 +0900)]
Fix the bug in LE enable / disable scenario

Change-Id: I6049433f05b78e40c60d6f5ce0c8be168c714408

8 years agoFix LE stop scanning related bugs 98/42198/1
seungku kim [Wed, 24 Jun 2015 10:46:54 +0000 (19:46 +0900)]
Fix LE stop scanning related bugs

When the LE stopped by non-user, it was not stopped properly.

Change-Id: I9cbdbe453f19e6ad8742ecc19275577ade9b591e

8 years agoChange to check the enabled device for LE 56/42156/2
seungku kim [Tue, 23 Jun 2015 07:58:06 +0000 (16:58 +0900)]
Change to check the enabled device for LE

Change-Id: I46e459da70f65619f0117d0eff5f7668ad2dcfae

8 years agoMerge "Fixed NULL pointer deference in bt-service/bt-service-obex-agent.c" into tizen
Pyun DoHyun [Wed, 24 Jun 2015 04:53:29 +0000 (21:53 -0700)]
Merge "Fixed NULL pointer deference in bt-service/bt-service-obex-agent.c" into tizen

8 years agoMerge "Fixed Unreachable code in bt-service/bt-service-pbap.c" into tizen
Pyun DoHyun [Wed, 24 Jun 2015 04:53:18 +0000 (21:53 -0700)]
Merge "Fixed Unreachable code in bt-service/bt-service-pbap.c" into tizen

8 years agoMerge "Fix NULL Returns in bt-api/bt-hid-device.c" into tizen
Pyun DoHyun [Wed, 24 Jun 2015 04:53:05 +0000 (21:53 -0700)]
Merge "Fix NULL Returns in bt-api/bt-hid-device.c" into tizen

8 years agoMerge "Remove redundant _bt_get_manager_proxy() calls" into tizen
Pyun DoHyun [Wed, 24 Jun 2015 04:52:18 +0000 (21:52 -0700)]
Merge "Remove redundant _bt_get_manager_proxy() calls" into tizen

8 years agoMerge "Fix NULL pointer dereferencing" into tizen
Pyun DoHyun [Wed, 24 Jun 2015 04:52:03 +0000 (21:52 -0700)]
Merge "Fix NULL pointer dereferencing" into tizen

8 years agoFixed NULL pointer deference in bt-service/bt-service-obex-agent.c 83/42083/1
Anchit Narang [Tue, 23 Jun 2015 04:59:43 +0000 (10:29 +0530)]
Fixed NULL pointer deference in bt-service/bt-service-obex-agent.c

Added NULL check after malloc to prevent bt-service crash if
enough memory cannot be allocated

Change-Id: Ia59ea7512107ceb4886b60183a7228bd7524520b

8 years agoFixed Unreachable code in bt-service/bt-service-pbap.c 45/42045/1
Anchit Narang [Mon, 22 Jun 2015 11:38:21 +0000 (17:08 +0530)]
Fixed Unreachable code in bt-service/bt-service-pbap.c

Change-Id: I8308c890c43214d73b4af53cad5918216e700618

8 years agoFix NULL Returns in bt-api/bt-hid-device.c 44/42044/1
Atul Rai [Mon, 22 Jun 2015 11:06:23 +0000 (16:36 +0530)]
Fix NULL Returns in bt-api/bt-hid-device.c

This patch added NULL return check after malloc to prevent
bt-service crash in case enough memory could not be allocated.

Change-Id: I352304f24c2180cdebdd5ac4393e3e4b0c4b28d5
Signed-off-by: Atul Rai <a.rai@samsung.com>