platform/adaptation/emulator/emulator-daemon.git
8 years agoemuld: modify mkdir to make parent directories as needed 65/56565/1
ChulHo Song [Fri, 11 Sep 2015 04:59:49 +0000 (13:59 +0900)]
emuld: modify mkdir to make parent directories as needed

Conflicts:
src/common.cpp

Change-Id: Icb1d92c16c5e54bc74d8da6eaafc7b28ab9d334c
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit 7395b87b2b425ea6339af9b28cd4ecd0bac97f69)

8 years agoemuld: base framework for product extension 79/56479/1
ChulHo Song [Wed, 19 Aug 2015 10:38:25 +0000 (19:38 +0900)]
emuld: base framework for product extension

- split the emuld and library
- added API to add/remove message handler
- removed deprecated code

Conflicts:
include/emuld.h
packaging/emuld.spec
src/common.cpp
src/emuld.cpp

Change-Id: I26d75794ebc15c29a6ae989199afc68989bc0654
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit b710c3038c30776146d3e7756101c8e0a6b41c48)

8 years agolocation: modify vconf setting to the location data 78/56478/1
ChulHo Song [Wed, 5 Aug 2015 10:03:35 +0000 (19:03 +0900)]
location: modify vconf setting to the location data

Change-Id: I5178a788fe5d6e041f7ffe82766a37c1ae73cf10
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit da09b4d7caadaa6d0a2efc0faf17af39af507ee9)

8 years agoemuld: fix some defects 36/56436/3 accepted/tizen/ivi/20160218.022824 accepted/tizen/mobile/20160108.115904 accepted/tizen/tv/20160108.113609 accepted/tizen/wearable/20160108.113750 submit/tizen/20160108.083405 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001
ChulHo Song [Fri, 8 Jan 2016 02:40:58 +0000 (11:40 +0900)]
emuld: fix some defects

close file pointer.
change strcat to strncat

Change-Id: Ie1e7e698f6ab619a783b7570d52b0a2aa232166f
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
8 years agoemuld: fix some defects 86/56286/1 accepted/tizen/mobile/20160107.101504 accepted/tizen/tv/20160107.101525 accepted/tizen/wearable/20160107.101540 submit/tizen/20160107.013154
ChulHo Song [Wed, 6 Jan 2016 04:46:21 +0000 (13:46 +0900)]
emuld: fix some defects

change strcat to strncat.
check getline lineptr.

Change-Id: Icb1b0147e6fe15932358e1b3e94d7239b8342740
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
8 years agoemuld: fix some defects 26/56026/3 accepted/tizen/mobile/20160104.224927 accepted/tizen/tv/20160104.224942 accepted/tizen/wearable/20160104.225008 submit/tizen/20160104.090433
ChulHo Song [Thu, 31 Dec 2015 11:29:58 +0000 (20:29 +0900)]
emuld: fix some defects

Change-Id: Ib717985990db9f5d74a03774bdb88fd636ce81f0
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
8 years agopackage: update version (0.9.15) 73/52473/1
Jinhyung Choi [Mon, 23 Nov 2015 12:49:50 +0000 (21:49 +0900)]
package: update version (0.9.15)

Change-Id: I71ab1b25592f4bf4356738815c07fbe80c45e9d3
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
8 years agosystem: supports sync and unmount function for rebooting 15/52315/2
Jinhyung Choi [Sat, 21 Nov 2015 03:26:39 +0000 (12:26 +0900)]
system: supports sync and unmount function for rebooting

Change-Id: I039233b7e54bdf6af3d21b25ae8394481643f6c6
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
8 years agobuild: add a "-Wall" option 84/51184/1
ChulHo Song [Thu, 5 Nov 2015 05:43:09 +0000 (14:43 +0900)]
build: add a "-Wall" option

Change-Id: Ia7949148f7e3485459b281e57168648e0ffec1e5
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
8 years agobuild: add a "-Werror" option 17/51017/1 accepted/tizen/mobile/20151105.083927 accepted/tizen/tv/20151105.083955 accepted/tizen/wearable/20151105.084014 submit/tizen/20151105.051558 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
ChulHo Song [Wed, 4 Nov 2015 11:58:05 +0000 (20:58 +0900)]
build: add a "-Werror" option

