Config android test and convert from java