Home
last modified time | relevance | path

Searched refs:sizeCopied (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/database/
DCharArrayBuffer.java32 public int sizeCopied; // Out parameter field in CharArrayBuffer
DAbstractCursor.java212 buffer.sizeCopied = result.length(); in copyStringToBuffer()
214 buffer.sizeCopied = 0; in copyStringToBuffer()
DRedactingCursor.java146 buffer.sizeCopied = buffer.data.length; in copyStringToBuffer()
/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp51 jfieldID sizeCopied; member
321 env->SetIntField(bufferObj, gCharArrayBufferClassInfo.sizeCopied, size); in fillCharArrayBufferUTF()
328 env->SetIntField(bufferObj, gCharArrayBufferClassInfo.sizeCopied, 0); in clearCharArrayBuffer()
571 gCharArrayBufferClassInfo.sizeCopied = GetFieldIDOrDie(env, clazz, "sizeCopied", "I"); in register_android_database_CursorWindow()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java374 assertEquals(1, buf.sizeCopied); in testCopyString()
375 assertEquals(compareTo, new String(buf.data, 0, buf.sizeCopied)); in testCopyString()
378 assertEquals("ZoomZoomZoomZoom", new String(buf.data, 0, buf.sizeCopied)); in testCopyString()
384 assertEquals(compareTo, new String(buf.data, 0, buf.sizeCopied)); in testCopyString()
386 assertEquals(0, buf.sizeCopied); in testCopyString()
391 new String(buf.data, 0, buf.sizeCopied)).doubleValue()); in testCopyString()
397 assertEquals(chinese, new String(buf.data, 0, buf.sizeCopied)); in testCopyString()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp884 size_t sizeCopied = 0; in fillAudioBuffer() local
887 while (sizeCopied < size && !mAudioQueue.empty()) { in fillAudioBuffer()
905 size_t sizeRemaining = size - sizeCopied; in fillAudioBuffer()
910 memcpy((char *)buffer + sizeCopied, in fillAudioBuffer()
920 sizeCopied += copy; in fillAudioBuffer()
937 mNumFramesWritten += sizeCopied / mAudioSink->frameSize(); in fillAudioBuffer()
955 return sizeCopied; in fillAudioBuffer()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp871 size_t sizeCopied = 0; in fillAudioBuffer() local
874 while (sizeCopied < size && !mAudioQueue.empty()) { in fillAudioBuffer()
892 size_t sizeRemaining = size - sizeCopied; in fillAudioBuffer()
897 memcpy((char *)buffer + sizeCopied, in fillAudioBuffer()
907 sizeCopied += copy; in fillAudioBuffer()
924 mNumFramesWritten += sizeCopied / mAudioSink->frameSize(); in fillAudioBuffer()
942 return sizeCopied; in fillAudioBuffer()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt9393 field public int sizeCopied;
/frameworks/base/api/
Dcurrent.txt12505 field public int sizeCopied;