Change-Id: I5515e5b71dba6ac44b5348271354f323cfd1cc53
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
9 years agopackage version up (0.9.14) 80/44780/1
Jinhyung Choi [Sun, 26 Jul 2015 07:36:28 +0000 (16:36 +0900)]
package version up (0.9.14)

Change-Id: I6048d35161f4642b99f22529abba1b64de92a329
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
9 years agobuild: added glib-2.0 to prevent a compilation error 79/44779/1
Jinhyung Choi [Sun, 26 Jul 2015 07:35:06 +0000 (16:35 +0900)]
build: added glib-2.0 to prevent a compilation error

Other than tizen_2.4, glib is not a default installed.
It causes compilation error, so it is applied.

Change-Id: I90f0b5e54087c6f6204d8c5a9eac1c00417655aa
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
9 years agopackage: version up (0.9.13) 78/44778/1
Munkyu Im [Tue, 14 Jul 2015 09:50:09 +0000 (18:50 +0900)]
package: version up (0.9.13)

Change-Id: I1c1c569d358a62e85406685d2e4866369c2965e8
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agonet: append smack rule to netlabel 77/44777/1
Munkyu Im [Mon, 6 Jul 2015 12:07:40 +0000 (21:07 +0900)]
net: append smack rule to netlabel

Every time IP address changed, need to add smack rule to enable network.
It's used for bridged network.
Also, remove connman dependency.
retry connection_create() until connman is enable.

Change-Id: Idf503e16d24b10c2fdefabf3e30b7d05917af35a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agosdcard: remove handling event 49/42949/1
Munkyu Im [Sat, 20 Jun 2015 07:07:59 +0000 (16:07 +0900)]
sdcard: remove handling event

From now on, qemu handles sdcard attach/detach/status.

Change-Id: Iea732d4bebdb7280541f2b32f899cb9d5a4465d2
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agobuild: removed g_free() for support multi profile 26/41926/2
Jinhyung Choi [Fri, 19 Jun 2015 07:02:22 +0000 (16:02 +0900)]
build: removed g_free() for support multi profile

Change-Id: I0d9f1277c5605ca06db9cb4fb649a9ea92ffa17f
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agogmain_loop: made single main loop at main function 25/41925/1
Jinhyung Choi [Wed, 17 Jun 2015 06:33:52 +0000 (15:33 +0900)]
gmain_loop: made single main loop at main function

- network: removed unused requirement packages

Change-Id: I6768538ac0dfa4bf1cbdc8ffd3973115437b5303
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agowearable: changed dbus message (SysNoti -> ExtCon) 24/41924/1
Jinhyung Choi [Fri, 12 Jun 2015 05:15:54 +0000 (14:15 +0900)]
wearable: changed dbus message (SysNoti -> ExtCon)

Change-Id: Ib5e3202b028794b56f407b8d0380efc8adc38197
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agodisplay: enable to set lock/unlock state 23/41923/1
Jinhyung Choi [Fri, 12 Jun 2015 02:20:21 +0000 (11:20 +0900)]
display: enable to set lock/unlock state

Change-Id: I48af5ea35153074172c42561b69c6fe59137a8e3
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agovconf: changed manifest 22/41922/1
Jinhyung Choi [Wed, 10 Jun 2015 11:13:40 +0000 (20:13 +0900)]
vconf: changed manifest

Change-Id: Ib417edb6b04a1beb1ef54bb5c4bc25747f55367e
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agohds: separate hds thread 21/41921/1
Jinhyung Choi [Mon, 8 Jun 2015 13:29:15 +0000 (22:29 +0900)]
hds: separate hds thread

- send error message when pthread operation is failed

Change-Id: I1fd55289acd335bf40f461bc19b80fbebbe49864
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agodbus: changed SysNoti to ExtCon for earjack & usb 20/41920/1
Jinhyung Choi [Mon, 8 Jun 2015 08:53:33 +0000 (17:53 +0900)]
dbus: changed SysNoti to ExtCon for earjack & usb

