Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 24 of 24) sorted by relevance

/platform_testing/utils/permissions/src/com/android/permissionutils/
DPermissionInstrumentation.java33 public void onCreate(Bundle arguments) { in onCreate() argument
34 super.onCreate(arguments); in onCreate()
35 String command = arguments.getString(PARAM_COMMAND); in onCreate()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DFlickerServiceJUnit4ClassRunnerTest.kt59 val arguments = Bundle() in <lambda>() constant
60 arguments.putString(Scenario.FAAS_BLOCKING, "true") in <lambda>()
61 val runner = FlickerServiceJUnit4ClassRunner(SimpleTest::class.java, arguments = arguments) in <lambda>()
78 val arguments = Bundle() in <lambda>() constant
79 arguments.putString(Scenario.FAAS_BLOCKING, "false") in <lambda>()
80 val runner = FlickerServiceJUnit4ClassRunner(SimpleTest::class.java, arguments = arguments) in <lambda>()
DLegacyFlickerJUnit4ClassRunnerTest.kt166 val arguments = Bundle() in <lambda>() constant
167 arguments.putString(Scenario.FAAS_BLOCKING, "true") in <lambda>()
171 val runner = createRunner(test, arguments) in <lambda>()
184 val arguments = Bundle() in <lambda>() constant
185 arguments.putString(Scenario.FAAS_BLOCKING, "false") in <lambda>()
189 val runner = createRunner(test, arguments) in <lambda>()
421 arguments: Bundle = InstrumentationRegistry.getArguments() in <lambda>()
424 .createRunnerForTestWithParameters(baseTest, arguments = arguments) in <lambda>()
DLegacyFlickerServiceDecoratorTest.kt56 arguments = InstrumentationRegistry.getArguments(), in passValidClass()
81 arguments = InstrumentationRegistry.getArguments(), in hasUniqueMethodNames()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerParametersRunnerFactory.kt33 fun createRunnerForTestWithParameters(test: TestWithParameters, arguments: Bundle): Runner { in createRunnerForTestWithParameters()
48 return LegacyFlickerJUnit4ClassRunner(newTest, scenario, arguments) in createRunnerForTestWithParameters()
52 createRunnerForTestWithParameters(test, arguments = InstrumentationRegistry.getArguments())
DLegacyFlickerJUnit4ClassRunner.kt77 private val arguments: Bundle = InstrumentationRegistry.getArguments() in <lambda>() constant
82 ?: arguments.getString(Scenario.FAAS_BLOCKING)?.toBoolean() ?: true in <lambda>()
122 arguments = arguments, in <lambda>()
226 TestFilter.isFilteredOrUnspecified(arguments, childDescription) in <lambda>()
DLegacyFlickerServiceDecorator.kt45 private val arguments: Bundle, constant
138 val testFilters = arguments.getString(OPTION_NAME) ?: return emptyMap() in getFiltersFromArguments()
DFlickerServiceJUnit4ClassRunner.kt55 private val arguments: Bundle = InstrumentationRegistry.getArguments() in <lambda>() constant
59 get() = arguments.getString(Scenario.FAAS_BLOCKING)?.toBoolean() ?: true in <lambda>()
169 TestFilter.isFilteredOrUnspecified(arguments, childDescription) in <lambda>()
/platform_testing/libraries/health/utils/tests/src/android/platform/test/util/
DTestFilterTest.java44 Bundle arguments = buildArguments("testClassA#method1,testClassB#method2"); in testFilters_multipleTests() local
45 assertThat(TestFilter.isFilteredOrUnspecified(arguments, DESCRIPTION1)).isTrue(); in testFilters_multipleTests()
46 assertThat(TestFilter.isFilteredOrUnspecified(arguments, DESCRIPTION2)).isTrue(); in testFilters_multipleTests()
/platform_testing/libraries/health/options/src/android/platform/test/option/
DTestOption.java61 Bundle arguments = getArguments(); in apply() field in TestOption
62 if (!arguments.containsKey(mOptionName)) { in apply()
72 mValue = parseValueFromString(arguments.getString(mOptionName)); in apply()
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DTestFilter.java33 public static boolean isFilteredOrUnspecified(Bundle arguments, Description description) { in isFilteredOrUnspecified() argument
34 String testFilters = arguments.getString(OPTION_NAME); in isFilteredOrUnspecified()
/platform_testing/utils/esimutility/src/com/android/test/util/esimutility/
DESimUtilityInstrumentation.java31 public void onCreate(Bundle arguments) { in onCreate() argument
32 super.onCreate(arguments); in onCreate()
33 mArguments = arguments; in onCreate()
/platform_testing/libraries/health/runners/microbenchmark/src/android/platform/test/microbenchmark/
DMicrobenchmark.java134 Microbenchmark(Class<?> klass, Bundle arguments) throws InitializationError { in Microbenchmark() argument
136 mArguments = arguments; in Microbenchmark()
138 mRenameIterations = Boolean.parseBoolean(arguments.getString(RENAME_ITERATION_OPTION)); in Microbenchmark()
140 arguments.containsKey(ITERATION_SEP_OPTION) in Microbenchmark()
141 ? arguments.getString(ITERATION_SEP_OPTION) in Microbenchmark()
143 mMinBatteryLevel = Integer.parseInt(arguments.getString(MIN_BATTERY_LEVEL_OPTION, "-1")); in Microbenchmark()
144 mMaxBatteryDrain = Integer.parseInt(arguments.getString(MAX_BATTERY_DRAIN_OPTION, "100")); in Microbenchmark()
146 Integer.parseInt(arguments.getString(COUNTER_DECREMENT_TIMEOUT_OPTION, "30000")); in Microbenchmark()
149 arguments.getString(ALIGN_WITH_CHARGE_COUNTER_OPTION, "false")); in Microbenchmark()
153 arguments.getString(TERMINATE_ON_TEST_FAIL_OPTION, "false")); in Microbenchmark()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfileSuite.java62 Instrumentation instrumentation, Context context, Bundle arguments) in ProfileSuite() argument
64 super(klass, constructClassRunners(klass, builder, arguments), arguments); in ProfileSuite()
65 mProfile = new Profile(arguments); in ProfileSuite()
DScheduledScenarioRunner.java84 Class<?> klass, Scenario scenario, long timeout, boolean shouldIdle, Bundle arguments) in ScheduledScenarioRunner() argument
86 super(klass, arguments); in ScheduledScenarioRunner()
94 mArguments = arguments; in ScheduledScenarioRunner()
97 arguments.getString( in ScheduledScenarioRunner()
DLongevitySuite.java134 Bundle arguments) in LongevitySuite() argument
136 this(klass, constructClassRunners(klass, additional, builder, arguments), arguments); in LongevitySuite()
Dprofile.proto39 // Extra arguments to pass to the CUJ.
/platform_testing/libraries/sts-common-util/device-side/src/com/android/sts/common/
DDumpsysUtils.java62 String arguments = in getParsedDumpsys() local
70 String rawOutput = getRawDumpsys(String.format("%s %s", service, arguments)); in getParsedDumpsys()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DDumpsysUtils.java69 String arguments = in getParsedDumpsys() local
75 String rawOutput = getRawDumpsys(device, String.format("%s %s", service, arguments)); in getParsedDumpsys()
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/
DWifiStrengthScannerInstrumentation.java51 public void onCreate(Bundle arguments) { in onCreate() argument
52 super.onCreate(arguments); in onCreate()
53 mArguments = arguments; in onCreate()
/platform_testing/libraries/flicker/
Dgradle.properties20 # Specifies the JVM arguments used for the daemon process.
/platform_testing/libraries/collectors-helper/simpleperf/src/com/android/helpers/
DSimpleperfHelper.java68 public boolean startCollecting(String subcommand, String arguments) { in startCollecting() argument
88 arguments); in startCollecting()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DSimpleperfListener.java269 public void startSimpleperf(String subcommand, String arguments) { in startSimpleperf() argument
271 !mRecord || mSimpleperfHelper.startCollecting(subcommand, arguments); in startSimpleperf()
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java626 LoggingMicrobenchmark(Class<?> klass, Bundle arguments) throws InitializationError { in LoggingMicrobenchmark() argument
627 super(klass, arguments); in LoggingMicrobenchmark()