/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/compile/slang/ |
D | slang_rs_reflection_cpp.cpp | 151 write(""); in makeHeader() 152 write("#include \"RenderScript.h\""); in makeHeader() 153 write("using namespace android::RSC;"); in makeHeader() 154 write(""); in makeHeader() 162 write("class " + mClassName + " : public " + baseClass + " {"); in makeHeader() 164 write("class " + mClassName + " {"); in makeHeader() 167 write("private:"); in makeHeader() 176 write(GetTypeName(ev->getType()) + " __" + ev->getName() + ";"); in makeHeader() 181 write("public:"); in makeHeader() 183 write(mClassName + "(android::sp<android::RSC::RS> rs," + in makeHeader() [all …]
|
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)
|
D | slang_rs_reflection_base.cpp | 98 write(mLicenseNote); in startFile() 101 write("/*"); in startFile() 102 write(" * This file is auto-generated. DO NOT MODIFY!"); in startFile() 103 write(" * The source Renderscript file: " + mInputFileName); in startFile() 104 write(" */"); in startFile() 105 write(""); in startFile() 122 void RSReflectionBase::write(const std::string &t) { in write() function in slang::RSReflectionBase 127 void RSReflectionBase::write(const std::stringstream &t) { in write() function in slang::RSReflectionBase
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 86 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER); in createBearerDataStream() 87 bos.write(8, 3); // length: 3 bytes in createBearerDataStream() 88 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream() 89 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream() 90 bos.write(8, (messageId & 0xff)); in createBearerDataStream() 91 bos.write(1, 0); // no User Data Header in createBearerDataStream() 92 bos.write(3, 0); // reserved in createBearerDataStream() 95 bos.write(8, SUBPARAM_PRIORITY_INDICATOR); in createBearerDataStream() 96 bos.write(8, 1); // length: 1 byte in createBearerDataStream() 97 bos.write(2, (priority & 0x03)); in createBearerDataStream() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsHeader.java | 203 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); in toByteArray() 204 outStream.write(3); in toByteArray() 205 outStream.write(concatRef.refNumber); in toByteArray() 207 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); in toByteArray() 208 outStream.write(4); in toByteArray() 209 outStream.write(concatRef.refNumber >>> 8); in toByteArray() 210 outStream.write(concatRef.refNumber & 0x00FF); in toByteArray() 212 outStream.write(concatRef.msgCount); in toByteArray() 213 outStream.write(concatRef.seqNumber); in toByteArray() 218 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("\n"); in writeTestOutput() 86 output.write("Total Result:\n"); in writeTestSummary() [all …]
|
D | CameraStressTest.java | 95 mOutput.write(this.getName() + "\n"); in setUp() 111 mOutput.write("\n\n"); in tearDown() 144 mOutput.write("Total number of loops: " + in testStressCameraSceneModes() 147 mOutput.write("No of loop: "); in testStressCameraSceneModes() 164 mOutput.write(Integer.toString(j + i * NUMBER_OF_SCENE_MODE_LOOPS)); in testStressCameraSceneModes() 166 mOutput.write(", " + (j + i * NUMBER_OF_SCENE_MODE_LOOPS)); in testStressCameraSceneModes() 192 mOutput.write("Total number of loops: " + NUMBER_OF_ZOOM_LOOPS + "\n"); in testStressCameraZoom() 193 mOutput.write("No of loops: "); in testStressCameraZoom() 223 mOutput.write(Integer.toString(i)); in testStressCameraZoom() 225 mOutput.write(", " + i); in testStressCameraZoom()
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
D | Part.java | 205 out.write(EXTRA_BYTES); in sendStart() 206 out.write(getPartBoundary()); in sendStart() 207 out.write(CRLF_BYTES); in sendStart() 218 out.write(CONTENT_DISPOSITION_BYTES); in sendDispositionHeader() 219 out.write(QUOTE_BYTES); in sendDispositionHeader() 220 out.write(EncodingUtils.getAsciiBytes(getName())); in sendDispositionHeader() 221 out.write(QUOTE_BYTES); in sendDispositionHeader() 233 out.write(CRLF_BYTES); in sendContentTypeHeader() 234 out.write(CONTENT_TYPE_BYTES); in sendContentTypeHeader() 235 out.write(EncodingUtils.getAsciiBytes(contentType)); in sendContentTypeHeader() [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/base/obex/javax/obex/ |
D | ObexHelper.java | 362 out.write((byte)HeaderSet.CONNECTION_ID); in createHeader() 363 out.write(headImpl.mConnectionID); in createHeader() 369 out.write((byte)HeaderSet.COUNT); in createHeader() 371 out.write(value); in createHeader() 380 out.write((byte)HeaderSet.NAME); in createHeader() 385 out.write(lengthArray); in createHeader() 386 out.write(value); in createHeader() 395 out.write((byte)HeaderSet.TYPE); in createHeader() 405 out.write(lengthArray); in createHeader() 406 out.write(value); in createHeader() [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()
|
D | HeaderSet.java | 507 out.write(COUNT); in getHeaderList() 510 out.write(NAME); in getHeaderList() 513 out.write(TYPE); in getHeaderList() 516 out.write(LENGTH); in getHeaderList() 519 out.write(TIME_ISO_8601); in getHeaderList() 522 out.write(TIME_4_BYTE); in getHeaderList() 525 out.write(DESCRIPTION); in getHeaderList() 528 out.write(TARGET); in getHeaderList() 531 out.write(HTTP); in getHeaderList() 534 out.write(WHO); in getHeaderList() [all …]
|
/frameworks/compile/libbcc/tools/build/ |
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("\n") [all …]
|
/frameworks/native/libs/gui/ |
D | Sensor.cpp | 111 size_t write(void* buffer, size_t offset, const String8& value) { in write() function 117 size_t write(void* buffer, size_t offset, float value) { in write() function 123 size_t write(void* buffer, size_t offset, int32_t value) { in write() function 131 offset += write(buffer, offset, int32_t(mName.length())); in flatten() 132 offset += write(buffer, offset, mName); in flatten() 133 offset += write(buffer, offset, int32_t(mVendor.length())); in flatten() 134 offset += write(buffer, offset, mVendor); in flatten() 135 offset += write(buffer, offset, mVersion); in flatten() 136 offset += write(buffer, offset, mHandle); in flatten() 137 offset += write(buffer, offset, mType); in flatten() [all …]
|
D | LayerState.cpp | 25 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(transparentRegion); in write() 65 status_t ComposerState::write(Parcel& output) const { in write() function in android::ComposerState 67 return state.write(output); in write() 76 status_t DisplayState::write(Parcel& output) const { in write() function in android::DisplayState 82 output.write(viewport); in write() 83 output.write(frame); in write()
|
/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() 146 buf.write(0x08); // UCS2 in format() 148 buf.write(0x00); // 7 bit packed in format() 150 buf.write(0x04); // 8 bit unpacked in format() 154 buf.write(b); in format() [all …]
|
D | CatService.java | 366 buf.write(tag); in sendTerminalResponse() 367 buf.write(0x03); // length in sendTerminalResponse() 368 buf.write(cmdDet.commandNumber); in sendTerminalResponse() 369 buf.write(cmdDet.typeOfCommand); in sendTerminalResponse() 370 buf.write(cmdDet.commandQualifier); in sendTerminalResponse() 380 buf.write(tag); in sendTerminalResponse() 381 buf.write(0x02); // length in sendTerminalResponse() 382 buf.write(DEV_ID_TERMINAL); // source device id in sendTerminalResponse() 383 buf.write(DEV_ID_UICC); // destination device id in sendTerminalResponse() 387 buf.write(tag); in sendTerminalResponse() [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()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 74 a.octets.write(val); in createFromHex() 91 octets.write('\\'); in convertToBytes() 95 octets.write('"'); in convertToBytes() 99 octets.write('\n'); in convertToBytes() 103 octets.write('\r'); in convertToBytes() 107 octets.write('\t'); in convertToBytes() 111 octets.write(27); //escape char in convertToBytes() 124 octets.write(val); in convertToBytes() 127 octets.write(val); in convertToBytes() 149 octets.write(val); in convertToBytes() [all …]
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 191 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/base/core/java/com/android/internal/util/ |
D | IndentingPrintWriter.java | 72 public void write(char[] buf, int offset, int count) { in write() method in IndentingPrintWriter 84 super.write(buf, lineStart, lineEnd - lineStart); in write() 94 super.write('\n'); in write() 100 super.write(buf, lineStart, lineEnd - lineStart); in write() 101 super.write('\n'); in write() 111 super.write(buf, lineStart, lineEnd - lineStart); in write() 122 super.write(mCurrentIndent, 0, mCurrentIndent.length); in maybeWriteIndent()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 70 mOutput.write(mProcessName + " died. Test failed\n"); in validateProcessStatus() 123 mOutput.write(mTestName + '\n'); in getStartMemoryLog() 124 mOutput.write("Start memory : " + mStartMemory + "\n"); in getStartMemoryLog() 126 mOutput.write(memusage); in getStartMemoryLog() 133 mOutput.write(memusage); in getMemoryLog() 144 mOutput.write("End Memory :" + endMemory + "\n"); in getMemorySummary() 148 mOutput.write(mTestName + " total diff = " + memDiff); in getMemorySummary() 149 mOutput.write("\n\n"); in getMemorySummary()
|
/frameworks/base/core/java/android/speech/srec/ |
D | WaveHeader.java | 230 public int write(OutputStream out) throws IOException { in write() method in WaveHeader 254 for (int i = 0; i < id.length(); i++) out.write(id.charAt(i)); in writeId() 258 out.write(val >> 0); in writeInt() 259 out.write(val >> 8); in writeInt() 260 out.write(val >> 16); in writeInt() 261 out.write(val >> 24); in writeInt() 265 out.write(val >> 0); in writeShort() 266 out.write(val >> 8); in writeShort()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 270 public void write(byte[] buffer, int offset, int count) throws IOException { in write() method in AssetFileDescriptor.AutoCloseOutputStream 274 super.write(buffer, offset, count); in write() 279 super.write(buffer, offset, count); in write() 283 public void write(byte[] buffer) throws IOException { in write() method in AssetFileDescriptor.AutoCloseOutputStream 288 super.write(buffer); in write() 293 super.write(buffer); in write() 297 public void write(int oneByte) throws IOException { in write() method in AssetFileDescriptor.AutoCloseOutputStream 300 super.write(oneByte); in write() 305 super.write(oneByte); in write()
|