platform/core/connectivity/bluetooth-agent.git
5 years agoModify dbus policies based on default deny 05/187405/1
Wootak Jung [Thu, 23 Aug 2018 02:39:46 +0000 (11:39 +0900)]
Modify dbus policies based on default deny

Change-Id: Ica9116aaf08d294f013e048dccccaec75566cfa4

5 years agoFix non-privilege methods deny issue 63/186663/1 accepted/tizen/unified/20180814.174914 submit/tizen/20180813.231906
Wootak Jung [Mon, 13 Aug 2018 08:18:06 +0000 (17:18 +0900)]
Fix non-privilege methods deny issue

non-privilege methods are denied after default deny policy was applied
- Rejected send message, 1 matched rules; type="method_call", sender=":1.84"
  (uid=5001 pid=925 comm="") interface="Org.Hfp.App.Interface" member="RegisterApplication"
  error name="(unset)" requested_reply="0" destination="org.bluez.ag_agent"
  privilege="(n/a)" (uid=551 pid=878 comm="")

Change-Id: I55aee8c1ab49a95fa52fea852f2ed8160008b5f9

5 years agoExclude coverage for pb-agent 73/183673/1 accepted/tizen/unified/20180813.061325 submit/tizen/20180806.015258 submit/tizen/20180810.045807 submit/tizen/20180813.061545 submit/tizen/20180813.101514 submit/tizen/20180814.024636 submit/tizen/20180814.040447
DoHyun Pyun [Tue, 10 Jul 2018 00:51:38 +0000 (09:51 +0900)]
Exclude coverage for pb-agent

pb-agent - Line Cov: 95.9%, Func Cov: 100%)

Change-Id: Iee4fccae8e65a9953c781ff1a2d468f13727e1d6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoExclude coverage for map-agent 72/183672/1
DoHyun Pyun [Tue, 10 Jul 2018 00:37:00 +0000 (09:37 +0900)]
Exclude coverage for map-agent

map-agent - Line Cov: 94.5%, Func Cov: 100%)

Change-Id: I21cb93a8253f4a3f3ece73c833d99d151e357666
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoExclude coverage for ipsp-agent 56/183356/1
DoHyun Pyun [Thu, 5 Jul 2018 00:05:50 +0000 (09:05 +0900)]
Exclude coverage for ipsp-agent

ipsp-agent - Line Cov: 100%, Func Cov: 100%)

Change-Id: I8fde27e2daa9a168444c6af82456ed7a691d4df9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoExclude coverage for hid-agent 75/183275/2
DoHyun Pyun [Wed, 4 Jul 2018 04:51:53 +0000 (13:51 +0900)]
Exclude coverage for hid-agent

hid-agent - Line Cov: 89.7%, Func Cov: 100%)

Change-Id: I18009c78521e56fc3739fe8ef470d23abf430758
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoExclude coverage for ag-agent 68/183268/2
DoHyun Pyun [Wed, 4 Jul 2018 04:21:41 +0000 (13:21 +0900)]
Exclude coverage for ag-agent

The static functions invoked by external callback operation
can be called in gtest. So we exclude it in the coverage.
(ag-agent - Line Cov: 87.3%, Func Cov: 100%)

Change-Id: I2a0667592b4afbb81aa8e56475812271b6a578dc
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoModify the assert condition for unit test cases (PASSED 114 tests) 50/183250/3
DoHyun Pyun [Wed, 4 Jul 2018 01:46:57 +0000 (10:46 +0900)]
Modify the assert condition for unit test cases (PASSED 114 tests)

Change-Id: Ic85b1ed000dc7a7c82db205425b054c7d47902db
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the exception handling logic for TC 58/183158/1
DoHyun Pyun [Tue, 3 Jul 2018 04:37:41 +0000 (13:37 +0900)]
Add the exception handling logic for TC

Change-Id: Ica763636439fa93579f0c92c443f977a7af91c98
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoRemove unnecessary header file 39/183139/1
DoHyun Pyun [Tue, 3 Jul 2018 00:52:06 +0000 (09:52 +0900)]
Remove unnecessary header file

Change-Id: I8ed1f1f36e454d2cf573077080a11327b96bdc0a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the testcases for each agent 57/183057/2
DoHyun Pyun [Mon, 2 Jul 2018 05:00:05 +0000 (14:00 +0900)]
Add the testcases for each agent

Change-Id: Ibe466c29753154387d32586d0306c1aad1e5ac0d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoModify the pb agent for gtest 56/183056/1
DoHyun Pyun [Mon, 2 Jul 2018 04:58:27 +0000 (13:58 +0900)]
Modify the pb agent for gtest

Change-Id: Ia3255caee5677a6fdcaeb125b99b18c412ae54fb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoModify the map agent for gtest 55/183055/1
DoHyun Pyun [Mon, 2 Jul 2018 04:57:58 +0000 (13:57 +0900)]
Modify the map agent for gtest

Change-Id: I0139cdb9dd5a92234a39398a7a612adb11b33657
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoModify the hid agent for gtest 54/183054/1
DoHyun Pyun [Mon, 2 Jul 2018 04:57:41 +0000 (13:57 +0900)]
Modify the hid agent for gtest

