Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextParameterItem.kt31 private var defaultValue: String? = NO_DEFAULT_VALUE, variable
57 override fun hasDefaultValue(): Boolean = defaultValue != NO_DEFAULT_VALUE in type()
58 override fun defaultValue(): String? = defaultValue in type() method
/tools/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java338 String defaultValue = OptionSetter.getFieldValueAsString(field, optionObject); in getOptionHelp() local
340 if (shouldOutputHelpForOption(importantOnly, option, defaultValue)) { in getOptionHelp()
358 out.append(getDefaultValueHelp(defaultValue)); in getOptionHelp()
375 String defaultValue) { in shouldOutputHelpForOption() argument
383 return defaultValue == null; in shouldOutputHelpForOption()
423 private static String getDefaultValueHelp(String defaultValue) { in getDefaultValueHelp() argument
424 if (defaultValue == null) { in getDefaultValueHelp()
427 return String.format(" Default: %s.", defaultValue); in getDefaultValueHelp()
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiUtil.java98 private String getString(String arg, String defaultValue) { in getString() argument
101 return defaultValue; in getString()
137 private int getInteger(String arg, int defaultValue) { in getInteger() argument
141 return defaultValue; in getInteger()
145 private boolean getBoolean(String arg, boolean defaultValue) { in getBoolean() argument
149 return defaultValue; in getBoolean()
/tools/tradefederation/core/src/com/android/tradefed/config/
DArgsOptionParser.java452 String defaultValue = OptionSetter.getFieldValueAsString(field, optionObject); in getOptionHelp() local
454 if (shouldOutputHelpForOption(importantOnly, option, defaultValue)) { in getOptionHelp()
472 out.append(getDefaultValueHelp(defaultValue)); in getOptionHelp()
489 String defaultValue) { in shouldOutputHelpForOption() argument
497 return defaultValue == null; in shouldOutputHelpForOption()
539 private static String getDefaultValueHelp(String defaultValue) { in getDefaultValueHelp() argument
540 if (defaultValue == null) { in getDefaultValueHelp()
543 return String.format(" Default: %s.", defaultValue); in getDefaultValueHelp()
/tools/apksig/src/apksigner/java/com/android/apksigner/
DOptionsParser.java140 public boolean getOptionalBooleanValue(boolean defaultValue) throws OptionsException { in getOptionalBooleanValue() argument
157 return defaultValue; in getOptionalBooleanValue()
168 return defaultValue; in getOptionalBooleanValue()
/tools/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/utils/
DFlagParser.java110 public String getFlagValueOrDefault(String flagName, String defaultValue) { in getFlagValueOrDefault() argument
111 return flags.getOrDefault(flagName, defaultValue); in getFlagValueOrDefault()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DParameterItem.kt61 fun defaultValue(): String? in name() method
DTypeItem.kt104 fun defaultValue(): Any? { in <lambda>() method
133 fun defaultValueString(): String = defaultValue()?.toString() ?: "null" in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiParameterItem.kt110 override fun defaultValue(): String? { in defaultValue() method
114 return ktParameter.defaultValue?.text in defaultValue()
DPsiMethodItem.kt294 val defaultValue = PsiTypesUtil.getDefaultValueOfType(method.psiMethod.returnType) in <lambda>() constant
295 sb.append(defaultValue) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java772 String defaultValue = TextParameterItemKt.NO_DEFAULT_VALUE; in parseParameterList() local
776 defaultValue = (String) parseValue(JAVA_LANG_STRING, token); in parseParameterList()
791 …method.addParameter(new TextParameterItem(api, method, name, publicName, defaultValue, index, type, in parseParameterList()
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...