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

1 2 3

  /external/protobuf/java/src/test/java/com/google/protobuf/
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...]
LazyFieldLiteTest.java 49 assertEquals(message, lazyField.getValue(TestAllTypes.getDefaultInstance()));
51 assertNotEqual(message, lazyField.getValue(TestAllTypes.getDefaultInstance()));
57 assertEquals(message, lazyField.getValue(TestAllExtensions.getDefaultInstance()));
59 assertNotEqual(message, lazyField.getValue(TestAllExtensions.getDefaultInstance()));
66 assertNotEqual(message, lazyField.getValue(TestAllTypes.getDefaultInstance()));
67 message = lazyField.getValue(TestAllTypes.getDefaultInstance());
69 assertEquals(message, lazyField.getValue(TestAllTypes.getDefaultInstance()));
76 assertNotEqual(message, lazyField.getValue(TestAllExtensions.getDefaultInstance()));
77 MessageLite value = lazyField.getValue(TestAllExtensions.getDefaultInstance());
79 assertEquals(value, lazyField.getValue(TestAllExtensions.getDefaultInstance()));
    [all...]
TestBadIdentifiers.java 54 .getDefaultInstance().getDescriptor();
56 .getDefaultInstance().getDescriptorForType();
58 .NestedDescriptor.getDefaultInstance().getDescriptor();
60 .Descriptor.NestedDescriptor.getDefaultInstance()
66 TestBadIdentifiersProto.TestConflictingFieldNames.getDefaultInstance();
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 90 assertSame(TestAllTypes.getDefaultInstance(),
91 TestAllTypes.getDefaultInstance().getDefaultInstanceForType());
92 assertSame(TestAllTypes.getDefaultInstance(),
161 builder.addRepeatedForeignMessage(ForeignMessage.getDefaultInstance());
177 builder.addRepeatedForeignMessage(ForeignMessage.getDefaultInstance());
474 TestUtil.assertClear(TestAllTypes.getDefaultInstance());
478 TestExtremeDefaultValues.getDefaultInstance();
537 TestAllTypes.getDefaultInstance());
571 assertTrue(TestAllTypes.getDefaultInstance().getDefaultNestedEnum()
622 TestUtil.assertExtensionsClear(TestAllExtensions.getDefaultInstance());
    [all...]
RepeatedFieldBuilderTest.java 106 builder.addBuilder(0, TestAllTypes.getDefaultInstance())
108 builder.addBuilder(TestAllTypes.getDefaultInstance()).setOptionalInt32(3);
DescriptorsTest.java 161 assertEquals(DescriptorProtos.MessageOptions.getDefaultInstance(),
219 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
250 assertEquals(DescriptorProtos.FieldOptions.getDefaultInstance(),
303 assertEquals(DescriptorProtos.EnumOptions.getDefaultInstance(),
AbstractMessageTest.java 327 TestRequired.getDefaultInstance();
385 .setOptionalForeignMessage(ForeignMessage.getDefaultInstance())
  /frameworks/base/core/java/android/security/
NetworkSecurityPolicy.java 102 ApplicationConfig.getDefaultInstance().handleTrustStorageUpdate();
  /external/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java 79 public static DynamicMessage getDefaultInstance(Descriptor type) {
84 UnknownFieldSet.getDefaultInstance());
164 return getDefaultInstance(type);
197 result = getDefaultInstance(field.getMessageType());
326 this.unknownFields = UnknownFieldSet.getDefaultInstance();
340 unknownFields = UnknownFieldSet.getDefaultInstance();
423 return getDefaultInstance(type);
476 result = getDefaultInstance(field.getMessageType());
UnknownFieldSet.java 76 public static UnknownFieldSet getDefaultInstance() {
125 return (result == null) ? Field.getDefaultInstance() : result;
336 result = getDefaultInstance();
357 return UnknownFieldSet.getDefaultInstance();
394 if (other != getDefaultInstance()) {
690 public static Field getDefaultInstance() {
    [all...]
  /frameworks/base/core/java/android/security/net/config/
RootTrustManagerFactorySpi.java 56 mApplicationConfig = ApplicationConfig.getDefaultInstance();
ApplicationConfig.java 183 public static ApplicationConfig getDefaultInstance() {
  /packages/apps/Nfc/src/com/android/nfc/
NfcDiscoveryParameters.java 144 public static NfcDiscoveryParameters getDefaultInstance() {
  /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);
  /external/testng/src/main/java/org/testng/internal/
ClassImpl.java 114 private Object getDefaultInstance() {
190 result = new Object[] { getDefaultInstance() };
  /libcore/ojluni/src/main/java/sun/net/www/
MimeTable.java 82 static final MimeTable defaultInstance = getDefaultInstance();
84 static MimeTable getDefaultInstance() {
  /prebuilts/tools/common/m2/repository/com/google/http-client/google-http-client-jackson2/1.19.0/
google-http-client-jackson2-1.19.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/tracker/25.2.0-alpha1/
tracker-25.2.0-alpha1.jar 
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/tracker/25.2.0-alpha3/
tracker-25.2.0-alpha3.jar 
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
GLProtoBuf.java 20 public static GLMessage getDefaultInstance() {
    [all...]
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/protos/25.2.0-beta1/
protos-25.2.0-beta1.jar 
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/protos/25.2.0-beta2/
protos-25.2.0-beta2.jar 
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/protos/25.2.0-beta3/
protos-25.2.0-beta3.jar 

Completed in 1249 milliseconds

1 2 3