HomeSort by relevance Sort by last modified time
    Searched refs:getDefaultInstance (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
TestBadIdentifiers.java 54 .getDefaultInstance().getDescriptor();
56 .getDefaultInstance().getDescriptorForType();
58 .NestedDescriptor.getDefaultInstance().getDescriptor();
60 .Descriptor.NestedDescriptor.getDefaultInstance()
SingleFieldBuilderTest.java 53 TestAllTypes.getDefaultInstance(),
56 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage());
57 assertEquals(TestAllTypes.getDefaultInstance(),
83 TestAllTypes.getDefaultInstance(),
109 TestAllTypes.getDefaultInstance(),
113 assertNotSame(TestAllTypes.getDefaultInstance(), builder.getMessage());
115 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage());
118 assertNotSame(TestAllTypes.getDefaultInstance(), builder.getMessage());
120 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage());
129 TestAllTypes.getDefaultInstance(),
    [all...]
ServiceTest.java 103 FooRequest.getDefaultInstance());
105 FooResponse.getDefaultInstance());
107 BarRequest.getDefaultInstance());
109 BarResponse.getDefaultInstance());
125 EasyMock.same(FooResponse.getDefaultInstance()),
131 EasyMock.same(BarResponse.getDefaultInstance()),
156 EasyMock.same(FooResponse.getDefaultInstance()))).andReturn(fooResponse);
161 EasyMock.same(BarResponse.getDefaultInstance()))).andReturn(barResponse);
177 MessageWithNoOuter request = MessageWithNoOuter.getDefaultInstance();
207 MessageWithNoOuter request = MessageWithNoOuter.getDefaultInstance();
    [all...]
MessageTest.java 57 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance())
115 TestRequired.getDefaultInstance();
337 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance())
339 .addRepeatedForeignMessage(ForeignMessage.getDefaultInstance())
340 .addRepeatedForeignMessage(ForeignMessage.getDefaultInstance())
GeneratedMessageTest.java 85 assertSame(TestAllTypes.getDefaultInstance(),
86 TestAllTypes.getDefaultInstance().getDefaultInstanceForType());
87 assertSame(TestAllTypes.getDefaultInstance(),
156 builder.addRepeatedForeignMessage(ForeignMessage.getDefaultInstance());
172 builder.addRepeatedForeignMessage(ForeignMessage.getDefaultInstance());
431 TestUtil.assertClear(TestAllTypes.getDefaultInstance());
435 TestExtremeDefaultValues.getDefaultInstance();
494 TestAllTypes.getDefaultInstance());
500 assertTrue(TestAllTypes.getDefaultInstance().getDefaultNestedEnum()
551 TestUtil.assertExtensionsClear(TestAllExtensions.getDefaultInstance());
    [all...]
RepeatedFieldBuilderTest.java 106 builder.addBuilder(0, TestAllTypes.getDefaultInstance())
108 builder.addBuilder(TestAllTypes.getDefaultInstance()).setOptionalInt32(3);
DescriptorsTest.java 157 assertEquals(DescriptorProtos.MessageOptions.getDefaultInstance(),
215 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
246 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
299 assertEquals(DescriptorProtos.EnumOptions.getDefaultInstance(),
AbstractMessageTest.java 327 TestRequired.getDefaultInstance();
385 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance())
DynamicMessageTest.java 145 DynamicMessage.getDefaultInstance(TestAllTypes.getDescriptor()));
  /external/protobuf/java/src/test/java/com/google/protobuf/
ServiceTest.java 103 FooRequest.getDefaultInstance());
105 FooResponse.getDefaultInstance());
107 BarRequest.getDefaultInstance());
109 BarResponse.getDefaultInstance());
125 EasyMock.same(FooResponse.getDefaultInstance()),
131 EasyMock.same(BarResponse.getDefaultInstance()),
156 EasyMock.same(FooResponse.getDefaultInstance()))).andReturn(fooResponse);
161 EasyMock.same(BarResponse.getDefaultInstance()))).andReturn(barResponse);
177 MessageWithNoOuter request = MessageWithNoOuter.getDefaultInstance();
207 MessageWithNoOuter request = MessageWithNoOuter.getDefaultInstance();
    [all...]
