Home
last modified time | relevance | path

Searched refs:bob (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/media-compat/java/android/support/v4/media/
DMediaDescriptionCompat.java330 Object bob = MediaDescriptionCompatApi21.Builder.newInstance(); in getMediaDescription() local
331 MediaDescriptionCompatApi21.Builder.setMediaId(bob, mMediaId); in getMediaDescription()
332 MediaDescriptionCompatApi21.Builder.setTitle(bob, mTitle); in getMediaDescription()
333 MediaDescriptionCompatApi21.Builder.setSubtitle(bob, mSubtitle); in getMediaDescription()
334 MediaDescriptionCompatApi21.Builder.setDescription(bob, mDescription); in getMediaDescription()
335 MediaDescriptionCompatApi21.Builder.setIconBitmap(bob, mIcon); in getMediaDescription()
336 MediaDescriptionCompatApi21.Builder.setIconUri(bob, mIconUri); in getMediaDescription()
349 MediaDescriptionCompatApi21.Builder.setExtras(bob, extras); in getMediaDescription()
351 MediaDescriptionCompatApi23.Builder.setMediaUri(bob, mMediaUri); in getMediaDescription()
353 mDescriptionObj = MediaDescriptionCompatApi21.Builder.build(bob); in getMediaDescription()
[all …]
DMediaMetadataCompat.java526 MediaDescriptionCompat.Builder bob = new MediaDescriptionCompat.Builder(); in getDescription() local
527 bob.setMediaId(mediaId); in getDescription()
528 bob.setTitle(text[0]); in getDescription()
529 bob.setSubtitle(text[1]); in getDescription()
530 bob.setDescription(text[2]); in getDescription()
531 bob.setIconBitmap(icon); in getDescription()
532 bob.setIconUri(iconUri); in getDescription()
533 bob.setMediaUri(mediaUri); in getDescription()
545 bob.setExtras(bundle); in getDescription()
547 mDescription = bob.build(); in getDescription()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java122 MediaMetadataCompat.Builder bob = new MediaMetadataCompat.Builder(); in updateMetadata() local
123 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_TITLE, currentItem.getTitle()); in updateMetadata()
124 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_SUBTITLE, "Subtitle of the thing"); in updateMetadata()
125 bob.putString(MediaMetadataCompat.METADATA_KEY_DISPLAY_DESCRIPTION, in updateMetadata()
127 bob.putBitmap(MediaMetadataCompat.METADATA_KEY_DISPLAY_ICON, getSnapshot()); in updateMetadata()
128 mMediaSession.setMetadata(bob.build()); in updateMetadata()
135 PlaybackStateCompat.Builder bob = new PlaybackStateCompat.Builder(); in publishState() local
136 bob.setActions(PLAYBACK_ACTIONS); in publishState()
139 bob.setState(PlaybackStateCompat.STATE_PLAYING, -1, 1); in publishState()
143 bob.setState(PlaybackStateCompat.STATE_PAUSED, -1, 0); in publishState()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java141 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState); in updateState() local
142 bob.setState(newState, position, rate, SystemClock.elapsedRealtime()); in updateState()
143 bob.setErrorMessage(null); in updateState()
144 mPlaybackState = bob.build(); in updateState()
167 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState); in onError() local
168 bob.setState(PlaybackState.STATE_ERROR, -1, 0, 0); in onError()
170 bob.setErrorMessage(error.getLocalizedMessage()); in onError()
172 mPlaybackState = bob.build(); in onError()
212 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState); in onStateChanged() local
213 bob.setState(pbState, position, rate, SystemClock.elapsedRealtime()); in onStateChanged()
[all …]
DPlayerController.java117 RequestUtils.ContentBuilder bob = new RequestUtils.ContentBuilder(); in setContent() local
118 bob.setSource(source); in setContent()
120 mBinder.sendRequest(RequestUtils.ACTION_SET_CONTENT, bob.build(), null); in setContent()
127 RequestUtils.ContentBuilder bob = new RequestUtils.ContentBuilder(); in setNextContent() local
128 bob.setSource(source); in setNextContent()
130 mBinder.sendRequest(RequestUtils.ACTION_SET_NEXT_CONTENT, bob.build(), null); in setNextContent()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java326 StringBuilder bob = new StringBuilder("PlaybackState {"); in toString() local
327 bob.append("state=").append(mState); in toString()
328 bob.append(", position=").append(mPosition); in toString()
329 bob.append(", buffered position=").append(mBufferedPosition); in toString()
330 bob.append(", speed=").append(mSpeed); in toString()
331 bob.append(", updated=").append(mUpdateTime); in toString()
332 bob.append(", actions=").append(mActions); in toString()
333 bob.append(", custom actions=").append(mCustomActions); in toString()
334 bob.append(", active item id=").append(mActiveItemId); in toString()
335 bob.append(", error=").append(mErrorMessage); in toString()
[all …]
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
DBrowserService.java132 MediaDescription.Builder bob = new MediaDescription.Builder(); in onLoadChildren()
133 bob.setTitle("Title " + i); in onLoadChildren()
134 bob.setSubtitle("Summary " + i); in onLoadChildren()
135 bob.setMediaId(Uri.withAppendedPath(BASE_URI, in onLoadChildren()
137 list.add(new MediaBrowser.MediaItem(bob.build(), in onLoadChildren()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DPlaybackStateCompat.java564 StringBuilder bob = new StringBuilder("PlaybackState {"); in toString() local
565 bob.append("state=").append(mState); in toString()
566 bob.append(", position=").append(mPosition); in toString()
567 bob.append(", buffered position=").append(mBufferedPosition); in toString()
568 bob.append(", speed=").append(mSpeed); in toString()
569 bob.append(", updated=").append(mUpdateTime); in toString()
570 bob.append(", actions=").append(mActions); in toString()
571 bob.append(", error code=").append(mErrorCode); in toString()
572 bob.append(", error message=").append(mErrorMessage); in toString()
573 bob.append(", custom actions=").append(mCustomActions); in toString()
[all …]
/frameworks/base/media/java/android/media/
DRemoteControlClient.java688 PlaybackState.Builder bob = new PlaybackState.Builder(mSessionPlaybackState); in setPlaybackStateInt() local
689 bob.setState(pbState, position, playbackSpeed, SystemClock.elapsedRealtime()); in setPlaybackStateInt()
690 bob.setErrorMessage(null); in setPlaybackStateInt()
691 mSessionPlaybackState = bob.build(); in setPlaybackStateInt()
719 PlaybackState.Builder bob = new PlaybackState.Builder(mSessionPlaybackState); in setTransportControlFlags() local
720 bob.setActions( in setTransportControlFlags()
722 mSessionPlaybackState = bob.build(); in setTransportControlFlags()
DMediaMetadata.java574 MediaDescription.Builder bob = new MediaDescription.Builder(); in getDescription() local
575 bob.setMediaId(mediaId); in getDescription()
576 bob.setTitle(text[0]); in getDescription()
577 bob.setSubtitle(text[1]); in getDescription()
578 bob.setDescription(text[2]); in getDescription()
579 bob.setIconBitmap(icon); in getDescription()
580 bob.setIconUri(iconUri); in getDescription()
581 bob.setMediaUri(mediaUri); in getDescription()
586 bob.setExtras(bundle); in getDescription()
588 mDescription = bob.build(); in getDescription()
DMediaRouter.java2321 AudioAttributes.Builder bob = new AudioAttributes.Builder(); in configureSessionVolume() local
2322 bob.setLegacyStreamType(mPlaybackStream); in configureSessionVolume()
2323 session.setPlaybackToLocal(bob.build()); in configureSessionVolume()
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DMediaSessionCompatApi21.java76 AudioAttributes.Builder bob = new AudioAttributes.Builder(); in setPlaybackToLocal() local
77 bob.setLegacyStreamType(stream); in setPlaybackToLocal()
78 ((MediaSession) sessionObj).setPlaybackToLocal(bob.build()); in setPlaybackToLocal()
/frameworks/opt/vcard/tests/res/raw/
Dv30_ios_613_multiline.vcf11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1273 StringBuilder bob = new StringBuilder(); in getLayoutDescriptor() local
1274 bob.append("vendor:").append(identifier.getVendorId()); in getLayoutDescriptor()
1275 bob.append(",product:").append(identifier.getProductId()); in getLayoutDescriptor()
1276 return bob.toString(); in getLayoutDescriptor()