platform/core/connectivity/bluetooth-frwk.git
8 years ago[Adapt: HAL] Add Support for GAP "ReplyAuthorize" method call 55/86055/1
Anupam Roy [Fri, 29 Jul 2016 08:14:55 +0000 (13:44 +0530)]
[Adapt: HAL] Add Support for GAP "ReplyAuthorize" method call

Change-Id: Ia7169cb296dad09b4bbc171077820f6cab7f9c41
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt]Set SmackProcessLabel=User for service & access="_" for OAL lib 89/81889/1
Anupam Roy [Fri, 29 Jul 2016 05:36:40 +0000 (11:06 +0530)]
[Adapt]Set SmackProcessLabel=User for service & access="_" for OAL lib

Change-Id: I765704de86fead52dbf1ee7919a3c30c715f3cf7
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Implement rfcomm client APIs 73/81773/1
Atul Rai [Thu, 28 Jul 2016 08:28:15 +0000 (13:58 +0530)]
[Adapt] Implement rfcomm client APIs

In this patch we implement below RFCOMM client role APIs:
1/ bluetooth_rfcomm_write()
2/ bluetooth_rfcomm_client_is_connected()

Change-Id: I817f563d3c411eb35f78f3a399ab39c6f0e2c4dd
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Implement rfcomm client disconnect 72/81772/1
Atul Rai [Fri, 22 Jul 2016 10:30:53 +0000 (16:00 +0530)]
[Adapt] Implement rfcomm client disconnect

In this patch we implement bluetooth_rfcomm_disconnect API with
RFCOMM_DIRECT flag disabled.

Change-Id: I81f20a8b3d8c088223d93ab4f6b486ad102232dc
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Add OAL API & bt-service request handler for 'Set Trust' 32/81732/1
Anupam Roy [Mon, 25 Jul 2016 14:32:59 +0000 (20:02 +0530)]
[Adapt] Add OAL API & bt-service request handler for 'Set Trust'

Change-Id: If5135f45f3eb2af04d663f36adcd1c7d4a5cb039
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: HAL] Implement Device Set Authorization(Trust) API 31/81731/1
Anupam Roy [Mon, 25 Jul 2016 10:20:29 +0000 (15:50 +0530)]
[Adapt: HAL] Implement Device Set Authorization(Trust) API

Change-Id: Ia08b209b9ce2316acfc9f175683cc0c8cb815636
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: HAL] Handle TODO cases in authorization request from Stack 30/81730/1
Anupam Roy [Sat, 23 Jul 2016 14:16:02 +0000 (19:46 +0530)]
[Adapt: HAL] Handle TODO cases in authorization request from Stack

1/ Reject incoming authorization request
    if device is not 'Paired' or 'Trusted'
2/ Reject authorization if device proxy fetch is failed
3/ Reject authorization if device address is NULL
4/ Accept authorization if device is already 'Trusted'

Change-Id: Iad991d7f258342c545bc34f62bba2a8603104098
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Add authorization resposne API in OAL 29/81729/1
Anupam Roy [Sat, 23 Jul 2016 13:22:54 +0000 (18:52 +0530)]
[Adapt] Add authorization resposne API in OAL

[Note: Currently HID, A2DP and AVRCP service authorization
requests are accepted by default by bt-service]

Change-Id: Iba26c08cc5d8ac30842903a3f7fd154e6c0d522c
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: HAL] Add support for authorization resposne API 28/81728/1
Anupam Roy [Sat, 23 Jul 2016 12:41:02 +0000 (18:11 +0530)]
[Adapt: HAL] Add support for authorization resposne API

This patch adds support for Authorization Response
API in BT HAL. HAL user can use this API to respond to
the incoming authorization request from devices for
various services like HID, A2DP, AVRCP etc.

Change-Id: I174abfc5263dd9aefb9bd93c384c69eefdbba496
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Add callback in bt-service for incoming authorization OAL event 27/81727/1
Anupam Roy [Thu, 28 Jul 2016 06:01:01 +0000 (11:31 +0530)]
[Adapt] Add callback in bt-service for incoming authorization OAL event

[TODO: Authorization reply will be handled in next patch]

Change-Id: I43713a726f92f6ce9ffe49abd1aa5af0b509731b
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: OAL] Register incoming Auth req handler in OAL 26/81726/1
Anupam Roy [Sat, 23 Jul 2016 10:59:00 +0000 (16:29 +0530)]
[Adapt: OAL] Register incoming Auth req handler in OAL

Change-Id: Icfe48b4d670f15aa641ad6358f90fee6a06dfc95
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt:HAL] Implement handler for incoming Authorization req 25/81725/1
Anupam Roy [Sat, 23 Jul 2016 10:19:30 +0000 (15:49 +0530)]
[Adapt:HAL] Implement handler for incoming Authorization req

Change-Id: I3dedf7d3d69baeec4a0a4c9e1983188d017f8826
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Implement rfcomm client connection APIs 10/80210/1
Atul Rai [Fri, 15 Jul 2016 07:33:19 +0000 (16:33 +0900)]
[Adapt] Implement rfcomm client connection APIs

In this patch we implement bluetooth_rfcomm_connect API with
RFCOMM_DIRECT flag disabled. We have added logic to receive
socket fd from bt-service over dbus and then perform I/O
operations on the received socket fd in application
context.

Change-Id: I5b2c885b2b19267c9ed1dec0a46dabd634cdb5b9
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Implement rfcomm socket connect APIs 72/80072/1
Atul Rai [Thu, 14 Jul 2016 09:53:16 +0000 (18:53 +0900)]
[Adapt] Implement rfcomm socket connect APIs

