Home
last modified time | relevance | path

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

/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/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/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/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/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/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/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/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/mkstubs/src/com/android/mkstubs/sourcer/
DOutput.java39 public Output(Writer writer) { in Output() argument
40 mWriter = writer; in Output()
/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/vndk/tools/
Dsystem_image_diff.py141 writer = csv.writer(sys.stdout, quoting = csv.QUOTE_NONNUMERIC,
157 writer.writerow([
/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/SearchableDictionary/res/raw/
Ddefinitions.txt438 hack - n. a mediocre and disdained writer
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv970 …c98d62,platform/cts,fake_8BA0f49LT7OCxOS1e8oz-g@fakeemail.com,Flush json writer when collecitng ex…
3301 …rm/cts,fake_h42tfGhiQFGeS0pEX3KQUA@fakeemail.com,CameraITS: allow socket writer thread recover fro…
3867 …rm/cts,fake_ZZ_mOFqJQCKY_mrtrZHyHw@fakeemail.com,CTS tests for the platform protocol buffer writer.
7391 …f2,platform/system/core,fake_TKtbFpDGTEGasvBhGDq5XA@fakeemail.com,logd: reader/writer element locks
17941 …ub,fake_7JEs3U0xSWOTSJPgGWC1Vg@fakeemail.com,Explicit memory barrier in sensor direct report writer
25877 …ecovery,fake_6syBLNfMTiO0Pz2BOovJlA@fakeemail.com,Fix a case when brotli writer fails to write las…
30256 …ystem/media,fake_dt7w_ag3Qz2Q0XEQqTjfUA@fakeemail.com,Add an optimized FIFO writer for 32-bit words
32188 …atform/packages/apps/Nfc,fake_O0u0SSfmQYuoXHDs7-h4zQ@fakeemail.com,Flush writer to make sure java …
64278 …orm/external/mesa3d,fake_2pYOXwJEQK-u68eFLNTnfg@fakeemail.com,ilo: clear writer pointer after unma…
69577 …_mYosc36yTdGbAQt2hz5t0g@fakeemail.com,stagefright: enable B-frames for AVC encoder and MPEG4 writer
[all …]
/development/sdk/
Dsdk_files_NOTICE.txt6452 been removed altogether, and the GIF writer has been simplified to produce