Searched refs:tempFile (Results 1 – 9 of 9) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | PerfettoPreparer.java | 99 File tempFile = null; in setUp() local 102 tempFile = FileUtil.createTempFile("trace", ".pb"); in setUp() 103 FileUtil.writeToFile(byteArray, tempFile); in setUp() 104 if (!device.pushFile(tempFile, DEVICE_CONFIG_PATH)) { in setUp() 110 FileUtil.deleteFile(tempFile); in setUp()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiType.kt | 112 val tempFile = createTempFile(defaultName, DOT_TXT) in <lambda>() constant 113 tempFile.deleteOnExit() in <lambda>() 117 createReportFile(codebase, tempFile, null) { printWriter -> in <lambda>() 121 tempFile in <lambda>()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PerfettoPreparerTest.java | 153 File tempFile = File.createTempFile("textproto-perfetto-config", ".txt"); in createPerfettoFile() local 162 tempFile); in createPerfettoFile() 164 FileUtil.writeToFile("xyz", tempFile); in createPerfettoFile() 166 return tempFile; in createPerfettoFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilFuncTest.java | 445 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile() local 446 mTempFiles.add(tempFile); in createTempFile() 447 return tempFile; in createTempFile() 451 File tempFile = FileUtil.createTempFile(prefix, suffix, parentDir); in createTempFile() local 452 mTempFiles.add(tempFile); in createTempFile() 453 return tempFile; in createTempFile()
|
D | ZipUtil2Test.java | 142 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile() local 143 mTempFiles.add(tempFile); in createTempFile() 144 return tempFile; in createTempFile()
|
D | ZipUtilTest.java | 206 File tempFile = FileUtil.createTempFile(prefix, suffix); in createTempFile() local 207 mTempFiles.add(tempFile); in createTempFile() 208 return tempFile; in createTempFile()
|
D | GCSBucketUtilFuncTest.java | 51 File tempFile = FileUtil.createTempFile(GCSBucketUtilFuncTest.class.getSimpleName(), ""); in setUp() local 52 mRemoteRoot = tempFile.getName(); in setUp() 53 FileUtil.deleteFile(tempFile); in setUp()
|
D | GCSFileDownloaderFuncTest.java | 78 File tempFile = in setUp() local 80 mRemoteRoot = tempFile.getName(); in setUp() 81 FileUtil.deleteFile(tempFile); in setUp()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | EventsLogParserTest.java | 257 public BufferedReader readInputBuffer(File tempFile) throws IOException { in readInputBuffer() argument 258 return (new BufferedReader(new InputStreamReader(new FileInputStream(tempFile)))); in readInputBuffer()
|