android_pipe: fix recv side
android_adb: fix write side semantics