Searched refs:toWrite (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
H A DPipedStreamTest.java107 int toWrite = fib.next();
108 out.write(toWrite);
188 int toWrite = fib.next();
189 writeBytes[0] = (byte) (toWrite >> 24);
190 writeBytes[1] = (byte) (toWrite >> 16);
191 writeBytes[2] = (byte) (toWrite >> 8);
192 writeBytes[3] = (byte) (toWrite);
260 int toWrite = fib.next();
261 writeBytes[i ] = (byte) (toWrite >> 24);
262 writeBytes[i + 1] = (byte) (toWrite >> 1
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DLoggingPrintStreamTest.java174 String toWrite = a + "\n" + b + "\n" + c;
175 out.write(toWrite.getBytes());
/frameworks/base/media/libmedia/
H A DAudioTrack.cpp919 size_t toWrite; local
923 toWrite = audioBuffer.size>>1;
925 int count = toWrite;
931 toWrite = audioBuffer.size;
932 memcpy(audioBuffer.i8, src, toWrite);
933 src += toWrite;
935 userSize -= toWrite;
936 written += toWrite;
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp827 int toWrite = sampleCount; local
831 while (--chances > 0 && (toWrite > 0 || toRead > 0)) {
832 if (toWrite > 0) {
834 buffer.frameCount = toWrite;
838 int offset = sampleCount - toWrite;
840 toWrite -= buffer.frameCount;

Completed in 287 milliseconds