/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamSwitchedWriteTest.java | 43 abstract void write(Number val, long fieldId, ProtoOutputStream po); in write() method in ProtoOutputStreamSwitchedWriteTest.WriteTester 53 public void write(Number val, long fieldId, ProtoOutputStream po) { 60 public void write(Number val, long fieldId, ProtoOutputStream po) { 67 public void write(Number val, long fieldId, ProtoOutputStream po) { 74 public void write(Number val, long fieldId, ProtoOutputStream po) { 81 public void write(Number val, long fieldId, ProtoOutputStream po) { 88 public void write(Number val, long fieldId, ProtoOutputStream po) { 95 public void write(Number val, long fieldId, ProtoOutputStream po) { 102 public void write(Number val, long fieldId, ProtoOutputStream po) { 109 public void write(Number val, long fieldId, ProtoOutputStream po) { [all …]
|
/cts/libs/json/src/com/android/json/stream/ |
D | JsonWriter.java | 221 mOut.write(openBracket); in open() 240 mOut.write(closeBracket); in close() 291 mOut.write("null"); in nullValue() 302 mOut.write(value ? "true" : "false"); in value() 329 mOut.write(Long.toString(value)); in value() 355 mOut.write("\""); in string() 369 mOut.write('\\'); in string() 370 mOut.write(c); in string() 374 mOut.write("\\t"); in string() 378 mOut.write("\\b"); in string() [all …]
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 68 output.write("File Name: " + filename); in writeTestOutput() 69 output.write(" Complete: " + CodecTest.mOnCompleteSuccess); in writeTestOutput() 70 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput() 71 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput() 72 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput() 73 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput() 74 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput() 75 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput() 76 output.write("\n"); in writeTestOutput() 80 output.write("Total Result:\n"); in writeTestSummary() [all …]
|
D | MediaRecorderStressTest.java | 178 output.write("Camera start preview stress:\n"); in testStressCamera() 179 output.write("Total number of loops:" + in testStressCamera() 183 output.write("No of loop: "); in testStressCamera() 207 output.write(" ," + i); in testStressCamera() 210 output.write("\n\n"); in testStressCamera() 227 output.write("No camera found. Skipping recorder stress test\n"); in testStressRecorder() 251 output.write("H263 video record- reset after prepare Stress test\n"); in testStressRecorder() 252 output.write("Total number of loops:" + in testStressRecorder() 255 output.write("No of loop: "); in testStressRecorder() 284 output.write(", " + i); in testStressRecorder() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackLatencyTest.java | 163 samplesWritten = mTrack.write(mData, 0, mData.length); in primeAudioTrack() 182 … int samplesWritten = mTrack.write(mData, 0, mData.length, AudioTrack.WRITE_NON_BLOCKING); in writeSeconds() 327 track.write(data, 0, data.length); in checkOutputLowLatency() 421 while (track.write(data, 0, data.length) == data.length); in testGetUnderrunCount() 427 track.write(data, 0, data.length); in testGetUnderrunCount() 432 track.write(blip, 0, blip.length); in testGetUnderrunCount() 434 track.write(data, 0, data.length); in testGetUnderrunCount() 444 track.write(blip, 0, blip.length); in testGetUnderrunCount() 446 track.write(data, 0, data.length); in testGetUnderrunCount() 448 track.write(blip, 0, blip.length); in testGetUnderrunCount() [all …]
|
D | AudioTrackTest.java | 492 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionIncrease() 493 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionIncrease() 520 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlush() 521 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlush() 551 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterStop() 552 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterStop() 587 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterPause() 588 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterPause() 617 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlushAndPlay() 618 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlushAndPlay() [all …]
|
D | MediaPlayerFlakyNetworkTest.java | 297 public void write(byte[] b) throws IOException { in createSessionOutputBuffer() 298 write(b, 0, b.length); in createSessionOutputBuffer() 302 public void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() method in MediaPlayerFlakyNetworkTest.FlakyHttpServerConnection 304 write(b[off++]); in createSessionOutputBuffer() 321 public void write(int b) throws IOException { in createSessionOutputBuffer() method in MediaPlayerFlakyNetworkTest.FlakyHttpServerConnection 323 super.write(b); in createSessionOutputBuffer()
|
D | IvfWriter.java | 89 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate, mMimeType)); in close() 100 mOutputFile.write(makeIvfFrameHeader(frame.length, timeStamp)); in writeFrame() 101 mOutputFile.write(frame); in writeFrame()
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | DeviceTestCompanion.java | 71 os.write(lastTestSucceeded ? (byte) 1 : (byte) 0); in nextTest() 106 os.write(buffer); in echoBytes() 132 os.write(dataBytes); in echoUntilStopSignal() 151 os.write(new byte[1024]); in helpToFigureOutIfCompanionZeroTerminates() 152 os.write(new byte[1]); in helpToFigureOutIfCompanionZeroTerminates() 212 os.write(new byte[1]); in runTest() 216 os.write(new byte[1]); in runTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 128 os.write(origBuffer32); in onAttached() 137 os.write(origBuffer32); in onAttached() 149 os.write(Arrays.copyOf(origBuffer32, 16)); in onAttached() 150 os.write(Arrays.copyOfRange(origBuffer32, 16, 32)); in onAttached() 160 os.write(origBuffer32); in onAttached() 177 os.write(origBufferMax); in onAttached() 190 os.write(oversizeBuffer); in onAttached() 208 os.write(origBufferMax); in onAttached() 282 os.write(sizeBuffer); in nextTest() 283 os.write(Arrays.copyOf(nameBuffer.array(), nameBuffer.limit())); in nextTest() [all …]
|
/cts/suite/audio_quality/lib/src/ |
D | SignalProcessingImpl.cpp | 117 mBuffer.write <int32_t>((int32_t)EHeader); in run() 118 mBuffer.write<int32_t>(nInputs + 1); in run() 119 mBuffer.write<int32_t>((int32_t)EFunctionName); in run() 120 mBuffer.write<int32_t>((int32_t)functionScript.length()); in run() 130 mBuffer.write<int32_t>((int32_t)((*buffer)->isStereo() ? EAudioStereo : EAudioMono)); in run() 132 mBuffer.write<int32_t>(dataLen); in run() 145 mBuffer.write<int32_t>((int32_t)(isI64 ? EValue64Int : EValueDouble)); in run() 147 mBuffer.write<int64_t>(val->getInt64()); in run() 149 mBuffer.write<double>(val->getDouble()); in run()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorProcessTest.java | 131 blue.write(1); in testPullPipeNormal() 144 red.write(2); in testPushPipeNormal() 157 red.write(3); in testPipeWriterError() 171 red.write(4); in testPipeWriterCrash() 185 red.write(5); in testSocketCrash() 186 blue.write(6); in testSocketCrash() 199 blue.write(7); in testFileNormal() 210 blue.write(8); in testFileError() 221 blue.write(9); in testFileCrash()
|
D | ParcelFileDescriptorTest.java | 114 out.write(DATA); in testFromSocket() 231 private static void write(ParcelFileDescriptor pfd, int oneByte) throws IOException{ in write() method in ParcelFileDescriptorTest 232 new FileOutputStream(pfd.getFileDescriptor()).write(oneByte); in write() 251 write(blue, 1); in testPipeNormal() 267 write(blue, 2); in testPipeError_Discouraged() 287 write(blue, 2); in testPipeError() 307 write(file, 7); in testFileNormal() 322 write(file, 8); in testFileError() 456 fout.write(new byte[] { 0x0, 0x1, 0x2, 0x3 }); in makeParcelFileDescriptor()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ReportLogDeviceInfoStore.java | 57 formatWriter.write(currentLine, 0, currentLine.length()); in open() 61 formatWriter.write("{", 0 , 1); in open() 64 formatWriter.write("\"" + mStreamName + "\":", 0, mStreamName.length() + 3); in open() 81 formatWriter.write("}", 0, 1); in close() 92 metricsWriter.write(line, 0, line.length()); in close()
|
D | FileUtils.java | 119 out.write(buffer, 0, bytesRead); in copyToFile() 143 output.write(buffer); in createFile() 155 os.write(buffer, 0, count); in readInputStreamFully()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ReportLogDeviceInfoStore.java | 57 formatWriter.write(currentLine, 0, currentLine.length()); in open() 61 formatWriter.write("{", 0 , 1); in open() 64 formatWriter.write("\"" + mStreamName + "\":", 0, mStreamName.length() + 3); in open() 81 formatWriter.write("}", 0, 1); in close() 92 metricsWriter.write(line, 0, line.length()); in close()
|
D | FileUtils.java | 119 out.write(buffer, 0, bytesRead); in copyToFile() 143 output.write(buffer); in createFile() 155 os.write(buffer, 0, count); in readInputStreamFully()
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | WriteGiftTest.java | 63 for (File write : writeList) { in testGifts() 64 write.getParentFile().mkdirs(); in testGifts() 65 write.createNewFile(); in testGifts() 66 assertFileReadWriteAccess(write); in testGifts() 68 writeInt(write, 102); in testGifts() 69 assertEquals(102, readInt(write)); in testGifts()
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 200 f.write(key) 202 f.write(',') 203 f.write(value) 204 f.write('\n') 207 f.write(test) 209 f.write(',') 213 f.write(summaryValues[0]) 216 f.write('\n')
|
/cts/tests/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 73 clientOutStream.write(12); in testLocalConnections() 79 serverOutStream.write(3); in testLocalConnections() 85 clientOutStream.write(32); in testLocalConnections() 100 clientOutStream.write(10); in testLocalConnections() 113 serverOutStream.write(10); in testLocalConnections() 248 clientSocket.getOutputStream().write(toWrite); in testSetSoTimeout_writeTimeout() 277 clientOutputStream.write(buffer); in testAvailable() 283 serverOutputStream.write(buffer); in testAvailable() 313 clientOutputStream.write(12); in testLocalSocketCreatedFromFileDescriptor() 351 outputStream.write(buffer); in testFlushWorks()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | Util.java | 364 baos.write(0x00); in signatureDerToCose() 366 baos.write(rBytes); in signatureDerToCose() 368 baos.write(0x00); in signatureDerToCose() 370 baos.write(sBytes); in signatureDerToCose() 384 baos.write(0x00); in encodePositiveBigInteger() 385 baos.write(bytes); in encodePositiveBigInteger() 405 baos.write(0x30); in signatureCoseToDer() 406 baos.write(2 + rBytes.length + 2 + sBytes.length); in signatureCoseToDer() 407 baos.write(0x02); in signatureCoseToDer() 408 baos.write(rBytes.length); in signatureCoseToDer() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/ |
D | ReadGiftTest.java | 50 for (File write : writeList) { in testGifts() 51 assertFileReadOnlyAccess(write); in testGifts() 52 assertEquals(102, readInt(write)); in testGifts()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 62 outputStream.write(FILE_DATA[0]); in testAutoCloseOutputStream() 63 outputStream.write(FILE_DATA, 1, 5); in testAutoCloseOutputStream() 64 outputStream.write(FILE_DATA); in testAutoCloseOutputStream()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0811/ |
D | poc.cpp | 31 data.write(kDummy, 16); in mediaPoc() 32 data.write(kDummy, 16); in mediaPoc() 46 data.write(samples, sizeof(CryptoPlugin::SubSample) * ss); in mediaPoc()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | Ipv4Packet.java | 109 stream.write(sourceAddress.getAddress(), 0, 4); in getEncoded() 110 stream.write(destinationAddress.getAddress(), 0, 4); in getEncoded() 111 stream.write(options, 0, options.length); in getEncoded() 112 stream.write(data, 0, data.length); in getEncoded()
|