platform/android: implement new(Input|Output)Port with in-memory ports.