Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/
DSourceFieldItemTest.kt58 assertEquals(fieldValues, classItem.fields().map { it.initialValue(false) }) in test field with default value as constant literal()
59 assertEquals(fieldValues, classItem.fields().map { it.initialValue(true) }) in test field with default value as constant literal()
82 assertEquals(38, fieldItem1.initialValue(true)) in test field with default value as constant expression()
83 assertEquals(38, fieldItem1.initialValue(false)) in test field with default value as constant expression()
84 assertEquals(91, fieldItem2.initialValue(true)) in test field with default value as constant expression()
85 assertEquals(91, fieldItem2.initialValue(false)) in test field with default value as constant expression()
115 assertEquals(null, fieldItem1.initialValue(false)) in test field with default value as object reference()
116 assertEquals(null, fieldItem1.initialValue(true)) in test field with default value as object reference()
117 assertEquals(null, fieldItem2.initialValue(true)) in test field with default value as object reference()
118 assertEquals(null, fieldItem2.initialValue(false)) in test field with default value as object reference()
[all …]
DCommonFieldItemTest.kt495 val value = field.initialValue(true) as Float in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineFieldItem.kt85 override fun initialValue(requireConstant: Boolean) = fieldValue?.initialValue(requireConstant) in initialValue() method
96 fun initialValue(requireConstant: Boolean) = in initialValue() method in TurbineFieldValue
DTurbineCodebaseInitialiser.kt653 fieldValue.initialValue(false) != null in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt59 override fun initialValue(requireConstant: Boolean): Any? { in type() method
60 return fieldValue?.initialValue(requireConstant) in type()
135 fieldValue.initialValue(false) != null in create()
185 fun initialValue(requireConstant: Boolean): Any? { in initialValue() method
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/logger/
DInvocationLocalTest.java54 protected String initialValue() { in getReturnsCustomInitialValue()
69 protected Object initialValue() { in getReturnsSameInitialValue()
84 protected Object initialValue() { in getReturnsDifferentValuePerInvocation()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DFieldItem.kt40 fun initialValue(requireConstant: Boolean = true): Any? in <lambda>() method
68 val thisConstant = initialValue() in <lambda>()
69 val otherConstant = other.initialValue() in <lambda>()
113 initialValue(!allowDefaultValue) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DJDiffXmlWriter.kt169 val initialValue = field.initialValue(true) in <lambda>() constant
171 if (initialValue != null) { in <lambda>()
172 XmlUtils.toXmlAttributeValue(CodePrinter.constantToSource(initialValue)) in <lambda>()
DSdkFileWriter.kt76 val value = field.initialValue() ?: continue in generate()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/
DInvocationLocal.java54 protected @Nullable T initialValue() { in initialValue() method in InvocationLocal
DCurrentInvocation.java294 locals.computeIfAbsent(local, unused -> Optional.ofNullable(local.initialValue())); in getLocal()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFeatureFlagTargetPreparer.java222 String initialValue = initialValues.get(name); in updateFlagsToRestore() local
224 if (Objects.equals(updatedValue, initialValue)) { in updateFlagsToRestore()
231 .put(name, initialValue); in updateFlagsToRestore()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java129 public Bitmask(int nBits, boolean initialValue) { in Bitmask() argument
131 mBitmask.add(initialValue); in Bitmask()
133 if (initialValue) { in Bitmask()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextFieldItem.kt50 override fun initialValue(requireConstant: Boolean): Any? = constantValue in hashCode() method
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiFieldItemTest.kt54 assertNull(x.initialValue(false)) in no error for initializer of arrayOf()
/tools/tradefederation/core/src/com/android/tradefed/config/
DRemoteFileResolver.java46 protected IFileResolverLoader initialValue() {
DDynamicRemoteFileResolver.java94 protected FileResolverLoader initialValue() {
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java69 protected ConcurrentHashMap<String, File> initialValue() {
79 protected ConcurrentHashMap<String, File> initialValue() {
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt692 val prevValue = old.initialValue() in compare()
700 val newValue = new.initialValue() in compare()
754 old.initialValue() != null in compare()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt135 assertThat(field.initialValue()).isNull() in <lambda>()
159 assertThat(field.initialValue()).isEqualTo("hi") in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt335 field.initialValue(true) == null && in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt165 ?.filter { it.initialValue(requireConstant = false)?.toString() == perm } in <lambda>()