/aosp12/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
H A D | Buffer.cpp | 43 nn::GeneralResult<void> copyTo(const nn::SharedBuffer& buffer, const hidl_memory& dst) { in copyTo() 49 nn::GeneralResult<void> copyFrom(const nn::SharedBuffer& buffer, const hidl_memory& src, in copyFrom() 58 Buffer::Buffer(nn::SharedBuffer buffer) : kBuffer(std::move(buffer)) { in Buffer()
|
/aosp12/frameworks/base/libs/hwui/apex/ |
H A D | android_canvas.cpp | 35 static bool convert(const ANativeWindow_Buffer* buffer, in convert() 61 ANativeWindow_Buffer buffer { 1, 1, 1, bufferFormat, pixels, {0} }; in ACanvas_isSupportedPixelFormat() local 69 ACanvas* ACanvas_createCanvas(const ANativeWindow_Buffer* buffer, in ACanvas_createCanvas() 80 bool ACanvas_setBuffer(ACanvas* canvas, const ANativeWindow_Buffer* buffer, in ACanvas_setBuffer()
|
/aosp12/system/core/fastboot/ |
H A D | tcp.cpp | 41 static uint64_t ExtractMessageLength(const void* buffer) { in ExtractMessageLength() 50 static void EncodeMessageLength(uint64_t length, void* buffer) { in EncodeMessageLength() 103 char buffer[kHandshakeLength + 1]; in InitializeProtocol() local 135 char buffer[8]; in Read() local
|
/aosp14/frameworks/base/libs/hwui/apex/ |
H A D | android_canvas.cpp | 37 static bool convert(const ANativeWindow_Buffer* buffer, in convert() 63 ANativeWindow_Buffer buffer { 1, 1, 1, bufferFormat, pixels, {0} }; in ACanvas_isSupportedPixelFormat() local 71 ACanvas* ACanvas_createCanvas(const ANativeWindow_Buffer* buffer, in ACanvas_createCanvas() 82 bool ACanvas_setBuffer(ACanvas* canvas, const ANativeWindow_Buffer* buffer, in ACanvas_setBuffer()
|
/aosp14/system/core/fastboot/ |
H A D | tcp.cpp | 41 static uint64_t ExtractMessageLength(const void* buffer) { in ExtractMessageLength() 50 static void EncodeMessageLength(uint64_t length, void* buffer) { in EncodeMessageLength() 103 char buffer[kHandshakeLength + 1]; in InitializeProtocol() local 135 char buffer[8]; in Read() local
|
/aosp12/frameworks/native/libs/nativewindow/tests/ |
H A D | ANativeWindowTest.cpp | 81 ANativeWindowBuffer* buffer; in TEST_F() local 99 ANativeWindowBuffer* buffer; in TEST_F() local 111 ANativeWindowBuffer* buffer; in TEST_F() local 131 ANativeWindowBuffer* buffer; in TEST_F() local 148 ANativeWindowBuffer* buffer; in TEST_F() local
|
/aosp12/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 83 uint32_t Image_getBlobSize(LockedImage* buffer, bool usingRGBAOverride) { in Image_getBlobSize() 119 status_t getLockedImageInfo(LockedImage* buffer, int idx, in getLockedImageInfo() 417 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage, in lockImageFromBuffer() 498 int getBufferWidth(BufferItem* buffer) { in getBufferWidth() 509 int getBufferHeight(BufferItem* buffer) { in getBufferHeight()
|
H A D | android_media_ImageReader.cpp | 152 BufferItem* buffer = new BufferItem; in JNIImageReaderContext() local 188 BufferItem* buffer = *it; in getBufferItem() local 289 const BufferItem* buffer) in Image_setBufferItem() 468 BufferItem* buffer = Image_getBufferItem(env, image); in Image_unlockIfLocked() local 509 BufferItem* buffer = Image_getBufferItem(env, image); in ImageReader_imageRelease() local 532 BufferItem* buffer = ctx->getBufferItem(); in ImageReader_imageSetup() local 698 BufferItem* buffer = Image_getBufferItem(env, thiz); in Image_getLockedImage() local 750 jobject buffer) { in ImageReader_unlockGraphicBuffer() 894 BufferItem* buffer = Image_getBufferItem(env, thiz); in Image_getWidth() local 900 BufferItem* buffer = Image_getBufferItem(env, thiz); in Image_getHeight() local [all …]
|
/aosp12/hardware/google/camera/common/hal/google_camera_hal/ |
H A D | pending_requests_tracker.cc | 89 for (auto& buffer : requested_buffers) { in TrackRequestBuffersLocked() local 107 for (auto& buffer : returned_buffers) { in TrackReturnedResultBuffers() local 140 for (auto& buffer : returned_buffers) { in TrackReturnedAcquiredBuffers() local 181 for (auto& buffer : buffers) { in DoStreamsHaveEnoughBuffersLocked() local 224 for (auto& buffer : requested_buffers) { in UpdateRequestedStreamIdsLocked() local
|
/aosp12/system/connectivity/wificond/tests/ |
H A D | nl80211_attribute_unittest.cpp | 202 std::vector<uint8_t> buffer; in TEST() local 208 std::vector<uint8_t> buffer( in TEST() local 216 std::vector<uint8_t> buffer( in TEST() local 226 std::vector<uint8_t> buffer( in TEST() local 235 std::vector<uint8_t> buffer( in TEST() local 244 std::vector<uint8_t> buffer( in TEST() local 253 std::vector<uint8_t> buffer( in TEST() local 265 std::vector<uint8_t> buffer( in TEST() local 283 std::vector<uint8_t> buffer( in TEST() local
|
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 154 BufferItem* buffer = new BufferItem; in JNIImageReaderContext() local 190 BufferItem* buffer = *it; in getBufferItem() local 291 const BufferItem* buffer) in Image_setBufferItem() 471 BufferItem* buffer = Image_getBufferItem(env, image); in Image_unlockIfLocked() local 512 BufferItem* buffer = Image_getBufferItem(env, image); in ImageReader_imageRelease() local 535 BufferItem* buffer = ctx->getBufferItem(); in ImageReader_imageSetup() local 714 BufferItem* buffer = Image_getBufferItem(env, thiz); in Image_getLockedImage() local 766 jobject buffer) { in ImageReader_unlockGraphicBuffer() 908 BufferItem* buffer = Image_getBufferItem(env, thiz); in Image_getWidth() local 914 BufferItem* buffer = Image_getBufferItem(env, thiz); in Image_getHeight() local [all …]
|
/aosp12/frameworks/native/libs/ui/ |
H A D | DisplayMode.cpp | 40 status_t DisplayMode::flatten(void* buffer, size_t size) const { in flatten() 56 status_t DisplayMode::unflatten(const void* buffer, size_t size) { in unflatten()
|
H A D | StaticDisplayInfo.cpp | 35 status_t StaticDisplayInfo::flatten(void* buffer, size_t size) const { in flatten() 46 status_t StaticDisplayInfo::unflatten(void const* buffer, size_t size) { in unflatten()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | IPAddressTypeAvailabilityElementTest.java | 62 ByteBuffer buffer = ByteBuffer.allocate( in parseBufferWithExcessData() local 78 ByteBuffer buffer = ByteBuffer.allocate( in parseBufferWithTestData() local
|
/aosp12/frameworks/av/media/libmedia/include/media/ |
H A D | MediaCodecBuffer.h | 74 virtual bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const { in canCopy() 87 virtual bool copy(const std::shared_ptr<C2Buffer> &buffer) { in copy()
|
/aosp12/frameworks/av/media/libnbaio/ |
H A D | Pipe.cpp | 28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : in Pipe() 48 ssize_t Pipe::write(const void *buffer, size_t count) in write()
|
/aosp12/frameworks/minikin/tests/util/ |
H A D | BufferUtils.h | 43 std::vector<uint8_t> buffer = allocateBuffer(t); in writeToBuffer() local 51 std::vector<uint8_t> buffer = allocateBuffer<T, arg>(t); in writeToBuffer() local
|
/aosp12/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
H A D | MapperVts.cpp | 56 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local 63 auto buffer = const_cast<native_handle_t*>(bufferHandle); in ~Gralloc() local 167 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer() local 182 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock() local 214 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lockYCbCr() local 240 auto buffer = const_cast<native_handle_t*>(bufferHandle); in unlock() local 264 auto buffer = const_cast<native_handle_t*>(bufferHandle); in validateBufferSize() local 272 auto buffer = const_cast<native_handle_t*>(bufferHandle); in getTransportSize() local
|
/aosp12/hardware/qcom/sdm845/display/gralloc/ |
H A D | gr_device_impl.cpp | 278 buffer_handle_t buffer) { in CheckDeviceAndHandle() 365 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore() 377 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage() 399 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat() 409 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount() 433 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride() 490 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer() 501 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer() 578 gralloc1_error_t GrallocImpl::LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in LockBuffer() 620 gralloc1_error_t GrallocImpl::LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, in LockFlex() [all …]
|
/aosp12/hardware/qcom/sm7250/display/gralloc/ |
H A D | gr_device_impl.cpp | 278 buffer_handle_t buffer) { in CheckDeviceAndHandle() 368 int32_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore() 383 int32_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage() 413 int32_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat() 427 int32_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount() 455 int32_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride() 512 int32_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer() 523 int32_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer() 600 int32_t GrallocImpl::LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in LockBuffer() 642 int32_t GrallocImpl::LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, in LockFlex() [all …]
|
/aosp12/hardware/qcom/sm8150/display/gralloc/ |
H A D | gr_device_impl.cpp | 278 buffer_handle_t buffer) { in CheckDeviceAndHandle() 365 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore() 380 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage() 410 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat() 424 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount() 452 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride() 509 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer() 520 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer() 597 gralloc1_error_t GrallocImpl::LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in LockBuffer() 639 gralloc1_error_t GrallocImpl::LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, in LockFlex() [all …]
|
/aosp12/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 213 int index, byte[] buffer, int length, int timeout) { in controlTransfer() 238 byte[] buffer, int offset, int length, int timeout) { in controlTransfer() 265 byte[] buffer, int length, int timeout) { in bulkTransfer() 285 byte[] buffer, int offset, int length, int timeout) { in bulkTransfer() 385 private static void checkBounds(byte[] buffer, int start, int length) { in checkBounds() 412 int index, byte[] buffer, int offset, int length, int timeout); in native_control_request() 413 private native int native_bulk_request(int endpoint, byte[] buffer, in native_bulk_request()
|
/aosp12/system/chre/util/ |
H A D | buffer_base.cc | 29 void BufferBase::wrap(void *buffer, size_t size) { in wrap() 37 bool BufferBase::copy_array(const void *buffer, size_t size, in copy_array()
|
/aosp12/system/core/fs_mgr/libdm/ |
H A D | loop_control_test.cpp | 42 char buffer[] = "Hello"; in TempFile() local 59 char buffer[6]; in TEST() local
|
/aosp12/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | in_memory_wrapper_input.cpp | 22 InMemoryWrapperInput::InMemoryWrapperInput(const char* buffer, size_t size) : in InMemoryWrapperInput() 29 size_t InMemoryWrapperInput::Read(uint8_t* buffer, size_t wanted) { in Read()
|