/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 | 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/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/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 | 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()
|
D | AudioTrackTest.java | 500 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionIncrease() 501 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionIncrease() 528 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlush() 529 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlush() 559 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterStop() 560 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterStop() 595 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterPause() 596 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterPause() 625 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlushAndPlay() 626 track.write(data, OFFSET_DEFAULT, data.length); in testPlaybackHeadPositionAfterFlushAndPlay() [all …]
|
D | MediaPlayerFlakyNetworkTest.java | 300 public void write(byte[] b) throws IOException { in createSessionOutputBuffer() 301 write(b, 0, b.length); in createSessionOutputBuffer() 305 public void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() method in MediaPlayerFlakyNetworkTest.FlakyHttpServerConnection 307 write(b[off++]); in createSessionOutputBuffer() 324 public void write(int b) throws IOException { in createSessionOutputBuffer() method in MediaPlayerFlakyNetworkTest.FlakyHttpServerConnection 326 super.write(b); in createSessionOutputBuffer()
|
/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/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 | ParcelFileDescriptor_AutoCloseOutputStreamTest.java | 34 out.write(2); in testAutoCloseOutputStream() 39 out.write(2); in testAutoCloseOutputStream()
|
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() 354 write(file2, 7); in testFileWrapped() 474 fout.write(new byte[] { 0x0, 0x1, 0x2, 0x3 }); in makeParcelFileDescriptor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 158 os.write(origBuffer32); in onAttached() 167 os.write(origBuffer32); in onAttached() 179 os.write(Arrays.copyOf(origBuffer32, 16)); in onAttached() 180 os.write(Arrays.copyOfRange(origBuffer32, 16, 32)); in onAttached() 190 os.write(origBuffer32); in onAttached() 207 os.write(origBufferMax); in onAttached() 220 os.write(oversizeBuffer); in onAttached() 238 os.write(origBufferMax); in onAttached() 321 os.write(sizeBuffer); in nextTest() 322 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/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/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/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/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 114 out_file.write(src_header) 115 out_file.write(src_body) 116 out_file.write(src_footer)
|
/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/hostsidetests/seccomp/app/ |
D | gen_blocklist.py | 117 cpp.stdin.write('#include <asm/unistd.h>\n') 122 cpp.stdin.write(prefix + name + ', __NR_' + name + '\n') 124 cpp.stdin.write(prefix + name + ', ' + name + '\n')
|