Home
last modified time | relevance | path

Searched refs:frontend (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dfrontend_tests.cc88 HeavyOptimizerFrontend frontend(&machine_ir, kStartGuestAddr); in TEST() local
90 frontend.StartInsn(); in TEST()
91 auto tmp = frontend.GetImm(0xbeefULL); in TEST()
92 frontend.IncrementInsnAddr(kInsnSize); in TEST()
94 frontend.StartInsn(); in TEST()
95 frontend.SetReg(3, tmp); in TEST()
96 frontend.SetReg(3, tmp); in TEST()
97 frontend.IncrementInsnAddr(kInsnSize); in TEST()
99 frontend.StartInsn(); in TEST()
100 frontend.SetReg(3, tmp); in TEST()
[all …]
Dheavy_optimize_region.cc41 HeavyOptimizerFrontend frontend(&machine_ir, pc); in HeavyOptimizeRegion() local
42 SemanticsPlayer sem_player(&frontend); in HeavyOptimizeRegion()
47 !frontend.IsRegionEndReached()) { in HeavyOptimizeRegion()
48 frontend.StartInsn(); in HeavyOptimizeRegion()
49 auto size = decoder.Decode(ToHostAddr<uint16_t>(frontend.GetInsnAddr())); in HeavyOptimizeRegion()
50 if (!frontend.success()) { in HeavyOptimizeRegion()
54 frontend.IncrementInsnAddr(size); in HeavyOptimizeRegion()
58 auto stop_pc = frontend.GetInsnAddr(); in HeavyOptimizeRegion()
59 frontend.Finalize(stop_pc); in HeavyOptimizeRegion()
68 return {stop_pc, frontend.success(), number_of_instructions}; in HeavyOptimizeRegion()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.h75 const frontend::RequestedLayerState& requestedState,
76 const frontend::LayerSnapshot& snapshot, uint32_t traceFlags);
78 writeDisplayInfoToProto(const frontend::DisplayInfos&);
83 LayerProtoFromSnapshotGenerator(const frontend::LayerSnapshotBuilder& snapshotBuilder, in LayerProtoFromSnapshotGenerator()
84 const frontend::DisplayInfos& displayInfos, in LayerProtoFromSnapshotGenerator()
91 perfetto::protos::LayersProto generate(const frontend::LayerHierarchy& root);
94 void writeHierarchyToProto(const frontend::LayerHierarchy& root,
95 frontend::LayerHierarchy::TraversalPath& path);
96 frontend::LayerSnapshot* getSnapshot(frontend::LayerHierarchy::TraversalPath& path,
97 const frontend::RequestedLayerState& layer);
[all …]
DFpsReporter.cpp34 void FpsReporter::dispatchLayerFps(const frontend::LayerHierarchy& layerHierarchy) { in dispatchLayerFps()
54 std::vector<std::pair<TrackedListener, const frontend::LayerHierarchy*>> in dispatchLayerFps()
57 layerHierarchy.traverse([&](const frontend::LayerHierarchy& hierarchy, in dispatchLayerFps()
58 const frontend::LayerHierarchy::TraversalPath& traversalPath) { in dispatchLayerFps()
59 if (traversalPath.variant == frontend::LayerHierarchy::Variant::Detached) { in dispatchLayerFps()
82 hierarchy->traverse([&](const frontend::LayerHierarchy& hierarchy, in dispatchLayerFps()
83 const frontend::LayerHierarchy::TraversalPath& traversalPath) { in dispatchLayerFps()
84 if (traversalPath.variant == frontend::LayerHierarchy::Variant::Detached) { in dispatchLayerFps()
DLayerProtoHelper.cpp267 const frontend::LayerHierarchy& root) { in generate()
278 frontend::LayerHierarchy::TraversalPath path = frontend::LayerHierarchy::TraversalPath::ROOT; in generate()
280 if (variant != frontend::LayerHierarchy::Variant::Attached || in generate()
284 frontend::LayerHierarchy::ScopedAddToTraversalPath addChildToPath(path, in generate()
312 frontend::LayerSnapshot* LayerProtoFromSnapshotGenerator::getSnapshot( in getSnapshot()
313 frontend::LayerHierarchy::TraversalPath& path, const frontend::RequestedLayerState& layer) { in getSnapshot()
314 frontend::LayerSnapshot* snapshot = mSnapshotBuilder.getSnapshot(path); in getSnapshot()
318 mDefaultSnapshots[path] = frontend::LayerSnapshot(layer, path); in getSnapshot()
324 const frontend::LayerHierarchy& root, frontend::LayerHierarchy::TraversalPath& path) { in writeHierarchyToProto()
325 using Variant = frontend::LayerHierarchy::Variant; in writeHierarchyToProto()
[all …]
DLayerRenderArea.h35 LayerRenderArea(sp<Layer> layer, frontend::LayerSnapshot layerSnapshot, const Rect& crop,
46 const frontend::LayerSnapshot* getLayerSnapshot() const override { return &mLayerSnapshot; } in getLayerSnapshot()
50 const frontend::LayerSnapshot mLayerSnapshot;
DLayer.h350 sp<LayerFE> getCompositionEngineLayerFE(const frontend::LayerHierarchy::TraversalPath&);
351 sp<LayerFE> getOrCreateCompositionEngineLayerFE(const frontend::LayerHierarchy::TraversalPath&);
353 const frontend::LayerSnapshot* getLayerSnapshot() const;
354 frontend::LayerSnapshot* editLayerSnapshot();
355 std::unique_ptr<frontend::LayerSnapshot> stealLayerSnapshot();
356 void updateLayerSnapshot(std::unique_ptr<frontend::LayerSnapshot> snapshot);
513 virtual frontend::RoundedCornerState getRoundedCornerState() const;
594 const frontend::LayerSnapshot* snapshot, int64_t time_in_ms,
705 void miniDump(std::string& result, const frontend::LayerSnapshot&, const DisplayDevice&) const;
968 void setIsSmallDirty(frontend::LayerSnapshot* snapshot);
[all …]
DRenderAreaBuilder.h74 frontend::LayerSnapshot layerSnapshot;
87 void setLayerSnapshot(const frontend::LayerSnapshot& parentSnapshot) { in setLayerSnapshot()
/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp69 frontend::LayerLifecycleManager lifecycleManager; in generate()
70 frontend::LayerHierarchyBuilder hierarchyBuilder; in generate()
71 frontend::LayerSnapshotBuilder snapshotBuilder; in generate()
72 ui::DisplayMap<ui::LayerStack, frontend::DisplayInfo> displayInfos; in generate()
89 std::vector<std::unique_ptr<frontend::RequestedLayerState>> addedLayers; in generate()
95 addedLayers.emplace_back(std::make_unique<frontend::RequestedLayerState>(args)); in generate()
141 frontend::LayerSnapshotBuilder::Args args{.root = hierarchyBuilder.getHierarchy(), in generate()
153 frontend::RequestedLayerState::Changes::VisibleRegion | in generate()
154 frontend::RequestedLayerState::Changes::Hierarchy | in generate()
155 frontend::RequestedLayerState::Changes::Visibility); in generate()
/frameworks/av/services/mediametrics/
Dstatsd_drm.cpp247 int32_t frontend = 0; in statsd_mediadrm_created() local
248 if (!item->getInt32("frontend", &frontend)) return false; in statsd_mediadrm_created()
254 scheme, uuid_lsb, uuid_msb, uid, frontend, version.c_str()); in statsd_mediadrm_created()
264 << " frontend:" << frontend in statsd_mediadrm_created()
282 int32_t frontend = 0; in statsd_mediadrm_session_opened() local
283 if (!item->getInt32("frontend", &frontend)) return false; in statsd_mediadrm_session_opened()
293 scheme, uuid_lsb, uuid_msb, uid, frontend, version.c_str(), in statsd_mediadrm_session_opened()
305 << " frontend:" << frontend in statsd_mediadrm_session_opened()
324 int32_t frontend = 0; in statsd_mediadrm_errored() local
325 if (!item->getInt32("frontend", &frontend)) return false; in statsd_mediadrm_errored()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DFpsReporterTest.cpp90 frontend::LayerLifecycleManager mLifecycleManager;
135 std::vector<std::unique_ptr<frontend::RequestedLayerState>> layers; in createRootLayer()
136 layers.emplace_back(std::make_unique<frontend::RequestedLayerState>( in createRootLayer()
144 std::vector<std::unique_ptr<frontend::RequestedLayerState>> layers; in createLayer()
145 layers.emplace_back(std::make_unique<frontend::RequestedLayerState>( in createLayer()
162 frontend::LayerHierarchyBuilder hierarchyBuilder; in TEST_F()
188 frontend::LayerHierarchyBuilder hierarchyBuilder; in TEST_F()
DCommitTest.cpp98 auto parent = std::make_unique<frontend::RequestedLayerState>(parentArgs); in TEST_F()
103 auto child = std::make_unique<frontend::RequestedLayerState>(childArgs); in TEST_F()
142 auto parent = std::make_unique<frontend::RequestedLayerState>(parentArgs); in TEST_F()
147 auto child = std::make_unique<frontend::RequestedLayerState>(childArgs); in TEST_F()
DTransactionTracingTest.cpp50 frontend::Update update; in queueAndCommitTransaction()
108 frontend::Update firstUpdate; in TEST_F()
114 frontend::Update secondUpdate; in TEST_F()
133 frontend::Update update; in SetUp()
176 frontend::Update update; in SetUp()
270 frontend::Update update; in SetUp()
DTransactionProtoParserTest.cpp108 frontend::DisplayInfo d1; in TEST()
125 frontend::DisplayInfos displayInfos; in TEST()
129 frontend::DisplayInfo d2 = displayInfos.get(ui::LayerStack::fromValue(layerStack))->get(); in TEST()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.h52 static perfetto::protos::DisplayInfo toProto(const frontend::DisplayInfo&, uint32_t layerStack);
58 static frontend::DisplayInfo fromProto(const perfetto::protos::DisplayInfo&);
60 frontend::DisplayInfos& outDisplayInfos);
DTransactionTracing.h138 void addCommittedTransactions(int64_t vsyncId, nsecs_t commitTime, frontend::Update& update,
139 const frontend::DisplayInfos&, bool displayInfoChanged);
177 frontend::DisplayInfos mStartingDisplayInfos GUARDED_BY(mTraceLock);
194 frontend::DisplayInfos displayInfos;
/frameworks/base/media/java/android/media/tv/tuner/frontend/
DFrontendInfo.java17 package android.media.tv.tuner.frontend;
21 import android.media.tv.tuner.frontend.FrontendSettings.Type;
22 import android.media.tv.tuner.frontend.FrontendStatus.FrontendStatusType;
DFrontendStatusReadiness.java17 package android.media.tv.tuner.frontend;
23 import android.media.tv.tuner.frontend.FrontendStatus.FrontendStatusType;
DFrontendCapabilities.java17 package android.media.tv.tuner.frontend;
DIptvFrontendCapabilities.java17 package android.media.tv.tuner.frontend;
DAtscFrontendCapabilities.java17 package android.media.tv.tuner.frontend;
DAtsc3PlpInfo.java17 package android.media.tv.tuner.frontend;
/frameworks/native/services/surfaceflinger/FrontEnd/
DUpdate.h40 namespace android::surfaceflinger::frontend {
47 std::vector<std::unique_ptr<frontend::RequestedLayerState>> newLayers;
/frameworks/proto_logging/stats/atoms/media/
Dmedia_drm_atoms.proto25 optional android.media.drm.IDrmFrontend frontend = 5; field
45 optional android.media.drm.IDrmFrontend frontend = 5; field
83 optional android.media.drm.IDrmFrontend frontend = 5; field
110 optional android.media.drm.IDrmFrontend frontend = 5; field
/frameworks/av/services/tuner/
DTunerFrontend.cpp34 TunerFrontend::TunerFrontend(shared_ptr<IFrontend> frontend, int id) { in TunerFrontend() argument
35 mFrontend = frontend; in TunerFrontend()

12345