/frameworks/compile/slang/ |
D | slang_rs_reflection_cpp.cpp | 87 write(""); in makeHeader() 88 write("#include \"ScriptC.h\""); in makeHeader() 89 write(""); in makeHeader() 97 write("class " + mClassName + " : public " + baseClass + " {"); in makeHeader() 99 write("class " + mClassName + " {"); in makeHeader() 102 write("private:"); in makeHeader() 112 write(string(rtd.type->c_name) + " __" + ev->getName() + ";"); in makeHeader() 117 write("public:"); in makeHeader() 119 write(mClassName + "(android::renderscriptCpp::RenderScript *rs," + in makeHeader() 121 write("virtual ~" + mClassName + "();"); 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() 118 void RSReflectionBase::write(const std::string &t) { in write() function in slang::RSReflectionBase 123 void RSReflectionBase::write(const std::stringstream &t) { in write() function in slang::RSReflectionBase
|
/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 | 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 | MediaRecorderStressTest.java | 103 mOutput.write(this.getName() + "\n"); in setUp() 119 mOutput.write("\n\n"); in tearDown() 159 mOutput.write("Total number of loops:" + NUMBER_OF_CAMERA_STRESS_LOOPS + "\n"); in testStressCamera() 162 mOutput.write("No of loop: "); in testStressCamera() 178 mOutput.write(i + 1); in testStressCamera() 180 mOutput.write(String.format(", %d", (i + 1))); in testStressCamera() 195 mOutput.write("Total number of loops:" + NUMBER_OF_RECORDER_STRESS_LOOPS + "\n"); in testStressRecorder() 197 mOutput.write("No of loop: "); in testStressRecorder() 230 mOutput.write(i + 1); in testStressRecorder() 232 mOutput.write(String.format(", %d", (i + 1))); in testStressRecorder() [all …]
|
/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/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/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/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 29 err = output.write(transparentRegion); in write() 35 err = output.write(this, size); in write() 53 status_t ComposerState::write(Parcel& output) const { in write() function in android::ComposerState 55 return state.write(output); in write() 64 status_t DisplayState::write(Parcel& output) const { in write() function in android::DisplayState 70 output.write(viewport); in write() 71 output.write(frame); in write()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 368 buf.write(tag); in sendTerminalResponse() 369 buf.write(0x03); // length in sendTerminalResponse() 370 buf.write(cmdDet.commandNumber); in sendTerminalResponse() 371 buf.write(cmdDet.typeOfCommand); in sendTerminalResponse() 372 buf.write(cmdDet.commandQualifier); in sendTerminalResponse() 382 buf.write(tag); in sendTerminalResponse() 383 buf.write(0x02); // length in sendTerminalResponse() 384 buf.write(DEV_ID_TERMINAL); // source device id in sendTerminalResponse() 385 buf.write(DEV_ID_UICC); // destination device id in sendTerminalResponse() 389 buf.write(tag); in sendTerminalResponse() [all …]
|
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(id); // 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 …]
|
/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/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/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioTrackTest.java | 339 track.write(data, 0, data.length); in testPlaybackHeadPositionIncrease() 340 track.write(data, 0, data.length); in testPlaybackHeadPositionIncrease() 367 track.write(data, 0, data.length); in testPlaybackHeadPositionAfterFlush() 368 track.write(data, 0, data.length); in testPlaybackHeadPositionAfterFlush() 397 track.write(data, 0, data.length); in testPlaybackHeadPositionAfterStop() 398 track.write(data, 0, data.length); in testPlaybackHeadPositionAfterStop() 428 track.write(data, 0, data.length); in testPlaybackHeadPositionAfterPause() 429 track.write(data, 0, data.length); in testPlaybackHeadPositionAfterPause() 462 track.write(data, 0, data.length); in testSetStereoVolumeMax() 463 track.write(data, 0, data.length); in testSetStereoVolumeMax() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 445 outStream.write(8, 3); in encodeMessageId() 446 outStream.write(4, bData.messageType); in encodeMessageId() 447 outStream.write(8, bData.messageId >> 8); in encodeMessageId() 448 outStream.write(8, bData.messageId); in encodeMessageId() 449 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); in encodeMessageId() 514 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR); in encode7bitAscii() 519 outStream.write(7, charCode); in encode7bitAscii() 713 outStream.write(8, paramBytes); in encodeUserData() 714 outStream.write(5, bData.userData.msgEncoding); in encodeUserData() 717 outStream.write(8, bData.userData.msgType); in encodeUserData() [all …]
|
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 70 mOutput.write(mProcessName + " died. Test failed\n"); in validateProcessStatus() 121 mOutput.write(mTestName + '\n'); in getStartMemoryLog() 122 mOutput.write("Start memory : " + mStartMemory + "\n"); in getStartMemoryLog() 124 mOutput.write(memusage); in getStartMemoryLog() 131 mOutput.write(memusage); in getMemoryLog() 142 mOutput.write("End Memory :" + endMemory + "\n"); in getMemorySummary() 146 mOutput.write(mTestName + " total diff = " + memDiff); in getMemorySummary() 147 mOutput.write("\n\n"); in getMemorySummary()
|