/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | ConfigFactory.java | 160 newLinks.add(link.toBuilder() in getLinks() 172 EventMetric.Builder metric = template.toBuilder() in addEventMetric() 192 CountMetric.Builder metric = template.toBuilder() in addCountMetric() 213 DurationMetric.Builder metric = template.toBuilder() in addDurationMetric() 234 GaugeMetric.Builder metric = template.toBuilder() in addGaugeMetric() 255 ValueMetric.Builder metric = template.toBuilder() in addValueMetric() 275 Predicate.Builder predicate = template.toBuilder() in addPredicate() 278 Predicate.Combination.Builder cb = template.getCombination().toBuilder() in addPredicate() 286 SimplePredicate.Builder sc = template.getSimplePredicate().toBuilder() in addPredicate() 302 AtomMatcher.Builder matcher = template.toBuilder() in addMatcher() [all …]
|
/frameworks/base/core/jni/android/graphics/text/ |
D | MeasuredText.cpp | 42 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder() function 73 toBuilder(builderPtr)->addStyleRun(start, end, std::move(minikinPaint), isRtl); in nAddStyleRun() 79 toBuilder(builderPtr)->addReplacementRun(start, end, width, in nAddReplacementRun() 91 return toJLong(toBuilder(builderPtr)->build(textBuffer, computeHyphenation, computeLayout, in nBuildMeasuredText() 97 delete toBuilder(builderPtr); in nFreeBuilder()
|
/frameworks/base/core/jni/android/graphics/fonts/ |
D | FontFamily.cpp | 36 static inline NativeFamilyBuilder* toBuilder(jlong ptr) { in toBuilder() function 55 toBuilder(builderPtr)->fonts.push_back(toFontWrapper(fontPtr)->font); in FontFamily_Builder_addFont() 61 std::unique_ptr<NativeFamilyBuilder> builder(toBuilder(builderPtr)); in FontFamily_Builder_build()
|
D | Font.cpp | 47 static inline NativeFontBuilder* toBuilder(jlong ptr) { in toBuilder() function 132 toBuilder(builderPtr)->axes.emplace_back(static_cast<minikin::AxisTag>(tag), value); in Font_Builder_addAxis() 139 std::unique_ptr<NativeFontBuilder> builder(toBuilder(builderPtr)); in Font_Builder_build()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | LazyStringEndToEndTest.java | 99 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 105 assertSame(repeated0, proto.toBuilder().getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed() 106 assertSame(repeated1, proto.toBuilder().getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
|
D | NestedBuildersTest.java | 176 Vehicle vehicle3 = vehicle1.toBuilder().build(); in testMerge()
|
D | AbstractMessageTest.java | 98 public Builder toBuilder() { in toBuilder() method in AbstractMessageTest.AbstractMessageWrapper 99 return new Builder(wrappedMessage.toBuilder()); in toBuilder()
|
D | DynamicMessageTest.java | 260 DynamicMessage derived = message.toBuilder().build(); in testToBuilder()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LazyStringEndToEndTest.java | 123 assertSame(optional, proto.toBuilder().getOptionalStringBytes()); in testNoStringCachingIfOnlyBytesAccessed() 129 assertSame(repeated0, proto.toBuilder().getRepeatedStringBytes(0)); in testNoStringCachingIfOnlyBytesAccessed() 130 assertSame(repeated1, proto.toBuilder().getRepeatedStringBytes(1)); in testNoStringCachingIfOnlyBytesAccessed()
|
D | MapForProto2LiteTest.java | 162 mapBuilder = map.toBuilder(); in testUpdateMapValues() 308 builder = message.toBuilder(); in testGettersAndSetters() 313 builder = message.toBuilder(); in testGettersAndSetters() 318 builder = message.toBuilder(); in testGettersAndSetters() 383 builder = message.toBuilder(); in testSerializeAndParse() 390 builder = message.toBuilder(); in testSerializeAndParse() 596 builder = message.toBuilder().putInt32ToInt32Field(4, 44); in testCount()
|
D | MapTest.java | 236 usingMutableMapBuilder = usingMutableMap.toBuilder(); in testUpdateMapValues() 241 usingAccessorsBuilder = usingAccessors.toBuilder(); in testUpdateMapValues() 440 builder = message.toBuilder(); in testGettersAndSetters() 445 builder = message.toBuilder(); in testGettersAndSetters() 450 builder = message.toBuilder(); in testGettersAndSetters() 550 builder = message.toBuilder(); in testSerializeAndParse() 557 builder = message.toBuilder(); in testSerializeAndParse() 861 Message.Builder mapEntryBuilder = mapEntry.toBuilder(); in testReflectionApi() 953 builder = message.toBuilder(); in testUnknownEnumValues() 989 Message.Builder mapEntryBuilder = mapEntry.toBuilder(); in testUnknownEnumValuesInReflectionApi() [all …]
|
D | MapForProto2Test.java | 234 usingMutableMapBuilder = usingMutableMap.toBuilder(); in testUpdateMapValues() 239 usingAccessorsBuilder = usingAccessors.toBuilder(); in testUpdateMapValues() 438 builder = message.toBuilder(); in testGettersAndSetters() 443 builder = message.toBuilder(); in testGettersAndSetters() 448 builder = message.toBuilder(); in testGettersAndSetters() 515 builder = message.toBuilder(); in testSerializeAndParse() 522 builder = message.toBuilder(); in testSerializeAndParse() 749 Message.Builder mapEntryBuilder = mapEntry.toBuilder(); in testReflectionApi() 928 builder = message.toBuilder().putInt32ToInt32Field(4, 44); in testCount()
|
D | LiteEqualsAndHashTest.java | 103 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithUnknownFields()
|
D | LazyFieldTest.java | 112 TestAllTypes.Builder builder = TestUtil.getAllSet().toBuilder(); in changeValue()
|
D | AnyTest.java | 66 TestAny.Builder containerBuilder = container.toBuilder(); in testAnyGeneratedApi()
|
D | NestedBuildersTest.java | 175 Vehicle vehicle3 = vehicle1.toBuilder().build(); in testMerge()
|
D | AbstractMessageTest.java | 105 public Builder toBuilder() { in toBuilder() method in AbstractMessageTest.AbstractMessageWrapper 106 return new Builder(wrappedMessage.toBuilder()); in toBuilder()
|
D | LiteTest.java | 126 TestAllExtensionsLite message2 = message.toBuilder().build(); in testLiteExtensions() 1412 extendableMessageBuilder = extendableMessage.toBuilder(); in testSanityCopyOnWrite() 1639 one = one.toBuilder().mergeFrom(one).build(); in testMergeFrom_sanity() 1640 two = two.toBuilder().mergeFrom(bytes).build(); in testMergeFrom_sanity() 1661 TestAllTypesLite two = one.toBuilder().mergeFrom(one).mergeFrom(bytes).build(); in testEquals_notEqual() 2196 one.toBuilder().mergeFrom(two).build(), in testEquals_sanity() 2197 two.toBuilder().mergeFrom(two.toByteArray()).build()); in testEquals_sanity() 2205 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithUnknownFields() 2223 Foo fooWithValueAndExtension = fooWithOnlyValue.toBuilder() in testEqualsAndHashCodeWithExtensions()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskTreeTest.java | 220 NestedTestAllTypes clearedSource = source.toBuilder().clearPayload().build(); in testMerge() 242 builder = source.toBuilder(); in testMerge() 245 builder = source.toBuilder(); in testMerge() 254 builder = source.toBuilder(); in testMerge()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | LazyFieldLite.java | 345 setValue(value.toBuilder().mergeFrom(input, extensionRegistry).build()); in mergeFrom() 355 return value.toBuilder().mergeFrom(otherBytes, extensionRegistry).build(); in mergeValueAndBytes()
|
D | MessageLite.java | 144 Builder toBuilder(); in toBuilder() method
|
D | Message.java | 105 Builder toBuilder(); in toBuilder() method
|
D | MapEntryLite.java | 127 MessageLite.Builder subBuilder = ((MessageLite) value).toBuilder(); in parseField()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 126 this(context, name, version, 0, openParams.toBuilder()); in SQLiteOpenHelper() 383 params = params.toBuilder().addOpenFlags(SQLiteDatabase.OPEN_READONLY).build(); in getDatabaseLocked()
|
/frameworks/base/core/java/android/app/ |
D | Person.java | 61 public Builder toBuilder() { in toBuilder() method in Person
|