Change-Id: I2da808ef419c8b712ab6053f9194cd67d0375229
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agohds: request default mounted data to ecs 19/41919/1
Jinhyung Choi [Sun, 24 May 2015 10:53:21 +0000 (19:53 +0900)]
hds: request default mounted data to ecs

- check specified guest directory
- create directory if it is not available.

Change-Id: I643ff4bb900f01fa3f26d10447789630af59f557
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agobuild: add ASLR (Address Space Layout Randomization) flag 18/41918/1
Jinhyung Choi [Wed, 3 Jun 2015 09:51:10 +0000 (18:51 +0900)]
build: add ASLR (Address Space Layout Randomization) flag

Change-Id: I438d064d2a3b9cf7a7a9fa734643c986d73a4466
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agosuspend: make suspend message beyond other operations. 17/41917/1
Jinhyung Choi [Wed, 27 May 2015 06:28:33 +0000 (15:28 +0900)]
suspend: make suspend message beyond other operations.

Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
Conflicts:
src/emuld.cpp

Change-Id: I21c1d22ac127e33b6f5cee43fcd7840d8ca6551b

9 years agobuild: enable other arch 56/40056/1 tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/common/20150602.115943 accepted/tizen/mobile/20150602.130715 accepted/tizen/tv/20150602.130738 accepted/tizen/wearable/20150602.130706 submit/tizen/20150602.060740 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Jinhyung Choi [Thu, 28 May 2015 10:28:35 +0000 (19:28 +0900)]
build: enable other arch

Change-Id: Id7213bdfc4f1d554b0bab108e7e8459be8f3c8aa
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agoprofile: added stub for no profile available 35/40035/1 accepted/tizen/common/20150528.081220 accepted/tizen/mobile/20150528.113801 accepted/tizen/tv/20150528.113731 accepted/tizen/wearable/20150528.113749 submit/tizen/20150528.065925
Jinhyung Choi [Thu, 28 May 2015 03:07:51 +0000 (12:07 +0900)]
profile: added stub for no profile available

Change-Id: I0f7eb191ec602dffe70d9d27420e482316d85a82
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agoMerge branch 'private-develop' into tizen submit/tizen/20150527.025434
Sangho Park [Fri, 22 May 2015 08:34:05 +0000 (17:34 +0900)]
Merge branch 'private-develop' into tizen

Signed-off-by: Sangho Park <sangho1206.park@samsung.com>
Conflicts:
CMakeLists.txt
emuld.service
include/emuld.h
include/mobile.h
include/wearable.h
packaging/emuld.spec
src/common.cpp
src/emuld.cpp
src/mobile.cpp
src/net.cpp
src/wearable.cpp

Change-Id: Ic99d377a88959253d1f33cc95977433209663e03

9 years agoMerge "misc: modify logs and other things" into tizen_2.4
Sangho Park [Fri, 22 May 2015 07:45:24 +0000 (16:45 +0900)]
Merge "misc: modify logs and other things" into tizen_2.4

9 years agomisc: modify logs and other things
Munkyu Im [Fri, 22 May 2015 05:05:27 +0000 (14:05 +0900)]
misc: modify logs and other things

modify log type.
enlarge buffer size.
make a variable to check if dynamic/static ip setting.
send emuld boot-done message after finishing ip setting.

Change-Id: I7473e1415f4ee26f64319c8cab4bcb01be4d29b5
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agotermination: add SIGINT, SIGTERM, and SIGUSR1 handler
Jinhyung Choi [Thu, 21 May 2015 12:00:49 +0000 (21:00 +0900)]
termination: add SIGINT, SIGTERM, and SIGUSR1 handler

- SIGINT for <Ctrl-c>
- SIGTERM for kill
- SIGUSR1 for systemd killing signal

Change-Id: I3c1826a905b42ef808c765a5e0cd18e1f1db7820
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agoemuld: modify systemd rules
Munkyu Im [Thu, 21 May 2015 08:42:19 +0000 (17:42 +0900)]
emuld: modify systemd rules

Change-Id: I90089f667db9590740db2639b87b914e037a938a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agonet: remove log
Munkyu Im [Thu, 21 May 2015 08:38:43 +0000 (17:38 +0900)]
net: remove log

