/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiParameterItem.kt | 122 defaultValue() != INVALID_VALUE in hasDefaultValue() 177 private var defaultValue: String? = null variable 179 override fun defaultValue(): String? { in defaultValue() method 180 if (defaultValue == null) { in defaultValue() 181 defaultValue = computeDefaultValue() in defaultValue() 183 return defaultValue in defaultValue() 202 val defaultValue = in computeDefaultValue() constant 203 (symbol.psi as? KtParameter)?.defaultValue ?: return INVALID_VALUE in computeDefaultValue() 204 if (defaultValue is KtConstantExpression) { in computeDefaultValue() 205 return defaultValue.text in computeDefaultValue() [all …]
|
D | PsiMethodItem.kt | 214 override fun defaultValue(): String { in <lambda>() method 220 psiMethod.defaultValue?.let { codebase.printer.toSourceExpression(it, this) } in <lambda>() 221 ?: super.defaultValue() in <lambda>() 223 else -> super.defaultValue() in <lambda>()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | ArgsOptionParser.java | 338 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/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiParameterItemTest.kt | 92 assertEquals("\"\"", parameter.defaultValue()) in actuals get params from expects() 105 assertEquals("\"\"", parameter.defaultValue()) in actuals get params from expects() 114 assertEquals("\"\"", parameters[0].defaultValue()) in actuals get params from expects() 117 assertEquals("param + \"\"", parameters[1].defaultValue()) in actuals get params from expects()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineMethodItem.kt | 40 private val defaultValue: String, constant 113 defaultValue, in duplicate() 146 override fun defaultValue(): String = defaultValue method
|
D | TurbineConstructorItem.kt | 37 private val defaultValue: String, constant 48 defaultValue,
|
D | TurbineParameterItem.kt | 55 override fun defaultValue(): String? { in defaultValue() method
|
D | TurbineCodebaseInitialiser.kt | 700 val defaultValue = in <lambda>() constant 701 if (method.defaultValue() != null) in <lambda>() 702 extractAnnotationDefaultValue(method.defaultValue()!!, defaultValueExpr) in <lambda>() 727 defaultValue, in <lambda>() 963 val optExpr = method.decl()?.defaultValue() in <lambda>()
|
/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 112 private String getString(String arg, String defaultValue) { in getString() argument 115 return defaultValue; in getString() 151 private int getInteger(String arg, int defaultValue) { in getInteger() argument 155 return defaultValue; in getInteger() 159 private boolean getBoolean(String arg, boolean defaultValue) { in getBoolean() argument 163 return defaultValue; in getBoolean()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ArgsOptionParser.java | 501 String defaultValue = OptionSetter.getFieldValueAsString(field, optionObject); in getOptionHelp() local 503 if (shouldOutputHelpForOption(importantOnly, option, defaultValue)) { in getOptionHelp() 521 out.append(getDefaultValueHelp(defaultValue)); in getOptionHelp() 538 String defaultValue) { in shouldOutputHelpForOption() argument 546 return defaultValue == null; in shouldOutputHelpForOption() 587 private static String getDefaultValueHelp(String defaultValue) { in getDefaultValueHelp() argument 588 if (defaultValue == null) { in getDefaultValueHelp() 591 return String.format(" Default: %s.", defaultValue); in getDefaultValueHelp()
|
/tools/aadevtools/avd/ |
D | create_avd.sh | 32 defaultValue=$2 34 export "${var}=$defaultValue" 35 echo "${var}=$defaultValue"
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | OptionsParser.java | 155 public boolean getOptionalBooleanValue(boolean defaultValue) throws OptionsException { in getOptionalBooleanValue() argument 172 return defaultValue; in getOptionalBooleanValue() 183 return defaultValue; in getOptionalBooleanValue()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | SignatureWriter.kt | 186 val default = method.defaultValue() in <lambda>() 359 val defaultValue = parameter.defaultValue() in <lambda>() constant 360 if (defaultValue != null) { in <lambda>() 361 write(defaultValue) in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | BundletoolUtil.java | 276 protected static long parseCmdTimeout(List<String> args, long defaultValue) in parseCmdTimeout() argument 283 return Long.max(timeout, defaultValue); in parseCmdTimeout() 295 return defaultValue; in parseCmdTimeout()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | ApiFile.kt | 1565 var defaultValue = UNKNOWN_DEFAULT_VALUE in parseParameterList() variable 1567 defaultValue = tokenizer.requireToken(true) in parseParameterList() 1568 val sb = StringBuilder(defaultValue) in parseParameterList() 1569 if (defaultValue == "{") { in parseParameterList() 1585 var balance = if (defaultValue == "(") 1 else 0 in parseParameterList() 1603 defaultValue = sb.toString() in parseParameterList() 1605 if (defaultValue != UNKNOWN_DEFAULT_VALUE) { in parseParameterList() 1624 defaultValue, in parseParameterList() 1645 val defaultValue: String?, constant in com.android.tools.metalava.model.text.ApiFile.ParameterInfo 1673 defaultValue, in create()
|
D | TextParameterItem.kt | 59 override fun defaultValue(): String? = defaultValueBody in type() method
|
D | TextMethodItem.kt | 167 override fun defaultValue(): String { in defaultValue() method
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | ParameterItem.kt | 80 fun defaultValue(): String? in name() method
|
D | TypeItem.kt | 160 fun defaultValue(): Any? = null in <lambda>() method 795 val defaultValue: Any?, constant in com.android.tools.metalava.model.PrimitiveTypeItem.Primitive 809 override fun defaultValue(): Any? = kind.defaultValue in defaultValue() method
|
D | MethodItem.kt | 367 fun defaultValue(): String = "" in <lambda>() method 370 return defaultValue() != "" in <lambda>()
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParser.java | 65 Field(String tag, String defaultValue) { in Field() argument 67 mDefaultValue = defaultValue; in Field()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/ |
D | CompatibilityCheck.kt | 457 new.defaultValue() != old.defaultValue() in compare() 459 val prevValue = old.defaultValue() in compare() 467 val newValue = new.defaultValue() in compare() 482 new.containingClass().isAnnotationType() && old.defaultValue().isEmpty() in compare()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 105 public long getIntProperty(String name, long defaultValue) throws DeviceNotAvailableException; in getIntProperty() argument 117 public boolean getBooleanProperty(String name, boolean defaultValue) in getBooleanProperty() argument
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/ |
D | CommonMethodItemTest.kt | 439 assertEquals(values, classItem.methods().map { it.defaultValue() }) in <lambda>()
|
/tools/apksig/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |