Commit graph

97 commits

Author SHA1 Message Date
Simon Fels
acafc66bdf Make ashmem driver loadable as kernel module 2016-08-19 09:25:16 +02:00
Simon Fels
34e5e70926 Add binder and ashmem kernel drivers as out-of-tree modules
Based on code from https://github.com/hungys/binder-for-linux
2016-08-19 09:11:29 +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
165cad7dab Add missing build dependency on liblxc 2016-08-16 11:12:39 +02:00
Simon Fels
4e7d48ea4f Simplify rootfs creation script by using existing env variable 2016-08-14 15:53:01 +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
36eb4bccbc Add .gitignore file 2016-08-10 14:07:01 +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
1a9ee54a5c Add note from where we've taken the emugl implementation 2016-08-05 19:42:28 +02:00
Simon Fels
21d3066101 Prefix executed commands with the snap path when necessary 2016-08-05 19:35:19 +02:00
Simon Fels
15995d43ea Add snap build support 2016-08-05 19:35:19 +02:00
Simon Fels
f6eb889b9e scripts: fine tune create rootfs package script 2016-07-13 12:14:44 +02:00
Simon Fels
795728aae6 android: launcher: configure the screen to stay on forever 2016-07-12 12:56:37 +02:00
Simon Fels
6011fe2982 android: launcher: add empty activity content view 2016-07-12 12:27:51 +02:00
Simon Fels
b59c32e98f android: launcher: add missings strings file 2016-07-12 12:24:00 +02:00
Simon Fels
709807984f Make sure Android package is constructed from top build dir 2016-07-11 18:33:42 +02:00
Simon Fels
05d3563fa0 Use current path to container executable 2016-07-11 16:07:51 +02:00
Simon Fels
c33fb328a8 debian: add libcap-dev as dependency a remove dbus-cpp version requirement 2016-07-08 17:43:41 +02:00
Simon Fels
de20ac7daf debian: add libdbus-1 build dep 2016-07-08 12:39:14 +02:00
Simon Fels
9cae2550ea debian: add depenency on libegl/libgles 2016-07-08 10:28:46 +02:00
Simon Fels
cf3bfe79e9 debian: add postinst script to configure sub UID/GID 2016-07-07 18:12:15 +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
92bb3ca79f scripts: use correct way to check for Androids sh implementation 2016-07-05 14:44:31 +02:00
Simon Fels
c24722a221 debian: get things building correctly 2016-07-05 14:44:04 +02:00
Simon Fels
b4dab18561 Remove uneeded log statement to note missing GL symbols
Missing GL symbols will be noted once they are called.
2016-07-04 17:50:24 +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
3ccf1d0424 Add a copy of the boot animation service
Will show a app specific icon on boot.
2016-07-04 12:11:03 +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
e664839b14 Make Android launcher build correctly 2016-06-30 21:12:59 +02:00
Simon Fels
33bea6b099 Add debian packaging bits 2016-06-30 17:58:46 +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
a06628835b Check system commands for result and return error if needed 2016-06-30 17:42:44 +02:00
Simon Fels
fce7466ff9 Extend shared compositor to return primary display config 2016-06-30 17:38:45 +02:00
Simon Fels
506998cfba Raise timeout for app installation dbus calls 2016-06-30 17:37:45 +02:00
Simon Fels
cfbfa78004 Add minimal Android launcher application 2016-06-30 17:37:07 +02:00
Simon Fels
c0ec6e33d7 Remove old java based home application 2016-06-30 14:33:10 +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
3f64452158 scripts: tweak rootfs package creation a bit 2016-06-30 00:10:12 +02:00
Simon Fels
de6ba10a5a Don't mark our Android components as optional 2016-06-30 00:09:34 +02:00