They come from full device name and become part of log or xml file name. File name is a part of command line on android during test execution. Using command line with parentheses breaks shell syntax on the Android phone. It is easier to replace it with some simple symbol then guard them with "\".