Home
last modified time | relevance | path

Searched refs:outStats (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/services/gpuservice/gpustats/
DGpuStats.cpp231 void GpuStats::pullGlobalStats(std::vector<GpuStatsGlobalInfo>* outStats) { in pullGlobalStats() argument
235 outStats->clear(); in pullGlobalStats()
236 outStats->reserve(mGlobalStats.size()); in pullGlobalStats()
241 outStats->emplace_back(ele.second); in pullGlobalStats()
247 void GpuStats::pullAppStats(std::vector<GpuStatsAppInfo>* outStats) { in pullAppStats() argument
251 outStats->clear(); in pullAppStats()
252 outStats->reserve(mAppStats.size()); in pullAppStats()
255 outStats->emplace_back(ele.second); in pullAppStats()
DGpuStats.h46 void pullGlobalStats(std::vector<GpuStatsGlobalInfo>* outStats);
48 void pullAppStats(std::vector<GpuStatsAppInfo>* outStats);
/frameworks/native/libs/graphicsenv/
DIGpuService.cpp51 virtual status_t getGpuStatsGlobalInfo(std::vector<GpuStatsGlobalInfo>* outStats) const { in getGpuStatsGlobalInfo()
52 if (!outStats) return UNEXPECTED_NULL; in getGpuStatsGlobalInfo()
68 outStats->clear(); in getGpuStatsGlobalInfo()
69 return reply.readParcelableVector(outStats); in getGpuStatsGlobalInfo()
72 virtual status_t getGpuStatsAppInfo(std::vector<GpuStatsAppInfo>* outStats) const { in getGpuStatsAppInfo()
73 if (!outStats) return UNEXPECTED_NULL; in getGpuStatsAppInfo()
91 outStats->clear(); in getGpuStatsAppInfo()
92 return reply.readParcelableVector(outStats); in getGpuStatsAppInfo()
/frameworks/native/services/gpuservice/
DGpuService.cpp60 status_t GpuService::getGpuStatsGlobalInfo(std::vector<GpuStatsGlobalInfo>* outStats) const { in getGpuStatsGlobalInfo()
61 mGpuStats->pullGlobalStats(outStats); in getGpuStatsGlobalInfo()
65 status_t GpuService::getGpuStatsAppInfo(std::vector<GpuStatsAppInfo>* outStats) const { in getGpuStatsAppInfo()
66 mGpuStats->pullAppStats(outStats); in getGpuStatsAppInfo()
DGpuService.h51 status_t getGpuStatsGlobalInfo(std::vector<GpuStatsGlobalInfo>* outStats) const override;
52 status_t getGpuStatsAppInfo(std::vector<GpuStatsAppInfo>* outStats) const override;
/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp116 void FrameTracker::getStats(FrameStats* outStats) const { in getStats()
120 outStats->refreshPeriodNano = mDisplayPeriod; in getStats()
132 outStats->desiredPresentTimesNano.push_back(desiredPresentTimeNano); in getStats()
135 outStats->actualPresentTimesNano.push_back(actualPresentTimeNano); in getStats()
138 outStats->frameReadyTimesNano.push_back(frameReadyTimeNano); in getStats()
DClient.cpp113 status_t Client::getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const { in getLayerFrameStats()
118 layer->getFrameStats(outStats); in getLayerFrameStats()
DFrameTracker.h86 void getStats(FrameStats* outStats) const;
DClient.h67 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const;
/frameworks/native/libs/graphicsenv/include/graphicsenv/
DIGpuService.h48 virtual status_t getGpuStatsGlobalInfo(std::vector<GpuStatsGlobalInfo>* outStats) const = 0;
51 virtual status_t getGpuStatsAppInfo(std::vector<GpuStatsAppInfo>* outStats) const = 0;
/frameworks/native/libs/gui/
DISurfaceComposerClient.cpp78 status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const override { in getLayerFrameStats()
81 outStats); in getLayerFrameStats()
DSurfaceControl.cpp114 status_t SurfaceControl::getLayerFrameStats(FrameStats* outStats) const { in getLayerFrameStats()
118 return client->getLayerFrameStats(mHandle, outStats); in getLayerFrameStats()
DISurfaceComposer.cpp542 virtual status_t getAnimationFrameStats(FrameStats* outStats) const { in getAnimationFrameStats()
546 reply.read(*outStats); in getAnimationFrameStats()
734 DisplayedFrameStats* outStats) const { in getDisplayedContentSample()
735 if (!outStats) return BAD_VALUE; in getDisplayedContentSample()
750 result = reply.readUint64(&outStats->numFrames); in getDisplayedContentSample()
755 result = reply.readUint64Vector(&outStats->component_0_sample); in getDisplayedContentSample()
759 result = reply.readUint64Vector(&outStats->component_1_sample); in getDisplayedContentSample()
763 result = reply.readUint64Vector(&outStats->component_2_sample); in getDisplayedContentSample()
767 result = reply.readUint64Vector(&outStats->component_3_sample); in getDisplayedContentSample()
DSurfaceComposerClient.cpp1383 FrameStats* outStats) const { in getLayerFrameStats()
1387 return mClient->getLayerFrameStats(token, outStats); in getLayerFrameStats()
1488 status_t SurfaceComposerClient::getAnimationFrameStats(FrameStats* outStats) { in getAnimationFrameStats() argument
1489 return ComposerService::getComposerService()->getAnimationFrameStats(outStats); in getAnimationFrameStats()
1517 DisplayedFrameStats* outStats) { in getDisplayedContentSample() argument
1519 timestamp, outStats); in getDisplayedContentSample()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposerClient.h78 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const = 0;
DSurfaceControl.h81 status_t getLayerFrameStats(FrameStats* outStats) const;
DISurfaceComposer.h296 virtual status_t getAnimationFrameStats(FrameStats* outStats) const = 0;
350 DisplayedFrameStats* outStats) const = 0;
DSurfaceComposerClient.h476 status_t getLayerFrameStats(const sp<IBinder>& token, FrameStats* outStats) const;
478 static status_t getAnimationFrameStats(FrameStats* outStats);
498 uint64_t timestamp, DisplayedFrameStats* outStats);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp1126 DisplayedFrameStats* outStats) { in getDisplayedContentSample() argument
1127 if (!outStats) { in getDisplayedContentSample()
1140 outStats->numFrames = tmpNumFrames; in getDisplayedContentSample()
1141 outStats->component_0_sample = tmpSamples0; in getDisplayedContentSample()
1142 outStats->component_1_sample = tmpSamples1; in getDisplayedContentSample()
1143 outStats->component_2_sample = tmpSamples2; in getDisplayedContentSample()
1144 outStats->component_3_sample = tmpSamples3; in getDisplayedContentSample()
DHWComposer.h141 DisplayedFrameStats* outStats) = 0;
276 DisplayedFrameStats* outStats) override;
DHWC2.h242 android::DisplayedFrameStats* outStats) const = 0;
307 android::DisplayedFrameStats* outStats) const override;
DComposerHal.h201 DisplayedFrameStats* outStats) = 0;
412 DisplayedFrameStats* outStats) override;
/frameworks/base/core/java/android/view/
DSurfaceControl.java134 …tic native boolean nativeGetContentFrameStats(long nativeObject, WindowContentFrameStats outStats); in nativeGetContentFrameStats() argument
136 private static native boolean nativeGetAnimationFrameStats(WindowAnimationFrameStats outStats); in nativeGetAnimationFrameStats() argument
1172 public boolean getContentFrameStats(WindowContentFrameStats outStats) { in getContentFrameStats() argument
1174 return nativeGetContentFrameStats(mNativeObject, outStats); in getContentFrameStats()
1187 public static boolean getAnimationFrameStats(WindowAnimationFrameStats outStats) { in getAnimationFrameStats() argument
1188 return nativeGetAnimationFrameStats(outStats); in getAnimationFrameStats()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfaceController.java474 boolean getWindowContentFrameStats(WindowContentFrameStats outStats) { in getWindowContentFrameStats() argument
478 return mSurfaceControl.getContentFrameStats(outStats); in getWindowContentFrameStats()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp965 jobject outStats) { in nativeGetContentFrameStats() argument
1025 env->CallVoidMethod(outStats, gWindowContentFrameStatsClassInfo.init, refreshPeriodNano, in nativeGetContentFrameStats()
1050 static jboolean nativeGetAnimationFrameStats(JNIEnv* env, jclass clazz, jobject outStats) { in nativeGetAnimationFrameStats() argument
1083 env->CallVoidMethod(outStats, gWindowAnimationFrameStatsClassInfo.init, refreshPeriodNano, in nativeGetAnimationFrameStats()

12