/frameworks/base/tools/streaming_proto/ |
H A D | Errors.cpp | 57 char* buffer = new char[message_size+1]; local 58 vsnprintf(buffer, message_size, format, args); 59 Error error(filename, lineno, buffer); 60 delete[] buffer;
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/ |
H A D | file_wrapper_input.h | 32 // Tries to read the requested number of bytes into the buffer. Returns the 34 virtual size_t Read(uint8_t* buffer, size_t wanted);
|
/frameworks/multidex/library/src/androidx/multidex/ |
H A D | ZipUtil.java | 112 byte[] buffer = new byte[BUFFER_SIZE]; 113 length = raf.read(buffer, 0, length); 115 crc.update(buffer, 0, length); 121 length = raf.read(buffer, 0, length);
|
/frameworks/native/libs/nativewindow/include/vndk/ |
H A D | hardware_buffer.h | 27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
|
H A D | window.h | 69 /* The minimum number of buffers that must remain un-dequeued after a buffer 71 * override the number of buffers and if a buffer has since been queued. 78 * Note that this value does NOT apply until a single buffer has been 82 * 2. Set the buffer count to N + M 110 * 1. Before dequeuing a buffer, the GL driver (or any other ANW client) 119 * 3. The GL driver dequeues a buffer of the new pre-rotated size. 121 * 4. The GL driver renders to the buffer such that the image is 126 * inverse transformation to the buffer it just rendered. 138 * 6. The GL driver queues the pre-transformed buffer. 140 * 7. The composer combines the buffer transfor [all...] |
/frameworks/native/libs/vr/libdisplay/ |
H A D | shared_buffer_helpers.cpp | 17 CPUMappedBuffer::CPUMappedBuffer(std::unique_ptr<IonBuffer> buffer, argument 19 : owned_buffer_(std::move(buffer)), 25 CPUMappedBuffer::CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode) argument 26 : buffer_(buffer), usage_mode_(mode) { 48 // Create a display client and get the buffer. 56 // The buffer has not been created yet. This is OK, we will keep 60 ALOGE("Unable to create display client for shared buffer access"); 89 ALOGE("Pose failed to map ring buffer: ret:%d, addr:%p", ret, address_);
|
/frameworks/native/opengl/libagl/ |
H A D | BufferObjectManager.cpp | 44 // destroy all the buffer objects and their storage 53 buffer_t const* EGLBufferObjectManager::bind(GLuint buffer) argument 56 int32_t i = mBuffers.indexOfKey(buffer); 64 bo->name = buffer; 65 mBuffers.add(buffer, bo);
|
/frameworks/native/opengl/tests/gralloc/ |
H A D | gralloc.cpp | 49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888, local 53 status_t err = buffer->initCheck(); 60 buffer->lock( 107 buffer->unlock();
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
H A D | eglCreatePbufferFromClientBuffer.cpp | 1 /* EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list ) */ 4 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) { 45 reinterpret_cast<EGLClientBuffer>(buffer), 63 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) { 68 return android_eglCreatePbufferFromClientBuffer(_env, _this, dpy, buftype, buffer, config, attrib_list_ref, offset); 3 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) argument 62 android_eglCreatePbufferFromClientBufferInt(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | LineVerifierElem.java | 96 StringBuffer buffer = new StringBuffer(); 98 buffer.append(expectedLine); 99 buffer.append("\n"); 102 TestCase.fail("Expected line(s) not found:" + buffer.toString());
|
/frameworks/av/media/libaaudio/src/client/ |
H A D | AudioStreamInternalPlay.h | 52 aaudio_result_t write(const void *buffer, 80 aaudio_result_t processDataNow(void *buffer, 87 * @param buffer 91 aaudio_result_t writeNowWithConversion(const void *buffer,
|
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
H A D | Conversion.h | 179 * \brief Wrap an opaque buffer inside a `hidl_vec<uint8_t>`. 181 * \param[in] l The pointer to the beginning of the opaque buffer. 182 * \param[in] size The size of the buffer. 183 * \return A `hidl_vec<uint8_t>` that points to the buffer. 189 * \brief Create a `hidl_vec<uint8_t>` that is a copy of an opaque buffer. 191 * \param[in] l The pointer to the beginning of the opaque buffer. 192 * \param[in] size The size of the buffer. 193 * \return A `hidl_vec<uint8_t>` that is a copy of the input buffer. 234 * void*& buffer, size_t& size, 239 * void*& buffer, size_ [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.h | 60 // Last received output buffer's timestamp 67 const camera3_stream_buffer &buffer, 72 const camera3_stream_buffer &buffer, 99 // Hand out the buffer to a native location, 100 // incrementing the internal refcount and dequeued buffer count 101 void handoutBufferLocked(camera3_stream_buffer &buffer,
|
H A D | Camera3InputStream.h | 62 const camera3_stream_buffer &buffer, 72 virtual status_t getInputBufferLocked(camera3_stream_buffer *buffer); 74 const camera3_stream_buffer &buffer);
|
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 74 static inline SkImageInfo convertPixelFormat(const ANativeWindow_Buffer& buffer) { argument 77 switch (buffer.format) { 97 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType, 144 ANativeWindow_Buffer buffer; local 157 int32_t status = native_window_lock(window.get(), &buffer, &rect); 160 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); 163 bitmap.setInfo(convertPixelFormat(buffer), bytesCount); 165 if (buffer [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | GraphReader.java | 45 char[] buffer = new char[1024]; 48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) { 49 writer.write(buffer, 0, bytesRead);
|
/frameworks/base/media/native/midi/ |
H A D | midi.h | 49 uint8_t buffer[AMIDI_BUFFER_SIZE]; member in struct:__anon1081 139 * buffer Points to the array of bytes containing the data to send. 144 ssize_t AMIDI_send(AMIDI_InputPort *inputPort, uint8_t *buffer, ssize_t numBytes); 150 * buffer Points to the array of bytes containing the data to send. 156 ssize_t AMIDI_sendWithTimestamp(AMIDI_InputPort *inputPort, uint8_t *buffer,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ClipRegion2Activity.java | 43 StringBuffer buffer = new StringBuffer(); 45 buffer.append(LOREM_IPSUM); 47 return buffer;
|
H A D | ClipRegion3Activity.java | 43 StringBuffer buffer = new StringBuffer(); 45 buffer.append(LOREM_IPSUM); 47 return buffer;
|
/frameworks/base/tools/aapt2/format/binary/ |
H A D | ChunkWriter.h | 30 explicit inline ChunkWriter(BigBuffer* buffer) : buffer_(buffer) { argument 50 inline BigBuffer* buffer() { function in class:aapt::ChunkWriter
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Demangle.cpp | 29 char* buffer = local 30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status); 34 std::string result(buffer); 35 free(buffer);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsGOTPLT.cpp | 31 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin()); local 34 for (iterator it = begin(), ie = end(); it != ie; ++it, ++buffer) { 36 *buffer = static_cast<uint32_t>(got->getValue());
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/ |
H A D | RemoteInputStreamAdapter.java | 46 byte[] buffer = new byte[len]; 47 if (mDelegate.read(buffer, off, len) == -1) { 50 return buffer;
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | acquired_buffer.h | 21 // this constructor; the constructor does not attempt to ACQUIRE the buffer 23 AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, 28 // constructor attempts to ACQUIRE the buffer. If ACQUIRING the buffer fails 31 AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, int* error); 47 std::shared_ptr<BufferConsumer> buffer() const { return buffer_; } function in class:android::dvr::AcquiredBuffer 59 // Returns the buffer, passing ownership to the caller. Caller is responsible 60 // for calling Release on the returned buffer. 69 // Returns the slot in the queue this buffer belongs to. Buffers that are not
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Image.cpp | 68 bool Image::setNativeWindowBuffer(ANativeWindowBuffer* buffer, bool isProtected, int32_t cropWidth, argument 77 if (buffer) { 80 static_cast<EGLClientBuffer>(buffer), attrs.data());
|