/frameworks/base/telephony/java/android/telephony/ |
VisualVoicemailSms.java | 42 VisualVoicemailSms(Builder builder) { 43 mPhoneAccountHandle = builder.mPhoneAccountHandle; 44 mPrefix = builder.mPrefix; 45 mFields = builder.mFields; 46 mMessageBody = builder.mMessageBody; 81 * Builder for the {@link VisualVoicemailSms}. Internal use only. 85 public static class Builder { 96 public Builder setPhoneAccountHandle(PhoneAccountHandle phoneAccountHandle) { 101 public Builder setPrefix(String prefix) [all...] |
VisualVoicemailSmsFilterSettings.java | 38 * <p>Use {@link android.telephony.VisualVoicemailSmsFilterSettings.Builder} to construct this 71 * Builder class for {@link VisualVoicemailSmsFilterSettings} objects. 73 public static class Builder { 87 public Builder setClientPrefix(String clientPrefix) { 100 public Builder setOriginatingNumbers(List<String> originatingNumbers) { 114 public Builder setDestinationPort(int destinationPort) { 141 * Use {@link Builder} to construct 143 private VisualVoicemailSmsFilterSettings(Builder builder) { 144 clientPrefix = builder.mClientPrefix [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaSessionStatus.java | 42 * This object is immutable once created using a {@link Builder} instance. 173 * Builder for {@link MediaSessionStatus media session status objects}. 175 public static final class Builder { 179 * Creates a media session status builder using the current time as the 184 public Builder(int sessionState) { 191 * Creates a media session status builder whose initial contents are 194 public Builder(MediaSessionStatus status) { 206 public Builder setTimestamp(long elapsedRealtimeTimestamp) { 214 public Builder setSessionState(int sessionState) { 222 public Builder setQueuePaused(boolean queuePaused) [all...] |
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 259 * @see Builder#setCustomTitle(View) 440 public static class Builder { 444 * Creates a builder for an alert dialog that uses the default alert 453 public Builder(Context context) { 458 * Creates a builder for an alert dialog that uses an explicit theme 483 public Builder(Context context, int themeResId) { 489 * Returns a {@link Context} with the appropriate theme for dialogs created by this Builder. 503 * @return This Builder object to allow for chaining of calls to set methods 505 public Builder setTitle(@StringRes int titleId) { 513 * @return This Builder object to allow for chaining of calls to set method [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AlertDialog.java | 151 * @see Builder#setCustomTitle(View) 279 public static class Builder { 284 * Creates a builder for an alert dialog that uses the default alert 293 public Builder(@NonNull Context context) { 298 * Creates a builder for an alert dialog that uses an explicit theme 323 public Builder(@NonNull Context context, @StyleRes int themeResId) { 330 * Returns a {@link Context} with the appropriate theme for dialogs created by this Builder. 345 * @return This Builder object to allow for chaining of calls to set methods 347 public Builder setTitle(@StringRes int titleId) { 355 * @return This Builder object to allow for chaining of calls to set method [all...] |
/external/sfntly/cpp/src/sfntly/table/core/ |
os2_table.cc | 264 * class OS2Table::Builder 266 OS2Table::Builder::Builder(Header* header, WritableFontData* data) 270 OS2Table::Builder::Builder(Header* header, ReadableFontData* data) 274 OS2Table::Builder::~Builder() {} 276 CALLER_ATTACH FontDataTable* OS2Table::Builder::SubBuildTable( 282 CALLER_ATTACH OS2Table::Builder* 283 OS2Table::Builder::CreateBuilder(Header* header 285 Ptr<OS2Table::Builder> builder; local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Response.java | 50 private Response(Builder builder) { 51 this.request = builder.request; 52 this.protocol = builder.protocol; 53 this.code = builder.code; 54 this.message = builder.message; 55 this.handshake = builder.handshake; 56 this.headers = builder.headers.build(); 57 this.body = builder.body; 58 this.networkResponse = builder.networkResponse [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RequestTest.java | 96 Request get = new Request.Builder().url("http://localhost/api").get().build(); 100 Request head = new Request.Builder().url("http://localhost/api").head().build(); 104 Request delete = new Request.Builder().url("http://localhost/api").delete().build(); 108 Request post = new Request.Builder().url("http://localhost/api").post(body).build(); 112 Request put = new Request.Builder().url("http://localhost/api").put(body).build(); 116 Request patch = new Request.Builder().url("http://localhost/api").patch(body).build(); 122 Request request = new Request.Builder().url("http://localhost/api").build(); 128 Request requestWithoutCache = new Request.Builder().url("http://localhost/api").build(); 132 Request requestWithCache = new Request.Builder().url("http://localhost/api").build(); 141 Request request = new Request.Builder() 158 Request.Builder builder = new Request.Builder(); local 164 Request.Builder builder = new Request.Builder(); local 178 Request.Builder builder = new Request.Builder(); local 208 Request.Builder builder = new Request.Builder(); local [all...] |
/external/llvm/lib/Target/X86/ |
X86WinEHState.cpp | 67 void linkExceptionRegistration(IRBuilder<> &Builder, Function *Handler); 68 void unlinkExceptionRegistration(IRBuilder<> &Builder); 72 Value *emitEHLSDA(IRBuilder<> &Builder, Function *F); 77 void rewriteSetJmpCallSite(IRBuilder<> &Builder, Function &F, CallSite CS, 281 IRBuilder<> Builder(&F->getEntryBlock(), F->getEntryBlock().begin()); 282 Type *Int8PtrType = Builder.getInt8PtrTy(); 283 Type *Int32Ty = Builder.getInt32Ty(); 284 Type *VoidTy = Builder.getVoidTy(); 288 RegNode = Builder.CreateAlloca(RegNodeTy); 290 Value *SP = Builder.CreateCall [all...] |
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 45 public void apply(Context context, NotificationCompat.Builder builder, 56 public void apply(Context context, NotificationCompat.Builder builder, 58 builder.addAction(R.drawable.ic_full_action, 72 public void apply(Context context, NotificationCompat.Builder builder, 74 builder.addAction(R.drawable.ic_full_action, 88 public void apply(Context context, NotificationCompat.Builder builder, [all...] |
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 45 public void apply(Context context, NotificationCompat.Builder builder, 56 public void apply(Context context, NotificationCompat.Builder builder, 58 builder.addAction(R.drawable.ic_full_action, 72 public void apply(Context context, NotificationCompat.Builder builder, 74 builder.addAction(R.drawable.ic_full_action, 88 public void apply(Context context, NotificationCompat.Builder builder, [all...] |
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
ActionsPresets.java | 45 public void apply(Context context, NotificationCompat.Builder builder, 56 public void apply(Context context, NotificationCompat.Builder builder, 58 builder.addAction(R.drawable.ic_full_action, 72 public void apply(Context context, NotificationCompat.Builder builder, 74 builder.addAction(R.drawable.ic_full_action, 88 public void apply(Context context, NotificationCompat.Builder builder, [all...] |
/frameworks/base/core/java/android/net/ |
NetworkRequest.java | 26 * Defines a request for a network, made through {@link NetworkRequest.Builder} and used 129 * Builder used to create {@link NetworkRequest} objects. Specify the Network features 132 public static class Builder { 136 * Default constructor for Builder. 138 public Builder() {} 155 * Add the given capability requirement to this builder. These represent 162 * @return The builder to facilitate chaining 163 * {@code builder.addCapability(...).addCapability();}. 165 public Builder addCapability(int capability) { 171 * Removes (if found) the given capability from this builder instance [all...] |
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
CursorAnchorInfoTest.java | 25 import android.view.inputmethod.CursorAnchorInfo.Builder; 93 final Builder builder = new Builder(); local 94 builder.setSelectionRange(SELECTION_START, SELECTION_END) 102 builder.addCharacterBounds(i, bounds.left, bounds.top, bounds.right, bounds.bottom, 106 final CursorAnchorInfo info = builder.build(); 130 // Make sure that the builder can reproduce the same object. 131 final CursorAnchorInfo info2 = builder.build(); 183 builder.reset() 369 final Builder builder = new Builder(); local 402 final Builder builder = new Builder(); local [all...] |
/frameworks/base/media/java/android/media/ |
BufferingParams.java | 65 * <p>Users should use {@link Builder} to change {@link BufferingParams}. 121 * @return one of the values that can be set in {@link Builder#setInitialBufferingMode(int)} 129 * @return one of the values that can be set in {@link Builder#setRebufferingMode(int)} 196 * Builder class for {@link BufferingParams} objects. 197 * <p> Here is an example where <code>Builder</code> is used to define the 202 * myParams = new BufferingParams.Builder(myParams) 208 public static class Builder { 221 * Constructs a new Builder with the defaults. 225 public Builder() { 229 * Constructs a new Builder from a given {@link BufferingParams} instanc [all...] |
/frameworks/support/compat/java/android/support/v4/content/pm/ |
ShortcutInfoCompat.java | 54 ShortcutInfo.Builder builder = new ShortcutInfo.Builder(mContext, mId) local 58 builder.setIcon(mIcon.toIcon()); 61 builder.setLongLabel(mLongLabel); 64 builder.setDisabledMessage(mDisabledMessage); 67 builder.setActivity(mActivity); 69 return builder.build(); 100 * @see Builder#setActivity(ComponentName) 110 * @see Builder#setShortLabel(CharSequence [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
PackageDownloadInfo.java | 91 private PackageDownloadInfo(Builder builder) { 92 location = builder.mLocation; 93 cookieHeader = builder.mCookieHeader; 94 packageChecksum = checkNotNull(builder.mPackageChecksum, "package checksum can't be null"); 95 signatureChecksum = checkNotNull(builder.mSignatureChecksum, 97 minVersion = builder.mMinVersion; 98 packageChecksumSupportsSha1 = builder.mPackageChecksumSupportsSha1; 122 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { 123 Builder builder = new Builder() local 198 public static Builder builder() { method in class:PackageDownloadInfo.Builder [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
SeriesRecordingTest.java | 40 private final SeriesRecording mBaseSeriesRecording = new SeriesRecording.Builder() 46 private final Program mBaseProgram = new Program.Builder().setTitle(PROGRAM_TITLE) 50 SeriesRecording r1 = new SeriesRecording.Builder() 85 Program program = new Program.Builder(mBaseProgram).setSeriesId(OTHER_SERIES_ID).build(); 90 Program program = new Program.Builder(mBaseProgram).setChannelId(OTHER_CHANNEL_ID).build(); 97 program = new Program.Builder(program).setSeasonNumber("1").build(); 99 program = new Program.Builder(program).setSeasonNumber("2").build(); 101 program = new Program.Builder(program).setSeasonNumber("3").build(); 108 program = new Program.Builder(program).setSeasonNumber("2").build(); 110 program = new Program.Builder(program).setEpisodeNumber("4").build() [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
eblc_table.h | 127 class Builder : public SubTableContainerTable::Builder, 128 public RefCounted<Builder> { 132 Builder(Header* header, WritableFontData* data); 133 Builder(Header* header, ReadableFontData* data); 134 virtual ~Builder(); 150 // @return the list of loca maps with one for each size table builder 153 // Create a new builder using the header information and data provided. 156 static CALLER_ATTACH Builder* CreateBuilder(Header* header, 158 static CALLER_ATTACH Builder* CreateBuilder(Header* header [all...] |
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
AdvertiseSettingsTest.java | 31 AdvertiseSettings settings = new AdvertiseSettings.Builder().build(); 40 AdvertiseSettings settings = new AdvertiseSettings.Builder().build(); 48 AdvertiseSettings settings = new AdvertiseSettings.Builder() 66 AdvertiseSettings.Builder builder = new AdvertiseSettings.Builder(); local 67 builder.setTimeout(0).build(); 68 builder.setTimeout(180 * 1000).build(); 71 builder.setTimeout(180 * 1000 + 1).build(); 78 builder.setTimeout(-1).build() [all...] |
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
InlineReply.java | 23 import android.app.Notification.Builder; 45 final RemoteInput ri = new RemoteInput.Builder("result").setLabel("Remote input").build(); 47 final Notification.Builder nb = new Builder(context) 51 .addAction(new Action.Builder(0, INLINE_REPLY_REMOTE_INPUT_CAPTION, receiverIntent)
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
ValidationReport.java | 131 static <T extends Element> Builder<T> about(T subject) { 132 return new Builder<T>(subject); 135 static final class Builder<T extends Element> { 137 private final ImmutableSet.Builder<Item> items = ImmutableSet.builder(); 138 private final ImmutableSet.Builder<ValidationReport<?>> subreports = ImmutableSet.builder(); 140 private Builder(T subject) { 148 Builder<T> addItems(Iterable<Item> newItems) { 153 Builder<T> addError(String message) [all...] |
/external/dagger2/core/src/main/java/dagger/internal/ |
MapProviderFactory.java | 37 * Returns a new {@link Builder} 39 public static <K, V> Builder<K, V> builder(int size) { method in class:MapProviderFactory 40 return new Builder<K, V>(size); 58 * A builder to help build the {@link MapProviderFactory} 60 public static final class Builder<K, V> { 63 private Builder(int size) { 76 * Associate k with providerOfValue in {@code Builder} 78 public Builder<K, V> put(K key, Provider<V> providerOfValue) {
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
PassManagerBuilder.cpp | 273 PassManagerBuilder *Builder = unwrap(PMB); 274 delete Builder; 280 PassManagerBuilder *Builder = unwrap(PMB); 281 Builder->OptLevel = OptLevel; 287 PassManagerBuilder *Builder = unwrap(PMB); 288 Builder->SizeLevel = SizeLevel; 294 PassManagerBuilder *Builder = unwrap(PMB); 295 Builder->DisableUnitAtATime = Value; 301 PassManagerBuilder *Builder = unwrap(PMB); 302 Builder->DisableUnrollLoops = Value [all...] |
/packages/apps/Contacts/src/com/android/contacts/compat/ |
AggregationSuggestionsCompat.java | 25 * This class contains Builder class extracted from ContactsContract, and it became visible in API 36 * A convenience builder for aggregation suggestion content URIs. 38 public static final class Builder { 48 * @return This Builder object to allow for chaining of calls to builder methods 50 public Builder setContactId(long contactId) { 59 * @return This Builder object to allow for chaining of calls to builder methods 61 public Builder addNameParameter(String name) { 70 * @return This Builder object to allow for chaining of calls to builder method 82 android.net.Uri.Builder builder = ContactsContract.Contacts.CONTENT_URI.buildUpon(); local [all...] |