platform/core/multimedia/libmm-sound.git
6 years agoRevise dbus error handling codes to be more defensive 86/147386/1
Sangchul Lee [Mon, 4 Sep 2017 06:59:30 +0000 (15:59 +0900)]
Revise dbus error handling codes to be more defensive

[Version] 0.11.22
[Issue Type] Enhancement

Change-Id: Ic433b6e794efc9256799a4bc09cdb535655b8e76
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoUse mutex for focus index only when it is not for session in mm_sound_client_set_focu... 91/146491/3 accepted/tizen/unified/20170901.201019 submit/tizen/20170901.030803
Sangchul Lee [Tue, 29 Aug 2017 04:56:00 +0000 (13:56 +0900)]
Use mutex for focus index only when it is not for session in mm_sound_client_set_focus_reacquisition()

Since the muse server which uses this library for multiple handles executes requests from clients serially,
we can skip locking/unlocking the mutex for this case.

[Version] 0.11.21
[Issue Type] Enhancement

Change-Id: Ib90eb2c5f20086c048c7cae52ee9e4037cab265b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agofixup! Do not raise() inside signal handler 98/145298/2 accepted/tizen/4.0/unified/20170829.020318 accepted/tizen/unified/20170822.182805 submit/tizen/20170822.051906 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Seungbae Shin [Tue, 22 Aug 2017 04:47:04 +0000 (13:47 +0900)]
fixup! Do not raise() inside signal handler

[Version] 0.11.20
[Issue Type] Revise

Change-Id: I62f9cb32009421810581ca689e5e194b5492c645

6 years agofixup! focus-server: Apply umask(0) to change access permissions of its files 97/145297/2
Seungbae Shin [Tue, 22 Aug 2017 04:45:37 +0000 (13:45 +0900)]
fixup! focus-server: Apply umask(0) to change access permissions of its files

Change-Id: Ie36dc6e99bc06f7d38220208f920fe7d22b9f491

6 years agoDo not raise() inside signal handler 93/144893/3 accepted/tizen/unified/20170822.023847 submit/tizen/20170821.085338
Seungbae Shin [Fri, 18 Aug 2017 08:05:02 +0000 (17:05 +0900)]
Do not raise() inside signal handler

[Version] 0.11.19
[Issue Type] Cleanup

Change-Id: I17e3d04d75b54bdec9a29aa45575f32e0de89903

6 years agofocus-server: Apply umask(0) to change access permissions of its files 87/144987/2
Sangchul Lee [Mon, 21 Aug 2017 00:56:12 +0000 (09:56 +0900)]
focus-server: Apply umask(0) to change access permissions of its files

[Version] 0.11.18
[Issue Type] Enhancement

Change-Id: I7a46d3ea7df6cef23301175dccc5d6c4a553fecb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agofocus-server: fix bug of invoking monitor callback of other nodes 01/144601/1
Sangchul Lee [Thu, 17 Aug 2017 08:05:29 +0000 (17:05 +0900)]
focus-server: fix bug of invoking monitor callback of other nodes

[Version] 0.11.17
[Issue Type] Bug

Change-Id: I630cb5420f2addb4666e398f3fcd38af3143ae51
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agofix invalid parameter in error log 99/144499/1
Sangchul Lee [Thu, 17 Aug 2017 04:35:06 +0000 (13:35 +0900)]
fix invalid parameter in error log

[Version] 0.11.16
[Issue Type] Bug

Change-Id: Ib825e9c02459b5d498d50d4045e1899721710b82
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agofixup! Move volume vconf set to pulseaudio 21/142221/3 accepted/tizen/4.0/unified/20170816.011816 accepted/tizen/unified/20170804.025631 submit/tizen/20170803.072523 submit/tizen_4.0/20170811.094300
Seungbae Shin [Thu, 3 Aug 2017 05:54:43 +0000 (14:54 +0900)]
fixup! Move volume vconf set to pulseaudio

- Fix for returning permission error properly if set_volume without privilege
- Revise codes based on coding rule

[Version] 0.11.15
[Profile] Common
[Issue Type] Bug

Change-Id: I37a8171de8382aa011659d8fd2ac3212d3becd0e

6 years agoAdd notstrip file for TV 33/140133/1 accepted/tizen/unified/20170727.190305 submit/tizen/20170724.103042
Jungsup Lee [Mon, 24 Jul 2017 04:26:32 +0000 (13:26 +0900)]
Add notstrip file for TV

Add libmm-sound.notstrip file

[Version] 0.11.15
[Profile] TV
[Issue Type] Requirement

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: Ie404d8e31f14faf50dbca8b0a60b0efc21800d77

6 years agoRevise unnecessary logs, remove build warnings 80/139680/2 accepted/tizen/unified/20170721.202218 submit/tizen/20170721.042445
Seungbae Shin [Tue, 18 Jul 2017 07:07:42 +0000 (16:07 +0900)]
Revise unnecessary logs, remove build warnings

[Version] 0.11.14
[Issue Type] Cleanup

Change-Id: I3168b80a822f054a073f76ff7acaf448c2dd01c2

6 years agoFix possible buffer overflow using strncat 51/139351/2 accepted/tizen/unified/20170721.040451 submit/tizen/20170720.045714
Seungbae Shin [Tue, 18 Jul 2017 11:45:33 +0000 (20:45 +0900)]
Fix possible buffer overflow using strncat

+ Remove unnecessary getenv code

[Version] 0.11.13
[Profile] Common
[Issue Type] Security

Change-Id: Ief1e7f38562eacd4a4fea2e04bc726197c1d6d94

6 years agofixup! Fix use-after-free crash during get empty codec slot 65/138965/1 accepted/tizen/unified/20170719.132221 submit/tizen/20170717.021211 submit/tizen/20170718.102010 submit/tizen/20170719.041955
Seungbae Shin [Fri, 14 Jul 2017 11:40:06 +0000 (20:40 +0900)]
fixup! Fix use-after-free crash during get empty codec slot

reset of shutdown timer was missing during new handle is created

[Version] 0.11.12
[Issue Type] Bug

Change-Id: I8915ae1ebbe57d7b34d8889212fd7808b1103802

6 years agoMove volume vconf set to pulseaudio 19/136919/2 accepted/tizen/unified/20170717.021038 submit/tizen/20170713.021221
Seungbae Shin [Mon, 3 Jul 2017 12:23:54 +0000 (21:23 +0900)]
Move volume vconf set to pulseaudio

