/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 78 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testStripsExtendersInLowRamModeNoWhitelistNoTv() 89 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, in testStripsExtendersInLowRamModeNoWhitelistNoTv() 104 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testStripsExtendersInLowRamModeHasWhitelist() 115 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, in testStripsExtendersInLowRamModeHasWhitelist() 138 Notification before = new Notification.Builder(context, "channel") in testStripsRemoteViewsInLowRamMode() 143 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, true, in testStripsRemoteViewsInLowRamMode() 155 Notification.Builder nb = new Notification.Builder(mContext, "channel"); in testDoesNotStripsExtendersInNormalRamMode() 160 Notification after = Notification.Builder.maybeCloneStrippedForDelivery(before, false, in testDoesNotStripsExtendersInNormalRamMode() 172 Notification.Builder n1 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_noStyles() 173 Notification.Builder n2 = new Notification.Builder(mContext, "test"); in testStyleChangeVisiblyDifferent_noStyles() [all …]
|
D | ZenPolicyTest.java | 37 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyAllowedToDisallowed() 62 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyAllowedToUnset() 79 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyDisallowedToUnset() 97 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyDisallowedToAllowed() 115 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyUnsetToAllowed() 122 ZenPolicy.Builder builder2 = new ZenPolicy.Builder(); in testZenPolicyApplyUnsetToAllowed() 133 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyMoreSevereCallSenders() 151 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyLessSevereCallSenders() 169 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyApplyMoreSevereMessageSenders() 187 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testZenPolicyMessagesInvalid() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | Message.java | 102 Builder newBuilderForType(); in newBuilderForType() 105 Builder toBuilder(); in toBuilder() 110 interface Builder extends MessageLite.Builder, MessageOrBuilder { interface 114 Builder clear(); in clear() 135 Builder mergeFrom(Message other); in mergeFrom() 146 Builder clone(); in clone() 149 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() 152 Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() 167 Builder newBuilderForField(Descriptors.FieldDescriptor field); in newBuilderForField() 185 Builder getFieldBuilder(Descriptors.FieldDescriptor field); in getFieldBuilder() [all …]
|
D | MessageLite.java | 138 Builder newBuilderForType(); in newBuilderForType() 144 Builder toBuilder(); in toBuilder() 149 interface Builder extends MessageLiteOrBuilder, Cloneable { interface 151 Builder clear(); in clear() 173 Builder clone(); in clone() 196 Builder mergeFrom(CodedInputStream input) throws IOException; in mergeFrom() 204 Builder mergeFrom(CodedInputStream input, in mergeFrom() 218 Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; in mergeFrom() 227 Builder mergeFrom(ByteString data, in mergeFrom() 238 Builder mergeFrom(byte[] data) throws InvalidProtocolBufferException; in mergeFrom() [all …]
|
D | UnknownFieldSet.java | 33 import com.google.protobuf.AbstractMessageLite.Builder.LimitedInputStream; 64 public static Builder newBuilder() { in newBuilder() 65 return Builder.create(); in newBuilder() 72 public static Builder newBuilder(final UnknownFieldSet copyFrom) { in newBuilder() 272 public Builder newBuilderForType() { in newBuilderForType() 277 public Builder toBuilder() { in toBuilder() 293 public static final class Builder implements MessageLite.Builder { class in UnknownFieldSet 295 private Builder() {} in Builder() method in UnknownFieldSet.Builder 303 private Field.Builder lastField; 305 private static Builder create() { in create() [all …]
|
D | TextFormatParseInfoTree.java | 70 Map<FieldDescriptor, List<TextFormatParseInfoTree.Builder>> subtreeBuildersFromField) { in TextFormatParseInfoTree() 82 for (Entry<FieldDescriptor, List<Builder>> kv : subtreeBuildersFromField.entrySet()) { in TextFormatParseInfoTree() 84 for (Builder subBuilder : kv.getValue()) { in TextFormatParseInfoTree() 148 public static Builder builder() { in builder() 149 return new Builder(); in builder() 163 public static class Builder { class in TextFormatParseInfoTree 169 private Map<FieldDescriptor, List<Builder>> subtreeBuildersFromField; 174 private Builder() { in Builder() method in TextFormatParseInfoTree.Builder 176 subtreeBuildersFromField = new HashMap<FieldDescriptor, List<Builder>>(); in Builder() 185 public Builder setLocation( in setLocation() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendDialogInfoTest.java | 37 private static SuspendDialogInfo.Builder createDefaultDialogBuilder() { in createDefaultDialogBuilder() 38 return new SuspendDialogInfo.Builder() in createDefaultDialogBuilder() 47 final SuspendDialogInfo.Builder dialogBuilder1 = createDefaultDialogBuilder(); in equalsComparesIcons() 48 final SuspendDialogInfo.Builder dialogBuilder2 = createDefaultDialogBuilder(); in equalsComparesIcons() 57 final SuspendDialogInfo.Builder dialogBuilder1 = createDefaultDialogBuilder(); in equalsComparesTitle() 58 final SuspendDialogInfo.Builder dialogBuilder2 = createDefaultDialogBuilder(); in equalsComparesTitle() 67 final SuspendDialogInfo.Builder dialogBuilder1 = createDefaultDialogBuilder(); in equalsComparesButtonText() 68 final SuspendDialogInfo.Builder dialogBuilder2 = createDefaultDialogBuilder(); in equalsComparesButtonText() 77 final SuspendDialogInfo.Builder dialogBuilder1 = createDefaultDialogBuilder(); in equalsComparesMessageIds() 78 final SuspendDialogInfo.Builder dialogBuilder2 = createDefaultDialogBuilder(); in equalsComparesMessageIds() [all …]
|
/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/ |
D | SaProposalTest.java | 25 import com.android.ike.ikev2.SaProposal.Builder; 61 Builder builder = Builder.newIkeSaProposalBuilder(); in testBuildIkeSaProposalWithNormalModeCipher() 84 Builder builder = Builder.newIkeSaProposalBuilder(); in testBuildIkeSaProposalWithCombinedModeCipher() 106 Builder builder = Builder.newChildSaProposalBuilder(true); in testBuildFirstChildSaProposalWithCombinedCipher() 127 Builder builder = Builder.newChildSaProposalBuilder(false); in testBuildAdditionalChildSaProposalWithNormalCipher() 149 Builder builder = Builder.newIkeSaProposalBuilder(); in testBuildEncryptAlgosWithNoAlgorithm() 160 Builder builder = Builder.newIkeSaProposalBuilder(); in testBuildEncryptAlgosWithUnrecognizedAlgorithm() 171 Builder builder = Builder.newIkeSaProposalBuilder(); in testBuildEncryptAlgosWithTwoModes() 185 Builder builder = Builder.newIkeSaProposalBuilder(); in testBuildIkeProposalWithoutPrf() 196 Builder builder = Builder.newChildSaProposalBuilder(false); in testBuildChildProposalWithPrf() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpObjectInfo.java | 355 public static class Builder { class in MtpObjectInfo 358 public Builder() { in Builder() method in MtpObjectInfo.Builder 369 public Builder(MtpObjectInfo objectInfo) { in Builder() method in MtpObjectInfo.Builder 393 public Builder setObjectHandle(int value) { in setObjectHandle() 398 public Builder setAssociationDesc(int value) { in setAssociationDesc() 403 public Builder setAssociationType(int value) { in setAssociationType() 408 public Builder setCompressedSize(long value) { in setCompressedSize() 413 public Builder setDateCreated(long value) { in setDateCreated() 418 public Builder setDateModified(long value) { in setDateModified() 423 public Builder setFormat(int value) { in setFormat() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | AbstractMessageTest.java | 95 public Builder newBuilderForType() { in newBuilderForType() 96 return new Builder(wrappedMessage.newBuilderForType()); in newBuilderForType() 98 public Builder toBuilder() { in toBuilder() 99 return new Builder(wrappedMessage.toBuilder()); in toBuilder() 102 static class Builder extends AbstractMessage.Builder<Builder> { class in AbstractMessageTest.AbstractMessageWrapper 103 private final Message.Builder wrappedBuilder; 105 public Builder(Message.Builder wrappedBuilder) { in Builder() method in AbstractMessageTest.AbstractMessageWrapper.Builder 115 public Builder clone() { in clone() 116 return new Builder(wrappedBuilder.clone()); in clone() 131 public Builder newBuilderForField(Descriptors.FieldDescriptor field) { in newBuilderForField() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | RSKernelExpand.cpp | 354 llvm::IRBuilder<> Builder(Begin); in createEmptyExpandedForEachKernel() local 355 Builder.CreateRetVoid(); in createEmptyExpandedForEachKernel() 402 llvm::IRBuilder<> Builder(Begin); in createEmptyExpandedReduceAccumulator() local 403 Builder.CreateRetVoid(); in createEmptyExpandedReduceAccumulator() 425 llvm::BasicBlock *createLoop(llvm::IRBuilder<> &Builder, in createLoop() argument 434 CondBB = Builder.GetInsertBlock(); in createLoop() 435 AfterBB = llvm::SplitBlock(CondBB, &*Builder.GetInsertPoint(), nullptr, nullptr); in createLoop() 439 Builder.SetInsertPoint(CondBB); in createLoop() 443 IVVar = Builder.CreateAlloca(LowerBound->getType(), nullptr, BCC_INDEX_VAR_NAME); in createLoop() 444 Builder.CreateStore(LowerBound, IVVar); in createLoop() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | AbstractMessageTest.java | 101 public Builder newBuilderForType() { in newBuilderForType() 102 return new Builder(wrappedMessage.newBuilderForType()); in newBuilderForType() 105 public Builder toBuilder() { in toBuilder() 106 return new Builder(wrappedMessage.toBuilder()); in toBuilder() 109 static class Builder extends AbstractMessage.Builder<Builder> { class in AbstractMessageTest.AbstractMessageWrapper 110 private final Message.Builder wrappedBuilder; 112 public Builder(Message.Builder wrappedBuilder) { in Builder() method in AbstractMessageTest.AbstractMessageWrapper.Builder 125 public Builder clone() { in clone() 126 return new Builder(wrappedBuilder.clone()); in clone() 146 public Builder newBuilderForField(Descriptors.FieldDescriptor field) { in newBuilderForField() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 454 public static class Builder { class in AlertDialog 468 public Builder(Context context) { in Builder() method in AlertDialog.Builder 498 public Builder(Context context, int themeResId) { in Builder() method in AlertDialog.Builder 520 public Builder setTitle(@StringRes int titleId) { in setTitle() 530 public Builder setTitle(CharSequence title) { in setTitle() 551 public Builder setCustomTitle(View customTitleView) { in setCustomTitle() 561 public Builder setMessage(@StringRes int messageId) { in setMessage() 571 public Builder setMessage(CharSequence message) { in setMessage() 583 public Builder setIcon(@DrawableRes int iconId) { in setIcon() 598 public Builder setIcon(Drawable icon) { in setIcon() [all …]
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | AmbientShadowConfig.java | 36 private AmbientShadowConfig(Builder builder) { in AmbientShadowConfig() 98 public static class Builder { class in AmbientShadowConfig 111 public Builder setEdgeScale(float edgeScale) { in setEdgeScale() 116 public Builder setShadowBoundRatio(float shadowBoundRatio) { in setShadowBoundRatio() 121 public Builder setShadowStrength(float shadowStrength) { in setShadowStrength() 126 public Builder setRays(int rays) { in setRays() 131 public Builder setLayers(int layers) { in setLayers() 136 public Builder setSize(int width, int height) { in setSize() 142 public Builder setPolygon(float[] polygon) { in setPolygon()
|
D | SpotShadowConfig.java | 43 private SpotShadowConfig(SpotShadowConfig.Builder builder) { in SpotShadowConfig() 135 public static class Builder { class in SpotShadowConfig 161 public Builder setShadowStrength(float shadowStrength) { in setShadowStrength() 166 public Builder setSize(int width, int height) { in setSize() 172 public Builder setLightRadius(int mLightRadius) { in setLightRadius() 177 public Builder setLightSourcePoints(int mLightSourcePoints) { in setLightSourcePoints() 182 public Builder setRays(int mRays) { in setRays() 187 public Builder setLayers(int mLayers) { in setLayers() 192 public Builder setPolygon(float[] poly, int polyLength) { in setPolygon() 198 public Builder setLightCoord(float lightX, float lightY, float lightHeight) { in setLightCoord()
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanBeaconInfo.java | 46 public static class Builder { class in LowpanBeaconInfo 47 final LowpanIdentity.Builder mIdentityBuilder = new LowpanIdentity.Builder(); 50 public Builder setLowpanIdentity(LowpanIdentity x) { in setLowpanIdentity() 55 public Builder setName(String x) { in setName() 60 public Builder setXpanid(byte x[]) { in setXpanid() 65 public Builder setPanid(int x) { in setPanid() 70 public Builder setChannel(int x) { in setChannel() 75 public Builder setType(String x) { in setType() 80 public Builder setRssi(int x) { in setRssi() 85 public Builder setLqi(int x) { in setLqi() [all …]
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | BrightnessConfigurationTest.java | 52 BrightnessConfiguration.Builder builder = new BrightnessConfiguration.Builder( in testSetCurveIsUnmodified() 64 new BrightnessConfiguration.Builder(lux, NITS_LEVELS); in testCurveMustHaveZeroLuxPoint() 69 new BrightnessConfiguration.Builder(null, null); in testCurveMustNotHaveNullArrays() 74 new BrightnessConfiguration.Builder(new float[0], new float[0]); in testCurveMustNotHaveEmptyArrays() 82 new BrightnessConfiguration.Builder(lux, NITS_LEVELS); in testCurveMustNotHaveArraysOfDifferentLengths() 88 new BrightnessConfiguration.Builder(LUX_LEVELS, nits); in testCurveMustNotHaveArraysOfDifferentLengths() 97 new BrightnessConfiguration.Builder(lux, NITS_LEVELS); in testCurvesMustNotContainNaN() 103 new BrightnessConfiguration.Builder(LUX_LEVELS, nits); in testCurvesMustNotContainNaN() 110 BrightnessConfiguration.Builder builder = in testParceledConfigIsEquivalent() 111 new BrightnessConfiguration.Builder(LUX_LEVELS, NITS_LEVELS); in testParceledConfigIsEquivalent() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Voicemail.java | 62 public static Builder createForInsertion(long timestamp, String number) { in createForInsertion() 63 return new Builder().setNumber(number).setTimestamp(timestamp); in createForInsertion() 72 public static Builder createForUpdate(long id, String sourceData) { in createForUpdate() 73 return new Builder().setId(id).setSourceData(sourceData); in createForUpdate() 82 public static class Builder { class in Voicemail 96 private Builder() { in Builder() method in Voicemail.Builder 99 public Builder setNumber(String number) { in setNumber() 104 public Builder setTimestamp(long timestamp) { in setTimestamp() 109 public Builder setPhoneAccount(PhoneAccountHandle phoneAccount) { in setPhoneAccount() 114 public Builder setId(long id) { in setId() [all …]
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProtection.java | 546 public final static class Builder { class in KeyProtection 577 public Builder(@KeyProperties.PurposeEnum int purposes) { in Builder() method in KeyProtection.Builder 589 public Builder setKeyValidityStart(Date startDate) { in setKeyValidityStart() 604 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() 618 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() 632 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() 654 public Builder setEncryptionPaddings( in setEncryptionPaddings() 670 public Builder setSignaturePaddings( in setSignaturePaddings() 695 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() 710 public Builder setBlockModes(@KeyProperties.BlockModeEnum String... blockModes) { in setBlockModes() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | SentinelOuterClass.java | 105 private Sentinel(com.google.protobuf.GeneratedMessage.Builder builder) { in Sentinel() 134 …nelOuterClass.Sentinel.class, com.google.protobuf.jruby.SentinelOuterClass.Sentinel.Builder.class); in internalGetFieldAccessorTable() 143 Builder builder = newBuilder(); 322 public static Builder newBuilder() { return new Builder(); } in newBuilder() 323 public Builder newBuilderForType() { return newBuilder(); } in newBuilderForType() 324 …public static Builder newBuilder(com.google.protobuf.jruby.SentinelOuterClass.Sentinel prototype) { in newBuilder() 327 public Builder toBuilder() { return newBuilder(this); } in toBuilder() 330 protected Builder newBuilderForType( in newBuilderForType() 332 Builder builder = new Builder(parent); in newBuilderForType() 338 public static final class Builder extends class in SentinelOuterClass.Sentinel [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ProgramRaster.java | 87 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_BACK() 99 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_FRONT() 111 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); in CULL_NONE() 121 public static class Builder { class in ProgramRaster 130 public Builder(RenderScript rs) { in Builder() method in ProgramRaster.Builder 140 public Builder setPointSpriteEnabled(boolean enable) { in setPointSpriteEnabled() 148 public Builder setCullMode(CullMode m) { in setCullMode()
|
/frameworks/base/media/java/android/media/ |
D | AudioFocusRequest.java | 222 private final static AudioAttributes FOCUS_DEFAULT_ATTR = new AudioAttributes.Builder() 350 public static final class Builder { class in AudioFocusRequest 372 public Builder(int focusGain) { in Builder() method in AudioFocusRequest.Builder 383 public Builder(@NonNull AudioFocusRequest requestToCopy) { in Builder() method in AudioFocusRequest.Builder 403 public @NonNull Builder setFocusGain(int focusGain) { in setFocusGain() 424 public @NonNull Builder setOnAudioFocusChangeListener( in setOnAudioFocusChangeListener() 441 @NonNull Builder setOnAudioFocusChangeListenerInt( in setOnAudioFocusChangeListenerInt() 460 public @NonNull Builder setOnAudioFocusChangeListener( in setOnAudioFocusChangeListener() 483 public @NonNull Builder setAudioAttributes(@NonNull AudioAttributes attributes) { in setAudioAttributes() 501 public @NonNull Builder setWillPauseWhenDucked(boolean pauseOnDuck) { in setWillPauseWhenDucked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatterySaverPolicyConfig.java | 56 private BatterySaverPolicyConfig(Builder in) { in BatterySaverPolicyConfig() 306 public static final class Builder { class in BatterySaverPolicyConfig 328 public Builder() { in Builder() method in BatterySaverPolicyConfig.Builder 337 public Builder setAdjustBrightnessFactor(float adjustBrightnessFactor) { in setAdjustBrightnessFactor() 347 public Builder setAdvertiseIsEnabled(boolean advertiseIsEnabled) { in setAdvertiseIsEnabled() 354 public Builder setDeferFullBackup(boolean deferFullBackup) { in setDeferFullBackup() 361 public Builder setDeferKeyValueBackup(boolean deferKeyValueBackup) { in setDeferKeyValueBackup() 375 public Builder addDeviceSpecificSetting(@NonNull String key, @NonNull String value) { in addDeviceSpecificSetting() 389 public Builder setDisableAnimation(boolean disableAnimation) { in setDisableAnimation() 396 public Builder setDisableAod(boolean disableAod) { in setDisableAod() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 63 Notification n = new Notification.Builder(mContext, "test") in testColorizedByPermission() 69 n = new Notification.Builder(mContext, "test") in testColorizedByPermission() 74 n = new Notification.Builder(mContext, "test") in testColorizedByPermission() 83 Notification n = new Notification.Builder(mContext, "test") in testColorizedByForeground() 89 n = new Notification.Builder(mContext, "test") in testColorizedByForeground() 94 n = new Notification.Builder(mContext, "test") in testColorizedByForeground() 103 Notification.Builder builder = getMediaNotification(); in testColorSatisfiedWhenBgDarkTextDarker() 120 Notification n = new Notification.Builder(mContext).build(); in testHasCompletedProgress_noProgress() 127 Notification n = new Notification.Builder(mContext) in testHasCompletedProgress_complete() 130 Notification n2 = new Notification.Builder(mContext) in testHasCompletedProgress_complete() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 122 new AudioAttributes.Builder().setUsage( 124 Notification n = new Notification.Builder(NotificationTestList.this, 136 Notification n = new Notification.Builder(NotificationTestList.this, 154 Notification n = new Notification.Builder(NotificationTestList.this, 171 Notification n = new Notification.Builder(NotificationTestList.this, "min") 177 n = new Notification.Builder(NotificationTestList.this, "low") 183 n = new Notification.Builder(NotificationTestList.this, "default") 191 n = new Notification.Builder(NotificationTestList.this, "low") 203 Notification n = new Notification.Builder(NotificationTestList.this, "min") 209 n = new Notification.Builder(NotificationTestList.this, "low") [all …]
|