Home
last modified time | relevance | path

Searched refs:getDefaultValue (Results 1 – 25 of 74) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/collect/
DForwardingTestCase.java71 return getDefaultValue(method.getReturnType()); in createProxyInstance()
107 private static Object getDefaultValue(Class<?> returnType) { in getDefaultValue() method in ForwardingTestCase
131 return getDefaultValue(method.getReturnType()); in getDefaultValue()
151 parameters[i] = getDefaultValue(parameterTypes[i]); in callAllPublicMethods()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1030 public Object getDefaultValue() { in getDefaultValue() method in Descriptors.FieldDescriptor
1396 defaultValue = TextFormat.parseInt32(proto.getDefaultValue()); in crossLink()
1400 defaultValue = TextFormat.parseUInt32(proto.getDefaultValue()); in crossLink()
1405 defaultValue = TextFormat.parseInt64(proto.getDefaultValue()); in crossLink()
1409 defaultValue = TextFormat.parseUInt64(proto.getDefaultValue()); in crossLink()
1412 if (proto.getDefaultValue().equals("inf")) { in crossLink()
1414 } else if (proto.getDefaultValue().equals("-inf")) { in crossLink()
1416 } else if (proto.getDefaultValue().equals("nan")) { in crossLink()
1419 defaultValue = Float.valueOf(proto.getDefaultValue()); in crossLink()
1423 if (proto.getDefaultValue().equals("inf")) { in crossLink()
[all …]
DExtensionLite.java51 public abstract Type getDefaultValue(); in getDefaultValue() method in ExtensionLite
DGeneratedMessage.java864 descriptor.getDefaultValue()); in getExtension()
1030 return field.getDefaultValue(); in getField()
1196 descriptor.getDefaultValue()); in getExtension()
1327 return field.getDefaultValue(); in getField()
1785 public Type getDefaultValue() {
1793 getDescriptor().getDefaultValue());
2189 return !get(message).equals(field.getDefaultValue());
2199 return !get(builder).equals(field.getDefaultValue());
/external/javassist/src/main/javassist/bytecode/
DAnnotationDefaultAttribute.java121 public MemberValue getDefaultValue() in getDefaultValue() method in AnnotationDefaultAttribute
157 return getDefaultValue().toString(); in toString()
/external/desugar/java/com/google/devtools/common/options/
DInvocationPolicyEnforcer.java590 optionDefinition.getDefaultValue()); in applySetValueOperation()
615 clearedValueDescription.getOptionDefinition().getDefaultValue(); in applyUseDefaultOperation()
711 convertedPolicyValues, optionDescription.getOptionDefinition().getDefaultValue()); in apply()
717 policyType, optionDefinition.getDefaultValue(), optionDefinition)); in apply()
753 convertedPolicyValues, optionDescription.getOptionDefinition().getDefaultValue())) { in checkDefaultValue()
761 optionDefinition.getDefaultValue(), in checkDefaultValue()
774 optionDescription.getOptionDefinition().getDefaultValue(), in checkDefaultValue()
DOptionValueDescription.java124 return optionDefinition.getDefaultValue(); in getValue()
411 if (parsedOption.getConvertedValue().equals(optionDefinition.getDefaultValue())) { in addOptionInstance()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java99 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
127 args[i] = MethodDescriptor.getDefaultValue(parameterType, annotations[i]); in invoke()
363 result.append(", default " + getDefaultValue(parameterType, annotations)); in getHelpForParameter()
421 Object defaultValue = getDefaultValue(parameterTypes[index], parametersAnnotations[index]); in getParameterValues()
499 public static Object getDefaultValue(Type parameterType, Annotation[] annotations) { in getDefaultValue() method in MethodDescriptor
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java364 args[i] = getDefaultValue(param.getType()); in buildParamList()
375 private <T> T getDefaultValue(TypeToken<T> type) { in getDefaultValue() method in NullPointerTester
426 return checkNotNull(getDefaultValue(type)); in defaultConverter()
443 return getDefaultValue(returnType);
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedAnnotationMemberDeclaration.java31 Expression getDefaultValue(); in getDefaultValue() method
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnnotationMemberDeclaration.java27 public Expression getDefaultValue() { in getDefaultValue() method in JavaParserAnnotationMemberDeclaration
/external/parameter-framework/upstream/parameter/
DEnumParameterType.h60 virtual uint32_t getDefaultValue() const;
DIntegerParameterType.h73 virtual uint32_t getDefaultValue() const;
DParameterType.h110 virtual uint32_t getDefaultValue() const;
DParameter.cpp88 static_cast<const CParameterType *>(getTypeElement())->getDefaultValue(); in setDefaultValues()
DParameterType.cpp123 uint32_t CParameterType::getDefaultValue() const in getDefaultValue() function in CParameterType
DEnumParameterType.cpp183 uint32_t CEnumParameterType::getDefaultValue() const in getDefaultValue() function in CEnumParameterType
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/body/
DAnnotationMemberDeclarationTest.java52 assertFalse(decl.getDefaultValue().isPresent()); in removeDefaultValueWhenNoDefaultValueIsPresent()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceTest.java130 assertThat(shadow.getDefaultValue(), nullValue()); in shouldRememberDefaultValue()
132 assertThat(shadow.getDefaultValue(), sameInstance(defaultValue)); in shouldRememberDefaultValue()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java289 assertEquals(0, d.findFieldByName("optional_int32").getDefaultValue()); in testFieldDescriptorDefault()
291 assertEquals(41, d.findFieldByName("default_int32").getDefaultValue()); in testFieldDescriptorDefault()
297 d.findFieldByName("escaped_bytes").getDefaultValue()); in testFieldDescriptorDefault()
298 assertEquals(-1, d.findFieldByName("large_uint32").getDefaultValue()); in testFieldDescriptorDefault()
299 assertEquals(-1L, d.findFieldByName("large_uint64").getDefaultValue()); in testFieldDescriptorDefault()
/external/guice/core/src/com/google/inject/internal/
DAnnotations.java67 if (m.getDefaultValue() == null) { in isAllDefaultMethods()
121 result.put(method.getName(), method.getDefaultValue());
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DAnnotationMemberDeclaration.java84 public Expression getDefaultValue() { in getDefaultValue() method in AnnotationMemberDeclaration
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreference.java157 public Object getDefaultValue() { in getDefaultValue() method in ShadowPreference
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DAnnotationMemberDeclarationTransformationsTest.java102 assertEquals(true, md.getDefaultValue().get().remove()); in removingDefaultValue()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DAnnotationMemberDeclaration.java93 public Expression getDefaultValue() { in getDefaultValue() method in AnnotationMemberDeclaration

123