platform/core/connectivity/bluetooth-frwk.git
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 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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>
9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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

9 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>
9 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>
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>
9 years agoRemove redundant _bt_get_manager_proxy() calls 84/41984/1
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>
9 years agoFix NULL pointer dereferencing 72/41972/1
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>
9 years agoInitialized previously uninitialized local vairable 44/41944/1
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>
9 years agoMerge "Set LE scanning mode to true only in case of success" into tizen
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

9 years agoMerge "Fix return value in __bt_get_discoverable_property()" 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

9 years agoFix possible bt-service crash issue 45/41845/1
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>
9 years agoSet LE scanning mode to true only in case of success 08/41808/1
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>
9 years agoFix return value in __bt_get_discoverable_property() 83/41783/1
Anupam [Wed, 17 Jun 2015 11:12:25 +0000 (07:12 -0400)]
Fix return value in __bt_get_discoverable_property()

Return FALSE instead of BLUETOOTH_ERROR_INTERNAL,
if error occurs in fetching Discoverable property from Bluez.

Change-Id: I3b75bf99776bdc7f2fc57290e7694ce7970d2720
Signed-off-by: Anupam <anupam.r@samsung.com>
9 years agoFix build error for x86_64 02/41402/1 accepted/tizen/mobile/20150617.012549 accepted/tizen/tv/20150617.012701 accepted/tizen/wearable/20150617.012811 submit/tizen_mobile/20150615.071435 submit/tizen_mobile/20150616.023421 submit/tizen_tv/20150615.071519 submit/tizen_wearable/20150615.071525
seungku kim [Mon, 15 Jun 2015 06:21:41 +0000 (15:21 +0900)]
Fix build error for x86_64

Change-Id: I5c898212fcebf9a35b0cbf6db8826e154635f96b

9 years ago3.0 specific patch: change the "/usr/lib" path for 64bit build 67/41267/2 accepted/tizen/tv/20150615.001237 accepted/tizen/wearable/20150615.001348 submit/tizen_mobile/20150612.090403 submit/tizen_mobile/20150615.054548 submit/tizen_tv/20150612.090408 submit/tizen_tv/20150615.054612 submit/tizen_wearable/20150612.090412
seungku kim [Fri, 12 Jun 2015 07:22:55 +0000 (16:22 +0900)]
3.0 specific patch: change the "/usr/lib" path for 64bit build

32bit = /usr/lib
64bit = /usr/lib64

Change-Id: I54829075223e474a043b3a645041ad4d607dc358

9 years ago3.0 specific patch: disable some code temporally 63/40963/2 submit/tizen_mobile/20150612.045738 submit/tizen_tv/20150612.045742 submit/tizen_wearable/20150612.045746
seungku kim [Wed, 10 Jun 2015 11:04:40 +0000 (20:04 +0900)]
3.0 specific patch: disable some code temporally

Change-Id: Ieb12255358db40048efdc00cc7bf164504a05da6

9 years agoEnable to use USB bluetooth dongle 67/40867/2
seungku kim [Wed, 10 Jun 2015 04:51:07 +0000 (13:51 +0900)]
Enable to use USB bluetooth dongle

Change-Id: I914991d1bf7e289f070462de2ac67ed64c652fdc

9 years ago3.0 specific patch: change dbus_g to g_dbus 32/40832/2
seungku kim [Tue, 9 Jun 2015 11:54:13 +0000 (20:54 +0900)]
3.0 specific patch: change dbus_g to g_dbus

Change-Id: I547990108d860e1fbcbdae04296d07b4bade992c
TODO: __bt_service_check_privilege() should be resolved

9 years ago3.0 specific patch: fix build error 91/40791/2
seungku kim [Tue, 9 Jun 2015 05:47:11 +0000 (14:47 +0900)]
3.0 specific patch: fix build error

Change-Id: I5133e9ed92abbda3588bdb5d52107c34226e116d

9 years ago3.0 specific patch: fix build error 28/40728/1 submit/tizen_mobile/20150609.051101 submit/tizen_tv/20150609.051113 submit/tizen_wearable/20150609.051121
seungku kim [Mon, 8 Jun 2015 11:06:18 +0000 (20:06 +0900)]
3.0 specific patch: fix build error

Change-Id: I6c5ea3c9272e68fa2de2509375d8457d7ab21a3a

