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>
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>
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>
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>
DoHyun Pyun [Tue, 7 Jun 2016 08:11:43 +0000 (01:11 -0700)]
Merge "Fix the coding style errors (bt-httpproxy)" 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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
DoHyun Pyun [Thu, 26 May 2016 01:25:23 +0000 (18:25 -0700)]
Merge "Modify the PBAP connection event implementation" into tizen
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>
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>
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>
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>
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>
Pyun DoHyun [Wed, 4 May 2016 04:35:37 +0000 (21:35 -0700)]
Merge "Modify the AVRCP handle control privilege" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Pyun DoHyun [Wed, 23 Mar 2016 01:49:55 +0000 (18:49 -0700)]
Merge "Fix Memory leak issue" into tizen
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>
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>
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>
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>
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>
Pyun DoHyun [Fri, 18 Mar 2016 06:20:46 +0000 (23:20 -0700)]
Merge "[warnings] Fix build warnings" into tizen
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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
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
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>
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>
seungku kim [Thu, 2 Jul 2015 04:27:11 +0000 (13:27 +0900)]
Disable privilege check temporally
Change-Id: I750459ba39cf1f1a5014cb005ee6e756c2e25e13
seungku kim [Thu, 2 Jul 2015 03:58:27 +0000 (12:58 +0900)]
Fix the bug in LE enable / disable scenario
Change-Id: I6049433f05b78e40c60d6f5ce0c8be168c714408
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
seungku kim [Tue, 23 Jun 2015 07:58:06 +0000 (16:58 +0900)]
Change to check the enabled device for LE
Change-Id: I46e459da70f65619f0117d0eff5f7668ad2dcfae
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
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
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
Pyun DoHyun [Wed, 24 Jun 2015 04:52:18 +0000 (21:52 -0700)]
Merge "Remove redundant _bt_get_manager_proxy() calls" into tizen
Pyun DoHyun [Wed, 24 Jun 2015 04:52:03 +0000 (21:52 -0700)]
Merge "Fix NULL pointer dereferencing" into tizen
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
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
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>
Anupam Roy [Fri, 19 Jun 2015 11:45:34 +0000 (07:45 -0400)]
Remove redundant _bt_get_manager_proxy() calls
_bt_get_manager_proxy() call is redundant in
__bt_init_adapter_proxy() and __bt_init_adapter_properties_proxy()
methods, as _bt_get_adapter_path() internally
gets manager proxy and returns NULL incase not found.
Change-Id: Icd22c018b216b7d42d241bfbb9777a1d84bf3a74
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Atul Rai [Fri, 19 Jun 2015 09:57:55 +0000 (15:27 +0530)]
Fix NULL pointer dereferencing
This patch fixes possible bt-service crash while
dereferencing NULL pointer.
Change-Id: I567cbed0076fc25b228bf160462a6d8d46dc1adf
Signed-off-by: Atul Rai <a.rai@samsung.com>
Anchit Narang [Fri, 19 Jun 2015 08:34:33 +0000 (14:04 +0530)]
Initialized previously uninitialized local vairable
variable ret was uninitialed in function _bt_core_handle_power_saving_mode_noti.
If ENABLE_TIZEN_2_4 is not defined it will still have garbage value.
Used without initializing in check if (ret < 0)
Change-Id: Idf5c04c91c3c9c83c470479cc93e827bedc49435
Signed-off-by: Anchit Narang <anchit.n@samsung.com>
Pyun DoHyun [Fri, 19 Jun 2015 01:13:40 +0000 (18:13 -0700)]
Merge "Set LE scanning mode to true only in case of success" into tizen
Pyun DoHyun [Fri, 19 Jun 2015 01:12:32 +0000 (18:12 -0700)]
Merge "Fix return value in __bt_get_discoverable_property()" into tizen
Atul Rai [Thu, 18 Jun 2015 07:27:26 +0000 (12:57 +0530)]
Fix possible bt-service crash issue
This patch fixes null pointer dereferencing when introspection_data
is NULL in __bt_service_create_method_node_info().
Change-Id: I795f3eaf5f807bfd00ede182089e7ac3b952abf6
Signed-off-by: Atul Rai <a.rai@samsung.com>
Anupam [Wed, 17 Jun 2015 14:32:15 +0000 (10:32 -0400)]
Set LE scanning mode to true only in case of success
'is_scanning' status of LE scanner should be set only
when LE Scan is successfully triggered.In case, adapter proxy
fetch is failed or LE Scan is not triggered successfully,
scanning status of particular scanner should remain FALSE,
which can save unneccessary processing in _bt_stop_le_scan method.
Change-Id: I34ce0f3a3eaca50cd3233468dde705d32d6f074e
Signed-off-by: Anupam <anupam.r@samsung.com>