summaryrefslogtreecommitdiff
path: root/tizen/src/ecs
AgeCommit message (Collapse)AuthorFilesLines
2017-01-02ecs: separate package file path by platform versionMunkyu Im1-3/+13
The old path does not work on tizen 3.0. So, change the path to push package file. For tizen 2.XX: /opt/usr/apps/tmp/sdk_tools/ For the others(including tizen 3.XX): /tmp/.emulator/apps/ Change-Id: Ide6d328ff024c286c1820a13c3720f8f1362a2b7 Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2016-12-15ecs: send answer message to single clientJinhyung Choi1-1/+1
Change-Id: I6c5ee1ba1460550cce37094baa35181af1dd5013 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-12-13pkg: change destination path for add on packagesMunkyu Im1-2/+2
The previous path does not have permission to push files. Change-Id: Ie0644cdd6c66cef121d42cb05681376d05217bf9 Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2016-11-09Merge branch 'develop' into develop_qemu_2.7SeokYeon Hwang5-3/+123
Change-Id: If718c77de19a889746a25a2dd51881dce52ef4b4 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-11-02ecs: handle device capabilitiesJinhyung Choi5-0/+123
* capability values are set by emulator daemon |-------| |-----| |---------| | emuld | -------> | ECS | --------> | clients | |-------| set |-----| result |---------| * ECS stores the value and send it when ECP requests. |-----| |-----| |---------| | ECP | --------> | ECS | --------> | clients | |-----| request |-----| result |---------| check sensor & nfc device status additionally. Change-Id: Icebefa564f0263afff0f0e1b139335c7c6f2ba3d Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-09-21ecs: separate cli vm searchingJinhyung Choi1-3/+0
cannot find vm between old and later version by ecp cli - old version: 2.3, 2.3.1 - later version: 2.3.2, 2.4, 3.0 Change-Id: I6833c03063573cb1329c74fce77cdafab12a5e58 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-09-12Merge tag 'v2.7.0' into develop_qemu_2.7SeokYeon Hwang1-0/+1
v2.7.0 release Change-Id: Id5feb5a9404ab064f9ea3d0aa0d95eef17020fa3 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-08-12vmodem: fix null referencing errorSooyoung Ha2-4/+4
Change-Id: I4e050c932ff2d0b83985219c3b3fb2603327e16e Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
2016-08-12ecs: fix socket write error on WindowsJinhyung Choi1-2/+13
Posix API write() does not work properly, so it is changed send(). Change-Id: I4ac7c8a725326bb419fb4494d09400381c5583d0 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-08-12ecs: add vminfo command for ECP CLIJinhyung Choi1-0/+5
Emulator Control Panel CLI is moved to common tools directory. Profile and version information is necessary to run it. Change-Id: I79983dd6302396a8be4bc3307217aec63e9ea5dd Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-08-04Merge branch 'develop' into develop_qemu_2.6SeokYeon Hwang6-1/+164
2016-07-28sensor: add pedometer sensor deviceSooyoung Ha4-0/+20
Change-Id: I4bf3bf11a0942e82f5bdd371d066864f6a2c8be8 Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
2016-07-28tuner: add maru_tunerTaeHyeong Lee3-1/+144
Change-Id: Icaf347d674bf8e9893ebcb3a521fbd3dcf007c5a Signed-off-by: TaeHyeong Lee <time.lee@samsung.com>
2016-07-11virtfs: enable virtfs for qemu 2.6Sooyoung Ha1-1/+4
Change-Id: I1b290381a46b7170dc0d356dd96df8defc97ef93 Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
2016-07-06Merge branch 'develop' into develop_qemu_2.6SeokYeon Hwang1-2/+1
Change-Id: Id31ceffdbfe8938ea70a11f904fb38e2c4732dd0 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-07-05package: make it buildable on Windows and MacOSXSeokYeon Hwang4-3/+5
VIRTFS is disabled temporarily. It is work again soon. Change-Id: Ifa8ced8577e78c1cea8dbf314aedb4b33bfb2528 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com> Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
2016-06-27input: introduce maru_virtio_inputSeokYeon Hwang1-2/+1
"maru_virtio_input" contains touchscreen, keyboard, hwkey now. "rotary" will be added soon. Change-Id: I6a8983e8d7e6e78489ec06d77497042f85d823d7 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-06-21package: make it buildableSeokYeon Hwang11-7/+35
Follow-up header modification. (commit 90ce6e2644db2c47d72f364b4de57342e50bd10a) Follow-up virtio API modification. (commit 51b19ebe4320f3dcd93cea71235c1219318ddfd2) Change-Id: Ia7b5c2a25b6ad597ba0f506fc616a67984eae6e9 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-02-17ecs: apply code conventionsChulHo Song16-665/+695
Change-Id: I93f9cd75492f33259adeaa2ca5f237648f5e0312 Signed-off-by: ChulHo Song <ch81.song@samsung.com>
2016-02-03sdcard: send notification to ECP when sdcard state is changedChulHo Song1-7/+3
Change-Id: Ic8804fc221058cae14bd74509c2ca84b6b45c29c Signed-off-by: ChulHo Song <ch81.song@samsung.com> (cherry picked from commit 7e051a5400555016e4656f9635e0fe4b26409405)
2016-02-03sdcard: add trailing backslash only if path has no trailing backslashChulHo Song1-0/+1
Change-Id: I350f81df3c9ddc0408a21a1b5673ed0dcf8c378c Signed-off-by: ChulHo Song <ch81.song@samsung.com> (cherry picked from commit 47774e6252defe89cb31fbc06b684e134e3bbcde)
2016-01-29osutil: lock the sdcard image instead of lock fileSangho Park1-3/+3
Lock a sdcard image file to use and prevent other emulator from using the sdcard image. Additional lock file is not needed. Change-Id: Ie39cf7d1a66c7047593968caec3970c907eee935 Signed-off-by: Sangho Park <sangho.p@samsung.com> Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2016-01-13hds: check available PCI slot before mountsJinhyung Choi2-0/+71
PCI slot max is 32 and reserved slot for hidden is 4. ECS sends the number of available PCI slot when the status is requested. Also, it checks the available PCI slot before HDS tries to attach 9p device. Change-Id: I24b12bf07574420753de2330ac8dbde6b6547915 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-01-07hds: change the policy from unmodifiable to hiddenJinhyung Choi1-3/+3
ECP UI did not allow unmount when unmodifiable level is chosen. But, it is changed to hide. Change-Id: Ib33a61a3a0217f015676cd76e10878799818a4d7 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-01-07hds: not allow duplicated host & guest pathJinhyung Choi2-0/+12
Change-Id: Ia282cf951ac9dd87c659ae3ed20f3de5092a93b1 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-01-07ecs: reduce header definition for ecs.hJinhyung Choi8-270/+316
- clean-up and re-arrange the definitions and inclusion - remove unused function definition Change-Id: Ic54e9d81da2e91f6e534c45f9c7064a53d7e54cc Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-01-07emul_state: guest IP and host IP getters/setters are refinedSeokYeon Hwang1-1/+1
Change-Id: I2a7b3bed1fb653855c21e61da79a85b35dfae524 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-01-05emulator: clean-up emulator network initializationSeokYeon Hwang2-2/+3
Do port forwarding and base port initialization at once. Some emul_state getters/setters are refined. "sdb.c" is "net_helper.c" now and it use new_debug_channel. Change-Id: I0659b35e231a8f60bd3707a2d04b09213a9cb830 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com> Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2015-12-22ecs: fix build errorsSeokYeon Hwang4-52/+69
Change-Id: Iebe782bd96e3a16ef28ad7030ae8ce3835d71401 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com> Signed-off-by: ChulHo Song <ch81.song@samsung.com>
2015-12-01net: fix failure of launching multiple VMs consecutivelyMunkyu Im1-61/+5
There was a gap between check_port_bind_listen() and ecs_socket_listen() The socket fd for checking port was closed and created it again as ECS(Emulator Control Sever) socket. If user launches both VM1 and VM2 at the same time, the below case can be happen. 1. VM1: launch and search base port - 26100 2. VM1: close socket fd 3. VM2: launch and search base port - 26100 4. VM2: close socket fd 5. VM1: try to create ecs socket for 26100 + 3 6. VM2: try to create ecs socket for 26100 + 3 (failure) To fix this problem, ECS re-uses the port created on check_port_bind_listen(). Change-Id: Ib60a4f15d63bba57c68583228753310d5b467677 Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2015-11-26UI: supports reboot from context menuJinhyung Choi2-3/+9
When a malfunction of emulator occurs, such as no response from the guest OS, what a developer can do is selecting "force close" and restarting from emulator manager. In order to avoid the inconvenience of doing it, reboot menu is added. It is working directly to hardware after requesting sync() to guest OS ---------------- | Context menu | ---------------- | reboot | ---------------- ---------- | | emuld | ------------------------ ---------- | 1. send sync message | -------------> | sync() | | 2. start a timer | ---------- ------------------------ | The timer expires after 1s ------------------------------- | qemu_system_reset_request() | ------------------------------- Conflicts: tizen/src/extension/ui/resource/skins/tv-1080x1920/layout.xml tizen/src/extension/ui/resource/skins/tv-1920x1080/layout.xml tizen/src/extension/ui/resource/skins/tv-2560x1080/layout.xml Change-Id: I3c3c31c2cc19065f53b620d83c79e68e0183db53 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com> (cherry picked from commit 14fc61baff1e8b48cbcb810a8392a1ac601f2511)
2015-11-23hds: introduce unmodifiable level of controlJinhyung Choi6-212/+388
A user can mount and unmount freely with ECP UI and ECP CLI. However, certain directories, such as IDE workspaces, are not allowed to unmount it for normal usage. So, ECP CLI with special arguments sets unmodifiable level. The level is used 1 for unmodifiable and 0 for normal usage. Change-Id: Ic8c35e27193fa54e5acc508a5700f6fb342b6960 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2015-10-14Merge branch 'tizen_2.4_develop' into tizen_3.0_developSeokYeon Hwang1-1/+1
Change-Id: I65d65fd526fd0fc169e7b71fe4a0322e01ac7f52 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-10-13ecs: add log about target image path.minkee.lee1-1/+1
- change log level. (TRACE -> INFO) - Target image path is used in emulator-manager in order to check running-VM. Change-Id: I5f91f30ba9bdf3887028c5272b4efe6ec5b75e70 Signed-off-by: minkee.lee <minkee.lee@samsung.com>
2015-09-09Merge branch 'tizen_3.0_qemu_2.4' into tizen_3.0_developSeokYeon Hwang2-188/+23
Change-Id: Id041f1c920109207df64105feabf237dba5cbe37 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-09-09ecs: wrap sdb command and path with double quotesChulHo Song1-2/+5
Change-Id: I7c580e211cd7dd5f5edf012ea289f24c4d1ea474 Signed-off-by: ChulHo Song <ch81.song@samsung.com>
2015-09-02sdcard: change the way to get sdcard pathMunkyu Im1-186/+18
Instead of using "sdk.info", get sdcard path from "vm_launch.conf" change encoding when read "vm_launch.conf" Change-Id: Id7c0cad031675e8ee67706d48f0db9cf4a89f05c Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2015-08-28ecs: "ecs_mon" complied with the qemu 2.4ChulHo Song1-106/+67
Change-Id: Ic826653f27797a067e38e4e1ce4014ac8a3c547a Signed-off-by: ChulHo Song <ch81.song@samsung.com>
2015-08-25upstream: some API was renamed and renewedSeokYeon Hwang2-1/+2
Change-Id: I6ec4c1eb026574b8a2ac96bdb128e84145aa16af Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-08-17virtfs: remove redundant maru definesSooyoung Ha1-1/+0
The virtfs option doesn't be used anymore. So I remove the maru defines in the virtfs-option case. While modifying this, I modify the method about getting the default file sharing path for detailed info and remove the setter function. Change-Id: Icaafe4d38751305457f5683d91e8a7b39eac6643 Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com> Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-08-10UI: massive refactoring about UI/Display componentsSeokYeon Hwang2-4/+3
Detached QT UI from skin/display completely. Did not built skin/display when JAVA UI is disabled. Fixed some of badly header inclusion chains. Change-Id: I260876aadbed75154055ec19d5f384c884854ef5 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-08-05emulator: shutdown_qemu_gracefully() moved to emulator.cSeokYeon Hwang2-0/+10
Change-Id: Ic9c1e92e24709896eea96f203f49f714e4ebdd93 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-08-04emulator: introduced new error report architectureSeokYeon Hwang3-3/+3
User can see all errors reported by error_report(). Removed most emulator specified codes. Renamed some source files. Removed redudant header includes. Change-Id: I61f92f4e32763eaa1e3ed20c77259dd8b034d497 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-07-30emul_state: detached dependency evdi->emul_stateSeokYeon Hwang1-1/+1
Detached dependency evdi->emul_state. Some additional clean-up is applied. Change-Id: I06dae3130ba1271b629bb2ea179bc24ee2f2fe9a Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-07-27source: Extract the strings from source codesSooyoung Ha1-2/+2
I extract some strings which shown to users via UI and gather them to header files. It helps to verify the strings conveniently. Change-Id: I946e2bfe69d6e9a7b0db497e1ef903b2326cb8de Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
2015-07-22ecs: add ecs extensionChulHo Song2-0/+10
Change-Id: Ic1dd9b2318aa88f284caa097d4a86cf445909018 Signed-off-by: ChulHo Song <ch81.song@samsung.com>
2015-07-13emul_state: rewrite and cleaned-up some functionsSeokYeon Hwang1-1/+1
Change-Id: I4ad76ecd44adb20ba2ebf6d5f4deabe875fbfa08 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2015-06-26sdcard: prepare for multiple imageMunkyu Im5-299/+418
sdcard list gets from qmp_query_block() So, emuld dependency has been removed. Change-Id: Ibaad255b506e10daa3a0364ae558e781cf9c33ad Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2015-06-23sensor: support angular rotationJinhyung Choi2-0/+68
Change-Id: I38730c2c82f0c9ab3eb95774a467828716851894 Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
2015-06-17evdi: removed blocked condition by emuld connectionJinhyung Choi1-1/+4
Change-Id: I91a72914a35a075a064c11c1656af8b1d4e67bfc Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com> (cherry picked from commit 80abb2040e5f14a3d382d532a5c78c48f613d3b9)