Searched defs:bufferSize (Results 1 - 25 of 46) sorted by last modified time

12

/frameworks/rs/rsov/driver/
H A DrsovAllocation.cpp220 size_t bufferSize)
221 : mBuffer(new RSoVBuffer(context, bufferSize)),
238 void RSoVBuffer::InitBuffer(size_t bufferSize) { argument
245 .size = bufferSize,
282 mBufferInfo.range = bufferSize;
219 RSoVAllocation(RSoVContext *context, const Type *type, size_t bufferSize) argument
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp2250 size_t bufferSize = strideIn; local
2252 bufferSize *= dimY;
2255 bufferSize *= dimZ;
2257 jobject byteBuffer = _env->NewDirectByteBuffer(ptr, (jlong) bufferSize);
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DInputStreamBuffer.java35 * and you should set the <code>bufferSize</code> parameter to <code>10</code> in the constructor.
87 * @param bufferSize The initial size for the internal buffer. The buffer size should be
97 public InputStreamBuffer(final InputStream inputStream, int bufferSize, argument
100 if (bufferSize <= 0) {
102 String.format("Buffer size %d must be positive.", bufferSize));
104 bufferSize = leastPowerOf2(bufferSize);
105 mBuffer = new byte[bufferSize];
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp41 , bufferSize(0)
51 if ((len+bufferPos) > bufferSize) {
57 bufferSize = newSize;
67 if (bufferSize > 256) {
71 bufferSize = 256;
79 size_t bufferSize; member in struct:android::BufferedTextOutput::BufferState
/frameworks/native/libs/input/
H A DInputTransport.cpp135 int bufferSize = SOCKET_BUFFER_SIZE; local
136 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize));
137 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize));
138 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize));
139 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize));
/frameworks/native/services/inputflinger/
H A DEventHub.cpp721 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) { argument
722 ALOG_ASSERT(bufferSize >= 1);
726 struct input_event readBuffer[bufferSize];
729 size_t capacity = bufferSize;
836 " bufferSize: %zu capacity: %zu errno: %d)\n",
837 device->fd, readSize, bufferSize, capacity, errno);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DInputStreamBuffer.java35 * and you should set the <code>bufferSize</code> parameter to <code>10</code> in the constructor.
87 * @param bufferSize The initial size for the internal buffer. The buffer size should be
97 public InputStreamBuffer(final InputStream inputStream, int bufferSize, argument
100 if (bufferSize <= 0) {
102 String.format("Buffer size %d must be positive.", bufferSize));
104 bufferSize = leastPowerOf2(bufferSize);
105 mBuffer = new byte[bufferSize];
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2799 size_t bufferSize = strideIn; local
2802 bufferSize *= dimY;
2805 bufferSize *= dimZ;
2807 byteBuffer = _env->NewDirectByteBuffer(ptr, (jlong) bufferSize);
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java2528 private native int native_read_nmea(byte[] buffer, int bufferSize); argument
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DProcFileReaderTest.java173 private static ProcFileReader buildReader(String string, int bufferSize) throws IOException { argument
175 new ByteArrayInputStream(string.getBytes(StandardCharsets.US_ASCII)), bufferSize);
/frameworks/base/core/java/android/os/
H A DDebug.java1022 * @param bufferSize The maximum amount of trace data we gather. If not
1025 public static void startMethodTracing(String tracePath, int bufferSize) { argument
1026 startMethodTracing(tracePath, bufferSize, 0);
1054 * @param bufferSize The maximum amount of trace data we gather. If not
1059 public static void startMethodTracing(String tracePath, int bufferSize, int flags) { argument
1060 VMDebug.startMethodTracing(fixTracePath(tracePath), bufferSize, flags, false, 0);
1078 * @param bufferSize The maximum amount of trace data we gather. If not
1082 public static void startMethodTracingSampling(String tracePath, int bufferSize, argument
1084 VMDebug.startMethodTracing(fixTracePath(tracePath), bufferSize, 0, true, intervalUs);
1122 int bufferSize, in
1121 startMethodTracing(String traceName, FileDescriptor fd, int bufferSize, int flags, boolean streamOutput) argument
1133 startMethodTracingDdms(int bufferSize, int flags, boolean samplingEnabled, int intervalUs) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DLineBreakBufferedWriter.java48 private final int bufferSize; field in class:LineBreakBufferedWriter
66 * @param bufferSize The maximum buffer size.
68 public LineBreakBufferedWriter(Writer out, int bufferSize) { argument
69 this(out, bufferSize, 16); // 16 is the default size of a StringBuilder buffer.
76 * @param bufferSize The maximum buffer size.
79 public LineBreakBufferedWriter(Writer out, int bufferSize, int initialCapacity) { argument
81 this.buffer = new char[Math.min(initialCapacity, bufferSize)];
83 this.bufferSize = bufferSize;
119 while (bufferIndex + len > bufferSize) {
[all...]
H A DProcFileReader.java47 public ProcFileReader(InputStream stream, int bufferSize) throws IOException { argument
49 mBuffer = new byte[bufferSize];
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp147 size_t bufferSize = 4096; local
150 char* data = (char*)sk_malloc_throw(bufferSize);
153 bufferSize - streamLen)) != 0) {
155 if (streamLen == bufferSize) {
156 bufferSize *= 2;
157 data = (char*)sk_realloc_throw(data, bufferSize);
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp95 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize);
223 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize)
238 if ((int)bufferLength < (int)bufferSize) {
240 bufferSize, bufferLength);
222 getCallbackBuffer( JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) argument
H A Dandroid_view_ThreadedRenderer.cpp484 jsize bufferSize = env->GetArrayLength(reinterpret_cast<jarray>(buffer)); local
485 LOG_ALWAYS_FATAL_IF(bufferSize != kBufferSize,
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHidDeviceCallback.java74 * @param bufferSize Requested buffer size, application shall respond with
77 public void onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) { argument
78 Log.d(TAG, "onGetReport: device=" + device + " type=" + type + " id=" + id + " bufferSize="
79 + bufferSize);
H A DBluetoothInputDevice.java142 /* int reportType, int reportType, int bufferSize */
593 * @param bufferSize Report receiving buffer size
598 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, int bufferSize) { argument
599 if (VDBG) log("getReport(" + device + "), reportType=" + reportType + " reportId=" + reportId + "bufferSize=" + bufferSize);
602 return mService.getReport(device, reportType, reportId, bufferSize);
H A DBluetoothInputHost.java141 public void onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) { argument
142 mCallback.onGetReport(device, type, id, bufferSize);
/frameworks/av/media/libstagefright/codecs/avcdec/
H A DSoftAVCDec.cpp438 uint32_t bufferSize = displayStride * displayHeight * 3 / 2; local
439 mFlushOutBuffer = (uint8_t *)memalign(128, bufferSize);
441 ALOGE("Could not allocate flushOutputBuffer of size %u", bufferSize);
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp438 uint32_t bufferSize = displayStride * displayHeight * 3 / 2; local
439 mFlushOutBuffer = (uint8_t *)memalign(128, bufferSize);
441 ALOGE("Could not allocate flushOutputBuffer of size %u", bufferSize);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp238 int32_t bufferSize = inHeader->nFilledLen; local
239 int32_t tmp = bufferSize;
297 inHeader->nOffset += bufferSize;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp43 /* Function : BitStreamCreateEnc(Int bufferSize ) */
47 /* bufferSize : size of the bitstream buffer in bytes */
52 BitstreamEncVideo *BitStreamCreateEnc(Int bufferSize) argument
60 stream->bufferSize = bufferSize;
61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar));
68 M4VENC_MEMSET(stream->bitstreamBuffer, 0, stream->bufferSize*sizeof(UChar));
213 if (stream->byteCount + WORD_SIZE > stream->bufferSize)
267 if (stream->byteCount + numbyte > stream->bufferSize)
446 if (bitstream1->byteCount + bitstream2->byteCount + offset > bitstream1->bufferSize)
[all...]

Completed in 5170 milliseconds

12