Searched refs:LayerHandle (Results 1 – 8 of 8) sorted by relevance
25 LayerHandle::LayerHandle(const sp<android::SurfaceFlinger>& flinger, in LayerHandle() function in android::surfaceflinger::LayerHandle29 LayerHandle::~LayerHandle() { in ~LayerHandle()35 const String16 LayerHandle::kDescriptor = String16("android.Layer.LayerHandle");37 sp<LayerHandle> LayerHandle::fromIBinder(const sp<IBinder>& binder) { in fromIBinder()43 if (b == nullptr || b->getInterfaceDescriptor() != LayerHandle::kDescriptor) { in fromIBinder()49 return sp<LayerHandle>::cast(binder); in fromIBinder()52 sp<android::Layer> LayerHandle::getLayer(const sp<IBinder>& binder) { in getLayer()53 sp<LayerHandle> handle = LayerHandle::fromIBinder(binder); in getLayer()57 uint32_t LayerHandle::getLayerId(const sp<IBinder>& binder) { in getLayerId()58 sp<LayerHandle> handle = LayerHandle::fromIBinder(binder); in getLayerId()
37 class LayerHandle : public BBinder {39 LayerHandle(const sp<android::SurfaceFlinger>& flinger, const sp<android::Layer>& layer);41 LayerHandle(uint32_t layerId) : mFlinger(nullptr), mLayer(nullptr), mLayerId(layerId) {} in LayerHandle() function42 ~LayerHandle();45 static sp<LayerHandle> fromIBinder(const sp<IBinder>& handle);
66 sp<Layer> layer = LayerHandle::getLayer(handle); in clearLayerFrameStats()78 sp<Layer> layer = LayerHandle::getLayer(handle); in getLayerFrameStats()
178 "FrontEnd/LayerHandle.cpp",
299 return LayerHandle::getLayerId(surfaceControl->getHandle()); in getLayerIdFromSurfaceControl()1948 const sp<Layer> stopLayer = LayerHandle::getLayer(stopLayerHandle); in addRegionSamplingListener()4792 args.parentId = LayerHandle::getLayerId(args.parentHandle.promote()); in addClientLayer()4793 args.layerIdToMirror = LayerHandle::getLayerId(args.mirrorLayerHandle.promote()); in addClientLayer()4881 sp<Layer> layer = LayerHandle::getLayer(resolvedState.state.surface); in transactionReadyBufferCheckLegacy()5239 sp<Layer> layer = LayerHandle::getLayer(resolvedState.state.surface); in setTransactionState()5250 resolvedState.layerId = LayerHandle::getLayerId(resolvedState.state.surface); in setTransactionState()5263 LayerHandle::getLayerId(touchableRegionCropHandle.promote()); in setTransactionState()5341 if (const auto layer = LayerHandle::getLayer(resolvedState.state.surface)) { in applyTransactionState()5516 layer = LayerHandle::getLayer(s.surface); in setClientStateLocked()[all …]
345 return sp<LayerHandle>::make(mFlinger, sp<Layer>::fromExisting(this)); in getHandle()937 sp<Layer> relative = LayerHandle::getLayer(relativeToHandle); in setRelativeLayer()1762 newParent = LayerHandle::getLayer(newParentHandle); in reparent()2169 LayerHandle::getLayer(info.touchableRegionCropHandle.promote()); in setInputInfo()
705 auto fromHandle(const sp<IBinder>& handle) { return LayerHandle::getLayer(handle); } in fromHandle()
368 const auto layerId = static_cast<int32_t>(LayerHandle::getLayerId(layerHandle)); in createDisplayEventConnection()