Home
last modified time | relevance | path

Searched refs:toBuilder (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DDeviceFeaturesTest.java53 DeviceFeatures.ALL_FEATURES_SUPPORT_UNKNOWN.toBuilder() in testEquals()
84 DeviceFeatures oldFeatures = DeviceFeatures.ALL_FEATURES_SUPPORT_UNKNOWN.toBuilder() in testUpdate()
94 DeviceFeatures newFeatures = DeviceFeatures.ALL_FEATURES_SUPPORT_UNKNOWN.toBuilder() in testUpdate()
105 DeviceFeatures updatedFeatures = DeviceFeatures.ALL_FEATURES_SUPPORT_UNKNOWN.toBuilder() in testUpdate()
115 assertThat(oldFeatures.toBuilder().update(newFeatures).build()).isEqualTo(updatedFeatures); in testUpdate()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DConversationActionTest.java40 public void toBuilder() { in toBuilder() method in ConversationActionTest
54 final ConversationAction fromBuilder = convAction.toBuilder().build(); in toBuilder()
70 final ConversationAction fromBuilder = convAction.toBuilder().build(); in toBuilder_textReply()
DTextSelectionTest.java144 final TextSelection fromBuilder = textSelection.toBuilder().build(); in testToBuilder()
/frameworks/base/libs/hwui/jni/text/
DMeasuredText.cpp38 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder() function
70 toBuilder(builderPtr) in nAddStyleRun()
78 toBuilder(builderPtr)->addReplacementRun(start, end, width, in nAddReplacementRun()
91 return toJLong(toBuilder(builderPtr) in nBuildMeasuredText()
99 delete toBuilder(builderPtr); in nFreeBuilder()
/frameworks/base/libs/hwui/jni/fonts/
DFontFamily.cpp35 static inline NativeFamilyBuilder* toBuilder(jlong ptr) { in toBuilder() function
54 toBuilder(builderPtr)->fonts.push_back(toFontWrapper(fontPtr)->font); in FontFamily_Builder_addFont()
61 std::unique_ptr<NativeFamilyBuilder> builder(toBuilder(builderPtr)); in FontFamily_Builder_build()
DFont.cpp50 static inline NativeFontBuilder* toBuilder(jlong ptr) { in toBuilder() function
80 toBuilder(builderPtr)->axes.emplace_back(static_cast<minikin::AxisTag>(tag), value); in Font_Builder_addAxis()
88 std::unique_ptr<NativeFontBuilder> builder(toBuilder(builderPtr)); in Font_Builder_build()
129 std::unique_ptr<NativeFontBuilder> builder(toBuilder(builderPtr)); in Font_Builder_clone()
/frameworks/base/services/core/java/com/android/server/hdmi/
DSetAudioVolumeLevelDiscoveryAction.java116 currentDeviceInfo.toBuilder() in updateSetAudioVolumeLevelSupport()
117 .setDeviceFeatures(currentDeviceInfo.getDeviceFeatures().toBuilder() in updateSetAudioVolumeLevelSupport()
DHdmiCecNetwork.java411 updateCecDevice(info.toBuilder().setDevicePowerStatus(newPowerStatus).build()); in updateDevicePowerStatus()
593 HdmiDeviceInfo newDeviceInfo = currentDeviceInfo.toBuilder() in handleReportFeatures()
624 HdmiDeviceInfo newDeviceInfo = currentDeviceInfo.toBuilder() in handleFeatureAbort()
626 currentDeviceInfo.getDeviceFeatures().toBuilder() in handleFeatureAbort()
658 HdmiDeviceInfo updatedDeviceInfo = deviceInfo.toBuilder() in handleReportPhysicalAddress()
692 HdmiDeviceInfo updatedDeviceInfo = deviceInfo.toBuilder() in updateDeviceCecVersion()
726 HdmiDeviceInfo updatedDeviceInfo = deviceInfo.toBuilder() in handleSetOsdName()
742 HdmiDeviceInfo updatedDeviceInfo = deviceInfo.toBuilder() in handleDeviceVendorId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleTileViewHelperTest.java214 PERSON_TILE_WITHOUT_NOTIFICATION.toBuilder().setLastInteractionTimestamp( in testCreateRemoteViewsWithLastInteractionTime()
283 PERSON_TILE_WITHOUT_NOTIFICATION.toBuilder().setStatuses( in testCreateRemoteViewsWithGameTypeOnlyIsIgnored()
355 PERSON_TILE_WITHOUT_NOTIFICATION.toBuilder().setStatuses( in testCreateRemoteViewsWithBirthdayTypeOnlyIsNotIgnored()
441 PERSON_TILE_WITHOUT_NOTIFICATION.toBuilder().setStatuses( in testCreateRemoteViewsWithStatusTemplate()
528 PERSON_TILE_WITHOUT_NOTIFICATION.toBuilder().setStatuses( in testCreateRemoteViewsWithStatusTemplateWithImageOnMediumAndLarge()
579 PeopleSpaceTile tile = PERSON_TILE.toBuilder() in testCreateRemoteViewsWithPackageSuspended()
611 PeopleSpaceTile tile = PERSON_TILE.toBuilder() in testCreateRemoteViewsWithUserQuieted()
622 PeopleSpaceTile tileWithDndBlocking = PERSON_TILE.toBuilder() in testCreateRemoteViewsWithDndBlocking()
632 tileWithDndBlocking = PERSON_TILE.toBuilder() in testCreateRemoteViewsWithDndBlocking()
643 tileWithDndBlocking = PERSON_TILE.toBuilder() in testCreateRemoteViewsWithDndBlocking()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DPlaybackDeviceToAudioSystemAvbTest.java75 DeviceFeatures.NO_FEATURES_SUPPORTED.toBuilder() in switchToTv_absoluteVolumeControlDisabledUntilAllConditionsMet()
DPlaybackDeviceToTvAvbTest.java78 DeviceFeatures.NO_FEATURES_SUPPORTED.toBuilder() in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet()
DReportFeaturesMessageTest.java154 DeviceFeatures.NO_FEATURES_SUPPORTED.toBuilder() in build_deviceFeaturesTv_2_0()
169 DeviceFeatures.NO_FEATURES_SUPPORTED.toBuilder() in build_deviceFeaturesPlayback_2_0()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java125 this(context, name, version, 0, openParams.toBuilder()); in SQLiteOpenHelper()
381 params = params.toBuilder().addOpenFlags(SQLiteDatabase.OPEN_READONLY).build(); in getDatabaseLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java211 .toBuilder() in removeNotificationFields()
244 PeopleSpaceTile.Builder updatedTile = tile.toBuilder(); in augmentTileFromNotification()
305 .map(c -> c.toBuilder().setLastInteractionTimestamp( in getSortedTiles()
434 storedTile.toBuilder() in updateTileContactFields()
/frameworks/base/api/coverage/tools/
DExtractFlaggedApis.kt67 val updatedApis = builder.getFlagToApiOrThrow(flag).toBuilder().addJavaMethods(api).build() in addFlaggedApi()
DExtractFlaggedApisTest.kt225 builder.getFlagToApiOrThrow(flag).toBuilder().addJavaMethods(api).build() in addFlaggedApi()
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/
DMotionToolManager.kt130 return data.toBuilder() in getDataFromViewCapture()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java213 public Builder toBuilder() { in toBuilder() method in HdmiDeviceInfo
744 mDeviceFeatures = mDeviceFeatures.toBuilder().update(deviceFeatures).build(); in updateDeviceFeatures()
DHdmiPortInfo.java93 public Builder toBuilder() { in toBuilder() method in HdmiPortInfo
DDeviceFeatures.java77 public Builder toBuilder() { in toBuilder() method in DeviceFeatures
/frameworks/base/core/java/android/view/textclassifier/
DConversationAction.java210 public Builder toBuilder() { in toBuilder() method in ConversationAction
DTextSelection.java141 public TextSelection.Builder toBuilder() { in toBuilder() method in TextSelection
/frameworks/base/media/java/android/media/tv/
DTvInputHardwareInfo.java192 public Builder toBuilder() { in toBuilder() method in TvInputHardwareInfo
/frameworks/base/core/java/android/app/
DPerson.java63 public Builder toBuilder() { in toBuilder() method in Person
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1263 textSelection.toBuilder() in rewriteTextSelectionIcons()
1292 .toBuilder() in rewriteTextClassificationIcons()
1319 validConvAction = convAction.toBuilder() in rewriteConversationActionsIcons()

12