Youngwoo Cho [Fri, 18 Apr 2025 06:00:29 +0000 (15:00 +0900)]
Add inernal APIs related to UIBC
- both callbacks are related to UIBC
- scmirroring_sink_set_src_display_orientation_notify_cb()
- scmirroring_sink_set_uibc_info_received_cb()
[Version] 0.3.5
Change-Id: Ie54aa1c2c62fe54bc66740607979c817f887b3f8
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Gilbok Lee [Thu, 27 Mar 2025 07:57:11 +0000 (16:57 +0900)]
Add UIBC related functions, enum, and structure
- scmirroring_sink_set_window_size()
- scmirroring_sink_enable_uibc()
- scmirroring_sink_send_generic_mouse_event()
- scmirroring_sink_send_generic_key_event()
[Version] 0.3.4
[Issue type] New APIs
Change-Id: I8c708bbe26ec1caaa1842cad20de23d49c968dd9
Youngwoo Cho [Tue, 14 Jan 2025 05:23:51 +0000 (14:23 +0900)]
Add scmirroring_device_type_e, scmirroring_sink_set_src_device_type()
- api to set source`s device type
- required to distinguish pipeline options
[Version] 0.3.3
[Issue type] API
Change-Id: Ia94379aac60a7f616cda7bd4cdb73c94d87e6460
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Youngwoo Cho [Fri, 10 Jan 2025 07:05:25 +0000 (16:05 +0900)]
Add scmirroring_display_rotation_e, scmirroring_sink_set_display_rotation()
- scmirroring_display_rotation_e is based on MMDisplayRotationType
[Version] 0.3.2
[Issue type] API
Change-Id: Ieeb9929cc3ee414b529e6a61624b53d773c061f6
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Youngwoo Cho [Fri, 10 Jan 2025 03:05:31 +0000 (12:05 +0900)]
Add scmirroring_sink_set_display_roi()
[Version] 0.3.1
[Issue type] API
Change-Id: I3889eae0176e93e4ff21f097e5af4f2f4043a67a
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Youngwoo Cho [Fri, 10 Jan 2025 02:05:01 +0000 (11:05 +0900)]
Add scmirroring_display_mode_e, scmirroring_sink_set_display_mode()
- scmirroring_display_mode_e is based on MMDisplayGeometryMethod
[Version] 0.3.0
[Issue type] API
Change-Id: I9b14f3e7ee65fdd564f761084b4a1f4f819b89a3
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Youngwoo Cho [Thu, 19 Sep 2024 06:01:58 +0000 (15:01 +0900)]
Improve doxygen description
Change-Id: Ie741d3451c0928d413259649966ad1c999ae9180
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Youngwoo Cho [Mon, 12 Aug 2024 00:53:51 +0000 (09:53 +0900)]
Fix doxygen error
Change-Id: I18a15244111c0957381852dda04b59f0bd41ae2b
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Youngwoo Cho [Tue, 23 Jul 2024 07:58:00 +0000 (16:58 +0900)]
src: Fix reference count error (miracast server)
- fix reference count management method
- match action of scmirroring connect/disconnect
Change-Id: I7d067eac4552cecec5a29cae353052b5e67505bc
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
Youngwoo Cho [Fri, 7 Jun 2024 01:57:23 +0000 (10:57 +0900)]
Fix build error for gcc upgrade
- Werror=discarded-qualifiers
- `volatile` is a historical artifact and the pointer passed to g_once_init_enter/leave should not be `volatile` (ref. glib doc - once init_enter)
Change-Id: Ie5cb58e19d79e4f82b3c6e143aaeb8904f6b9b2f
Signed-off-by: Youngwoo Cho <young222.cho@samsung.com>
wchang kim [Thu, 29 Jun 2023 21:55:15 +0000 (06:55 +0900)]
Fixed the build error using gcc 13
Change-Id: I6a9e48eb6cde5743fa430d9d33a2866530a7dbc2
Youngwoo [Tue, 11 Apr 2023 02:10:26 +0000 (11:10 +0900)]
Fix coverity issue (Resource Leak)
[Version] : 0.2.35
[Issue type] : Resource Leak
Change-Id: I9b2a7f33772fa1991e31b8ba6c9a2665ffd43080
Signed-off-by: Youngwoo <young222.cho@samsung.com>
Youngwoo [Fri, 7 Apr 2023 08:22:00 +0000 (17:22 +0900)]
Exclude some files in gcov package
[Version] 0.2.34
[Issue type] gcov
Change-Id: I20333c042e8151eaa1226d519958047e36327cc0
Signed-off-by: Youngwoo <young222.cho@samsung.com>
Hyunsoo Park [Wed, 3 Aug 2022 05:41:42 +0000 (14:41 +0900)]
sink : remove duplicate codes
[Version] : 0.2.33
[Issue type] : Code cleanup
By applying this patch, DC score would be increased to 4.51
Change-Id: I048a02aae3f08c34391a09d233c16faf994aae10
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 28 Jul 2022 04:32:44 +0000 (13:32 +0900)]
Add sam configuration
[Version] : 0.2.32
[Issue type] : add tool
Change-Id: I5f254fa83cb4dff245668612ec2a6591c660998e
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Tue, 14 Jun 2022 10:50:37 +0000 (19:50 +0900)]
Apply requirement for gcov automation
Change-Id: I82fa5dc5ab3fc4c364e10a78be85077e6bb451bf
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 19 May 2022 08:21:36 +0000 (17:21 +0900)]
tools: Change execution label for scmirroring_sink_test
[Version] : 0.2.30
[Issue type] : Smack Label
Change-Id: Ia85b40c14f3da2dc09ff3dc2198ccc04e7c466a3
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 12 May 2022 07:14:05 +0000 (16:14 +0900)]
scmirroring_src: update socket option
[Version] : 0.2.29
[Issue type] : Bug fix
When Socket encodig is set to NULL, UTF-8 is applied by default.
Change-Id: If1612eb17b3310de5f20ca134af81d1d77574d3b
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Fri, 21 Jan 2022 07:55:36 +0000 (16:55 +0900)]
Change gcov object install path
Change-Id: Ia216c0d7bc1e6033157c1ae4529ce22453bc3c23
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 12 Jan 2022 02:57:38 +0000 (11:57 +0900)]
testsuite: Remove testsuite of no use
Change-Id: I7fda4d5b1a5a224a3ad85be7e7b5bacad231c81c
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 29 Nov 2021 06:12:18 +0000 (15:12 +0900)]
tools: fix memory leak
[Version] : 0.2.26
[Issue type] : Bug fix
Change-Id: Iae1e9f9dce67a9fa30387e478b33ae54b569e4cd
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 15 Sep 2021 10:23:44 +0000 (19:23 +0900)]
Set 'display_type' except tv profile
Change-Id: Ibc4c15948263eaa288dd7702d17c8ec689d5ff20
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 23 Aug 2021 08:08:53 +0000 (17:08 +0900)]
[testsuite] Fix memory leak
Change-Id: Ie14594e1f691caeedbc04e8211b82a69a13ed44a
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 19 Aug 2021 07:52:49 +0000 (16:52 +0900)]
Add internal API for support ecore wl2 display
Change-Id: Iea98116be61998fe4f5c5d925c638ac9677ecbd2
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Tue, 8 Jun 2021 07:37:20 +0000 (16:37 +0900)]
[testsuite] Fix typo
Change-Id: I8fa5389897101a0250c07941512cb9aad343bab4
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 2 Jun 2021 00:07:32 +0000 (09:07 +0900)]
Change path of configuration file
Change-Id: Ida94857363b1f887689a39c81e8d32da0be86adb
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Tue, 18 May 2021 04:45:03 +0000 (13:45 +0900)]
[testsuite] Fix memory leak
Change-Id: I045be0892d310990494cca568c659684872439c6
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Tue, 27 Apr 2021 04:00:03 +0000 (13:00 +0900)]
Fix Typo
Change-Id: Ife441d42c6b5431d8195460f75a7dbc946bc5f74
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 1 Feb 2021 04:33:10 +0000 (13:33 +0900)]
Modify memory leak
Change-Id: I7563c298061110b6c91108f3fc7809583dff34c7
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 7 Oct 2020 03:07:14 +0000 (12:07 +0900)]
Remove testsuite of no use
Change-Id: I3d6cb59180dbcd7c3bc61d3199c258f8a308399c
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 2 Sep 2020 03:06:22 +0000 (12:06 +0900)]
Match window id and file name
Change-Id: Ic341db2eb6812ef4f6d2ba53e82016088aae16f2
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 24 Jun 2020 02:50:26 +0000 (11:50 +0900)]
Use %{_unitdir} macro for systemd unit directory location.
systemd always uses /usr/lib/systemd directory regardless of 32bit and 64bit.
The "%{_libdir}" macro is converted to /usr/lib at 32bit machine and /usr/lib64 at 64bit machine.
Change-Id: I32921edb9a79bb1fc82b5c4f7df99cb97f4426d8
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Tue, 26 May 2020 01:02:29 +0000 (10:02 +0900)]
Fix ASAN build error
Change-Id: I39145a935d6f7bed64300301745e9aecd88603e1
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 13 May 2020 09:50:18 +0000 (18:50 +0900)]
Adjust sequence of setting of 'display_visible' attribute
As the attribute 'display_visible' determines whether a display is used or not,
it must be set at first to make commit functions related to display feature to be work properly.
Change-Id: I551e475ae8cdbcb534599a4de354e9cbd37c6b66
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 13 May 2020 09:48:29 +0000 (18:48 +0900)]
doc: Add description about setting display restriction
Change-Id: I07c5bc2800c223834c3dfcb43b47d4e4ebec4246
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 19 Feb 2020 03:04:34 +0000 (12:04 +0900)]
Add null checking
Change-Id: If09a6d5aec51f41b1963731fc852ce44ef54a7ed
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 12 Feb 2020 05:33:01 +0000 (14:33 +0900)]
Resoleve build break error
Warning is not treated as error.
Change-Id: I1511130e0cb97e500b181477777159be60f42501
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 5 Feb 2020 06:48:58 +0000 (15:48 +0900)]
Resolve redefine error
Change-Id: Ida14ee558c372eab6fd436ad6a385eb432cf6e58
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
hj kim [Mon, 3 Feb 2020 05:53:23 +0000 (14:53 +0900)]
Making variables to static
Change-Id: I502616bc0e89f0f1dc801cfd0473a977597ffab8
hj kim [Fri, 31 Jan 2020 01:58:53 +0000 (10:58 +0900)]
Unify duplicated code regarding launching miracast server
Change-Id: Id32724e44ef64a04b356c48d0e4ffb7924c7ee43
hj kim [Thu, 30 Jan 2020 04:55:20 +0000 (13:55 +0900)]
Unify duplicated code regarding sending command to server
Change-Id: I49fe79c1dbed385b715d88331ffc615d290427a8
hj kim [Thu, 30 Jan 2020 02:18:36 +0000 (11:18 +0900)]
Unify duplicated code regarding wfd sink property getting
Change-Id: Ib2b17f5084059c1a6039c601b7624340d9226071
hj kim [Wed, 29 Jan 2020 08:21:57 +0000 (17:21 +0900)]
Unify duplicated code regarding wfd sink starting and setting
Change-Id: I86f8d2dcd3f61fa417d97b16e94ea08e19595b7c
hj kim [Wed, 29 Jan 2020 06:10:34 +0000 (15:10 +0900)]
Unify duplicated code regarding handle validity checking
Change-Id: Ida215f22389f7f70e3613986935fcacb7d98659b
hj kim [Wed, 29 Jan 2020 04:54:08 +0000 (13:54 +0900)]
Unify duplicated code regarding state converting
Change-Id: I25a3a751f1c9bbf25e9d4de898c84475b0431c45
hj kim [Wed, 29 Jan 2020 04:30:56 +0000 (13:30 +0900)]
Unify dulpicated code regarding error converting
Change-Id: I388d95d221b698cfaa4612a76de17b7049405140
Hyunsoo Park [Wed, 22 Jan 2020 04:45:43 +0000 (13:45 +0900)]
Update type of variable for iniparser upgrade
[Version] 0.2.11
[Profile] Common
[Issue Type] Update
Change-Id: I65de83f935566092c98b1910dfe211a21c088adc
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 13 Jan 2020 02:11:33 +0000 (11:11 +0900)]
Fix build break on gcc6.
For handling redifine order, switches location of header files.
Change-Id: I41b09b1d2ae127514d55a17d44bcfb1aac6dbced
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 8 Jan 2020 07:09:00 +0000 (16:09 +0900)]
Fix build error due to toolchain upgrade (gcc6->gcc9)
Change-Id: Iabb9f2f6a063f566c179d13010d7180f5ca09b33
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Fri, 29 Nov 2019 06:02:23 +0000 (15:02 +0900)]
Change reference link.
Developer.tizen.org is change docs.tizen.org.
So i change it following policy.
Change-Id: I9c873db0d13d9187c501a1a3a2f1c8470ca94ce7
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 23 Oct 2019 04:55:05 +0000 (13:55 +0900)]
Fix API description for doxygen.
Change-Id: Idaae47ce90d4b3ea549b99a4dd6bf1a555597408
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 25 Sep 2019 09:03:25 +0000 (18:03 +0900)]
Use the systemd service for the dbus auto-activation
Change-Id: I6417df5915bb40013e9043e633c6d5afa73bde2e
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 25 Sep 2019 02:58:10 +0000 (11:58 +0900)]
Remove unused define.
Change-Id: Ie98eb878dacda2d4d6ddf9d28e48c7e272b39b7d
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 29 Jul 2019 06:21:03 +0000 (15:21 +0900)]
Add null checking for handle.
When doing calloc for screen mirroring primary sink, it can return null if memory isn't sufficient.
So i add checking codes.
Change-Id: I63226dbba991891f4f40b9003208852b05f81b49
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Tue, 9 Jul 2019 08:43:48 +0000 (08:43 +0000)]
Merge "Include testsuites in devel package." into tizen
INSUN PYO [Mon, 8 Jul 2019 10:54:33 +0000 (19:54 +0900)]
Delete meaningless configuration
Change-Id: Ia9aed3af700932f727a710d27987843ca6dc7428
Hyunsoo Park [Fri, 5 Jul 2019 06:05:58 +0000 (15:05 +0900)]
Include testsuites in devel package.
'scmirroring_test' and 'scmirroring_sink_test' testsuites are included in 'devel' package for convinient testing.
Change-Id: Id7bf03141232a159c229f92402aba8f00336c407
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 1 Jul 2019 09:10:07 +0000 (18:10 +0900)]
Make a gcov package for measuring coverage easier
Change-Id: Ia663cc2cbb253bb127ae4d15092f6a9bb5acae70
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 9 May 2019 07:23:27 +0000 (16:23 +0900)]
Change memory allocation way for sending message text.
g_malloc requires setting string size as second parameter.
So for making it flex, i changed it to g_strdup_printf.
Change-Id: Ib0117da8d0a1d49122a77e62800bd87e47e11a73
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Fri, 3 May 2019 05:35:21 +0000 (14:35 +0900)]
Merge branch 'tizen_dev' into tizen
Change-Id: Idcf4419f12244350503822e9e471a4f44364d346
Hyunsoo Park [Fri, 3 May 2019 05:31:13 +0000 (14:31 +0900)]
Initial draft of R2 feature 'Secondary Sink'.
It enables 'Coupling' between Primary sink and Secondary sink.
- Setting coupled status and address.
[Setting values]
Source side
'coupling_mode' : server mode (It would try to set coupling to connected sink)
Sink side
'coupled_sink_address' : coupled sink address (It is set if coupling is succeeded)
Change-Id: I4b8e1aceb58b101e6e91b7b463b6c26a16716839
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Thu, 21 Mar 2019 04:53:13 +0000 (13:53 +0900)]
Make R2 features message configurable.
R2 is not fully supported yet.
So i added 'wfd2_supported' parameter for make it configurable.
Change-Id: I17f3da6ee3d10a552c5a123c0d505db2766c0576
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
SeokHoon LEE [Thu, 17 Jan 2019 04:34:11 +0000 (13:34 +0900)]
fix typo
- PREARED -> PREPARED, dose -> does
Change-Id: I90d38ca7c0ab74794a68a22694c8713b9b3c4223
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
Hyunsoo Park [Thu, 20 Dec 2018 06:53:22 +0000 (15:53 +0900)]
Modify Address 'NULL' checking.
It is worked wrong. So I changed it works well.
Change-Id: Ie771ef163190edf1ead7b4294a4e89c5e15b62ad
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
SeokHoon LEE [Mon, 12 Nov 2018 00:35:30 +0000 (09:35 +0900)]
initial test code
Change-Id: Ic9297f967953da5730e24e5dec035718ea8ea3d8
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 3 Dec 2018 08:20:48 +0000 (17:20 +0900)]
Add coupled sink apis and remove video test codes in secondary sink test suite.
- Add ‘scmirroring_primary_sink_set_coupled_sink’, ‘scmirroring_secondary_sink_set_coupled_sink’ apis each.
- Remove 'scmirroring_sink_set_coupled_sink'.
-- R1 sink doesn't support coupled sink function.
- Remove ‘status’ parameter on set coupled sink because user doen't need to set it.
* As 'mm_wfd_primary_sink_create' and 'mm_wfd_secondary_sink_create' are changed to 'mm_wfd_sink_create_r2', i applied it on this patch.
Change-Id: I7890a87b78498f313c7f79169d1cd3fbfa601d11
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 28 Nov 2018 08:28:42 +0000 (08:28 +0000)]
Merge "Change 'coupled-sink-ip' attribute and api name." into tizen_dev
Hyunsoo Park [Wed, 28 Nov 2018 08:28:39 +0000 (08:28 +0000)]
Merge "Add 'R1 Screen Mirroring Source' funtions to 'R2 Primary Sink'." into tizen_dev
Hyunsoo Park [Thu, 15 Nov 2018 12:53:07 +0000 (21:53 +0900)]
Change 'coupled-sink-ip' attribute and api name.
1. 'coupled-sink-ip' removed. it will be handled on sink.
2. API 'scmirroring_sink_set_coupled_ip' is changed to 'scmirroring_sink_set_coupled_sink'.
Change-Id: I0ff0439fce39795df765cabbc64812d1c7252a82
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 12 Nov 2018 09:51:22 +0000 (18:51 +0900)]
Add 'R1 Screen Mirroring Source' funtions to 'R2 Primary Sink'.
'R2 Primary Sink' should do 'R1 Screen Mirroring Source' function also.
So i added these functions to 'R2 Primary Sink'
Change-Id: I6f10ca3f5e1d6faeedd5f515d34c02dac9706431
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
SeokHoon LEE [Tue, 6 Nov 2018 08:25:00 +0000 (17:25 +0900)]
delete api about video
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
Change-Id: If43f8cd8bbcfa4281df9eefbd4805632b527cace
SeokHoon LEE [Tue, 6 Nov 2018 07:57:21 +0000 (16:57 +0900)]
change comment for secondary sink
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
Change-Id: I895c95e923ce74c8b21cf8f1f5b9006995d7548a
Hyunsoo Park [Tue, 6 Nov 2018 06:36:19 +0000 (15:36 +0900)]
Add 'R2 Secondary Sink'
I added files for 'R2 Secondary Sink' function and testing.
- scmirroring_secondary_sink.h
- scmirroring_secondary_sink.c
- scmirroring_secondary_sink_test.c
Change-Id: I56d7b7b2ce9db393f3b4b3dbe852aa95cf57eeab
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Mon, 5 Nov 2018 11:26:05 +0000 (20:26 +0900)]
Make seperate 'R2 Primary Sink' from Screen Mirroring 'R1' Sink.
For make 'R2 Primary Sink', i made new files and test suite.
- scmirroring_primary_sink.c
- scmirroring_primary_sink.h
- scmirroring_primary_sink_test.c (for testing).
*It is initial commit and it includes sink funtion now. I will add source side function soon.
Change-Id: Ib5becc55c4aa2d736461deb0f3eb109ebd075b38
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Wed, 31 Oct 2018 02:30:59 +0000 (11:30 +0900)]
Add 'coupled-sink-ip' attribute on sink and source structure and change 'TEARDOWN' process for secondary sink
It is step on developing Secondary Sink.
1.Set 'coupled-sink-ip' attribute on related structure.
- That attribute is set on scmirroring_src_s, scmirrroring_sink_s, scmirroring_sink_t, _GstWFDBaseSrcPrivate.
2.Add TEARDOWN STEP when negotiaing with Secondary Sink.
- MiracastServer send TEARDOWN signal after M4 negotiation when do negotiating with Secondary Sink.
Change-Id: I0c259a909535ce57f1c73befc51bd4df04f25330
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
SeokHoon Lee [Mon, 1 Oct 2018 07:47:31 +0000 (16:47 +0900)]
Add Log for error case.
- Add errro log in case of g_remove error
- Add return in test excutable file.
- Delete unused FFLAGS
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Icd45b6dbc2c4a49acbca8181b262c227ac37feaf
SeokHoon Lee [Mon, 17 Sep 2018 03:04:31 +0000 (12:04 +0900)]
Add gcov environment
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Id0defa17a6cebf86a05f0c87ddb0169a40a46dab
Hyunsoo Park [Tue, 28 Aug 2018 01:35:06 +0000 (10:35 +0900)]
[ScreenMirroring][Source] Change 'scmirroring_src_set_multisink_ability' function and add 'Multisink Selection' on test case suite.
I checked if statement has wrong branch.
It can't take 1 current.
So i changed it.
And for Multisink test with test case suite,
i added selection with command 'g'.
Change-Id: I27abbe64367da3ea59a50fd86a1fe524640c741d
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyotaek Shim [Wed, 23 May 2018 09:39:30 +0000 (18:39 +0900)]
Fix dbus policy to support multi-user
Change-Id: I3829e6512f8aa442b1e0ee2dd26a8125822aada9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
SeokHoon Lee [Thu, 19 Apr 2018 08:10:05 +0000 (17:10 +0900)]
dbus-policy: add rule default deny own
- change dbus-policy to default deny.
- and allow method_call type for miracast server.
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I20d0d25eb23610c945b5fa286f3427a30c67e1b2
SeokHoon Lee [Mon, 5 Mar 2018 05:31:54 +0000 (14:31 +0900)]
Fix typo
- fix typo in header file.
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I320476e733f7e6d5f759e255e9ecdfd68c3010a3
Hyunsoo Park [Wed, 7 Feb 2018 05:20:55 +0000 (14:20 +0900)]
Modify description of 'scmirroring_sink_get_current_state' API.
Name of [out] parameter was missed. So i added its name.
Change-Id: Ie6bea366b00c1af7aa06882ff16a66779f33d8a8
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Fri, 15 Dec 2017 08:23:20 +0000 (17:23 +0900)]
Add 'scmirroring_get_state' on public.
It functions to get current state of screen mirroring sink.
Change-Id: I03dc95c8575473b445ee7b6a83b78eaaa0da9d83
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
SeokHoon Lee [Tue, 2 Jan 2018 02:11:29 +0000 (11:11 +0900)]
Remove check feature
- Remove check feature routine in api except create.
All api should be called with handle that was created by
scmirroring_sink_craete.
So, it doesn't need to check feature except create api.
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I34228d06b549087ab8768efcbd2149871d8e227e
SeokHoon Lee [Mon, 16 Oct 2017 06:36:08 +0000 (15:36 +0900)]
fix resource leak in error case
- In error get mount, it will occur to leak resource of server.
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ib1976595220df35e57595d7208c0f21f56a6bedf
SeokHoon Lee [Tue, 12 Sep 2017 01:32:28 +0000 (10:32 +0900)]
Fix coding rule
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ifb6cf40f5a59ce0807655edebf9e814915f0ea22
Hyunsoo [Tue, 25 Jul 2017 10:30:54 +0000 (19:30 +0900)]
Change 'resolution' parameter range of 'scmirroring_set_resolution'.
After applying this patch, 'scmirroring_set_resolution' api can set 'resolution' parameter to 0.
Then, user can set initial value to resolution.
Change-Id: I035eb0667e3f9466a656001e6ff28c4d9458d742
Signed-off-by: Hyunsoo <hance.park@samsung.com>
Hyunsoo [Thu, 20 Jul 2017 05:51:50 +0000 (14:51 +0900)]
Add testsuite 'scmirroring_sink_test_SBS' and 'README'.
*Testsuite 'scmirroring_sink_test_SBS' is added.
*It allows to run CAPI command individually.
*Also i addes README.txt for description
Change-Id: I0b10bca37cfb0d2a9b69428b70e64a1069ba6fb6
Signed-off-by: Hyunsoo <hance.park@samsung.com>
SeokHoon Lee [Thu, 20 Jul 2017 07:36:47 +0000 (16:36 +0900)]
Fix framework weekness issue
- delete unnecessary null termination because g_strdup do.
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I042820bec1d6b0842b4cdf4566c1ae91b7b2d2c8
SeokHoon Lee [Wed, 5 Jul 2017 02:04:16 +0000 (11:04 +0900)]
Direct streaming initial version
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I4aa06c52ef06aaffe34334b0006b7c0dc69b5e65
Hyunsoo [Wed, 28 Jun 2017 06:39:48 +0000 (15:39 +0900)]
[Mirroring][Add] Add internal api for checking screen mirroring sink state.
-Initial version.
-It returns screen mirorring sink state when it is called.
-It will be more robust after about exception case.
[Version] 0.1.81
[Profile] Common
[Issue Type] Add internal api
[Dependency module] libmm-wfd, https://review.tizen.org/gerrit/#/c/136123/
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170620.1]
Change-Id: I7ccb481f37ce2e367d488757b583f155c906fb80
Signed-off-by: Hyunsoo <hance.park@samsung.com>
SeokHoon Lee [Wed, 28 Jun 2017 10:33:05 +0000 (19:33 +0900)]
move magic num position for sync 2nd party
- Magicnum possition sync with 2nd party developer
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ief7394f21fd1be515e8e0744747a0c5ab7b6be20
SeokHoon Lee [Wed, 14 Jun 2017 03:59:05 +0000 (12:59 +0900)]
fix unmatched format while log printing
- %d has changed to % G_GUINT64_FORMAT for uint64 format in scmirroring_src_ini.c
- %d has changed to % G_GSIZE_FORMAT for gsize format in
scmirroring_src.c and miracast_srver_imple.c
Change-Id: I1a9a08230b639ca5e8d6647d4953388537b5560b
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
SeokHoon Lee [Wed, 24 May 2017 04:22:07 +0000 (13:22 +0900)]
Fix some crash in create api
- There is a availablity in create api,
when unaccessable memory position as input parameter(*scmirroring_h).
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ieb1e2b0f5a530e57f51a7c2af0f138d6aa124295
SeokHoon Lee [Wed, 10 May 2017 04:52:41 +0000 (13:52 +0900)]
Change src_destroy precedure
- Change SCMIRRORING_STATR_CREATED order for destory mira castserver
It need to destroy miracst server after scmirroring_src_connect.
- Add scmirroring_src_disconnect process in scmirroring_src_destroy,
in case of connected.
- Add OUT_OF_MEMORY error return
in function __scmirroring_src_send_cmd_to_server
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I6b8c4ae3ae19e2c3328dbe98dbc01c31d48bfa77
SeokHoon Lee [Fri, 21 Apr 2017 01:36:25 +0000 (10:36 +0900)]
State name change
- SCMIRRORING_STATE_NONE changed to SCMIRRORING_STATE_CREATED
to reduce confusing between STATE_NULL and STATE_NONE
- Fix inproper comment for STATE_NULL and STATE_CREATED
STATE_CREATED(as-is STATE_NONE) was set in scmorring_src_create()
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I0ac8f7e1cf84a069e555439fffdf30739911891c
SeokHoon Lee [Tue, 18 Apr 2017 04:37:33 +0000 (13:37 +0900)]
delete function prototype
- delete function prototype of scmirroring_src_prepare,
scmirroring_src_unprepare that doesn't have function body.
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I7f49fc52fd1ae62f7056cbd3417c808187261d23
SeokHoon Lee [Mon, 17 Apr 2017 05:41:55 +0000 (14:41 +0900)]
Fix some memory leak possibility
- Null check before strdup for ip and port
- ERROR_OUT_OF_MEMORY should return
when it failed to strdup for server name
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I358d052a6f0e4729d817915e99e908abd8f8f1da
SeokHoon Lee [Mon, 17 Apr 2017 04:33:19 +0000 (13:33 +0900)]
Add create commande to suite code
- Add scmmirroring_src_create test code for detailed test
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I00facada7346b29eacd9d8ece7f23baaa6a6038c
SeokHoon Lee [Fri, 14 Apr 2017 05:45:53 +0000 (14:45 +0900)]
Add magic number to source structure
- add magic number to check handle integrity
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I543efcf7fd8d05afcdb93e505fca59a04ec66c16