Change-Id: I77331d8f48b972070d4d47dab764fc4a458c5eb9
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agonet: set/get ip address
Munkyu Im [Wed, 20 May 2015 10:45:05 +0000 (19:45 +0900)]
net: set/get ip address

use network connection api to get IP change notification.
send guest IP address to qemu.

Change-Id: Id255f7c46b8a400bb0a16564557839881f6d932e
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoMerge "build: package version up (0.9.2)" into tizen_2.4
Sangho Park [Fri, 8 May 2015 07:22:44 +0000 (16:22 +0900)]
Merge "build: package version up (0.9.2)" into tizen_2.4

9 years agoMerge "hds: supports multiple hds connection" into tizen_2.4
Sangho Park [Fri, 8 May 2015 07:22:34 +0000 (16:22 +0900)]
Merge "hds: supports multiple hds connection" into tizen_2.4

9 years agobuild: package version up (0.9.2)
Jinhyung Choi [Mon, 4 May 2015 06:59:44 +0000 (15:59 +0900)]
build: package version up (0.9.2)

Change-Id: I47d83e0694c5726a9c22002f5a3f63b7a0053e6a
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agohds: supports multiple hds connection
Jinhyung Choi [Mon, 4 May 2015 05:44:40 +0000 (14:44 +0900)]
hds: supports multiple hds connection

- moved the directory(/mnt/host) creation from system-plugin-emulator

Change-Id: I4fe946331f4285647a94041aeac67686a38c0ec6
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agonet: support bridged network
Munkyu Im [Tue, 28 Apr 2015 12:49:38 +0000 (21:49 +0900)]
net: support bridged network

get IP information from kernel parameter and set to guest network system.

Change-Id: I1270a334bcac9ed7d62d852d8570f8750a0fd999
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoadded low memory event
sungmin ha [Mon, 6 Apr 2015 08:06:36 +0000 (17:06 +0900)]
added low memory event

Change-Id: I2d61c3d1836279b3a37c7406c88d08154805a940
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agoprofile: added TV profile
Jinhyung Choi [Sun, 29 Mar 2015 03:53:03 +0000 (12:53 +0900)]
profile: added TV profile

Change-Id: I6ef04f8a2db83e972d964a201d9945f650d1dc8c
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agoMerge branch 'tizen_2.3' into tizen_2.4
Jinhyung Choi [Fri, 27 Mar 2015 06:52:32 +0000 (15:52 +0900)]
Merge branch 'tizen_2.3' into tizen_2.4

Change-Id: Ic97fe0de9bb44f595075be4d79ede8020028a3c4
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agobuild: fix build flags
Jinhyung Choi [Fri, 13 Mar 2015 03:25:07 +0000 (12:25 +0900)]
build: fix build flags

Change-Id: Ic4777687b107d462f3147c124e2027ac3d5472ef
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agoMerge branch 'public-develop' into tizen_2.3
Jinhyung Choi [Fri, 13 Mar 2015 03:16:54 +0000 (12:16 +0900)]
Merge branch 'public-develop' into tizen_2.3

- deviced: booting done notification handling
- build: removed arm build
- added extra package installation

Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
Conflicts:
CMakeLists.txt
include/emuld.h
include/mobile.h
include/synbuf.h
include/wearable.h
packaging/emuld.spec
src/common.cpp
src/common_dev.cpp
src/emuld.cpp
src/mobile.cpp
src/mobile_dev.cpp
src/wearable.cpp
src/wearable_dev.cpp

Change-Id: Ida417052297457f45adc210c68b16fb2be42fe2d

9 years agopackaging: use %else and %if seperately
Chanho Park [Mon, 2 Feb 2015 02:21:55 +0000 (11:21 +0900)]
packaging: use %else and %if seperately

This patch fixes previous patch because it's wrong. There is no %else if
grammar in rpmbuild. So, we should use %else %if seperately.

Change-Id: I7284ecfbd0a96f1a6dde435f91023d0862c881c8
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
9 years agofixed: exit status of package installation
Jinhyung Choi [Thu, 22 Jan 2015 05:19:25 +0000 (14:19 +0900)]
fixed: exit status of package installation