Change-Id: I6e94e957e778a213c59f9f5a5875c11765f04af2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoModify the ipsp agent for gtest 53/183053/1
DoHyun Pyun [Mon, 2 Jul 2018 04:55:55 +0000 (13:55 +0900)]
Modify the ipsp agent for gtest

Change-Id: Ie35a740c356f5c2c93ef23784d75252222714a87
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd testcases for ag-agent 23/182023/1
DoHyun Pyun [Wed, 20 Jun 2018 01:57:10 +0000 (10:57 +0900)]
Add testcases for ag-agent

Change-Id: Id7e394bbb0ef386e91dfaa472871b8fbd70a6933
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the base code for gtest verification 86/180786/1
DoHyun Pyun [Mon, 4 Jun 2018 04:47:38 +0000 (13:47 +0900)]
Add the base code for gtest verification

Change-Id: I5d25520e06ea8c91b8608cd51aa031759972059d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoRefactory the packages for each functionality 91/170791/4
DoHyun Pyun [Mon, 19 Feb 2018 01:20:38 +0000 (10:20 +0900)]
Refactory the packages for each functionality

Change-Id: Icb671c48b1b0f17b06b5e691161362f0c3c94497
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoRemove unused dependency to dbus-glib 25/178925/1 accepted/tizen/unified/20180516.065704 submit/tizen/20180515.233956
Hyotaek Shim [Tue, 15 May 2018 01:47:54 +0000 (10:47 +0900)]
Remove unused dependency to dbus-glib

Change-Id: I3b9ac1be9f5ec2f4aa9abd6ee200de8c95a6b5a8
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
5 years agoFix the prevent issue 73/177673/1 accepted/tizen/unified/20180503.080726 submit/tizen/20180502.234612
DoHyun Pyun [Wed, 2 May 2018 23:24:32 +0000 (08:24 +0900)]
Fix the prevent issue

Change-Id: I9829b7507ef7636a5f625a45150312ff2413b454
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoFix the svace issue 46/177146/1 accepted/tizen/unified/20180426.145841 submit/tizen/20180426.011350
Hyuk Lee [Thu, 26 Apr 2018 00:57:38 +0000 (09:57 +0900)]
Fix the svace issue

Change-Id: I4147cd5044b26ba42a7d49d44b5c5855b01237d8
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
6 years agoFix dbus policy issue 54/176554/1 accepted/tizen/unified/20180423.062834 submit/tizen/20180423.011216
Wootak Jung [Fri, 20 Apr 2018 01:07:19 +0000 (10:07 +0900)]
Fix dbus policy issue

Remove default deny rule

Change-Id: I3bd54815bd383e285f344104c57cba02a4feade7

6 years agoAdd default deny policy in conf files 56/176156/3
Wootak Jung [Tue, 17 Apr 2018 07:24:22 +0000 (16:24 +0900)]
Add default deny policy in conf files

Change-Id: If30c591c45b16cb2a33a201435080ec36efc0f57

6 years agoFix bluetooth-ag-agent crash [JIRA-TFIVE-1145] 12/175812/1 accepted/tizen/unified/20180416.213849 submit/tizen/20180416.022849
Atul Rai [Thu, 12 Apr 2018 11:46:12 +0000 (17:16 +0530)]
Fix bluetooth-ag-agent crash [JIRA-TFIVE-1145]

This patch removes g_free(path) in __bt_ag_agent_filter_cb to
fix double free of path object.

Change-Id: I7df6dd639f43bc006e53e4aac8d8d4ae11e94aad
Signed-off-by: Atul Rai <a.rai@samsung.com>
6 years agoFix the coverity issues 20/175420/1 accepted/tizen/unified/20180411.065610 submit/tizen/20180410.230750
Wootak Jung [Tue, 10 Apr 2018 06:48:09 +0000 (15:48 +0900)]
Fix the coverity issues

- Fix memory leak issues
- Modify variable name for readability

Change-Id: Iaea7edcb18439b4b127aedbd6b263fe21da7d81d

6 years ago[Bluetooth-agent]SVACE issue fixed for WGID : 25/173425/1
Abhishek Chandra [Wed, 21 Mar 2018 09:17:52 +0000 (14:47 +0530)]
[Bluetooth-agent]SVACE issue fixed for WGID :
- 306030
- 306033

Change-Id: I8d9d81a720f6f15c5456c7fbcc3b1971a585bd72
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
6 years agoFix NULL dereference issue and uninitialized variable issue 16/172416/2
Wootak Jung [Wed, 14 Mar 2018 01:27:00 +0000 (10:27 +0900)]
Fix NULL dereference issue and uninitialized variable issue

Change-Id: I6ef90d64a29ef0ac7f0ee28f23dd4361e5aeba16

6 years agoComment out deprecated image util API 33/160933/1 accepted/tizen/unified/20171123.065901 accepted/tizen/unified/20171123.184032 submit/tizen/20171121.011913 submit/tizen/20171123.020442
DoHyun Pyun [Tue, 21 Nov 2017 00:08:42 +0000 (09:08 +0900)]
Comment out deprecated image util API

We will replace the code using new image util APIs

Change-Id: I4ba8c2f9736cff5c19e388a2eddf48d6ef47f1c9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoSupport multiple registration for HID device 07/155607/1
Deokhyun Kim [Fri, 13 Oct 2017 05:57:06 +0000 (14:57 +0900)]
Support multiple registration for HID device

 - hid_device_activate fails when another app is already resistered on
   background.