9 years ago3.0 specific patch: classify mobile and the others to enable BT 23/40723/1
seungku kim [Mon, 8 Jun 2015 10:14:47 +0000 (19:14 +0900)]
3.0 specific patch: classify mobile and the others to enable BT

Change-Id: I9a7441b8e915d14eb07ca217518f9b8b44fbafb2

9 years ago3.0 specific patch: change security service 70/40670/1
seungku kim [Mon, 8 Jun 2015 05:28:49 +0000 (14:28 +0900)]
3.0 specific patch: change security service

security-server API -> cynara API

Change-Id: Idf262c49ab1e264e13a37cd0ef17ab5c4d70c1e6

9 years ago3.0 specific patch: enable to build after tizen 2.4 code sync. 69/40669/1
seungku kim [Mon, 8 Jun 2015 04:47:30 +0000 (13:47 +0900)]
3.0 specific patch: enable to build after tizen 2.4 code sync.

Appied patch list:
1> Enable to build arm 64bit
2> Remove eventsystem related code
3> Add libnotify and libnotification related code
4> Remove journal related code
5> Disable BLE related vconfkey values

Change-Id: Ib002e0cd8a4f4fe3de1092b4404e6be51c6946b2

9 years agoCody sync.: merge tizen 2.4 code from spin git 68/40668/1
seungku kim [Fri, 5 Jun 2015 06:27:12 +0000 (15:27 +0900)]
Cody sync.: merge tizen 2.4 code from spin git

---------------------------------------------------------
commit 423c7287ecde33358e7fcb97ca4ed6d35ea5285b
Author: Taejin Woo <tt.woo@samsung.com>
Date:   Fri Jun 5 13:39:08 2015 +0900

    Sync the vconf label from slp

    Change-Id: Id1cfe6ed873c21df05356207834f6d8017fb7c2e
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
---------------------------------------------------------

Change-Id: I12b5952695a4d6848fd74b93f3750c08b036df84

9 years agoRemove rpm installation dependency of bluetooth-tools 86/39386/2 tizen_3.0.2015.q2_common accepted/tizen/mobile/20150514.135928 submit/tizen_common/20150604.888888 submit/tizen_mobile/20150514.064614 submit/tizen_mobile/20150514.064627
seungku kim [Thu, 14 May 2015 06:11:29 +0000 (15:11 +0900)]
Remove rpm installation dependency of bluetooth-tools

Change-Id: I1e468a89686459417ddbd067689e99c0e0effee8
Signed-off-by: seungku kim <seungku.kim@samsung.com>
9 years agoApply the security policy 20/37920/7 accepted/tizen/common/20150521.125353 accepted/tizen/mobile/20150420.084928 accepted/tizen/tv/20150420.084816 accepted/tizen/wearable/20150420.063510 submit/tizen_common/20150520.888882 submit/tizen_mobile/20150415.104705 submit/tizen_mobile/20150417.050528 submit/tizen_mobile/20150417.071159 submit/tizen_mobile/20150420.045515 submit/tizen_tv/20150415.104711 submit/tizen_tv/20150417.050536 submit/tizen_tv/20150417.071202 submit/tizen_tv/20150420.045531 submit/tizen_wearable/20150415.104715 submit/tizen_wearable/20150417.050541 submit/tizen_wearable/20150417.071207 submit/tizen_wearable/20150420.045539
DoHyun Pyun [Wed, 8 Apr 2015 10:43:52 +0000 (19:43 +0900)]
Apply the security policy

Using cynara API we can check the client's privelege.

Change-Id: I758e4b74e181c21361aa25db504ac6a4231b972f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
9 years agoModify frwk test to reflect correct Test Case number in Menu 63/37863/3
Anupam Roy [Tue, 7 Apr 2015 13:00:33 +0000 (09:00 -0400)]
Modify frwk test to reflect correct Test Case number in Menu

Change-Id: I21e13e410528b0e2dd59e4fadd93639df606fa35
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
9 years agoModify to enable bluetooth adapter for mobile device 15/37615/2 submit/tizen_mobile/20150402.062401 submit/tizen_tv/20150402.062409 submit/tizen_wearable/20150402.062413
seungku kim [Wed, 1 Apr 2015 06:28:58 +0000 (15:28 +0900)]
Modify to enable bluetooth adapter for mobile device

vconf set doesn't work properly. This issue should be solved later.

Change-Id: Iea4912ba66117e873f96a690d921ddb40f809e96