Change-Id: I5b1049bde133a09dd774e70cc67e6c7dafc07c03
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agonet: Support bridged network 27/33727/4 archives/tizen_20150513
Munkyu Im [Wed, 14 Jan 2015 08:18:52 +0000 (17:18 +0900)]
net: Support bridged network

deliver VM IP to host.
Set manual VM IP to connman.

Change-Id: Id61254cfc9d8dd3dbe80e2a579817678c02d1ec3
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agodeviced: booting done notification handling 97/33297/3
Jinhyung Choi [Thu, 8 Jan 2015 06:07:21 +0000 (15:07 +0900)]
deviced: booting done notification handling

- leaving kernel log by evdi

Change-Id: I7ff6b05c3eeea307217e23cfd484530675483895
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agopkg: rpm installation exit codes checking
Jinhyung Choi [Tue, 20 Jan 2015 05:50:56 +0000 (14:50 +0900)]
pkg: rpm installation exit codes checking

Change-Id: I92ddc560a5deb54f9cd8e0f40d3c45855666c330
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agoemuld: Fix contextual warnings
Munkyu Im [Fri, 16 Jan 2015 03:03:53 +0000 (12:03 +0900)]
emuld: Fix contextual warnings

Change-Id: Iff8d7636d3cb0002ea00db3cdfc23bbe2836bff7
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agobug fixed: setting data length 0 as default
Jinhyung Choi [Thu, 15 Jan 2015 05:48:40 +0000 (14:48 +0900)]
bug fixed: setting data length 0 as default

Change-Id: Ie3ee6ad0bfbc8a7564842b0f97ef09f58e07ad7c
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agobuild: package version up (0.8.5)
Jinhyung Choi [Fri, 9 Jan 2015 11:44:19 +0000 (20:44 +0900)]
build: package version up (0.8.5)

Change-Id: I54e0c3e63a1d43d9009b5a36644c4e92afdb44c4
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agodeviced: booting done notification handling
Jinhyung Choi [Thu, 8 Jan 2015 09:07:23 +0000 (18:07 +0900)]
deviced: booting done notification handling

Change-Id: I59a50200182474948168a2bac5822ce847ccdb92
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agopkg: added extra package installation 96/33296/1
Jinhyung Choi [Thu, 8 Jan 2015 05:49:34 +0000 (14:49 +0900)]
pkg: added extra package installation

- tabspace: using 4spaces as a tab
- build: removed arm build

Change-Id: I28b9e93c846ce7832dad9b8987a99b5df6f11c12
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agobuild: removed arm build
Jinhyung Choi [Tue, 6 Jan 2015 08:56:01 +0000 (17:56 +0900)]
build: removed arm build

Change-Id: I455fe0f01cf0bfacfa548eb53b29b05c30a23c62
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agotabspace: using 4spaces as a tab
Jinhyung Choi [Tue, 6 Jan 2015 08:27:13 +0000 (17:27 +0900)]
tabspace: using 4spaces as a tab

Change-Id: Ic48460b5c2c2a62c87936c1c52202d9eb2fee3a1
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agopkg: added extra package installation
Jinhyung Choi [Tue, 6 Jan 2015 08:02:59 +0000 (17:02 +0900)]
pkg: added extra package installation

Change-Id: I2f1dbdc8ce12db427b0d25013c789b6986251e32
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agoemuld: sync with tizen 2.3 development 34/32634/1
Jinhyung Choi [Sat, 20 Dec 2014 02:25:13 +0000 (11:25 +0900)]
emuld: sync with tizen 2.3 development

dd-display.h for deviced is not support, yet.

The code is commented out currently, so emulator will be possibly suspended.

Change-Id: Ib3f684d17d6dc432e338082f32d88aa201f831e2
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agomisc: Arrange source codes
Munkyu Im [Tue, 16 Dec 2014 08:40:40 +0000 (17:40 +0900)]
misc: Arrange source codes

Fix delete non-array
Change strcpy() to strncpy()
Fix null pointer dereference

Change-Id: I4ab90cc9e144155a0658320dde69e9533c1d525a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
9 years agoMerge "DEBUG: added null checking & some minor refactoring" into tizen_2.3
Jinhyung Choi [Tue, 16 Dec 2014 06:16:37 +0000 (15:16 +0900)]
Merge "DEBUG: added null checking & some minor refactoring" into tizen_2.3

