Home
last modified time | relevance | path

Searched refs:trackId (Results 1 – 18 of 18) sorted by relevance

/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
DMutableMediaMetadata.java29 public final String trackId; field in MutableMediaMetadata
31 public MutableMediaMetadata(String trackId, MediaMetadataCompat metadata) { in MutableMediaMetadata() argument
33 this.trackId = trackId; in MutableMediaMetadata()
47 return TextUtils.equals(trackId, that.trackId); in equals()
52 return trackId.hashCode(); in hashCode()
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java395 public void onTrackSelected(Session session, int type, @Nullable String trackId) { in onTrackSelected() argument
588 void postTrackSelected(final int type, final String trackId) { in postTrackSelected() argument
592 mSessionCallback.onTrackSelected(mSession, type, trackId); in postTrackSelected()
929 public void onTrackSelected(int type, String trackId, int seq) { in TvInputManager()
936 if (record.mSession.updateTrackSelection(type, trackId)) { in TvInputManager()
937 record.postTrackSelected(type, trackId); in TvInputManager()
1831 public void selectTrack(int type, @Nullable String trackId) {
1834 if (trackId != null && !containsTrack(mAudioTracks, trackId)) {
1835 Log.w(TAG, "Invalid audio trackId: " + trackId);
1839 if (trackId != null && !containsTrack(mVideoTracks, trackId)) {
[all …]
DTvView.java425 public void selectTrack(int type, String trackId) { in selectTrack() argument
427 mSession.selectTrack(type, trackId); in selectTrack()
936 public void onTrackSelected(String inputId, int type, String trackId) { in onTrackSelected() argument
1160 public void onTrackSelected(Session session, int type, String trackId) { in onTrackSelected() argument
1162 Log.d(TAG, "onTrackSelected(type=" + type + ", trackId=" + trackId + ")"); in onTrackSelected()
1169 mCallback.onTrackSelected(mInputId, type, trackId); in onTrackSelected()
DITvInputSessionCallback.aidl34 void onTrackSelected(int type, in String trackId); in onTrackSelected() argument
DITvInputSession.aidl41 void selectTrack(int type, in String trackId); in selectTrack() argument
DITvInputClient.aidl37 void onTrackSelected(int type, in String trackId, int seq); in onTrackSelected() argument
DITvInputSessionWrapper.java289 public void selectTrack(int type, String trackId) { in selectTrack() argument
290 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_SELECT_TRACK, type, trackId)); in selectTrack()
DTvInputService.java437 public void notifyTrackSelected(final int type, final String trackId) {
445 mSessionCallback.onTrackSelected(type, trackId);
862 public boolean onSelectTrack(int type, @Nullable String trackId) {
1200 void selectTrack(int type, String trackId) {
1201 onSelectTrack(type, trackId);
DITvInputManager.aidl70 void selectTrack(in IBinder sessionToken, int type, in String trackId, int userId); in selectTrack() argument
/frameworks/av/media/libstagefright/
DDRMExtractor.cpp41 int32_t trackId, DrmBuffer *ipmpBox);
70 int32_t trackId, DrmBuffer *ipmpBox) in DRMSource() argument
74 mTrackId(trackId), in DRMSource()
79 mDecryptHandle, trackId, ipmpBox); in DRMSource()
DMPEG4Extractor.cpp992 int32_t trackId; in parseChunk() local
994 if (!mLastTrack->meta->findInt32(kKeyTrackID, &trackId)) { in parseChunk()
1647 int32_t trackId; in parseChunk() local
1648 if (mLastTrack->meta->findInt32(kKeyTrackID, &trackId)) { in parseChunk()
1651 if (t->track_ID == (uint32_t) trackId) { in parseChunk()
3110 int32_t trackId; in getTrack() local
3111 if (track->meta->findInt32(kKeyTrackID, &trackId)) { in getTrack()
3114 if (t->track_ID == (uint32_t) trackId) { in getTrack()
DMPEG4Writer.cpp98 Track(MPEG4Writer *owner, const sp<IMediaSource> &source, size_t trackId);
1531 MPEG4Writer *owner, const sp<IMediaSource> &source, size_t trackId) in Track() argument
1539 mTrackId(trackId), in Track()
2867 size_t trackId, int64_t timeUs, status_t err) { in trackProgressStatus() argument
2869 int32_t trackNum = (trackId << 28); in trackProgressStatus()
/frameworks/base/media/java/android/media/
DJetPlayer.java365 public boolean setMuteFlag(int trackId, boolean muteFlag, boolean sync) { in setMuteFlag() argument
366 return native_setMuteFlag(trackId, muteFlag, sync); in setMuteFlag()
555 private native final boolean native_setMuteFlag(int trackId, boolean muteFlag, boolean sync); in native_setMuteFlag() argument
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java587 final String trackId = track.getString(MediaMetadataCompat.METADATA_KEY_MEDIA_ID); in updateMetadata() local
588 if (!musicId.equals(trackId)) { in updateMetadata()
590 Log.e(TAG, "track ID should match musicId. musicId=" + musicId + " trackId=" + trackId in updateMetadata()
611 MediaMetadataCompat track = mMusicProvider.getMusic(trackId); in updateMetadata()
623 mMusicProvider.updateMusic(trackId, track); in updateMetadata()
628 if (trackId.equals(currentPlayingId)) { in updateMetadata()
/frameworks/base/docs/html/training/tv/tif/
Dui.jd279 public boolean onSelectTrack(int type, String trackId) {
282 if (!mCaptionEnabled && trackId != null) {
285 mSelectedSubtitleTrackId = trackId;
286 if (trackId == null) {
290 if (mPlayer.selectTrack(type, trackId)) {
291 notifyTrackSelected(type, trackId);
/frameworks/base/core/jni/
Dandroid_media_JetPlayer.cpp416 jint trackId, jboolean muteFlag, jboolean bSync) in android_media_JetPlayer_setMuteFlag() argument
427 result = lpJet->setMuteFlag(trackId, in android_media_JetPlayer_setMuteFlag()
434 trackId, result); in android_media_JetPlayer_setMuteFlag()
/frameworks/av/include/media/stagefright/
DMPEG4Writer.h197 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1412 public void selectTrack(IBinder sessionToken, int type, String trackId, int userId) { in selectTrack() argument
1421 type, trackId); in selectTrack()
2398 public void onTrackSelected(int type, String trackId) { in onTrackSelected() argument
2401 Slog.d(TAG, "onTrackSelected(type=" + type + ", trackId=" + trackId + ")"); in onTrackSelected()
2407 mSessionState.client.onTrackSelected(type, trackId, mSessionState.seq); in onTrackSelected()