This patch adds bt-service implementation for RFCOMM client
socket connect APIs given below:
_bt_rfcomm_connect_using_uuid()
_bt_rfcomm_connect_using_channel()

Change-Id: I70f910a01acf77ea4e8c9a1ff37a56d695691eec
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: HAL] Implement rfcomm socket connect 71/80071/1
Atul Rai [Wed, 13 Jul 2016 10:23:03 +0000 (19:23 +0900)]
[Adapt: HAL] Implement rfcomm socket connect

This patch adds dbus based implementation to handle rfcomm outgoing
socket connection request in HAL.

Change-Id: I1bd0ef13bb25e1b4ca4ac95ca3f4e137fda27f62
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: HAL] Added commonly used dbus functions 69/80069/1
Atul Rai [Wed, 13 Jul 2016 05:42:22 +0000 (14:42 +0900)]
[Adapt: HAL] Added commonly used dbus functions

In this patch we add dbus utility functions commonly used across
different bluetooth profiles code. Added utility functions are
listed below:
_bt_get_profile_proxy()
_bt_register_profile()
_bt_unregister_profile()
_bt_discover_services()
_bt_cancel_discovers()
_bt_discover_service_uuids()
_bt_register_new_gdbus_object()
_bt_unregister_gdbus_object()

Change-Id: I083988bef6fc35495d09fdb0146837cff4ff2d5a
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: OAL] Added socket_connect API in OAL 67/80067/1
Atul Rai [Tue, 12 Jul 2016 10:38:35 +0000 (19:38 +0900)]
[Adapt: OAL] Added socket_connect API in OAL

This patch adds implementation for socket_connect API in OAL.

Change-Id: Ic099930e9c60620aa599d8e0e48546abb567e8db
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Undefine RFCOMM_DIRECT flag 10/79810/1
Atul Rai [Tue, 12 Jul 2016 07:53:35 +0000 (16:53 +0900)]
[Adapt] Undefine RFCOMM_DIRECT flag

In this patch we undefine RFCOMM_DIRECT flag and fix the build
error which occurred if RFCOMM_DIRECT is not defined.

Change-Id: I317757a1be40eb57f88dd6de9848b0e54e68a872
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: HAL] Added bluetooth socket interface 09/79809/1
Atul Rai [Wed, 13 Jul 2016 05:31:30 +0000 (14:31 +0900)]
[Adapt: HAL] Added bluetooth socket interface

This patch adds implementation of HAL bluetooth socket
interface for BlueZ stack.

Change-Id: I49b31f18e87960aea090e0b8f653cb25c920c50c
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Initialize bluetooth socket interface 08/79808/1
Atul Rai [Tue, 12 Jul 2016 07:44:12 +0000 (16:44 +0900)]
[Adapt] Initialize bluetooth socket interface

This patch adds bluetooth socket interface initialization logic
in bt-service and OAL.

Change-Id: Idb93c2be95151ca616cae78a769fec9e208203bd
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:BluezHAL] Handle Input device events 89/79589/2
Atul Rai [Fri, 8 Jul 2016 06:23:35 +0000 (15:23 +0900)]
[Adapt:BluezHAL] Handle Input device events

This patch adds implementation to handle input device events
from bluez. In this patch we parse the incomming events and
invoke corresponding HAL event handler.

Change-Id: I8957bd457835959fd0e8b8882928b20e83fd4451
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Implement Device Service Search(SDP) & event handling 94/79494/1
Anupam Roy [Mon, 11 Jul 2016 12:45:18 +0000 (08:45 -0400)]
[Adapt] Implement Device Service Search(SDP) & event handling

This patch implements Service Search API
in bt-service, OAL and Bluetooth HAL layer.

In order to maintain consistency with other open source stack,
after services are received as single property from OAL, rest of
the device properties are also fetched from stack and one single
event is sent to BT frwk containing all services along with
other bonded device informations.

Change-Id: I7f196d74b964f40b87d32635a5a00e271be4070f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Add error handling of 'Get bonded device info' call to stack 93/79493/1
Anupam Roy [Sun, 10 Jul 2016 13:19:48 +0000 (09:19 -0400)]
[Adapt] Add error handling of 'Get bonded device info' call to stack

It is possible that even after successful completion of Bonding,
get bonded device info query to stack gets fails due to internal
stack error. In such case, BT MW need to handle the error in order
to avoid waiting for properties infinitely.
User will get fail popup 'Unable to Bond with Device X'
and can re-attempt to establish bonding.

Also, instead of returning from cb_device_properties_cb in case
of 0 properties, send the event to BT MW to take necessary action.

Change-Id: I56402fe7e281866b4a5e6bb192f81c40864cbd05
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Add HID connection/disconnection handling 48/79448/1
Atul Rai [Fri, 8 Jul 2016 05:32:41 +0000 (14:32 +0900)]
[Adapt] Add HID connection/disconnection handling

This patch adds HID Host profile implementation in bt-service.
It adds implementation for HIDHost profile enable, HID Host
connect/disconnect APIs and callback event handling in bt-service.

Change-Id: I8cae531d126536987c3d8554fab59036c7efa746
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:BluezHAL]Add HIDHost connect/Disconnect API 05/79405/1
Atul Rai [Thu, 7 Jul 2016 08:23:21 +0000 (17:23 +0900)]
[Adapt:BluezHAL]Add HIDHost connect/Disconnect API

This patch added implementation for HID host connect and
disconnect APIs in BlueZ HAL. It also implements connection
state callback event handling in Bluez HAL.

