Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 65) sorted by relevance

123

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DMeasureTime.java32 public static double[] measure(int count, MeasureRun run) throws Exception { in measure() argument
36 run.prepare(i); in measure()
38 run.run(i); in measure()
DMeasureRun.java30 abstract public void run(int i) throws Exception; in run() method in MeasureRun
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/
DAssertionData.kt45 fun checkAssertion(run: FlickerRunResult) { in checkAssertion()
46 val subjects = run.getSubjects().firstOrNull { expectedSubjectClass.isInstance(it) } in checkAssertion()
47 subjects?.run { assertion(this) } in checkAssertion()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DTransitionRunnerCached.kt34 override fun run(flicker: Flicker): FlickerResult { in run() method in com.android.server.wm.flicker.TransitionRunnerCached
36 result = runner.run(flicker) in run()
DFlickerResult.kt62 val currFailures = filteredRuns.mapNotNull { run -> in <lambda>() method
64 assertion.checkAssertion(run) in <lambda>()
70 .withTrace(run.traceFiles) in <lambda>()
DTransitionRunner.kt59 return run(flicker) in execute()
85 internal open fun run(flicker: Flicker): FlickerResult { in run() method in com.android.server.wm.flicker.TransitionRunner
100 flicker.frameStatsMonitor?.run { start() } in run()
105 flicker.frameStatsMonitor?.run { tryStop() } in run()
140 this.run { in ITransitionMonitor()
DTransitionRunnerWithRules.kt69 return super.run(flicker) in runTransition()
88 override fun run(flicker: Flicker): FlickerResult { in run() method in com.android.server.wm.flicker.TransitionRunnerWithRules
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DPerfettoListener.java161 mWakeLockContext.run(task); in onTestRunStart()
163 task.run(); in onTestRunStart()
185 mWakeLockContext.run(task); in onTestStart()
187 task.run(); in onTestStart()
242 mWakeLockContext.run(task); in onTestEnd()
244 task.run(); in onTestEnd()
279 mWakeLockContext.run(task); in onTestRunEnd()
281 task.run(); in onTestRunEnd()
339 runnable.run(); in runWithWakeLock()
346 void run(Runnable runnable); in run() method
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/
DWMFlickerServiceRuleForTestSpec.kt54 .forEach { run -> in <lambda>() method
55 val wmSubject = run.wmSubject as WindowManagerTraceSubject in <lambda>()
56 val layersSubject = run.layersSubject as LayersTraceSubject in <lambda>()
58 val outputDir = run.traceFiles in <lambda>()
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java91 Result result = new JUnitCore().run(loggingRunner); in testFeatureExecutionOrder()
119 Result result = new JUnitCore().run(loggingRunner); in testMultipleIterationsWithRename()
156 Result result = new JUnitCore().run(loggingRunner); in testMultipleIterationsWithDifferentSuffix()
191 Result result = new JUnitCore().run(loggingRunner); in testMultipleIterationsWithoutRename()
221 Result result = new JUnitCore().run(loggingRunner); in testMultipleMethodIterations()
256 runner.run(notifier); in testStopsEarly_ifBatteryLevelIsBelowThreshold()
283 runner.run(notifier); in testStopsEarly_ifBatteryDrainIsAboveThreshold()
321 public void run() { in testAlignWithBatteryChargeCounter()
322 runner.run(notifier); in testAlignWithBatteryChargeCounter()
349 public void run() { in testAlignWithBatteryChargeCounter_timesOut()
[all …]
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/process-cpu-time/
DREADME.md3 These configs are used to collect the cpu stats at the start and end of tests or test run.
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DScheduledScenarioRunnerTest.java104 runner.run(mRunNotifier); in testOverTimeTest_throwsTestTimedOutException()
146 runner.run(mRunNotifier); in testOverTimeTest_doesNotIdleBeforeTeardown()
170 runner.run(mRunNotifier); in testOverTimeTest_idlesAfterTeardownUntilNextScenario()
197 runner.run(mRunNotifier); in testRespectsAfterTestPolicy_stayInApp()
228 runner.run(mRunNotifier); in testRespectsAfterTestPolicy_exit()
263 runner.run(notifier); in testIgnoredScenario_doesIdle()
291 runner.run(mRunNotifier); in testLastScenarioDoesNotIdle()
DLongevityClassRunnerTest.java157 mRunner.run(mRunNotifier); in testBeforeClassMethodsAddedAsBeforeMethods()
222 mRunner.run(mRunNotifier); in testAfterClassMethodsAddedAsAfterMethods()
345 mRunner.run(mRunNotifier); in testAfterClassRunOnlyOnce_passingTest()
354 mRunner.run(mRunNotifier); in testAfterClassRunOnlyOnce_failingTest()
368 mRunner.run(notifier); in testIgnore_excludedClasses()
378 mRunner.run(notifier); in testReportIteration_noIterationSet()
398 mRunner.run(notifier); in testReportIteration_withIteration_withDefaultSeparator()
420 mRunner.run(notifier); in testReportIteration_withIteration_withCustomSeparator()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoListenerTest.java91 runnable.run(); in setUp()
95 .run(any()); in setUp()
310 verify(mWakeLockContext, never()).run(any()); in testPerfettoDoesNotHoldWakeLockPerRun()
329 verify(mWakeLockContext, never()).run(any()); in testPerfettoDoesNotHoldWakeLockPerTest()
348 verify(mWakeLockContext, times(1)).run(any()); in testHoldWakeLockOnTestRunStart()
366 verify(mWakeLockContext, times(0)).run(any()); in testHoldWakeLockOnTestStart()
369 verify(mWakeLockContext, times(1)).run(any()); in testHoldWakeLockOnTestStart()
388 verify(mWakeLockContext, times(1)).run(any()); in testHoldWakeLockOnTestEnd()
391 verify(mWakeLockContext, times(2)).run(any()); in testHoldWakeLockOnTestEnd()
394 verify(mWakeLockContext, times(2)).run(any()); in testHoldWakeLockOnTestEnd()
[all …]
/platform_testing/tests/example/devcodelab/
DREADME4 developers to fix and run locally as they learn how to Android.
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/on-device-power-measurement/
DREADME.md3 These configs are used to pull the on-device power measurement before and after a test and test run
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-controller-energy/
DREADME.md4 test or a test run, as defined by the WifiActivityInfo atom.
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-freq/
DREADME.md3 These configs are used to pull the cpu time per frequency at the start and end of tests or test run
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/subsystem-sleep-state/
DREADME.md3 …on the device as defined in the SubsystemSleepState atom at the start and end of tests or test run.
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-cluster-time/
DREADME.md3 …he process user time and system time at the start and end of tests or test run as defined in the C…
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/
DLongevitySuiteTest.java69 suite.run(new RunNotifier()); in testDoNotInvalidateTestRuns()
85 suite.run(new RunNotifier()); in testInvalidateTestRuns()
117 suite.run(new RunNotifier()); in testTimeoutTestRuns()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-uid-freq/
DREADME.md3 These configs are used to pull the cpu time per frequency at the start and end of tests or test run
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-thread-freq/
DREADME.md3 … usage for each thread per frequency at the start and end of tests or test run as defined in the C…
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DTimedAction.java31 action.run(); in runWithIntendedDuration()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/mobile-bytes-transfer/
DREADME.md3 …on the device as defined in the MobileBytesTransfer atom at the start and end of tests or test run.

123