Home
last modified time | relevance | path

Searched refs:sidebandStream (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/jni/tvinput/
DTvInputHal_hidl.cpp109 native_handle_t* sidebandStream; in hidlOpenStream() local
111 [&result, &sidebandStream](Result res, const native_handle_t* handle) { in hidlOpenStream()
115 sidebandStream = native_handle_clone(handle); in hidlOpenStream()
124 *_aidl_return = makeToAidl(sidebandStream); in hidlOpenStream()
125 native_handle_delete(sidebandStream); in hidlOpenStream()
DJTvInputHal.cpp104 AidlNativeHandle sidebandStream; in addOrUpdateStream() local
105 status = mTvInput->openStream(deviceId, streamId, &sidebandStream); in addOrUpdateStream()
111 connection.mSourceHandle = NativeHandle::create(dupFromAidl(sidebandStream), true); in addOrUpdateStream()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp102 return ((sidebandStream != nullptr) || (externalTexture != nullptr)); in hasBufferOrSidebandStream()
187 if (sidebandStream != nullptr) reason << " sidebandStream"; in getIsVisibleReason()
290 sidebandStream = requested.sidebandStream; in merge()
DRequestedLayerState.cpp139 const bool hadSideStream = sidebandStream != nullptr; in merge()
202 const bool hasSideStream = sidebandStream != nullptr; in merge()
387 if (sidebandStream || externalTexture) { in getColor()
445 if (sidebandStream.get()) { in getCompositionType()
503 return hasFrameUpdate() && sidebandStream.get(); in hasSidebandStreamFrame()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h172 sp<NativeHandle> sidebandStream; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h329 const sp<NativeHandle>& sidebandStream) { in setLayerSidebandStream() argument
330 layer->mDrawingState.sidebandStream = sidebandStream; in setLayerSidebandStream()
331 layer->mSidebandStream = sidebandStream; in setLayerSidebandStream()
332 layer->editLayerSnapshot()->sidebandStream = sidebandStream; in setLayerSidebandStream()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp112 dumpVal(out, "sideband stream", sidebandStream.get()); in dump()
DOutputLayer.cpp619 if (auto error = hwcLayer->setSidebandStream(outputIndependentState.sidebandStream->handle()); in writeSidebandStateToHWC()
622 outputIndependentState.sidebandStream->handle(), to_string(error).c_str(), in writeSidebandStateToHWC()
DOutput.cpp909 if (compState->sidebandStream != nullptr) { in findLayerRequestingBackgroundComposition()
1424 disableBlurs |= layerFEState->sidebandStream != nullptr; in generateClientCompositionRequests()
/frameworks/native/libs/gui/
DLayerState.cpp132 if (sidebandStream) { in write()
134 SAFE_PARCEL(output.writeNativeHandle, sidebandStream->handle()); in write()
257 sidebandStream = NativeHandle::create(input.readNativeHandle(), true); in read()
616 sidebandStream = other.sidebandStream; in merge()
DSurfaceComposerClient.cpp1856 const sp<SurfaceControl>& sc, const sp<NativeHandle>& sidebandStream) { in setSidebandStream() argument
1863 s->sidebandStream = sidebandStream; in setSidebandStream()
/frameworks/native/services/surfaceflinger/
DLayer.cpp253 if (mDrawingState.sidebandStream != nullptr) { in ~Layer()
686 if (snapshot->sidebandStream.get() && !snapshot->sidebandStreamHasFrame) { in preparePerFrameBufferCompositionState()
3314 bool Layer::setSidebandStream(const sp<NativeHandle>& sidebandStream) { in setSidebandStream() argument
3315 if (mDrawingState.sidebandStream == sidebandStream) return false; in setSidebandStream()
3317 if (mDrawingState.sidebandStream != nullptr && sidebandStream == nullptr) { in setSidebandStream()
3319 } else if (sidebandStream != nullptr) { in setSidebandStream()
3323 mDrawingState.sidebandStream = sidebandStream; in setSidebandStream()
3441 mSidebandStream = s.sidebandStream; in latchSidebandStream()
3442 snapshot->sidebandStream = mSidebandStream; in latchSidebandStream()
3788 if (mDrawingState.sidebandStream != s.sidebandStream) { in isSimpleBufferUpdate()
DLayer.h161 sp<NativeHandle> sidebandStream; member
1147 return ((mDrawingState.sidebandStream != nullptr) || (mDrawingState.buffer != nullptr)); in hasBufferOrSidebandStreamInDrawing()
DLayerFE.cpp362 return mSnapshot->externalTexture || mSnapshot->sidebandStream; in hasBufferOrSidebandStream()
DSurfaceFlinger.cpp4973 if (layer->setSidebandStream(s.sidebandStream)) flags |= eTraversalNeeded; in setClientStateLocked()
5211 if (layer->setSidebandStream(s.sidebandStream)) flags |= eTraversalNeeded; in updateLayerCallbacksAndStats()
/frameworks/native/libs/gui/include/gui/
DLayerState.h327 sp<NativeHandle> sidebandStream; member
DSurfaceComposerClient.h596 const sp<NativeHandle>& sidebandStream);
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DLayerStateTest.cpp814 layerFECompositionState.sidebandStream = NativeHandle::create(sFakeSidebandStreamOne, false); in TEST_F()
822 layerFECompositionStateTwo.sidebandStream = NativeHandle::create(sFakeSidebandStreamTwo, false); in TEST_F()
832 layerFECompositionState.sidebandStream = NativeHandle::create(sFakeSidebandStreamOne, false); in TEST_F()
839 layerFECompositionStateTwo.sidebandStream = NativeHandle::create(sFakeSidebandStreamTwo, false); in TEST_F()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp530 native_handle_t* sidebandStream{}; in TEST_P() local
531 c2_status_t err = mComponent->configureVideoTunnel(0, &sidebandStream); in TEST_P()
537 sp<NativeHandle> nativeHandle = NativeHandle::create(sidebandStream, true); in TEST_P()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h407 ->sidebandStream.get();
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp167 proto.set_has_sideband_stream(layer.sidebandStream != nullptr); in toProto()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp827 mLayerFEState.sidebandStream = NativeHandle::create(kSidebandStreamHandle, false); in OutputLayerWriteStateToHWCTest()