Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 214) sorted by relevance

123456789

/frameworks/av/media/libnbaio/
DMonoPipe.cpp81 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 …]
DAudioStreamOutSink.cpp65 size_t written; in write() local
66 status_t ret = mStream->write(buffer, count * mFrameSize, &written); in write()
67 if (ret == OK && written > 0) { in write()
68 written /= mFrameSize; in write()
69 mFramesWritten += written; in write()
70 return written; in write()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DIpConfigStoreTestWriter.java50 boolean written = false; in writeConfig()
76 written = true; in writeConfig()
81 written = true; in writeConfig()
105 written = true; in writeConfig()
113 written = true; in writeConfig()
118 written = true; in writeConfig()
128 if (written) { in writeConfig()
141 return written; in writeConfig()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Delement.rscript103 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
104 _RS_ASSERT(written == subElemNamesSizes[i]);
105 _RS_ASSERT(equals(buffer, subElemNames[i], written));
120 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
121 _RS_ASSERT(written == 4);
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp147 bool written = writeAllBytes(fd, (void*) &info, sizeof(AndroidBitmapInfo)); in writeBitmapPixels() local
148 if (!written) { in writeBitmapPixels()
163 written = writeAllBytes(fd, (void*) pixels, byteCount); in writeBitmapPixels()
164 if (!written) { in writeBitmapPixels()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java81 boolean written = false; in writeConfig()
107 written = true; in writeConfig()
112 written = true; in writeConfig()
136 written = true; in writeConfig()
144 written = true; in writeConfig()
149 written = true; in writeConfig()
159 if (written) { in writeConfig()
172 return written; in writeConfig()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Delement.rscript121 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/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Delement.rscript123 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/base/cmds/incidentd/tests/
Dtest_proto.proto22 // The id of the section, written by TestSection.
25 // The id of the section, times 10, written by TestSection.
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp176 int64_t written = AAudioStream_getFramesWritten(player.getStream()); in testOpenPlayClose() local
179 (long long) written, in testOpenPlayClose()
181 (int) (written - read)); in testOpenPlayClose()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp143 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/
DProviderMap.java251 boolean written = false; in dumpProvidersByClassLocked()
266 written = true; in dumpProvidersByClassLocked()
271 return written; in dumpProvidersByClassLocked()
277 boolean written = false; in dumpProvidersByNameLocked()
292 written = true; in dumpProvidersByNameLocked()
298 return written; in dumpProvidersByNameLocked()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java201 int written = audioTrack.write(bytes, count, bytes.length); in writeToAudioTrack() local
202 if (written <= 0) { in writeToAudioTrack()
205 count += written; in writeToAudioTrack()
/frameworks/base/media/jni/soundpool/
DSound.cpp86 size_t written = 0; in decode() local
146 written += dataSize; in decode()
188 *sizeInBytes = written; in decode()
/frameworks/av/media/mtp/
DMtpFfsCompatHandle.cpp200 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/av/media/libcpustats/include/cpustats/
DREADME.txt1 This is a static library of CPU usage statistics, originally written
/frameworks/av/camera/
DAndroid.bp32 // Source for camera interface parcelables, and manually-written interfaces
95 // because they have hand-written native implementations.
/frameworks/base/core/java/android/util/
DLog.java487 private int written = 0; field in Log.ImmediateLogWriter
500 return written; in getWritten()
508 written += println_native(bufID, priority, tag, new String(cbuf, off, len)); in write()
/frameworks/av/media/libaudiohal/impl/
DStreamHalLocal.cpp149 status_t StreamOutHalLocal::write(const void *buffer, size_t bytes, size_t *written) { in write() argument
152 *written = writeResult; in write()
153 mStreamPowerLog.log(buffer, *written); in write()
156 *written = 0; in write()
DStreamHalHidl.cpp360 status_t StreamOutHalHidl::write(const void *buffer, size_t bytes, size_t *written) { in write() argument
362 *written = 0; in write()
389 *written = writeStatus.reply.written; in write()
391 ALOGE_IF(*written > bytes, in write()
393 (long long)*written, (long long)bytes); in write()
395 mStreamPowerLog.log(buffer, *written); in write()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp690 ssize_t written = 0; in writeToTrack() local
694 written = track->write(data + offsetInSamples, sizeInBytes, blocking); in writeToTrack()
696 if (written == (ssize_t) WOULD_BLOCK) { in writeToTrack()
697 written = 0; in writeToTrack()
705 written = sizeInBytes; in writeToTrack()
707 if (written >= 0) { in writeToTrack()
708 return written / sizeof(T); in writeToTrack()
710 return interpretWriteSizeError(written); in writeToTrack()
776 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes, byteOffset, in android_media_AudioTrack_write_native_bytes() local
779 return written; in android_media_AudioTrack_write_native_bytes()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp1106 ssize_t written = mAudioSink->write(entry->mBuffer->data() + entry->mOffset, in onDrainAudioQueue() local
1108 if (written < 0) { in onDrainAudioQueue()
1110 if (written == WOULD_BLOCK) { in onDrainAudioQueue()
1113 ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy); in onDrainAudioQueue()
1121 entry->mOffset += written; in onDrainAudioQueue()
1137 size_t copiedFrames = written / mAudioSink->frameSize(); in onDrainAudioQueue()
1152 if (written != (ssize_t)copy) { in onDrainAudioQueue()
1172 ALOGV("AudioSink write short frame count %zd < %zu", written, copy); in onDrainAudioQueue()
1758 uint32_t written; in onAudioSinkChanged() local
1759 if (mAudioSink->getFramesWritten(&written) == OK) { in onAudioSinkChanged()
[all …]
/frameworks/compile/mclinker/
DLICENSE.TXT33 prior written permission.
46 The LLVM software contains code written by third parties. Such software will
/frameworks/rs/tests/lldb/
D.gitignore31 # Usually these files are written by a python script from a template
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt33 This extension is written against the wording of the EGL 1.4 Specification
56 Note that although this extension is written as if the application
169 less than or equal to <valueSize> then the value is written to the memory
170 pointed to by <value>. Otherwise nothing is written to the memory pointed

123456789