Searched refs:baos (Results 1 – 10 of 10) sorted by relevance
199 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()){ in dumpScreen() argument200 mDevice.dumpWindowHierarchy(baos); in dumpScreen()201 baos.flush(); in dumpScreen()202 String[] lines = baos.toString().split(System.lineSeparator()); in dumpScreen()
58 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in open() local60 mDevice.dumpWindowHierarchy(baos); in open()61 baos.flush(); in open()62 baos.close(); in open()63 String[] lines = baos.toString().split("\\r?\\n"); in open()
81 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in open() local83 mDevice.dumpWindowHierarchy(baos); in open()84 baos.flush(); in open()85 baos.close(); in open()86 String[] lines = baos.toString().split("\\r?\\n"); in open()
164 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in open() local166 mDevice.dumpWindowHierarchy(baos); in open()167 baos.flush(); in open()168 baos.close(); in open()169 String[] lines = baos.toString().split("\\r?\\n"); in open()
196 try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { in dumpScreen() argument197 mDevice.dumpWindowHierarchy(baos); in dumpScreen()198 baos.flush(); in dumpScreen()199 String[] lines = baos.toString().split(System.lineSeparator()); in dumpScreen()
55 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in open() local57 mDevice.dumpWindowHierarchy(baos); in open()58 baos.flush(); in open()59 baos.close(); in open()60 String[] lines = baos.toString().split("\\r?\\n"); in open()
75 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in open() local77 mDevice.dumpWindowHierarchy(baos); in open()78 baos.flush(); in open()79 baos.close(); in open()80 String[] lines = baos.toString().split("\\r?\\n"); in open()
145 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in open() local147 mDevice.dumpWindowHierarchy(baos); in open()148 baos.flush(); in open()149 baos.close(); in open()150 String[] lines = baos.toString().split("\\r?\\n"); in open()
81 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in saveBugreport() local84 saveProcessOutput(instr, cmdline, baos); in saveBugreport()85 baos.close(); in saveBugreport()
496 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getProcessOutput() local497 FilesystemUtil.saveProcessOutput(instr, command, baos); in getProcessOutput()498 baos.close(); in getProcessOutput()499 return baos.toString(); in getProcessOutput()