/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/ |
D | UserHelper.java | 62 String cmdOut = CommandsHelper.execute("pm create-user " + userName); in createSecondaryUser() 80 String cmdOut = CommandsHelper.execute("pm list users"); in getSecondaryUserId() 94 CommandsHelper.execute("pm remove-user " + userId); in removeSecondaryUser()
|
/platform_testing/utils/shell-as/ |
D | README.md | 3 shell-as is a utility that can be used to execute a binary in a less privileged 12 For example, the following are equivalent and execute `/system/bin/id` in the 28 The "untrusted-app" profile can be used to execute a binary with all the
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/ |
D | FlickerServiceCachedTestCaseTest.kt | 64 Mockito.`when`(mockScenarioAssertion.execute()).thenReturn(assertionResult) in reportsPassingResultMetric() 81 test.execute(mockDescription) in reportsPassingResultMetric() 119 Mockito.`when`(mockScenarioAssertion.execute()).thenReturn(assertionResult) in reportsFailingResultMetric() 137 val failure = assertThrows<Throwable> { test.execute(mockDescription) } in reportsFailingResultMetric() 177 Mockito.`when`(mockScenarioAssertion.execute()).thenReturn(assertionResult) in skippedIfNonBlocking() 196 assertThrows<AssumptionViolatedException> { testCase.execute(mockDescription) } in skippedIfNonBlocking()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | ScenarioAssertion.kt | 24 fun execute(): AssertionResult method
|
D | ScenarioAssertionImpl.kt | 40 override fun execute(): AssertionResult = in <lambda>() method in android.tools.flicker.assertions.ScenarioAssertionImpl
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | FlickerServiceCachedTestCase.kt | 40 override fun execute(description: Description) { in execute() method 42 val result = assertion.execute() in execute()
|
D | AnonymousInjectedTestCase.kt | 28 override fun execute(description: Description) { in execute() method
|
D | InjectedTestCase.kt | 34 abstract fun execute(description: Description) in getName() method
|
D | LegacyFlickerServiceDecorator.kt | 97 (method as InjectedTestCase).execute(description) in getMethodInvoker()
|
D | FlickerServiceDecorator.kt | 166 (method as InjectedTestCase).execute(description) in <lambda>()
|
D | LegacyFlickerJUnit4ClassRunner.kt | 98 runner.execute(flicker, description) in <lambda>()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | ScenarioAssertionTest.kt | 49 val assertionResult = scenarioAssertion.execute() in addsExtraDataToFlickerAssertionMessage() 79 val result = scenarioAssertion.execute() in supportsRunningAssertionsWithTruthAssertions() 109 val result = scenarioAssertion.execute() in supportsRunningAssertionsWithAssumptionViolations()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | TransitionRunnerTest.kt | 82 val result = runner.execute(mockedFlicker, Consts.description(this)) in runsTransition() 103 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithNoTransitions() 124 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithTransitionError() 145 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithSetupErrorAndHasTraces() 166 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithTeardownErrorAndHasTraces()
|
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/ |
D | ActivityHelper.java | 78 Matcher matcher = TASK_REGEX.matcher(CommandsHelper.execute("am stack list")); in getTaskIdForActivity() 96 CommandsHelper.execute( in changeWindowMode() 184 String output = CommandsHelper.execute("bmgr enable " + Boolean.toString(enable)); in enableBmgr()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturerTests.java | 94 verify(mExecutor).execute(any(JavaAudioCapturer.TargetDataLineWatchingPublisher.class)); in open_schedulesPublisherTask() 147 verify(mExecutor).execute(runnableArgCaptor.capture()); in attachOutput_attachesOutputSuccessfully_outputStream() 187 verify(mExecutor).execute(runnableArgCaptor.capture()); in attachOutput_attachesOutputSuccessfully_file() 209 verify(mExecutor).execute(runnableArgCaptor.capture()); in close_stopsPublisherAsExpected()
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | Utils.kt | 65 runner.execute(flicker, Description.createTestDescription(this::class.java, "test")) in runTransition()
|
/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/ |
D | CommandsHelper.java | 106 public static String execute(String command) { in execute() method in CommandsHelper
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/ |
D | ScenarioInstanceTest.kt | 93 val results = assertions.map { it.execute() } in willReportFlickerAssertions() 167 val results = assertions.map { it.execute() } in willReportMainBlockAssertions()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/ |
D | TransitionRunner.kt | 47 fun execute(flicker: FlickerTestData, description: Description?): IResultData { in execute() method in android.tools.flicker.legacy.runner.TransitionRunner
|
/platform_testing/emu_test/ |
D | run_android_bridge_test.cmd | 9 REM It will return 0 if it is able to execute tests, otherwise
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/ |
D | FlickerConfigTest.kt | 76 assertions.first().execute() in canRegisterScenarioWithAssertions() 216 assertions.forEach { it.execute() } in registerAssertionToScenario()
|
/platform_testing/libraries/screenshot/utils/compose/src/platform/test/screenshot/utils/compose/ |
D | ComposeScreenshotTestRule.kt | 100 activity.mainExecutor.execute { activity.window.setDecorFitsSystemWindows(false) } in <lambda>()
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturer.java | 129 mExecutorService.execute(mPublisher); in open()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceResultsCollector.kt | 192 val results = scenarios.flatMap { it.generateAssertions() }.map { it.execute() } in <lambda>()
|
/platform_testing/libraries/flicker/ |
D | README.md | 114 …s` uses the library to test common UI transitions. Run `atest FlickerTests` to execute these tests.
|