/frameworks/base/media/java/android/media/tv/ |
TvStreamConfig.java | 50 return new Builder(). 114 public static final class Builder { 121 public Builder() { 124 public Builder streamId(int streamId) { 129 public Builder type(int type) { 134 public Builder maxWidth(int maxWidth) { 139 public Builder maxHeight(int maxHeight) { 144 public Builder generation(int generation) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
PrioritySchedulingTest.java | 54 JobInfo job1 = new JobInfo.Builder(111, kJobServiceComponent) 58 JobInfo job2 = new JobInfo.Builder(222, kJobServiceComponent) 62 JobInfo job3 = new JobInfo.Builder(333, kJobServiceComponent) 66 JobInfo job4 = new JobInfo.Builder(444, kJobServiceComponent) 92 JobInfo job1 = new JobInfo.Builder(111, kJobServiceComponent) 96 JobInfo job2 = new JobInfo.Builder(222, kJobServiceComponent) 100 JobInfo job3 = new JobInfo.Builder(333, kJobServiceComponent) 104 JobInfo job4 = new JobInfo.Builder(444, kJobServiceComponent)
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
DialogListActivity.java | 33 AlertDialog.Builder builder = new AlertDialog.Builder(this); local 34 builder.setTitle("Dialog"); 35 builder.setView(listView); 36 builder.create().show();
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Sampler.java | 114 Builder b = new Builder(rs); 134 Builder b = new Builder(rs); 154 Builder b = new Builder(rs); 174 Builder b = new Builder(rs); 194 Builder b = new Builder(rs) [all...] |
/frameworks/support/media-compat/api21/android/support/v4/media/ |
MediaMetadataCompatApi21.java | 57 public static class Builder { 59 return new MediaMetadata.Builder(); 63 ((MediaMetadata.Builder)builderObj).putBitmap(key, value); 67 ((MediaMetadata.Builder)builderObj).putLong(key, value); 71 ((MediaMetadata.Builder)builderObj).putRating(key, (Rating)ratingObj); 75 ((MediaMetadata.Builder) builderObj).putText(key, value); 79 ((MediaMetadata.Builder) builderObj).putString(key, value); 83 return ((MediaMetadata.Builder)builderObj).build();
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
NotificationCompatImpl24.java | 27 Notification.Builder builder = b.getBuilder(); local 28 builder.setStyle(new Notification.DecoratedCustomViewStyle()); 32 Notification.Builder builder = b.getBuilder(); local 33 builder.setStyle(new Notification.DecoratedMediaCustomViewStyle());
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaItemStatus.java | 57 * This object is immutable once created using a {@link Builder} instance. 311 * Builder for {@link MediaItemStatus media item status objects}. 313 public static final class Builder { 317 * Creates a media item status builder using the current time as the 322 public Builder(int playbackState) { 329 * Creates a media item status builder whose initial contents are 332 public Builder(MediaItemStatus status) { 344 public Builder setTimestamp(long elapsedRealtimeTimestamp) { 352 public Builder setPlaybackState(int playbackState) { 361 public Builder setContentPosition(long positionMilliseconds) [all...] |
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
DialerExecutorFactory.java | 45 <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createUiTaskBuilder( 61 <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createNonUiTaskBuilder(
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
SimpleDialog.java | 40 * Use the {@link Builder} instead. Keeping the constructor public only because 50 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); local 54 builder.setTitle(args.getInt(TITLE)); 58 builder.setMessage(args.getInt(MESSAGE)); 62 builder.setNegativeButton(args.getInt(NEGATIVE_BUTTON_MESSAGE), 72 builder.setPositiveButton(args.getInt(POSITIVE_BUTTON_MESSAGE), 81 return builder.create(); 93 public static class Builder implements DialogBuilder [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
JobStatus.java | 116 static class Builder { 119 Builder() { 123 Builder(JobStatus from) { 127 public Builder setId(int id) { 132 Builder setJobState(String jobState) { 137 Builder setJobResult(String jobResult) { 142 Builder clearBlockedReasons() { 147 Builder addBlockedReason(String blockedReason) {
|
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 625 IRBuilder<> Builder(&*BB.getFirstInsertionPt()); 626 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0, 628 Value *Count = Builder.CreateLoad(Counter); 629 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); 630 Builder.CreateStore(Count, Counter); 632 IRBuilder<> Builder(BI); 633 Value *Sel = Builder.CreateSelect(BI->getCondition(), 634 Builder.getInt64(Edge), 635 Builder.getInt64(Edge + 1)) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TypeTest.java | 24 void testBuilderSizes(Type.Builder b, int min, int max) { 34 Type.Builder b = new Type.Builder(mRS, e); 85 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); 127 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); 133 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); 139 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)) [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ChannelInfo.java | 77 Builder builder = new Builder() local 84 builder.setLogoUrl( 89 return builder.build(); 94 Builder builder = new Builder(); local 97 builder.setNumber(c.getString(index)); 101 builder.setName(c.getString(index)) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioFormatTest.java | 31 // Builder tests 34 // Test case 1: Use Builder to duplicate an AudioFormat with all fields supplied 42 final AudioFormat formatToCopy = new AudioFormat.Builder() 47 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); 48 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); 59 // Test case 2: Use Builder to duplicate an AudioFormat with only encoding supplied 63 final AudioFormat formatToCopy = new AudioFormat.Builder() 67 final AudioFormat copiedFormat = new AudioFormat.Builder(formatToCopy).build(); 68 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); 80 // Test case 3: Use Builder to duplicate an AudioFormat with only sample rate supplie [all...] |
/frameworks/base/keystore/java/android/security/ |
KeyPairGeneratorSpec.java | 53 * {@link Builder}. 252 * Builder class for {@link KeyPairGeneratorSpec} objects. 258 * The required fields must be filled in with the builder. 268 * new KeyPairGeneratorSpec.Builder(mContext).setAlias("myKey") 273 * @deprecated Use {@link KeyGenParameterSpec.Builder} instead. 276 public final static class Builder { 298 * Creates a new instance of the {@code Builder} with the given 303 public Builder(@NonNull Context context) { 316 public Builder setAlias(@NonNull String alias) { 330 public Builder setKeyType(@NonNull @KeyProperties.KeyAlgorithmEnum String keyType [all...] |
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorVoicemail.java | 36 private static final Voicemail.Builder[] SIMPLE_VOICEMAILS = { 38 Voicemail.builder() 48 Voicemail.builder() 54 Voicemail.builder() 60 Voicemail.builder() 66 Voicemail.builder() 81 for (Voicemail.Builder builder : SIMPLE_VOICEMAILS) { 82 Voicemail voicemail = builder.setTimeMillis(timeMillis).build(); 122 static Builder builder() method in class:SimulatorVoicemail.Voicemail [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
KeyProtection.java | 45 * the {@link Builder} and pass the instance into {@link java.security.KeyStore#setEntry(String, java.security.KeyStore.Entry, ProtectionParameter) KeyStore.setEntry} 87 * new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT) 112 * new KeyProtection.Builder(KeyProperties.PURPOSE_SIGN).build()); 138 * new KeyProtection.Builder(KeyProperties.PURPOSE_SIGN) 168 * new KeyProtection.Builder(KeyProperties.PURPOSE_SIGN) 202 * new KeyProtection.Builder(KeyProperties.PURPOSE_DECRYPT) 392 * @see Builder#setUserAuthenticationRequired(boolean) 410 * @see Builder#setUserAuthenticationValidityDurationSeconds(int) 426 * @see Builder#setUserAuthenticationValidWhileOnBody(boolean) 439 * @see Builder#setInvalidatedByBiometricEnrollment(boolean [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Voicemail.java | 58 * Create a {@link Builder} for a new {@link Voicemail} to be inserted. 62 public static Builder createForInsertion(long timestamp, String number) { 63 return new Builder().setNumber(number).setTimestamp(timestamp); 67 * Create a {@link Builder} for a {@link Voicemail} to be updated (or deleted). 72 public static Builder createForUpdate(long id, String sourceData) { 73 return new Builder().setId(id).setSourceData(sourceData); 77 * Builder pattern for creating a {@link Voicemail}. The builder must be created with the 82 public static class Builder { 95 /** You should use the correct factory method to construct a builder. * [all...] |
/frameworks/support/customtabs/src/android/support/customtabs/ |
CustomTabsIntent.java | 44 * You are strongly encouraged to use {@link CustomTabsIntent.Builder}.</p> 186 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 198 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 210 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 218 * @see CustomTabsIntent.Builder#setSecondaryToolbarViews(RemoteViews, int[], PendingIntent). 271 * Builder class for {@link CustomTabsIntent} objects. 273 public static final class Builder { 281 * Creates a {@link CustomTabsIntent.Builder} object associated with no 284 public Builder() { 289 * Creates a {@link CustomTabsIntent.Builder} object associated with a give [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
Voicemail.java | 66 * Create a {@link Builder} for a new {@link Voicemail} to be inserted. 70 public static Builder createForInsertion(long timestamp, String number) { 71 return new Builder().setNumber(number).setTimestamp(timestamp); 75 * Create a {@link Builder} for a {@link Voicemail} to be updated (or deleted). 80 public static Builder createForUpdate(long id, String sourceData) { 81 return new Builder().setId(id).setSourceData(sourceData); 85 * Builder pattern for creating a {@link Voicemail}. The builder must be created with the {@link 90 public static class Builder { 104 /** You should use the correct factory method to construct a builder. * [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/ |
MediaDescriptionCompat.java | 32 * created using the Builder or retrieved from existing metadata using 330 Object bob = MediaDescriptionCompatApi21.Builder.newInstance(); 331 MediaDescriptionCompatApi21.Builder.setMediaId(bob, mMediaId); 332 MediaDescriptionCompatApi21.Builder.setTitle(bob, mTitle); 333 MediaDescriptionCompatApi21.Builder.setSubtitle(bob, mSubtitle); 334 MediaDescriptionCompatApi21.Builder.setDescription(bob, mDescription); 335 MediaDescriptionCompatApi21.Builder.setIconBitmap(bob, mIcon); 336 MediaDescriptionCompatApi21.Builder.setIconUri(bob, mIconUri); 349 MediaDescriptionCompatApi21.Builder.setExtras(bob, extras); 351 MediaDescriptionCompatApi23.Builder.setMediaUri(bob, mMediaUri) [all...] |
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
AbstractMessageTest.java | 101 public Builder newBuilderForType() { 102 return new Builder(wrappedMessage.newBuilderForType()); 105 public Builder toBuilder() { 106 return new Builder(wrappedMessage.toBuilder()); 109 static class Builder extends AbstractMessage.Builder<Builder> { 110 private final Message.Builder wrappedBuilder; 112 public Builder(Message.Builder wrappedBuilder) 248 AbstractMessageWrapper.Builder builder = local 256 TestRequiredForeign.Builder builder = TestRequiredForeign.newBuilder(); local 295 AbstractMessageWrapper.Builder builder = local 314 AbstractMessageWrapper.Builder builder = local 323 AbstractMessageWrapper.Builder builder = local 331 AbstractMessageWrapper.Builder builder = local 356 TestRequired.Builder builder = TestRequired.newBuilder(); local 374 TestRequiredForeign.Builder builder = TestRequiredForeign.newBuilder(); local [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
PartitionedActivityTest.java | 77 final CannedFillResponse response1 = new CannedFillResponse.Builder() 78 .addDataset(new CannedDataset.Builder() 100 final CannedFillResponse response2 = new CannedFillResponse.Builder() 101 .addDataset(new CannedDataset.Builder() 156 final CannedFillResponse response1 = new CannedFillResponse.Builder() 157 .addDataset(new CannedDataset.Builder() 184 final CannedFillResponse response2 = new CannedFillResponse.Builder() 185 .addDataset(new CannedDataset.Builder() 231 final CannedFillResponse response1 = new CannedFillResponse.Builder() 232 .addDataset(new CannedDataset.Builder() [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
StatepointLowering.cpp | 43 SelectionDAGBuilder &Builder, uint64_t Value) { 44 SDLoc L = Builder.getCurSDLoc(); 45 Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L, 47 Ops.push_back(Builder.DAG.getTargetConstant(Value, L, MVT::i64)); 50 void StatepointLoweringState::startNewStatepoint(SelectionDAGBuilder &Builder) { 59 AllocatedStackSlots.resize(Builder.FuncInfo.StatepointStackSlots.size()); 71 SelectionDAGBuilder &Builder) { 73 auto *MFI = Builder.DAG.getMachineFunction().getFrameInfo(); 87 assert(NumSlots <= Builder.FuncInfo.StatepointStackSlots.size() && 92 const int FI = Builder.FuncInfo.StatepointStackSlots[NextSlotToAllocate] [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
ShowWhenLockedWithDialogActivity.java | 30 new AlertDialog.Builder(this)
|