Home
last modified time | relevance | path

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

/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/tools/lab/
Dmain.py54 'logger': lambda param, output: [LoggerReporter(param)],
55 'json': lambda param, output: [JsonReporter(param, output)]
59 'usb_io': lambda param: [UsbMetric()],
60 'disk': lambda param: [DiskMetric()],
61 'uptime': lambda param: [UptimeMetric()],
63 lambda param: [VerifyMetric(), AdbHashMetric()],
64 'ram': lambda param: [RamMetric()],
65 'cpu': lambda param: [CpuMetric()],
66 'network': lambda param: [NetworkMetric(param)],
67 'hostname': lambda param: [NameMetric()],
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java104 public final void setModuleParameter(ModuleParameters param) { in setModuleParameter() argument
105 mForcedModuleParameter = param; in setModuleParameter()
274 for (IModuleParameter param : params) { in loadOneConfig()
275 if (param instanceof NegativeHandler) { in loadOneConfig()
277 && !param.getClass().equals(mForcedParameter.getClass())) { in loadOneConfig()
284 if (param.getClass().equals(mForcedParameter.getClass())) { in loadOneConfig()
295 String.format("%s[%s]", baseId, param.getParameterIdentifier()); in loadOneConfig()
300 param.applySetup(paramConfig); in loadOneConfig()
613 for (IModuleParameter param : params) { in shouldCreateMultiAbiForBase()
614 if (param instanceof NotMultiAbiHandler) { in shouldCreateMultiAbiForBase()
/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); in paramsToArgs()
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_voice_utils.py193 for param in call_params:
207 log.info("---> Call test: %s to %s <---", param[0].serial,
208 param[1].serial)
210 log, *param, wait_time_in_call=wait_time_in_call)
259 for param in call_params:
281 if not call_setup_teardown(log, *param,slot_id_callee = slot,
285 if not call_setup_teardown(log, *param,slot_id_callee = 1-slot,
344 for param in call_params:
358 log.info("---> Call test: %s to %s <---", param[0].serial,
359 param[1].serial)
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DModuleParametersHelper.java52 ModuleParameters param, boolean withOptional) { in getParameterHandler() argument
53 IModuleParameter value = sHandlerMap.get(param); in getParameterHandler()
55 return sOptionalHandlerMap.get(param); in getParameterHandler()
/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.java58 public void testTwo(String param) { in testTwo() argument
59 assertNotNull(param); in testTwo()
76 public void testTwo(String param) { in testTwo() argument
77 assertNotNull(param); in testTwo()
/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/metalava/src/test/java/com/android/tools/metalava/
DNullabilityAnnotationsValidatorTest.kt196 fun `Error from NullFromTypeParam not on type param`() { in Error from NullFromTypeParam not on type param()
DDocAnalyzerTest.kt900 fun `Add new parameter when doc exists but no param doc`() { in Add new parameter when doc exists but no param doc()
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRttManagerTest.py438 for param in param_list:
439 self.invalid_params_logic(param)
/tools/test/connectivity/acts/tests/google/bt/pts/
Dcmd_input.py1086 for func, param in generic_bt_tests:
1088 func(param)