move android device method to AndroidDeviceUtils.java