platform/core/connectivity/bluetooth-agent.git
2 months agochange stream type and modify HFP version and feature for DA 24/306624/2 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20240227.085056
Sohyeon Choi [Wed, 21 Feb 2024 12:58:38 +0000 (21:58 +0900)]
change stream type and modify HFP version and feature for DA

Change-Id: Ic30d8c8346346f20ce6e07457b759331da0c75c1
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
4 months agoAdd new DA model name 05/302505/1 accepted/tizen/7.0/unified/20231212.053554
Wootak Jung [Fri, 8 Dec 2023 00:42:39 +0000 (09:42 +0900)]
Add new DA model name

AI Hub Smart EHS

Change-Id: I8cf513570d9f00ad8981441c6b52edfc58cd28c1
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
5 months agoAdd new DA model names 75/301875/1 accepted/tizen/7.0/unified/20231128.175751
Wootak Jung [Mon, 27 Nov 2023 00:34:10 +0000 (09:34 +0900)]
Add new DA model names

Bespoke Washer
Bespoke Dryer
Appliance Emulator

Change-Id: I6bc39137313db47ace8455119c3f6a051fcf6b40
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
5 months agoChange the HFP supported device to DA from FHUB 45/300745/2 accepted/tizen/7.0/unified/20231102.181237
Wootak Jung [Wed, 1 Nov 2023 23:15:58 +0000 (08:15 +0900)]
Change the HFP supported device to DA from FHUB

Change-Id: Ia5d4e1c4822da54a7e2115d2f5d82de588eaaa9e
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
8 months agoAdd new DA model names 61/296861/1 accepted/tizen/7.0/unified/20230808.172202
Wootak Jung [Mon, 7 Aug 2023 00:26:41 +0000 (09:26 +0900)]
Add new DA model names

Change-Id: If4f249ccab5674ac4e626402e1b1e5c9aca94d2b
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
10 months agoAdd "Smart Cooktop" to DA model 05/293905/1 accepted/tizen/7.0/unified/20230609.165449
Wootak Jung [Thu, 8 Jun 2023 00:46:34 +0000 (09:46 +0900)]
Add "Smart Cooktop" to DA model

Change-Id: Id61801f067dee6b83ab89c1053c5fb2469b0acb3
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
10 months agoDisable map-agent in DA profile 76/293776/1 accepted/tizen/7.0/unified/20230605.171555
Wootak Jung [Sun, 4 Jun 2023 23:46:04 +0000 (08:46 +0900)]
Disable map-agent in DA profile

msg-service was not supported in DA profile

Change-Id: I5768f16d00c4f0a45013b83ddbaaad99900e9bd5
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
12 months agoFix wrong return value of model name 25/291825/1 accepted/tizen/7.0/unified/20230426.045631
Wootak Jung [Sun, 23 Apr 2023 23:35:41 +0000 (08:35 +0900)]
Fix wrong return value of model name

Change-Id: Ic607a8e0cca95a564174eb150f230fef7cd1ddf0
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
13 months agoAdd DA feature newly 22/290022/1 accepted/tizen/7.0/unified/20230327.042707
Wootak Jung [Fri, 17 Mar 2023 08:13:59 +0000 (17:13 +0900)]
Add DA feature newly

Change-Id: Ib40d96c98586a99e120bc5acd5f8b7eba1ff949f
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
13 months agoRemove XSAT sending logic in Fhub 16/290016/1
Wootak Jung [Fri, 17 Mar 2023 07:37:56 +0000 (16:37 +0900)]
Remove XSAT sending logic in Fhub

Change-Id: If5e4df993dc78cfd0f4920941300353814462c61
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
17 months agoFix asan build error 81/283681/1 accepted/tizen/7.0/unified/20221103.165405 accepted/tizen/7.0/unified/20221110.063252
Wootak Jung [Fri, 14 Oct 2022 01:53:52 +0000 (10:53 +0900)]
Fix asan build error

Change-Id: I9f85ccf2b1afb06634f91f0a30676b0b9328dcf4
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
17 months agoFix invalid path in aarch64 80/283680/1
Wootak Jung [Tue, 11 Oct 2022 08:28:43 +0000 (17:28 +0900)]
Fix invalid path in aarch64

Change-Id: I9d6c329b47ecbb4b44a8a47a6cd44318910e6fe3

18 months agofhub: modify HF supported_feature to not support Wide Band Speech 19/282519/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105137 accepted/tizen/unified/20221006.065313 accepted/tizen/unified/20221006.065351 tizen_7.0_m2_release
Ayush Garg [Wed, 5 Oct 2022 02:41:45 +0000 (08:11 +0530)]
fhub: modify HF supported_feature to not support Wide Band Speech

Change-Id: I5c479ef7965ada7084d7bc7eeaff802dfa6e56d1
Signed-off-by: shss-choi <shss.choi@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
18 months agofhub: Apply lastest FHUB4.0 bluetooth-agent 18/282518/1
Ayush Garg [Tue, 4 Oct 2022 08:30:50 +0000 (14:00 +0530)]
fhub: Apply lastest FHUB4.0 bluetooth-agent

Applied patches:

[DA] enable bluetooth-hf-agent & add service file to multi-user.target.wants for systemd
[DA] move the audio function to bluetooth-hf-agnet from application layer
[DA] add AudioMute method
[DA] add hf-test (latest version + some modification)
[DA] audio patches (DA-audio) (latest version)
- add audio-input mute function and seperate audio-in and audio-out init
- move audio init into __bt_hf_agent_connection in order to reduce latency

This patchset should be merged with the following bluetooth-capi's
patchset in order to build successfully:
bluetooth-capi change-id: I3144f6091206891a67e19e81badf80737d8c5df6

Change-Id: Id2cbdcd0dbeb8238aa19aeea1f1f87804ff06a04
Signed-off-by: shss-choi <shss.choi@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
18 months agofhub: Add new profile for Family Hub 17/282517/1
Ayush Garg [Tue, 4 Oct 2022 06:58:13 +0000 (12:28 +0530)]
fhub: Add new profile for Family Hub

Change-Id: I8a6f32f45f179c25d6754fe0f6064f62caa901f7
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
21 months agoRemove gcov rpm 78/276978/1 accepted/tizen/unified/20220630.211947 submit/tizen/20220629.005223
Wootak Jung [Wed, 29 Jun 2022 00:35:06 +0000 (09:35 +0900)]
Remove gcov rpm

Do not make gcov rpm if run coverage manually

Change-Id: I24ec93c7dfcd343a9da6521519358781276f6a9f

2 years agoAdd the module name in the gcov install path 26/270126/1 accepted/tizen/unified/20220127.133236 submit/tizen/20220126.073358
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>
2 years agoReplace g_memdup to g_memdup2 82/267882/1 accepted/tizen/unified/20211222.230822 submit/tizen/20211124.060921 submit/tizen/20211212.233427
dh79pyun [Mon, 13 Dec 2021 02:30:47 +0000 (11:30 +0900)]
Replace g_memdup to g_memdup2

Change-Id: Ibcf34a3aa4a1e0345239d9a647a127a721afef29
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>