Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DKeyValueListParser.java242 public int getDefaultValue() { in getDefaultValue() method in KeyValueListParser.IntValue
295 public long getDefaultValue() { in getDefaultValue() method in KeyValueListParser.LongValue
348 public String getDefaultValue() { in getDefaultValue() method in KeyValueListParser.StringValue
401 public float getDefaultValue() { in getDefaultValue() method in KeyValueListParser.FloatValue
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1034 public Object getDefaultValue() { in getDefaultValue() method in Descriptors.FieldDescriptor
1400 defaultValue = TextFormat.parseInt32(proto.getDefaultValue()); in crossLink()
1404 defaultValue = TextFormat.parseUInt32(proto.getDefaultValue()); in crossLink()
1409 defaultValue = TextFormat.parseInt64(proto.getDefaultValue()); in crossLink()
1413 defaultValue = TextFormat.parseUInt64(proto.getDefaultValue()); in crossLink()
1416 if (proto.getDefaultValue().equals("inf")) { in crossLink()
1418 } else if (proto.getDefaultValue().equals("-inf")) { in crossLink()
1420 } else if (proto.getDefaultValue().equals("nan")) { in crossLink()
1423 defaultValue = Float.valueOf(proto.getDefaultValue()); in crossLink()
1427 if (proto.getDefaultValue().equals("inf")) { in crossLink()
[all …]
DExtensionLite.java51 public abstract Type getDefaultValue(); in getDefaultValue() method in ExtensionLite
DDynamicMessage.java206 result = field.getDefaultValue(); in getField()
503 result = field.getDefaultValue();
532 && value.equals(field.getDefaultValue())) {
DGeneratedMessage.java892 descriptor.getDefaultValue());
1105 return field.getDefaultValue();
1271 descriptor.getDefaultValue());
1491 return field.getDefaultValue();
1949 public Type getDefaultValue() {
1957 getDescriptor().getDefaultValue());
2353 return !get(message).equals(field.getDefaultValue());
2363 return !get(builder).equals(field.getDefaultValue());
DGeneratedMessageV3.java893 descriptor.getDefaultValue());
1106 return field.getDefaultValue();
1272 descriptor.getDefaultValue());
1492 return field.getDefaultValue();
2022 return !get(message).equals(field.getDefaultValue());
2032 return !get(builder).equals(field.getDefaultValue());
DGeneratedMessageLite.java1146 public Type getDefaultValue() { in getDefaultValue() method in GeneratedMessageLite.GeneratedExtension
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java364 if (oldSetting != null && !oldSetting.isNull() && oldSetting.getDefaultValue() != null) { in resetSettingDefaultValueLocked()
366 String oldDefaultValue = oldSetting.getDefaultValue(); in resetSettingDefaultValueLocked()
372 newSetting.getValue(), oldDefaultValue, newSetting.getDefaultValue()); in resetSettingDefaultValueLocked()
413 oldDefaultValue, newState.getDefaultValue()); in insertSettingLocked()
460 String oldDefaultValue = setting.getDefaultValue(); in resetSettingLocked()
467 String newDefaultValue = setting.getDefaultValue(); in resetSettingLocked()
699 setting.getValue(), setting.getDefaultValue(), setting.getPackageName(), in doWriteState()
985 public String getDefaultValue() { in getDefaultValue() method in SettingsState.Setting
DSettingsProvider.java883 if (setting.getDefaultValue() != null) { in dumpSettingsLocked()
884 pw.print(" default:"); pw.print(setting.getDefaultValue()); in dumpSettingsLocked()
4500 } else if (setting.getDefaultValue() != null && setting.isDefaultFromSystem()) {
DSettingsProtoDumpUtil.java1623 if (setting.getDefaultValue() != null) { in dumpSetting()
1624 proto.write(SettingProto.DEFAULT_VALUE, setting.getDefaultValue()); in dumpSetting()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java279 assertEquals(0, d.findFieldByName("optional_int32").getDefaultValue()); in testFieldDescriptorDefault()
281 assertEquals(41, d.findFieldByName("default_int32").getDefaultValue()); in testFieldDescriptorDefault()
287 d.findFieldByName("escaped_bytes").getDefaultValue()); in testFieldDescriptorDefault()
288 assertEquals(-1, d.findFieldByName("large_uint32").getDefaultValue()); in testFieldDescriptorDefault()
289 assertEquals(-1L, d.findFieldByName("large_uint64").getDefaultValue()); in testFieldDescriptorDefault()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java603 return wrapField(context, fieldDescriptor, fieldDescriptor.getDefaultValue()); in getField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1399 private Object getDefaultValue(FieldDescriptor field, Message.Builder builder) { in getDefaultValue() method in JsonFormat.ParserImpl
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt42457 method public java.lang.Object getDefaultValue();
/frameworks/base/api/
Dcurrent.txt61452 method @Nullable public Object getDefaultValue();