Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 155) sorted by relevance

1234567

/development/tools/axl/
Daxl.py35 def write(self, data): member in BaseProtocol
37 return self.transport.write(data)
50 self.write("HTTP/1.1 200 OK\r\n")
51 self.write("Content-Length: %d\r\n\r\n" % len(response))
53 self.write(response)
78 self.write("welcome to the jungle baby\r\n")
85 self.write("HTTP/1.1 200 OK\r\n")
86 self.write("Cache-Contr")
95 self.write("HTTP/1.1 200 OK\r\n")
96 self.write("Cache-Contr")
[all …]
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DOutput.java51 public void write(String format, Object... args) { in write() method in Output
53 mWriter.write(String.format(format, args)); in write()
64 public void write(char c) { in write() method in Output
65 write(Character.toString(c)); in write()
73 public void write(StringBuilder sb) { in write() method in Output
74 write(sb.toString()); in write()
DClassSourcer.java57 mOutput.write("package %s;\n", pkg); in visit()
60 mAccessSourcer.write(access & ~Opcodes.ACC_SUPER, AccessSourcer.IS_CLASS); in visit()
63 mOutput.write(" class %s", mClassName); in visit()
72 mOutput.write(sigSourcer.formalsToString()); in visit()
75 mOutput.write(" extends %s", sigSourcer.getSuperClass().toString()); in visit()
79 mOutput.write(" extends %s", superName.replace('/', '.')); in visit()
84 mOutput.write(" implements "); in visit()
88 mOutput.write(", "); in visit()
90 mOutput.write(i.replace('/', '.')); in visit()
96 mOutput.write(" {\n"); in visit()
[all …]
DMethodSourcer.java66 as.write(mAccess, AccessSourcer.IS_METHOD); in writeHeader()
77 mOutput.write(" %s", sigSourcer.formalsToString()); in writeHeader()
85 mOutput.write(" %s", Type.getReturnType(mDesc).getClassName()); in writeHeader()
88 mOutput.write(" %s", sigSourcer.getReturnType().toString()); in writeHeader()
93 mOutput.write(" %s(", mIsConstructor ? mClassName : mName); in writeHeader()
101 mOutput.write(", "); in writeHeader()
103 mOutput.write("%s arg%d", types[i].getClassName(), i); in writeHeader()
110 mOutput.write(", "); in writeHeader()
112 mOutput.write("%s arg%d", params.get(i).toString(), i); in writeHeader()
115 mOutput.write(")"); in writeHeader()
[all …]
DFieldSourcer.java49 mOutput.write("@%s", desc); in visitAnnotation()
55 mOutput.write("%s /* non-standard attribute */ ", attr.type); in visitAttribute()
63 as.write(mAccess, AccessSourcer.IS_FIELD); in visitEnd()
66 mOutput.write(" %s", Type.getType(mDesc).getClassName()); in visitEnd()
68 mOutput.write(" "); in visitEnd()
72 mOutput.write(sigSourcer.toString()); in visitEnd()
75 mOutput.write(" %s", mName); in visitEnd()
77 mOutput.write(";\n"); in visitEnd()
DAnnotationSourcer.java49 mOutput.write("%s=", name); in visit()
52 mOutput.write(name.toString()); in visit()
59 mOutput.write(mOpenChar); in startOpen()
66 mOutput.write(mCloseChar); in visitEnd()
68 mOutput.write("\n"); in visitEnd()
75 mOutput.write("@%s", name); in visitAnnotation()
87 mOutput.write("/* annotation enum not supported: %s */\n", name); in visitEnum()
DAccessSourcer.java96 public void write(int access, int filter) { in write() method in AccessSourcer
103 mOutput.write(" "); in write()
105 mOutput.write(f.toString()); in write()
/development/samples/SupportLeanbackDemos/
Dgeneratev4.py22 tofile.write("/* This file is auto-generated from {}.java. DO NOT MODIFY. */\n\n".format(name))
36 outfile.write(line)
50 outfile.write(line)
70 outfile.write(line)
82 outfile.write(line)
91 outfile.write(line)
106 outfile.write(line)
120 outfile.write(line)
136 outfile.write(line)
145 outfile.write(line)
[all …]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java200 writer.write(buffer, 0, count); in readFully()
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()
438 writer.write(Integer.toString(valueCount)); in rebuildJournal()
439 writer.write("\n"); in rebuildJournal()
440 writer.write("\n"); in rebuildJournal()
[all …]
/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java289 out.write(outbuf); in readSection()
298 out.write(outbuf); in readSection()
313 section.write(f); in writeSection()
332 f.write(outbuf); in writeSection()
339 f.write(outbuf); in writeSection()
349 section.write(f); in writeSection()
369 public void write(RandomAccessFile f) throws IOException { in write() method in EncryptedDocument.Section
371 f.write(iv); in write()
372 f.write(mac); in write()
DUtils.java52 out.write(data); in writeFully()
65 bytes.write(buffer, 0, count); in readFully()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbSocket.java41 if (! message.write(mDevice)) { in open()
73 message.write(mDevice); in sendReady()
/development/apps/Development/src/com/android/development/
DLogViewer.java88 this.socket.getOutputStream().write('\n'); in LogReader()
89 this.socket.getOutputStream().write('\n'); in LogReader()
96 logger.write("Reading message.\n".getBytes()); in run()
117 logger.write("Updating UI.\n".getBytes()); in run()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DSharingSupport.java76 fw.write("This is a file share"); in onShareFileClick()
95 fw.write("This is a file share"); in onShareMultipleFileClick()
99 fw.write("This is another file share"); in onShareMultipleFileClick()
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DAccessSourcerTest.java48 mSourcer.write(Opcodes.ACC_ABSTRACT | Opcodes.ACC_PUBLIC, AccessSourcer.IS_CLASS); in testAbstractPublic()
56 mSourcer.write(Opcodes.ACC_PRIVATE | Opcodes.ACC_FINAL | Opcodes.ACC_STATIC, in testPrivateFinalStatic()
/development/tools/checkstyle/
Dcheckstyle.py107 out.write(ERROR_UNTRACKED)
109 out.write(untracked_file + '\n')
110 out.write('\n')
222 out.write(ERROR_UNCOMMITTED)
260 tmp_file.write(content)
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java76 public int write(float[] buffer, int offset, int length) { in write() method in SimpleAudioOutput
77 return mAudioTrack.write(buffer, offset, length, in write()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java76 public int write(float[] buffer, int offset, int length) { in write() method in SimpleAudioOutput
77 return mAudioTrack.write(buffer, offset, length, in write()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DChatManager.java68 public void write(byte[] buffer) { in write() method in ChatManager
70 oStream.write(buffer); in write()
/development/scripts/
Dcompare-installed-size.py83 output.write("%s, %d\n" % (key, bin_sizes[idx][key]))
100 output.write("%s, %s, %s, %s, %d\n" %
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py63 self.response.out.write(template.render(path, template_values))
150 self.response.out.write(template.render(path, template_values))
174 self.response.out.write(contact.avatar)
192 self.response.out.write(template.render(path, template_values))
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnService.java182 tunnel.write(packet); in run()
200 out.write(packet.array(), 0, length); in run()
228 tunnel.write(packet); in run()
271 tunnel.write(packet); in handshake()
/development/testrunner/
Dcreate_test.py119 tests_manifest.write(output)
148 mk_file.write(TestsConsts.MK_BUILD_STRING)
169 tests_mk.write(output)
/development/samples/WiFiDirectDemo/assets/
Dsample_file.txt3 …re connected, the server i.e. groupOwner will listen for incoming connections and write this file.
/development/tools/idegen/src/
DFiles.java45 out.write(contents); in toFile()

1234567