/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.cpp | 87 size_t written = buffer.size(); in onMoreData() local 92 written = SIZE_STOP_CALLBACKS; in onMoreData() 98 written = 0; in onMoreData() 102 return written; in onMoreData() 116 written = buffer.getFrameCount() * getBytesPerDeviceFrame(); in onMoreData() 124 written = 0; in onMoreData() 135 return written; in onMoreData() 152 size_t written = buffer.size(); in onMoreData() local 157 written = SIZE_STOP_CALLBACKS; in onMoreData() 163 written = 0; in onMoreData() [all …]
|
/frameworks/av/media/libnbaio/ |
D | MonoPipe.cpp | 81 size_t written = (size_t) actual; in write() local 82 totalFramesWritten += written; in write() 86 count -= written; in write() 87 buffer = (char *) buffer + (written * mFrameSize); in write() 92 if (written > 0) { in write() 103 ns = written * ( 500000000 / Format_sampleRate(mFormat)); in write() 106 ns = written * ( 750000000 / Format_sampleRate(mFormat)); in write() 109 ns = written * (1000000000 / Format_sampleRate(mFormat)); in write() 112 ns = written * (1150000000 / Format_sampleRate(mFormat)); in write() 115 ns = written * (1350000000 / Format_sampleRate(mFormat)); in write() [all …]
|
D | AudioStreamOutSink.cpp | 71 size_t written; in write() local 72 status_t ret = mStream->write(buffer, count * mFrameSize, &written); in write() 73 if (ret == OK && written > 0) { in write() 77 processor->process(buffer, written); in write() 80 written /= mFrameSize; in write() 81 mFramesWritten += written; in write() 83 return written; in write()
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | fd.h | 59 auto written = RawSyscall(__NR_write, fd, bit_cast<long>(curr), end - curr); in WriteFullyOrDie() local 61 if (written >= 0) { in WriteFullyOrDie() 62 curr += written; in WriteFullyOrDie() 64 CHECK(written == -EINTR); in WriteFullyOrDie()
|
/frameworks/av/services/audioflinger/datapath/ |
D | SpdifStreamOut.cpp | 109 const ssize_t written = AudioStreamOut::write(buffer, bytes); in writeDataBurst() local 112 if (written > 0) { in writeDataBurst() 114 written / AudioStreamOut::getFrameSize()); in writeDataBurst() 117 return written; in writeDataBurst()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | BufferedZipFilePerfTest.java | 57 int written = 0; in setUp() local 58 while (written < mCompressedSize[i]) { in setUp() 60 int toWrite = Math.min(mCompressedSize[i] - written, data.length); in setUp() 62 written += toWrite; in setUp()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 142 bool written = writeAllBytes(fd, (void*) &info, sizeof(AndroidBitmapInfo)); in writeBitmapPixels() local 143 if (!written) { in writeBitmapPixels() 158 written = writeAllBytes(fd, (void*) pixels, byteCount); in writeBitmapPixels() 159 if (!written) { in writeBitmapPixels()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | PersistentSystemFontConfigTest.java | 60 byte[] written = baos.toByteArray(); in testWriteRead() 61 assertThat(written).isNotEmpty(); in testWriteRead() 63 try (ByteArrayInputStream bais = new ByteArrayInputStream(written)) { in testWriteRead()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 203 int written = audioTrack.write(bytes, offset, sizeToWrite); in writeToAudioTrack() local 204 if (written <= 0) { in writeToAudioTrack() 205 if (written < 0) { in writeToAudioTrack() 206 Log.e(TAG, "An error occurred while writing to audio track: " + written); in writeToAudioTrack() 210 offset += written; in writeToAudioTrack()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | element.rscript | 123 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64); 124 _RS_ASSERT(written == subElemNamesSizes[i]); 125 _RS_ASSERT(equals(buffer, subElemNames[i], written)); 140 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5); 141 _RS_ASSERT(written == 4);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | element.rscript | 121 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64); 122 _RS_ASSERT(written == subElemNamesSizes[i]); 123 _RS_ASSERT(equals(buffer, subElemNames[i], written)); 138 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5); 139 _RS_ASSERT(written == 4);
|
/frameworks/native/services/surfaceflinger/Tracing/tools/ |
D | readme.md | 5 front end logic. Transaction traces are written when the transaction 8 result is then written as a layer trace.
|
/frameworks/base/cmds/incidentd/tests/ |
D | test_proto.proto | 22 // The id of the section, written by TestSection. 25 // The id of the section, times 10, written by TestSection.
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | memory_region_reservation.cc | 157 bool written = std::atomic_compare_exchange_strong_explicit( in ReservationExchange() local 166 return written; in ReservationExchange()
|
/frameworks/compile/slang/ |
D | slang_rs_reflect_utils.cpp | 143 for (int written = 0; written < blen; written++) { in GenerateSegmentMethod() local 151 out << std::setw(4) << static_cast<int>(buff[written]) << ","; in GenerateSegmentMethod()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProviderMap.java | 253 boolean written = false; in dumpProvidersByClassLocked() 268 written = true; in dumpProvidersByClassLocked() 273 return written; in dumpProvidersByClassLocked() 279 boolean written = false; in dumpProvidersByNameLocked() 294 written = true; in dumpProvidersByNameLocked() 300 return written; in dumpProvidersByNameLocked()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 185 int64_t written = AAudioStream_getFramesWritten(player.getStream()); in testOpenPlayClose() local 188 (long long) written, in testOpenPlayClose() 190 (int) (written - read)); in testOpenPlayClose()
|
/frameworks/av/media/mtp/ |
D | MtpFfsCompatHandle.cpp | 200 int written = aio_return(&aio); in receiveFile() local 201 if (written == -1) { in receiveFile() 205 if (static_cast<size_t>(written) < aio.aio_nbytes) { in receiveFile()
|
/frameworks/base/media/jni/soundpool/ |
D | Sound.cpp | 86 size_t written = 0; in decode() local 146 written += dataSize; in decode() 191 *sizeInBytes = written; in decode()
|
/frameworks/av/media/libcpustats/include/cpustats/ |
D | README.txt | 1 This is a static library of CPU usage statistics, originally written
|
/frameworks/base/core/java/android/util/ |
D | Log.java | 526 private int written = 0; field in Log.ImmediateLogWriter 539 return written; in getWritten() 547 written += println_native(bufID, priority, tag, new String(cbuf, off, len)); in write()
|
/frameworks/native/libs/bufferstreams/ |
D | README.md | 10 This library is natively written in Rust and exposes a C API. If you make changes to the Rust API,
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 654 ssize_t written = 0; in writeToTrack() local 658 written = track->write(data + offsetInSamples, sizeInBytes, blocking); in writeToTrack() 660 if (written == (ssize_t) WOULD_BLOCK) { in writeToTrack() 661 written = 0; in writeToTrack() 669 written = sizeInBytes; in writeToTrack() 671 if (written >= 0) { in writeToTrack() 672 return written / sizeof(T); in writeToTrack() 674 return interpretWriteSizeError(written); in writeToTrack() 740 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes, byteOffset, in android_media_AudioTrack_write_native_bytes() local 743 return written; in android_media_AudioTrack_write_native_bytes()
|
/frameworks/compile/mclinker/ |
D | LICENSE.TXT | 33 prior written permission. 46 The LLVM software contains code written by third parties. Such software will
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.cpp | 1160 ssize_t written = mAudioSink->write(entry->mBuffer->data() + entry->mOffset, in onDrainAudioQueue() local 1162 if (written < 0) { in onDrainAudioQueue() 1164 if (written == WOULD_BLOCK) { in onDrainAudioQueue() 1167 ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy); in onDrainAudioQueue() 1175 entry->mOffset += written; in onDrainAudioQueue() 1191 size_t copiedFrames = written / mAudioSink->frameSize(); in onDrainAudioQueue() 1206 if (written != (ssize_t)copy) { in onDrainAudioQueue() 1226 ALOGV("AudioSink write short frame count %zd < %zu", written, copy); in onDrainAudioQueue() 1824 uint32_t written; in onAudioSinkChanged() local 1825 if (mAudioSink->getFramesWritten(&written) == OK) { in onAudioSinkChanged() [all …]
|