/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | MeasureTime.java | 32 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()
|
D | MeasureRun.java | 30 abstract public void run(int i) throws Exception; in run() method in MeasureRun
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/ |
D | AssertionData.kt | 45 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/device-collectors/src/main/java/android/device/collectors/ |
D | PerfettoListener.java | 163 mWakeLockContext.run(task); in onTestRunStart() 165 task.run(); in onTestRunStart() 187 mWakeLockContext.run(task); in onTestStart() 189 task.run(); in onTestStart() 244 mWakeLockContext.run(task); in onTestEnd() 246 task.run(); in onTestEnd() 281 mWakeLockContext.run(task); in onTestRunEnd() 283 task.run(); in onTestRunEnd() 344 runnable.run(); in runWithWakeLock() 351 void run(Runnable runnable); in run() method
|
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/ |
D | MicrobenchmarkTest.java | 91 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/flicker/src/com/android/server/wm/flicker/ |
D | TransitionRunnerWithRules.kt | 40 return super.run(flicker) in runTransition() 58 override fun run(flicker: Flicker): FlickerResult { in run() method in com.android.server.wm.flicker.TransitionRunnerWithRules
|
D | FlickerResult.kt | 74 val currFailures = filteredRuns.mapNotNull { run -> run.checkAssertion(assertion) } in <lambda>() method
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | ScreenshotTestRule.kt | 78 .run { testWatcher.apply(this, description) } in apply() 267 diff?.run { in reportResult() 273 expected?.run { in reportResult() 432 beforeScreenshot?.run(); in assertGoldenImage() 437 afterScreenshot?.run(); in assertGoldenImage() 442 beforeScreenshot?.run(); in assertGoldenImage() 447 afterScreenshot?.run(); in assertGoldenImage() 463 fun setOnBeforeScreenshot(run: Runnable): Builder { in setOnBeforeScreenshot() 464 asserter.beforeScreenshot = run in setOnBeforeScreenshot() 468 fun setOnAfterScreenshot(run: Runnable): Builder { in setOnAfterScreenshot() [all …]
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MockMediaPlayer.java | 45 public void run() { in start() 57 mOnCompletionListener.run(); in onCompletion()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | PerfettoListenerTest.java | 91 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/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunnerTest.java | 104 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()
|
D | LongevityClassRunnerTest.java | 216 mRunner.run(mRunNotifier); in testBeforeClassMethodsAddedAsBeforeMethods() 281 mRunner.run(mRunNotifier); in testAfterClassMethodsAddedAsAfterMethods() 404 mRunner.run(mRunNotifier); in testAfterClassRunOnlyOnce_passingTest() 413 mRunner.run(mRunNotifier); in testAfterClassRunOnlyOnce_failingTest() 427 mRunner.run(notifier); in testIgnore_excludedClasses() 437 mRunner.run(notifier); in testReportIteration_noIterationSet() 457 mRunner.run(notifier); in testReportIteration_withIteration_withDefaultSeparator() 479 mRunner.run(notifier); in testReportIteration_withIteration_withCustomSeparator() 498 mRunner.run(notifier); in testDynamicClassRules() 528 mRunner.run(notifier); in testDynamicTestRules()
|
D | ProfileSuiteTest.java | 201 .run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 241 suite.run(mRunNotifier); in testTimestampScheduling_respectsSchedule() 243 inOrderVerifier.verify(suite).run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 286 suite.run(mRunNotifier); in testTimestampScheduling_respectsSuiteTimeout() 347 suite.run(mRunNotifier); in testIndexedScheduling_respectsSchedule() 407 suite.run(mRunNotifier); in testSequentialScheduling_respectsSchedule() 454 suite.run(mRunNotifier); in testExtraArgs_registeredBeforeTest() 473 suite.run(mRunNotifier); in testExtraArgs_unregisteredAfterTest()
|
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/ |
D | NativePocTest.java | 130 NativePoc.builder().pocName(POC_NAME).build().run(testCase); in testBasicPocExecution() 155 .run(testCase); in testPocExecutionWithArgsAndEnvVarsAndTimeout() 177 NativePoc.builder().pocName(POC_NAME).timeoutSeconds(100).build().run(testCase); in testPocTimeout() 191 .run(testCase); in testPocExecutionWithResourceAndAfter() 213 NativePoc.builder().pocName(POC_NAME).build().run(testCase); in test64bit() 223 NativePoc.builder().pocName(POC_NAME).only64().build().run(testCase); in testBadBitness() 238 .run(testCase); in testAsserter()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/ |
D | WMFlickerServiceRuleForTestSpec.kt | 96 .forEach { run -> in <lambda>() method 97 val wmSubject = run.wmSubject as WindowManagerTraceSubject in <lambda>() 98 val layersSubject = run.layersSubject as LayersTraceSubject in <lambda>() 100 val outputDir = run.mTraceFile?.traceFile?.parent in <lambda>()
|
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/ |
D | LongevitySuiteTest.java | 69 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/wifi-bytes-transfer/ |
D | README.md | 3 The configs here collects the WiFi bytes transferred on the start and end of tests or test run,
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/process-cpu-time/ |
D | README.md | 3 These configs are used to collect the cpu stats at the start and end of tests or test run.
|
/platform_testing/tests/example/devcodelab/ |
D | README | 4 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/ |
D | README.md | 3 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/ |
D | README.md | 4 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/ |
D | README.md | 3 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/ |
D | README.md | 3 …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/ |
D | README.md | 3 …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/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-uid-freq/ |
D | README.md | 3 These configs are used to pull the cpu time per frequency at the start and end of tests or test run…
|