GeneratedMessageTest.java 65 assertSame(TestAllTypes.getDefaultInstance(),
66 TestAllTypes.getDefaultInstance().getDefaultInstanceForType());
67 assertSame(TestAllTypes.getDefaultInstance(),
305 TestUtil.assertClear(TestAllTypes.getDefaultInstance());
309 TestExtremeDefaultValues.getDefaultInstance();
353 TestAllTypes.getDefaultInstance());
359 assertTrue(TestAllTypes.getDefaultInstance().getDefaultNestedEnum()
410 TestUtil.assertExtensionsClear(TestAllExtensions.getDefaultInstance());
450 TestAllExtensions.getDefaultInstance());
510 TestUtil.assertExtensionsClear(TestAllExtensionsLite.getDefaultInstance());
    [all...]
MessageTest.java 55 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance())
113 TestRequired.getDefaultInstance();
DescriptorsTest.java 153 assertEquals(DescriptorProtos.MessageOptions.getDefaultInstance(),
211 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
242 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
295 assertEquals(DescriptorProtos.EnumOptions.getDefaultInstance(),
AbstractMessageTest.java 291 TestRequired.getDefaultInstance();
336 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance())
DynamicMessageTest.java 128 DynamicMessage.getDefaultInstance(TestAllTypes.getDescriptor()));
  /libcore/luni/src/main/java/java/util/logging/
Handler.java 65 private Object getDefaultInstance(String className) {
109 filter = (Filter) getDefaultInstance(defaultFilter);
112 filter = (Filter) getDefaultInstance(defaultFilter);
135 formatter = (Formatter) getDefaultInstance(defaultFormatter);
138 formatter = (Formatter) getDefaultInstance(defaultFormatter);
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java 67 public static DynamicMessage getDefaultInstance(Descriptor type) {
69 UnknownFieldSet.getDefaultInstance());
148 return getDefaultInstance(type);
167 result = getDefaultInstance(field.getMessageType());
287 this.unknownFields = UnknownFieldSet.getDefaultInstance();
300 unknownFields = UnknownFieldSet.getDefaultInstance();
368 return getDefaultInstance(type);
396 result = getDefaultInstance(field.getMessageType());
UnknownFieldSet.java 76 public static UnknownFieldSet getDefaultInstance() {
124 return (result == null) ? Field.getDefaultInstance() : result;
335 result = getDefaultInstance();
356 return UnknownFieldSet.getDefaultInstance();
377 if (other != getDefaultInstance()) {
673 public static Field getDefaultInstance() {
GeneratedMessage.java 241 UnknownFieldSet.getDefaultInstance();
295 unknownFields = UnknownFieldSet.getDefaultInstance();
777 return DynamicMessage.getDefaultInstance(field.getMessageType());
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java 66 public static DynamicMessage getDefaultInstance(Descriptor type) {
68 UnknownFieldSet.getDefaultInstance());
147 return getDefaultInstance(type);
164 result = getDefaultInstance(field.getMessageType());
261 this.unknownFields = UnknownFieldSet.getDefaultInstance();
342 return getDefaultInstance(type);
370 result = getDefaultInstance(field.getMessageType());
UnknownFieldSet.java 76 public static UnknownFieldSet getDefaultInstance() {
124 return (result == null) ? Field.getDefaultInstance() : result;
335 result = getDefaultInstance();
356 return UnknownFieldSet.getDefaultInstance();
377 if (other != getDefaultInstance()) {
673 public static Field getDefaultInstance() {
GeneratedMessage.java 58 private UnknownFieldSet unknownFields = UnknownFieldSet.getDefaultInstance();
477 return DynamicMessage.getDefaultInstance(field.getMessageType());
791 (Message) invokeOrDie(getMethodOrDie(type, "getDefaultInstance"),
795 type.getName() + ".getDefaultInstance() returned null.");
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
Mailer.java 79 Session session = Session.getDefaultInstance(props, null);
132 Session session = Session.getDefaultInstance(props, null);
179 Session session = Session.getDefaultInstance(props, null);
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
GLProtoBuf.java 20 public static GLMessage getDefaultInstance() {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
compiler.jar 

Completed in 279 milliseconds

1 2