Home
last modified time | relevance | path

Searched refs:surfaceFlingerPid (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_os_KernelAllocationStats.cpp62 pid_t surfaceFlingerPid = -1; in KernelAllocationStats_getDmabufAllocations() local
89 if (surfaceFlingerPid == -1) { in KernelAllocationStats_getDmabufAllocations()
90 surfaceFlingerPid = pid; in KernelAllocationStats_getDmabufAllocations()
94 << ", pid2:" << surfaceFlingerPid; in KernelAllocationStats_getDmabufAllocations()
95 surfaceFlingerPid = -2; // Used as a sentinel value below in KernelAllocationStats_getDmabufAllocations()
111 if (surfaceFlingerPid < 0) { in KernelAllocationStats_getDmabufAllocations()
125 if (pid == surfaceFlingerPid) { in KernelAllocationStats_getDmabufAllocations()
129 } else if (surfaceFlingerPid > 0) { in KernelAllocationStats_getDmabufAllocations()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockFrameTimeline.cpp22 FrameTimeline::FrameTimeline(std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid) in FrameTimeline() argument
23 : android::frametimeline::impl::FrameTimeline(timeStats, surfaceFlingerPid) {} in FrameTimeline()
DMockFrameTimeline.h29 FrameTimeline(std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid);
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerDefaultFactory.cpp97 std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid) { in createFrameTimeline() argument
98 return std::make_unique<frametimeline::impl::FrameTimeline>(timeStats, surfaceFlingerPid); in createFrameTimeline()
DSurfaceFlingerDefaultFactory.h47 std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid) override;
DSurfaceFlingerFactory.h91 std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid) = 0;
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h392 nsecs_t trace(pid_t surfaceFlingerPid, nsecs_t monoBootOffset,
427 void tracePredictions(pid_t surfaceFlingerPid, nsecs_t monoBootOffset) const;
428 void traceActuals(pid_t surfaceFlingerPid, nsecs_t monoBootOffset) const;
429 void addSkippedFrame(pid_t surfaceFlingerPid, nsecs_t monoBootOffset,
473 FrameTimeline(std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid,
DFrameTimeline.cpp842 FrameTimeline::FrameTimeline(std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid, in FrameTimeline() argument
847 mSurfaceFlingerPid(surfaceFlingerPid), in FrameTimeline()
1127 void FrameTimeline::DisplayFrame::tracePredictions(pid_t surfaceFlingerPid, in tracePredictions() argument
1144 expectedDisplayFrameStartEvent->set_pid(surfaceFlingerPid); in tracePredictions()
1161 void FrameTimeline::DisplayFrame::addSkippedFrame(pid_t surfaceFlingerPid, nsecs_t monoBootOffset, in addSkippedFrame() argument
1201 actualDisplayFrameStartEvent->set_pid(surfaceFlingerPid); in addSkippedFrame()
1225 void FrameTimeline::DisplayFrame::traceActuals(pid_t surfaceFlingerPid, in traceActuals() argument
1242 actualDisplayFrameStartEvent->set_pid(surfaceFlingerPid); in traceActuals()
1267 nsecs_t FrameTimeline::DisplayFrame::trace(pid_t surfaceFlingerPid, nsecs_t monoBootOffset, in trace() argument
1284 tracePredictions(surfaceFlingerPid, monoBootOffset); in trace()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h143 std::shared_ptr<TimeStats> timeStats, pid_t surfaceFlingerPid = 0) override {
144 return std::make_unique<mock::FrameTimeline>(timeStats, surfaceFlingerPid);