9 years agoRevert "Rollback changes to submit TIZEN:COMMON project" 40/37640/1 submit/tizen_mobile/20150401.134006 submit/tizen_tv/20150401.134011 submit/tizen_wearable/20150401.134015
DoHyun Pyun [Wed, 1 Apr 2015 13:33:44 +0000 (22:33 +0900)]
Revert "Rollback changes to submit TIZEN:COMMON project"

This reverts commit 25986f9247de588fc3bb272c5acf6544434f46bf.

Change-Id: I7b4660e4fa378a8f95f0472386bd971dbff5c9b2

9 years agoRollback changes to submit TIZEN:COMMON project 37/37637/1 accepted/tizen/common/20150401.142412 accepted/tizen/mobile/20150402.021326 accepted/tizen/tv/20150402.021241 accepted/tizen/wearable/20150402.021256 submit/tizen/20150401.125341
DoHyun Pyun [Wed, 1 Apr 2015 12:47:39 +0000 (21:47 +0900)]
Rollback changes to submit TIZEN:COMMON project

Previous 3 commits was verified Mobile / TV / Wearable.
But in now we should remove security-service dependency for all profiles.
So in first rollback changes and submit change, and will revert it.

Change-Id: Iae3e595799f04a49e6cb78288d7ddbbf0e82a22b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
9 years agoRemove security-server dependency 36/37636/1
DoHyun Pyun [Wed, 1 Apr 2015 12:34:48 +0000 (21:34 +0900)]
Remove security-server dependency

There was no codes for security-server API, in later we will apply synara APIs.

Change-Id: I6eb2d1fa022143d17c143421d775da49b3690f4d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
9 years agoEnable to build arm 64bit 23/37423/1 submit/tizen_mobile/20150401.025717 submit/tizen_tv/20150401.025721 submit/tizen_wearable/20150401.025725
seungku kim [Thu, 26 Mar 2015 09:34:26 +0000 (18:34 +0900)]
Enable to build arm 64bit

Change-Id: I7fe60fabbd5b522eb01cf78c6afe965e49c9a976

9 years agoFix issues in the merged Tizen 3.0 code 28/36528/3
Sudha Bheemanna [Mon, 9 Mar 2015 14:01:20 +0000 (19:31 +0530)]
Fix issues in the merged Tizen 3.0 code

1> Fix issues in the call back handling.
2> Did the required code changes to fix the merged 2.4 code in the Tizen 3.0 branch.
3> Only Basic test cases verified like BT enable/disable, discovery and pair device.

Change-Id: Ib730a786488ae50eaeae55fd02757b7bd99839e1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
9 years agoCode Merge [Tizen3.0]: Applied tizen.org patches 25/35625/3
h.sandeep [Thu, 19 Feb 2015 13:48:29 +0000 (19:18 +0530)]
Code Merge [Tizen3.0]: Applied tizen.org patches

Applied the tizen branch patches
1> Implement User Space SMACK
2> Fix for x86_64 compatibility.
3> Fix rpmlint errors
4> packaging: remove explicit requires on sys-assert
5> Add a libnotify/gtk popup system to bluetooth-frwk.
6> Add notifications in bt-service
7> Upgrade Bluetooth-frwk to match Bluez5.X
8> Fix build for x64 arch: Remove harcoded path
9> Set bt-core status to match IVI
10> Fix build errors
11> Remove bt-core label access in the manifest file
12> Remove 'smack request' lines
13> Fixed build and remove hardcoding of libdir
14> resetting manifest requested domain to floor
15> Tethering: Remove register NAP service for ConnMan tethering
16> Add a condition on X for BuildRequire of UtilX.
17> PTREL-140: Remove bogus Requires on eglibc
18> Reland fixes to spec that were clobbered by recent downgrade
19> Add the condition to register media player
20> Modify the condition of checking BT enabled
21> Update deprecated libprivilege-control API functions.
22> remove syspopup dependency
23> add bt icon file to package when using notifications
24> launch bt-service as 'guest' user instead of 'app'
25> make sure priv->adapter exists before unref it when freeing gap agent
26> correcly fill device_info struct when parsing device properties
27> use bluez dbus api to enable/disable adapter
28> Remove initscripts
29> do not retrieve adapter path from dbus message
30> set 'User' smack label to bluetooth vconf keys
31> remove bt_status logic from bt-core
32> clean spec file
33> packaging: improvement of dependencies
34> check bt adapter state from bt-service daemon
35> offer __launch_bt_service() function only for Mobile profile
36> remove some bt enable checks
37> Remove obsolete systemd .wants target symlink
38> test/bluetooth-frwk-test: Fix format specifier issue
39> bt-api/bt-adapter: Fix unused variable issues

