/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 25 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED; 31 import android.car.drivingstate.CarUxRestrictionsConfiguration.Builder; 55 new Builder().build(); in testConstruction() 57 new Builder() in testConstruction() 61 new Builder() in testConstruction() 65 new Builder() in testConstruction() 69 new Builder() in testConstruction() 73 .setSpeedRange(new Builder.SpeedRange(0f, MAX_SPEED))) in testConstruction() 76 new Builder() in testConstruction() 80 .setSpeedRange(new Builder.SpeedRange(0f, 1f))) in testConstruction() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | PrimaryCallState.java | 114 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 …]
|
D | PrimaryInfo.java | 77 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/apps/Dialer/java/com/android/bubble/ |
D | BubbleInfo.java | 47 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/ |
D | SpeedDialEntry.java | 57 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/ |
D | RecordedProgram.java | 89 Builder builder = in fromCursor() 202 @AutoValue.Builder 203 public abstract static class Builder { class in RecordedProgram 205 public abstract Builder setId(long id); in setId() 207 public abstract Builder setPackageName(String packageName); in setPackageName() 211 public abstract Builder setInputId(String inputId); in setInputId() 213 public abstract Builder setChannelId(long channelId); in setChannelId() 217 public abstract Builder setTitle(String title); in setTitle() 221 public abstract Builder setSeriesId(String seriesId); in setSeriesId() 223 public abstract Builder setSeasonNumber(String seasonNumber); in setSeasonNumber() [all …]
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | CustomSliceRegistry.java | 60 public static final Uri AIRPLANE_URI = new Uri.Builder() 70 public static final Uri BATTERY_FIX_SLICE_URI = new Uri.Builder() 80 public static final Uri BLUETOOTH_URI = new Uri.Builder() 90 public static final Uri BLUETOOTH_DEVICES_SLICE_URI = new Uri.Builder() 100 public static final Uri CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI = new Uri.Builder() 110 public static final Uri CONTEXTUAL_WIFI_SLICE_URI = new Uri.Builder() 120 public static final Uri DATA_USAGE_SLICE_URI = new Uri.Builder() 129 public static final Uri DEVICE_INFO_SLICE_URI = new Uri.Builder() 138 public static final Uri EMERGENCY_INFO_SLICE_URI = new Uri.Builder() 147 public static final Uri ENHANCED_4G_SLICE_URI = new Uri.Builder() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | CustomSliceRegistry.java | 61 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/ |
D | TestEvents.java | 107 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/ |
D | ProvisioningParams.java | 286 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 …]
|
D | WifiInfo.java | 164 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/ |
D | ContextualCard.java | 52 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/ |
D | Cp2Contact.java | 60 @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/ |
D | ChannelInfo.java | 72 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/ |
D | CallIntent.java | 69 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/ |
D | ContextualCard.java | 52 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/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 122 .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/Dialer/java/com/android/dialer/preferredsim/ |
D | PreferredAccountWorker.java | 47 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 …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexData.java | 71 private IndexData(Builder builder) { in IndexData() 152 public static class Builder { class in IndexData 180 public Builder setTitle(String title) { in setTitle() 189 public Builder setSummaryOn(String summaryOn) { in setSummaryOn() 194 public Builder setEntries(String entries) { in setEntries() 199 public Builder setClassName(String className) { in setClassName() 204 public Builder setChildClassName(String childClassName) { in setChildClassName() 209 public Builder setScreenTitle(String screenTitle) { in setScreenTitle() 214 public Builder setPackageName(String packageName) { in setPackageName() 219 public Builder setAuthority(String authority) { in setAuthority() [all …]
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/logging/ |
D | ContextualCardLogUtils.java | 49 public CardLog(Builder builder) { in CardLog() 62 public static class Builder { class in ContextualCardLogUtils.CardLog 66 public Builder setSliceUri(String sliceUri) { in setSliceUri() 71 public Builder setRankingScore(double rankingScore) { in setRankingScore() 89 public CardClickLog(Builder builder) { in CardClickLog() 108 public static class Builder extends CardLog.Builder { class in ContextualCardLogUtils.CardClickLog 113 public Builder setSliceRow(int sliceRow) { in setSliceRow() 118 public Builder setSliceTapTarget(int sliceTapTarget) { in setSliceTapTarget() 123 public Builder setUiPosition(int uiPosition) { in setUiPosition() 163 final CardClickLog.Builder builder = new CardClickLog.Builder(); in parseCardClickLog() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | Voicemail.java | 70 public static Builder createForInsertion(long timestamp, String number) { in createForInsertion() 71 return new Builder().setNumber(number).setTimestamp(timestamp); in createForInsertion() 80 public static Builder createForUpdate(long id, String sourceData) { in createForUpdate() 81 return new Builder().setId(id).setSourceData(sourceData); in createForUpdate() 90 public static class Builder { class in Voicemail 105 private Builder() {} in Builder() method in Voicemail.Builder 107 public Builder setNumber(String number) { in setNumber() 112 public Builder setTimestamp(long timestamp) { in setTimestamp() 117 public Builder setPhoneAccount(PhoneAccountHandle phoneAccount) { in setPhoneAccount() 122 public Builder setId(long id) { in setId() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/logging/ |
D | ContextualCardLogUtils.java | 49 public CardLog(Builder builder) { in CardLog() 62 public static class Builder { class in ContextualCardLogUtils.CardLog 66 public Builder setSliceUri(String sliceUri) { in setSliceUri() 71 public Builder setRankingScore(double rankingScore) { in setRankingScore() 89 public CardClickLog(Builder builder) { in CardClickLog() 108 public static class Builder extends CardLog.Builder { class in ContextualCardLogUtils.CardClickLog 113 public Builder setSliceRow(int sliceRow) { in setSliceRow() 118 public Builder setSliceTapTarget(int sliceTapTarget) { in setSliceTapTarget() 123 public Builder setUiPosition(int uiPosition) { in setUiPosition() 163 final CardClickLog.Builder builder = new CardClickLog.Builder(); in parseCardClickLog() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataTest.java | 45 SliceData.Builder builder = new SliceData.Builder() in testBuilder_buildsMatchingObject() 77 new SliceData.Builder() in testBuilder_noKey_throwsIllegalStateException() 90 new SliceData.Builder() in testBuilder_noTitle_throwsIllegalStateException() 103 new SliceData.Builder() in testBuilder_noFragment_throwsIllegalStateException() 116 new SliceData.Builder() in testBuilder_noPrefController_throwsIllegalStateException() 129 SliceData.Builder builder = new SliceData.Builder() in testBuilder_noSubtitle_buildsMatchingObject() 152 SliceData.Builder builder = new SliceData.Builder() in testBuilder_noScreenTitle_buildsMatchingObject() 175 SliceData.Builder builder = new SliceData.Builder() in testBuilder_noIcon_buildsMatchingObject() 198 SliceData.Builder builder = new SliceData.Builder() in testBuilder_noUri_buildsMatchingObject() 222 SliceData.Builder builder = new SliceData.Builder() in testEquality_identicalObjects() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | LocationAccessPolicyTest.java | 50 static class Builder { class in LocationAccessPolicyTest.Scenario 61 public Builder setAppSdkLevel(int appSdkLevel) { in setAppSdkLevel() 66 public Builder setAppHasFineManifest(boolean appHasFineManifest) { in setAppHasFineManifest() 71 public Builder setAppHasCoarseManifest( in setAppHasCoarseManifest() 77 public Builder setFineAppOp(int fineAppOp) { in setFineAppOp() 82 public Builder setCoarseAppOp(int coarseAppOp) { in setCoarseAppOp() 87 public Builder setIsDynamicLocationEnabled( in setIsDynamicLocationEnabled() 93 public Builder setQuery( in setQuery() 99 public Builder setExpectedResult( in setExpectedResult() 105 public Builder setName(String name) { in setName() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemData.java | 180 public static class Builder { class in FilmstripItemData 196 public Builder(Uri uri) { in Builder() method in FilmstripItemData.Builder 216 public static Builder from(FilmstripItemData data) { in from() 217 Builder builder = new Builder(data.getUri()); in from() 231 public Builder withContentId(long contentId) { in withContentId() 236 public Builder withTitle(String title) { in withTitle() 241 public Builder withMimeType(String mimeType) { in withMimeType() 246 public Builder withCreationDate(Date creationDate) { in withCreationDate() 251 public Builder withLastModifiedDate(Date lastModifiedDate) { in withLastModifiedDate() 256 public Builder withFilePath(String filePath) { in withFilePath() [all …]
|