platform/core/connectivity/bluetooth-agent.git
2 years agoAdd the module name in the gcov install path 27/270127/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20220127.133007 submit/tizen_6.5/20220126.073330
dh79pyun [Wed, 26 Jan 2022 04:17:22 +0000 (13:17 +0900)]
Add the module name in the gcov install path

Change-Id: Id93643207af5db2dc964a02db7d4a77b53fa3925
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
3 years agoFix the ASAN build error 10/242810/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120308 accepted/tizen/6.0/unified/hotfix/20201103.051048 accepted/tizen/6.5/unified/20211028.095855 accepted/tizen/unified/20200902.011925 submit/tizen/20200901.064142 submit/tizen/20210602.004609 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 submit/tizen_6.5/20211028.162201 tizen_6.0.m2_release tizen_6.5.m2_release
Wootak Jung [Tue, 1 Sep 2020 03:42:24 +0000 (12:42 +0900)]
Fix the ASAN build error

Change-Id: I12ff05e325b5c98d82e653b00f45ff97b7b25be3
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
3 years agoModify the package version 38/240038/2 accepted/tizen/unified/20200811.050254 submit/tizen/20200806.040254
DoHyun Pyun [Mon, 3 Aug 2020 01:21:24 +0000 (10:21 +0900)]
Modify the package version

In order to distinguish the package history as tizen version,
we manage the package version from now.

Change-Id: I30f51dbcf27ac325c74e1f247c102969f6da9e38
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
3 years agoAdd support for auto-coverage in Bluetooth-Agent 02/239602/4
anuj.bhumiya [Tue, 28 Jul 2020 05:27:09 +0000 (10:57 +0530)]
Add support for auto-coverage in Bluetooth-Agent

Change-Id: I53ed2243221404347d9b045860e1929b87f9b5e1
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
3 years agoModify the service file path for 64bit target 71/236971/1 accepted/tizen/unified/20200624.130141 submit/tizen/20200624.003546
DoHyun Pyun [Tue, 23 Jun 2020 22:43:04 +0000 (07:43 +0900)]
Modify the service file path for 64bit target

Change-Id: I655ec95b44365ce3f37fd7ee0a7756d773daa4f2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
3 years agoFix the memory leak 47/235347/1
injun.yang [Mon, 1 Jun 2020 07:09:36 +0000 (16:09 +0900)]
Fix the memory leak

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] memory leak
[Cause & Measure] release memory
[Checking Method]

