summaryrefslogtreecommitdiff
path: root/obexd/src
AgeCommit message (Collapse)AuthorFilesLines
2019-09-23Use the systemd service for obexdDoHyun Pyun2-3/+4
Change-Id: I988e2e18cb168b35b5e462e0f3d80e060abd8e5b Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2019-07-08Delete meaningless configurationsubmit/tizen/20190714.235650accepted/tizen/unified/20190715.111841INSUN PYO1-1/+0
Change-Id: I4c0756152fb27edcc69bacb272cfb407b9df53c5
2019-04-29obexd: Fix memory leak when loading pluginsSahil Pai1-1/+4
On failure to open plugin directory, memory allocated to 'patterns' and 'excludes' is not being freed, and the following memory leak is logged: Direct leak of 28 byte(s) in 1 object(s) allocated from: #0 0xb6aa1c49 in malloc (/usr/lib/liblsan.so+0x9c49) #1 0xb6976e89 in g_malloc (/lib/libglib-2.0.so.0+0x3ae89) #2 0xb69886f1 in g_strsplit_set (/lib/libglib-2.0.so.0+0x4c6f1) #3 0xb6f82f3b in plugin_init (/usr/libexec/bluetooth/obexd+0x20f3b) #4 0xb6f70dc9 in main (/usr/libexec/bluetooth/obexd+0xedc9) Change-Id: I9c930ba8fcd4cd04a25f4329ee02c5696c19cf39 Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-04-26Fixed the session list for obexAmit Purwar1-0/+10
Change-Id: Ic86fba8e3089b0d29c80260f9335ecda7e64c62d Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-04-15obexd: Fix null response nameERAMOTO Masaya1-55/+4
Prints out "<unknown>" string if there is no response name as below: obexd[8117]: obexd/src/obex.c:cmd_connect() obexd[8117]: CONNECT(0x0), (null)(0xffffffff) Change-Id: I3229def9a31f1397001f9c101550e0f30da17641 Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-04-15obexd: Emit Size property of transfer after open()ERAMOTO Masaya1-0/+3
Emits the Size property of transfer after calling ->open() because it may update the size information. Change-Id: I343e2f9c5993a9c91107e75f7a0af747f262308c Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-04-15obexd: Use emitting function wrapped for transferERAMOTO Masaya2-16/+15
Also replaces emit_transfer_progress() with the new wrapper function because the total/transferred arguments have not been used since commit a5c2b6e8 ("obexd: Align client and server spec of org.bluez.obex.Transfer1") and g_dbus_emit_property_changed_full() checks if the path argument is NULL. Change-Id: I2733ee5de2de15d008d45724abffafefa87fc045 Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-04-15obexd: Fix property Size of server transferLuiz Augusto von Dentz1-2/+4
OBJECT_SIZE_DELETE is shall not be consider a valid size. Change-Id: I84ec5c9f7397dee6597a99263cb200243b0def5f Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2019-04-15obexd: Clean up unneeded list in src/obex.cERAMOTO Masaya1-6/+0
Cleans up the sessions list which has been unneeded by commit 8572afb4 ("obexd: Make use of transport drivers and some cleanups"). Change-Id: Ie06072fa6d052bd7e5bdc824e8250362bd914cae Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2018-03-19[BlueZ upgrade 5.43 to 5.48] Patch 2/2Anupam Roy3-1/+19
Change-Id: I26e0fde334c2eac84d3f19370cab6dfbed073d2f Signed-off-by: Anupam Roy <anupam.r@samsung.com>
2017-09-21Fix the build warning error in tizen patch codesDoHyun Pyun1-0/+6
Change-Id: Ie37a309958c86ad6cf7c1ec9366d866f59abdd5b Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2017-09-06Apply tizen 3.0 based product patchsetssubmit/tizen/20170906.230917accepted/tizen/unified/20170908.061953DoHyun Pyun1-0/+85
------------------------------------------------------- commit c396c5b362f3c376c1afb390c23476ae9f482697 Author: Biman Paul <biman.paul@samsung.com> Date: Fri Aug 4 19:59:40 2017 +0530 Use Trusted Profiles instead of Restricted Profiles ------------------------------------------------------- Change-Id: I5b38f1a17762d17391cda458fa9ae2204dd25b03 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2017-06-08Modify the uid and gid of obexd to network_fwsubmit/tizen/20170613.061600accepted/tizen/unified/20170613.194443DoHyun Pyun3-0/+9
The uid of tizen's bt-service will be changed to network_fw from owner. 'network_fw' is a no app user, so it can't use the session bus connection. Because of this, tizen obexd's dbus connection also change to system bus. Change-Id: I73f66e8a451a2b3b62c9f03a8468b824813d8767 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2017-03-28Bluez 5.43 Upgrade: Apply Tizen patchessubmit/tizen/20170330.042352accepted/tizen/wearable/20170330.223751accepted/tizen/unified/20170330.223834accepted/tizen/tv/20170330.223738accepted/tizen/mobile/20170330.223718accepted/tizen/ivi/20170330.223808accepted/tizen/common/20170330.151746accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonh.sandeep5-3/+156
Change-Id: I5d5a9d9e2e7811af3dd3878b4f740e1f1a019d51 Signed-off-by: h.sandeep <h.sandeep@samsung.com>
2017-03-28Bluez Upgrade: Add Bluez 5.43 open source code.h.sandeep5-156/+3
Change-Id: Ife8b8b7b7163ca2d6c521cdb7f99c2ae90b14ba0 Signed-off-by: h.sandeep <h.sandeep@samsung.com>
2016-11-23Remove the obexd ps commandLee Hyuk1-1/+1
Change-Id: I1985aa236984de0bf0814b491e464cd417084ef3 Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
2016-11-21Modify build feature names as Tizen 3.0 build option naming rulesubmit/tizen/20161122.051739accepted/tizen/wearable/20161123.000045accepted/tizen/tv/20161123.000032accepted/tizen/mobile/20161123.000015accepted/tizen/ivi/20161123.000102accepted/tizen/common/20161122.193043DoHyun Pyun4-8/+8
Change-Id: Id474f0db7668bbc4a0d8a4cdafa77fbd4b941a3c Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-09-28Modify the media root directory pathsubmit/tizen_3.0_wearable/20161015.000000submit/tizen_3.0_tv/20161015.000000submit/tizen_3.0_mobile/20161015.000000submit/tizen_3.0_ivi/20161010.000010submit/tizen_3.0_ivi/20161010.000000submit/tizen/20160928.062430accepted/tizen/wearable/20160929.002047accepted/tizen/tv/20160929.001920accepted/tizen/mobile/20160929.001908accepted/tizen/ivi/20160929.002011accepted/tizen/common/20160928.164314accepted/tizen/3.0/wearable/20161015.080416accepted/tizen/3.0/tv/20161016.003539accepted/tizen/3.0/mobile/20161015.032357accepted/tizen/3.0/ivi/20161011.053523DoHyun Pyun1-1/+1
Change-Id: I22cab6e07f2fe8eda682689fdf417d451f53c5c1 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-08-24Modify the default root directory for obexdsubmit/tizen/20160825.004351accepted/tizen/wearable/20160829.041649accepted/tizen/tv/20160829.041634accepted/tizen/mobile/20160829.041614accepted/tizen/ivi/20160829.041711accepted/tizen/common/20160825.062840DoHyun Pyun1-1/+1
Change-Id: I0d0fdddf97083accfff46aac907a7e1559ebdd53 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-05-11Fix the crash when SET_PATH command is recievedDoHyun Pyun1-2/+2
This patchset is related with TC_MSE_MMB_BV_09_I PTS testcase. Change-Id: I96cbea2d315182bc934e9684e6be447c2bdaf351 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-05-10Enable MAP service in obexdDoHyun Pyun1-1/+1
The previous service file defines map plugin as false. Because of this, we can't use MAP service as default. So enable MAP profile. Change-Id: I85e6ce2380f244ac3890c2c02d996855747acace Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-04-12Upgrade bluez5_37 :Merge the code from privatesubmit/tizen/20160414.030922accepted/tizen/wearable/20160414.091945accepted/tizen/tv/20160414.092045accepted/tizen/mobile/20160414.092019accepted/tizen/ivi/20160414.092030accepted/tizen/common/20160414.142549h.sandeep22-8/+16
branch:devel/bluetooth/master ================================================ commit 81e16d9fa48dc40f2dcb15aca9ce87ea50d9a85e Author: Injun Yang <injun.yang@samsung.com> Date: Thu Mar 31 17:05:06 2016 +0900 GATT Server : Handle property and write type ============================================== Change-Id: I0d2b69488337b1f393fba43dc1268bd92ea6b6ac Signed-off-by: h.sandeep <h.sandeep@samsung.com>
2016-03-28Modify obex auto-activation service filesubmit/tizen/20160328.090435accepted/tizen/wearable/20160329.042843accepted/tizen/tv/20160329.042803accepted/tizen/mobile/20160329.042727accepted/tizen/ivi/20160329.042913accepted/tizen/common/20160329.050851DoHyun Pyun1-1/+1
Change-Id: I7bc632e79eef56d110eae3d8cd43ace9b34022b6 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2015-06-08Upgrade Bluez 5.28 and synchronize Tizen 2.4's bluezDoHyun Pyun4-7/+11
Change-Id: Ifaf2154ba0ab19b180946e0d92f1817a1d9ed839 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2015-02-18Changes for successful build after porting of Tizen 2.4 codeAbhinav Kumar5-43/+45
1> Copied Tizen 2.4 code in tizen branch. 2> Made changes to spec file for successful build. Also added a new file .gbs.conf. Change-Id: I6e479759454c1978e68340a0f3541fb66b437044
2014-12-17obexd: Fix the double check for agentGowtham Anandha Babu1-2/+1
Removes the check for NULL agent. Git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cf5361615e4bf2468fe963f690b2c398071e215f Change-Id: I5c0ab31c1b36de6007cb01ffe688aeafb4c6cebf
2014-08-20fix obex systemd service to support multiusersubmit/tizen/20140822.031654accepted/tizen/ivi/20140902.081022tony1-2/+1
This created obex root directory before runing obexd if the directory does not exist. Adding a shell script to handle this. Bug-Tizen: TC-1436 Change-Id: I84d678b738c1ebca8966f4bbe123004a4d38e9bb Signed-off-by: chunqiangx <chunqiangx.tang@intel.com>
2014-08-05fix obex systemd service to support multiuserCorentin Lecouvey1-1/+2
This allows to run an obexd daemon per user and set obex root directory according to home user directory. Bug-Tizen: TC-1436 Change-Id: I3c7c1da11269bd3d7ab2502e49a370e24588de3a Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
2014-05-27Multi-user complianceKévin THIERRY1-1/+1
Also update Group Tags and clean spec file. Bug-Tizen: PTREL-391 Change-Id: Ibe889ab85cde4ecd3be7bb11f348d84df0b8ad81 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-05-27TIVI-2158: setting-up proper obex serivceSebastian1-1/+1
Required for starting obexd on demand Change-Id: Icbf146a5534e71c701a124ecf53334be346950b7 Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
2014-05-27Add extended obex transfer propertiesWu zheng1-0/+82
Change-Id: I03fd1af2c96f4c4554b3b5a2d449ac1bad2fe44c
2014-05-27TIZEN DBUS configure fileWu zheng1-1/+1
Change-Id: I19cd4c19dcbe14d3f022378da1a40e7668b70d35
2014-05-27Add set root folder functionWu zheng3-0/+61
Change-Id: Ib3e179d7b8a7b602ea9560e036c77495da9e9d34
2014-05-27Imported Upstream version 5.19upstream/5.19upstreamSebastian Chlad2-93/+6
2013-11-26Imported Upstream version 5.11upstream/5.11Wu Zheng1-5/+6
2013-10-23Imported Upstream version 5.10upstream/5.10Wu zheng23-0/+3870