Home
last modified time | relevance | path

Searched refs:Builder (Results 1 – 25 of 1672) sorted by relevance

12345678910>>...67

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java26 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED;
31 import android.car.drivingstate.CarUxRestrictionsConfiguration.Builder;
61 new Builder().build(); in testConstruction()
63 new Builder() in testConstruction()
67 new Builder() in testConstruction()
71 new Builder() in testConstruction()
75 new Builder() in testConstruction()
79 .setSpeedRange(new Builder.SpeedRange(0f, MAX_SPEED))) in testConstruction()
82 new Builder() in testConstruction()
86 .setSpeedRange(new Builder.SpeedRange(0f, 1f))) in testConstruction()
[all …]
/packages/modules/IPsec/api/
Dsystem-lint-baseline.txt2 BuilderSetStyle: android.net.ipsec.ike.IkeSessionParams.Builder#removeIkeOption(int):
3Builder methods names should use setFoo() / addFoo() / clearFoo() style: method android.net.ipsec.…
16 MissingGetterMatchingBuilder: android.net.eap.EapSessionConfig.Builder#setEapMsChapV2Config(String,…
17 …sChapV2Config()` method matching method android.net.eap.EapSessionConfig.Builder.setEapMsChapV2Con…
18 MissingGetterMatchingBuilder: android.net.ipsec.ike.ChildSaProposal.Builder#addDhGroup(int):
19 …getDhGroups()` method matching method android.net.ipsec.ike.ChildSaProposal.Builder.addDhGroup(int)
20 MissingGetterMatchingBuilder: android.net.ipsec.ike.ChildSaProposal.Builder#addEncryptionAlgorithm(…
21 …gorithms()` method matching method android.net.ipsec.ike.ChildSaProposal.Builder.addEncryptionAlgo…
22 MissingGetterMatchingBuilder: android.net.ipsec.ike.ChildSaProposal.Builder#addIntegrityAlgorithm(i…
23 …gorithms()` method matching method android.net.ipsec.ike.ChildSaProposal.Builder.addIntegrityAlgor…
[all …]
Dsystem-current.txt12 public static final class EapSessionConfig.Builder {
13 ctor public EapSessionConfig.Builder();
15 method @NonNull public android.net.eap.EapSessionConfig.Builder setEapAkaConfig(int, int);
16 …method @NonNull public android.net.eap.EapSessionConfig.Builder setEapAkaPrimeConfig(int, int, @No…
17 method @NonNull public android.net.eap.EapSessionConfig.Builder setEapIdentity(@NonNull byte[]);
18 …method @NonNull public android.net.eap.EapSessionConfig.Builder setEapMsChapV2Config(@NonNull Stri…
19 method @NonNull public android.net.eap.EapSessionConfig.Builder setEapSimConfig(int, int);
54 public static final class ChildSaProposal.Builder {
55 ctor public ChildSaProposal.Builder();
56 method @NonNull public android.net.ipsec.ike.ChildSaProposal.Builder addDhGroup(int);
[all …]
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java114 public static Builder builder() { in builder()
115 return new AutoValue_PrimaryCallState.Builder() in builder()
138 @AutoValue.Builder
139 public abstract static class Builder { class in PrimaryCallState
140 public abstract Builder setState(int state); in setState()
142 public abstract Builder setIsVideoCall(boolean isVideoCall); in setIsVideoCall()
144 public abstract Builder setSessionModificationState( in setSessionModificationState()
147 public abstract Builder setDisconnectCause(DisconnectCause disconnectCause); in setDisconnectCause()
149 public abstract Builder setConnectionLabel(String connectionLabel); in setConnectionLabel()
151 public abstract Builder setSimSuggestionReason(SuggestionProvider.Reason reason); in setSimSuggestionReason()
[all …]
DPrimaryInfo.java77 public static Builder builder() { in builder()
78 return new AutoValue_PrimaryInfo.Builder(); in builder()
82 @AutoValue.Builder
83 public abstract static class Builder { class in PrimaryInfo
84 public abstract Builder setNumber(String number); in setNumber()
86 public abstract Builder setName(String name); in setName()
88 public abstract Builder setNameIsNumber(boolean nameIsNumber); in setNameIsNumber()
90 public abstract Builder setLabel(String label); in setLabel()
92 public abstract Builder setLocation(String location); in setLocation()
94 public abstract Builder setPhoto(Drawable photo); in setPhoto()
[all …]
/packages/modules/Cronet/api/
Dlint-baseline.txt14 BuilderSetStyle: org.chromium.net.CronetEngine.Builder#enableBrotli(boolean):
15Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
16 BuilderSetStyle: org.chromium.net.CronetEngine.Builder#enableHttp2(boolean):
17Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
18 BuilderSetStyle: org.chromium.net.CronetEngine.Builder#enableHttpCache(int, long):
19Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
20 BuilderSetStyle: org.chromium.net.CronetEngine.Builder#enablePublicKeyPinningBypassForLocalTrustAnc…
21Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
22 BuilderSetStyle: org.chromium.net.CronetEngine.Builder#enableQuic(boolean):
23Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageDescriptorTest.java40 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_encodingConstants()
56 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_encodingObject()
71 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_proprietaryEncoding()
87 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_transformationConstantStretch()
103 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_transformationConstantCrop()
119 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_transformationConstantFill()
135 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_transformationConstantCropThenFill()
151 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_noSize()
165 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_useMaxSize()
181 BipImageDescriptor.Builder builder = new BipImageDescriptor.Builder(); in testBuildImageDescriptor_allButSize()
[all …]
/packages/apps/Dialer/java/com/android/bubble/
DBubbleInfo.java47 public static Builder builder() { in builder()
48 return new AutoValue_BubbleInfo.Builder().setActions(Collections.emptyList()); in builder()
51 public static Builder from(@NonNull BubbleInfo bubbleInfo) { in from()
61 @AutoValue.Builder
62 public abstract static class Builder { class in BubbleInfo
64 public abstract Builder setPrimaryColor(@ColorInt int primaryColor); in setPrimaryColor()
66 public abstract Builder setPrimaryIcon(@NonNull Icon primaryIcon); in setPrimaryIcon()
68 public abstract Builder setAvatar(@Nullable Drawable avatar); in setAvatar()
70 public abstract Builder setStartingYPosition(@Px int startingYPosition); in setStartingYPosition()
72 public abstract Builder setActions(List<Action> actions); in setActions()
[all …]
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntry.java57 public abstract Builder toBuilder(); in toBuilder()
59 public static Builder builder() { in builder()
60 return new AutoValue_SpeedDialEntry.Builder().setPinnedPosition(Optional.absent()); in builder()
64 @AutoValue.Builder
65 public abstract static class Builder { class in SpeedDialEntry
67 public abstract Builder setId(Long id); in setId()
69 public abstract Builder setPinnedPosition(Optional<Integer> pinnedPosition); in setPinnedPosition()
71 public abstract Builder setContactId(long contactId); in setContactId()
73 public abstract Builder setLookupKey(String lookupKey); in setLookupKey()
75 public abstract Builder setDefaultChannel(@Nullable Channel defaultChannel); in setDefaultChannel()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java90 Builder builder = in fromCursor()
203 @AutoValue.Builder
204 public abstract static class Builder { class in RecordedProgram
206 public abstract Builder setId(long id); in setId()
208 public abstract Builder setPackageName(String packageName); in setPackageName()
212 public abstract Builder setInputId(String inputId); in setInputId()
214 public abstract Builder setChannelId(long channelId); in setChannelId()
218 public abstract Builder setTitle(String title); in setTitle()
222 public abstract Builder setSeriesId(String seriesId); in setSeriesId()
224 public abstract Builder setSeasonNumber(String seasonNumber); in setSeasonNumber()
[all …]
/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java64 public static final Uri AIRPLANE_URI = new Uri.Builder()
74 public static final Uri CONTEXTUAL_ADAPTIVE_SLEEP_URI = new Uri.Builder()
84 public static final Uri BATTERY_FIX_SLICE_URI = new Uri.Builder()
94 public static final Uri BLUETOOTH_URI = new Uri.Builder()
104 public static final Uri BLUETOOTH_DEVICES_SLICE_URI = new Uri.Builder()
114 public static final Uri CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI = new Uri.Builder()
124 public static final Uri CONTEXTUAL_WIFI_SLICE_URI = new Uri.Builder()
134 public static final Uri DATA_USAGE_SLICE_URI = new Uri.Builder()
143 public static final Uri DEVICE_INFO_SLICE_URI = new Uri.Builder()
152 public static final Uri EMERGENCY_INFO_SLICE_URI = new Uri.Builder()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DCustomSliceRegistry.java61 public static final Uri AIRPLANE_URI = new Uri.Builder()
71 public static final Uri BATTERY_FIX_SLICE_URI = new Uri.Builder()
81 public static final Uri BLUETOOTH_URI = new Uri.Builder()
91 public static final Uri BLUETOOTH_DEVICES_SLICE_URI = new Uri.Builder()
101 public static final Uri CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI = new Uri.Builder()
111 public static final Uri CONTEXTUAL_WIFI_SLICE_URI = new Uri.Builder()
121 public static final Uri DATA_USAGE_SLICE_URI = new Uri.Builder()
130 public static final Uri DEVICE_INFO_SLICE_URI = new Uri.Builder()
139 public static final Uri EMERGENCY_INFO_SLICE_URI = new Uri.Builder()
148 public static final Uri ENHANCED_4G_SLICE_URI = new Uri.Builder()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvents.java107 public static final Builder builder() { in builder()
108 return new Builder(); in builder()
114 public static final class Builder { class in TestEvents
122 public Builder action(int action) { in action()
127 public Builder type(@ToolType int type) { in type()
132 public Builder location(int x, int y) { in location()
137 public Builder rawLocation(int x, int y) { in rawLocation()
142 public Builder pointerCount(int count) { in pointerCount()
150 public Builder pressButton(@Button int... buttons) { in pressButton()
160 public Builder releaseButton(@Button int... buttons) { in releaseButton()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java286 private ProvisioningParams(Builder builder) { in ProvisioningParams()
380 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { in createBuilderFromPersistableBundle()
381 Builder builder = new Builder(); in createBuilderFromPersistableBundle()
428 public Builder toBuilder() { in toBuilder()
509 return new Builder().build(); in load()
512 public final static class Builder { class in ProvisioningParams
543 public Builder setProvisioningId(long provisioningId) { in setProvisioningId()
548 public Builder setTimeZone(String timeZone) { in setTimeZone()
553 public Builder setLocalTime(long localTime) { in setLocalTime()
558 public Builder setLocale(Locale locale) { in setLocale()
[all …]
DWifiInfo.java164 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { in createBuilderFromPersistableBundle()
165 Builder builder = new Builder(); in createBuilderFromPersistableBundle()
184 private WifiInfo(Builder builder) { in WifiInfo()
215 public final static class Builder { class in WifiInfo
232 public Builder setSsid(String ssid) { in setSsid()
237 public Builder setHidden(boolean hidden) { in setHidden()
242 public Builder setSecurityType(String securityType) { in setSecurityType()
247 public Builder setPassword(String password) { in setPassword()
252 public Builder setEapMethod(String eapMethod) { in setEapMethod()
257 public Builder setPhase2Auth(String phase2Auth) { in setPhase2Auth()
[all …]
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCard.java52 private final Builder mBuilder;
169 public Builder mutate() { in mutate()
173 public ContextualCard(Builder builder) { in ContextualCard()
199 mBuilder = new Builder(); in ContextualCard()
275 public static class Builder { class in ContextualCard
299 public Builder setName(String name) { in setName()
304 public Builder setCardType(int cardType) { in setCardType()
309 public Builder setRankingScore(double rankingScore) { in setRankingScore()
314 public Builder setSliceUri(Uri sliceUri) { in setSliceUri()
319 public Builder setCategory(int category) { in setCategory()
[all …]
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DCp2Contact.java60 @AutoValue.Builder
61 public abstract static class Builder { class in Cp2Contact
62 public abstract Builder setPhoneId(long id); in setPhoneId()
64 public abstract Builder setPhoneType(int type); in setPhoneType()
66 public abstract Builder setPhoneLabel(@Nullable String label); in setPhoneLabel()
68 public abstract Builder setPhoneNumber(String number); in setPhoneNumber()
70 public abstract Builder setDisplayName(@Nullable String name); in setDisplayName()
72 public abstract Builder setPhotoId(int id); in setPhotoId()
74 public abstract Builder setPhotoUri(@Nullable String uri); in setPhotoUri()
76 public abstract Builder setLookupKey(String lookupKey); in setLookupKey()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DChannelInfo.java72 Builder builder = in create()
73 new Builder() in create()
86 return new Uri.Builder() in getUriStringForChannelLogo()
97 Builder builder = new Builder(); in fromCursor()
218 public static class Builder { class in ChannelInfo
236 public Builder() {} in Builder() method in ChannelInfo.Builder
238 public Builder(ChannelInfo other) { in Builder() method in ChannelInfo.Builder
252 public Builder setName(String name) { in setName()
257 public Builder setNumber(String number) { in setNumber()
262 public Builder setLogoUrl(String logoUrl) { in setLogoUrl()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callintent/
DCallIntent.java69 public static Builder builder() { in builder()
70 return new AutoValue_CallIntent.Builder().setIsVideoCall(false).setAllowAssistedDial(false); in builder()
73 public abstract Builder toBuilder(); in toBuilder()
76 @AutoValue.Builder
77 public abstract static class Builder { class in CallIntent
78 public Builder setTelNumber(String number) { in setTelNumber()
82 public Builder setVoicemailNumber(@Nullable PhoneAccountHandle phoneAccountHandle) { in setVoicemailNumber()
87 public abstract Builder setNumber(@NonNull Uri number); in setNumber()
89 public Builder setCallInitiationType(CallInitiationType.Type callInitiationType) { in setCallInitiationType()
96 public abstract Builder setCallSpecificAppData( in setCallSpecificAppData()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCard.java52 private final Builder mBuilder;
164 public Builder mutate() { in mutate()
168 public ContextualCard(Builder builder) { in ContextualCard()
193 mBuilder = new Builder(); in ContextualCard()
267 public static class Builder { class in ContextualCard
290 public Builder setName(String name) { in setName()
295 public Builder setCardType(int cardType) { in setCardType()
300 public Builder setRankingScore(double rankingScore) { in setRankingScore()
305 public Builder setSliceUri(Uri sliceUri) { in setSliceUri()
310 public Builder setCategory(int category) { in setCategory()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeTransitionTests.java214 new MessageArgs.Builder() in generateTestCases()
233 new MessageArgs.Builder() in generateTestCases()
252 new MessageArgs.Builder() in generateTestCases()
271 new MessageArgs.Builder() in generateTestCases()
290 new MessageArgs.Builder() in generateTestCases()
309 new MessageArgs.Builder() in generateTestCases()
328 new MessageArgs.Builder() in generateTestCases()
347 new MessageArgs.Builder() in generateTestCases()
366 new MessageArgs.Builder() in generateTestCases()
385 new MessageArgs.Builder() in generateTestCases()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java122 .Builder(mContext, IMPORTANCE_HIGH_ID) in initCarCategoriesButton()
134 .Builder(mContext, IMPORTANCE_HIGH_ID) in initCarCategoriesButton()
149 .Builder(mContext, IMPORTANCE_DEFAULT_ID) in initCarCategoriesButton()
167 .Builder(mContext, IMPORTANCE_HIGH_ID) in initImportanceHighBotton()
176 new Notification.Action.Builder( in initImportanceHighBotton()
179 new Notification.Action.Builder( in initImportanceHighBotton()
182 new Notification.Action.Builder( in initImportanceHighBotton()
195 .Builder(mContext, IMPORTANCE_DEFAULT_ID) in initImportanceDefaultButton()
206 Notification notification = new Notification.Builder(mContext, IMPORTANCE_LOW_ID) in initImportanceLowButton()
218 Notification notification = new Notification.Builder(mContext, IMPORTANCE_MIN_ID) in initImportanceMinButton()
[all …]
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DMenuItem.java75 private MenuItem(Builder builder) { in MenuItem()
309 public static final class Builder { class in MenuItem
335 public Builder(Context c) { in Builder() method in MenuItem.Builder
380 public Builder setId(int id) { in setId()
386 public Builder setTitle(int resId) { in setTitle()
392 public Builder setTitle(CharSequence title) { in setTitle()
402 public Builder setIcon(int resId) { in setIcon()
414 public Builder setIcon(Drawable icon) { in setIcon()
425 public Builder setTinted(boolean tinted) { in setTinted()
431 public Builder setVisible(boolean visible) { in setVisible()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItem.java185 MediaMetadataCompat.Builder metaDataBuilder = new MediaMetadataCompat.Builder(); in toMediaMetadata()
210 MediaDescriptionCompat.Builder descriptionBuilder = new MediaDescriptionCompat.Builder(); in toMediaItem()
277 public static class Builder { class in AvrcpItem
302 public Builder fromAvrcpAttributeArray(int[] attrIds, String[] attrMap) { in fromAvrcpAttributeArray()
356 public Builder setItemType(int itemType) { in setItemType()
369 public Builder setType(int type) { in setType()
380 public Builder setDevice(BluetoothDevice device) { in setDevice()
391 public Builder setPlayable(boolean playable) { in setPlayable()
402 public Builder setBrowsable(boolean browsable) { in setBrowsable()
413 public Builder setUid(long uid) { in setUid()
[all …]
/packages/apps/Dialer/java/com/android/dialer/preferredsim/
DPreferredAccountWorker.java47 public abstract Optional<SelectPhoneAccountDialogOptions.Builder> getDialogOptionsBuilder(); in getDialogOptionsBuilder()
57 public static Builder builder(PhoneAccountHandle selectedPhoneAccountHandle) { in builder()
58 return new AutoValue_PreferredAccountWorker_Result.Builder() in builder()
62 public static Builder builder(SelectPhoneAccountDialogOptions.Builder optionsBuilder) { in builder()
63 return new AutoValue_PreferredAccountWorker_Result.Builder() in builder()
68 @AutoValue.Builder
69 public abstract static class Builder { class in PreferredAccountWorker.Result
71 abstract Builder setSelectedPhoneAccountHandle(PhoneAccountHandle phoneAccountHandle); in setSelectedPhoneAccountHandle()
73 public abstract Builder setDataId(String dataId); in setDataId()
75 abstract Builder setDialogOptionsBuilder( in setDialogOptionsBuilder()
[all …]

12345678910>>...67