Home
last modified time | relevance | path

Searched refs:trackId (Results 1 – 16 of 16) 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.java404 public void onTrackSelected(Session session, int type, @Nullable String trackId) { in onTrackSelected() argument
597 void postTrackSelected(final int type, final String trackId) { in postTrackSelected() argument
601 mSessionCallback.onTrackSelected(mSession, type, trackId); in postTrackSelected()
938 public void onTrackSelected(int type, String trackId, int seq) { in TvInputManager()
945 if (record.mSession.updateTrackSelection(type, trackId)) { in TvInputManager()
946 record.postTrackSelected(type, trackId); in TvInputManager()
1917 public void selectTrack(int type, @Nullable String trackId) {
1920 if (trackId != null && !containsTrack(mAudioTracks, trackId)) {
1921 Log.w(TAG, "Invalid audio trackId: " + trackId);
1925 if (trackId != null && !containsTrack(mVideoTracks, trackId)) {
[all …]
DITvInputSessionCallback.aidl34 void onTrackSelected(int type, in String trackId); in onTrackSelected() argument
DTvView.java428 public void selectTrack(int type, String trackId) { in selectTrack() argument
430 mSession.selectTrack(type, trackId); in selectTrack()
948 public void onTrackSelected(String inputId, int type, String trackId) { in onTrackSelected() argument
1173 public void onTrackSelected(Session session, int type, String trackId) { in onTrackSelected() argument
1175 Log.d(TAG, "onTrackSelected(type=" + type + ", trackId=" + trackId + ")"); in onTrackSelected()
1182 mCallback.onTrackSelected(mInputId, type, trackId); in onTrackSelected()
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.java436 public void notifyTrackSelected(final int type, final String trackId) {
444 mSessionCallback.onTrackSelected(type, trackId);
863 public boolean onSelectTrack(int type, @Nullable String trackId) {
1203 void selectTrack(int type, String trackId) {
1204 onSelectTrack(type, trackId);
DITvInputManager.aidl71 void selectTrack(in IBinder sessionToken, int type, in String trackId, int userId); in selectTrack() argument
/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/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/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h222 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp1013 int32_t trackId; in parseChunk() local
1015 if (!mLastTrack->meta->findInt32(kKeyTrackID, &trackId)) { in parseChunk()
1693 int32_t trackId; in parseChunk() local
1694 if (mLastTrack->meta->findInt32(kKeyTrackID, &trackId)) { in parseChunk()
1697 if (t->track_ID == (uint32_t) trackId) { in parseChunk()
3328 int32_t trackId; in getTrack() local
3329 if (track->meta->findInt32(kKeyTrackID, &trackId)) { in getTrack()
3332 if (t->track_ID == (uint32_t) trackId) { in getTrack()
DMPEG4Writer.cpp103 Track(MPEG4Writer *owner, const sp<IMediaSource> &source, size_t trackId);
1629 MPEG4Writer *owner, const sp<IMediaSource> &source, size_t trackId) in Track() argument
1639 mTrackId(trackId), in Track()
3140 size_t trackId, int64_t timeUs, status_t err) { in trackProgressStatus() argument
3142 int32_t trackNum = (trackId << 28); in trackProgressStatus()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1430 public void selectTrack(IBinder sessionToken, int type, String trackId, int userId) { in selectTrack() argument
1439 type, trackId); in selectTrack()
2490 public void onTrackSelected(int type, String trackId) { in onTrackSelected() argument
2493 Slog.d(TAG, "onTrackSelected(type=" + type + ", trackId=" + trackId + ")"); in onTrackSelected()
2499 mSessionState.client.onTrackSelected(type, trackId, mSessionState.seq); in onTrackSelected()