/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | Wap230WspContentTypeTest.java | 258 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/ |
D | CdmaSmsCbTest.java | 88 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER); in createBearerDataStream() 89 bos.write(8, 3); // length: 3 bytes in createBearerDataStream() 90 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream() 91 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream() 92 bos.write(8, (messageId & 0xff)); in createBearerDataStream() 93 bos.write(1, 0); // no User Data Header in createBearerDataStream() 94 bos.write(3, 0); // reserved in createBearerDataStream() 97 bos.write(8, SUBPARAM_PRIORITY_INDICATOR); in createBearerDataStream() 98 bos.write(8, 1); // length: 1 byte in createBearerDataStream() 99 bos.write(2, (priority & 0x03)); in createBearerDataStream() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsHeader.java | 216 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/ |
D | MediaPlayerStressTest.java | 74 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 …]
|
D | MediaPlayerStreamingStressTest.java | 78 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/ |
D | ObexHelper.java | 380 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 …]
|
D | HeaderSet.java | 580 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 …]
|
D | PrivateOutputStream.java | 82 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfoTestUtil.java | 68 out.write(payload); in getTestData() 86 out.write(payload); in getTestDataWithInvalidLength() 106 out.write(friendlyNamesData); in getTestPayload() 112 out.write((byte) TEST_METHOD_LIST.size()); in getTestPayload() 114 out.write((byte) method.intValue()); in getTestPayload() 119 out.write(IconInfoTestUtil.TEST_ICON_INFO_RAW_BYTES); in getTestPayload() 127 out.write(serviceDescriptionsData); in getTestPayload() 136 out.write((byte) data.length); in getI18NameListData() 137 out.write(data); in getI18NameListData() 151 out.write(value.getLanguage().getBytes(StandardCharsets.US_ASCII)); in getI18NameData() [all …]
|
D | ANQPParserTest.java | 53 stream.write(new byte[VenueNameElement.VENUE_INFO_LENGTH]); in getVenueNamePayload() 54 stream.write(getI18NameListPayload(language, text)); in getVenueNamePayload() 69 stream.write((byte) nameBytes.length); in getDomainNamePayload() 70 stream.write(nameBytes); in getDomainNamePayload() 87 stream.write((byte) oisLength[i]); in getRoamingConsortiumPayload() 90 stream.write((byte) ((ois[i].longValue() >> l * Byte.SIZE) & 0xFF)); in getRoamingConsortiumPayload() 106 stream.write((byte) (realmDataList.length & 0xFF)); in getNAIRealmPayload() 107 stream.write((byte) ((realmDataList.length >> 8) & 0xFF)); in getNAIRealmPayload() 109 stream.write(realmData); in getNAIRealmPayload() 124 stream.write((byte) ThreeGPPNetworkElement.GUD_VERSION_1); in getThreeGPPNetworkPayload() [all …]
|
/frameworks/base/core/java/android/util/ |
D | JsonWriter.java | 241 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/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 166 gen_file.write( 198 gen_file.write( 206 gen_file.write( 211 gen_file.write( 223 gen_file.write( 303 out_file.write( 311 out_file.write(line) 319 out_file.write( 324 out_file.write(in_file.read()) 334 shared.write('\n#define RSTEST_COMPAT\n') [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphExporter.java | 58 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/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbEndpointDescriptor.java | 135 canvas.write("Attributes: " + ReportCanvas.getHexString(attributes) + " "); in report() 138 canvas.write("Control"); in report() 141 canvas.write("Iso"); in report() 144 canvas.write("Bulk"); in report() 147 canvas.write("Interrupt"); in report() 156 canvas.write("Aync: "); in report() 159 canvas.write("NONE"); in report() 162 canvas.write("ASYNC"); in report() 165 canvas.write("ADAPTIVE ASYNC"); in report() 171 canvas.write("Useage: "); in report() [all …]
|
/frameworks/support/v17/leanback/tests/ |
D | generatev4.py | 37 outfile.write("// CHECKSTYLE:OFF Generated code\n") 38 …outfile.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format… 46 outfile.write(line) 60 outfile.write("// CHECKSTYLE:OFF Generated code\n") 61 …outfile.write("/* This file is auto-generated from {}FrgamentTestBase.java. DO NOT MODIFY. */\n\n… 72 outfile.write(line) 86 outfile.write("// CHECKSTYLE:OFF Generated code\n") 87 …outfile.write("/* This file is auto-generated from {}FragmentTest.java. DO NOT MODIFY. */\n\n".fo… 104 outfile.write(line) 116 outfile.write("// CHECKSTYLE:OFF Generated code\n") [all …]
|
/frameworks/support/samples/SupportLeanbackDemos/ |
D | generatev4.py | 22 tofile.write("// CHECKSTYLE:OFF Generated code\n") 23 tofile.write("/* This file is auto-generated from {}.java. DO NOT MODIFY. */\n\n".format(name)) 37 outfile.write(line) 51 outfile.write(line) 71 outfile.write(line) 83 outfile.write(line) 92 outfile.write(line) 107 outfile.write(line) 126 outfile.write(line) 140 outfile.write(line) [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | IndentingPrintWriter.java | 84 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/ |
D | ResponseData.java | 43 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 …]
|
/frameworks/opt/net/wifi/service/ |
D | wifi-events.rc | 24 write /sys/kernel/debug/tracing/instances/wifi/tracing_on 0 25 write /sys/kernel/debug/tracing/instances/wifi/buffer_size_kb 1 26 write /sys/kernel/debug/tracing/instances/wifi/trace_options disable_on_free 32 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1 33 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_add_key/enable 1 34 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_assoc/enable 1 35 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_auth/enable 1 36 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_connect/enable 1 37 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_key/enable 1 38 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_mgmt_key/enable 1 [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DiskStatsService.java | 79 fos.write(junk); in dump() 95 proto.write(DiskStatsServiceDumpProto.HAS_TEST_ERROR, error != null); in dump() 97 proto.write(DiskStatsServiceDumpProto.ERROR_MESSAGE, error.toString()); in dump() 99 proto.write(DiskStatsServiceDumpProto.WRITE_512B_LATENCY_MILLIS, after - before); in dump() 123 proto.write(DiskStatsServiceDumpProto.ENCRYPTION, in dump() 126 proto.write(DiskStatsServiceDumpProto.ENCRYPTION, in dump() 129 proto.write(DiskStatsServiceDumpProto.ENCRYPTION, in dump() 163 proto.write(DiskStatsFreeSpaceProto.FOLDER, folderType); in reportFreeSpace() 164 proto.write(DiskStatsFreeSpaceProto.AVAILABLE_SPACE, avail * bsize / 1024); in reportFreeSpace() 165 proto.write(DiskStatsFreeSpaceProto.TOTAL_SPACE, total * bsize / 1024); in reportFreeSpace() [all …]
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 241 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/native/opengl/tools/glgen2/registry/ |
D | reg.py | 27 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/base/core/tests/coretests/src/android/os/ |
D | FileBridgeTest.java | 90 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/ |
D | WifiSsid.java | 56 wifiSsid.octets.write(ssid, 0/* the start offset */, ssid.length);; in createFromByteArray() 82 a.octets.write(val); in createFromHex() 99 octets.write('\\'); in convertToBytes() 103 octets.write('"'); in convertToBytes() 107 octets.write('\n'); in convertToBytes() 111 octets.write('\r'); in convertToBytes() 115 octets.write('\t'); in convertToBytes() 119 octets.write(27); //escape char in convertToBytes() 132 octets.write(val); in convertToBytes() 135 octets.write(val); in convertToBytes() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 47 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()
|