Home
last modified time | relevance | path

Searched refs:pApp (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/adpf/app/hintsession/src/cpp/
Dmain.cpp44 Renderer *getRenderer(android_app *pApp) { in getRenderer() argument
45 return (pApp->userData) ? reinterpret_cast<Renderer *>(pApp->userData) : nullptr; in getRenderer()
64 FrameStats drawFrames(int count, android_app *pApp, int &events, android_poll_source *&pSource, in drawFrames() argument
73 for (int iter = -1; iter < count && !pApp->destroyRequested;) { in drawFrames()
84 pSource->process(pApp, pSource); in drawFrames()
86 if (pApp->userData) { in drawFrames()
93 jlong spinTime = getRenderer(pApp)->render(); in drawFrames()
94 getRenderer(pApp)->reportActualWorkDuration(spinTime); in drawFrames()
104 getRenderer(pApp)->addResult(testName + "_durations", serializeValues(durations)); in drawFrames()
105 getRenderer(pApp)->addResult(testName + "_intervals", serializeValues(intervals)); in drawFrames()
[all …]
DRenderer.h53 inline Renderer(android_app *pApp) in Renderer() argument
54 : app_(pApp), in Renderer()