Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 33) sorted by relevance

12

/platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/
DUserHelper.java62 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/
DREADME.md3 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/
DFlickerServiceCachedTestCaseTest.kt64 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/
DScenarioAssertion.kt24 fun execute(): AssertionResult method
DScenarioAssertionImpl.kt40 override fun execute(): AssertionResult = in <lambda>() method in android.tools.flicker.assertions.ScenarioAssertionImpl
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCase.kt40 override fun execute(description: Description) { in execute() method
42 val result = assertion.execute() in execute()
DAnonymousInjectedTestCase.kt28 override fun execute(description: Description) { in execute() method
DInjectedTestCase.kt34 abstract fun execute(description: Description) in getName() method
DLegacyFlickerServiceDecorator.kt97 (method as InjectedTestCase).execute(description) in getMethodInvoker()
DFlickerServiceDecorator.kt166 (method as InjectedTestCase).execute(description) in <lambda>()
DLegacyFlickerJUnit4ClassRunner.kt98 runner.execute(flicker, description) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DScenarioAssertionTest.kt49 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/
DTransitionRunnerTest.kt82 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/
DActivityHelper.java78 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/
DJavaAudioCapturerTests.java94 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/
DUtils.kt65 runner.execute(flicker, Description.createTestDescription(this::class.java, "test")) in runTransition()
/platform_testing/libraries/system-helpers/commands-helper/src/android/system/helpers/
DCommandsHelper.java106 public static String execute(String command) { in execute() method in CommandsHelper
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DScenarioInstanceTest.kt93 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/
DTransitionRunner.kt47 fun execute(flicker: FlickerTestData, description: Description?): IResultData { in execute() method in android.tools.flicker.legacy.runner.TransitionRunner
/platform_testing/emu_test/
Drun_android_bridge_test.cmd9 REM It will return 0 if it is able to execute tests, otherwise
/platform_testing/libraries/flicker/test/src/android/tools/flicker/config/
DFlickerConfigTest.kt76 assertions.first().execute() in canRegisterScenarioWithAssertions()
216 assertions.forEach { it.execute() } in registerAssertionToScenario()
/platform_testing/libraries/screenshot/utils/compose/src/platform/test/screenshot/utils/compose/
DComposeScreenshotTestRule.kt100 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/
DJavaAudioCapturer.java129 mExecutorService.execute(mPublisher); in open()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt192 val results = scenarios.flatMap { it.generateAssertions() }.map { it.execute() } in <lambda>()
/platform_testing/libraries/flicker/
DREADME.md114 …s` uses the library to test common UI transitions. Run `atest FlickerTests` to execute these tests.

12