/external/junit/src/main/java/org/junit/rules/ |
Timeout.java | 45 * Returns a new builder for building an instance. 49 public static Builder builder() { method in class:Timeout 50 return new Builder(); 86 * a builder. 90 protected Timeout(Builder builder) { 91 timeout = builder.getTimeout(); 92 timeUnit = builder.getTimeUnit(); 134 return FailOnTimeout.builder() [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
CertificatePinnerTest.java | 46 certA1 = new HeldCertificate.Builder() 52 certB1 = new HeldCertificate.Builder() 58 certC1 = new HeldCertificate.Builder() 72 CertificatePinner.Builder builder = new CertificatePinner.Builder(); local 74 builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw="); 81 CertificatePinner.Builder builder = new CertificatePinner.Builder(); local [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
small_glyph_metrics.h | 39 class Builder : public GlyphMetrics::Builder, 40 public RefCounted<Builder> { 44 explicit Builder(WritableFontData* data); 45 explicit Builder(ReadableFontData* data); 46 virtual ~Builder();
|
eblc_table.cc | 77 BitmapSizeTable::Builder::CreateBuilder(new_data, data)); 85 * EblcTable::Builder class 87 EblcTable::Builder::Builder(Header* header, WritableFontData* data) 88 : SubTableContainerTable::Builder(header, data) { 91 EblcTable::Builder::Builder(Header* header, ReadableFontData* data) 92 : SubTableContainerTable::Builder(header, data) { 95 EblcTable::Builder::~Builder() { [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
CrossProfileIntentFilter.java | 67 static final class Builder { 72 public Builder(@Direction int direction, int flags) { 77 Builder addAction(String action) { 82 Builder addCategory(String category) { 87 Builder addDataType(String type) { 96 Builder addDataScheme(String scheme) {
|
/external/clang/lib/Basic/ |
Targets.cpp | 45 static void DefineStd(MacroBuilder &Builder, StringRef MacroName, 52 Builder.defineMacro(MacroName); 55 Builder.defineMacro("__" + MacroName); 58 Builder.defineMacro("__" + MacroName + "__"); 61 static void defineCPUMacros(MacroBuilder &Builder, StringRef CPUName, 63 Builder.defineMacro("__" + CPUName); 64 Builder.defineMacro("__" + CPUName + "__"); 66 Builder.defineMacro("__tune_" + CPUName + "__"); 81 MacroBuilder &Builder) const=0; 86 MacroBuilder &Builder) const override [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
TextFormatParseInfoTree.java | 50 * <p>The {@code TextFormatParseInfoTree} is created by a Builder. 70 Map<FieldDescriptor, List<TextFormatParseInfoTree.Builder>> subtreeBuildersFromField) { 82 for (Entry<FieldDescriptor, List<Builder>> kv : subtreeBuildersFromField.entrySet()) { 84 for (Builder subBuilder : kv.getValue()) { 144 * Create a builder for a {@code ParseInfoTree}. 146 * @return the builder 148 public static Builder builder() { method in class:TextFormatParseInfoTree 149 return new Builder(); 161 * Builder for a {@link TextFormatParseInfoTree} [all...] |
/external/clang/lib/CodeGen/ |
ModuleBuilder.cpp | 64 std::unique_ptr<CodeGen::CodeGenModule> Builder; 88 return *Builder; 101 if (!Builder->lookupRepresentativeDecl(MangledName, Result)) 115 return Builder->GetAddrOfGlobal(global, isForDefinition); 123 Builder.reset(new CodeGen::CodeGenModule(Context, HeaderSearchOpts, 128 Builder->AddDependentLib(Lib); 130 Builder->AppendLinkerOptions(Opt); 137 Builder->HandleCXXStaticMemberVarInstantiation(VD); 148 Builder->EmitTopLevelDecl(*I); 162 Builder->EmitTopLevelDecl(DeferredInlineMethodDefinitions[I]) [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpObjectInfo.java | 53 // only instantiated via JNI or via a builder 355 public static class Builder { 358 public Builder() { 364 * Creates a builder on a copy of an existing object info. 369 public Builder(MtpObjectInfo objectInfo) { 393 public Builder setObjectHandle(int value) { 398 public Builder setAssociationDesc(int value) { 403 public Builder setAssociationType(int value) { 408 public Builder setCompressedSize(long value) { 413 public Builder setDateCreated(long value) [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestEvent.java | 332 public static final Builder builder() { method in class:TestEvent 333 return new Builder(); 337 * Test event builder with convenience methods for common event attrs. 339 public static final class Builder { 343 public Builder() { 346 public Builder(TestEvent state) { 354 public Builder action(int action) { 359 public Builder type(@ToolType int type) { 364 public Builder location(int x, int y) [all...] |
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/ |
TestResult.java | 64 public static Builder getBuilder() { 65 return new Builder(); 119 public static class Builder { 127 private Builder() { 129 public Builder setPackageName(String _packageName) { 133 public Builder setComponentName(String _componentName) { 137 public Builder setMethodName(String _methodName) { 141 public Builder setStatus(String _status) { 145 public Builder setException(String _exception) { 149 public Builder setEphemeralPackageInfoExposed(boolean _instantAppPackageInfoExposed) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentProviderOperation.java | 7 import android.content.ContentProviderOperation.Builder; 25 public static Builder newInsert(Uri uri) { 26 Builder builder = Robolectric.newInstanceOf(Builder.class); local 27 ShadowContentProviderOperationBuilder shadowBuilder = Robolectric.shadowOf(builder); 30 return builder; 34 public static Builder newUpdate(Uri uri) { 35 Builder builder = Robolectric.newInstanceOf(Builder.class) local 44 Builder builder = Robolectric.newInstanceOf(Builder.class); local [all...] |
/frameworks/base/core/java/android/app/usage/ |
CacheQuotaHint.java | 45 * @param builder A builder for this object. 47 public CacheQuotaHint(Builder builder) { 48 this.mUuid = builder.mUuid; 49 this.mUid = builder.mUid; 50 this.mUsageStats = builder.mUsageStats; 51 this.mQuota = builder.mQuota; 100 public static final class Builder { 106 public Builder() { [all...] |
/frameworks/support/media-compat/api21/android/support/v4/media/ |
MediaDescriptionCompatApi21.java | 64 static class Builder { 66 return new MediaDescription.Builder(); 71 ((MediaDescription.Builder)builderObj).setMediaId(mediaId); 75 ((MediaDescription.Builder)builderObj).setTitle(title); 79 ((MediaDescription.Builder)builderObj).setSubtitle(subtitle); 83 ((MediaDescription.Builder)builderObj).setDescription(description); 87 ((MediaDescription.Builder)builderObj).setIconBitmap(iconBitmap); 91 ((MediaDescription.Builder)builderObj).setIconUri(iconUri); 95 ((MediaDescription.Builder)builderObj).setExtras(extras); 99 return ((MediaDescription.Builder) builderObj).build() [all...] |
/frameworks/support/tv-provider/src/android/support/media/tv/ |
PreviewProgram.java | 36 * PreviewProgram previewProgram = new PreviewProgram.Builder() 61 * PreviewProgram updatedProgram = new PreviewProgram.Builder(previewProgram) 85 private PreviewProgram(Builder builder) { 86 super(builder); 154 Builder builder = new Builder(); local 155 BasePreviewProgram.setFieldsFromCursor(cursor, builder); 159 builder.setChannelId(cursor.getLong(index)) [all...] |
WatchNextProgram.java | 37 * WatchNextProgram watchNextProgram = new WatchNextProgram.Builder() 62 * WatchNextProgram updatedProgram = new WatchNextProgram.Builder(watchNextProgram) 86 private WatchNextProgram(Builder builder) { 87 super(builder); 156 Builder builder = new Builder(); local 157 BasePreviewProgram.setFieldsFromCursor(cursor, builder); 161 builder.setWatchNextType(cursor.getInt(index)) [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DetailsContent.java | 102 public static final class Builder { 105 public Builder() { 114 public Builder setTitle(CharSequence title) { 122 public Builder setStartTimeUtcMillis(long startTimeUtcMillis) { 130 public Builder setEndTimeUtcMillis(long endTimeUtcMillis) { 138 public Builder setDescription(String description) { 146 public Builder setLogoImageUri(String logoImageUri) { 154 public Builder setBackgroundImageUri(String backgroundImageUri) { 162 public Builder setImageUris(@Nullable BaseProgram program, @Nullable Channel channel) { 173 public Builder setImageUris(@Nullable String posterArtUri [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
CertificateChainCleanerTest.java | 32 HeldCertificate root = new HeldCertificate.Builder() 41 HeldCertificate root = new HeldCertificate.Builder() 54 HeldCertificate root = new HeldCertificate.Builder() 57 HeldCertificate certA = new HeldCertificate.Builder() 61 HeldCertificate certB = new HeldCertificate.Builder() 72 HeldCertificate root = new HeldCertificate.Builder() 75 HeldCertificate certA = new HeldCertificate.Builder() 79 HeldCertificate certB = new HeldCertificate.Builder() 90 HeldCertificate root = new HeldCertificate.Builder() 93 HeldCertificate certA = new HeldCertificate.Builder() [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/ |
CarMenu.java | 30 * Use the {@link Builder} to populate the contents of the sublevel. 196 * Builder to build an {@link Item}. Calls to the builder can be chained. 198 public static class Builder { 205 * Construct a Builder with a specific id. 210 public Builder(String id) { 212 throw new IllegalStateException("Cannot pass a null id to the Builder."); 223 public Builder setTitle(String title) { 232 * @return This {@link Builder} to chain calls 234 public Builder setText(String text) [all...] |
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 78 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); 80 CallInst *NewCI = Builder.CreateCall(FCache, Args); 171 IRBuilder<> Builder(IP); 176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 178 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 180 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); 184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), 186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 188 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 190 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24) [all...] |
/external/sfntly/cpp/src/sfntly/ |
font.cc | 214 * Font::Builder class 216 Font::Builder::~Builder() {} 218 CALLER_ATTACH Font::Builder* Font::Builder::GetOTFBuilder(FontFactory* factory, 220 FontBuilderPtr builder = new Builder(factory); local 221 builder->LoadFont(is); 222 return builder.Detach(); 225 CALLER_ATTACH Font::Builder* Font::Builder::GetOTFBuilder 229 FontBuilderPtr builder = new Builder(factory); local 236 FontBuilderPtr builder = new Builder(factory); local 292 TableBuilderPtr builder; local 307 TableBuilderPtr builder; local 353 TableBuilderPtr builder; local 408 Table::Builder* builder = GetBuilder(builder_map, tag); local [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
IntrinsicLowering.cpp | 78 IRBuilder<> Builder(CI->getParent(), CI); 80 CallInst *NewCI = Builder.CreateCall(FCache, Args); 171 IRBuilder<> Builder(IP->getParent(), IP); 176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 178 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 180 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); 184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), 186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), 188 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), 190 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24) [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
InstrumentConfig.java | 43 private InstrumentConfig(Builder builder) { 44 this.className = builder.className; 45 this.options = builder.optionsBuilder.build(); 79 static final class Builder { 81 private final ImmutableMap.Builder<String, String> optionsBuilder = ImmutableMap.builder(); 83 public Builder className(String className) { 88 public Builder instrumentClass(Class<?> insturmentClass) { 92 public Builder addOption(String option, String value) [all...] |
/external/sfntly/cpp/src/sfntly/table/core/ |
horizontal_header_table.h | 29 // Builder for a Horizontal Header table - 'hhea'. 30 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> { 34 Builder(Header* header, WritableFontData* data); 35 Builder(Header* header, ReadableFontData* data); 36 virtual ~Builder(); 39 static CALLER_ATTACH Builder* CreateBuilder(Header* header, 107 typedef Ptr<HorizontalHeaderTable::Builder> HorizontalHeaderTableBuilderPtr;
|
maximum_profile_table.h | 30 // Builder for a Maximum Profile table - 'maxp'. 31 class Builder : public TableBasedTableBuilder, public RefCounted<Builder> { 35 Builder(Header* header, WritableFontData* data); 36 Builder(Header* header, ReadableFontData* data); 37 virtual ~Builder(); 40 static CALLER_ATTACH Builder* CreateBuilder(Header* header, 116 typedef Ptr<MaximumProfileTable::Builder> MaximumProfileTableBuilderPtr;
|