Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java130 public final void setModuleParameter(ModuleParameters param) { in setModuleParameter() argument
131 mForcedModuleParameter = param; in setModuleParameter()
322 for (IModuleParameter param : params) { in loadOneConfig()
323 if (param instanceof NegativeHandler) { in loadOneConfig()
325 && !param.getClass().equals(mForcedParameter.getClass())) { in loadOneConfig()
332 if (param.getClass().equals(mForcedParameter.getClass())) { in loadOneConfig()
343 String.format("%s[%s]", baseId, param.getParameterIdentifier()); in loadOneConfig()
345 String.format("%s[%s]", name, param.getParameterIdentifier()); in loadOneConfig()
354 param.getParameterIdentifier()); in loadOneConfig()
355 param.addParameterSpecificConfig(paramConfig); in loadOneConfig()
[all …]
DBaseTestSuite.java498 for (ModuleParameters param : ModuleParameters.values()) { in setupFilters()
501 param, mEnableOptionalParameter); in setupFilters()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DOptionsParser.java63 String param = mParams[mIndex]; in nextOption() local
64 if (!param.startsWith("-")) { in nextOption()
72 mLastOptionOriginalForm = param; in nextOption()
75 if (param.startsWith("--")) { in nextOption()
77 if ("--".equals(param)) { in nextOption()
81 int valueDelimiterIndex = param.indexOf('='); in nextOption()
83 mLastOptionValue = param.substring(valueDelimiterIndex + 1); in nextOption()
84 mLastOptionOriginalForm = param.substring(0, valueDelimiterIndex); in nextOption()
85 return param.substring("--".length(), valueDelimiterIndex); in nextOption()
87 return param.substring("--".length()); in nextOption()
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_voice_utils.py198 for param in call_params:
212 log.info("---> Call test: %s to %s <---", param[0].serial,
213 param[1].serial)
215 log, *param, wait_time_in_call=wait_time_in_call)
259 for param in call_params:
279 if not call_setup_teardown(log, *param,slot_id_callee = slot,
283 if not call_setup_teardown(log, *param,slot_id_callee = 1-slot,
341 for param in call_params:
355 log.info("---> Call test: %s to %s <---", param[0].serial,
356 param[1].serial)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java197 for (String param : params) { in testValidTestConfigForParameterizedMainlineModules()
198 String error = validateMainlineModuleConfig(param, Set.of(configName)); in testValidTestConfigForParameterizedMainlineModules()
356 private String validateMainlineModuleConfig(String param, Set<String> paths) { in validateMainlineModuleConfig() argument
358 if (!isInAlphabeticalOrder(param)) { in validateMainlineModuleConfig()
363 "duplicated modules.", param, paths)); in validateMainlineModuleConfig()
365 else if (!isValidMainlineParam(param)) { in validateMainlineModuleConfig()
370 "configured.", param, paths)); in validateMainlineModuleConfig()
376 boolean isInAlphabeticalOrder(String param) { in isInAlphabeticalOrder() argument
378 for (String currentString : param.split(String.format("\\+"))) { in isInAlphabeticalOrder()
389 boolean isValidMainlineParam(String param) { in isValidMainlineParam() argument
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/instrumentation/device/command/
Dinstrumentation_command_builder.py42 def add_flag(self, param): argument
43 self._flags.append(param)
45 def remove_flag(self, param): argument
46 while self._flags.count(param):
47 self._flags.remove(param)
/tools/asuite/aidegen/lib/
Dclion_project_file_gen_unittest.py320 param = 'ANDROID'
322 result = clion_project_file_gen._add_dollar_sign(param)
347 param = 'prebuilts/clang/host/linux-x86/clang-r370808/bin/clang'
350 result = clion_project_file_gen._build_cmake_path(param)
355 param = 'prebuilts/clang/host/linux-x86/clang-r370808/bin/clang'
359 result = clion_project_file_gen._build_cmake_path(param, tag)
/tools/tradefederation/core/src/com/android/tradefed/util/
DStringEscapeUtils.java72 for (String param : params) { in paramsToArgs()
76 param = param.replaceAll("\\\\(.)", "$1"); in paramsToArgs()
77 String[] args = QuotationAwareTokenizer.tokenizeLine(param, /* Logging */ false); in paramsToArgs()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestListTestParserTest.java168 TestDescription param = in testParseParameterized() local
171 assertTrue(parser.mTests.contains(param)); in testParseParameterized()
175 TestDescription param = in testParseParameterized() local
178 assertTrue(parser.mTests.contains(param)); in testParseParameterized()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java61 public void testTwo(String param) { in testTwo() argument
62 assertNotNull(param); in testTwo()
79 public void testTwo(String param) { in testTwo() argument
80 assertNotNull(param); in testTwo()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DModuleParametersHelper.java53 ModuleParameters param, boolean withOptional) { in getParameterHandler() argument
54 IModuleParameter value = sHandlerMap.get(param); in getParameterHandler()
56 return sOptionalHandlerMap.get(param); in getParameterHandler()
/tools/test/connectivity/acts_tests/tests/google/gnss/
DAGNSSPerformanceTest.py68 for param in req_params:
69 if param not in self.user_params:
71 'file.'.format(param))
/tools/test/connectivity/acts/tests/google/wifi/
DWifiThroughputStabilityTest.py465 (param, testcase_params[param]) for param in id_fields)
DWifiPingTest.py671 (param, testcase_params[param]) for param in id_fields)
DWifiRvrTest.py716 (param, testcase_params[param]) for param in id_fields)
DWifiSensitivityTest.py422 (param, testcase_params[param]) for param in id_fields)
DWifiRssiTest.py889 (param, testcase_params[param]) for param in id_fields)
DWifiRttManagerTest.py438 for param in param_list:
439 self.invalid_params_logic(param)
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/
DModuleParametersHelperTest.java31 for (ModuleParameters param : ModuleParameters.values()) { in testHandlersExists()
33 ModuleParametersHelper.getParameterHandler(param, /* Include optional */ true); in testHandlersExists()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/
DTokenProviderHelper.java36 public static ITokenProvider getTokenProvider(TokenProperty param) { in getTokenProvider() argument
37 return sHandlerMap.get(param); in getTokenProvider()
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DSignatureConverter.java185 for (VariableElement param : method.getParameters()) { in getExecutableSignature()
186 signature.append(getTypeSignature(param.asType())); in getExecutableSignature()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DTestDeviceOptions.java587 public void addGceDriverParams(String param) { in addGceDriverParams() argument
588 mGceDriverParams.add(param); in addGceDriverParams()
/tools/test/connectivity/acts_tests/tests/google/bt/pts/
Dcmd_input.py1086 for func, param in generic_bt_tests:
1088 func(param)
/tools/metalava/src/test/java/com/android/tools/metalava/
DNullabilityAnnotationsValidatorTest.kt205 fun `Error from NullFromTypeParam not on type param`() { in Error from NullFromTypeParam not on type param()
DDocAnalyzerTest.kt898 fun `Add new parameter when doc exists but no param doc`() { in Add new parameter when doc exists but no param doc()

12