[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: Ie1c3b1e051825afc4653b255de7f7f37696356dc
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years agoExclude the exception codes for coverage 91/230591/1 accepted/tizen/unified/20200423.054500 submit/tizen/20200420.230946
DoHyun Pyun [Mon, 13 Apr 2020 02:24:59 +0000 (11:24 +0900)]
Exclude the exception codes for coverage

Change-Id: Iba772b971b42032167fa1145e53b4456c6df327b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoModify the package configuration for coverage 90/230590/1
DoHyun Pyun [Mon, 13 Apr 2020 02:24:27 +0000 (11:24 +0900)]
Modify the package configuration for coverage

Change-Id: I3564e4abfef61c6d4893560720084eb95ab4ec9d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoSpecify the sender to receive necessary PropertiesChanged signals. 02/230002/1 accepted/tizen/unified/20200409.083627 submit/tizen/20200408.035538
Wootak Jung [Tue, 7 Apr 2020 06:02:02 +0000 (15:02 +0900)]
Specify the sender to receive necessary PropertiesChanged signals.

Apr 07 13:07:30 localhost dbus[326]: [system] Rejected send message,
2 matched rules; type="signal", sender=":1.2" (uid=0 pid=1 comm="/sb
in/init ") interface="org.freedesktop.DBus.Properties" member="Prope
rtiesChanged" error name="(unset)" requested_reply="0" destination="
org.freedesktop.DBus" privilege="(n/a)" (uid=551 pid=849 comm="/usr/
bin/bluetooth-ag-agent ") rule(<deny send_destination="org.bluez.ag_
agent" />)

Change-Id: I423e4577182e79c0c630b2247f7888ac6539ccb0
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years agoAdd connection destroy logic 35/229835/1
Wootak Jung [Mon, 6 Apr 2020 02:11:00 +0000 (11:11 +0900)]
Add connection destroy logic

Change-Id: I17dab51a7d074ef64bd22e31450afb7b31d13c52
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years agoAdd allow policy for network_fw 31/228731/1
Wootak Jung [Wed, 25 Mar 2020 06:14:03 +0000 (15:14 +0900)]
Add allow policy for network_fw

Change-Id: I3498161a031f30bb9ee288c1dd335625be71f1b0

4 years agoFix the coverity issue 65/224765/1 accepted/tizen/unified/20200220.122414 submit/tizen/20200214.001348 submit/tizen/20200217.053214 submit/tizen/20200220.013009
DoHyun Pyun [Thu, 13 Feb 2020 02:25:47 +0000 (11:25 +0900)]
Fix the coverity issue

Parse warning (PW.PARAMETER_HIDDEN)

Change-Id: I6a849a3d804bb1e0e37bf5a5b3011e5852e55742
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdd checking memory allocation 71/224171/1 accepted/tizen/unified/20200210.131847 submit/tizen/20200207.062602
Semun Lee [Fri, 7 Feb 2020 01:34:26 +0000 (10:34 +0900)]
Add checking memory allocation

Issue was reported by a static analyzer.

Change-Id: Ib09b4826098bceb79c8d9036767e9ae685ea31a0
Signed-off-by: Semun Lee <semun.lee@samsung.com>
4 years agoFix coverty issue 1097769 for strtok_r 97/223697/2
Amit Purwar [Mon, 3 Feb 2020 05:52:09 +0000 (11:22 +0530)]
Fix coverty issue 1097769 for strtok_r

Change-Id: I13650fdbc20568f0b3c82eb388fd8a7437d9e1d2
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
4 years agoEnable BT_MEDIA_ENHANCE feature 85/223485/1
Wootak Jung [Thu, 30 Jan 2020 07:43:00 +0000 (16:43 +0900)]
Enable BT_MEDIA_ENHANCE feature

There is an timing issue a2dp streaming is not suspended
before handling sco in case call originated.

Change-Id: I1940daca9e484470017f7e617e14ca0ab1a64e92

4 years agoFix to cast from pointer to integer safely 19/222519/1 accepted/tizen/unified/20200116.101928 submit/tizen/20200116.000641
Semun Lee [Wed, 15 Jan 2020 23:56:51 +0000 (08:56 +0900)]
Fix to cast from pointer to integer safely

This is for fixing build issue in gcc 9

Change-Id: Iacc8ecbb12ea47dd82121f0f309215e8948537bd
Signed-off-by: Semun Lee <semun.lee@samsung.com>
4 years agoMerge "fix strncpy build error" into tizen accepted/tizen/unified/20200101.120630 accepted/tizen/unified/20200102.220734 submit/tizen/20191230.003618 submit/tizen/20200102.082818
Pyun DoHyun [Sun, 29 Dec 2019 23:45:46 +0000 (23:45 +0000)]
Merge "fix strncpy build error" into tizen

4 years agoResolve build error for snprintf 48/221048/2
himanshu [Thu, 26 Dec 2019 13:45:17 +0000 (19:15 +0530)]
Resolve build error for snprintf

Change-Id: Ib2a7eb9d7fb28e448b33766d8b040949e4c2533e
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agofix strncpy build error 49/221049/2
himanshu [Thu, 26 Dec 2019 13:46:51 +0000 (19:16 +0530)]
fix strncpy build error

Change-Id: I28a83b39bee01525e556b6032735413c6b40e1d5
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agoFix DBG log msg build error 50/221050/2
himanshu [Thu, 26 Dec 2019 13:47:52 +0000 (19:17 +0530)]
Fix DBG log msg build error

Change-Id: I9339575568c91830e2a9bc1f697a0fa85d060dd9
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agoFix hid-agent service name 05/219305/2 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191210.221203 accepted/tizen/5.5/unified/wearable/hotfix/20201027.114806 accepted/tizen/unified/20191205.091322 submit/tizen/20191204.073306 submit/tizen_5.5/20191206.000647 submit/tizen_5.5_wearable_hotfix/20201026.184303
Wootak Jung [Wed, 4 Dec 2019 07:15:07 +0000 (16:15 +0900)]
Fix hid-agent service name

Change-Id: I0f33661f592ac8e5c491c4c3ca45f17e334a8aee

4 years agoUse the systemd service for the dbus auto-activation 10/214410/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024523 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084411 accepted/tizen/unified/20190925.033703 submit/tizen/20190925.005917 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
DoHyun Pyun [Mon, 23 Sep 2019 01:02:56 +0000 (10:02 +0900)]
Use the systemd service for the dbus auto-activation

Change-Id: I06393b42ac5f8747183be776663c75dd8b4cf4fb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoChange /usr/bin/false to /bin/false in the dbus configuration 05/209905/2 accepted/tizen/unified/20190715.111836 submit/tizen/20190714.235650
INSUN PYO [Fri, 12 Jul 2019 08:06:32 +0000 (17:06 +0900)]
Change /usr/bin/false to /bin/false in the dbus configuration

Change-Id: Ic191f5e7eccbe3e674642dc09f52c31c765546e4

4 years agoDelete meaningless configuration 02/209502/1
INSUN PYO [Mon, 8 Jul 2019 10:32:43 +0000 (19:32 +0900)]
Delete meaningless configuration

Change-Id: Iaa026929396b9c1a9ee93af5452b51c6bf4cf1de

4 years agoFix the coverity issue 67/209467/1 accepted/tizen/unified/20190708.114143 submit/tizen/20190708.064701
DoHyun Pyun [Mon, 8 Jul 2019 06:24:40 +0000 (15:24 +0900)]
Fix the coverity issue

Change-Id: I4e99194310af80cbca01213a25bc8594c2167dcf
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoRemove unused features 59/209059/1 accepted/tizen/unified/20190703.110633 submit/tizen/20190702.052010
INSUN PYO [Tue, 2 Jul 2019 05:00:02 +0000 (14:00 +0900)]
Remove unused features

Change-Id: If1e15a297671cb52267d8fc1b9250e47f11e1352

4 years agoFix wrong use of dbus interface 12/207712/1 accepted/tizen/unified/20190613.061534 submit/tizen/20190612.081916
Deokhyun Kim [Tue, 11 Jun 2019 08:57:45 +0000 (17:57 +0900)]
Fix wrong use of dbus interface

Change-Id: I5e33a24116f9c331c6dbbca9e5b5957448029bed
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoFix wrong dbus policy 29/205729/1
Wootak Jung [Thu, 9 May 2019 00:42:57 +0000 (09:42 +0900)]
Fix wrong dbus policy

privilege should be checked by check option

Change-Id: Ic5284d7fd2506ef37b3af25f29c8ad5a4cc4f052

4 years agoModify the dbus name for the pusleaudio method 54/205654/1 submit/tizen/20190509.001856
DoHyun Pyun [Wed, 8 May 2019 07:47:05 +0000 (16:47 +0900)]
Modify the dbus name for the pusleaudio method

Change-Id: Ia6d70537c7c422c46f3dd881942d57b9a4d62d2d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoadd build option for gcov 04/199404/1 accepted/tizen/unified/20190212.084023 submit/tizen/20190211.072046
Youngjae Shin [Mon, 11 Feb 2019 07:34:20 +0000 (16:34 +0900)]
add build option for gcov

Change-Id: I48ab9cbcc7f96266a36417211e50ef742a6c75fb

5 years agofix build error on building gcov mode 98/199398/1
Youngjae Shin [Mon, 11 Feb 2019 07:16:48 +0000 (16:16 +0900)]
fix build error on building gcov mode

Change-Id: I23fcce8899623af086a26d2aa88a92267822a5f4

5 years agoAdd allow policy for network_fw 62/198262/1 accepted/tizen/unified/20190128.061634 submit/tizen/20190123.071539
Wootak Jung [Wed, 23 Jan 2019 05:33:48 +0000 (14:33 +0900)]
Add allow policy for network_fw

Change-Id: I95e1b1bb9e0616030178f40b85d39125034e8ae2

5 years agoFix 64bit dlog format error 01/195701/1 accepted/tizen/unified/20181218.063134 submit/tizen/20181217.234704
DoHyun Pyun [Mon, 17 Dec 2018 09:45:30 +0000 (18:45 +0900)]
Fix 64bit dlog format error

Change-Id: I64bece27714e8d36bd9cb72d0d12fa2c26026858
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix dlog format issues 77/194977/1
Taesoo Jun [Mon, 10 Dec 2018 04:12:00 +0000 (13:12 +0900)]
Fix dlog format issues

Change-Id: I629ec83d55eb7720f550efc68cb76780809be5c5

5 years agoRemove the deprecated header including for image util 80/193080/1 accepted/tizen/unified/20181115.151633 submit/tizen/20181115.045514
DoHyun Pyun [Wed, 14 Nov 2018 09:28:23 +0000 (18:28 +0900)]
Remove the deprecated header including for image util

Change-Id: If5e9e98292e59098c74dbbfb8b830c282526c517
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix profile check logic to distinguish ivi and iot 01/191901/2 accepted/tizen/unified/20181107.081905 accepted/tizen/unified/20181108.074604 submit/tizen/20181105.232950 submit/tizen/20181106.081159 submit/tizen/20181108.005451
Wootak Jung [Thu, 25 Oct 2018 06:14:27 +0000 (15:14 +0900)]
Fix profile check logic to distinguish ivi and iot

Change-Id: Ia1105abf3b4f2593056910c3a06a82a27acbf97a

5 years agoUpdate HF agent codes for wearable 30/188730/3 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.015434 accepted/tizen/unified/20180913.064020 accepted/tizen/unified/20180914.073143 submit/tizen/20180912.234844 submit/tizen/20180913.053639 submit/tizen_5.0/20181101.000003
Wootak Jung [Thu, 6 Sep 2018 06:16:31 +0000 (15:16 +0900)]
Update HF agent codes for wearable

Change-Id: Ibed6e269eab908c436d0eb8ab5a0b208d762fac0

5 years agoFix the memory leak 51/187951/1 accepted/tizen/unified/20180830.060937 submit/tizen/20180830.010507
DoHyun Pyun [Thu, 30 Aug 2018 00:47:02 +0000 (09:47 +0900)]
Fix the memory leak

Change-Id: Ib4e2a6871652f9b4b44d033c56f665ad329ffb5e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the allow dbus policy rule for pulse user 79/187679/1 accepted/tizen/unified/20180828.062347 submit/tizen/20180828.001531
DoHyun Pyun [Mon, 27 Aug 2018 23:13:09 +0000 (08:13 +0900)]
Add the allow dbus policy rule for pulse user

Change-Id: I12609e096b353de4b24acc2943723c75e916422a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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>