Home
last modified time | relevance | path

Searched refs:initialValue (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt37 private val initialValue: Any? constant
47 override fun initialValue(requireConstant: Boolean): Any? { in type() method
48 if (initialValue != null) { in type()
49 return initialValue in type()
123 val initialValue = null // compute lazily in toString() constant
134 initialValue = initialValue in toString()
/tools/metalava/src/main/java/com/android/tools/metalava/
DJDiffXmlWriter.kt195 val initialValue = field.initialValue(true) in <lambda>() constant
196 val value = if (initialValue != null) { in <lambda>()
197 if (initialValue is Char && compatibility.xmlCharAsInt) { in <lambda>()
198 initialValue.toInt().toString() in <lambda>()
200 escapeAttributeValue(CodePrinter.constantToSource(initialValue)) in <lambda>()
DApiLint.kt501 …} else if ((field.type().primitive || field.type().isString()) && field.initialValue(true) == null… in <lambda>()
672 val value = field.initialValue(true) as? String ?: return in <lambda>()
741 val value = field.initialValue(true) as? String ?: return in <lambda>()
1129 if (field.initialValue(true) != fieldValue) { in <lambda>()
1618 val value = field.initialValue() as? Int ?: continue in <lambda>()
3028 val value = field.initialValue() as? String in <lambda>()
DCompatibilityCheck.kt557 val prevValue = old.initialValue(true) in compare()
564 val newValue = new.initialValue(true) in compare()
DSdkFileWriter.kt77 val value = field.initialValue() ?: continue in generate()
DStubWriter.kt592 … field.modifiers.isFinal() && field.initialValue(true) == null && field.containingClass().isClass() in visitField()
DDocAnalyzer.kt173 it.initialValue(requireConstant = false)?.toString() == perm in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DFieldItem.kt32 fun initialValue(requireConstant: Boolean = true): Any? in <lambda>() method
86 val thisConstant = initialValue(true) in <lambda>()
87 val otherConstant = other.initialValue(true) in <lambda>()
139 if (modifiers.isFinal() && initialValue(true) != null) { in <lambda>()
160 initialValue(!allowDefaultValue) in <lambda>()
DAnnotationItem.kt551 … (item.isEnumConstant() || item.modifiers.isFinal() && item.initialValue(false) != null) in getImplicitNullness()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java128 public Bitmask(int nBits, boolean initialValue) { in Bitmask() argument
130 mBitmask.add(initialValue); in Bitmask()
132 if (initialValue) { in Bitmask()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextFieldItem.kt54 override fun initialValue(requireConstant: Boolean): Any? = constantValue in hashCode() method