Change-Id: I15f79cc89586df3e16e10086fee434bf6e631614
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt]Added support for DPM APIs in bt-service 64/79064/2
Atul Rai [Fri, 8 Jul 2016 05:19:40 +0000 (14:19 +0900)]
[Adapt]Added support for DPM APIs in bt-service

Change-Id: I9cdf3719f9122f62e745082fd70433cac0cd213b
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: OAL] Added HID host APIs and Callbacks 61/78861/2
Atul Rai [Thu, 7 Jul 2016 07:34:49 +0000 (16:34 +0900)]
[Adapt: OAL] Added HID host APIs and Callbacks

This patch adds HID Host profile APIs, Callbacks and Events
implementation in OAL.

Change-Id: If7f55d38fa1d04b7066a4c4d10b2afae3ba3977a
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:BluezHAL] Added HID Host interface 60/78860/2
Atul Rai [Thu, 7 Jul 2016 07:28:41 +0000 (16:28 +0900)]
[Adapt:BluezHAL] Added HID Host interface

This patch adds HID Host profile interface implementation to
Bluez HAL.

Change-Id: I6b856092679572c4c9a7cf106255ffbae2952e17
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Implement Cancel Bonding API 54/78854/1
Anupam Roy [Thu, 7 Jul 2016 06:58:44 +0000 (02:58 -0400)]
[Adapt] Implement Cancel Bonding API

This patch implements Cancel bonding
in bt-service, OAL and Bluez HAL

Change-Id: Ie63dcd195fc7cb09acd0dd58ef54758057543db4
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: OAL] Implement HAL callback (SSP & Legacy Pairing) 60/78760/2
Anupam Roy [Wed, 6 Jul 2016 18:23:17 +0000 (14:23 -0400)]
[Adapt: OAL] Implement HAL callback (SSP & Legacy Pairing)

Following SSP events are handled
 1/ BT_SSP_VARIANT_PASSKEY_ENTRY
 2/ BT_SSP_VARIANT_PASSKEY_NOTIFICATION
 3/ BT_SSP_VARIANT_PASSKEY_CONFIRMATION
 4/ BT_SSP_VARIANT_CONSENT

Apart from above, Legacy pairing (PIN Code) request
is also handled.

Change-Id: I941f466a7d0a45077fe7b604162d925107b11f67
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Implement SSP & Legacy Pairing API's in bt-service 64/78764/2
Anupam Roy [Wed, 6 Jul 2016 19:51:33 +0000 (15:51 -0400)]
[Adapt] Implement SSP & Legacy Pairing API's in bt-service

Note: As Syspopup support is by default disabled,
Confirmation request should be replied from BT CAPI
in order to establish bonding with Remote device
(Device with I/O capabilities - e.g Mobile Phone)

Change-Id: If0783c862cef4ba706ff141ebd67656c993a2e2a
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Implement SSP and PIN request event handlers 63/78763/2
Anupam Roy [Wed, 6 Jul 2016 19:15:04 +0000 (15:15 -0400)]
[Adapt] Implement SSP and PIN request event handlers

This patch implements SSP and Legacy Pairing
handlers and send events to BT Frwk.

Change-Id: Id3710e9b51a74a6ba80d7dc7eb548a6df3d1ad15
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt:OAL] Implement SSP and PIN Reply API's 62/78762/2
Anupam Roy [Wed, 6 Jul 2016 18:10:56 +0000 (14:10 -0400)]
[Adapt:OAL] Implement SSP and PIN Reply API's

This patch handles following Device Manger API's

 1/ Accept PIN Request
 2/ Reject PIN Request
 3/ Accept Passkey Entry
 4/ Reject Passkey Entry
 5/ Reply Passkey Confirmation
 6/ Reply SSP Consent

Change-Id: I591c80000ac5196e7b0c178446a3f41bb5658048
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: Bluez HAL] Implement SSP Reply & PIN Reply API's 61/78761/2
Anupam Roy [Wed, 6 Jul 2016 18:24:27 +0000 (14:24 -0400)]
[Adapt: Bluez HAL] Implement SSP Reply & PIN Reply API's

Change-Id: I28fa3710023d3b9318c1803f13f32daf0e02ddb1
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years agoMerge "[Adapt: Bluez HAL] Implement SSP and Legacy Pairing event handlers" into tizen...
Anupam Roy [Wed, 6 Jul 2016 20:20:26 +0000 (13:20 -0700)]
Merge "[Adapt: Bluez HAL] Implement SSP and Legacy Pairing event handlers" into tizen_next

8 years ago[Adapt: Bluez HAL] Implement SSP and Legacy Pairing event handlers 59/78759/2
Anupam Roy [Wed, 6 Jul 2016 18:22:00 +0000 (14:22 -0400)]
[Adapt: Bluez HAL] Implement SSP and Legacy Pairing event handlers

This patch handles following events
 1/ PIN Code Request
 2/ PASSKEY Request
 3/ DISPLAY Request
 4/ Confirmation Request

Note: Currently syspopup Mode is disabled.
Therefore SSP and Legacy Pairing events will be
sent to HAL user.

Change-Id: Ib3f10fc3774b9831b52586958a4aa18dbc26ad75
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: Bluez HAL] Add Device Interface(DBUS) signal subscription code 58/78758/1
Anupam Roy [Wed, 6 Jul 2016 18:20:56 +0000 (14:20 -0400)]
[Adapt: Bluez HAL] Add Device Interface(DBUS) signal subscription code

