/frameworks/compile/slang/ |
H A D | slangdata.py | 26 sys.stdout.write(""" 61 sys.stdout.write(".byte ") 62 sys.stdout.write("0x%02x" % ord(c)) 65 sys.stdout.write("\n") 68 sys.stdout.write(", ") 70 sys.stdout.write(",") 72 sys.stdout.write("0x00") 74 sys.stdout.write("\n") 78 sys.stdout.write(" .long %d\n" % input_size)
|
H A D | slang_rs_reflection_cpp.cpp | 87 write(""); 88 write("#include \"ScriptC.h\""); 89 write(""); 97 write("class " + mClassName + " : public " + baseClass + " {"); 99 write("class " + mClassName + " {"); 102 write("private:"); 112 write(string(rtd.type->c_name) + " __" + ev->getName() + ";"); 117 write("public:"); 119 write(mClassName + "(android::renderscriptCpp::RenderScript *rs," + 121 write("virtua [all...] |
H A D | slang_rs_reflection_base.cpp | 84 errorMsg = "failed to open file '" + cf + "' for write"; 98 write(mLicenseNote); 101 write("/*"); 102 write(" * This file is auto-generated. DO NOT MODIFY!"); 103 write(" * The source Renderscript file: " + mInputFileName); 104 write(" */"); 105 write(""); 118 void RSReflectionBase::write(const std::string &t) { function in class:slang::RSReflectionBase 123 void RSReflectionBase::write(const std::stringstream &t) { function in class:slang::RSReflectionBase 139 fprintf(stderr, "Error: could not write fil [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothOutputStream.java | 53 public void write(int oneByte) throws IOException { method in class:BluetoothOutputStream 56 mSocket.write(b, 0, 1); 68 * the number of bytes from {@code buffer} to write to this 78 public void write(byte[] b, int offset, int count) throws IOException { method in class:BluetoothOutputStream 85 mSocket.write(b, offset, count);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | Wap230WspContentTypeTest.java | 258 out.write(0x00); 267 out.write(testType.getBytes("US-ASCII")); 268 out.write(WSP_STRING_TERMINATOR); 282 out.write(testType.length() + 1); 283 out.write(testType.getBytes("US-ASCII")); 284 out.write(WSP_STRING_TERMINATOR); 298 out.write(0x01); 299 out.write(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE | WSP_SHORT_INTEGER_MASK); 314 out.write(0x01); 315 out.write(SHORT_MIME_TYPE_UNASSIGNE [all...] |
/frameworks/compile/libbcc/tools/build/ |
H A D | gen-sha1-stamp.py | 52 sys.stdout.write(""" 62 sys.stdout.write(""" 69 sys.stdout.write(""" 79 sys.stdout.write(".align 8\n") 83 sys.stdout.write(".byte ") 85 sys.stdout.write(", ") 87 sys.stdout.write(",") 88 sys.stdout.write("0x%02x" % ord(c)) 91 sys.stdout.write("\n") 94 sys.stdout.write("\ [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaPlayerStressTest.java | 74 output.write("File Name: " + filename); 75 output.write(" Complete: " + CodecTest.onCompleteSuccess); 76 output.write(" Error: " + CodecTest.mPlaybackError); 77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 81 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); 82 output.write("\n"); 86 output.write("Tota [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsHeader.java | 203 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); 204 outStream.write(3); 205 outStream.write(concatRef.refNumber); 207 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); 208 outStream.write(4); 209 outStream.write(concatRef.refNumber >>> 8); 210 outStream.write(concatRef.refNumber & 0x00FF); 212 outStream.write(concatRef.msgCount); 213 outStream.write(concatRef.seqNumber); 218 outStream.write(ELT_ID_APPLICATION_PORT_ADDRESSING_8_BI [all...] |
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 25 status_t layer_state_t::write(Parcel& output) const function in class:android::layer_state_t 29 err = output.write(transparentRegion); 35 err = output.write(this, size); 53 status_t ComposerState::write(Parcel& output) const { function in class:android::ComposerState 55 return state.write(output); 64 status_t DisplayState::write(Parcel& output) const { function in class:android::DisplayState 70 output.write(viewport); 71 output.write(frame);
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 55 * Creates an empty <code>PrivateOutputStream</code> to write to. 75 * write is that one byte is written to the output stream. The byte to be 78 * @param b the byte to write 82 public synchronized void write(int b) throws IOException { method in class:PrivateOutputStream 85 mArray.write(b); 92 public void write(byte[] buffer) throws IOException { method in class:PrivateOutputStream 93 write(buffer, 0, buffer.length); 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { method in class:PrivateOutputStream 112 mArray.write(buffer, offset1, bufferLeft); 118 mArray.write(buffe [all...] |
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | Part.java | 205 out.write(EXTRA_BYTES); 206 out.write(getPartBoundary()); 207 out.write(CRLF_BYTES); 218 out.write(CONTENT_DISPOSITION_BYTES); 219 out.write(QUOTE_BYTES); 220 out.write(EncodingUtils.getAsciiBytes(getName())); 221 out.write(QUOTE_BYTES); 233 out.write(CRLF_BYTES); 234 out.write(CONTENT_TYPE_BYTES); 235 out.write(EncodingUtil [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
H A D | CdmaSmsCbTest.java | 51 * Initialize a Parcel for an incoming CDMA cell broadcast. The caller will write the 86 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER); 87 bos.write(8, 3); // length: 3 bytes 88 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); 89 bos.write(8, ((messageId >>> 8) & 0xff)); 90 bos.write(8, (messageId & 0xff)); 91 bos.write(1, 0); // no User Data Header 92 bos.write(3, 0); // reserved 95 bos.write(8, SUBPARAM_PRIORITY_INDICATOR); 96 bos.write( [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | LocalSocketTest.java | 46 // Test trivial read and write 47 ls.getOutputStream().write(42); 60 ls.getOutputStream().write(42); 68 // Test multible byte write and available() 69 ls1.getOutputStream().write(new byte[]{0, 1, 2, 3, 4, 5}, 1, 5); 94 ls.getOutputStream().write(buffer, 1, 16); 101 ls.getOutputStream().write(buffer, -1, 15); 108 ls.getOutputStream().write(buffer, 0, -1); 129 ls.getOutputStream().write(42); 138 // Try write o [all...] |
/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 37 * <li>To write <strong>arrays</strong>, first call {@link #beginArray()}. 41 * <li>To write <strong>objects</strong>, first call {@link #beginObject()}. 53 * "text": "How do I write JSON on Android?", 116 * <p>Each {@code JsonWriter} may be used to write a single JSON stream. 241 out.write(openBracket); 260 out.write(closeBracket); 315 out.write("null"); 326 out.write(value ? "true" : "false"); 353 out.write(Long.toString(value)); 401 out.write("\""); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiSsid.java | 74 a.octets.write(val); 91 octets.write('\\'); 95 octets.write('"'); 99 octets.write('\n'); 103 octets.write('\r'); 107 octets.write('\t'); 111 octets.write(27); //escape char 124 octets.write(val); 127 octets.write(val); 149 octets.write(va [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpResponsePacket.cpp | 38 int MtpResponsePacket::write(int fd) { function in class:android::MtpResponsePacket 41 int ret = ::write(fd, mBuffer, mPacketSize);
|
H A D | MtpEventPacket.h | 32 // write our data to the given file descriptor 33 int write(int fd);
|
H A D | MtpRequestPacket.h | 39 // write our buffer to the given endpoint 40 int write(struct usb_request *request);
|
H A D | MtpResponsePacket.h | 32 // write our data to the given file descriptor 33 int write(int fd);
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
H A D | BandwidthEnforcementTestService.java | 85 Log.e(TAG, "Could not write file " + e.getMessage()); 191 out.write(id); 192 out.write(new byte[] { 0x01, 0x00 }); 193 out.write(new byte[] { 0x00, 0x01 }); 194 out.write(new byte[] { 0x00, 0x00 }); 195 out.write(new byte[] { 0x00, 0x00 }); 196 out.write(new byte[] { 0x00, 0x00 }); 200 out.write(bytes.length); 201 out.write(bytes); 203 out.write( [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | LibsndfileSink.h | 45 virtual ssize_t write(const void *buffer, size_t count);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | IndentingPrintWriter.java | 25 * write on a newline, enabling indent modification after newline. 54 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter 62 super.write(buf, lineStart, lineEnd - lineStart); 70 super.write(buf, lineStart, lineEnd - lineStart); 81 super.write(mCurrent, 0, mCurrent.length);
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStream.java | 83 public synchronized void write(byte[] buffer, int offset, int len) { method in class:PoolingByteArrayOutputStream 85 super.write(buffer, offset, len); 89 public synchronized void write(int oneByte) { method in class:PoolingByteArrayOutputStream 91 super.write(oneByte);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatService.java | 368 buf.write(tag); 369 buf.write(0x03); // length 370 buf.write(cmdDet.commandNumber); 371 buf.write(cmdDet.typeOfCommand); 372 buf.write(cmdDet.commandQualifier); 382 buf.write(tag); 383 buf.write(0x02); // length 384 buf.write(DEV_ID_TERMINAL); // source device id 385 buf.write(DEV_ID_UICC); // destination device id 389 buf.write(ta [all...] |
/frameworks/base/core/jni/ |
H A D | android_server_Watchdog.cpp | 39 write(outFd, buf, strlen(buf)); 44 write(outFd, buf, nBytes); 48 write(outFd, "\n", 1); 75 write(outFd, buf, strlen(buf)); 93 write(outFd, buf, strlen(buf));
|