Change-Id: I16bc2643c4df41c31f28ef77c3f902fe37a21785
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoUse secure atcmd on log to protect private information. 06/155606/1
Deokhyun Kim [Fri, 13 Oct 2017 05:52:31 +0000 (14:52 +0900)]
Use secure atcmd on log to protect private information.

Change-Id: I24d898da980c7e15b480967cbbfa3af95f6dfdbd
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoAdd the function for checking model name of Target 03/150603/4
Hyuk Lee [Mon, 18 Sep 2017 04:57:01 +0000 (13:57 +0900)]
Add the function for checking model name of Target

Change-Id: I1b4ad87a7e0bdc02a866db2153df61b8e35ef1b2
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
6 years agoSet signal name to dbus subscription 38/150538/1 accepted/tizen/unified/20170918.093952 submit/tizen/20170918.010837
injun.yang [Fri, 15 Sep 2017 09:22:20 +0000 (18:22 +0900)]
Set signal name to dbus subscription

[Problem] Redundant callback invoked
[Cause & Measure] Set signal name to dbus subscritpion

Change-Id: Id5dbecc42871a7f70a80d13e05498f47321c88f8
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoModify the return value properly 37/150537/1
injun.yang [Fri, 15 Sep 2017 08:57:28 +0000 (17:57 +0900)]
Modify the return value properly

Change-Id: Ic25f62ace73d679288a0511ff8da13f56870471d
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoHFP_1_7: eSCO s4 setting Changes 87/150287/1
h.sandeep [Thu, 8 Jun 2017 22:28:32 +0000 (03:58 +0530)]
HFP_1_7: eSCO s4 setting Changes

Change-Id: Ic2f1b0d5c8605e1c2b4276458d2320b0bb3a0428
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoAdd the missed hid-agent folder 42/148242/1 accepted/tizen/unified/20170908.061951 submit/tizen/20170906.230917
DoHyun Pyun [Thu, 7 Sep 2017 07:28:33 +0000 (16:28 +0900)]
Add the missed hid-agent folder

Change-Id: I9adbf5b6a24cb5df0d6fb98bc938b18f45e433ca
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoApply tizen 3.0 based product patchsets 69/147969/1
DoHyun Pyun [Wed, 6 Sep 2017 06:50:46 +0000 (15:50 +0900)]
Apply tizen 3.0 based product patchsets

----------------------------------------------------
commit 5af925889097dd358930615e9035a36fd5e26c14
Author: DoHyun Pyun <dh79.pyun@samsung.com>
Date:   Thu Feb 23 08:37:46 2017 +0900

    Fix the build error for wearable and IVI profile
----------------------------------------------------

Change-Id: I971d222892de723806f342e52074220398984333
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoAdd SmackProcessLabel option in systemd service files 75/143675/1 accepted/tizen/4.0/unified/20170828.223427 accepted/tizen/unified/20170814.060141 submit/tizen/20170811.080019 submit/tizen_4.0/20170828.100003
DoHyun Pyun [Fri, 11 Aug 2017 02:41:41 +0000 (11:41 +0900)]
Add SmackProcessLabel option in systemd service files

Change-Id: If9bef0f17e7eda8323e0634e8e29b501ada5701c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoAdd the dbus privilege check logic for platform APIs 91/141391/1 accepted/tizen/unified/20170808.171419 accepted/tizen/unified/20170809.135139 submit/tizen/20170808.020532 submit/tizen/20170808.231821
DoHyun Pyun [Mon, 31 Jul 2017 08:25:38 +0000 (17:25 +0900)]
Add the dbus privilege check logic for platform APIs

Change-Id: Idc881c48fa63e154e7d9abe83a57fe7bde2d7413
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoRemove the redundency to make profile rpms 65/139265/3 accepted/tizen/4.0/unified/20170816.013509 accepted/tizen/4.0/unified/20170816.015952 accepted/tizen/unified/20170721.024457 submit/tizen/20170719.005005 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
DoHyun Pyun [Tue, 18 Jul 2017 06:34:06 +0000 (15:34 +0900)]
Remove the redundency to make profile rpms

Check the specific features in run-time using the
profile information. So we can build all source codes
at once.

Change-Id: Ibca746737712b1d178717e450d5fc54dbea9bd97
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoModify the pid and gid of map agent to network_fw 77/135177/1 accepted/tizen/unified/20170718.174147 submit/tizen/20170621.062638 submit/tizen/20170717.090652
Hyuk Lee [Wed, 21 Jun 2017 06:21:21 +0000 (15:21 +0900)]
Modify the pid and gid of map agent to network_fw

Change-Id: I2d06c62b99bf0581c9d3b84bc08802db63f8020e
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
6 years agoRemove the hard-coded AP global address in ipsp 70/135170/1
Hyuk Lee [Wed, 21 Jun 2017 06:03:20 +0000 (15:03 +0900)]
Remove the hard-coded AP global address in ipsp

Change-Id: I7c4a2e8c17e0b33a730ba1d5af0cc2105d5ec882
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
6 years agoipsp: Fix invalid return value check 87/134087/1 submit/tizen/20170620.073139
Syam Sidhardhan [Wed, 14 Jun 2017 11:50:07 +0000 (17:20 +0530)]
ipsp: Fix invalid return value check

