Lines Matching refs:events

64 FrameStats drawFrames(int count, android_app *pApp, int &events, android_poll_source *&pSource,  in drawFrames()  argument
79 int retval = ALooper_pollOnce(0, nullptr, &events, (void **)&pSource); in drawFrames()
81 retval = ALooper_pollOnce(0, nullptr, &events, (void **)&pSource); in drawFrames()
111 FrameStats drawFramesWithTarget(int64_t targetDuration, int &events, android_app *pApp, in drawFramesWithTarget() argument
114 return drawFrames(kSamples, pApp, events, pSource, testName); in drawFramesWithTarget()
119 double calibrate(int &events, android_app *pApp, android_poll_source *&pSource) { in calibrate() argument
127 calibration[0] = drawFrames(kCalibrationSamples, pApp, events, pSource); in calibrate()
129 calibration[1] = drawFrames(kCalibrationSamples, pApp, events, pSource); in calibrate()
179 int events; in android_main() local
183 drawFrames(1, pApp, events, pSource); in android_main()
195 drawFrames(kCalibrationSamples, pApp, events, pSource); in android_main()
197 FrameStats initialStats = drawFrames(kSamples, pApp, events, pSource); in android_main()
207 drawFrames(kCalibrationSamples / 2, pApp, events, pSource); in android_main()
209 double calibratedTarget = calibrate(events, pApp, pSource); in android_main()
215 FrameStats baselineStats = drawFrames(kSamples, pApp, events, pSource, "baseline"); in android_main()
232 [&]() { drawFramesWithTarget(heavyTarget, events, pApp, pSource, "heavy_load"); }); in android_main()
237 [&]() { drawFramesWithTarget(lightTarget, events, pApp, pSource, "light_load"); }); in android_main()
242 drawFramesWithTarget(lightTarget, events, pApp, pSource, "transition_load_1"); in android_main()
243 drawFramesWithTarget(heavyTarget, events, pApp, pSource, "transition_load_2"); in android_main()
244 drawFramesWithTarget(lightTarget, events, pApp, pSource, "transition_load_3"); in android_main()