9 years agobug fix: modified size of memset in msgproc_cmd function
sungmin ha [Tue, 16 Dec 2014 06:13:01 +0000 (15:13 +0900)]
bug fix: modified size of memset in msgproc_cmd function

Change-Id: I66a11bb56736e8432dbdcc97aa1bc75cad1c651d
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
9 years agoDEBUG: added null checking & some minor refactoring
Jinhyung Choi [Tue, 16 Dec 2014 06:01:24 +0000 (15:01 +0900)]
DEBUG: added null checking & some minor refactoring

Change-Id: I7597a8f92555b2d74fbedfd928546306eee6d772
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agopedometer: removed pedometer sensor injection
Jinhyung Choi [Tue, 4 Nov 2014 05:02:38 +0000 (14:02 +0900)]
pedometer: removed pedometer sensor injection

Change-Id: Ie2e9a2df95230c563927f61e55b481341eec0ba2
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agopedometer: removed the feature
Jinhyung Choi [Mon, 3 Nov 2014 12:56:03 +0000 (21:56 +0900)]
pedometer: removed the feature

Change-Id: I08d4a7bf13543b1dbd98579ecdabc2e9037a0cdf
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agosync: combined mobile & wearable profile
Jinhyung Choi [Mon, 3 Nov 2014 04:24:59 +0000 (13:24 +0900)]
sync: combined mobile & wearable profile

Change-Id: Iec9a3ff05903b5da625ffbe1b4add7d4982ce68b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
9 years agohds: resolved timing issue between attach and mount
Jinhyung Choi [Fri, 31 Oct 2014 01:16:14 +0000 (10:16 +0900)]
hds: resolved timing issue between attach and mount

Change-Id: I799512fcb2a70fc8fb82375d297360b9f89ff40d
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoHDS: added mount/umount for "Host Directory Sharing"
Jinhyung Choi [Mon, 13 Oct 2014 09:09:38 +0000 (18:09 +0900)]
HDS: added mount/umount for "Host Directory Sharing"

Change-Id: I7f1737f0351c9184fd1d91dfcac286e46919dbc0
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agodbus: changed 4wire earjack commands
Jinhyung Choi [Wed, 1 Oct 2014 09:52:21 +0000 (18:52 +0900)]
dbus: changed 4wire earjack commands

Change-Id: I84536671628c63e506cc079fccdeacb946bae65e
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agorefactoring: removed unused socket & code
Jinhyung Choi [Wed, 17 Sep 2014 07:49:53 +0000 (16:49 +0900)]
refactoring: removed unused socket & code

Change-Id: Icd394a400fc2737c97c60fe3eb6892c9193ec1c5
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agobug fixed: bug fixed for sensor event
Jinhyung Choi [Tue, 16 Sep 2014 10:05:57 +0000 (19:05 +0900)]
bug fixed: bug fixed for sensor event

Change-Id: I540344dda21fced805cf2fedb268a344921d5087
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agosync: merge for genenral purpose
Jinhyung Choi [Fri, 5 Sep 2014 10:37:25 +0000 (19:37 +0900)]
sync: merge for genenral purpose

Change-Id: I1a8e520f85b8c456a050118f4ad5907131087c66
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agosmack: added deviced::display smack rule
Jinhyung Choi [Fri, 29 Aug 2014 08:07:40 +0000 (17:07 +0900)]
smack: added deviced::display smack rule

Emulator daemon blocks suspend state for the emulator.
deviced API is used to accomplish it.
To avoid dbus smack rule, added deviced::display rule at emuld.manifest

Change-Id: If2e9a834793f2debb5c46fd20e440a81b74c785e
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agowearable: added emuld binary for pedometer
Jinhyung Choi [Sat, 17 May 2014 03:04:10 +0000 (12:04 +0900)]
wearable: added emuld binary for pedometer

Change-Id: Ic3b7c459174a58dc348e21f99ed51fa3c6c407e2
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoInitialize Tizen 2.3
Sehong Na [Sat, 31 May 2014 03:39:33 +0000 (12:39 +0900)]
Initialize Tizen 2.3