Change-Id: I277d354aaf0d2f14a535a453dbc3791c3c3682f8
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
9 years agoCode Sync [Tizen3.0]: Merged the tizen_2.4 Spin code to tizen.org 04/35604/3
h.sandeep [Wed, 18 Feb 2015 05:24:16 +0000 (10:54 +0530)]
Code Sync [Tizen3.0]: Merged the tizen_2.4 Spin code to tizen.org

 Spin code from
 project: framework/connectivity/bluetooth-frwk
 branch: tizen_2.4
 change-id: Ibbe6db4cccd67a127bbb5b2f6596220d07a18072

1. Merged the tizen_2.4 Spin code to tizen branch
2. Fixed the build errors
3. Package dependencies are commented under ENABLE_TIZEN_2_4 macro

Change-Id: I44ff6a65151b11a82c0f48e5efe0b63cd96e9bad
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
9 years agobt-api/bt-adapter: Fix unused variable issues 76/34976/1
Gowtham Anandha Babu [Thu, 5 Feb 2015 07:22:42 +0000 (12:52 +0530)]
bt-api/bt-adapter: Fix unused variable issues

Fixed the following warning:
[bt-api/bt-adapter.c:228]: (style) Variable 'timeout' is assigned a value that is never used.

Change-Id: Ifd3eeb6e164d55439db95c83ff7caff776a8c67a
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
9 years agotest/bluetooth-frwk-test: Fix format specifier issue 75/34975/1
Gowtham Anandha Babu [Thu, 5 Feb 2015 07:20:58 +0000 (12:50 +0530)]
test/bluetooth-frwk-test: Fix format specifier issue

Fixed the following warning:
[test/bluetooth-frwk-test.c:755]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.

Change-Id: I152ac0097966edbeec3100740f2248bc022a64f3
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
9 years agoMerge "bt-service/bt-service-avrcp: Fix unused variable errors" into tizen
wu zheng [Thu, 5 Feb 2015 06:50:15 +0000 (22:50 -0800)]
Merge "bt-service/bt-service-avrcp: Fix unused variable errors" into tizen

9 years agoRemove fix the error info is sent when removing paired devices
wu zheng [Thu, 5 Feb 2015 06:37:29 +0000 (14:37 +0800)]
Remove fix the error info is sent when removing paired devices

Not sure that it is the root cause.

Change-Id: I4c7103edcd7aab2983fea8710e792dc5a42b954e
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agobt-service/bt-service-avrcp: Fix unused variable errors 38/34838/2
Gowtham Anandha Babu [Tue, 3 Feb 2015 12:02:35 +0000 (17:32 +0530)]
bt-service/bt-service-avrcp: Fix unused variable errors

Fix the following unused variable errors:
[bt-service/bt-service-avrcp.c:160]: (style) Unused variable: error
[bt-service/bt-service-avrcp.c:161]: (style) Unused variable: value
[bt-service/bt-service-avrcp.c:162]: (style) Unused variable: status

Change-Id: Ifb9d145c6bd5b572c529cd0f069b8502fe447a66
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
9 years agoFix the error info is sent when removing paired devices 13/34113/1
wu zheng [Wed, 21 Jan 2015 09:11:02 +0000 (17:11 +0800)]
Fix the error info is sent when removing paired devices

Paired devices should not be added to list when searching.
When removing paired devices, if paired devices are in list,
the disappeared info is sent not remove device info.

Change-Id: I0f5b3c020b795723cce6e3a8bb3d20e29579203c
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoRemove obsolete systemd .wants target symlink 88/33488/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20150114.102955 accepted/tizen/ivi/20150114.120846 accepted/tizen/mobile/20150114.120904 accepted/tizen/tv/20150114.113240 accepted/tizen/wearable/20150114.124634 submit/tizen/20150114.071906 tizen_3.0_ivi_release
Mikko Ylinen [Mon, 12 Jan 2015 07:33:59 +0000 (09:33 +0200)]
Remove obsolete systemd .wants target symlink

bluetooth-frwk-service is dbus startable so the symlink
to tizen-middleware.target.wants is not needed.

