Home
last modified time | relevance | path

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

12345678910>>...26

/packages/apps/TV/tests/common/src/com/android/tv/testing/
DChannelInfo.java79 Builder builder = new Builder() in create()
96 Builder builder = new Builder(); in fromCursor()
192 public static class Builder { class in ChannelInfo
210 public Builder() { in Builder() method in ChannelInfo.Builder
213 public Builder(ChannelInfo other) { in Builder() method in ChannelInfo.Builder
227 public Builder setName(String name) { in setName()
232 public Builder setNumber(String number) { in setNumber()
237 public Builder setLogoUrl(String logoUrl) { in setLogoUrl()
242 public Builder setOriginalNetworkId(int originalNetworkId) { in setOriginalNetworkId()
247 public Builder setVideoWidth(int videoWidth) { in setVideoWidth()
[all …]
DProgramInfo.java105 Builder builder = new Builder(); in fromCursor()
140 return new Builder().build(); in create()
242 public static class Builder { class in ProgramInfo
254 public Builder setTitle(String title) { in setTitle()
259 public Builder setEpisode(String episode) { in setEpisode()
264 public Builder setSeasonNumber(int seasonNumber) { in setSeasonNumber()
269 public Builder setEpisodeNumber(int episodeNumber) { in setEpisodeNumber()
274 public Builder setPosterArtUri(String posterArtUri) { in setPosterArtUri()
279 public Builder setDescription(String description) { in setDescription()
284 public Builder setDurationMs(long durationMs) { in setDurationMs()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordedProgram.java172 public static class Builder{ class in RecordedProgram
205 public Builder setId(long id) { in setId()
210 public Builder setInputId(String inputId) { in setInputId()
215 public Builder setChannelId(long channelId) { in setChannelId()
220 public Builder setTitle(String title) { in setTitle()
225 public Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber()
230 public Builder setSeasonTitle(String seasonTitle) { in setSeasonTitle()
235 public Builder setEpisodeNumber(String episodeNumber) { in setEpisodeNumber()
240 public Builder setEpisodeTitle(String episodeTitle) { in setEpisodeTitle()
245 public Builder setStartTimeUtcMillis(long startTimeUtcMillis) { in setStartTimeUtcMillis()
[all …]
DRecordingCapability.java137 public static Builder builder() { in builder()
138 return new Builder(); in builder()
141 public static final class Builder { class in RecordingCapability
148 public Builder setInputId(String inputId) { in setInputId()
153 public Builder setMaxConcurrentTunedSessions(int maxConcurrentTunedSessions) { in setMaxConcurrentTunedSessions()
158 public Builder setMaxConcurrentPlayingSessions(int maxConcurrentPlayingSessions) { in setMaxConcurrentPlayingSessions()
163 public Builder setMaxConcurrentSessionsOfAllTypes(int maxConcurrentSessionsOfAllTypes) { in setMaxConcurrentSessionsOfAllTypes()
168 public Builder setPlaybackWhileRecording(boolean playbackWhileRecording) { in setPlaybackWhileRecording()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java180 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 …]
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/
DCarMenu.java198 public static class Builder { class in CarMenu
210 public Builder(String id) { in Builder() method in CarMenu.Builder
223 public Builder setTitle(String title) { in setTitle()
234 public Builder setText(String text) { in setText()
245 public Builder setIcon(Bitmap bitmap) { in setIcon()
260 public Builder setIconFromSnapshot(Drawable drawable) { in setIconFromSnapshot()
271 public Builder setRightIcon(Bitmap bitmap) { in setRightIcon()
287 public Builder setRightIconFromSnapshot(Drawable drawable) { in setRightIconFromSnapshot()
299 public Builder setWidget(int widget) { in setWidget()
312 public Builder setWidgetState(boolean on) { in setWidgetState()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DAction.java64 public static class Builder { class in Action
96 public Builder key(String key) { in key()
101 public Builder title(String title) { in title()
106 public Builder description(String description) { in description()
111 public Builder intent(Intent intent) { in intent()
116 public Builder resourcePackageName(String resourcePackageName) { in resourcePackageName()
121 public Builder drawableResource(int drawableResource) { in drawableResource()
126 public Builder iconUri(Uri iconUri) { in iconUri()
131 public Builder checked(boolean checked) { in checked()
136 public Builder multilineDescription(boolean multilineDescription) { in multilineDescription()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/
DScheduledRecording.java77 public static Builder builder(Program p) { in builder()
78 return new Builder() in builder()
84 public static Builder builder(long startTime, long endTime) { in builder()
85 return new Builder() in builder()
91 public static final class Builder { class in ScheduledRecording
102 private Builder() { } in Builder() method in ScheduledRecording.Builder
104 public Builder setId(long id) { in setId()
109 public Builder setPriority(long priority) { in setPriority()
114 public Builder setChannelId(long channelId) { in setChannelId()
119 public Builder setProgramId(long programId) { in setProgramId()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java160 private ProvisioningParams(Builder builder) { in ProvisioningParams()
331 public final static class Builder { class in ProvisioningParams
348 public Builder setTimeZone(String timeZone) { in setTimeZone()
353 public Builder setLocalTime(long localTime) { in setLocalTime()
358 public Builder setLocale(Locale locale) { in setLocale()
363 public Builder setWifiInfo(WifiInfo wifiInfo) { in setWifiInfo()
369 public Builder setDeviceAdminPackageName(String deviceAdminPackageName) { in setDeviceAdminPackageName()
374 public Builder setDeviceAdminComponentName(ComponentName deviceAdminComponentName) { in setDeviceAdminComponentName()
379 public Builder setAccountToMigrate(Account accountToMigrate) { in setAccountToMigrate()
384 public Builder setProvisioningAction(String provisioningAction) { in setProvisioningAction()
[all …]
DWifiInfo.java71 private WifiInfo(Builder builder) { in WifiInfo()
139 public final static class Builder { class in WifiInfo
149 public Builder setSsid(String ssid) { in setSsid()
154 public Builder setHidden(boolean hidden) { in setHidden()
159 public Builder setSecurityType(String securityType) { in setSecurityType()
164 public Builder setPassword(String password) { in setPassword()
169 public Builder setProxyHost(String proxyHost) { in setProxyHost()
174 public Builder setProxyPort(int proxyPort) { in setProxyPort()
179 public Builder setProxyBypassHosts(String proxyBypassHosts) { in setProxyBypassHosts()
184 public Builder setPacUrl(String pacUrl) { in setPacUrl()
[all …]
DPackageDownloadInfo.java79 private PackageDownloadInfo(Builder builder) { in PackageDownloadInfo()
144 public final static class Builder { class in PackageDownloadInfo
152 public Builder setLocation(String location) { in setLocation()
157 public Builder setCookieHeader(String cookieHeader) { in setCookieHeader()
162 public Builder setPackageChecksum(byte[] packageChecksum) { in setPackageChecksum()
167 public Builder setSignatureChecksum(byte[] signatureChecksum) { in setSignatureChecksum()
172 public Builder setMinVersion(int minVersion) { in setMinVersion()
178 public Builder setPackageChecksumSupportsSha1(boolean packageChecksumSupportsSha1) { in setPackageChecksumSupportsSha1()
187 public static Builder builder() { in builder()
188 return new Builder(); in builder()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DNotificationCompatUtils.java28 CompatUtils.getMethod(Notification.Builder.class, "setColor", int.class);
30 CompatUtils.getMethod(Notification.Builder.class, "setVisibility", int.class);
32 CompatUtils.getMethod(Notification.Builder.class, "setCategory", String.class);
34 CompatUtils.getMethod(Notification.Builder.class, "setPriority", int.class);
36 CompatUtils.getMethod(Notification.Builder.class, "build");
58 public static void setColor(final Notification.Builder builder, final int color) { in setColor()
62 public static void setVisibilityToSecret(final Notification.Builder builder) { in setVisibilityToSecret()
66 public static void setCategoryToRecommendation(final Notification.Builder builder) { in setCategoryToRecommendation()
70 public static void setPriorityToLow(final Notification.Builder builder) { in setPriorityToLow()
75 public static Notification build(final Notification.Builder builder) { in build()
/packages/apps/TV/src/com/android/tv/data/
DProgram.java91 Builder builder = new Builder(); in fromCursor()
347 public static final class Builder { class in Program
351 public Builder() { in Builder() method in Program.Builder
364 public Builder(Program other) { in Builder() method in Program.Builder
369 public Builder setId(long id) { in setId()
374 public Builder setChannelId(long channelId) { in setChannelId()
379 public Builder setTitle(String title) { in setTitle()
384 public Builder setEpisodeTitle(String episodeTitle) { in setEpisodeTitle()
389 public Builder setSeasonNumber(String seasonNumber) { in setSeasonNumber()
394 public Builder setSeasonTitle(String seasonTitle) { in setSeasonTitle()
[all …]
DChannel.java377 return new Builder() in createPassthroughChannel()
395 public static final class Builder { class in Channel
398 public Builder() { in Builder() method in Channel.Builder
413 public Builder(Channel other) { in Builder() method in Channel.Builder
419 public Builder setId(long id) { in setId()
425 public Builder setPackageName(String packageName) { in setPackageName()
430 public Builder setInputId(String inputId) { in setInputId()
435 public Builder setType(String type) { in setType()
441 public Builder setDisplayNumber(String displayNumber) { in setDisplayNumber()
447 public Builder setDisplayName(String displayName) { in setDisplayName()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DNfcDiscoveryParameters.java25 public static class Builder { class in NfcDiscoveryParameters
29 private Builder() { in Builder() method in NfcDiscoveryParameters.Builder
33 public NfcDiscoveryParameters.Builder setTechMask(int techMask) { in setTechMask()
38 public NfcDiscoveryParameters.Builder setEnableLowPowerDiscovery(boolean enable) { in setEnableLowPowerDiscovery()
43 public NfcDiscoveryParameters.Builder setEnableReaderMode(boolean enable) { in setEnableReaderMode()
53 public NfcDiscoveryParameters.Builder setEnableHostRouting(boolean enable) { in setEnableHostRouting()
58 public NfcDiscoveryParameters.Builder setEnableP2p(boolean enable) { in setEnableP2p()
140 public static NfcDiscoveryParameters.Builder newBuilder() { in newBuilder()
141 return new Builder(); in newBuilder()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java170 public static class Builder { class in ContentRatingSystem
177 private final List<Rating.Builder> mRatingBuilders = new ArrayList<>();
178 private final List<SubRating.Builder> mSubRatingBuilders = new ArrayList<>();
179 private final List<Order.Builder> mOrderBuilders = new ArrayList<>();
182 public Builder(Context context) { in Builder() method in ContentRatingSystem.Builder
209 public void addRatingBuilder(Rating.Builder ratingBuilder) { in addRatingBuilder()
218 public void addSubRatingBuilder(SubRating.Builder subRatingBuilder) { in addSubRatingBuilder()
223 public void addOrderBuilder(Order.Builder orderBuilder) { in addOrderBuilder()
268 for (SubRating.Builder builder : mSubRatingBuilders) { in build()
278 for (Rating.Builder builder : mRatingBuilders) { in build()
[all …]
DContentRatingsParser.java179 ContentRatingSystem.Builder builder = new ContentRatingSystem.Builder(mContext); in parseRatingSystemDefinition()
239 private Rating.Builder parseRatingDefinition(XmlResourceParser parser) in parseRatingDefinition()
241 Rating.Builder builder = new Rating.Builder(); in parseRatingDefinition()
301 private SubRating.Builder parseSubRatingDefinition(XmlResourceParser parser) in parseSubRatingDefinition()
303 SubRating.Builder builder = new SubRating.Builder(); in parseSubRatingDefinition()
346 private Order.Builder parseOrder(XmlResourceParser parser) in parseOrder()
348 Order.Builder builder = new Order.Builder(); in parseOrder()
373 private Order.Builder parseRating(XmlResourceParser parser, Order.Builder builder) in parseRating()
400 private Rating.Builder parseSubRating(XmlResourceParser parser, Rating.Builder builder) in parseSubRating()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DConversation.java383 public static class Builder { class in Conversation
408 public Builder setId(long id) { in setId()
413 public Builder setUri(Uri uri) { in setUri()
418 public Builder setSubject(String subject) { in setSubject()
423 public Builder setDateMs(long dateMs) { in setDateMs()
428 public Builder setHasAttachments(boolean hasAttachments) { in setHasAttachments()
433 public Builder setMessageListUri(Uri messageListUri) { in setMessageListUri()
438 public Builder setSendingState(int sendingState) { in setSendingState()
443 public Builder setPriority(int priority) { in setPriority()
448 public Builder setRead(boolean read) { in setRead()
[all …]
DFolder.java202 public static final class Builder { class in Folder
238 public Builder setId(final int id) { in setId()
242 public Builder setPersistentId(final String persistentId) { in setPersistentId()
246 public Builder setUri(final Uri uri) { in setUri()
250 public Builder setName(final String name) { in setName()
254 public Builder setCapabilities(final int capabilities) { in setCapabilities()
258 public Builder setHasChildren(final boolean hasChildren) { in setHasChildren()
262 public Builder setSyncWindow(final int syncWindow) { in setSyncWindow()
266 public Builder setConversationListUri(final Uri conversationListUri) { in setConversationListUri()
270 public Builder setChildFoldersListUri(final Uri childFoldersListUri) { in setChildFoldersListUri()
[all …]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/model/
DPackageDownloadInfoTest.java44 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testBuilderWriteAndReadBack()
64 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithDownloadLocationWithoutChecksum()
77 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithoutDownloadLocation()
90 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
103 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testConstructPackageInfoWithDownloadLocationAndSignatureChecksum()
115 PackageDownloadInfo downloadInfo1 = PackageDownloadInfo.Builder.builder() in testEquals()
122 PackageDownloadInfo downloadInfo2 = PackageDownloadInfo.Builder.builder() in testEquals()
137 PackageDownloadInfo downloadInfo1 = PackageDownloadInfo.Builder.builder() in testNotEquals()
144 PackageDownloadInfo downloadInfo2 = PackageDownloadInfo.Builder.builder() in testNotEquals()
159 PackageDownloadInfo expectedDownloadInfo = PackageDownloadInfo.Builder.builder() in testParceable()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelTest.java173 Channel testChannel = new Channel.Builder() in assertAppLinkType()
199 new Channel.Builder().setInputId(PARTNER_INPUT_ID).build()); in testComparator()
201 new Channel.Builder().setInputId("1").build()); in testComparator()
203 new Channel.Builder().setInputId("1").setDisplayNumber("2").build()); in testComparator()
205 new Channel.Builder().setInputId("2").setDisplayNumber("1.0").build()); in testComparator()
209 new Channel.Builder().setInputId("2").setDisplayNumber("1.62") in testComparator()
211 new Channel.Builder().setInputId("2").setDisplayNumber("1.62") in testComparator()
213 new Channel.Builder().setInputId("2").setDisplayNumber("1.62") in testComparator()
216 new Channel.Builder().setInputId("2").setDisplayNumber("2.0").build()); in testComparator()
219 new Channel.Builder().setInputId("2").setDisplayNumber("12.2").build()); in testComparator()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DPackedStringTests.java55 PackedString.Builder b = new PackedString.Builder(); in testPackedStringBuilderCreate()
63 PackedString.Builder b2 = new PackedString.Builder(packedOut); in testPackedStringBuilderCreate()
74 PackedString.Builder b = new PackedString.Builder(PACKED_STRING_TAGGED); in testPackedStringBuilderEdit()
96 PackedString.Builder b2 = new PackedString.Builder(packedOut); in testPackedStringBuilderEdit()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapWorkerOptions.java57 public static class Builder { class in BitmapWorkerOptions
69 public Builder(Context context) { in Builder() method in BitmapWorkerOptions.Builder
105 public Builder resource(String packageName, String resourceName) { in resource()
111 public Builder resource(ShortcutIconResource iconResource) { in resource()
117 public Builder resource(Uri resourceUri) { in resource()
122 public Builder width(int width) { in width()
131 public Builder height(int height) { in height()
140 public Builder cacheFlag(int flag) { in cacheFlag()
145 public Builder bitmapConfig(Bitmap.Config config) { in bitmapConfig()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java29 import android.telecom.PhoneAccount.Builder;
127 Notification.Builder builder1 = makeNotificationBuilder("builder1"); in cancelNotificationTestInternal()
128 Notification.Builder builder2 = makeNotificationBuilder("builder2"); in cancelNotificationTestInternal()
155 Notification.Builder[] builders = new Notification.Builder[4]; in testNotifyMultipleMissedCalls()
190 Notification.Builder builder = builders[i]; in testNotifyMultipleMissedCalls()
248 Notification.Builder builder1 = makeNotificationBuilder("builder1"); in notifySingleCallTestInternal()
249 Notification.Builder builder2 = makeNotificationBuilder("builder2"); in notifySingleCallTestInternal()
272 Notification.Builder builder; in notifySingleCallTestInternal()
273 Notification.Builder publicBuilder; in notifySingleCallTestInternal()
313 Notification.Builder builder1 = makeNotificationBuilder("builder1"); in testNoSmsBackAfterMissedSipCall()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java20 import android.net.Uri.Builder;
84 public static final Uri DEFAULT_BACKGROUND_AVATAR = new Uri.Builder().scheme(SCHEME)
129 final Builder builder = new Builder(); in joinAvatarUriToGroup()
212 final Builder builder = new Builder(); in createSimIconUri()
235 final Builder builder = new Builder(); in fromLocalResourceWithFallback()
246 final Builder builder = new Builder(); in fromName()
259 final Builder builder = new Builder(); in fromIdentifier()

12345678910>>...26