make adb module support both ways of accessing subprocess module