Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 12 of 12) sorted by relevance

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetFrameRateEvent.java79 FileWriter writer = null; in writeAverageFrameRate() local
83 writer = new FileWriter(LOG_FILE, true); // true = append in writeAverageFrameRate()
86 writer.write(String.format("%s:%.2f\n",mTestCaseName,avgFrameRate)); in writeAverageFrameRate()
87 writer.close(); in writeAverageFrameRate()
92 if (writer != null) writer.close(); in writeAverageFrameRate()
DMonkeyPowerEvent.java105 FileWriter writer = null; in writeLogEvents() local
119 writer = new FileWriter(LOG_FILE, true); // true = append in writeLogEvents()
120 writer.write(buffer.toString()); in writeLogEvents()
125 if (writer != null) writer.close(); in writeLogEvents()
DMonkeyGetAppFrameRateEvent.java87 FileWriter writer = null; in writeAverageFrameRate() local
92 writer = new FileWriter(LOG_FILE, true); // true = append in writeAverageFrameRate()
95 writer.write(String.format("%s:%.2f\n", sTestCaseName, avgFrameRate)); in writeAverageFrameRate()
100 if (writer != null) in writeAverageFrameRate()
101 writer.close(); in writeAverageFrameRate()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DOutput.java39 public Output(Writer writer) { in Output() argument
40 mWriter = writer; in Output()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java196 StringWriter writer = new StringWriter(); in readFully() local
200 writer.write(buffer, 0, count); in readFully()
202 return writer.toString(); in readFully()
431 Writer writer = new BufferedWriter(new FileWriter(journalFileTmp), IO_BUFFER_SIZE); in rebuildJournal() local
432 writer.write(MAGIC); in rebuildJournal()
433 writer.write("\n"); in rebuildJournal()
434 writer.write(VERSION_1); in rebuildJournal()
435 writer.write("\n"); in rebuildJournal()
436 writer.write(Integer.toString(appVersion)); in rebuildJournal()
437 writer.write("\n"); in rebuildJournal()
[all …]
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py105 writer = csv.writer(fp, lineterminator='\n')
106 writer.writerow(header)
107 writer.writerows(sorted(data.values()))
/development/tools/mkstubs/src/com/android/mkstubs/
DFilterClassAdapter.java38 public FilterClassAdapter(ClassVisitor writer, Filter filter, Logger log) { in FilterClassAdapter() argument
39 super(Main.ASM_VERSION, writer); in FilterClassAdapter()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java176 FileOutputStream writer = null; in sendMessage()
179 writer = new FileOutputStream(mSendFile); in sendMessage()
180 writer.write(pdu); in sendMessage()
185 if (writer != null) { in sendMessage()
187 writer.close(); in sendMessage()
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java79 final FileWriter writer = new FileWriter(outFile); in render() local
81 jsilver.render("anr-template.html", hdf, writer); in render()
82 writer.close(); in render()
86 writer.close(); in render()
/development/apps/Development/src/com/android/development/
DConnectivity.java719 OutputStreamWriter writer = new OutputStreamWriter(sock.getOutputStream()); in doSocketRequest() local
722 writer.write(request); in doSocketRequest()
723 writer.flush(); in doSocketRequest()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt438 hack - n. a mediocre and disdained writer
/development/sdk/
Dsdk_files_NOTICE.txt6452 been removed altogether, and the GIF writer has been simplified to produce