Here the variable network_addr will always be a valid one.

Change-Id: Ie46e1568e49de3cf884db7b7585ad72a46916dc6
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
6 years agoAdd the ag-agent to wearable profile 47/133947/1 submit/tizen/20170614.052913
Hyuk Lee [Wed, 14 Jun 2017 05:19:51 +0000 (14:19 +0900)]
Add the ag-agent to wearable profile

Change-Id: Ie44fe221a72c924f7b37051d63ba831e776509db
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
6 years agoModify the pid and gid of pbap agent to network_fw 39/132439/1 accepted/tizen/unified/20170613.194512 submit/tizen/20170613.061617
DoHyun Pyun [Mon, 5 Jun 2017 07:25:47 +0000 (16:25 +0900)]
Modify the pid and gid of pbap agent to network_fw

Change-Id: I5ff0b5d2c4e014a484be495bc8ac5c786865028b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoReplace the sscanf function 87/127487/2 accepted/tizen/unified/20170428.033207 submit/tizen/20170428.004210 tizen_4.0.m1_release
Hyuk Lee [Thu, 27 Apr 2017 11:43:50 +0000 (20:43 +0900)]
Replace the sscanf function

Change-Id: I08fd8228137dfbc8c554b7e9fb2e5332bce81053
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoMerge "Fix the svace issue" into tizen submit/tizen/20170424.043020
Pyun DoHyun [Fri, 21 Apr 2017 04:41:04 +0000 (21:41 -0700)]
Merge "Fix the svace issue" into tizen

7 years agoFix build error 11/126311/1
Hyuk Lee [Fri, 21 Apr 2017 02:00:10 +0000 (11:00 +0900)]
Fix build error

Change-Id: Id0b2e252b01094018eaabb5c22337c70b7bf8a9e
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoFix the svace issue 11/126211/2
Hyuk Lee [Thu, 20 Apr 2017 12:13:01 +0000 (21:13 +0900)]
Fix the svace issue

Change-Id: I2eec3c9ecddd79c02756f9ea53e3a82944624c31
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agobt-ipsp: Modify _execute_command function 45/126045/3
h.sandeep [Wed, 19 Apr 2017 09:57:44 +0000 (15:27 +0530)]
bt-ipsp: Modify _execute_command function

This patch addresses the issue raised in the below link
http://suprem.sec.samsung.net/jira/browse/TSAM-13214

Change-Id: Icac1765b8a42f283b0b73ce41a6b48c70411df1d
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoModify the install path for license file 58/121158/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170327.143012 accepted/tizen/ivi/20170328.054937 accepted/tizen/mobile/20170328.054832 accepted/tizen/unified/20170328.054956 accepted/tizen/wearable/20170328.054916 submit/tizen/20170327.075259
DoHyun Pyun [Mon, 27 Mar 2017 07:28:21 +0000 (16:28 +0900)]
Modify the install path for license file

Change-Id: Id69d06ed1006116621025417621a1415b6e21f45
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the ipsp memory leak 32/119232/1
Lee Hyuk [Thu, 16 Mar 2017 05:30:52 +0000 (14:30 +0900)]
Fix the ipsp memory leak

Change-Id: I81bee30cde6a613d7706f685971c858750fa9c95
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoApply 4.0 bulid config option for building 19/116919/1 accepted/tizen/common/20170303.090636 accepted/tizen/ivi/20170302.121724 accepted/tizen/mobile/20170302.121407 accepted/tizen/unified/20170309.032834 accepted/tizen/wearable/20170302.121625 submit/tizen/20170302.014914 submit/tizen_unified/20170308.100406
DoHyun Pyun [Thu, 2 Mar 2017 04:28:47 +0000 (13:28 +0900)]
Apply 4.0 bulid config option for building

Change-Id: I444f43ba47ad3a804f9aa066f61fcdf98efca52a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the build error for wearable and IVI profile 69/116069/1
DoHyun Pyun [Wed, 22 Feb 2017 23:37:46 +0000 (08:37 +0900)]
Fix the build error for wearable and IVI profile

Change-Id: I4a9054f11ab550b8e25dcfcf8674482462ea2bc7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the svace issue (67042) 68/116068/1
DoHyun Pyun [Tue, 21 Feb 2017 23:28:46 +0000 (08:28 +0900)]
Fix the svace issue (67042)

Change-Id: I84a4e28434cce5382578cff8b4f1bd9b546d5552
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMove bt-ipsp daemon to agent package 29/113329/1 submit/tizen/20170220.233016
Lee Hyuk [Mon, 23 Jan 2017 02:24:11 +0000 (11:24 +0900)]
Move bt-ipsp daemon to agent package

Change-Id: Iab0ce42a4de54837da4957b6cb98d0ab4c873532
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoHandle switching between mutiple headsets 17/113317/1
Gowtham Anandha Babu [Thu, 29 Dec 2016 13:56:22 +0000 (19:26 +0530)]
Handle switching between mutiple headsets

Change-Id: I26351ad6959ce12b201839d446a54aea688c78f8
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoEnhance the debug message 89/113289/1
Injun Yang [Fri, 9 Dec 2016 06:13:43 +0000 (15:13 +0900)]
Enhance the debug message

