/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HeadersTest.java | 43 Request request = new Request.Builder().url("http://square.com/").build(); 67 Request request = new Request.Builder().url("http://square.com/").build(); 78 Request request = new Request.Builder().url("http://square.com/").build(); 87 Request request = new Request.Builder() 108 Request request = new Request.Builder() 123 Request request = new Request.Builder() 143 Headers headers = new Headers.Builder() 159 new Headers.Builder().add(": bar"); 164 new Headers.Builder().add(" : bar"); 172 new Headers.Builder().add("foo bar") [all...] |
/frameworks/base/core/java/android/service/autofill/ |
Dataset.java | 47 * the dataset - see {@link Dataset.Builder#setAuthentication(IntentSender)}. 61 private Dataset(Builder builder) { 62 mFieldIds = builder.mFieldIds; 63 mFieldValues = builder.mFieldValues; 64 mFieldPresentations = builder.mFieldPresentations; 65 mPresentation = builder.mPresentation; 66 mAuthentication = builder.mAuthentication; 67 mId = builder.mId; 122 * A builder for {@link Dataset} objects. You must provide at leas [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioMixingRule.java | 34 * AudioAttributes mediaAttr = new AudioAttributes.Builder() 37 * AudioMixingRule mediaRule = new AudioMixingRule.Builder() 52 * This mixing rule can be added with {@link Builder#addRule(AudioAttributes, int)} or 53 * {@link Builder#addMixRule(int, Object)} where the Object parameter is an instance of 60 * This mixing rule can be added with {@link Builder#addRule(AudioAttributes, int)} or 61 * {@link Builder#addMixRule(int, Object)} where the Object parameter is an instance of 68 * This mixing rule can be added with {@link Builder#addMixRule(int, Object)} where the Object 204 * Builder class for {@link AudioMixingRule} objects 207 public static class Builder { 212 * Constructs a new Builder with no rules [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
LoginActivityTest.java | 162 sReplier.addResponse(new CannedDataset.Builder() 210 sReplier.addResponse(new CannedDataset.Builder() 249 sReplier.addResponse(new CannedFillResponse.Builder() 250 .addDataset(new CannedDataset.Builder() 255 .addDataset(new CannedDataset.Builder() 296 sReplier.addResponse(new CannedFillResponse.Builder() 297 .addDataset(new CannedDataset.Builder() 302 .addDataset(new CannedDataset.Builder() 364 sReplier.addResponse(new CannedDataset.Builder() 399 sReplier.addResponse(new CannedDataset.Builder() [all...] |
/developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigTextIntentService.java | 88 // builder globally and get the notification back to recreate it later. 90 NotificationCompat.Builder notificationCompatBuilder = 93 // Recreate builder from persistent state if app process is killed 95 // Note: New builder set globally in the method 123 private NotificationCompat.Builder recreateBuilderWithBigTextStyle() { 163 new NotificationCompat.Action.Builder( 175 new NotificationCompat.Action.Builder( 183 NotificationCompat.Builder notificationCompatBuilder = 184 new NotificationCompat.Builder(getApplicationContext()); 212 NotificationCompat.Action mainAction = new NotificationCompat.Action.Builder( [all...] |
/developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/ |
BigTextIntentService.java | 88 // builder globally and get the notification back to recreate it later. 90 NotificationCompat.Builder notificationCompatBuilder = 93 // Recreate builder from persistent state if app process is killed 95 // Note: New builder set globally in the method 123 private NotificationCompat.Builder recreateBuilderWithBigTextStyle() { 163 new NotificationCompat.Action.Builder( 175 new NotificationCompat.Action.Builder( 183 NotificationCompat.Builder notificationCompatBuilder = 184 new NotificationCompat.Builder(getApplicationContext()); 212 NotificationCompat.Action mainAction = new NotificationCompat.Action.Builder( [all...] |
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/ |
BigTextIntentService.java | 88 // builder globally and get the notification back to recreate it later. 90 NotificationCompat.Builder notificationCompatBuilder = 93 // Recreate builder from persistent state if app process is killed 95 // Note: New builder set globally in the method 123 private NotificationCompat.Builder recreateBuilderWithBigTextStyle() { 163 new NotificationCompat.Action.Builder( 175 new NotificationCompat.Action.Builder( 183 NotificationCompat.Builder notificationCompatBuilder = 184 new NotificationCompat.Builder(getApplicationContext()); 212 NotificationCompat.Action mainAction = new NotificationCompat.Action.Builder( [all...] |
/external/guava/guava/src/com/google/common/escape/ |
Escapers.java | 63 * Returns a builder for creating simple, fast escapers. A builder instance 65 * current builder state. Builders are not thread safe. 67 * <p>The initial state of the builder is such that: 74 * <p>For performance reasons escapers created by this builder are not 77 public static Builder builder() { method in class:Escapers 78 return new Builder(); 82 * A builder for simple, fast escapers. 87 * provide the desired behavior. However this builder is suitable for creatin [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableBiMap.java | 64 public static <K, V> Builder<K, V> builder() { method in class:ImmutableBiMap 65 return new Builder<K, V>(); 68 public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> { 70 public Builder() {} 72 @Override public Builder<K, V> put(K key, V value) { 77 @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
|
ImmutableSetMultimap.java | 74 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); local 75 builder.put(k1, v1); 76 return builder.build(); 85 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); local 86 builder.put(k1, v1); 87 builder.put(k2, v2) 98 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); local 112 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); local 127 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); local 141 public static <K, V> Builder<K, V> builder() { method in class:ImmutableSetMultimap 313 ImmutableMap.Builder<K, ImmutableSet<V>> builder = ImmutableMap.builder(); local 375 Builder<V, K> builder = builder(); local [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
DynamicMessage.java | 143 /** Construct a {@link Message.Builder} for the given type. */ 144 public static Builder newBuilder(Descriptor type) { 145 return new Builder(type); 149 * Construct a {@link Message.Builder} for a message of the same type as 152 public static Builder newBuilder(Message prototype) { 153 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype); 278 public Builder newBuilderForType() { 279 return new Builder(type); 283 public Builder toBuilder() { 294 Builder builder = newBuilder(type) [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
TouchAnimatorTest.java | 44 TouchAnimator animator = new TouchAnimator.Builder() 60 TouchAnimator animator = new TouchAnimator.Builder() 76 TouchAnimator animator = new TouchAnimator.Builder() 96 TouchAnimator animator = new TouchAnimator.Builder() 116 TouchAnimator animator = new TouchAnimator.Builder() 141 TouchAnimator animator = new TouchAnimator.Builder() 166 TouchAnimator animator = new TouchAnimator.Builder()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
MappedButtonConfig.java | 174 static Builder builder(int slot) { 175 return new AutoValue_MappedButtonConfig_MappingInfo.Builder() 182 @AutoValue.Builder 183 abstract static class Builder { 184 public abstract Builder setSlot(int slot); 186 public abstract Builder setSlotOrder(int slotOrder); 188 public abstract Builder setConflictOrder(int conflictOrder);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
WifiInfoTest.java | 44 WifiInfo wifiInfo = WifiInfo.Builder.builder() 69 WifiInfo wifiInfo = WifiInfo.Builder.builder() 87 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() 97 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() 115 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() [all...] |
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/model/ |
WifiInfoRoboTest.java | 50 WifiInfo wifiInfo = WifiInfo.Builder.builder() 73 WifiInfo.Builder.builder() 87 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() 97 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() 115 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStorageSizesController.java | 135 public static class Builder { 143 public Builder setAppSizePreference(Preference preference) { 148 public Builder setDataSizePreference(Preference preference) { 153 public Builder setCacheSizePreference(Preference preference) { 158 public Builder setTotalSizePreference(Preference preference) { 163 public Builder setComputingString(@StringRes int sequence) { 168 public Builder setErrorString(@StringRes int sequence) {
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
NotificationHelper.java | 104 Notification childNotification = new Notification.Builder(mContext) 113 childNotification = new Notification.Builder(mContext) 122 Notification notification = new Notification.Builder(mContext) 142 Notification.Action action = new Notification.Action.Builder( 144 pendingIntent).addRemoteInput(new RemoteInput.Builder(inLineReply) 147 Notification.Builder n = new Notification.Builder(mContext)
|
/external/llvm/tools/llvm-c-test/ |
echo.cpp | 370 auto Builder = LLVMCreateBuilderInContext(Ctx); 372 LLVMPositionBuilderAtEnd(Builder, BB); 373 auto Dst = CloneInstruction(Src, Builder); 374 LLVMDisposeBuilder(Builder); 392 LLVMValueRef CloneInstruction(LLVMValueRef Src, LLVMBuilderRef Builder) { 408 LLVMInsertIntoBuilderWithName(Builder, I, Name); 422 Dst = LLVMBuildRetVoid(Builder); 424 Dst = LLVMBuildRet(Builder, CloneValue(LLVMGetOperand(Src, 0))); 431 Dst = LLVMBuildBr(Builder, DeclareBB(SrcBB)); 440 Dst = LLVMBuildCondBr(Builder, Cond, ThenBB, ElseBB) [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
AutoUpgrade.cpp | 185 IRBuilder<> Builder(C); 186 Builder.SetInsertPoint(CI->getParent(), CI); 188 Value *BC = Builder.CreateBitCast(CI->getArgOperand(0), 191 LoadInst *LI = Builder.CreateLoad(BC, CI->getName()); 193 BC = Builder.CreateBitCast(LI, VecTy, "new.cast"); 205 IRBuilder<> Builder(C); 206 Builder.SetInsertPoint(CI->getParent(), CI); 217 Value *BC = Builder.CreateBitCast(Arg0, 220 StoreInst *SI = Builder.CreateStore(Arg1, BC); 227 IRBuilder<> Builder(C) [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
CallTest.java | 113 Request request = new Request.Builder() 135 Request request = new Request.Builder() 144 Request.Builder requestBuilder = new Request.Builder(); 154 Request.Builder requestBuilder = new Request.Builder(); 166 Request request = new Request.Builder() 195 Request request = new Request.Builder() 223 new Request.Builder().method("GET", RequestBody.create(MediaType.parse("text/plain"), "abc")); 232 Request request = new Request.Builder() [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableRangeMap.java | 71 ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<Range<K>>(map.size()); 72 ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<V>(map.size()); 81 * Returns a new builder for an immutable range map. 83 public static <K extends Comparable<?>, V> Builder<K, V> builder() { method in class:ImmutableRangeMap 84 return new Builder<K, V>(); 88 * A builder for immutable range maps. Overlapping ranges are prohibited. 90 public static final class Builder<K extends Comparable<?>, V> [all...] |
/external/skia/src/core/ |
SkVertices.cpp | 53 SkVertices::Builder::Builder(SkCanvas::VertexMode mode, int vertexCount, int indexCount, 61 SkVertices::Builder::Builder(SkCanvas::VertexMode mode, int vertexCount, int indexCount, 66 void SkVertices::Builder::init(SkCanvas::VertexMode mode, int vertexCount, int indexCount, 88 sk_sp<SkVertices> SkVertices::Builder::detach() { 97 int SkVertices::Builder::vertexCount() const { 101 int SkVertices::Builder::indexCount() const { 105 SkPoint* SkVertices::Builder::positions() { 109 SkPoint* SkVertices::Builder::texCoords() [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ProgramInfo.java | 105 Builder builder = new Builder(); local 108 builder.setTitle(c.getString(index)); 112 builder.setDescription(c.getString(index)); 116 builder.setEpisode(c.getString(index)); 118 return builder.build(); 140 return new Builder().build(); 242 public static class Builder { 254 public Builder setTitle(String title) [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
ChannelTest.java | 173 Channel testChannel = new Channel.Builder() 198 new Channel.Builder().setInputId(PARTNER_INPUT_ID).build()); 200 new Channel.Builder().setInputId("1").build()); 202 new Channel.Builder().setInputId("1").setDisplayNumber("2").build()); 204 new Channel.Builder().setInputId("2").setDisplayNumber("1.0").build()); 208 new Channel.Builder().setInputId("2").setDisplayNumber("1.62") 210 new Channel.Builder().setInputId("2").setDisplayNumber("1.62") 212 new Channel.Builder().setInputId("2").setDisplayNumber("1.62") 215 new Channel.Builder().setInputId("2").setDisplayNumber("2.0").build()); 218 new Channel.Builder().setInputId("2").setDisplayNumber("12.2").build()) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableBiMapTest.java | 23 import com.google.common.collect.ImmutableBiMap.Builder; 120 = new Builder<String, Integer>().build(); 127 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() 136 = ImmutableBiMap.<String, Integer>builder() 150 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() 165 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() 176 Builder<String, Integer> builder = new Builder<String, Integer>(); local 177 ImmutableBiMap<String, Integer> mapOne = builder 194 Builder<String, Integer> builder = new Builder<String, Integer>(); local 203 Builder<String, Integer> builder = new Builder<String, Integer>(); local 212 Builder<String, Integer> builder = new Builder<String, Integer>(); local 221 Builder<String, Integer> builder = new Builder<String, Integer>(); local 230 Builder<String, Integer> builder = new Builder<String, Integer>() local [all...] |