Home
last modified time | relevance | path

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

12

/development/tools/repo_diff/service/repodiff/handlers/
Dhttp.go27 func writeJsonResponse(writer http.ResponseWriter, entity interface{}) {
32 writer.Header().Set("Content-Type", "application/json")
33 writer.Write(serialized)
36 func handleHealth(writer http.ResponseWriter, request *http.Request) {
40 writer,
/development/tools/repo_diff/service/repodiff/persistence/filesystem/
Dcsv.go53 writer := csv.NewWriter(file)
54 defer writer.Flush()
56 if err := writer.Write(headerCols); err != nil {
59 return writer.WriteAll(rowsOfCols)
/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/vndk/tools/sourcedr/blueprint/
Dlist_vndk_module.py59 writer = csv.writer(output_file, lineterminator='\n')
60 writer.writerow(('name', 'vndk', 'vndk_sp', 'vendor_available', 'rule'))
70 writer.writerow((name,
/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/tools/mkstubs/src/com/android/mkstubs/sourcer/
DOutput.java39 public Output(Writer writer) { in Output() argument
40 mWriter = writer; in Output()
/development/vndk/tools/sourcedr/files/
Dlist_app_shared_uid.py138 writer = csv.writer(output_file)
139 writer.writerow(('App Name', 'UID', 'Installation Path', 'Source Path'))
141 writer.writerow((app.name, ' '.join(app.shared_uid),
/development/tools/compare_failed_tests/
Dcompare_failed_tests.py157 writer = csv.writer(csvfile)
158 writer.writerow(['module', 'testcase', 'test', 'result in B'])
176 writer.writerow([module_name, testcase_name, test_name, result_b])
/development/tools/repo_diff/
Drepo_diff_trees.py414 writer = csv.DictWriter(f, fieldnames=fieldnames)
415 writer.writeheader()
418 writer.writerow({
448 writer = csv.DictWriter(f, fieldnames=fieldnames)
449 writer.writeheader()
456 writer.writerow({
/development/vndk/tools/
Dsystem_image_diff.py141 writer = csv.writer(sys.stdout, quoting = csv.QUOTE_NONNUMERIC,
157 writer.writerow([
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py239 writer = csv.writer(fp, lineterminator='\n')
240 writer.writerow(header)
241 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/vndk/tools/header-checker/src/repr/json/
Dir_dumper.cpp366 Json::StyledStreamWriter writer(/* indentation */ " "); in DumpJson() local
367 writer.write(output_stream, obj); in DumpJson()
/development/apps/Development/src/com/android/development/
DConnectivity.java741 OutputStreamWriter writer = new OutputStreamWriter(sock.getOutputStream()); in doSocketRequest() local
744 writer.write(request); in doSocketRequest()
745 writer.flush(); in doSocketRequest()
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py3672 writer = csv.writer(file, lineterminator='\n')
3673 writer.writerow(('Path', 'Tag', 'File size', 'RO segment file size',
3679 writer.writerow((
3705 writer.writerow(SEPARATOR)
3710 writer.writerow(['Subtotal ' + tag + ' (32-bit)', None] + total)
3712 writer.writerow(SEPARATOR)
3717 writer.writerow(['Subtotal ' + tag + ' (64-bit)', None] + total)
3719 writer.writerow(SEPARATOR)
3722 writer.writerow(['Subtotal ' + tag + ' (both)', None] + total)
3725 writer.writerow(SEPARATOR)
[all …]
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jar ... .io.FileDescriptor fd java.io.PrintWriter writer String[] args } android/support/v4 ...

12