/development/tools/axl/ |
D | axl.py | 35 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/ |
D | Output.java | 51 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()
|
D | ClassSourcer.java | 57 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 …]
|
D | MethodSourcer.java | 66 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 …]
|
D | FieldSourcer.java | 49 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()
|
D | AnnotationSourcer.java | 49 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()
|
D | AccessSourcer.java | 96 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/tools/ |
D | monkey | 36 sys.stdout.write("\n") 37 sys.stdout.write(BOLD) 38 sys.stdout.write(UNDERLINE) 39 sys.stdout.write(s) 40 sys.stdout.write(ENDCOLOR) 41 sys.stdout.write("\n") 47 sys.stdout.write(BOLD) 51 sys.stdout.write("%s=\"%s\" " % (k, v.replace("\"", "\\\""))) 53 sys.stdout.write("%s=%s " % (k, v)) 54 sys.stdout.write(" ".join(cmd)) [all …]
|
/development/vndk/snapshot/ |
D | gen_buildfiles.py | 140 bpfile.write(self._gen_autogen_msg('/')) 141 bpfile.write('\n') 142 bpfile.write('\n'.join(etc_buildrules)) 143 bpfile.write('\n') 153 bpfile.write(self._gen_autogen_msg('/')) 155 bpfile.write('\n') 156 bpfile.write(self._gen_notice_filegroup(module)) 195 bpfile.write(self._gen_autogen_msg('/')) 196 bpfile.write('\n') 197 bpfile.write(self._gen_bp_phony(arch, is_binder32)) [all …]
|
/development/tools/repo_diff/service/repodiff/tools/ |
D | env_variable_load.py | 18 f.write("\n") 23 f.write("export %s=\"%s\"\n" % (key, value))
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | DiskLruCache.java | 200 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/ |
D | EncryptedDocument.java | 289 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()
|
D | Utils.java | 52 out.write(data); in writeFully() 65 bytes.write(buffer, 0, count); in readFully()
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | QuotedPrintable.java | 58 buffer.write((char) ((u << 4) + l)); in decodeQuotedPrintable() 63 buffer.write(b); in decodeQuotedPrintable()
|
/development/scripts/ |
D | usb-reset-by-serial.py | 47 sys.stderr.write(msg + "\n") 79 sys.stderr.write("warning: " + msg + "\n") 84 sys.stderr.write("error: " + msg + "\n") 139 sys.stderr.write("error: %s\n" % msgarg)
|
D | disassemble_tombstone.py | 95 scratch_file.write(THUMB_PROLOGUE) 97 scratch_file.write(STANDARD_PROLOGUE) 132 scratch_file.write('program_counter_was_here:\n') 133 scratch_file.write(' .byte 0x%s\n' % byte)
|
D | compare-installed-size.py | 83 output.write("%s, %d\n" % (key, bin_sizes[idx][key])) 100 output.write("%s, %s, %s, %s, %d\n" %
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
D | AdbSocket.java | 41 if (! message.write(mDevice)) { in open() 73 message.write(mDevice); in sendReady()
|
/development/apps/Development/src/com/android/development/ |
D | LogViewer.java | 88 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/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
D | AccessSourcerTest.java | 48 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/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SimpleAudioOutput.java | 76 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/MidiScope/src/com.example.android.common.midi/synth/ |
D | SimpleAudioOutput.java | 76 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/ |
D | ChatManager.java | 68 public void write(String msg) { in write() method in ChatManager 73 oStream.write(buffer); in write()
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
D | dashboard.py | 63 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/WiFiDirectDemo/assets/ |
D | sample_file.txt | 3 …re connected, the server i.e. groupOwner will listen for incoming connections and write this file.
|