Change-Id: I6eb2ed62333544d3080d61bfa2669c4c58ab5518
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt:BluezHAL] Fix get bonded device list 95/78395/2
Atul Rai [Tue, 5 Jul 2016 10:07:14 +0000 (19:07 +0900)]
[Adapt:BluezHAL] Fix get bonded device list

Change-Id: I229bb96275364753a18ea7cb44ed96a5cc421be8
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Implement ACL connection state changed events in bt-service 97/78497/1
Anupam Roy [Tue, 5 Jul 2016 21:48:36 +0000 (17:48 -0400)]
[Adapt] Implement ACL connection state changed events in bt-service

Change-Id: I8c10549fb14411797e846712c2ad48dbacaf2559
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: OAL] Implement ACL connection state changed events 96/78496/1
Anupam Roy [Tue, 5 Jul 2016 20:49:23 +0000 (16:49 -0400)]
[Adapt: OAL] Implement ACL connection state changed events

Change-Id: Ib7fc3d1b6eb2eb25066dbc6a6a1465a7ac267044
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: Bluez HAL] Implement ACL connection state changed event 95/78495/1
Anupam Roy [Tue, 5 Jul 2016 20:35:23 +0000 (16:35 -0400)]
[Adapt: Bluez HAL] Implement ACL connection state changed event

Change-Id: I1c03526bac86538d73ca2950cea8051827ba0110
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Remove un-necessary debug prints 94/78494/1
Anupam Roy [Tue, 5 Jul 2016 19:42:20 +0000 (15:42 -0400)]
[Adapt] Remove un-necessary debug prints

Change-Id: Ie9cd2eedbfa072b98e214bdd4d2402c87ab2e1a7
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Implement create and remove Bond API's 93/78493/1
Anupam Roy [Tue, 5 Jul 2016 18:30:57 +0000 (14:30 -0400)]
[Adapt] Implement create and remove Bond API's

This patch handles following
 1/ Implement create and remove bond API's
 2/ Implement bonding state machine

Note: Currently bonding will not complete for the devices
requiring following pairing operations.

 1/ Devices requring Confirmation(numeric Comparison)
 2/ Devices requesting PinCode
 3/ Devices requesting DisplayPasskey
 etc. Pairing will be handled in subsequent patches.

Change-Id: I425ac62619e8f1ed61612e1c5358e872cdf9affc
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adaprt: OAL] Implement create and remove bond 92/78492/1
Anupam Roy [Tue, 5 Jul 2016 16:11:53 +0000 (12:11 -0400)]
[Adaprt: OAL] Implement create and remove bond

Change-Id: I3766a1516b9f7f0989d22e51382c181437f51fed
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt: Bluez HAL] Add GAP agent in Bluez HAL 91/78491/1
Anupam Roy [Tue, 5 Jul 2016 15:40:37 +0000 (11:40 -0400)]
[Adapt: Bluez HAL] Add GAP agent in Bluez HAL

Change-Id: Iaffa998d8531781eac6c9e613ad2e05aed693ba8
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Set remote device friendly name 77/78377/1
Atul Rai [Tue, 5 Jul 2016 06:30:01 +0000 (15:30 +0900)]
[Adapt] Set remote device friendly name

This patch adds implementation for _bt_set_alias API to
enable friendly name (alias) setting for the bonded devices.

Change-Id: I900fb8a25d4b30c3ebe0a7af5a50a378c5703286
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Send local property changed events to Apps 76/78376/1
Atul Rai [Tue, 5 Jul 2016 04:44:32 +0000 (13:44 +0900)]
[Adapt] Send local property changed events to Apps

Change-Id: I075943009e9b4e27dbafff204b62b881d1bb1ef1
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Implement set discoverable mode API 57/78257/2
Atul Rai [Tue, 5 Jul 2016 02:35:46 +0000 (11:35 +0900)]
[Adapt] Implement set discoverable mode API

This patch adds implementation for following APIs in bluetooth-frwk
and OAL:
1/ _bt_get_timeout_value()
2/ _bt_set_discoverable_mode()

Change-Id: Iccdac813f37d54299349787f5fb8525d935d0cff
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:Frwk] Implement get bonded device info APIs 21/78121/1
Atul Rai [Mon, 4 Jul 2016 10:06:19 +0000 (19:06 +0900)]
[Adapt:Frwk] Implement get bonded device info APIs

This patch adds code logic to support below APIs in bluetooth-frwk:
1/bluetooth_get_bonded_device_list()
2/bluetooth_get_bonded_device()

Change-Id: I4019fadd30debfee8b3f72f2b7838c0bb4a9af50
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: OAL] Implement get_bonded device info APIs 19/78119/1
Atul Rai [Mon, 4 Jul 2016 10:01:37 +0000 (19:01 +0900)]
[Adapt: OAL] Implement get_bonded device info APIs

This patch adds OAL implementation to retrieve bonded device list
as well as bonded device info.

Change-Id: I02a9788589ca762820d1b0cfc3b2d42fcf9c86b6
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:BluezHAL] Implement get_bonded_device list 18/78118/1
Atul Rai [Mon, 4 Jul 2016 09:57:38 +0000 (18:57 +0900)]
[Adapt:BluezHAL] Implement get_bonded_device list

This patch implements retrival of adapter property
GET_BONDED_DEVICE_LIST for Bluez HAL.

Change-Id: Icd1f0417a561c2a4fdd305ad9470c891d83dfc4a
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:BluezHAL]Handle remote device properties 17/78117/1
Atul Rai [Mon, 4 Jul 2016 09:24:50 +0000 (18:24 +0900)]
[Adapt:BluezHAL]Handle remote device properties

