/frameworks/native/libs/gui/fuzzer/ |
D | libgui_bufferQueue_fuzzer.cpp | 94 sp<BnGraphicBufferProducer> producer; in makeSurfaceControl() local 156 void BufferQueueFuzzer::invokeQuery(sp<BufferQueueProducer> producer) { in invokeQuery() argument 158 producer->query(mFdp.ConsumeIntegral<int32_t>(), &value); in invokeQuery() 161 void BufferQueueFuzzer::invokeQuery(sp<V1_0::utils::H2BGraphicBufferProducer> producer) { in invokeQuery() argument 163 producer->query(mFdp.ConsumeIntegral<int32_t>(), &value); in invokeQuery() 166 void BufferQueueFuzzer::invokeQuery(sp<V2_0::utils::H2BGraphicBufferProducer> producer) { in invokeQuery() argument 168 producer->query(mFdp.ConsumeIntegral<int32_t>(), &value); in invokeQuery() 173 sp<BufferQueueProducer> producer(new BufferQueueProducer(core)); in invokeBufferQueueProducer() local 177 producer->connect(listener, api, mFdp.ConsumeBool() /*producerControlledByApp*/, &output); in invokeBufferQueueProducer() 182 producer->requestBuffer(slot, &buffer); in invokeBufferQueueProducer() [all …]
|
D | libgui_parcelable_fuzzer.cpp | 153 sp<IGraphicBufferProducer> producer; in invokeStreamSplitter() local 155 BufferQueue::createBufferQueue(&producer, &consumer); in invokeStreamSplitter() 158 splitter->addOutput(producer); in invokeStreamSplitter()
|
/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 | 78 const sp<IGraphicBufferProducer>& producer) { in createNativeWindowSurface() argument 79 return surfaceflinger::impl::createNativeWindowSurface(producer); in createNativeWindowSurface()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 148 sp<IGraphicBufferProducer> producer; in TEST_F() local 150 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 152 sp<Surface> mSTC = new Surface(producer); in TEST_F() 268 sp<IGraphicBufferProducer> producer; in TEST_F() local 270 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 272 sp<Surface> mSTC = new Surface(producer); in TEST_F() 316 sp<IGraphicBufferProducer> producer; in TEST_F() local 318 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 320 sp<Surface> mSTC = new Surface(producer); in TEST_F() 413 sp<IGraphicBufferProducer> producer; in TEST_F() local [all …]
|
/frameworks/base/core/jni/ |
D | android_graphics_SurfaceTexture.cpp | 55 jfieldID producer; member 99 const sp<IGraphicBufferProducer>& producer) in SurfaceTexture_setProducer() argument 102 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_setProducer() 103 if (producer.get()) { in SurfaceTexture_setProducer() 104 producer->incStrong((void*)SurfaceTexture_setProducer); in SurfaceTexture_setProducer() 109 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); in SurfaceTexture_setProducer() 132 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer() 214 fields.producer = env->GetFieldID(clazz, in SurfaceTexture_classInit() 216 if (fields.producer == NULL) { in SurfaceTexture_classInit() 237 sp<IGraphicBufferProducer> producer; in SurfaceTexture_init() local [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2BqBufferPriv.h | 60 typedef std::function<void(uint64_t producer, int32_t slot, int64_t nsecs)> OnRenderCallback; 81 virtual void configureProducer(const android::sp<HGraphicBufferProducer> &producer); 98 const android::sp<HGraphicBufferProducer> &producer, 134 const android::sp<HGraphicBufferProducer>& producer); 140 const android::sp<HGraphicBufferProducer>& producer, 147 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/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 260 bool getGenerationNumberAndUsage(const sp<HGraphicBufferProducer> &producer, in getGenerationNumberAndUsage() argument 269 Return<void> transResult = producer->dequeueBuffer( in getGenerationNumberAndUsage() 286 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage() 293 transResult = producer->requestBuffer( in getGenerationNumberAndUsage() 312 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage() 315 (void)producer->detachBuffer(static_cast<int32_t>(slot)).isOk(); in getGenerationNumberAndUsage() 652 void configureProducer(const sp<HGraphicBufferProducer> &producer) { in configureProducer() argument 657 if (producer) { in configureProducer() 658 Return<uint64_t> transResult = producer->getUniqueId(); in configureProducer() 664 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() 332 sp<IGraphicBufferProducer> producer; in TEST_F() local 334 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 337 sp<Surface> s = new Surface(producer); in TEST_F() 350 sp<IGraphicBufferProducer> producer; in TEST_F() local 352 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 357 sp<Surface> s = new Surface(producer); in TEST_F() 371 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 | 183 sp<IGraphicBufferProducer> *producer) { in getInputBufferProducerLocked() argument 186 if (producer == NULL) { in getInputBufferProducerLocked() 193 *producer = mProducer; in getInputBufferProducerLocked() 241 sp<IGraphicBufferProducer> producer; in configureQueueLocked() local 243 BufferQueue::createBufferQueue(&producer, &consumer); in configureQueueLocked() 246 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked() 277 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 | 51 sp<IGraphicBufferProducer> producer; in getScreenCapture() local 54 BufferQueue::createBufferQueue(&producer, &consumer); in getScreenCapture() 70 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/gui/ |
D | BufferQueue.cpp | 113 sp<IGraphicBufferProducer> producer(new BufferQueueProducer(core, consumerIsSurfaceFlinger)); in createBufferQueue() local 114 LOG_ALWAYS_FATAL_IF(producer == nullptr, in createBufferQueue() 121 *outProducer = producer; in createBufferQueue()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/ |
D | WindowExtensionsImpl.java | 81 DeviceStateManagerFoldingFeatureProducer producer = in getWindowLayoutComponentImpl() local 83 mWindowLayoutComponent = new WindowLayoutComponentImpl(context, producer); in getWindowLayoutComponentImpl()
|