10 years agoenuld: remove sys_event 53/19753/1
Munkyu Im [Thu, 17 Apr 2014 08:41:13 +0000 (17:41 +0900)]
enuld: remove sys_event

sys_event is not necessary any more.
platform mount/umount automatically when sdcard is attached/detached.

Change-Id: I008ffd961ae017cc89fca0f29b4f296d813b19b1
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoemuld: remove unused files and code 65/19565/1
Munkyu Im [Tue, 15 Apr 2014 11:28:36 +0000 (20:28 +0900)]
emuld: remove unused files and code

debian packaging files and sdb port code.

Change-Id: I87e015e1f44bb1db342b1efb2fac0b8159b7a26c
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoemuld: remove sending message to guest-server 09/19009/3
Munkyu Im [Fri, 4 Apr 2014 02:47:45 +0000 (11:47 +0900)]
emuld: remove sending message to guest-server

Do not communicate with guest-server anymore.
ecs does.

Change-Id: I221428aeafb20867780b92e0fc2b879a41846197
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agoRefactoring: merged getter codes to device 95/17195/1
Jinhyung Choi [Wed, 5 Mar 2014 07:34:08 +0000 (16:34 +0900)]
Refactoring: merged getter codes to device

Change-Id: I7a4b7c114ca42f29df0d7e2fbd97370e2215f824
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoADDITION: sensor daemon migration & log format changed 96/17096/4
Jinhyung Choi [Tue, 4 Mar 2014 02:27:34 +0000 (11:27 +0900)]
ADDITION: sensor daemon migration & log format changed

- sensor daemon src is merged into emulator daemon source
- dlog is used for log system
- cmake refactoring

Change-Id: Ifba82b0cef09f3140a5a0304a878d84a095f2a43
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoSMACK: added system::use_internet permission
Jinhyung Choi [Fri, 7 Feb 2014 14:17:45 +0000 (23:17 +0900)]
SMACK: added system::use_internet permission

Change-Id: If1e890668e40783eb1fe0ee98d6de40d9d308c83
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoSMACK: applied smack with context-manager dependency.
Jinhyung Choi [Fri, 7 Feb 2014 06:12:06 +0000 (15:12 +0900)]
SMACK: applied smack with context-manager dependency.

Change-Id: I27bfac322f68d99a867486da56b40cc3890f88a9
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agopmapi: package & functions are changed to "deviced"
Jinhyung Choi [Mon, 27 Jan 2014 07:52:21 +0000 (16:52 +0900)]
pmapi: package & functions are changed to "deviced"

Change-Id: I6f9e2cfaeb59ab63765a86ce8c022ba05313d5d3
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoPREVENT: fixed resource leak
Jinhyung Choi [Mon, 20 Jan 2014 04:20:30 +0000 (13:20 +0900)]
PREVENT: fixed resource leak

Change-Id: Ib07186944b08e1f192a1eb44e6536b28b865671b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoBUILD: version up
Jinhyung Choi [Mon, 20 Jan 2014 01:55:40 +0000 (10:55 +0900)]
BUILD: version up

Change-Id: I2ec4b08393c132cc81cd4227212b2494ee776d4a
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoPREVENT: resolved resource leak (fd)
Jinhyung Choi [Mon, 20 Jan 2014 01:53:51 +0000 (10:53 +0900)]
PREVENT: resolved resource leak (fd)

Change-Id: I255837721c47293e5dec2ed428df18611138833b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoPREVENT: resource leak (delete [])
Jinhyung Choi [Mon, 20 Jan 2014 01:50:11 +0000 (10:50 +0900)]
PREVENT: resource leak (delete [])

Change-Id: I9221be7afe944acc286e9bdc70743cabff3a465b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoemuld: version up
munkyu.im [Tue, 17 Dec 2013 07:27:21 +0000 (16:27 +0900)]
emuld: version up

Change-Id: I0f608dbb104190f9d802c99e647dca2d8fdc42db
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoemuld: remove CONFIG_VMODEM definition
munkyu.im [Tue, 17 Dec 2013 05:45:56 +0000 (14:45 +0900)]
emuld: remove CONFIG_VMODEM definition

this emulator do not use vmodem module.
modified some logs.