Change-Id: I82e069ea5a0cc7af7defd87b7d83b8276036d4a2
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoFix the coding style errors 24/102924/1 submit/tizen/20161219.233906 submit/tizen/20170112.021958 submit/tizen/20170116.115935
DoHyun Pyun [Tue, 6 Dec 2016 08:45:53 +0000 (17:45 +0900)]
Fix the coding style errors

Change-Id: Iab736fd74d42cc4c2f6920e7838c5d1e17009080
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the svace 2.2 issue 34/102634/1
DoHyun Pyun [Tue, 6 Dec 2016 08:24:50 +0000 (17:24 +0900)]
Fix the svace 2.2 issue

Change-Id: Ida47600af6d9f6f337542055705c9e4d8d04581e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoRemove Profile Build Dependency 27/92227/9
MyungJoo Ham [Fri, 14 Oct 2016 04:56:38 +0000 (04:56 +0000)]
Remove Profile Build Dependency

This commit completely removes the build dependencies
on Tizen profile.

Note:

1. This commit is not required for Tizen 3.0 release,
but for later Tizen versions. If maintainers do not feel
comfortable because of the release schedule, maintainers
may delay SR/merge this commit.

2. When maintainers submit SR, they need to submit
JIRA-TRE issues of the followings:

  - Add bluetooth-agent-profile_common for common profile if common has bluetooth-agent
  - Add bluetooth-agent-profile_mobile for mobile profile if mobile has bluetooth-agent
  - Add bluetooth-agent-profile_wearable for wearable profile if wearable has bluetooth-agent
  - Add bluetooth-agent-profile_ivi for ivi profile if ivi has bluetooth-agent
  - Add bluetooth-agent-profile_tv for tv profile if tv has bluetooth-agent

Note that you should NOT remove bluetooth-agent from the current
meta when you add these bluetooth-agent-profile_*

3. The %if / %endif with %{?profile} statements do not
deteriorate Tizen 4.0 reconfigurability because they are
written to be ignored if profile is common or "undefined".

  They may be removed after 4.0 development. However, for a vendor
