device-manager: Add 'role' parameter to device_list_get_device() 14/207914/3
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 14 Jun 2019 03:15:59 +0000 (12:15 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 14 Jun 2019 07:21:16 +0000 (16:21 +0900)
commitf7c666626e272f0d3a0dc6567d5d88d7e32f3956
tree654a809fda6022e0ae0db9e18586ba05636015fd
parent673ea64d8a91392c58744d2b92592a3675a2aca2
device-manager: Add 'role' parameter to device_list_get_device()

With new role parameter is specified, it returns a device considering
the role. For this, pa_tz_device_get_role() is added to tizen-device.c.

It is revised not to judge whether a device type is for multi-devices
by predefined device types. So, device_type_is_avail_multi_device() is
removed from tizen-device-def.c.

[Version] 11.1.49
[Issue type] Improvement

Change-Id: I3d9532b80dd02adda9fc9f5b75d8e1ab68276624
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/device-manager-dbus.c
src/device-manager-priv.h
src/device-manager.c
src/tizen-device-def.c
src/tizen-device-def.h
src/tizen-device.c
src/tizen-device.h