This patch implements HAL API get_remote_device_properties()
and handles remote device properties events from stack.

Change-Id: I7116e633bad5182b20d660d6c0ca10a221874cfc
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:Bluez HAL] Implement Create and Remove Bond 42/78042/1
Anupam Roy [Mon, 4 Jul 2016 05:18:20 +0000 (01:18 -0400)]
[Adapt:Bluez HAL] Implement Create and Remove Bond

This patch handled Create and Remove Bond methods
in Bluez HAL.

Note: Adapter Agent support will be added in subsequent patch.

Change-Id: I0db972dbca52360a861f1c06c6f31131a0ae1e88
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years agoMerge "[Adapt] Implement set adapter properties APIs" into tizen_next
Pyun DoHyun [Mon, 4 Jul 2016 03:40:22 +0000 (20:40 -0700)]
Merge "[Adapt] Implement set adapter properties APIs" into tizen_next

8 years agoMerge "[Adapt:BluezHAL]Implement set_adapter_property API" into tizen_next
Pyun DoHyun [Mon, 4 Jul 2016 03:40:14 +0000 (20:40 -0700)]
Merge "[Adapt:BluezHAL]Implement set_adapter_property API" into tizen_next

8 years ago[Adapt] Implement set adapter properties APIs 21/78021/1
Atul Rai [Mon, 4 Jul 2016 03:35:43 +0000 (12:35 +0900)]
[Adapt] Implement set adapter properties APIs

This patch implements various set adapter property APIs
(e.g.: _bt_set_local_name, _bt_set_connectable etc.) in
bluetooth-frwk and OAL.

Change-Id: I1745f7e016d7a052e16c4ebf9cfddf76d85875a1
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:BluezHAL]Implement set_adapter_property API 20/78020/1
Atul Rai [Mon, 4 Jul 2016 03:29:33 +0000 (12:29 +0900)]
[Adapt:BluezHAL]Implement set_adapter_property API

This patch implements HAL API set_adapter_property() used to
set various local adapter properties like name, discoverable,
connectable etc. in Bluez HAL.

Change-Id: Ibb342ac6eb517e958cd0bcc474687a86f8c408e3
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt] Handle Device Property changed event 47/77947/1
Anupam Roy [Fri, 1 Jul 2016 11:23:03 +0000 (07:23 -0400)]
[Adapt] Handle Device Property changed event

This patch handles device property changed event
for sending remote device properties as Discovery
result.

Change-Id: Ie755af47be92eb5b5211abdaf49eaa02c5f0d759
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Implement Start and Stop Discovery 32/77832/1
Anupam Roy [Fri, 1 Jul 2016 08:18:55 +0000 (04:18 -0400)]
[Adapt] Implement Start and Stop Discovery

This patch does following
1/ Implement Start and Stop Discovery API's
2/ Handle Discovery state changed events (Started, Stopped)
3/ Handle Remote Device found event

Note: Currently BLE Only device discovery is not handled.

Change-Id: I5a9ef90f446ab7b9c73af7aa39e6b9cb74232d8d
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Implement is_service_used API 93/77793/1
Atul Rai [Fri, 1 Jul 2016 06:43:21 +0000 (15:43 +0900)]
[Adapt] Implement is_service_used API

This patch implements is_service_used() API to check if
user specified service is enabled for local adapter.

Change-Id: Ic29fce509cf49ecea2074ad2437c3ff300b05572
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt]Added support for get adapter property APIs 05/77605/1
Atul Rai [Thu, 30 Jun 2016 08:52:31 +0000 (17:52 +0900)]
[Adapt]Added support for get adapter property APIs

This patch added support to get adapter property APIs mentioned below:
1/ _bt_get_local_address
2/ _bt_get_local_version
3/ _bt_get_local_name
4/ _bt_get_discoverable_mode

Change-Id: I21b15779b44f8ac9b715b32f4f7b6ac2eadee75c
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt:OAL]Added event_data size in OAL send_event 83/77583/1
Atul Rai [Thu, 30 Jun 2016 08:30:55 +0000 (17:30 +0900)]
[Adapt:OAL]Added event_data size in OAL send_event

This patch modifies OAL function send_event() to include
size of the event_data along with event_data void ptr.
This will help if later we need to copy event_data and release
OAL context from bt-service-event-receiver.

Change-Id: Ie215db21027a9c76680473b1c848c0fd0c7c1416
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: bluez_hal]Implement get_adapter_property 72/77572/1
Atul Rai [Thu, 30 Jun 2016 08:12:05 +0000 (17:12 +0900)]
[Adapt: bluez_hal]Implement get_adapter_property

This patch adds implementation for HAL API
get_adapter_property(bt_property_type_t type)
This API is used to retrieve local adapter property specified by
the input parameter type.

Change-Id: I7c7c78093d87206b67b3a17003a2df342d6801bc
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt: bluez_hal]Implement get_adapter_properties 71/77571/1
Atul Rai [Thu, 30 Jun 2016 07:52:56 +0000 (16:52 +0900)]
[Adapt: bluez_hal]Implement get_adapter_properties

This patch adds implementation for HAL API get_adapter_properties()
used for retrieving local adapter properties.

Change-Id: Ica2296d7fb82584d46d36b40daef29d23282f5fe
Signed-off-by: Atul Rai <a.rai@samsung.com>
8 years ago[Adapt]Implement Adpater Enable\Disable 87/77287/2
Anupam Roy [Wed, 29 Jun 2016 08:58:41 +0000 (04:58 -0400)]
[Adapt]Implement Adpater Enable\Disable

