Commit graph

70 commits

Author SHA1 Message Date
Simon Fels
48839a9ea3 Fix crashes with unknown/invalid commands 2016-09-17 11:31:04 +02:00
Simon Fels
31e492fa1a Drop app suffix from install/launch commands 2016-09-17 11:30:59 +02:00
Simon Fels
1b4857db89 Remove old commands which are not supported anymore 2016-09-17 11:13:31 +02:00
Simon Fels
838d8feb88 Disable logging of input events even in debug mode 2016-09-17 10:48:24 +02:00
Simon Fels
54ad98e8b0 Add density header file 2016-09-17 10:48:24 +02:00
Simon Fels
abf9fa122a Disable virtual key support
We may enable this again later conditionally on what the device
we're running on supports.
2016-09-17 10:48:24 +02:00
Simon Fels
c3537b9b11 Enable Androids builtin container detection 2016-09-17 10:48:24 +02:00
Simon Fels
a3c1488ad2 Don't create a maximized window
As we have a static window size for now we can't maximize to the whole
screen size.
2016-09-17 10:48:24 +02:00
Simon Fels
8de875e9ea Configure DNS servers once Android boot is done 2016-09-17 10:48:24 +02:00
Simon Fels
7285c2e4ed Make sure the container is stopped before we try to start it 2016-09-17 10:48:24 +02:00
Simon Fels
8c4c911c40 Put different UI density levels into a enumeration 2016-09-17 10:48:24 +02:00
Simon Fels
2853f7ae9b Terminate the application correctly 2016-09-17 10:48:24 +02:00
Simon Fels
117111ce20 Extend snap packaging with further details 2016-09-17 10:48:07 +02:00
Simon Fels
0f612bee6d Drop APK installation and app launch support on startup 2016-08-23 08:58:51 +02:00
Simon Fels
4f950deaf7 Drop specific directory paths we don't want to maintain 2016-08-20 12:24:58 +02:00
Simon Fels
706678b740 Remove unwanted log output 2016-08-20 12:17:31 +02:00
Simon Fels
eed06e6fe5 File path configuration fixes 2016-08-20 12:17:17 +02:00
Simon Fels
b82ecb7824 Don't create data directories on container side 2016-08-20 12:16:59 +02:00
Simon Fels
077a56b193 Create necessary data paths on startup 2016-08-20 12:05:15 +02:00
Simon Fels
3d05c50c8b Add RPC communication between container manager and client 2016-08-17 11:31:13 +02:00
Simon Fels
51e9cfa777 Move RPC implementation into its own namespace 2016-08-16 11:58:03 +02:00
Simon Fels
70666da79b Tune protobuf source generation 2016-08-16 11:20:23 +02:00
Simon Fels
2b25f6f5bb Rework container management
* based on liblxc now
* container is managed by a management process which needs to run as
  root. LXC will take care of strict confinement of this container.
  We still don't allow any direct hardware access.
* `anbox shell` command is gone. Same functionality can be archive
  with the lxc-attach command.
2016-08-14 15:50:16 +02:00
Simon Fels
32d7f4ba5f Get window construction a bit more solid 2016-08-10 16:40:23 +02:00
Simon Fels
017aaaedf7 Use correct type for input bitmap construction 2016-08-10 14:05:55 +02:00
Simon Fels
bb32b256e2 Use SDL for window creation and management 2016-08-10 14:05:52 +02:00
Simon Fels
5ee8c02b8d Hand EGL native display into renderer to not use default display 2016-08-08 07:09:11 +02:00
Simon Fels
6c15fb9883 Don't force env variable override for EGL/GLES 2016-08-08 07:07:39 +02:00
Simon Fels
21d3066101 Prefix executed commands with the snap path when necessary 2016-08-05 19:35:19 +02:00
Simon Fels
05d3563fa0 Use current path to container executable 2016-07-11 16:07:51 +02:00
Simon Fels
2a38031c52 Drop last pid persister reference 2016-07-07 17:21:14 +02:00
Simon Fels
088530c8b0 Disable mouse buttons for now
If we keep them enabled Android will take the input device as a keyboard
which will actively block the virtual keyboard to come up.
2016-07-07 17:19:53 +02:00
Simon Fels
7fb7b1c066 Drop old pid persister code 2016-07-05 14:47:20 +02:00
Simon Fels
c24722a221 debian: get things building correctly 2016-07-05 14:44:04 +02:00
Simon Fels
578a03965b Request a maximized window rather than a fullscreen one 2016-07-04 17:24:36 +02:00
Simon Fels
b050c1f53c Add simple reset command to reset container state 2016-07-04 16:47:48 +02:00
Simon Fels
f59a768b5f Use writable and persistent bind mounts for data, cache and storage 2016-07-04 16:29:33 +02:00
Simon Fels
09ec800efd Move all qemu stuff in the correct subdirectory/namespace 2016-07-04 16:18:15 +02:00
Simon Fels
1879e634c5 Rework some of the RPC service bits and add boot support 2016-07-04 12:10:31 +02:00
Simon Fels
b90cdf4336 Justify pointer input device support
Currently not working as Unity8 does not provide pointer input
events yet.
2016-06-30 17:46:08 +02:00
Simon Fels
506998cfba Raise timeout for app installation dbus calls 2016-06-30 17:37:45 +02:00
Simon Fels
520be6e4bc Wait for RPC call response before we return back to the caller 2016-06-30 00:10:56 +02:00
Simon Fels
a04071c8df Add first not yet working support for pointer events 2016-06-28 19:47:20 +02:00
Simon Fels
ed23744a17 Implement first RPC commands to install/launch apps 2016-06-28 19:45:43 +02:00
Simon Fels
4d94de8507 Fix small problems with RPC implementation 2016-06-28 19:44:25 +02:00
Simon Fels
4abe483ac6 Remove unneeded input channel class 2016-06-28 07:13:03 +02:00
Simon Fels
da971a88c3 First part of an RPC mechanism for container <-> host communication
Mostly based on the protobuf based implementation from Mir.
2016-06-28 00:24:51 +02:00
Simon Fels
fb4f424325 First bits for an GSM emulator implementation
Not clear yet if we will use this or not.
2016-06-28 00:19:36 +02:00
Simon Fels
7dc6f8d0bc Force our windows to be fullscreen for now 2016-06-27 23:51:35 +02:00
Simon Fels
608e39e35e Describe framebuffer dimensions and why they are static for now 2016-06-27 23:45:52 +02:00