[Version] 0.11.11
[Profile] Common
[Issue Type] Requirement

Change-Id: I6f8be5668a6e32ad7f498ea6c8c5add6cb45879c

6 years agoRemove capability options in spec file and those will be moved to security-config... 49/136349/3
Sangchul Lee [Thu, 29 Jun 2017 07:14:09 +0000 (16:14 +0900)]
Remove capability options in spec file and those will be moved to security-config package

[Version] 0.11.10
[Issue Type] spec

Change-Id: If6a727c0deb0664b1ed65b3f92d095ab0ebbcbbe
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoFix use-after-free crash during get empty codec slot 86/137086/1 accepted/tizen/unified/20170706.194242 submit/tizen/20170706.113657
Seungbae Shin [Fri, 19 May 2017 10:34:02 +0000 (19:34 +0900)]
Fix use-after-free crash during get empty codec slot

Issue detected using libFuzzer, patch provided by SQE.

[Version] 0.11.9
[Profile] Common
[Issue Type] Enhancement

Change-Id: I9dc7afa7a3733bebd03c634a8400ccfb0aebf0f3

6 years agofocus_server: Apply new macro 34/133734/4 accepted/tizen/unified/20170627.071447 accepted/tizen/unified/20170630.083020 submit/tizen/20170615.073353 submit/tizen/20170626.070954
Sangchul Lee [Tue, 13 Jun 2017 08:08:21 +0000 (17:08 +0900)]
focus_server: Apply new macro

  CONTINUE_IF_LIST_DATA_IS_NULL(x_node, x_list)
  CONTINUE_IF_NOT_MY_FOCUS_NODE(x_node, x_param)

[Version] 0.11.8
[Profile] Common
[Issue Type] Refactoring

Change-Id: I191793ab7fb8b9eebd359b365458f349494a89bf
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agofocus_server: Add support for delivery focus to another node 87/133687/3
Sangchul Lee [Mon, 12 Jun 2017 02:51:42 +0000 (11:51 +0900)]
focus_server: Add support for delivery focus to another node

[Version] 0.11.7
[Profile] Common
[Issue Type] New feature

Change-Id: I685153d97900881e07b0c95e6c405e335da8cf99
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoAdd device property vendor/product id for USB 08/133508/2 accepted/tizen/unified/20170630.082938 submit/tizen/20170614.022225
Jeongho Mok [Mon, 12 Jun 2017 08:31:37 +0000 (17:31 +0900)]
Add device property vendor/product id for USB

[Version] 0.11.6
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ifdfc3f47efd82c6097fa9ef5a4b539ca626bced3

6 years ago[SQE][LibFuzzer] Fix opened file descriptors cleanup in libmm-sound 44/132444/1 accepted/tizen/unified/20170608.072209 submit/tizen/20170607.044604
Seungbae Shin [Mon, 5 Jun 2017 08:08:18 +0000 (17:08 +0900)]
[SQE][LibFuzzer] Fix opened file descriptors cleanup in libmm-sound

[Version] 0.11.5
[Profile] Common
[Issue Type] SQE

Change-Id: I2c241b1d61e5041b68beb3ed9c43eecc2ccdbf24

6 years agotestsuite: Fix fgets error handling branch 85/132085/3 accepted/tizen/unified/20170605.150759 submit/tizen/20170602.051157
Jeongho Mok [Thu, 1 Jun 2017 05:01:39 +0000 (14:01 +0900)]
testsuite: Fix fgets error handling branch

[Version] 0.11.4
[Profile] Common
[Issue Type] Testsuite

Change-Id: I033e141174d39cd3bb69fd760074e984f4fb865f

6 years agoFix invalid signature of mm_sound_get_device_by_id 34/132134/2
Jeongho Mok [Thu, 1 Jun 2017 07:06:12 +0000 (16:06 +0900)]
Fix invalid signature of mm_sound_get_device_by_id

[Version] 0.11.4
[Profile] Common
[Issue Type] Enhancement

Change-Id: I7ffd3ae656937012110ae82e90d505285fa2e6e6

6 years agoGet device by id 37/131637/3
Jeongho Mok [Tue, 30 May 2017 04:44:18 +0000 (13:44 +0900)]
Get device by id

[Version] 0.11.3
[Profile] Common
[Issue Type] Enhancement

Change-Id: I140885278aa8bab3d5fabc5c0a0860b38d6fde9a

6 years agoSkip invoking watch callback if the request is coming from the watch callback 80/129380/4
Sangchul Lee [Tue, 16 May 2017 05:10:43 +0000 (14:10 +0900)]
Skip invoking watch callback if the request is coming from the watch callback

It is possible that request of acquiring/releasing focus can be executed within
focus watch callback. In this case, focus server can try to invoke the focus
watch callback of same node again based on conditions and then it gets blocked.
This patch avoids situation by skipping the callback again.

[Version] 0.11.2
[Issue Type] Enhancement

Change-Id: I2fc337227fa75dfb2d6f660fbc6c2fe4977b0548
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoAdd support for acquiring/releasing focus within focus callback 10/129310/6
Sangchul Lee [Fri, 12 May 2017 05:41:19 +0000 (14:41 +0900)]
Add support for acquiring/releasing focus within focus callback

Added socket infrastructure for new IPC.
Added signal handler to deinitialize resources.

[Version] 0.11.1
[Issue Type] Enhancement

Change-Id: Ia497cc7e651221cc5dcfeb58518194c877cf7458
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoRemove version from plugin so, remove symbolic link 44/131244/2 accepted/tizen/unified/20170531.082627 submit/tizen/20170526.083733
Seungbae Shin [Thu, 25 May 2017 13:58:06 +0000 (22:58 +0900)]
Remove version from plugin so, remove symbolic link

few build warnings are removed also

[Version] 0.10.115
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ia6657a1f82b090b9f62ee0b05c33426b7116ee3c

7 years agoAdd exception case as per the previous session policy when releasing focus 38/128738/1 accepted/tizen/unified/20170511.173106 submit/tizen/20170511.042527 tizen_4.0.m1_release
Sangchul Lee [Thu, 11 May 2017 07:26:15 +0000 (16:26 +0900)]
Add exception case as per the previous session policy when releasing focus

 - session resumption is only available for media session.