1/Implement Adapter Enable and Disable API's

2/Perform Adapter properties and Adapter state conversion
 from DBUS base properties to HAL based properties.

[Note: Currently bt-service daemon is NOT terminated on
 disabling adapter from Bluetooth Settings. It will
 be handled later]

Change-Id: I36403bc3d2a462e3e992407805678364701e2da9
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt]Add OAL and implement Bluez HAL lib 86/77286/1
Anupam Roy [Wed, 29 Jun 2016 08:39:13 +0000 (04:39 -0400)]
[Adapt]Add OAL and implement Bluez HAL lib

This patch does following-

1/Create HAL or Hardware Abstraction Layer
 in Tizen BT framework which serves as the main
 stack abstraction layer. HAL interfaces are
 adopted from Bluez for Android(BFA) project.
 In case of Bluez, HAL implementation  will
 handle conversion of API calls to Bluez DBUS
 method calls and also converting DBUS events
 to API callbacks to HAL user.

2/Add BT OAL (Open Source Adaptation Layer)
 This layer will serve a stack independent
 interface beneath Tizen bt-service. All
 stack specific events will be converted to
 OAL specific events and dispatched to Tizen
 bt-service. Similary this layer will hide the
 internals of HAL (hardware abstraction layer)

3/bt-service links BT OAL library. bt-service main
 triggers BT OAL library loading which further
 dynamically loads BlueZ HAL library.

Dlogutil log extract
===================================================
oal-manager.c: load_hal_lib(134) > Tizen Platform BT chip: Tizen Platform HAL library will be loaded
oal-manager.c: load(177) > Loading Library: /usr/lib/libbluetooth.default.so
oal-manager.c: load(225) > loaded HAL id=bluetooth libpath=/usr/lib/libbluetooth.default.so hmi=0xb6f84d9c handle=0xb5301100
bt-hal-bluetooth.c: open_bluetooth(288) >
oal-manager.c: load_hal_lib(149) > HAL Library loaded successfullly
bt-service-core-adapter.c: __bt_post_oal_init(101) > OAL initialized, Init profiles..

Change-Id: Ibb50c658a4b44c4528757d41fb6198dfa85e6f05
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years ago[Adapt] Separate bluetooth service dir 75/76675/1
Anupam Roy [Sun, 26 Jun 2016 17:44:56 +0000 (13:44 -0400)]
[Adapt] Separate bluetooth service dir

This initial patch does following-

1/Create bluetooth service adaptation
 directory(bt-service-adaptation), which will be used
 for stack adaptation development.

2/Create services folder in bt-service-adaptation. All
 core services (hid, audio, opp, hfp, gatt etc) will be
 created inside the services dir in subsequent patches.

3/Create basic files for bt-service initially inside
 bt-service-adaptation/services dir.

4/Declare environment variable to enable build of
 bt-service-adaptation directory. [If bt_hal is enabled,
 bt-service-adaptation will be built, otherwise bt-service
 will be built]

[Note: Functionalities will be enabled in subsequent patches]

Change-Id: Ib6f8296d30a3f27502c2e0a28e388e043fced1aa
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years agoFix wrong data passed in get_bond_info 42/76242/1 accepted/tizen/common/20160627.191958 accepted/tizen/ivi/20160628.014455 accepted/tizen/mobile/20160628.014537 accepted/tizen/tv/20160628.014505 accepted/tizen/wearable/20160628.014525 submit/tizen/20160623.074852 submit/tizen/20160627.044451
Taejin Woo [Thu, 23 Jun 2016 07:30:45 +0000 (16:30 +0900)]
Fix wrong data passed in get_bond_info

when tethering, it is displaying as "No Name" instead of actual device

Change-Id: Icf0148bde5bfe1c1d130647831abea0135599aac
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoMerge "Implement BT search function in emulator" into tizen accepted/tizen/common/20160621.184616 accepted/tizen/ivi/20160622.021655 accepted/tizen/mobile/20160622.021609 accepted/tizen/tv/20160622.021621 accepted/tizen/wearable/20160622.021639 submit/tizen/20160621.071537
DoHyun Pyun [Tue, 21 Jun 2016 04:15:28 +0000 (21:15 -0700)]
Merge "Implement BT search function in emulator" into tizen

8 years agoAdd the supplementary group for priv_mediastorage 14/75514/1
Hyuk Lee [Mon, 20 Jun 2016 08:01:38 +0000 (17:01 +0900)]
Add the supplementary group for priv_mediastorage

Change-Id: I4bdda6b35bbdd1856d4d0ef65b568ad83505d29a
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoImplement BT search function in emulator 06/75506/2
DoHyun Pyun [Mon, 20 Jun 2016 07:11:40 +0000 (16:11 +0900)]
Implement BT search function in emulator

Change-Id: I1633028eac2925eacf72b124347be58aa024fdcc
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoApply the initial codes for BT emulator 04/75304/2 accepted/tizen/common/20160620.163738 accepted/tizen/ivi/20160621.024524 accepted/tizen/mobile/20160621.024328 accepted/tizen/tv/20160621.024356 accepted/tizen/wearable/20160621.024412 submit/tizen/20160620.042720 submit/tizen/20160620.064511
DoHyun Pyun [Fri, 17 Jun 2016 09:23:47 +0000 (18:23 +0900)]
Apply the initial codes for BT emulator

BT on / off operation was verified. We should implement other functionalities.

