/frameworks/base/core/java/android/net/ |
VpnService.java | 82 * {@link Builder#establish}. The former deals with user action and stops 84 * a VPN interface using the parameters supplied to the {@link Builder}. 94 * <li>Supply those parameters to a {@link Builder} and create a VPN 95 * interface by calling {@link Builder#establish}.</li> 115 * @see Builder 243 * be routed over the VPN. @see Builder#allowFamily 251 * @see Builder#addAddress 274 * allowed for the rest of the VPN's session. @see Builder#allowFamily 320 * when the VPN has not yet been established, see {@link Builder#setUnderlyingNetworks}. 405 public class Builder { [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
CrossProfileIntentFiltersSetter.java | 49 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE) 63 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE) 75 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND) 89 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND) 104 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND) 112 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, ONLY_IF_NO_MATCH_FOUND) 119 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE) 132 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE) 141 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, SKIP_CURRENT_PROFILE) 149 new CrossProfileIntentFilter.Builder(Direction.TO_PARENT, 0 [all...] |
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 63 CGBuilderTy &Builder; 69 : CGF(cgf), Builder(CGF.Builder), IgnoreResultAssign(ira), 170 return Builder.CreateFCmpUNE(V, Zero, "tobool"); 177 return Builder.CreateICmpNE(V, Zero, "tobool"); 185 if (ZI->getOperand(0)->getType() == Builder.getInt1Ty()) { 196 return Builder.CreateIsNotNull(V, "tobool"); 226 return Builder.getInt(E->getValue()); 250 return Builder.CreateBitCast(V, ConvertType(E->getType())); 419 return llvm::ConstantInt::get(Builder.getInt32Ty(), E->getValue()) [all...] |
CGException.cpp | 366 Address typedAddr = Builder.CreateBitCast(addr, ty); 396 return Builder.CreateLoad(getExceptionSlot(), "exn"); 400 return Builder.CreateLoad(getEHSelectorSlot(), "sel"); 484 llvm::Value *zero = CGF.Builder.getInt32(0); 486 CGF.Builder.CreateICmpSLT(selector, zero, "ehspec.fails"); 487 CGF.Builder.CreateCondBr(failsFilter, unexpectedBB, 500 CGF.Builder.CreateUnreachable(); 643 CGBuilderTy Builder(*this, DispatchBlock); 750 CGBuilderTy::InsertPoint savedIP = Builder.saveAndClearIP(); 757 llvm::LandingPadInst *LPadInst = Builder.CreateLandingPad [all...] |
/developers/build/prebuilts/gradle/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
LongTextProviderService.java | 55 new ComplicationData.Builder(type) 64 new ComplicationData.Builder(type) 79 new ComplicationData.Builder(type) 94 new ComplicationData.Builder(type) 105 new ComplicationData.Builder(type) 115 new ComplicationData.Builder(type)
|
/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/ |
LongTextProviderService.java | 55 new ComplicationData.Builder(type) 64 new ComplicationData.Builder(type) 79 new ComplicationData.Builder(type) 94 new ComplicationData.Builder(type) 105 new ComplicationData.Builder(type) 115 new ComplicationData.Builder(type)
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
VmConfig.java | 49 private VmConfig(Builder builder) { 50 this.platform = builder.platform; 51 this.vmHome = builder.vmHome; 52 this.options = builder.optionsBuilder.build(); 119 @VisibleForTesting public static final class Builder { 122 private final ImmutableList.Builder<String> optionsBuilder = ImmutableList.builder(); 125 public Builder(Platform platform, File vmHome) { 130 public Builder addOption(String option) [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
InstrumentSpec.java | 50 private InstrumentSpec(Builder builder) { 51 this.className = builder.className; 52 this.options = Maps.newTreeMap(builder.options); 97 public static final class Builder { 101 public Builder className(String className) { 106 public Builder instrumentClass(Class<?> insturmentClass) { 110 public Builder addOption(String option, String value) { 115 public Builder addAllOptions(Map<String, String> options) {
|
VmSpec.java | 48 private VmSpec(Builder builder) { 49 this.properties = Maps.newTreeMap(builder.properties); 50 this.options = Maps.newTreeMap(builder.options); 100 public static final class Builder { 104 public Builder addOption(String optionName, String value) { 109 public Builder addAllOptions(Map<String, String> options) { 114 public Builder addProperty(String property, String value) { 119 public Builder addAllProperties(Map<String, String> properties) {
|
/external/junit/src/main/java/org/junit/internal/runners/statements/ |
FailOnTimeout.java | 19 * Returns a new builder for building an instance. 23 public static Builder builder() { method in class:FailOnTimeout 24 return new Builder(); 32 * @deprecated use {@link #builder()} instead. 36 this(builder().withTimeout(timeoutMillis, TimeUnit.MILLISECONDS), statement); 39 private FailOnTimeout(Builder builder, Statement statement) { 41 timeout = builder.timeout; 42 timeUnit = builder.unit [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/ |
HeldCertificate.java | 47 public static final class Builder { 59 public Builder serialNumber(String serialNumber) { 68 public Builder commonName(String hostname) { 73 public Builder keyPair(KeyPair keyPair) { 82 public Builder issuedBy(HeldCertificate signedBy) { 91 public Builder ca(int maxIntermediateCas) {
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
RsBrickedBitMask.java | 59 Type.Builder b = new Type.Builder(state.mRs, android.renderscript.Element.U32(state.mRs));
83 Type.Builder b = new Type.Builder(rs, android.renderscript.Element.U32(rs));
91 Type.Builder b = new Type.Builder(rs, android.renderscript.Element.U8(rs));
|
/frameworks/rs/tests/lldb/java/KernelVariables/src/com/android/rs/kernelvariables/ |
MainActivity.java | 73 Type.Builder typeI32Builder2D = new Type.Builder(mRS, Element.I32(mRS)); 89 Type.Builder typeI32Builder3D = new Type.Builder(mRS, Element.I32(mRS)); 98 Type.Builder yuvTypeBuilder = new Type.Builder(mRS, Element.YUV(mRS));
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
TestFlagExpectedOp.java | 31 static class Builder<T> { 39 Builder(int flags) { 43 Builder<T> known(EnumSet<StreamOpFlag> known) { 48 Builder<T> preserve(EnumSet<StreamOpFlag> preserve) { 53 Builder<T> notKnown(EnumSet<StreamOpFlag> notKnown) { 58 Builder<T> shape(StreamShape shape) {
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
TestFlagExpectedOp.java | 32 static class Builder<T> { 40 Builder(int flags) { 44 Builder<T> known(EnumSet<StreamOpFlag> known) { 49 Builder<T> preserve(EnumSet<StreamOpFlag> preserve) { 54 Builder<T> notKnown(EnumSet<StreamOpFlag> notKnown) { 59 Builder<T> shape(StreamShape shape) {
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
DisclaimersParam.java | 50 private DisclaimersParam(Builder builder) { 51 mDisclaimers = builder.mDisclaimers; 63 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { 66 Builder builder = new Builder(); local 73 builder.setDisclaimers(disclaimers); 75 return builder; 112 public final static class Builder { [all...] |
/external/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | 580 Builder); 606 return InnerMatcher.matches(*Node.IgnoreImplicit(), Finder, Builder); 636 return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder); 657 return InnerMatcher.matches(*Node.IgnoreParenCasts(), Finder, Builder); 683 return InnerMatcher.matches(*Node.IgnoreParenImpCasts(), Finder, Builder); 699 return InnerMatcher.matches(Node.IgnoreParens(), Finder, Builder); 723 return InnerMatcher.matches(List[N], Finder, Builder); 758 return InnerMatcher.matches(Node.getAsType(), Finder, Builder); 777 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); 795 return InnerMatcher.matches(*Node.getAsExpr(), Finder, Builder); [all...] |
ASTMatchersInternal.h | 183 /// The tree builder is used during the matching process to insert the bound 255 /// May bind \p DynNode to an ID via \p Builder, or recurse into 259 BoundNodesTreeBuilder *Builder) const = 0; 274 /// May bind 'Node' to an ID via 'Builder', or recurse into 278 BoundNodesTreeBuilder *Builder) const = 0; 282 BoundNodesTreeBuilder *Builder) const override { 283 return matches(DynNode.getUnchecked<T>(), Finder, Builder); 301 BoundNodesTreeBuilder * /* Builder */) const override { 363 ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const; 371 BoundNodesTreeBuilder *Builder) const [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
ClassParametersTest.java | 43 assertException(() -> (new PrintAttributes.Builder()).setColorMode(-1), 45 assertException(() -> (new PrintAttributes.Builder()).setColorMode(0), 47 assertException(() -> (new PrintAttributes.Builder()).setColorMode( 59 assertException(() -> (new PrintAttributes.Builder()).setDuplexMode(-1), 61 assertException(() -> (new PrintAttributes.Builder()).setDuplexMode(0), 63 assertException(() -> (new PrintAttributes.Builder()).setDuplexMode( 230 assertException(() -> new PrintDocumentInfo.Builder(null), 232 assertException(() -> new PrintDocumentInfo.Builder(""), 235 assertException(() -> new PrintDocumentInfo.Builder("doc").setPageCount(-2), 246 PrintDocumentInfo defaultInfo = new PrintDocumentInfo.Builder("doc").build() [all...] |
/frameworks/rs/rsov/compiler/ |
Builtin.cpp | 36 Builder *b, Module *m) { 73 const FunctionCallInst *call, Builder *b, 82 Transformer *, Builder *, Module *)> 93 Transformer *, Builder *b, Module *m) { 100 Builder *b, Module *m) { 107 Transformer *tr, Builder *b, Module *m) { 114 Builder *b, Module *) -> Instruction * { 121 Transformer *, Builder *b, Module *) -> Instruction * { 128 Transformer *, Builder *b, Module *) { 134 Builder *b, Module *) [all...] |
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorContacts.java | 44 Contact.builder() 52 Contact.builder() 60 Contact.builder() 68 Contact.builder() 77 Contact.builder() 83 Contact.builder() 88 Contact.builder() 93 Contact.builder() 98 Contact.builder() 102 Contact.builder().addPhoneNumber(new PhoneNumber("611", Phone.TYPE_MOBILE)).build() 215 static Builder builder() { method in class:SimulatorContacts.Contact [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ForEachTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); 130 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create() [all...] |
KernelTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); 80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); 82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); 96 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); 98 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); 112 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); 114 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); 128 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); 130 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create() [all...] |
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
Target.java | 41 * can be created via the {@link android.support.v7.graphics.Target.Builder} class. 43 * <p>To use the target, use the {@link Palette.Builder#addTarget(Target)} API when building a 301 * Builder class for generating custom {@link Target} instances. 303 public final static class Builder { 307 * Create a new {@link Target} builder from scratch. 309 public Builder() { 314 * Create a new builder based on an existing {@link Target}. 316 public Builder(Target target) { 323 public Target.Builder setMinimumSaturation(@FloatRange(from = 0, to = 1) float value) { 331 public Target.Builder setTargetSaturation(@FloatRange(from = 0, to = 1) float value) [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipProfile.java | 38 * SipProfile.Builder}. You can also retrieve one from a {@link SipSession}, using {@link 79 public static class Builder { 96 * Creates a builder based on the given profile. 98 public Builder(SipProfile profile) { 119 public Builder(String uriString) throws ParseException { 141 public Builder(String username, String serverDomain) 161 * @return this builder object 163 public Builder setAuthUserName(String name) { 172 * @return this builder object 174 public Builder setProfileName(String name) [all...] |