[Version] 0.10.115
[Issue Type] Backward compatibility

Change-Id: I2d56838d0eb3d4c3116115205dd2e81842a439b8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFOCUS_TYPE_BOTH can be passed to argument of mm_sound_mgr_focus_get_stream_type_of_ac... 68/127868/1
Sangchul Lee [Tue, 18 Apr 2017 01:04:30 +0000 (10:04 +0900)]
FOCUS_TYPE_BOTH can be passed to argument of mm_sound_mgr_focus_get_stream_type_of_acquired_focus()

Some codes that check validation of arguments are also added.

[Version] 0.10.114
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ie286d59afe7c98bb5f0c7774b19a660dedc4a057
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoInvoke focus watch callback when unregistering node with acquired state 67/127867/1
Sangchul Lee [Fri, 14 Apr 2017 07:16:35 +0000 (16:16 +0900)]
Invoke focus watch callback when unregistering node with acquired state

Even though there's no node which has lost the focus by this unregistering node,
focus watch callbacks should be called in contrast with focus state callback.
Revise wrong condition of invoking monitor callback.

[Version] 0.10.113
[Profile] Common
[Issue Type] Bug fix

Change-Id: I83fb18081ea94f4e26f7a3aaf158fb0357d7a108
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoSimulate monitor handle of audio session manager 74/124974/2
Sangchul Lee [Wed, 12 Apr 2017 00:19:41 +0000 (09:19 +0900)]
Simulate monitor handle of audio session manager

This patch simulates asm monitor handle that is used by sound-manager session interrupted callback.

[Version] 0.10.112
[Profile] Common
[Issue Type] Backward compatibility

Change-Id: Icffabc332f2e2bee3d48a610b1369fb584832868
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix to skip decreasing repeat count in case of inifinite play in mm_sound_plugin_code... 87/127687/1 accepted/tizen/unified/20170502.165405 submit/tizen/20170502.041616
Sangchul Lee [Fri, 28 Apr 2017 08:57:52 +0000 (17:57 +0900)]
Fix to skip decreasing repeat count in case of inifinite play in mm_sound_plugin_codec_wave.c

[Version] 0.10.111
[Profile] Common
[Issue Type] Fix Bug

Change-Id: If8ca4a90a0f4b22ed22edf41106c8e21cc1b7fe0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoInvoke stop callback always 76/127476/2 accepted/tizen/unified/20170428.032929 submit/tizen/20170427.124253
Jeongho Mok [Thu, 27 Apr 2017 10:13:26 +0000 (19:13 +0900)]
Invoke stop callback always

[Version] 0.10.110
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I62a7907b11cafccf7d277ef435ca9a4ddc4892a1

7 years agoFix SVACE defects 81/125981/1 accepted/tizen/unified/20170420.155242 submit/tizen/20170420.054453
Seungbae Shin [Wed, 19 Apr 2017 13:17:08 +0000 (22:17 +0900)]
Fix SVACE defects

[Version] 0.10.109
[Profile] Common
[Issue Type] Security

Change-Id: I7d16be3762d2cb156c627c4efa1c3c7dea12ed9f

7 years agodbus:policy:remove unknown user name 'default' 08/122908/1
sanghyeok.oh [Tue, 4 Apr 2017 03:04:49 +0000 (12:04 +0900)]
dbus:policy:remove unknown user name 'default'

In case of TM1, there are no user with name 'default'.
Feb 19 09:40:21 localhost dbus-daemon[354]: Unknown username "default" in message bus configuration file

Change-Id: Idf132bc0cdea637a668307d3f2bdec0eb24a3472
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoRemove unused headers and functions 75/122075/4 accepted/tizen/unified/20170406.055048 submit/tizen/20170405.072228
Jeongho Mok [Thu, 30 Mar 2017 06:02:27 +0000 (15:02 +0900)]
Remove unused headers and functions

[Version] 0.10.108
[Profile] Common
[Issue Type] Cleanup

Change-Id: Ieced8f9c0482c51eb3a00a4f718204ccea60c0aa

7 years agolibmm-sound: add new sound filter API 98/87398/20
KimJeongYeon [Wed, 7 Sep 2016 06:55:43 +0000 (15:55 +0900)]
libmm-sound: add new sound filter API

Filter APIs (for proposal)
 1) int mm_sound_set_filter(const char *stream_type, const char *filter_name, const char *filter_parameters, const char *filter_group)
 2) int mm_sound_unset_filter(const char *stream_type)
 3) int mm_sound_control_filter(const char *stream_type, const char *filter_name, const char *filter_controls)

[Version] 0.10.107
[Profile] Common
[Issue Type] New Feature

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ibfc2b2d00739b84d12742b014565a2b83bf43833

7 years agoRevise code 78/82178/12
Seungbae Shin [Wed, 20 Jul 2016 13:03:37 +0000 (22:03 +0900)]
Revise code

1. fix stop sync & no callback when stop
2. remove ogg tremolo code
3. use sndfile on wav plugin (support both .wav and .ogg...)
4. fix for coding rule
5. enable focus_integration
6. remove unused mm_source
7. revise shutdown logic
8. fix invalid path handling

Change-Id: Ia6bc8e167fd4f69ac6e68dda96633f37882ff530

7 years agofixup! Enhance session backward compatibility 18/121218/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172623 accepted/tizen/ivi/20170329.222747 accepted/tizen/mobile/20170329.222615 accepted/tizen/tv/20170329.222658 accepted/tizen/unified/20170329.222806 accepted/tizen/wearable/20170329.222722 submit/tizen/20170329.121135
Sangchul Lee [Mon, 27 Mar 2017 07:52:49 +0000 (16:52 +0900)]
fixup! Enhance session backward compatibility

Fix invalid length to compare ext_info array with predefined string

[Version] 0.10.106
[Profile] Common
[Issue Type] Bug fix

Change-Id: I68b82e8f2f71f216bf940c450841387f438a48bb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 8023d0a8d478ef695172eb541fd3e837cc06e34f)

7 years agoUse license macro in spec 74/120274/3
Jeongho Mok [Wed, 22 Mar 2017 07:51:13 +0000 (16:51 +0900)]
Use license macro in spec

[Version] 0.10.105
[Profile] Common
[Issue Type] License

Change-Id: I0875eb154e38fe38719fe7c5d9f7f34110a57f79