Change-Id: I6221b7a768d87bab51246510483c7a0fa0e5752e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the type naming correctly for hid device role 06/70706/6
Taejin Woo [Wed, 8 Jun 2016 02:26:51 +0000 (11:26 +0900)]
Fix the type naming correctly for hid device role

Change-Id: I31d6faed8d94ae6f79db508912de5c75c774d764
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoMerge "Add the privilege check for registering HDP sink app" into tizen accepted/tizen/common/20160620.163218 accepted/tizen/ivi/20160617.084150 accepted/tizen/mobile/20160617.084154 accepted/tizen/tv/20160617.084006 accepted/tizen/wearable/20160617.084209 submit/tizen/20160617.023912
Pyun DoHyun [Fri, 17 Jun 2016 02:38:03 +0000 (19:38 -0700)]
Merge "Add the privilege check for registering HDP sink app" into tizen

8 years ago[BT-frwk] Fix issue in the gdbus proxy call for remove remote oob data. 31/75031/1
Sudha Bheemanna [Thu, 16 Jun 2016 10:21:49 +0000 (15:51 +0530)]
[BT-frwk] Fix issue in the gdbus proxy call for remove remote oob data.

Added missing brackets in the proxy call sisgnature which
causes failiure in the dbus proxy call to bluez.

Change-Id: Ic0c8112d4493051aa4fa5ca979ffed3e094d8401
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoAdd the privilege check for registering HDP sink app 69/74869/1
Hyuk Lee [Thu, 16 Jun 2016 02:36:05 +0000 (11:36 +0900)]
Add the privilege check for registering HDP sink app

Change-Id: I960082035b23834527c36fe9066b6f8629c28185
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years ago[BT-frwk] Fix issue in the gdbus proxy call for Add remote oob data. 64/74764/1
Sudha Bheemanna [Wed, 15 Jun 2016 11:35:44 +0000 (17:05 +0530)]
[BT-frwk] Fix issue in the gdbus proxy call for Add remote oob data.

Added missing brackets in the proxy call sisgnature which
causes failiure in the dbus proxy call to bluez.

Change-Id: I8b8ebabef5db4bac7287a3521005ba5f015dd56e
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
8 years agoEnable the flight mode handling logic for wearable target 56/73956/1 accepted/tizen/common/20160610.182608 accepted/tizen/ivi/20160613.022032 accepted/tizen/mobile/20160613.022102 accepted/tizen/tv/20160613.021955 accepted/tizen/wearable/20160613.022009 submit/tizen/20160610.075956
DoHyun Pyun [Fri, 10 Jun 2016 07:34:47 +0000 (16:34 +0900)]
Enable the flight mode handling logic for wearable target

Change-Id: Iaba1b81bc8baf8e05cb8cf743e0b734496ac4233
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoIPSP : Handle BT interface info event or property emitted from bluez 98/58198/3 accepted/tizen/common/20160609.145517 accepted/tizen/ivi/20160609.090242 accepted/tizen/mobile/20160609.090201 accepted/tizen/tv/20160609.090308 accepted/tizen/wearable/20160609.090231 submit/tizen/20160608.051814
paras.kumar [Thu, 28 Jan 2016 08:42:45 +0000 (14:12 +0530)]
IPSP : Handle BT interface info event or property emitted from bluez

This patch is to handle the property emitted from bluez for BT interface
info after IPSP connection. Add bluetooth event for the same.

Change-Id: Ib38a6b0a7f12442a693b84507edf3f8ef8037f9a
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
8 years agoAdd the privilege for IPSP 30/72230/3
Taejin Woo [Tue, 31 May 2016 08:11:22 +0000 (17:11 +0900)]
Add the privilege for IPSP

Change-Id: Ic8c7197c00bcb681f0c948319ea815baf36318ca
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoFix the coding style errors (include) 53/73253/1
DoHyun Pyun [Tue, 7 Jun 2016 09:24:32 +0000 (18:24 +0900)]
Fix the coding style errors (include)

Change-Id: I7ef692ed981cf3e0bfd219dc73267030fb7bbc15
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the coding style errors (test) 52/73252/1
DoHyun Pyun [Tue, 7 Jun 2016 09:22:18 +0000 (18:22 +0900)]
Fix the coding style errors (test)

Change-Id: Idfe816533734aea605db7387852b356bfa5a8619
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoMerge "Fix the coding style errors (bt-httpproxy)" into tizen
DoHyun Pyun [Tue, 7 Jun 2016 08:11:43 +0000 (01:11 -0700)]
Merge "Fix the coding style errors (bt-httpproxy)" into tizen

8 years agoMerge "Add the privilege check for GATT SERVER APIs" into tizen
Pyun DoHyun [Tue, 7 Jun 2016 05:16:47 +0000 (22:16 -0700)]
Merge "Add the privilege check for GATT SERVER APIs" into tizen

8 years agoFix the coding style errors (bt-httpproxy) 73/73173/1
DoHyun Pyun [Tue, 7 Jun 2016 04:50:23 +0000 (13:50 +0900)]
Fix the coding style errors (bt-httpproxy)

Change-Id: I3e7d7be31156f44afd5afa6dc760e2998f8ea659
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoAdd the privilege check for GATT SERVER APIs 72/73172/1
Hyuk Lee [Tue, 7 Jun 2016 04:49:43 +0000 (13:49 +0900)]
Add the privilege check for GATT SERVER APIs

Change-Id: I8cb8bcbb333837f06918b5e02b8742642abfe1db
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoFix the coding style errors (bt-api) 49/73149/1
DoHyun Pyun [Tue, 7 Jun 2016 02:34:19 +0000 (11:34 +0900)]
Fix the coding style errors (bt-api)

