Home
last modified time | relevance | path

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

12

/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DTransitionRunnerTest.java72 .run(mTransitionsMock::performMagic) in transitionsRunInOrder()
78 .run(); in transitionsRunInOrder()
95 .run(mTransitionsMock::performMagic) in canCombineTransitions()
96 .run(mTransitionsMock::performMagic) in canCombineTransitions()
104 .run(); in canCombineTransitions()
121 .run() in emptyTransitionPasses()
135 .run(mTransitionsMock::performMagic) in canRepeatTransitions()
142 .run(); in canRepeatTransitions()
155 .run(this::emptyTask) in canCaptureWindowManagerTrace()
160 .run(); in canCaptureWindowManagerTrace()
[all …]
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DPerfettoListener.java175 mWakeLockContext.run(task); in onTestRunStart()
177 task.run(); in onTestRunStart()
199 mWakeLockContext.run(task); in onTestStart()
201 task.run(); in onTestStart()
256 mWakeLockContext.run(task); in onTestEnd()
258 task.run(); in onTestEnd()
293 mWakeLockContext.run(task); in onTestRunEnd()
295 task.run(); in onTestRunEnd()
305 runnable.run(); in runWithWakeLock()
312 void run(Runnable runnable); in run() method
DScheduledRunMetricListener.java57 public void run() { in onTestRunStart()
DScreenRecordCollector.java124 public void run() { in startScreenRecordThread() method
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoListenerTest.java89 runnable.run(); in setUp()
93 .run(any()); in setUp()
258 verify(mWakeLockContext, never()).run(any()); in testPerfettoDoesNotHoldWakeLockPerRun()
277 verify(mWakeLockContext, never()).run(any()); in testPerfettoDoesNotHoldWakeLockPerTest()
296 verify(mWakeLockContext, times(1)).run(any()); in testHoldWakeLockOnTestRunStart()
314 verify(mWakeLockContext, times(0)).run(any()); in testHoldWakeLockOnTestStart()
317 verify(mWakeLockContext, times(1)).run(any()); in testHoldWakeLockOnTestStart()
336 verify(mWakeLockContext, times(1)).run(any()); in testHoldWakeLockOnTestEnd()
339 verify(mWakeLockContext, times(2)).run(any()); in testHoldWakeLockOnTestEnd()
342 verify(mWakeLockContext, times(2)).run(any()); in testHoldWakeLockOnTestEnd()
[all …]
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-bytes-transfer/
DREADME.md3 The configs here collects the WiFi bytes transferred on the start and end of tests or test run,
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java68 Result result = new JUnitCore().run(loggingRunner); in testFeatureExecutionOrder()
96 Result result = new JUnitCore().run(loggingRunner); in testMultipleIterationsWithRename()
133 Result result = new JUnitCore().run(loggingRunner); in testMultipleIterationsWithDifferentSuffix()
168 Result result = new JUnitCore().run(loggingRunner); in testMultipleIterationsWithoutRename()
198 Result result = new JUnitCore().run(loggingRunner); in testMultipleMethodIterations()
/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/flicker/src/com/android/server/wm/flicker/
DTransitionRunner.java147 public TransitionRunner run() { in run() method in TransitionRunner
150 mBeforeAlls.forEach(Runnable::run); in run()
152 mBefores.forEach(Runnable::run); in run()
154 mTransitions.forEach(Runnable::run); in run()
156 mAfters.forEach(Runnable::run); in run()
171 mAfterAlls.forEach(Runnable::run); in run()
411 public TransitionBuilder run(Runnable runnable) { in run() method in TransitionRunner.TransitionBuilder
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DScheduledScenarioRunnerTest.java127 runner.run(mRunNotifier); in testOverTimeTest_throwsTestTimedOutException()
169 runner.run(mRunNotifier); in testOverTimeTest_doesNotIdleBeforeTeardown()
193 runner.run(mRunNotifier); in testOverTimeTest_idlesAfterTeardownUntilNextScenario()
220 runner.run(mRunNotifier); in testRespectsAfterTestPolicy_stayInApp()
251 runner.run(mRunNotifier); in testRespectsAfterTestPolicy_exit()
286 runner.run(notifier); in testIgnoredScenario_doesIdle()
314 runner.run(mRunNotifier); in testLastScenarioDoesNotIdle()
341 runner.run(mRunNotifier); in testExtraArgs_registeredBeforeTest()
362 runner.run(mRunNotifier); in testExtraArgs_unregisteredAfterTest()
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()
DLongevitySuiteTest.java83 mSuite.run(mRunNotifier); in testDeviceWithBattery_registersReceiver()
101 mSuite.run(mRunNotifier); in testDeviceWithoutBattery_doesNotRegisterReceiver()
130 mSuite.run(mRunNotifier); in testReportingIteration_notSet()
165 mSuite.run(mRunNotifier); in testReportingIteration_set()
DProfileSuiteTest.java183 .run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
223 suite.run(mRunNotifier); in testTimestampScheduling_respectsSchedule()
225 inOrderVerifier.verify(suite).run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
268 suite.run(mRunNotifier); in testTimestampScheduling_respectsSuiteTimeout()
329 suite.run(mRunNotifier); in testIndexedScheduling_respectsSchedule()
DScenarioRunnerTest.java104 runner.run(mRunNotifier); in testExtraArgs_registeredBeforeTest()
122 runner.run(mRunNotifier); in testExtraArgs_unregisteredAfterTest()
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/
DLongevitySuiteTest.java67 suite.run(new RunNotifier()); in testDoNotInvalidateTestRuns()
83 suite.run(new RunNotifier()); in testInvalidateTestRuns()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
Dprofile.proto23 // Schedule used to run the profile.
33 string at = 1; // A timestamp (HH:MM:SS) for when to run the scenario.
DProfileSuite.java114 public void run(final RunNotifier notifier) { in run() method in ProfileSuite
118 super.run(notifier); in run()
DLongevitySuite.java163 public void run(final RunNotifier notifier) { in run() method in LongevitySuite
169 super.run(notifier); in run()
/platform_testing/libraries/telephony-utility/src/android/telephony/utility/
DSimCardUtil.java139 r.run(); in execute()
145 public void run() { in run() method in SimCardUtil.ServiceConnectionTimerTask
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/
DLongevitySuite.java105 public void run(final RunNotifier notifier) { in run() method in LongevitySuite
114 super.run(notifier); in run()
/platform_testing/emu_test/
Drun_android_bridge_test.cmd4 REM It is to be used with BYOB setup to run tests on cloud VMs.
5 REM REM It will run ADB tests.
/platform_testing/utils/crashcollector/src/android/test/crashcollector/
DCollector.java57 int resultCode = (new Collector()).run(args); in main()
67 public int run(String[] args) { in run() method in Collector
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java98 Result result = core.run(as); in main()
/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil.java192 public void run() { in run() method in DPadUtil.KeyEventRunnable

12