that does want only ONE profile at any case, this may increase the build
time by a few seconds. If they are that much desperate to reduce a few
seconds of build time (in my PC, it's about 4 seconds), they may keep
the %if/%endif statements. However, for public, doing this saves
about N minutes of build time.

  These statements are added because some of current Tizen profile OBS
projects do not have BuildRequired packages. Thus, this commit is not
suitable as a model for other packages to refactor spec files.

Change-Id: Ia28e511765b11e27135d647684d6511406e99033
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix x64_86 build break 80/101780/1 submit/tizen/20161205.050350
DoHyun Pyun [Fri, 2 Dec 2016 06:41:20 +0000 (15:41 +0900)]
Fix x64_86 build break

Change-Id: I70c897c50c9805331df27d2e71c941a5eda00836
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix svace 2.2 issues 76/100776/1
DoHyun Pyun [Tue, 29 Nov 2016 07:37:32 +0000 (16:37 +0900)]
Fix svace 2.2 issues

Change-Id: Ib60d7b97659da3ccffd3103e6bd367c0688d4daa
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoModify build feature names as Tizen 3.0 build option naming rule 87/98887/1 accepted/tizen/common/20161122.193032 accepted/tizen/ivi/20161123.000059 accepted/tizen/mobile/20161123.000012 accepted/tizen/wearable/20161123.000042 submit/tizen/20161122.051739
DoHyun Pyun [Mon, 21 Nov 2016 06:04:11 +0000 (15:04 +0900)]
Modify build feature names as Tizen 3.0 build option naming rule

Change-Id: I30890bc8f6f8e401fddeb72d1c7d2838c4de8c70
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the coding rule 97/95897/1 accepted/tizen/ivi/20161108.001307 accepted/tizen/mobile/20161108.001218 accepted/tizen/wearable/20161108.001252 submit/tizen/20161107.085724
Hyuk Lee [Mon, 7 Nov 2016 05:09:03 +0000 (14:09 +0900)]
Fix the coding rule

Change-Id: I5e89eff94978e245594a7fecca0b6e838bb8d836
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoCorrect the pbap service file's path 25/95325/1
DoHyun Pyun [Thu, 3 Nov 2016 01:15:21 +0000 (10:15 +0900)]
Correct the pbap service file's path

Change-Id: Ib57b2531e8422fedb1485527a346fd1c13ef8c8d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoEnable the pbap server function in the platform 05/94305/1
DoHyun Pyun [Fri, 28 Oct 2016 06:32:37 +0000 (15:32 +0900)]
Enable the pbap server function in the platform

Change-Id: I4a56f4d041c9c23612f3a35246555e5a9c675c93
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoModify the 'or' operation statement 61/92661/1 accepted/tizen/3.0/ivi/20161028.134106 accepted/tizen/3.0/mobile/20161028.133221 accepted/tizen/3.0/wearable/20161028.133559 accepted/tizen/common/20161018.175036 accepted/tizen/ivi/20161018.091339 accepted/tizen/mobile/20161018.091331 accepted/tizen/wearable/20161018.091335 submit/tizen/20161018.013720 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
DoHyun Pyun [Tue, 18 Oct 2016 02:37:30 +0000 (11:37 +0900)]
Modify the 'or' operation statement

Change-Id: I0d94c5197325d4fd03de088ada680f04b12414fd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoInclude the codec negotiation feature only for wearable 42/92542/1
DoHyun Pyun [Mon, 17 Oct 2016 09:56:53 +0000 (18:56 +0900)]
Include the codec negotiation feature only for wearable

Change-Id: I8f3824fc3a2f547fca98211567f483ae78925e8c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoCovert the type for the sizeof function for arm64 build 68/91868/2 accepted/tizen/common/20161012.154433 accepted/tizen/ivi/20161013.071941 accepted/tizen/mobile/20161013.071856 accepted/tizen/wearable/20161013.071920 submit/tizen/20161012.034939
DoHyun Pyun [Wed, 12 Oct 2016 03:44:51 +0000 (12:44 +0900)]
Covert the type for the sizeof function for arm64 build

Change-Id: I2354b0680680c1292306e91d5c5468eb04009735
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoExclude enhance audio feature 19/91719/1 accepted/tizen/common/20161011.154221 accepted/tizen/ivi/20161011.234124 accepted/tizen/mobile/20161011.234120 accepted/tizen/wearable/20161011.234115 submit/tizen/20161011.045858
DoHyun Pyun [Tue, 11 Oct 2016 04:50:14 +0000 (13:50 +0900)]
Exclude enhance audio feature

During A2DP streaming SCO is playing, the dbus call for pulseaudio is
blocked. Because of this, the target is doing abnormal operations.
After re-verifying the feature, we will include it again.

Change-Id: I669f20e223f7b7d1f730a68c5f7ca1af6b1634fa
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoModify the agent list for IVI profile 91/91691/1 accepted/tizen/ivi/20161011.234037 accepted/tizen/mobile/20161011.234035 accepted/tizen/wearable/20161011.234032 submit/tizen/20161011.015354
DoHyun Pyun [Tue, 11 Oct 2016 01:28:55 +0000 (10:28 +0900)]
Modify the agent list for IVI profile

Change-Id: I1c4ca9d218cdb8a4f4e5c689f7cea27c0cc7308d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoRemove trivial unnecessary build dependency 30/91230/1
MyungJoo Ham [Thu, 6 Oct 2016 10:03:41 +0000 (10:03 +0000)]
Remove trivial unnecessary build dependency

If this package is not required by TV profile,
removing this from meta-tv.git is sufficient.

For temporary build optimization, you may remove
this package from Tizen:TV OBS project as well,
which is already done so and that's why this commit
is removing completely useless while potentially
dangerous macro usage.

Using "profile" macro in spec file is
not recommended and should become deprecated later.

Another commit that removes the usage of "profile"
completely will follow soon

However, this fix is not required for Tizen 3.0 release and
this is for later releases although this is a very trivial patch.

Change-Id: I1df8112e4932c01c937e3dcf4c7ff360e923f65c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix the CXXFLAGS 39/88239/1 accepted/tizen/3.0/ivi/20161011.053629 accepted/tizen/3.0/mobile/20161015.032452 accepted/tizen/3.0/wearable/20161015.080444 accepted/tizen/common/20160921.161629 accepted/tizen/ivi/20160922.041631 accepted/tizen/mobile/20160922.041549 accepted/tizen/wearable/20160922.041607 submit/tizen/20160921.010208 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
Slava Barinov [Thu, 15 Sep 2016 11:03:17 +0000 (14:03 +0300)]
Fix the CXXFLAGS

Without CXXFLAGS the cmake test produces
ld: CMakeFiles/cmTryCompileExec3702791433.dir/testCXXCompiler.cxx.o: relocation R_X86_64_PC32 against undefined symbol `__asan_init' can not be used when making a shared object
for certain builds (e.g. ASan)

Change-Id: I6d6b678e07e90e66545264d1e7a503e3a3702836
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
7 years agoAdd new header for image-utility internal API 31/87331/1 accepted/tizen/common/20160909.114737 accepted/tizen/ivi/20160909.062502 accepted/tizen/mobile/20160909.062408 accepted/tizen/wearable/20160909.062443 submit/tizen/20160909.003012
Jiyong Min [Wed, 7 Sep 2016 10:43:33 +0000 (19:43 +0900)]
Add new header for image-utility internal API

Change-Id: I8491d60ad5f177bb5c5af0a4cc9079cb0d7320fe
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
7 years agoFix Svace issue 83/80583/1 accepted/tizen/common/20160719.172608 accepted/tizen/ivi/20160719.060912 accepted/tizen/mobile/20160719.060941 accepted/tizen/wearable/20160719.060920 submit/tizen/20160719.025523
DoHyun Pyun [Tue, 19 Jul 2016 02:54:31 +0000 (11:54 +0900)]
Fix Svace issue

Change-Id: I54b18ebdceccf945a2b4ba4c7fea1b22d6fb37b2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the Svace issue 15/80215/1 accepted/tizen/common/20160715.175547 accepted/tizen/ivi/20160717.034820 accepted/tizen/mobile/20160717.034802 accepted/tizen/wearable/20160717.034703 submit/tizen/20160715.084941
Hyuk Lee [Fri, 15 Jul 2016 08:32:12 +0000 (17:32 +0900)]
Fix the Svace issue

Change-Id: I5c01ed8a368aa98ce9543a9330766fc863f1591d
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoAdd the memory free for node_info 78/72478/1 accepted/tizen/common/20160602.140355 accepted/tizen/ivi/20160602.231209 accepted/tizen/mobile/20160602.231220 accepted/tizen/wearable/20160602.231158 submit/tizen/20160602.084136
Hyuk Lee [Wed, 1 Jun 2016 07:15:47 +0000 (16:15 +0900)]
Add the memory free for node_info

Change-Id: Ibcbfd4c922dd23e85830d03a42322bb7c912dbd9
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoFix the coding style errors 13/72013/1
DoHyun Pyun [Mon, 30 May 2016 07:47:30 +0000 (16:47 +0900)]
Fix the coding style errors

Change-Id: I620690c598f53cedeea2d96f350bf724519234cf
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd network_fw gid / uid in bluetooth-pb-agent 80/71380/1 accepted/tizen/common/20160530.131720 accepted/tizen/ivi/20160602.021845 accepted/tizen/mobile/20160602.021927 accepted/tizen/wearable/20160602.021850 submit/tizen/20160530.005306
DoHyun Pyun [Wed, 25 May 2016 07:41:44 +0000 (16:41 +0900)]
Add network_fw gid / uid in bluetooth-pb-agent

Change-Id: I5248736615752731dfc6178101cffadb8f7e07d0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the svace issue 36/71036/1 accepted/tizen/common/20160524.150447 accepted/tizen/ivi/20160524.095058 accepted/tizen/mobile/20160524.095007 accepted/tizen/wearable/20160524.095120 submit/tizen/20160524.012152
Hyuk Lee [Tue, 24 May 2016 00:05:30 +0000 (09:05 +0900)]
Fix the svace issue

- WGID:67836(double free)
- WGID:81568, 81570(null after deref)
- WGID:81578(memory leak)

Change-Id: I774d485be0797636cf0f0a4b3801c43e20904793
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoExclude bluetooth-map-agent service file in wearable profile 43/69543/1 accepted/tizen/common/20160516.143154 accepted/tizen/ivi/20160516.091428 accepted/tizen/mobile/20160516.091424 accepted/tizen/wearable/20160516.091436 submit/tizen/20160516.011311
DoHyun Pyun [Mon, 16 May 2016 00:42:04 +0000 (09:42 +0900)]
Exclude bluetooth-map-agent service file in wearable profile

Change-Id: Ic5dbf7a02769b5681d22a8f4ae1996a145a3410c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoUse systemd user session instead of dbus user session 88/69188/1 accepted/tizen/common/20160512.150221 submit/tizen/20160512.072201
DoHyun Pyun [Thu, 12 May 2016 05:51:52 +0000 (14:51 +0900)]
Use systemd user session instead of dbus user session

To use the user session daemon's privilege, we should use
systemd's user session. Do not use dbus auto-activation directly.

Change-Id: Idc98997d1e5a7c4883b8a5411c423680eba48e34
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix build fail issue 68/68968/2 accepted/tizen/common/20160511.142024 accepted/tizen/ivi/20160512.050708 accepted/tizen/mobile/20160512.050654 accepted/tizen/wearable/20160512.050633 submit/tizen/20160511.003449
Taejin Woo [Tue, 10 May 2016 22:58:58 +0000 (07:58 +0900)]
Fix build fail issue

: for x86_64 architecture

Change-Id: Id5426c33efad1f656796b17367f13249e93eea5b
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
7 years agoModify MAP agent's service file path 92/68892/1
DoHyun Pyun [Tue, 10 May 2016 08:00:58 +0000 (17:00 +0900)]
Modify MAP agent's service file path

When obexd calls map-agent method, dbus auto-activation was failed.
Because of obexd uses a session bus connection.

Change-Id: Ic22b90d6be46ce2a00276f9c24d8f28beebceeb5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix fail issue for 64bit 82/68882/2 submit/tizen/20160510.074251
Taejin Woo [Tue, 10 May 2016 07:30:25 +0000 (16:30 +0900)]
Fix fail issue for 64bit

:about mismatching casting type

Change-Id: I90efb0bbec4f37e1c1322453363c0f4843e5cd2c
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
7 years agoFix the build error for wearable profile 97/68797/1 submit/tizen/20160510.012038
DoHyun Pyun [Tue, 10 May 2016 01:11:39 +0000 (10:11 +0900)]
Fix the build error for wearable profile

Change-Id: I38e7e2a3c5b2bc76022837aa6c6c5d7deb731ac9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoPBAP: GDbus Migration of pb-agent 19/68119/5 submit/tizen/20160509.093805
h.sandeep [Mon, 2 May 2016 09:46:53 +0000 (15:16 +0530)]
PBAP: GDbus Migration of pb-agent

Change-Id: Ia53a7e9cb0a4051fa7a845c21d5394f4bced0b08
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoFix Svave issue - MEMORY_LEAK.STRDUP 27/68127/1 submit/tizen/20160503.014429
DoHyun Pyun [Mon, 2 May 2016 10:59:37 +0000 (19:59 +0900)]
Fix Svave issue - MEMORY_LEAK.STRDUP

WGID: 60292

Change-Id: I68abe304dbbde1471a3709558fb2af1762f8a045
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoMerge "Fix Map-agent build warning & add Werror option in CMakeLists.txt" into tizen
Pyun DoHyun [Fri, 29 Apr 2016 05:32:03 +0000 (22:32 -0700)]
Merge "Fix Map-agent build warning & add Werror option in CMakeLists.txt" into tizen

8 years agoFix Map-agent build warning & add Werror option in CMakeLists.txt 86/67886/1
paras.kumar [Fri, 29 Apr 2016 05:19:36 +0000 (10:49 +0530)]
Fix Map-agent build warning & add Werror option in CMakeLists.txt

Change-Id: Ie52ecce3ac0b4bd0115f48710aae3cda385060c6
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
8 years agoMerge "GDBus Migration of MAP Agent" into tizen
Pyun DoHyun [Fri, 29 Apr 2016 04:43:32 +0000 (21:43 -0700)]
Merge "GDBus Migration of MAP Agent" into tizen

8 years agoGDBus Migration of MAP Agent 53/67853/2
paras.kumar [Thu, 28 Apr 2016 15:09:04 +0000 (20:39 +0530)]
GDBus Migration of MAP Agent

Change-Id: I6c0e4e598f02d5dcf8f5dfea2e0101ca697a660e
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
8 years agoDebug the Call audio connection 69/67869/2 accepted/tizen/common/20160429.170434 accepted/tizen/ivi/20160501.122232 accepted/tizen/mobile/20160501.121045 accepted/tizen/wearable/20160501.121616 submit/tizen/20160429.020017
Hyuk Lee [Fri, 29 Apr 2016 01:16:59 +0000 (10:16 +0900)]
Debug the Call audio connection

Change-Id: I60632d763766ca4cf9c11f0c303295f53ae80fb1
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoModify the daemon UID/GID 29/65929/1 accepted/tizen_tv accepted/tizen/common/20160414.142729 accepted/tizen/ivi/20160414.092157 accepted/tizen/mobile/20160414.092218 accepted/tizen/tv/20160414.092126 accepted/tizen/wearable/20160414.092124 submit/tizen/20160414.053423
Hyuk Lee [Thu, 14 Apr 2016 05:27:54 +0000 (14:27 +0900)]
Modify the daemon UID/GID

Change-Id: Ieda43b4f14b0ccc9af7830dae9e028bf974b367c
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoModify the memory leak 11/65111/3 accepted/tizen/common/20160411.130043 accepted/tizen/ivi/20160411.095703 accepted/tizen/mobile/20160411.095636 accepted/tizen/tv/20160411.095641 accepted/tizen/wearable/20160411.095604 submit/tizen/20160411.030344
Hyuk Lee [Thu, 7 Apr 2016 08:54:00 +0000 (17:54 +0900)]
Modify the memory leak

Change-Id: Ia470cfab1742c655d7fadb273c42f41e5e89b77b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoFix Svace issue 54/63854/1 accepted/tizen/common/20160329.050700 accepted/tizen/ivi/20160405.005423 accepted/tizen/mobile/20160405.005334 accepted/tizen/tv/20160405.005350 accepted/tizen/wearable/20160405.005408 submit/tizen/20160328.061759
DoHyun Pyun [Mon, 28 Mar 2016 06:15:16 +0000 (15:15 +0900)]
Fix Svace issue

WGID 58558: PROC_USE.VULNERABLE

Change-Id: Icf425b22f799a86370a41172962ac041f2278bac
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the Svace issue 86/63286/1 accepted/tizen/common/20160323.185007 accepted/tizen/ivi/20160323.140746 accepted/tizen/mobile/20160323.135246 accepted/tizen/tv/20160323.135546 accepted/tizen/wearable/20160323.135302 submit/tizen/20160323.075041
Hyuk Lee [Wed, 23 Mar 2016 05:27:36 +0000 (14:27 +0900)]
Fix the Svace issue

- WGID:54916(signed to bigger unsigned)
- WGID:55810(passed to proc after free)

Change-Id: I6e8537205f82d26301e98bf6552f4b2426fe7cee
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoMerge changes I55a21c1c,I21313f68,I4cd1f65e into tizen accepted/tizen/mobile/20160323.074800 accepted/tizen/tv/20160323.074945 accepted/tizen/wearable/20160323.075043 submit/tizen_mobile/20160323.044515 submit/tizen_tv/20160323.044519 submit/tizen_wearable/20160323.044522
Pyun DoHyun [Tue, 22 Mar 2016 09:35:14 +0000 (02:35 -0700)]
Merge changes I55a21c1c,I21313f68,I4cd1f65e into tizen

* changes:
  [bt-agent] Fixed build errors
  [map-agent] Fix build warning errors
  [Ag-agent] Added -Werror option in ag-agent.

8 years ago[bt-agent] Fixed build errors 67/63167/1
Sudha Bheemanna [Tue, 22 Mar 2016 09:33:49 +0000 (15:03 +0530)]
[bt-agent] Fixed build errors

Change-Id: I55a21c1c6ad35461bfc7ead160e16d36c3660eac
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years ago[map-agent] Fix build warning errors 63/63163/1
Sudha Bheemanna [Tue, 22 Mar 2016 09:05:56 +0000 (14:35 +0530)]
[map-agent] Fix build warning errors

Change-Id: I21313f68fccf1870f361d50851e42d687132f786
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>