Change-Id: I13625ced68f5aef772d9f219643a73e4168c43e1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the coding style errors (bt-service) 09/72909/1 accepted/tizen/common/20160607.194547 accepted/tizen/ivi/20160607.071930 accepted/tizen/mobile/20160607.071857 accepted/tizen/tv/20160607.071902 accepted/tizen/wearable/20160607.071846 submit/tizen/20160607.011620
DoHyun Pyun [Fri, 3 Jun 2016 04:19:38 +0000 (13:19 +0900)]
Fix the coding style errors (bt-service)

Change-Id: I9b08cfa50b3d0f18674ded0f1a43692de82deadb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoAdd the privilege check for async GATT connection 27/72527/1 accepted/tizen/common/20160603.150552 accepted/tizen/ivi/20160602.231130 accepted/tizen/mobile/20160602.231149 accepted/tizen/tv/20160602.231111 accepted/tizen/wearable/20160602.231116 submit/tizen/20160602.083956
Hyuk Lee [Wed, 1 Jun 2016 09:56:35 +0000 (18:56 +0900)]
Add the privilege check for async GATT connection

Change-Id: Ia5b7b6d28bd3a928298785bc3b6c017144e63672
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoDPM: Add Error code for device policy restriction. 09/72309/3
h.sandeep [Tue, 31 May 2016 10:17:01 +0000 (15:47 +0530)]
DPM: Add Error code for device policy restriction.

Added the Error code "BLUETOOTH_ERROR_DEVICE_POLICY_RESTRICTION".

Change-Id: I303860eff6a5df40dccf641df390552d2c4cdb43
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoFix the coding style errors (bt-service) 63/72263/1
DoHyun Pyun [Tue, 31 May 2016 09:09:18 +0000 (18:09 +0900)]
Fix the coding style errors (bt-service)

Change-Id: Ia82e50427bd0ec90323e1de99a55973307526905
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the coding style errors (bt-core) 47/72047/1
DoHyun Pyun [Mon, 30 May 2016 09:52:52 +0000 (18:52 +0900)]
Fix the coding style errors (bt-core)

Change-Id: I519953e66b0980657a7ad5f60f6a9aec5ed5a6d2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the bug for the A2DP connection 75/71975/1
DoHyun Pyun [Mon, 30 May 2016 04:55:47 +0000 (13:55 +0900)]
Fix the bug for the A2DP connection

When an application uses BT_AUDIO_PROFILE_TYPE_ALL to connect,
HSP profile only be connected because of the wrong logic in
bt-service's audio connected list.

Change-Id: If1d9569a018bc02c1a3c863bd21e01ff6715533b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoHPS: Add D-bus configuration for bt-httpproxy 89/59489/2
h.sandeep [Tue, 16 Feb 2016 04:58:14 +0000 (10:28 +0530)]
HPS: Add D-bus configuration for bt-httpproxy

Change-Id: I0fa6846075718fdb5650bfd5566f981554f8576c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoMerge "Modify the PBAP connection event implementation" into tizen accepted/tizen/common/20160530.131853 accepted/tizen/ivi/20160602.021805 accepted/tizen/mobile/20160602.021859 accepted/tizen/tv/20160602.021730 accepted/tizen/wearable/20160602.021809 submit/tizen/20160530.005238
DoHyun Pyun [Thu, 26 May 2016 01:25:23 +0000 (18:25 -0700)]
Merge "Modify the PBAP connection event implementation" into tizen

8 years agoFix memory leak 66/71266/1
Taejin Woo [Wed, 25 May 2016 00:47:47 +0000 (09:47 +0900)]
Fix memory leak

Change-Id: Ia7a5dbcd25e4825314ae3e7e577db3c557defc99
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoModify the PBAP connection event implementation 95/70895/4
DoHyun Pyun [Mon, 23 May 2016 07:43:36 +0000 (16:43 +0900)]
Modify the PBAP connection event implementation

The previous implemenation only send the connection event
when an application calls PBAP connect / disconnect API.
This patchset enables to recieve the connection state changed
event in the idle time.

Change-Id: I498c857dcc8ee8ef29eb5b0aea579dbd8b3e4f82
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoDPM: Modify Discoverable policy handling. 83/69283/2
h.sandeep [Thu, 12 May 2016 06:32:57 +0000 (12:02 +0530)]
DPM: Modify Discoverable policy handling.

Change-Id: I26df964a4203ede38c4dcad1e513ff144b058bb5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoModify the hardcorded storage path to get the download path 85/68985/1 accepted/tizen/common/20160511.142125 accepted/tizen/ivi/20160512.050827 accepted/tizen/mobile/20160512.050819 accepted/tizen/tv/20160512.050748 accepted/tizen/wearable/20160512.050806 submit/tizen/20160511.024308
DoHyun Pyun [Wed, 11 May 2016 02:17:10 +0000 (11:17 +0900)]
Modify the hardcorded storage path to get the download path

The previous pbap download path is hardcorded. Instead of this
uses storage API and get the platform download path. And add the
storage privilege check logic.

Change-Id: If8c5d9a8565cc5e3ba39b4284553a98b325310b8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoAdd the privilege related with the role of hid device 18/68818/1 accepted/tizen/common/20160511.141806 submit/tizen/20160510.081616
Taejin Woo [Tue, 10 May 2016 01:54:27 +0000 (10:54 +0900)]
Add the privilege related with the role of hid device

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