Searched refs:write (Results 1 - 25 of 383) sorted by relevance

1234567891011>>

/frameworks/compile/slang/
H A Dslangdata.py26 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 Dslang_rs_reflection_cpp.cpp163 write("");
164 write("#include \"RenderScript.h\"");
165 write("using namespace android::RSC;");
166 write("");
174 write("class " + mClassName + " : public " + baseClass + " {");
176 write("class " + mClassName + " {");
179 write("private:");
186 write(GetTypeName(ev->getType()) + " " RS_EXPORT_VAR_PREFIX
209 write("android::RSC::sp<const android::RSC::Element> " RS_ELEM_PREFIX
215 write("publi
[all...]
H A Dslang_rs_reflection_base.cpp86 errorMsg = "failed to open file '" + cf + "' for write";
100 write(mLicenseNote);
103 write("/*");
104 write(" * This file is auto-generated. DO NOT MODIFY!");
105 write(" * The source Renderscript file: " + mInputFileName);
106 write(" */");
107 write("");
124 void RSReflectionBase::write(const std::string &t) { function in class:slang::RSReflectionBase
129 void RSReflectionBase::write(const std::stringstream &t) { function in class:slang::RSReflectionBase
145 fprintf(stderr, "Error: could not write fil
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothOutputStream.java53 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 DWap230WspContentTypeTest.java258 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 Dgen-sha1-stamp.py52 sys.stdout.write("""
62 sys.stdout.write("""
69 sys.stdout.write("""
82 sys.stdout.write(".byte ")
84 sys.stdout.write(", ")
86 sys.stdout.write(",")
87 sys.stdout.write("0x%02x" % ord(c))
90 sys.stdout.write("\n")
93 sys.stdout.write("\n")
96 sys.stdout.write("""
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaPlayerStressTest.java73 output.write("File Name: " + filename);
74 output.write(" Complete: " + CodecTest.onCompleteSuccess);
75 output.write(" Error: " + CodecTest.mPlaybackError);
76 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount);
77 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount);
78 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount);
79 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount);
80 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount);
81 output.write("\n");
85 output.write("Tota
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java58 dotFile.write("digraph graphname {\n");
59 dotFile.write(" node [shape=record];\n");
64 // Iterate over all filters of the graph, write corresponding DOT node elements
67 dotFile.write(getDotName(" " + filter.getName()) + " [label=\"{");
72 dotFile.write(" { ");
75 dotFile.write("<" + getDotName(p) + "_IN>" + p);
76 if(++counter != inputPorts.size()) dotFile.write(" | ");
78 dotFile.write(" } | ");
82 dotFile.write(filter.getName());
87 dotFile.write(" | { ");
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsHeader.java203 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/base/obex/javax/obex/
H A DPrivateOutputStream.java55 * 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 DPart.java205 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/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java27 * Delays writing indent until first actual write on a newline, enabling indent
43 * next write should be prefixed with the current indent.
76 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter
88 super.write(buf, lineStart, lineEnd - lineStart);
98 super.write('\n');
104 super.write(buf, lineStart, lineEnd - lineStart);
105 super.write('\n');
115 super.write(buf, lineStart, lineEnd - lineStart);
126 super.write(mCurrentIndent, 0, mCurrentIndent.length);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java51 * 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 DLocalSocketTest.java46 // 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 DJsonWriter.java37 * <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 DWifiSsid.java75 a.octets.write(val);
92 octets.write('\\');
96 octets.write('"');
100 octets.write('\n');
104 octets.write('\r');
108 octets.write('\t');
112 octets.write(27); //escape char
125 octets.write(val);
128 octets.write(val);
150 octets.write(va
[all...]
/frameworks/av/media/mtp/
H A DMtpResponsePacket.cpp38 int MtpResponsePacket::write(int fd) { function in class:android::MtpResponsePacket
41 int ret = ::write(fd, mBuffer, mPacketSize);
H A DMtpEventPacket.h32 // write our data to the given file descriptor
33 int write(int fd);
H A DMtpRequestPacket.h39 // write our buffer to the given endpoint
40 int write(struct usb_request *request);
H A DMtpResponsePacket.h32 // write our data to the given file descriptor
33 int write(int fd);
/frameworks/native/libs/gui/
H A DLayerState.cpp25 status_t layer_state_t::write(Parcel& output) const function in class:android::layer_state_t
40 output.write(crop);
41 output.write(transparentRegion);
65 status_t ComposerState::write(Parcel& output) const { function in class:android::ComposerState
67 return state.write(output);
76 status_t DisplayState::write(Parcel& output) const { function in class:android::DisplayState
82 output.write(viewport);
83 output.write(frame);
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java85 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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceCategoryProgramHandler.java162 dos.write(destAddr.digitMode);
163 dos.write(destAddr.numberMode);
164 dos.write(destAddr.ton); // number_type
165 dos.write(destAddr.numberPlan);
166 dos.write(destAddr.numberOfDigits);
167 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
169 dos.write(0); //subaddressType
170 dos.write(0); //subaddr_odd
171 dos.write(0); //subaddr_nbr_of_digits
172 dos.write(encodedBearerDat
[all...]
/frameworks/av/include/media/nbaio/
H A DLibsndfileSink.h45 virtual ssize_t write(const void *buffer, size_t count);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDurable.java26 public void write(DataOutputStream out) throws IOException; method in interface:Durable

Completed in 1317 milliseconds

1234567891011>>