Change-Id: Ief742950f1800de02436f844059555e67ff28d27
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoremove some bt enable checks 47/32347/2 accepted/tizen/common/20141222.111329 accepted/tizen/ivi/20141223.020116 accepted/tizen/mobile/20141222.135414 accepted/tizen/tv/20141222.133837 accepted/tizen/wearable/20141222.134738 submit/tizen/20141222.094713
Corentin Lecouvey [Wed, 10 Dec 2014 17:18:06 +0000 (18:18 +0100)]
remove some bt enable checks

bluetooth adapter doesn't need to be powered on for gettting
adapter properties.

Remove those checks allows to retrieve adapter properties from
tizen.bluetooth.getDefaultAdapter() Web API call even if adapter
is powered off.

It helps to fix TC-1994.

Change-Id: If41ca8ac5a23a73c22e776cf2a19e4c4b0a819c9
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoremove dbus matches when unregistering events 58/32158/1 accepted/tizen/common/20141218.170318 accepted/tizen/ivi/20141220.084353 accepted/tizen/mobile/20141219.010510 accepted/tizen/tv/20141219.010338 accepted/tizen/wearable/20141219.141820 submit/tizen/20141218.031627
Corentin Lecouvey [Mon, 15 Dec 2014 15:33:32 +0000 (16:33 +0100)]
remove dbus matches when unregistering events

While running TCT tests, the dbus match limit seems to be reached
and then TCT application crashes.

Change-Id: I15ec5493f1d8b6ad733ea5b852216b124ec5ec78
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agofix build issue 08/32108/1 accepted/tizen/common/20141216.093438 accepted/tizen/ivi/20141216.072436 accepted/tizen/mobile/20141217.085945 accepted/tizen/tv/20141217.013140 accepted/tizen/wearable/20141217.020808 submit/tizen/20141216.020535 submit/tizen_ivi/20141216.161616 submit/tizen_ivi/20141216.171717
Corentin Lecouvey [Mon, 15 Dec 2014 14:59:39 +0000 (15:59 +0100)]
fix build issue

Change-Id: Ib61eeeffb9a15b466610de3b323f21cfda38e0e1
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agofix destroy bonding device use case 33/31833/2 submit/tizen/20141215.095932 submit/tizen_ivi/20141215.151515
Corentin Lecouvey [Wed, 10 Dec 2014 17:15:47 +0000 (18:15 +0100)]
fix destroy bonding device use case

9319c8 "add device disappear event" commit brings a regression.
It added a logic of storing paired device in glist which is not good and check
paired device in glist before sending a 'destroy bond' or 'disappear device' events.

It results that if a device was already paired before starting bt-service daemon,
the paired device was not listed in the glist and so 'destroy bond' event
was never triggered in case of unbonding request.

To fix it, let's consider that if device is present in glist, we trig 'disappear device'
event and otherwise we trig 'destroy bond' event.

Change-Id: I202cdeea48af7e3168c089c4164c7d7ef4711b2c
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agobt-service/bt-service-event-receiver: Fix performance and style issues 34/31934/1
Vikrampal Yadav [Fri, 12 Dec 2014 10:15:02 +0000 (15:45 +0530)]
bt-service/bt-service-event-receiver: Fix performance and style issues

Change-Id: I682dc2ab84ae44fef604f627338a3e39be343d09

10 years agoMerge changes I9d4640ac,Iaf9170a7,I05dcd3ef,I7d6816f0 into tizen accepted/tizen/common/20141215.134656 submit/tizen_common/20141212.162305
wu zheng [Wed, 10 Dec 2014 05:51:51 +0000 (21:51 -0800)]
Merge changes I9d4640ac,Iaf9170a7,I05dcd3ef,I7d6816f0 into tizen

* changes:
  offer __launch_bt_service() function only for Mobile profile
  keep current bluetooth state when starting bt-service
  check bt adapter state from bt-service daemon
  remove bt_status logic from bt-core

10 years agoMerge "bt-api/bt-event-handler: Fix array index issue" into tizen
wu zheng [Wed, 10 Dec 2014 05:47:32 +0000 (21:47 -0800)]
Merge "bt-api/bt-event-handler: Fix array index issue" into tizen

10 years agobt-api/bt-event-handler: Fix array index issue 56/31756/1
Gowtham Anandha Babu [Tue, 9 Dec 2014 12:39:43 +0000 (18:09 +0530)]
bt-api/bt-event-handler: Fix array index issue

Array index 'i' is used before limits check.

Change-Id: I008cde77339b4d68aa11bcecccf15543906234e5