7 years agoMerge branch 'tizen_3.0' into tizen 29/120829/2
Jeongho Mok [Fri, 24 Mar 2017 09:42:22 +0000 (18:42 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I108ce602053ba7af01386224687a8e03c69dfd29

7 years agoFix SVACE defects 40/120640/1
Seungbae Shin [Thu, 23 Mar 2017 11:41:30 +0000 (20:41 +0900)]
Fix SVACE defects

[Version] 0.10.105
[Profile] Common
[Issue Type] Security

Change-Id: I60e738479c88a43070dd8ac71967ca57381d53eb

7 years agoEnhance session backward compatibility 78/120178/3
Sangchul Lee [Wed, 22 Mar 2017 04:17:40 +0000 (13:17 +0900)]
Enhance session backward compatibility

In case of audio-io, mm-player, mm-camcorder, it provides interrupted_cb API to inform session resumption
to an application. Even if this callback function notifies resumption situation, the application can determine
whether resume previous stream or not in this callback. This patch is to make that when invoking focus state
changed callback for acquiring, the state of the node managed in focus server will not be updated rather
updated when the next request to acquire focus is coming from the application side.

[Version] 0.10.104
[Profile] Common
[Issue Type] Backward compatibility

Change-Id: I9d99ade37c07903cae235b0c2960dbd498306622
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoAdd mm_sound_client_request_unset_focus_watch_callback() to set a flag for skipping... 47/119547/5
Sangchul Lee [Fri, 17 Mar 2017 08:20:22 +0000 (17:20 +0900)]
Add mm_sound_client_request_unset_focus_watch_callback() to set a flag for skipping invoke user callback

[Version] 0.10.103
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ibf57ae5d51014cf353610f06c8e73379e915ff34
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoAdd condition to skip invoking focus callback in case of unregistering without releas... 51/119751/1
Sangchul Lee [Mon, 20 Mar 2017 04:09:15 +0000 (13:09 +0900)]
Add condition to skip invoking focus callback in case of unregistering without releasing focus

For session backward compatibility, there can be serveral nodes that have focus in the same process.
Check focus status of other node that has same pid as the focus node's that requested to unregister
to skip invoking focus callback if a node with acquired status exists.

[Version] 0.10.102
[Profile] Common
[Issue Type] Bug fix

Change-Id: I2c213ecacc9da743cc2b0359bf57ba5b38c17c82
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoAdd support for mm_sound_set_focus_reacquisition_for_session function 56/119456/2
Sangchul Lee [Fri, 17 Mar 2017 05:09:59 +0000 (14:09 +0900)]
Add support for mm_sound_set_focus_reacquisition_for_session function

[Version] 0.10.101
[Profile] Common
[Issue Type] Backward compatibility

Change-Id: Ie8e85d7d83fa3f4b29482d1ea2431e2978a87979
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 33/119333/1
Seungbae Shin [Thu, 16 Mar 2017 10:31:50 +0000 (19:31 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic493e54d2c4bb7d1583fa98af1e22b605ab22eb1

7 years agoMake sure the focus loop is running within _focus_init_context() 80/119180/6 accepted/tizen/3.0/common/20170320.130433 accepted/tizen/3.0/ivi/20170320.080507 accepted/tizen/3.0/mobile/20170320.074924 accepted/tizen/3.0/tv/20170320.075841 accepted/tizen/3.0/wearable/20170320.080129 submit/tizen_3.0/20170317.034449
Sangchul Lee [Thu, 16 Mar 2017 02:23:56 +0000 (11:23 +0900)]
Make sure the focus loop is running within _focus_init_context()

[Version] 0.10.100
[Profile] Common
[Issue Type] Enhancement

Change-Id: Icf003ecc57c716ec3430f1cbd3a5e49e9f10a708
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoReturn error in tone parse 34/118534/4
Jeongho Mok [Mon, 13 Mar 2017 04:52:41 +0000 (13:52 +0900)]
Return error in tone parse

[Version] 0.10.99
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I96f4cd806b257ea00d7dea9c72dc61da80d2bd9c

7 years agoAdd support for AUDIO_METHOD_UPDATE_STREAM_FOCUS_STATUS to update stream focus status... 26/118626/5
Sangchul Lee [Mon, 13 Mar 2017 08:54:48 +0000 (17:54 +0900)]
Add support for AUDIO_METHOD_UPDATE_STREAM_FOCUS_STATUS to update stream focus status to pulseaudio

[Version] 0.10.98
[Profile] Common
[Issue Type] Add feature

Change-Id: Iefff4c4b0acd32c3c6a327e01c43a3fc03892cd0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoUse focus handle pointer as user data of g_source_set_callback 64/117364/5
Sangchul Lee [Mon, 6 Mar 2017 00:41:26 +0000 (09:41 +0900)]
Use focus handle pointer as user data of g_source_set_callback

[Version] 0.10.97
[Profile] Common
[Issue Type] Refactorying

Change-Id: I20bf3a5311261bcfa84f402678232dbd3c48247f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 91/117891/1
Seungbae Shin [Wed, 8 Mar 2017 03:40:08 +0000 (12:40 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Iedd2c6d77aefec9970ebe6123e402f606592cb49

7 years agoRevise focus callback 70/117570/7 accepted/tizen/3.0/common/20170314.132356 accepted/tizen/3.0/ivi/20170314.081337 accepted/tizen/3.0/mobile/20170314.081003 accepted/tizen/3.0/tv/20170314.081124 accepted/tizen/3.0/wearable/20170314.081228 submit/tizen_3.0/20170308.033926
Seungbae Shin [Mon, 6 Mar 2017 12:11:54 +0000 (21:11 +0900)]
Revise focus callback

[Version] 0.10.96
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ib48412bafd40116cf2a7177e1ca75d387b2bc5dd

7 years agoMerge branch 'tizen_3.0' into tizen 13/116913/1 accepted/tizen/common/20170303.090713 accepted/tizen/ivi/20170303.004802 accepted/tizen/mobile/20170303.004712 accepted/tizen/tv/20170303.004736 accepted/tizen/unified/20170309.033349 accepted/tizen/wearable/20170303.004747 submit/tizen/20170302.115149 submit/tizen_unified/20170308.100408
Seungbae Shin [Thu, 2 Mar 2017 03:46:54 +0000 (12:46 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Id0ce98b85f363e2700358519763c31e692e19cb5

7 years agoRevise focus callback context 32/116432/3 accepted/tizen/3.0/common/20170302.075649 accepted/tizen/3.0/ivi/20170302.034033 accepted/tizen/3.0/mobile/20170302.033906 accepted/tizen/3.0/tv/20170302.033952 accepted/tizen/3.0/wearable/20170302.034012 submit/tizen_3.0/20170228.000412
Sangchul Lee [Fri, 24 Feb 2017 08:39:21 +0000 (17:39 +0900)]
Revise focus callback context

Make new focus callback context for each focus handle

[Version] 0.10.95
[Profile] Common
[Issue Type] Enhancement

Change-Id: I4097198a18e0c0cab69e41a7c24bc227ee8fd21a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 89/114689/1 submit/tizen/20170214.125635
Seungbae Shin [Tue, 14 Feb 2017 11:34:13 +0000 (20:34 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I2037657f5a355a60197e30841c97721c9feb0c6a

7 years agoSupport ogg loop playback 97/114497/5 accepted/tizen/3.0/common/20170215.121255 accepted/tizen/3.0/ivi/20170215.034232 accepted/tizen/3.0/mobile/20170215.033717 accepted/tizen/3.0/tv/20170215.033947 accepted/tizen/3.0/wearable/20170215.034103 submit/tizen_3.0/20170214.112531
Seungbae Shin [Mon, 13 Feb 2017 12:34:12 +0000 (21:34 +0900)]
Support ogg loop playback

[Version] 0.10.94
[Profile] Common
[Issue Type] Feature

Change-Id: I80fd9c6625387632160659260e322a3d96d2368e

7 years agoMerge patch for tone sound 07/113807/5
eonseok.lee [Thu, 9 Feb 2017 02:12:30 +0000 (11:12 +0900)]
Merge patch for tone sound
- Two stops for the same slot in toneplayer create issue
- tone play does not stop issue

[Model] tizen3.0
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] Two stops for the same slot in toneplayer create issue/tone
 10 play does not stop issue
[Cause & Measure] sound_stop is called two times with the same
 handle/start and stop is too fast
[Checking Method] N/A
[Team] MMFW
[Developer] eonseok.lee
[Solution company] Samsung
[Change Type] N/A

Change-Id: Icad5cffc69909c0e3b3834660bb4d72071df5204

7 years agoMerge branch 'tizen_3.0' into tizen 65/114565/1
Seungbae Shin [Tue, 14 Feb 2017 05:06:13 +0000 (14:06 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I38567d2ad6be24a35f5f16baa4737c4c83020796

7 years agoFix bug of converting voice sound_type to stream_type 35/114535/1
Seungbae Shin [Tue, 14 Feb 2017 02:13:02 +0000 (11:13 +0900)]
Fix bug of converting voice sound_type to stream_type

[Version] 0.10.93
[Profile] Common
[Issue Type] Bug

Change-Id: Ie2af4155ee05d691ec01d99df7b6a4e1c9a6e719

7 years agoRemove unnecessary global list of subscribed signal 30/113830/3 accepted/tizen/3.0/common/20170214.180613 accepted/tizen/3.0/ivi/20170214.042615 accepted/tizen/3.0/mobile/20170214.042528 accepted/tizen/3.0/tv/20170214.042545 accepted/tizen/3.0/wearable/20170214.042601 submit/tizen_3.0/20170213.103000
Seungbae Shin [Thu, 9 Feb 2017 04:51:27 +0000 (13:51 +0900)]
Remove unnecessary global list of subscribed signal

[Version] 0.10.92
[Profile] Common
[Issue Type] Clean up

Change-Id: Id5a72c723e8cc3f438c08d3bc9b855cb56832c63

7 years agoRemove useless parameters(route_info, priority) regarding audio path routing since... 98/112898/2 accepted/tizen/3.0/common/20170213.160907 accepted/tizen/3.0/ivi/20170213.035337 accepted/tizen/3.0/mobile/20170213.035234 accepted/tizen/3.0/tv/20170213.035300 accepted/tizen/3.0/wearable/20170213.035324 submit/tizen_3.0/20170210.094941
Sangchul Lee [Fri, 3 Feb 2017 07:14:30 +0000 (16:14 +0900)]
Remove useless parameters(route_info, priority) regarding audio path routing since Tizen 3.0

[Version] 0.10.91
[Profile] Common
[Issue Type] Clean up

Change-Id: Ifdce998ae0ac6b32cdb4f1df681161ab11bf6cc4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoDo not invoke user callback if it is not supported type in _dbus_signal_callback() 73/113773/2
Sangchul Lee [Thu, 9 Feb 2017 01:18:15 +0000 (10:18 +0900)]
Do not invoke user callback if it is not supported type in _dbus_signal_callback()

[Version] 0.10.90
[Profile] Common
[Issue Type] Bug fix

Change-Id: I65fb532ea958195fda3f5b47497a4a6fe4dc8ee2
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoDivide logic to invoke some focus functions within main context 45/113645/4
Sangchul Lee [Wed, 8 Feb 2017 05:29:50 +0000 (14:29 +0900)]
Divide logic to invoke some focus functions within main context

This is applied to mm_sound_unset_focus_watch_callback()/mm_sound_unregister_focus()

[Version] 0.10.89
[Profile] Common
[Issue Type] Enhancement

Change-Id: I19dc2cc6b4b980c4d02efbc69ef7c35dd1cd21b7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 53/112753/1 accepted/tizen/common/20170203.161644 accepted/tizen/ivi/20170203.090756 accepted/tizen/mobile/20170203.090706 accepted/tizen/tv/20170203.090726 accepted/tizen/wearable/20170203.090741 submit/tizen/20170203.032235
Seungbae Shin [Thu, 2 Feb 2017 12:17:39 +0000 (21:17 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I0a699721c3989dc3272977162bb9b8bb5f419050

7 years agoGenerate /tmp/.sound_server_ready as well as /tmp/.focus_server_ready for compatibility 50/112750/3 accepted/tizen/3.0/common/20170203.150916 accepted/tizen/3.0/ivi/20170203.090340 accepted/tizen/3.0/mobile/20170203.090134 accepted/tizen/3.0/tv/20170203.090238 accepted/tizen/3.0/wearable/20170203.090311 submit/tizen_3.0/20170202.094603
Seungbae Shin [Thu, 2 Feb 2017 11:54:10 +0000 (20:54 +0900)]
Generate /tmp/.sound_server_ready as well as /tmp/.focus_server_ready for compatibility

[Version] 0.10.88
[Profile] Common
[Issue Type] Dependancy

Change-Id: I20ed19b4282bb2e94fd1c24de8b50469b2728354

7 years agoMerge branch 'tizen_3.0' into tizen 19/112719/1 accepted/tizen/common/20170203.161623 accepted/tizen/ivi/20170203.023107 accepted/tizen/mobile/20170203.023020 accepted/tizen/tv/20170203.023037 accepted/tizen/wearable/20170203.023054 submit/tizen/20170202.111238
Seungbae Shin [Thu, 2 Feb 2017 09:55:57 +0000 (18:55 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I572bf70e1d33553edfff0cf02716cefc304782f1

7 years agoEnable focus_server_ready for all profile. 86/112686/4
Seungbae Shin [Thu, 2 Feb 2017 07:35:48 +0000 (16:35 +0900)]
Enable focus_server_ready for all profile.

[Version] 0.10.87
[Profile] Common
[Issue Type] Dependancy

Change-Id: Id993f545ee49779d4e60c1246be1246b3a596b0b

7 years agosound-server: Enable session backward compatibility and fix codes to pass session... 85/112685/2
Sangchul Lee [Thu, 2 Feb 2017 07:29:07 +0000 (16:29 +0900)]
sound-server: Enable session backward compatibility and fix codes to pass session option to MMSoundMgrCodecPlay()

[Version] 0.10.86
[Profile] Common
[Issue Type] Bug fix

Change-Id: I6342be16fc11fb24e1b715ab60b8c523951e7497
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoFix memory leak (sound-server) : valgrind 69/112569/2
Seungbae Shin [Wed, 1 Feb 2017 12:36:02 +0000 (21:36 +0900)]
Fix memory leak (sound-server) : valgrind

[Version] 0.10.85
[Profile] Common
[Issue Type] Memory Leak

Change-Id: I0dd98fd197947fd3f482260c787455da50efb585

7 years agoFix memory leak : valgrind 86/112386/7 accepted/tizen/3.0/common/20170202.151059 accepted/tizen/3.0/ivi/20170202.085717 accepted/tizen/3.0/mobile/20170202.085634 accepted/tizen/3.0/tv/20170202.085646 accepted/tizen/3.0/wearable/20170202.085700 submit/tizen_3.0/20170201.113021
Seungbae Shin [Tue, 31 Jan 2017 14:10:48 +0000 (23:10 +0900)]
Fix memory leak : valgrind

[Version] 0.10.85
[Profile] Common
[Issue Type] Memory Leak

Change-Id: I1d5878e0517741ea1b5176dd634010c9680ac820

7 years agoFix incorrect rpm-build macros 99/104899/3
MyungJoo Ham [Wed, 14 Dec 2016 13:52:45 +0000 (22:52 +0900)]
Fix incorrect rpm-build macros

1. 'tizen_profile_name' is recognized only in GBM build servers (private).
  Make it explicit.

   : It is highly recommended NOT to use in-code ifdef/endif with profile: TIZEN_TV
   Please remove all of them soon. (This will be incomaptible with Tizen 4.0)

2. TIZEN_MICRO is useless.

3. tizen_audio_feature_bludetooth_enable is useless

Change-Id: I9885f415b1e8604d34a0187250292187b8ef9969
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 77/111677/1 accepted/tizen/common/20170123.182437 accepted/tizen/ivi/20170125.085013 accepted/tizen/mobile/20170125.084901 accepted/tizen/tv/20170125.084925 accepted/tizen/wearable/20170125.084945 submit/tizen/20170123.131118
Seungbae Shin [Mon, 23 Jan 2017 10:10:36 +0000 (19:10 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ia61bd7c6dc30464d433cbf083e1929713e4301b0

7 years agoAdd protection code for focus-callback creation 45/110645/3 accepted/tizen/3.0/common/20170124.081313 accepted/tizen/3.0/ivi/20170124.042417 accepted/tizen/3.0/mobile/20170124.042250 accepted/tizen/3.0/tv/20170124.042320 accepted/tizen/3.0/wearable/20170124.042349 submit/tizen_3.0/20170123.123302
Seungbae Shin [Tue, 17 Jan 2017 09:06:35 +0000 (18:06 +0900)]
Add protection code for focus-callback creation

[Version] 0.10.84
[Profile] Common
[Issue Type] Debug

Change-Id: Ib91e9fca348bae24b6bd446236d91eef25c96506

7 years agoDo not refresh taken id if acquire focus block by policy 78/111578/1
Wu Nannan [Fri, 20 Jan 2017 09:23:55 +0000 (17:23 +0800)]
Do not refresh taken id if acquire focus block by policy

[Version] 0.10.83
[Profile] Common
[Issue Type] Bug fix
[Problem] music not resume after ringtone call end , if request play during ringtone

Change-Id: I42f2c0b49ab7992d5e541243eacf940b1b5c8401

7 years agoMerge branch 'tizen_3.0' into tizen 85/110385/1
Seungbae Shin [Mon, 16 Jan 2017 07:42:56 +0000 (16:42 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Iea831fd5276c17816fceaa7989f38fc38b1ad812

7 years agoFix bug regarding roll-back scenario of focus reacquisition setting, revise some... 54/110354/2 accepted/tizen/3.0/common/20170118.130829 accepted/tizen/3.0/ivi/20170118.042800 accepted/tizen/3.0/mobile/20170118.042711 accepted/tizen/3.0/tv/20170118.042723 accepted/tizen/3.0/wearable/20170118.042740 submit/tizen_3.0/20170116.094232
Sangchul Lee [Mon, 16 Jan 2017 05:03:57 +0000 (14:03 +0900)]
Fix bug regarding roll-back scenario of focus reacquisition setting, revise some coding conventions and add more logs

[Version] 0.10.82
[Profile] Common
[Issue Type] Bug fix and add log

Change-Id: I025c21b2ba89b2ed778737fb1aff65a8940a0dc7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agofocus-server: Enhancement for session backward compatibility regarding unregistering... 39/110239/1
Sangchul Lee [Fri, 13 Jan 2017 09:02:48 +0000 (18:02 +0900)]
focus-server: Enhancement for session backward compatibility regarding unregistering focus node

Exclude a node for session backward compatibility from the focus callback in case of unregistering without focus releasing.
Forward is_session value when unregistering focus node.

[Version] 0.10.81
[Profile] Common
[Issue Type] Bug fix

Change-Id: I64a0e82f67a7735166d791eeff613ad604f9b15e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agofocus-server: Call focus callbacks in case of destroying focus node with acquisition... 53/109853/1
Sangchul Lee [Tue, 10 Jan 2017 06:07:14 +0000 (15:07 +0900)]
focus-server: Call focus callbacks in case of destroying focus node with acquisition status

[Version] 0.10.80
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Iada33c749a33bc8a2e06d4b4925d4f67511ad737
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit b72243df3376b6752b345b8809be5ca13ef2c175)

7 years agofocus-server: Call focus callbacks in case of destroying focus node with acquisition... 04/109604/2 submit/tizen_3.0/20170112.101943
Sangchul Lee [Tue, 10 Jan 2017 06:07:14 +0000 (15:07 +0900)]
focus-server: Call focus callbacks in case of destroying focus node with acquisition status

[Version] 0.10.80
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Iada33c749a33bc8a2e06d4b4925d4f67511ad737
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agofocus-server: Initialize taken id information regardless of the node condition in... 15/108915/1 accepted/tizen/common/20170109.202645 accepted/tizen/ivi/20170110.080721 accepted/tizen/mobile/20170110.080554 accepted/tizen/tv/20170110.080618 accepted/tizen/wearable/20170110.080639 submit/tizen/20170109.130136
Sangchul Lee [Fri, 6 Jan 2017 07:15:33 +0000 (16:15 +0900)]
focus-server: Initialize taken id information regardless of the node condition in case of acquiring focus request

[Version] 0.10.79
[Profile] Common
[Issue Type] Bug fix

Change-Id: If43b89b773effac18ea7afe60c4d9f1fef3500c9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 6b214145dc1c73bc46e7b596e0cd0d0e21dda5f6)

7 years agofocus-server: Initialize taken id information regardless of the node condition in... 10/108910/1 accepted/tizen/3.0/common/20170109.195755 accepted/tizen/3.0/ivi/20170109.003423 accepted/tizen/3.0/mobile/20170109.003337 accepted/tizen/3.0/tv/20170109.003357 accepted/tizen/3.0/wearable/20170109.003408 submit/tizen_3.0/20170106.062231
Sangchul Lee [Fri, 6 Jan 2017 07:15:33 +0000 (16:15 +0900)]
focus-server: Initialize taken id information regardless of the node condition in case of acquiring focus request

[Version] 0.10.79
[Profile] Common
[Issue Type] Bug fix

Change-Id: If43b89b773effac18ea7afe60c4d9f1fef3500c9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 85/108885/1
Seungbae Shin [Fri, 6 Jan 2017 06:29:15 +0000 (15:29 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I024cbe86360b8f351c78f88bf1cf8704e12e539c

7 years agofix SVACE issue, dbus method call logging & indentation 66/99166/5
Hyunseok Lee [Tue, 22 Nov 2016 05:40:08 +0000 (14:40 +0900)]
fix SVACE issue, dbus method call logging & indentation

[Version] 0.10.78
[Profile] Common
[Issue Type] cleaun up

Change-Id: I177ff49b0dcf3f0f0dede65afae60618160746fb

7 years agoMerge branch 'tizen_3.0' into tizen 26/107626/1 accepted/tizen/common/20161229.140245 accepted/tizen/ivi/20161229.233614 accepted/tizen/mobile/20161229.233513 accepted/tizen/tv/20161229.233532 accepted/tizen/wearable/20161229.233555 submit/tizen/20161229.100658
Seungbae Shin [Thu, 29 Dec 2016 02:37:23 +0000 (11:37 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ifb8933bff5d3c0653effc6563a1dd944a6021ccc

7 years agoGet both-direction device when mask is both 88/107488/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.125343 accepted/tizen/3.0.m2/tv/20170104.125623 accepted/tizen/3.0.m2/wearable/20170104.125835 accepted/tizen/3.0/common/20161228.162146 accepted/tizen/3.0/ivi/20161228.091221 accepted/tizen/3.0/mobile/20161228.091120 accepted/tizen/3.0/tv/20161228.091137 accepted/tizen/3.0/wearable/20161228.091159 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20161227.051124
Jeongho Mok [Wed, 28 Dec 2016 07:51:21 +0000 (16:51 +0900)]
Get both-direction device when mask is both

[Version] 0.10.77
[Profile] Common
[Issue Type] bug fix

Change-Id: Id9773c05048a6480d472cc3cf5d11f12654c8c61

7 years agoAvoid deadlock in focus watch callback handler in case of calling to unset the callba... 71/107171/1
Sangchul Lee [Mon, 26 Dec 2016 23:09:37 +0000 (08:09 +0900)]
Avoid deadlock in focus watch callback handler in case of calling to unset the callback simultaneously

[Version] 0.10.76
[Profile] Common
[Issue Type] bug fix

Change-Id: I930395ec8db85489f40735da862c9ea6df365e9c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit c01cd69f59b9016f7089c054ee93743d08f10273)

7 years agoAvoid deadlock in focus watch callback handler in case of calling to unset the callba... 28/107128/1
Sangchul Lee [Mon, 26 Dec 2016 23:09:37 +0000 (08:09 +0900)]
Avoid deadlock in focus watch callback handler in case of calling to unset the callback simultaneously

[Version] 0.10.76
[Profile] Common
[Issue Type] bug fix

Change-Id: I930395ec8db85489f40735da862c9ea6df365e9c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 84/106784/1 accepted/tizen/common/20161227.192028 accepted/tizen/ivi/20161226.012630 accepted/tizen/mobile/20161226.012536 accepted/tizen/tv/20161226.012602 accepted/tizen/wearable/20161226.012612 submit/tizen/20161223.120533
Seungbae Shin [Fri, 23 Dec 2016 05:08:20 +0000 (14:08 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I17a91deb4e488f6f83e55c747eee54bb6b1fa39f

7 years agoFix memory leak due to missing unref on returned g_variant value 72/106772/2
Seungbae Shin [Fri, 23 Dec 2016 03:44:17 +0000 (12:44 +0900)]
Fix memory leak due to missing unref on returned g_variant value

revise some improper log level prints

[Version] 0.10.75
[Profile] Common
[Issue Type] KONA

Change-Id: I199b15b37b38010a62d5a1cec957a9e9af6b1ab8

7 years agoMerge branch 'tizen_3.0' into tizen 00/106200/1
Seungbae Shin [Wed, 21 Dec 2016 03:55:06 +0000 (12:55 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I769bda5ee3d6b37fab21812ede01517e96951997

7 years agolock when get global device list 50/106050/1 accepted/tizen/3.0/common/20161221.180751 accepted/tizen/3.0/ivi/20161221.005606 accepted/tizen/3.0/mobile/20161221.005659 accepted/tizen/3.0/tv/20161221.005500 accepted/tizen/3.0/wearable/20161221.005541 submit/tizen_3.0/20161219.120436
Jeongho Mok [Tue, 20 Dec 2016 08:41:49 +0000 (17:41 +0900)]
lock when get global device list

[Version] 0.10.74
[Profile] Common
[Issue Type] Enhancement

Change-Id: I50f78969a6227bb3a8424b0350c09e5304e0a606

7 years agoChange condition check handle_id to pid 24/105924/1
howon kim [Tue, 20 Dec 2016 05:02:20 +0000 (14:02 +0900)]
Change condition check handle_id to pid

[Version] 0.10.73
[Profile] Common
[Issue Type] Bug Fix

Change-Id: I225abce2d2d2f442efed69d6c3cbbb3558f6c691
Signed-off-by: howon kim <howon.kim@samsung.com>
7 years agoFix callback to be invoked when focus is released after reacqusition is disabled 27/105827/1
Seungbae Shin [Mon, 19 Dec 2016 14:51:49 +0000 (23:51 +0900)]
Fix callback to be invoked when focus is released after reacqusition is disabled

[Version] 0.10.72
[Profile] Common
[Issue Type] PLM

Change-Id: I00246f64eb30d9e5305f99da3beb23fcdd3c3eb0

7 years agoModify device enum 00/105800/1
Jeongho Mok [Mon, 19 Dec 2016 12:30:11 +0000 (21:30 +0900)]
Modify device enum

[Version] 0.10.71
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I48da5119ed60172403f02e30b26e918c5158e75f

7 years agoDisable signal hander in focus-server 90/105490/1
Seungbae Shin [Sat, 17 Dec 2016 08:00:09 +0000 (17:00 +0900)]
Disable signal hander in focus-server

[Version] 0.10.71
[Profile] Common
[Issue Type] KONA

Change-Id: I92f448941d102bd8b3dedd9e561a4b6586843444

7 years agostream is on device 54/104554/2
Jeongho Mok [Fri, 9 Dec 2016 11:29:20 +0000 (20:29 +0900)]
stream is on device

[Version] 0.10.70
[Profile] Common
[Issue Type] API

Change-Id: I80c2f9d4cd1d66b3e443822919aeb21073f3552b
(cherry picked from commit 1a45b32b1fa3b9a90fa5618a2b9fe840498e2736)

7 years agostream is on device 59/104159/4 accepted/tizen/3.0/common/20161215.162945 accepted/tizen/3.0/ivi/20161215.043853 accepted/tizen/3.0/mobile/20161215.043654 accepted/tizen/3.0/tv/20161215.043749 accepted/tizen/3.0/wearable/20161215.043806 submit/tizen_3.0/20161213.132802 submit/tizen_3.0/20161214.084609
Jeongho Mok [Fri, 9 Dec 2016 11:29:20 +0000 (20:29 +0900)]
stream is on device

[Version] 0.10.70
[Profile] Common
[Issue Type] API

Change-Id: I80c2f9d4cd1d66b3e443822919aeb21073f3552b

7 years agoCheck my node with is_for_session parameter 99/104099/1 accepted/tizen/common/20161212.185717 accepted/tizen/ivi/20161213.003530 accepted/tizen/mobile/20161213.003439 accepted/tizen/tv/20161213.003453 accepted/tizen/wearable/20161213.003515 submit/tizen/20161212.134937
Sangchul Lee [Tue, 6 Dec 2016 06:13:03 +0000 (15:13 +0900)]
Check my node with is_for_session parameter

An error can occur when registering a focus node via sound-manager
if there already exists a node with the same index of the same process.
Because a node which is requested by sound-manager uses pulseaudio context id
whereas an internal focus node for session backward compatibility uses index
counted by focus_server itself.
This patch distinguishes both cases and ensures normal operation in this case.

[Version] 0.10.69
[Profile] Common
[Issue Type] Bug fix

Change-Id: Icbc9ec96940ea42bdb5cafa8d849f5cd767cc03c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 049364a3f660ab9a94ca9afe5929e94ed2763eb1)

7 years agoCheck my node with is_for_session parameter 97/102597/1 accepted/tizen/3.0/common/20161213.163709 accepted/tizen/3.0/ivi/20161213.024757 accepted/tizen/3.0/mobile/20161213.024721 accepted/tizen/3.0/tv/20161213.024736 accepted/tizen/3.0/wearable/20161213.024743 submit/tizen_3.0/20161212.092815
Sangchul Lee [Tue, 6 Dec 2016 06:13:03 +0000 (15:13 +0900)]
Check my node with is_for_session parameter

An error can occur when registering a focus node via sound-manager
if there already exists a node with the same index of the same process.
Because a node which is requested by sound-manager uses pulseaudio context id
whereas an internal focus node for session backward compatibility uses index
counted by focus_server itself.
This patch distinguishes both cases and ensures normal operation in this case.

[Version] 0.10.69
[Profile] Common
[Issue Type] Bug fix

Change-Id: Icbc9ec96940ea42bdb5cafa8d849f5cd767cc03c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoChange set/unset cb to add/remove cb, and add device_state_changed cb 80/102280/2 accepted/tizen/common/20161207.184545 accepted/tizen/ivi/20161208.012234 accepted/tizen/mobile/20161208.011854 accepted/tizen/tv/20161208.012035 accepted/tizen/wearable/20161208.012134 submit/tizen/20161207.075356
Jeongho Mok [Thu, 1 Dec 2016 13:16:15 +0000 (22:16 +0900)]
Change set/unset cb to add/remove cb, and add device_state_changed cb

[Version] 0.10.68
[Profile] Common
[Issue Type] API

Change-Id: I5202165e2efa2e1631982c7f68f4a37f897dbfdd