Home
last modified time | relevance | path

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

123456789

/frameworks/av/media/libnbaio/
DPipe.cpp51 size_t written = mMaxFrames - rear; in write() local
52 if (CC_LIKELY(written > count)) { in write()
53 written = count; in write()
55 memcpy((char *) mBuffer + (rear << mBitShift), buffer, written << mBitShift); in write()
56 if (CC_UNLIKELY(rear + written == mMaxFrames)) { in write()
57 if (CC_UNLIKELY((count -= written) > rear)) { in write()
61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift); in write()
62 written += count; in write()
65 android_atomic_release_store(written + mRear, &mRear); in write()
66 mFramesWritten += written; in write()
[all …]
DMonoPipe.cpp108 size_t written = avail; in write() local
109 if (CC_LIKELY(written > count)) { in write()
110 written = count; in write()
114 if (part1 > written) { in write()
115 part1 = written; in write()
120 size_t part2 = written - part1; in write()
125 android_atomic_release_store(written + mRear, &mRear); in write()
126 totalFramesWritten += written; in write()
131 count -= written; in write()
132 buffer = (char *) buffer + (written << mBitShift); in write()
[all …]
DNBLog.cpp179 size_t written = mSize - rear; // written = number of bytes that have been written so far in log() local
182 if (written > need) { in log()
183 written = need; in log()
188 for (i = 0; i < written; ++i) { in log()
191 if (rear + written == mSize && (need -= written) > 0) { in log()
193 mShared->mBuffer[i] = entry->readAt(written + i); in log()
195 written += need; in log()
197 android_atomic_release_store(mRear += written, &mShared->mRear); in log()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Delement.rs113 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
114 _RS_ASSERT(written == subElemNamesSizes[i]);
115 _RS_ASSERT(equals(buffer, subElemNames[i], written));
130 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
131 _RS_ASSERT(written == 4);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Delement.rs111 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
112 _RS_ASSERT(written == subElemNamesSizes[i]);
113 _RS_ASSERT(equals(buffer, subElemNames[i], written));
128 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
129 _RS_ASSERT(written == 4);
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp513 ssize_t written = 0; in writeToTrack() local
516 written = track->write(data + offsetInBytes, sizeInBytes); in writeToTrack()
518 if (written == (ssize_t) WOULD_BLOCK) { in writeToTrack()
519 written = 0; in writeToTrack()
528 written = sizeInBytes; in writeToTrack()
545 written = sizeInBytes; in writeToTrack()
548 return written; in writeToTrack()
583 jint written = writeToTrack(lpTrack, javaAudioFormat, cAudioData, offsetInBytes, sizeInBytes); in android_media_AudioTrack_native_write_byte() local
589 return written; in android_media_AudioTrack_native_write_byte()
598 jint written = android_media_AudioTrack_native_write_byte(env, thiz, in android_media_AudioTrack_native_write_short() local
[all …]
/frameworks/base/services/java/com/android/server/am/
DProviderMap.java237 boolean written = false; in dumpProvidersByClassLocked()
252 written = true; in dumpProvidersByClassLocked()
257 return written; in dumpProvidersByClassLocked()
263 boolean written = false; in dumpProvidersByNameLocked()
278 written = true; in dumpProvidersByNameLocked()
284 return written; in dumpProvidersByNameLocked()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java202 int written = audioTrack.write(bytes, count, bytes.length); in writeToAudioTrack() local
203 if (written <= 0) { in writeToAudioTrack()
206 count += written; in writeToAudioTrack()
/frameworks/av/include/cpustats/
DREADME.txt1 This is a static library of CPU usage statistics, originally written
/frameworks/compile/mclinker/
DLICENSE.TXT31 prior written permission.
44 The LLVM software contains code written by third parties. Such software will
/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
DEGL_ANDROID_framebuffer_target.txt33 This extension is written against the wording of the EGL 1.4 Specification
DEGL_ANDROID_image_native_buffer.txt37 This extension is written against the wording of the EGL 1.2
/frameworks/base/docs/html/guide/topics/manifest/
Dgrant-uri-permission-element.jd65 For example, a literal '{@code *}' would be written as "{@code \\*}" and a
66 literal '{@code \}' would be written as "{@code \\\\}". This is basically
Dpath-permission-element.jd62 For example, a literal '<code class="Code prettyprint">*</code>' would be written as "<code class="…
63 literal '<code class="Code prettyprint">\</code>' would be written as "<code class="Code prettyprin…
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp652 uint32_t written; in onAudioSinkChanged() local
653 if (mAudioSink->getFramesWritten(&written) == OK) { in onAudioSinkChanged()
654 mNumFramesWritten = written; in onAudioSinkChanged()
/frameworks/webview/chromium/
DLICENSE15 // this software without specific prior written permission.
/frameworks/base/obex/
DNOTICE17 without specific prior written permission.
/frameworks/native/opengl/tests/angeles/
Dlicense-BSD.txt21 products derived from this software without specific prior written
/frameworks/base/docs/html/guide/topics/sensors/
Dindex.jd24 <p>I’ve written an open-source reference app that incorporates all of the tips, tricks, and
/frameworks/compile/slang/
DNOTICE70 means any form of electronic, verbal, or written communication sent
235 prior written permission.
246 The LLVM software contains code written by third parties. Such software will
305 prior written permission.
318 The LLVM software contains code written by third parties. Such software will
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPlayer.cpp384 status_t VideoEditorPlayer::VeAudioOutput::getFramesWritten(uint32_t *written) const { in getFramesWritten()
387 *written = mNumFramesWritten; in getFramesWritten()
/frameworks/base/docs/html/design/patterns/
Dcompatibility.jd26 <p>Android apps written for Android 3.0 and later display actions in the action bar. Actions that d…
/frameworks/rs/scriptc/
Drs_atomic.rsh222 * If the value at addr matches compareValue then newValue is written.
236 * If the value at addr matches compareValue then newValue is written.
/frameworks/base/docs/html/guide/webapps/
Ddebugging.jd42 the device throws an error, as well as log messages written from your application and
43 those written using JavaScript {@code console} APIs.</p>

123456789