Home
last modified time | relevance | path

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

/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp73 int32_t Extractor::setupTrackFormat(int32_t trackId) { in setupTrackFormat() argument
74 AMediaExtractor_selectTrack(mExtractor, trackId); in setupTrackFormat()
75 mFormat = AMediaExtractor_getTrackFormat(mExtractor, trackId); in setupTrackFormat()
84 int32_t Extractor::extract(int32_t trackId) { in extract() argument
85 int32_t status = setupTrackFormat(trackId); in extract()
109 AMediaExtractor_unselectTrack(mExtractor, trackId); in extract()
DExtractor.h40 int32_t setupTrackFormat(int32_t trackId);
46 int32_t extract(int32_t trackId);
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DExtractor.java111 public int selectExtractorTrack(int trackId) { in selectExtractorTrack() argument
112 MediaFormat trackFormat = mExtractor.getTrackFormat(trackId); in selectExtractorTrack()
118 mExtractor.selectTrack(trackId); in selectExtractorTrack()
127 public void unselectExtractorTrack(int trackId) { mExtractor.unselectTrack(trackId); } in unselectExtractorTrack() argument
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java417 public void onTrackSelected(Session session, int type, @Nullable String trackId) { in onTrackSelected() argument
610 void postTrackSelected(final int type, final String trackId) { in postTrackSelected() argument
614 mSessionCallback.onTrackSelected(mSession, type, trackId); in postTrackSelected()
953 public void onTrackSelected(int type, String trackId, int seq) { in TvInputManager()
960 if (record.mSession.updateTrackSelection(type, trackId)) { in TvInputManager()
961 record.postTrackSelected(type, trackId); in TvInputManager()
1943 public void selectTrack(int type, @Nullable String trackId) {
1946 if (trackId != null && !containsTrack(mAudioTracks, trackId)) {
1947 Log.w(TAG, "Invalid audio trackId: " + trackId);
1951 if (trackId != null && !containsTrack(mVideoTracks, trackId)) {
[all …]
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()
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.java460 public void notifyTrackSelected(final int type, final String trackId) {
468 mSessionCallback.onTrackSelected(type, trackId);
887 public boolean onSelectTrack(int type, @Nullable String trackId) {
1227 void selectTrack(int type, String trackId) {
1228 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.java369 public boolean setMuteFlag(int trackId, boolean muteFlag, boolean sync) { in setMuteFlag() argument
370 return native_setMuteFlag(trackId, muteFlag, sync); in setMuteFlag()
559 private native final boolean native_setMuteFlag(int trackId, boolean muteFlag, boolean sync); in native_setMuteFlag() argument
/frameworks/base/media/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/services/audioflinger/
DThreads.cpp2334 const int trackId = track->id(); in remove() local
2341 mDeletedTrackIds.emplace(trackId); in remove()
4631 (void)mTracks.processDeletedTrackIds([this](int trackId) { in prepareTracks_l() argument
4633 if (mAudioMixer->exists(trackId)) { in prepareTracks_l()
4634 mAudioMixer->destroy(trackId); in prepareTracks_l()
4918 const int trackId = track->id(); in prepareTracks_l() local
4922 if (!mAudioMixer->exists(trackId)) { in prepareTracks_l()
4924 trackId, in prepareTracks_l()
4931 __func__, trackId, in prepareTracks_l()
4953 desiredFrames += mAudioMixer->getUnreleasedFrames(trackId); in prepareTracks_l()
[all …]
DThreads.h1095 for (const int trackId : mDeletedTrackIds) { in processDeletedTrackIds() local
1096 f(trackId); in processDeletedTrackIds()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h270 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp866 ssize_t trackId = inputFrame.muxer->addTrack(inputFrame.format); in startMuxerForInputFrame() local
867 if (trackId < 0) { in startMuxerForInputFrame()
868 ALOGE("%s: Failed to addTrack to the muxer: %zd", __FUNCTION__, trackId); in startMuxerForInputFrame()
872 inputFrame.trackIndex = trackId; in startMuxerForInputFrame()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp1018 int32_t trackId; in parseChunk() local
1022 AMEDIAFORMAT_KEY_TRACK_ID, &trackId)) { in parseChunk()
2033 int32_t trackId; in parseChunk() local
2035 AMEDIAFORMAT_KEY_TRACK_ID, &trackId)) { in parseChunk()
2038 if (t->track_ID == (uint32_t) trackId) { in parseChunk()
4108 int32_t trackId; in getTrack() local
4109 if (AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_TRACK_ID, &trackId)) { in getTrack()
4112 if (t->track_ID == (uint32_t) trackId) { in getTrack()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1445 public void selectTrack(IBinder sessionToken, int type, String trackId, int userId) { in selectTrack() argument
1454 type, trackId); in selectTrack()
2517 public void onTrackSelected(int type, String trackId) { in onTrackSelected() argument
2520 Slog.d(TAG, "onTrackSelected(type=" + type + ", trackId=" + trackId + ")"); in onTrackSelected()
2526 mSessionState.client.onTrackSelected(type, trackId, mSessionState.seq); in onTrackSelected()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp109 Track(MPEG4Writer *owner, const sp<MediaSource> &source, size_t trackId);
1781 MPEG4Writer *owner, const sp<MediaSource> &source, size_t trackId) in Track() argument
1791 mTrackId(trackId), in Track()
3552 size_t trackId, int64_t timeUs, status_t err) { in trackProgressStatus() argument
3554 int32_t trackNum = (trackId << 28); in trackProgressStatus()