/frameworks/native/services/vr/bufferhubd/ |
D | consumer_channel.cpp | 21 const std::shared_ptr<Channel> producer) in ConsumerChannel() argument 24 producer_(producer) { in ConsumerChannel() 33 if (auto producer = GetProducer()) { in ~ConsumerChannel() local 34 producer->RemoveConsumer(this); in ~ConsumerChannel() 40 if (auto producer = GetProducer()) { in GetBufferInfo() local 42 info = producer->GetBufferInfo(); in GetBufferInfo() 68 auto producer = GetProducer(); in HandleMessage() local 69 if (!producer) in HandleMessage() 80 *producer, &ProducerChannel::OnNewConsumer, message); in HandleMessage() 102 if (auto producer = GetProducer()) { in OnGetBuffer() local [all …]
|
D | consumer_queue_channel.cpp | 16 const std::shared_ptr<Channel>& producer, bool silent) in ConsumerQueueChannel() argument 18 producer_(producer), in ConsumerQueueChannel() 28 if (auto producer = GetProducer()) { in ~ConsumerQueueChannel() local 29 producer->RemoveConsumer(this); in ~ConsumerQueueChannel() 35 auto producer = GetProducer(); in HandleMessage() local 36 if (!producer) { in HandleMessage() 44 *producer, &ProducerQueueChannel::OnCreateConsumerQueue, message); in HandleMessage() 49 *producer, &ProducerQueueChannel::OnGetQueueInfo, message); in HandleMessage() 73 if (auto producer = GetProducer()) { in GetBufferInfo() local 75 info = producer->GetBufferInfo(); in GetBufferInfo()
|
/frameworks/native/services/surfaceflinger/ |
D | NativeWindowSurface.cpp | 29 const sp<IGraphicBufferProducer>& producer) { in createNativeWindowSurface() argument 32 explicit NativeWindowSurface(const sp<IGraphicBufferProducer>& producer) in createNativeWindowSurface() argument 33 : mSurface(sp<Surface>::make(producer, /* controlledByApp */ false)) {} in createNativeWindowSurface() 45 return std::make_unique<NativeWindowSurface>(producer); in createNativeWindowSurface()
|
D | SurfaceFlingerDefaultFactory.cpp | 72 const sp<IGraphicBufferProducer>& producer) { in createNativeWindowSurface() argument 73 return surfaceflinger::impl::createNativeWindowSurface(producer); in createNativeWindowSurface()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 151 sp<IGraphicBufferProducer> producer; in TEST_F() local 153 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 155 sp<Surface> mSTC = new Surface(producer); in TEST_F() 271 sp<IGraphicBufferProducer> producer; in TEST_F() local 273 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 275 sp<Surface> mSTC = new Surface(producer); in TEST_F() 319 sp<IGraphicBufferProducer> producer; in TEST_F() local 321 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 323 sp<Surface> mSTC = new Surface(producer); in TEST_F() 416 sp<IGraphicBufferProducer> producer; in TEST_F() local [all …]
|
/frameworks/base/core/jni/ |
D | android_graphics_SurfaceTexture.cpp | 52 jfieldID producer; member 97 const sp<IGraphicBufferProducer>& producer) in SurfaceTexture_setProducer() argument 100 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_setProducer() 101 if (producer.get()) { in SurfaceTexture_setProducer() 102 producer->incStrong((void*)SurfaceTexture_setProducer); in SurfaceTexture_setProducer() 107 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); in SurfaceTexture_setProducer() 130 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer() 232 fields.producer = env->GetFieldID(clazz, in SurfaceTexture_classInit() 234 if (fields.producer == NULL) { in SurfaceTexture_classInit() 262 sp<IGraphicBufferProducer> producer; in SurfaceTexture_init() local [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2BqBufferPriv.h | 78 typedef std::function<void(uint64_t producer, int32_t slot, int64_t nsecs)> OnRenderCallback; 101 virtual void configureProducer(const android::sp<HGraphicBufferProducer> &producer); 120 const android::sp<HGraphicBufferProducer> &producer, 176 const android::sp<HGraphicBufferProducer>& producer); 182 const android::sp<HGraphicBufferProducer>& producer, 189 int migrate(const android::sp<HGraphicBufferProducer>& producer,
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | surface_texture.cpp | 36 android::sp<android::IGraphicBufferProducer> producer; member 45 jfieldID producer; member 61 fields.producer = env->GetFieldID(clazz, in SurfaceTexture_classInit() 63 if (fields.producer == NULL) { in SurfaceTexture_classInit() 104 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer() 114 ast->producer = SurfaceTexture_getProducer(env, surfacetexture); in ASurfaceTexture_fromSurfaceTexture() 119 sp<Surface> surface = new Surface(st->producer); in ASurfaceTexture_acquireANativeWindow()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestContext.cpp | 104 sp<IGraphicBufferProducer> producer; in createOffscreenSurface() local 106 BufferQueue::createBufferQueue(&producer, &consumer); in createOffscreenSurface() 107 producer->setMaxDequeuedBufferCount(3); in createOffscreenSurface() 108 producer->setAsyncMode(true); in createOffscreenSurface() 112 mSurface = new Surface(producer); in createOffscreenSurface()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/ |
D | DisplayFoldFeatureUtil.java | 53 DeviceStateManagerFoldingFeatureProducer producer) { in extractDisplayFoldFeatures() argument 55 List<CommonFoldingFeature> folds = producer.getFoldsWithUnknownState(); in extractDisplayFoldFeatures() 57 final boolean isHalfOpenedSupported = producer.isHalfOpenedSupported(); in extractDisplayFoldFeatures()
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 264 bool getGenerationNumberAndUsage(const sp<HGraphicBufferProducer> &producer, in getGenerationNumberAndUsage() argument 273 Return<void> transResult = producer->dequeueBuffer( in getGenerationNumberAndUsage() 290 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage() 297 transResult = producer->requestBuffer( in getGenerationNumberAndUsage() 316 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage() 319 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage() 680 void configureProducer(const sp<HGraphicBufferProducer> &producer) { in configureProducer() argument 685 if (producer) { in configureProducer() 686 Return<uint64_t> transResult = producer->getUniqueId(); in configureProducer() 692 bqInformation = getGenerationNumberAndUsage(producer, &generation, &usage); in configureProducer() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL.h | 41 sp<IGraphicBufferProducer> producer; in SetUp() local 42 BufferQueue::createBufferQueue(&producer, &mConsumer); in SetUp() 45 mSTC = new Surface(producer); in SetUp()
|
D | Malicious.cpp | 30 explicit ProxyBQP(const sp<IGraphicBufferProducer>& producer) : mProducer(producer) {} in ProxyBQP() argument 105 explicit MaliciousBQP(const sp<IGraphicBufferProducer>& producer) : ProxyBQP(producer) {} in MaliciousBQP() argument 140 sp<IGraphicBufferProducer> producer; in getMaliciousBQP() local 142 BufferQueue::createBufferQueue(&producer, &consumer); in getMaliciousBQP() 146 sp<MaliciousBQP> malicious = new MaliciousBQP(producer); in getMaliciousBQP()
|
D | Surface_test.cpp | 132 sp<IGraphicBufferProducer> producer; in testSurfaceListener() local 134 BufferQueue::createBufferQueue(&producer, &consumer); in testSurfaceListener() 140 sp<Surface> surface = new Surface(producer); in testSurfaceListener() 267 sp<IGraphicBufferProducer> producer; in TEST_F() local 269 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 272 sp<Surface> s = new Surface(producer); in TEST_F() 285 sp<IGraphicBufferProducer> producer; in TEST_F() local 287 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 292 sp<Surface> s = new Surface(producer); in TEST_F() 306 sp<IGraphicBufferProducer> producer; in TEST_F() local [all …]
|
D | MultiTextureConsumer_test.cpp | 37 sp<IGraphicBufferProducer> producer; in SetUp() local 39 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp() 42 mSurface = new Surface(producer); in SetUp()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3InputStream.cpp | 184 sp<IGraphicBufferProducer> *producer) { in getInputBufferProducerLocked() argument 187 if (producer == NULL) { in getInputBufferProducerLocked() 194 *producer = mProducer; in getInputBufferProducerLocked() 242 sp<IGraphicBufferProducer> producer; in configureQueueLocked() local 244 BufferQueue::createBufferQueue(&producer, &consumer); in configureQueueLocked() 247 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked() 278 mProducer = producer; in configureQueueLocked()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTransaction_test.cpp | 82 const auto producer = layer->getIGraphicBufferProducer(); in TEST_F() local 85 ASSERT_EQ(OK, producer->connect(stubListener, NATIVE_WINDOW_API_CPU, true, &queueBufferOutput)); in TEST_F() 103 producer->dequeueBuffer(&slot, &fence, width, height, PIXEL_FORMAT_RGBA_8888, in TEST_F() 108 ASSERT_EQ(OK, producer->requestBuffer(slot, &newBuf)); in TEST_F() 124 ASSERT_EQ(OK, producer->queueBuffer(slot, input, &output)); in TEST_F() 155 ASSERT_EQ(OK, producer->disconnect(NATIVE_WINDOW_API_CPU)); in TEST_F()
|
D | TransactionTestHarnesses.h | 54 sp<IGraphicBufferProducer> producer; in getScreenCapture() local 57 BufferQueue::createBufferQueue(&producer, &consumer); in getScreenCapture() 79 t.setDisplaySurface(vDisplay, producer); in getScreenCapture()
|
/frameworks/av/media/codec2/core/include/ |
D | C2BufferBase.h | 82 inline C2MemoryUsage(uint64_t consumer, uint64_t producer) in C2MemoryUsage() 83 : expected(consumer | producer) { } in C2MemoryUsage()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
D | AcceptOnceConsumer.java | 32 public AcceptOnceConsumer(@NonNull AcceptOnceProducerCallback<T> producer, in AcceptOnceConsumer() argument 34 mProducer = producer; in AcceptOnceConsumer()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.cpp | 90 android::sp<android::IGraphicBufferProducer> producer; in android_eglCreateWindowSurfaceTexture() local 111 producer = android::SurfaceTexture_getProducer(_env, win); in android_eglCreateWindowSurfaceTexture() 113 if (producer == NULL) in android_eglCreateWindowSurfaceTexture() 116 window = new android::Surface(producer, true); in android_eglCreateWindowSurfaceTexture()
|
/frameworks/av/cmds/screenrecord/ |
D | FrameOutput.cpp | 70 sp<IGraphicBufferProducer> producer; in createInputSurface() local 72 BufferQueue::createBufferQueue(&producer, &consumer); in createInputSurface() 77 producer->setMaxDequeuedBufferCount(4); in createInputSurface() 84 *pBufferProducer = producer; in createInputSurface()
|
/frameworks/native/libs/bufferstreams/examples/app/jni/ |
D | main.cpp | 45 android::sp<android::IGraphicBufferProducer> producer; in Java_com_android_graphics_bufferstreamsdemoapp_BufferStreamJNI_testBufferQueueCreation() local 49 android::BufferQueue::createBufferQueue(&producer, &consumer); in Java_com_android_graphics_bufferstreamsdemoapp_BufferStreamJNI_testBufferQueueCreation()
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 123 sp<IGraphicBufferProducer> producer(new BufferQueueProducer(core, consumerIsSurfaceFlinger)); in createBufferQueue() local 124 LOG_ALWAYS_FATAL_IF(producer == nullptr, in createBufferQueue() 131 *outProducer = producer; in createBufferQueue()
|
/frameworks/av/media/libstagefright/ |
D | FrameCaptureLayer.cpp | 128 sp<IGraphicBufferProducer> producer; in init() local 131 BufferQueue::createBufferQueue(&producer, &consumer); in init() 145 mSurface = new Surface(producer); in init()
|