/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
DynamicMessageTest.java | 62 Message.Builder builder = local 64 reflectionTester.setAllFieldsViaReflection(builder); 65 Message message = builder.build(); 70 Message.Builder builder = local 72 Message firstMessage = builder.build(); 74 builder.build(); 76 builder.clear(); 78 reflectionTester.setAllFieldsViaReflection(builder); 90 Message.Builder builder = local 110 Message.Builder builder = local 119 Message.Builder builder = local 127 Message.Builder builder = local 133 Message.Builder builder = local 142 Message.Builder builder = local 167 Message.Builder builder = local 182 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 211 Message.Builder builder = local 226 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); local 242 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 264 DynamicMessage.Builder builder = local 283 DynamicMessage.Builder builder = local 315 DynamicMessage.Builder builder = local [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderOperation.java | 60 * {@link Builder}. 62 private ContentProviderOperation(Builder builder) { 63 mType = builder.mType; 64 mUri = builder.mUri; 65 mValues = builder.mValues; 66 mSelection = builder.mSelection; 67 mSelectionArgs = builder.mSelectionArgs; 68 mExpectedCount = builder.mExpectedCount; 69 mSelectionArgsBackReferences = builder.mSelectionArgsBackReferences [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleTest.java | 50 Locale.Builder b = new Locale.Builder(); 270 Locale.Builder b = new Locale.Builder(); 276 b = new Locale.Builder(); 302 b = new Locale.Builder(); 307 b = new Locale.Builder(); 314 Locale.Builder b = new Locale.Builder(); 320 b = new Locale.Builder(); [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopyToTest.java | 44 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8(mRS)); 81 Type.Builder typeBuilder = new Type.Builder(mRS, element); 129 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); 166 Type.Builder typeBuilder = new Type.Builder(mRS, Element.F32(mRS)); 203 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I64(mRS)) [all...] |
/external/flatbuffers/tests/MyGame/Example/ |
Monster.go | 422 func MonsterStart(builder *flatbuffers.Builder) { 423 builder.StartObject(29) 425 func MonsterAddPos(builder *flatbuffers.Builder, pos flatbuffers.UOffsetT) { 426 builder.PrependStructSlot(0, flatbuffers.UOffsetT(pos), 0) 428 func MonsterAddMana(builder *flatbuffers.Builder, mana int16) { 429 builder.PrependInt16Slot(1, mana, 150) 431 func MonsterAddHp(builder *flatbuffers.Builder, hp int16) [all...] |
Stat.go | 61 func StatStart(builder *flatbuffers.Builder) { 62 builder.StartObject(3) 64 func StatAddId(builder *flatbuffers.Builder, id flatbuffers.UOffsetT) { 65 builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(id), 0) 67 func StatAddVal(builder *flatbuffers.Builder, val int64) { 68 builder.PrependInt64Slot(1, val, 0) 70 func StatAddCount(builder *flatbuffers.Builder, count uint16) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAndOrXor.cpp | 72 InstCombiner::BuilderTy *Builder) { 76 return Builder->CreateICmp(NewPred, LHS, RHS); 82 InstCombiner::BuilderTy *Builder) { 90 return Builder->CreateFCmp(Pred, LHS, RHS); 130 Builder->getInt(ConstLHS->getValue().byteSwap()); 133 Builder->getInt(ConstRHS->getValue().byteSwap()); 137 BinOp = Builder->CreateAnd(NewLHS, NewRHS); 139 BinOp = Builder->CreateOr(NewLHS, NewRHS); 141 BinOp = Builder->CreateXor(NewLHS, NewRHS); 144 return Builder->CreateCall(F, BinOp) [all...] |
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | 87 VoidPtrAddr = CGF.Builder.CreateConstGEP1_64( 89 auto Addr = CGF.Builder.CreatePointerBitCastOrAddrSpaceCast( 91 CGF.Builder.getIntNTy(AtomicSizeInBits)->getPointerTo(), 204 addr = CGF.Builder.CreateStructGEP(addr, 0, CharUnits()); 298 return CGF.Builder.CreatePointerBitCastOrAddrSpaceCast( 350 CGF.Builder.CreateMemSet( 364 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1); 365 llvm::Value *Desired = CGF.Builder.CreateLoad(Val2); 367 llvm::AtomicCmpXchgInst *Pair = CGF.Builder.CreateAtomicCmpXchg( 374 llvm::Value *Old = CGF.Builder.CreateExtractValue(Pair, 0) [all...] |
ObjectFilePCHContainerOperations.cpp | 57 std::unique_ptr<CodeGen::CodeGenModule> Builder; 168 Builder.reset(new CodeGen::CodeGenModule( 172 auto *DI = Builder->getModuleDebugInfo(); 185 DebugTypeVisitor DTV(*Builder->getModuleDebugInfo(), *Ctx); 215 DebugTypeVisitor DTV(*Builder->getModuleDebugInfo(), *Ctx); 217 Builder->UpdateCompletedType(D); 225 Builder->getModuleDebugInfo()->completeRequiredType(RD); 230 assert(M && VMContext && Builder); 234 std::unique_ptr<CodeGen::CodeGenModule> Builder = std::move(this->Builder); [all...] |
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/ |
MainActivity.java | 120 Type.Builder typeI8Builder = new Type.Builder(mRS, Element.I8(mRS)); 134 Type.Builder typeI16_2Builder = new Type.Builder(mRS, Element.I16_2(mRS)); 148 Type.Builder typeI32_3Builder = new Type.Builder(mRS, Element.I32_3(mRS)); 161 Type.Builder typeI64_4Builder = new Type.Builder(mRS, Element.I64_4(mRS)); 217 Type.Builder typeU8_2Builder = new Type.Builder(mRS, Element.U8_2(mRS)) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
PopupMenuTest.java | 61 private Builder mBuilder; 109 mBuilder = new Builder().inflateWithInflater(true); 118 mBuilder = new Builder().inflateWithInflater(false); 127 mBuilder = new Builder(); 137 mBuilder = new Builder().withGravity(Gravity.TOP); 145 mBuilder = new Builder().withDismissListener(); 167 mBuilder = new Builder().withDismissListener() 198 mBuilder = new Builder().withDismissListener() 220 mBuilder = new Builder().withMenuItemClickListener().withDismissListener(); 243 mBuilder = new Builder().withDismissListener().withMenuItemClickListener( [all...] |
ListPopupWindowTest.java | 77 private Builder mPopupWindowBuilder; 145 mPopupWindowBuilder = new Builder(); 159 mPopupWindowBuilder = new Builder(); 174 mPopupWindowBuilder = new Builder(); 216 mPopupWindowBuilder = new Builder().ignoreContentWidth(); 278 mPopupWindowBuilder = new Builder(); 290 mPopupWindowBuilder = new Builder().withHorizontalOffset(50); 302 mPopupWindowBuilder = new Builder().withVerticalOffset(60); 314 mPopupWindowBuilder = new Builder().withDropDownGravity(Gravity.RIGHT); 326 mPopupWindowBuilder = new Builder().withDropDownGravity(Gravity.END) [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
AppsAsyncLoader.java | 131 new PackageInfo.Builder() 206 public static class Builder { 215 public Builder(Context context) { 219 public Builder setUid(int uid) { 224 public Builder setUuid(String uuid) { 229 public Builder setStorageStatsSource(StorageStatsSource storageStatsSource) { 234 public Builder setPackageManager(PackageManagerWrapper packageManager) { 239 public Builder setUsageStatsManager(UsageStatsManager usageStatsManager) { 244 public Builder setFilter(AppFilter filter) { 447 public static class Builder { [all...] |
/cts/libs/vogar-expect/src/vogar/commands/ |
Command.java | 68 private Command(Builder builder) { 69 this.args = new ArrayList<String>(builder.args); 70 this.env = builder.env; 71 this.workingDirectory = builder.workingDirectory; 72 this.permitNonZeroExitStatus = builder.permitNonZeroExitStatus; 73 this.tee = builder.tee; 74 if (builder.maxLength != -1) { 76 if (string.length() > builder.maxLength) { 77 throw new IllegalStateException("Maximum command length " + builder.maxLengt [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
SessionLifecycleTest.java | 111 ManualAuthenticationActivity.setResponse(new CannedFillResponse.Builder() 112 .addDataset(new CannedFillResponse.CannedDataset.Builder() 118 CannedFillResponse response = new CannedFillResponse.Builder() 217 CannedFillResponse response = new CannedFillResponse.Builder() 258 CannedFillResponse response = new CannedFillResponse.Builder() 259 .addDataset(new CannedFillResponse.CannedDataset.Builder( 304 CannedFillResponse response = new CannedFillResponse.Builder() 305 .addDataset(new CannedFillResponse.CannedDataset.Builder( 324 response = new CannedFillResponse.Builder() 325 .addDataset(new CannedFillResponse.CannedDataset.Builder( [all...] |
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
TableInFirstNS.go | 67 func TableInFirstNSStart(builder *flatbuffers.Builder) { 68 builder.StartObject(3) 70 func TableInFirstNSAddFooTable(builder *flatbuffers.Builder, fooTable flatbuffers.UOffsetT) { 71 builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(fooTable), 0) 73 func TableInFirstNSAddFooEnum(builder *flatbuffers.Builder, fooEnum int8) { 74 builder.PrependInt8Slot(1, fooEnum, 0) 76 func TableInFirstNSAddFooStruct(builder *flatbuffers.Builder, fooStruct flatbuffers.UOffsetT) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/ |
SpoofCheckerTest.java | 73 SpoofChecker sc = new SpoofChecker.Builder().build(); 98 rsc = new SpoofChecker.Builder().setData(confusables).build(); 115 SpoofChecker defaultChecker = new SpoofChecker.Builder().build(); 119 SpoofChecker optionChecker = new SpoofChecker.Builder(). 127 // Verify that re-using a builder doesn't alter SpoofCheckers that were 128 // previously created by that builder. (The builder could modify data 131 SpoofChecker.Builder builder = new SpoofChecker.Builder(); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/ |
SpoofCheckerTest.java | 72 SpoofChecker sc = new SpoofChecker.Builder().build(); 97 rsc = new SpoofChecker.Builder().setData(confusables).build(); 114 SpoofChecker defaultChecker = new SpoofChecker.Builder().build(); 118 SpoofChecker optionChecker = new SpoofChecker.Builder(). 126 // Verify that re-using a builder doesn't alter SpoofCheckers that were 127 // previously created by that builder. (The builder could modify data 130 SpoofChecker.Builder builder = new SpoofChecker.Builder(); local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
CacheControlTest.java | 30 CacheControl cacheControl = new CacheControl.Builder().build(); 46 CacheControl cacheControl = new CacheControl.Builder() 73 new Headers.Builder().set("Cache-Control", "").build()); 90 CacheControl cacheControl = CacheControl.parse(new Headers.Builder() 110 CacheControl cacheControl = CacheControl.parse(new Headers.Builder() 161 CacheControl cacheControl = new CacheControl.Builder() 172 CacheControl cacheControl = new CacheControl.Builder() 179 CacheControl.Builder builder = new CacheControl.Builder(); local [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ProgramVertexFixedFunction.java | 72 * the builder 110 public static class Builder { 117 * Creates a builder for fixed function vertex program 121 public Builder(RenderScript rs) { 131 public Builder setTextureMatrixEnable(boolean enable) { 136 Element.Builder b = new Element.Builder(rs); 142 Type.Builder typeBuilder = new Type.Builder(rs, b.create()); 169 * the builder [all...] |
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
MusicProvider.java | 161 Uri.Builder pianoBuilder = new Uri.Builder(); 172 Uri.Builder voiceBuilder = new Uri.Builder(); 193 Uri.Builder builder = new Uri.Builder(); local 194 builder.authority(BrowserService.AUTHORITY); 195 builder.appendPath(BrowserService.NOW_PLAYING_PATH); 196 builder.appendPath(musicTrack.getTitle()) 218 Uri.Builder builder = new Uri.Builder(); local 243 Uri.Builder builder = new Uri.Builder(); local [all...] |
/frameworks/support/v7/palette/tests/java/android/support/v7/graphics/ |
BucketTests.java | 75 Palette.Builder b = new Palette.Builder(sample); 85 Palette.Builder b = new Palette.Builder(sample); 95 Palette.Builder b = new Palette.Builder(sample); 106 Palette.Builder b = new Palette.Builder(bitmap); 115 Palette.Builder b = new Palette.Builder(bitmap) [all...] |
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorCallLog.java | 36 private static final CallEntry.Builder[] SIMPLE_CALL_LOG = { 37 CallEntry.builder().setType(Calls.MISSED_TYPE).setNumber("+1-302-6365454"), 38 CallEntry.builder() 42 CallEntry.builder().setType(Calls.REJECTED_TYPE).setNumber("+1-302-6365454"), 43 CallEntry.builder().setType(Calls.INCOMING_TYPE).setNumber("+1-302-6365454"), 44 CallEntry.builder() 48 CallEntry.builder().setType(Calls.OUTGOING_TYPE).setNumber("+1-302-6365454"), 49 CallEntry.builder().setType(Calls.BLOCKED_TYPE).setNumber("+1-302-6365454"), 50 CallEntry.builder().setType(Calls.OUTGOING_TYPE).setNumber("(425) 739-5600"), 51 CallEntry.builder().setType(Calls.ANSWERED_EXTERNALLY_TYPE).setNumber("(425) 739-5600") 110 static Builder builder() { method in class:SimulatorCallLog.CallEntry [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
RecordedProgram.java | 89 Builder builder = builder() local 121 if (Utils.isInBundledPackageSet(builder.mPackageName)) { 122 InternalDataUtils.deserializeInternalProviderData(cursor.getBlob(index), builder); local 124 return builder.build(); 184 public static class Builder{ 218 public Builder setId(long id) { 223 public Builder setPackageName(String packageName) { 228 public Builder setInputId(String inputId) 423 public static Builder builder() { return new Builder(); } method in class:RecordedProgram [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Conversation.java | 383 public static class Builder { 408 public Builder setId(long id) { 413 public Builder setUri(Uri uri) { 418 public Builder setSubject(String subject) { 423 public Builder setDateMs(long dateMs) { 428 public Builder setHasAttachments(boolean hasAttachments) { 433 public Builder setMessageListUri(Uri messageListUri) { 438 public Builder setSendingState(int sendingState) { 443 public Builder setPriority(int priority) { 448 public Builder setRead(boolean read) [all...] |