Change-Id: Ia8ec4924cade326ae737ff014856f25864d02096
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoemuld: support pedometer
munkyu.im [Mon, 16 Dec 2013 08:47:33 +0000 (17:47 +0900)]
emuld: support pedometer

removed supporting sap.
New feature pedometer is added.

Change-Id: I453e3c3de36711136a781f2e91800b60d0b63ca9
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agosuspend/resume: setting suspend lock state 01/13301/1
Jinhyung Choi [Tue, 3 Dec 2013 06:56:58 +0000 (15:56 +0900)]
suspend/resume: setting suspend lock state

Emuld sets the suspend lock state as default.
But now, it requests to qemu the lock state, and sets the state.

Change-Id: If3faa765971ffb61d2c1d8d22dcb3f032837d094
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoemuld: add CONFIG_VMODEM
munkyu.im [Fri, 29 Nov 2013 10:34:09 +0000 (19:34 +0900)]
emuld: add CONFIG_VMODEM

Vmodem is not necessary.
So make it configurable.

Change-Id: Ibdb7ca8fcb4641b7777cc6c55bcbc6d8314cebd0
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoemuld: support sap command
munkyu.im [Fri, 29 Nov 2013 08:21:03 +0000 (17:21 +0900)]
emuld: support sap command

added to process_evdi_command(...) to support sap protocol

Change-Id: I30db58acf32ff500b5ac7d8d601edae19eab23e0
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoemuld: return checking when call pm_lock_state()
munkyu.im [Tue, 26 Nov 2013 11:09:48 +0000 (20:09 +0900)]
emuld: return checking when call pm_lock_state()

printed return value as log.

Change-Id: I5138e6eb1f821b93bf7ccda3ffdf076647f5384e
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoMerge "emuld: change fprintf(...) to LOG(...)" into task/adv/tizenw
DaiYoung Kim [Tue, 26 Nov 2013 09:20:16 +0000 (18:20 +0900)]
Merge "emuld: change fprintf(...) to LOG(...)" into task/adv/tizenw

10 years agoemuld: change fprintf(...) to LOG(...)
munkyu.im [Tue, 26 Nov 2013 06:35:32 +0000 (15:35 +0900)]
emuld: change fprintf(...) to LOG(...)

integrated log system to LOG(...)

Change-Id: I4ad2eca6dfb7ce670ece5f53ea965f1a89c6e2ee
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoAdjust a starting sequence order.
SeokYeon Hwang [Tue, 26 Nov 2013 06:31:33 +0000 (15:31 +0900)]
Adjust a starting sequence order.

Now emulator daemon will start after "system-server.service"

Change-Id: Ia67fdec531516571bc619deed4e06439313a66bd
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemuld: update the latest code from public
munkyu.im [Mon, 25 Nov 2013 10:33:56 +0000 (19:33 +0900)]
emuld: update the latest code from public

integrated public source codes
added sap supporting codes on it.
modified boilerplate.

Change-Id: If991eca08c0f534d17229a7fac22432a76863930
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoemuld: support SAP
munkyu.im [Wed, 20 Nov 2013 07:50:32 +0000 (16:50 +0900)]
emuld: support SAP

added protocol to help SAP process

Change-Id: Ic088226d7bb8675fffc63593700d8ab015892f85
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
10 years agoCPP Emuld: Emulator daemon restructuring base on C++ 85/12085/2
Jinhyung Choi [Tue, 12 Nov 2013 12:59:50 +0000 (21:59 +0900)]
CPP Emuld: Emulator daemon restructuring base on C++

- re-build emuld with c++ for better architecturing.
- introduce evdi (emulator virtual device interface) which communicates
with emulator control server.

Change-Id: I5dd008356425019a0d9c7f347527d0ae76c99e18
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoPrevent from entering "sleep" state via pmapi. 96/11996/2
SeokYeon Hwang [Sun, 10 Nov 2013 07:43:58 +0000 (16:43 +0900)]
Prevent from entering "sleep" state via pmapi.

1. Using pmapi for power manager control.
Now we can control power manager without power-manager modification.
2. Retab emuld.c

Change-Id: I89e6472769d3f3d9929f605e1dda6835fd782311
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>