/libcore/luni/src/main/java/java/nio/ |
IoVec.java | 33 private final int bufferCount; 41 IoVec(ByteBuffer[] byteBuffers, int offset, int bufferCount, Direction direction) { 44 this.bufferCount = bufferCount; 46 this.ioBuffers = new Object[bufferCount]; 47 this.offsets = new int[bufferCount]; 48 this.byteCounts = new int[bufferCount]; 53 for (int i = 0; i < bufferCount; ++i) { 89 for (int i = 0; byteCount > 0 && i < bufferCount; ++i) {
|
/frameworks/base/media/libstagefright/ |
SurfaceMediaSource.cpp | 70 status_t SurfaceMediaSource::setBufferCountServerLocked(int bufferCount) { 71 if (bufferCount > NUM_BUFFER_SLOTS) 75 if (bufferCount == mBufferCount) 79 bufferCount >= mBufferCount) { 81 mBufferCount = bufferCount; 82 mServerBufferCount = bufferCount; 90 if (bufferCount < 2) 99 mServerBufferCount = bufferCount; 105 status_t SurfaceMediaSource::setBufferCountServer(int bufferCount) { 107 return setBufferCountServerLocked(bufferCount); [all...] |
/frameworks/base/services/surfaceflinger/ |
SurfaceTextureLayer.h | 45 virtual status_t setBufferCount(int bufferCount);
|
SurfaceTextureLayer.cpp | 50 status_t SurfaceTextureLayer::setBufferCount(int bufferCount) { 51 status_t res = SurfaceTexture::setBufferCount(bufferCount);
|
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 92 virtual status_t getPictureBufferSize(size_t &length, size_t bufferCount); 93 virtual status_t getFrameDataSize(size_t &dataFrameSize, size_t bufferCount);
|
/frameworks/base/libs/gui/ |
SurfaceTexture.cpp | 158 status_t SurfaceTexture::setBufferCountServerLocked(int bufferCount) { 159 if (bufferCount > NUM_BUFFER_SLOTS) 163 if (bufferCount == mBufferCount) 167 bufferCount >= mBufferCount) { 169 mBufferCount = bufferCount; 170 mServerBufferCount = bufferCount; 178 if (bufferCount < 2) 187 mServerBufferCount = bufferCount; 192 status_t SurfaceTexture::setBufferCountServer(int bufferCount) { 194 return setBufferCountServerLocked(bufferCount); [all...] |
ISurfaceTexture.cpp | 74 virtual status_t setBufferCount(int bufferCount) 78 data.writeInt32(bufferCount); 243 int bufferCount = data.readInt32(); 244 int result = setBufferCount(bufferCount);
|
SurfaceTextureClient.cpp | 352 size_t bufferCount = va_arg(args, size_t); 353 return setBufferCount(bufferCount); 458 int SurfaceTextureClient::setBufferCount(int bufferCount) 463 status_t err = mSurfaceTexture->setBufferCount(bufferCount); 465 bufferCount, strerror(-err));
|
/frameworks/base/include/gui/ |
SurfaceTexture.h | 79 virtual status_t setBufferCount(int bufferCount); 145 status_t setBufferCountServer(int bufferCount); 266 status_t setBufferCountServerLocked(int bufferCount);
|
ISurfaceTexture.h | 59 virtual status_t setBufferCount(int bufferCount) = 0;
|
SurfaceTextureClient.h | 86 virtual int setBufferCount(int bufferCount);
|
/frameworks/base/include/media/stagefright/ |
SurfaceMediaSource.h | 86 virtual status_t setBufferCount(int bufferCount); 157 status_t setBufferCountServer(int bufferCount); 192 status_t setBufferCountServerLocked(int bufferCount);
|
/frameworks/media/libvideoeditor/lvpp/ |
VideoEditorPlayer.cpp | 382 uint32_t sampleRate, int channelCount, int format, int bufferCount, 388 // Check argument "bufferCount" against the mininum buffer count 389 if (bufferCount < mMinBufferCount) { 390 LOGV("bufferCount (%d) is too small and increased to %d", 391 bufferCount, mMinBufferCount); 392 bufferCount = mMinBufferCount; 395 LOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount); 410 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
|
VideoEditorPlayer.h | 53 int format, int bufferCount,
|
/hardware/ti/omap4xxx/camera/inc/ |
BaseCameraAdapter.h | 128 virtual status_t getFrameDataSize(size_t &dataFrameSize, size_t bufferCount); 131 virtual status_t getPictureBufferSize(size_t &length, size_t bufferCount);
|
CameraHal.h | [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
TextUtilities.java | 376 int bufferCount = 0; 383 for (int i = 0; i < length && bufferCount < MAX_SNIPPET_LENGTH; i++) { 448 buffer[bufferCount++] = c; 453 if ((bufferCount > 0) && (last == ' ')) { 454 bufferCount--; 456 return new String(buffer, 0, bufferCount); [all...] |
/system/core/include/system/ |
window.h | 504 size_t bufferCount) 506 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount);
|
/frameworks/base/include/media/ |
MediaPlayerInterface.h | 89 int bufferCount=DEFAULT_AUDIOSINK_BUFFERCOUNT,
|
/frameworks/base/media/libmediaplayerservice/ |
MediaPlayerService.h | 86 int format, int bufferCount, 142 int bufferCount = 1,
|
MediaPlayerService.cpp | [all...] |
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | [all...] |
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
V4LCameraAdapter.cpp | 416 status_t V4LCameraAdapter::getFrameDataSize(size_t &dataFrameSize, size_t bufferCount) 422 status_t V4LCameraAdapter::getPictureBufferSize(size_t &length, size_t bufferCount)
|
/frameworks/base/media/libmedia/ |
IAudioFlinger.cpp | 683 size_t bufferCount = data.readInt32(); 691 channelCount, bufferCount, flags, buffer, output, &sessionId, &status); 704 size_t bufferCount = data.readInt32(); 709 sampleRate, format, channelCount, bufferCount, flags, &sessionId, &status); [all...] |
/frameworks/base/services/camera/tests/CameraServiceTest/ |
CameraServiceTest.cpp | 314 virtual status_t setBufferCount(int bufferCount); 356 status_t MSurface::setBufferCount(int bufferCount) {
|