DirectBufferInterface support to android code