Home
last modified time | relevance | path

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

12345678910>>...31

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java258 out.write(0x00); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent()
267 out.write(testType.getBytes("US-ASCII")); in testConstrainedMediaExtensionMedia()
268 out.write(WSP_STRING_TERMINATOR); in testConstrainedMediaExtensionMedia()
282 out.write(testType.length() + 1); in testGeneralFormShortLengthExtensionMedia()
283 out.write(testType.getBytes("US-ASCII")); in testGeneralFormShortLengthExtensionMedia()
284 out.write(WSP_STRING_TERMINATOR); in testGeneralFormShortLengthExtensionMedia()
298 out.write(0x01); in testGeneralFormShortLengthWellKnownShortInteger()
299 out.write(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE | WSP_SHORT_INTEGER_MASK); in testGeneralFormShortLengthWellKnownShortInteger()
314 out.write(0x01); in testGeneralFormShortLengthWellKnownShortIntegerWithUnknownValue()
315 out.write(SHORT_MIME_TYPE_UNASSIGNED | WSP_SHORT_INTEGER_MASK); in testGeneralFormShortLengthWellKnownShortIntegerWithUnknownValue()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java90 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER); in createBearerDataStream()
91 bos.write(8, 3); // length: 3 bytes in createBearerDataStream()
92 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream()
93 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream()
94 bos.write(8, (messageId & 0xff)); in createBearerDataStream()
95 bos.write(1, 0); // no User Data Header in createBearerDataStream()
96 bos.write(3, 0); // reserved in createBearerDataStream()
99 bos.write(8, SUBPARAM_PRIORITY_INDICATOR); in createBearerDataStream()
100 bos.write(8, 1); // length: 1 byte in createBearerDataStream()
101 bos.write(2, (priority & 0x03)); in createBearerDataStream()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsHeader.java216 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); in toByteArray()
217 outStream.write(3); in toByteArray()
218 outStream.write(concatRef.refNumber); in toByteArray()
220 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); in toByteArray()
221 outStream.write(4); in toByteArray()
222 outStream.write(concatRef.refNumber >>> 8); in toByteArray()
223 outStream.write(concatRef.refNumber & 0x00FF); in toByteArray()
225 outStream.write(concatRef.msgCount); in toByteArray()
226 outStream.write(concatRef.seqNumber); in toByteArray()
231 outStream.write(ELT_ID_APPLICATION_PORT_ADDRESSING_8_BIT); in toByteArray()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStressTest.java74 output.write("File Name: " + filename); in writeTestOutput()
75 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
76 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput()
78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput()
79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput()
80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput()
81 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput()
82 output.write(" Failed To Complete With No Error: " + in writeTestOutput()
84 output.write("\n"); in writeTestOutput()
[all …]
DMediaPlayerStreamingStressTest.java78 output.write("URL: " + filename); in writeTestOutput()
79 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
80 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
81 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput()
82 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput()
83 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput()
84 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput()
85 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput()
86 output.write("\n"); in writeTestOutput()
90 output.write("Total Result:\n"); in writeTestSummary()
[all …]
/frameworks/base/obex/javax/obex/
DObexHelper.java380 out.write((byte)HeaderSet.CONNECTION_ID); in createHeader()
381 out.write(headImpl.mConnectionID); in createHeader()
387 out.write((byte)HeaderSet.COUNT); in createHeader()
389 out.write(value); in createHeader()
398 out.write((byte)HeaderSet.NAME); in createHeader()
403 out.write(lengthArray); in createHeader()
404 out.write(value); in createHeader()
409 out.write((byte) HeaderSet.NAME); in createHeader()
412 out.write(lengthArray); in createHeader()
418 out.write((byte)HeaderSet.TYPE); in createHeader()
[all …]
DHeaderSet.java580 out.write(COUNT); in getHeaderList()
583 out.write(NAME); in getHeaderList()
586 out.write(TYPE); in getHeaderList()
589 out.write(LENGTH); in getHeaderList()
592 out.write(TIME_ISO_8601); in getHeaderList()
595 out.write(TIME_4_BYTE); in getHeaderList()
598 out.write(DESCRIPTION); in getHeaderList()
601 out.write(TARGET); in getHeaderList()
604 out.write(HTTP); in getHeaderList()
607 out.write(WHO); in getHeaderList()
[all …]
DPrivateOutputStream.java82 public synchronized void write(int b) throws IOException { in write() method in PrivateOutputStream
85 mArray.write(b); in write()
92 public void write(byte[] buffer) throws IOException { in write() method in PrivateOutputStream
93 write(buffer, 0, buffer.length); in write()
97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { in write() method in PrivateOutputStream
112 mArray.write(buffer, offset1, bufferLeft); in write()
118 mArray.write(buffer, offset1, remainLength); in write()
134 mArray.write(temp, size, temp.length - size); in readBytes()
/frameworks/base/core/java/android/util/
DJsonWriter.java241 out.write(openBracket); in open()
260 out.write(closeBracket); in close()
315 out.write("null"); in nullValue()
326 out.write(value ? "true" : "false"); in value()
353 out.write(Long.toString(value)); in value()
401 out.write("\""); in string()
419 out.write('\\'); in string()
420 out.write(c); in string()
424 out.write("\\t"); in string()
428 out.write("\\b"); in string()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphExporter.java58 dotFile.write("digraph graphname {\n"); in exportAsDot()
59 dotFile.write(" node [shape=record];\n"); in exportAsDot()
67 dotFile.write(getDotName(" " + filter.getName()) + " [label=\"{"); in exportAsDot()
72 dotFile.write(" { "); in exportAsDot()
75 dotFile.write("<" + getDotName(p) + "_IN>" + p); in exportAsDot()
76 if(++counter != inputPorts.size()) dotFile.write(" | "); in exportAsDot()
78 dotFile.write(" } | "); in exportAsDot()
82 dotFile.write(filter.getName()); in exportAsDot()
87 dotFile.write(" | { "); in exportAsDot()
90 dotFile.write("<" + getDotName(p) + "_OUT>" + p); in exportAsDot()
[all …]
/frameworks/support/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 …]
/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java84 write('\n'); in println()
88 public void write(int c) { in write() method in IndentingPrintWriter
90 write(mSingleChar, 0, 1); in write()
94 public void write(String s, int off, int len) { in write() method in IndentingPrintWriter
97 write(buf, 0, len); in write()
101 public void write(char[] buf, int offset, int count) { in write() method in IndentingPrintWriter
113 super.write(buf, lineStart, lineEnd - lineStart); in write()
123 super.write('\n'); in write()
129 super.write(buf, lineStart, lineEnd - lineStart); in write()
130 super.write('\n'); in write()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java43 buf.write(0x81); in writeLength()
45 buf.write(length); in writeLength()
62 buf.write(tag); // tag in format()
63 buf.write(1); // length in format()
64 buf.write(mId); // identifier of item chosen in format()
105 buf.write(tag); // tag in format()
157 buf.write(0x08); // UCS2 in format()
159 buf.write(0x00); // 7 bit packed in format()
161 buf.write(0x04); // 8 bit unpacked in format()
165 buf.write(b); in format()
[all …]
DCatService.java553 buf.write(tag); in sendTerminalResponse()
554 buf.write(0x03); // length in sendTerminalResponse()
555 buf.write(cmdDet.commandNumber); in sendTerminalResponse()
556 buf.write(cmdDet.typeOfCommand); in sendTerminalResponse()
557 buf.write(cmdDet.commandQualifier); in sendTerminalResponse()
567 buf.write(tag); in sendTerminalResponse()
568 buf.write(0x02); // length in sendTerminalResponse()
569 buf.write(DEV_ID_TERMINAL); // source device id in sendTerminalResponse()
570 buf.write(DEV_ID_UICC); // destination device id in sendTerminalResponse()
577 buf.write(tag); in sendTerminalResponse()
[all …]
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py27 def write( *args, **kwargs ): function
30 file.write( ' '.join([str(arg) for arg in args]) )
31 file.write( end )
374 write('ERROR:', *args, file=strfile)
376 write(strfile.getvalue(), file=self.errFile)
380 write('WARNING:', *args, file=self.warnFile)
383 write('DIAG:', *args, file=self.diagFile)
513 write('', file=self.outFile)
522 write('#ifndef', headerSym, file=self.outFile)
523 write('#define', headerSym, '1', file=self.outFile)
[all …]
/frameworks/av/media/img_utils/src/
DDngUtils.cpp241 err = mEndianOut.write(&flags, 0, 1); in addGainMap()
250 err = mEndianOut.write(&totalSize, 0, 1); in addGainMap()
265 err = mEndianOut.write(settings1, 0, NELEMS(settings1)); in addGainMap()
273 err = mEndianOut.write(settings2, 0, NELEMS(settings2)); in addGainMap()
276 err = mEndianOut.write(&mapPlanes, 0, 1); in addGainMap()
279 err = mEndianOut.write(mapGains, 0, mapPointsV * mapPointsH * mapPlanes); in addGainMap()
345 err = mEndianOut.write(&flags, 0, 1); in addWarpRectilinear()
352 err = mEndianOut.write(&totalSize, 0, 1); in addWarpRectilinear()
355 err = mEndianOut.write(&numPlanes, 0, 1); in addWarpRectilinear()
358 err = mEndianOut.write(kCoeffs, 0, NUMBER_COEFFS); in addWarpRectilinear()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DMetricsTestUtil.java45 void write(Parcel p); in write() method
51 f.write(p); in describeIpEvent()
59 public void write(Parcel p) { in aType()
71 public void write(Parcel p) {
79 public void write(Parcel p) {
87 public void write(Parcel p) {
95 public void write(Parcel p) {
103 public void write(Parcel p) {
111 public void write(Parcel p) {
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java90 client.write("meow".getBytes(StandardCharsets.UTF_8)); in testWriteNoSync()
97 client.write("cake".getBytes(StandardCharsets.UTF_8)); in testWriteSync()
105 client.write("meow".getBytes(StandardCharsets.UTF_8)); in testWriteSyncWrite()
107 client.write("cake".getBytes(StandardCharsets.UTF_8)); in testWriteSyncWrite()
114 client.write(new byte[0]); in testEmptyWrite()
121 client.write("meow".getBytes(StandardCharsets.UTF_8)); in testWriteAfterClose()
124 client.write("cake".getBytes(StandardCharsets.UTF_8)); in testWriteAfterClose()
138 result.write(test); in testRandomWrite()
139 client.write(test); in testRandomWrite()
152 client.write(test); in testGiantWrite()
/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java73 a.octets.write(val); in createFromHex()
90 octets.write('\\'); in convertToBytes()
94 octets.write('"'); in convertToBytes()
98 octets.write('\n'); in convertToBytes()
102 octets.write('\r'); in convertToBytes()
106 octets.write('\t'); in convertToBytes()
110 octets.write(27); //escape char in convertToBytes()
123 octets.write(val); in convertToBytes()
126 octets.write(val); in convertToBytes()
148 octets.write(val); in convertToBytes()
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DEndianUtils.h102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count);
116 virtual status_t write(const int64_t* buf, size_t offset, size_t count);
118 virtual status_t write(const float* buf, size_t offset, size_t count);
120 virtual status_t write(const double* buf, size_t offset, size_t count);
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java47 ls.getOutputStream().write(42); in testBasic()
60 ls.getOutputStream().write(42); in testBasic()
69 ls1.getOutputStream().write(new byte[]{0, 1, 2, 3, 4, 5}, 1, 5); in testBasic()
94 ls.getOutputStream().write(buffer, 1, 16); in testBasic()
101 ls.getOutputStream().write(buffer, -1, 15); in testBasic()
108 ls.getOutputStream().write(buffer, 0, -1); in testBasic()
129 ls.getOutputStream().write(42); in testBasic()
141 ls.getOutputStream().write(42); in testBasic()
159 ls1.getOutputStream().write(42); in testBasic()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java191 out.write(id); in buildDnsQuery()
192 out.write(new byte[] { 0x01, 0x00 }); in buildDnsQuery()
193 out.write(new byte[] { 0x00, 0x01 }); in buildDnsQuery()
194 out.write(new byte[] { 0x00, 0x00 }); in buildDnsQuery()
195 out.write(new byte[] { 0x00, 0x00 }); in buildDnsQuery()
196 out.write(new byte[] { 0x00, 0x00 }); in buildDnsQuery()
200 out.write(bytes.length); in buildDnsQuery()
201 out.write(bytes); in buildDnsQuery()
203 out.write(0x00); in buildDnsQuery()
205 out.write(new byte[] { 0x00, 0x01 }); in buildDnsQuery()
[all …]
/frameworks/support/v17/leanback/tests/
Dgeneratev4.py33 …outfile.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format…
40 outfile.write(line)
52 …outfile.write("/* This file is auto-generated from {}FrgamentTest.java. DO NOT MODIFY. */\n\n".fo…
61 outfile.write(line)
69 outfile.write("/* This file is auto-generated from BrowseFragmentTestActivity.java. DO NOT MODIFY.…
77 outfile.write(line)
84 outfile.write("/* This file is auto-generated from PlaybackControlGlueTest.java. DO NOT MODIFY. */…
87 outfile.write(line)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java164 dos.write(destAddr.digitMode);
165 dos.write(destAddr.numberMode);
166 dos.write(destAddr.ton); // number_type
167 dos.write(destAddr.numberPlan);
168 dos.write(destAddr.numberOfDigits);
169 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
171 dos.write(0); //subaddressType
172 dos.write(0); //subaddr_odd
173 dos.write(0); //subaddr_nbr_of_digits
174 dos.write(encodedBearerData.length);
[all …]
/frameworks/native/libs/gui/
DLayerState.cpp25 status_t layer_state_t::write(Parcel& output) const in write() function in android::layer_state_t
40 output.write(crop); in write()
41 output.write(finalCrop); in write()
45 output.write(transparentRegion); in write()
77 status_t ComposerState::write(Parcel& output) const { in write() function in android::ComposerState
79 return state.write(output); in write()
98 status_t DisplayState::write(Parcel& output) const { in write() function in android::DisplayState
104 output.write(viewport); in write()
105 output.write(frame); in write()

12345678910>>...31