/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/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/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 64 output.write("File Name: " + filename); in writeTestOutput() 65 output.write(" Complete: " + CodecTest.mOnCompleteSuccess); in writeTestOutput() 66 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput() 67 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput() 68 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput() 69 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput() 70 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput() 71 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput() 72 output.write("\n"); in writeTestOutput() 76 output.write("Total Result:\n"); in writeTestSummary() [all …]
|
D | MediaRecorderStressTest.java | 183 output.write("Camera start preview stress:\n"); in testStressCamera() 184 output.write("Total number of loops:" + in testStressCamera() 188 output.write("No of loop: "); in testStressCamera() 212 output.write(" ," + i); in testStressCamera() 215 output.write("\n\n"); in testStressCamera() 232 output.write("No camera found. Skipping recorder stress test\n"); in testStressRecorder() 256 output.write("H263 video record- reset after prepare Stress test\n"); in testStressRecorder() 257 output.write("Total number of loops:" + in testStressRecorder() 260 output.write("No of loop: "); in testStressRecorder() 289 output.write(", " + i); in testStressRecorder() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | WriteGiftTest.java | 39 for (File write : writeList) { in testStageNonGifts() 40 write.getParentFile().mkdirs(); in testStageNonGifts() 41 assertTrue(write.createNewFile()); in testStageNonGifts() 42 writeInt(write, 102); in testStageNonGifts() 56 for (File write : writeList) { in testNoGifts() 57 assertFileReadWriteAccess(write); in testNoGifts() 58 assertEquals(102, readInt(write)); in testNoGifts()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackLatencyTest.java | 212 samplesWritten = mTrack.write(mData, 0, mData.length); in primeAudioTrack() 231 … int samplesWritten = mTrack.write(mData, 0, mData.length, AudioTrack.WRITE_NON_BLOCKING); in writeSeconds() 376 track.write(data, 0, data.length); in checkOutputLowLatency() 470 while (track.write(data, 0, data.length) == data.length); in testGetUnderrunCount() 476 track.write(data, 0, data.length); in testGetUnderrunCount() 481 track.write(blip, 0, blip.length); in testGetUnderrunCount() 483 track.write(data, 0, data.length); in testGetUnderrunCount() 493 track.write(blip, 0, blip.length); in testGetUnderrunCount() 495 track.write(data, 0, data.length); in testGetUnderrunCount() 497 track.write(blip, 0, blip.length); in testGetUnderrunCount() [all …]
|
D | AudioTrackTest.java | 525 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionIncrease() 526 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionIncrease() 553 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlush() 554 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlush() 584 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterStop() 585 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterStop() 620 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterPause() 621 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterPause() 650 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlushAndPlay() 651 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlushAndPlay() [all …]
|
/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 | 129 out.write(buffer, 0, bytesRead); in copyToFile() 153 output.write(buffer); in createFile() 165 os.write(buffer, 0, count); in readInputStreamFully()
|
/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/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorProcessTest.java | 133 blue.write(1); in testPullPipeNormal() 146 red.write(2); in testPushPipeNormal() 159 red.write(3); in testPipeWriterError() 173 red.write(4); in testPipeWriterCrash() 187 red.write(5); in testSocketCrash() 188 blue.write(6); in testSocketCrash() 201 blue.write(7); in testFileNormal() 212 blue.write(8); in testFileError() 223 blue.write(9); in testFileCrash()
|
D | ParcelFileDescriptorTest.java | 124 out.write(42); in testReadOnly() 159 out.write(42); in doMultiWrite() 160 out.write(42); in doMultiWrite() 165 out.write(21); in doMultiWrite() 197 out.write(DATA); in testFromSocket() 316 private static void write(ParcelFileDescriptor pfd, int oneByte) throws IOException{ in write() method in ParcelFileDescriptorTest 317 new FileOutputStream(pfd.getFileDescriptor()).write(oneByte); in write() 336 write(blue, 1); in testBasicPipeNormal() 351 write(blue, 1); in testPipeNormal() 368 write(blue, 2); in testPipeError_Discouraged() [all …]
|
D | ParcelFileDescriptor_AutoCloseOutputStreamTest.java | 44 out.write(2); in testAutoCloseOutputStream() 49 out.write(2); in testAutoCloseOutputStream()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 176 os.write(origBuffer32); in onAttached() 185 os.write(origBuffer32); in onAttached() 197 os.write(Arrays.copyOf(origBuffer32, 16)); in onAttached() 198 os.write(Arrays.copyOfRange(origBuffer32, 16, 32)); in onAttached() 208 os.write(origBuffer32); in onAttached() 225 os.write(origBufferMax); in onAttached() 238 os.write(oversizeBuffer); in onAttached() 256 os.write(origBufferMax); in onAttached() 341 os.write(sizeBuffer); in nextTest() 342 os.write(Arrays.copyOf(nameBuffer.array(), nameBuffer.limit())); in nextTest() [all …]
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | CircularBufferFloat.java | 35 public int write(float[] buffer) { in write() method in CircularBufferFloat 36 return write(buffer, 0, buffer.length); in write() 46 public int write(float[] buffer, int offset, int numSamples) { in write() method in CircularBufferFloat
|
/cts/hostsidetests/packagemanager/deletekeepdata/app/src/com/android/tests/deletekeepdata/app/ |
D | DeleteKeepDataDeviceTest.java | 56 writer.write(TEST_FILE_CONTENT); in testWriteData() 68 fos.write(TEST_FILE_CONTENT.getBytes()); in testWriteData() 94 byteBuffer.write(buffer, 0, len); in readDataUserFile() 110 byteBuffer.write(buffer, 0, len); in readExternalDataFile()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 77 outputStream.write(FILE_DATA[0]); in testAutoCloseOutputStream() 78 outputStream.write(FILE_DATA, 1, 5); in testAutoCloseOutputStream() 79 outputStream.write(FILE_DATA); in testAutoCloseOutputStream()
|
/cts/hostsidetests/packagemanager/parsing/processing/ |
D | ApkGenerator.py | 83 outputFile.write(string) 86 packageNamesOutput.write(packageName) 87 packageNamesOutput.write("\n")
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 70 data.write(uuid, 16); in create_plugin() 102 data.write(key, 16); in decrypt() 105 data.write(iv, 16); in decrypt()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | NativeDecoderTest.java | 239 public void write(byte[] b) throws IOException { in createSessionOutputBuffer() 240 write(b, 0, b.length); in createSessionOutputBuffer() 244 public void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() method in NativeDecoderTest.SlowHttpServerConnection 246 write(b[off++]); in createSessionOutputBuffer() 263 public void write(int b) throws IOException { in createSessionOutputBuffer() method in NativeDecoderTest.SlowHttpServerConnection 265 super.write(b); in createSessionOutputBuffer()
|
/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()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | FileUtils.java | 133 out.write(buffer, 0, bytesRead); in copyToFile() 157 output.write(buffer); in createFile() 169 os.write(buffer, 0, count); in readInputStreamFully()
|
/cts/libs/input/src/com/android/cts/input/ |
D | FailOnTestThreadRule.kt | 30 pw.write(e.message ?: "<no message>") in <lambda>() 31 sw.write("\n") in <lambda>()
|
/cts/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 95 clientOutStream.write(12); in testLocalConnections() 101 serverOutStream.write(3); in testLocalConnections() 107 clientOutStream.write(32); in testLocalConnections() 122 clientOutStream.write(10); in testLocalConnections() 132 serverOutStream.write(10); in testLocalConnections() 246 clientSocket.getOutputStream().write(toWrite); in testSetSoTimeout_writeTimeout() 276 clientOutputStream.write(buffer); in testAvailable() 282 serverOutputStream.write(buffer); in testAvailable() 312 clientOutputStream.write(12); in testLocalSocketCreatedFromFileDescriptor() 351 outputStream.write(buffer); in testFlushWorks() [all …]
|