Home
last modified time | relevance | path

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

12

/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/av/media/libstagefright/include/media/stagefright/
DMediaWriter.h100 uint32_t trackId = (ext1 >> 28) & 0xf; in notify() local
103 "val:%d", msg, trackId, type, ext2); in notify()
DMPEG4Writer.h311 void trackProgressStatus(uint32_t trackId, int64_t timeUs, status_t err = OK);
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java934 public void onTrackSelected(Session session, int type, @Nullable String trackId) { in onTrackSelected() argument
1225 void postTrackSelected(final int type, final String trackId) { in postTrackSelected() argument
1229 mSessionCallback.onTrackSelected(mSession, type, trackId); in postTrackSelected()
1232 mSession.getInteractiveAppSession().notifyTrackSelected(type, trackId); in postTrackSelected()
1767 public void onTrackSelected(int type, String trackId, int seq) { in TvInputManager()
1774 if (record.mSession.updateTrackSelection(type, trackId)) { in TvInputManager()
1775 record.postTrackSelected(type, trackId); in TvInputManager()
3305 public void selectTrack(int type, @Nullable String trackId) {
3308 if (trackId != null && !containsTrack(mAudioTracks, trackId)) {
3309 Log.w(TAG, "Invalid audio trackId: " + trackId);
[all …]
DITvInputSessionCallback.aidl41 void onTrackSelected(int type, in String trackId); in onTrackSelected() argument
DITvInputSession.aidl46 void selectTrack(int type, in String trackId); in selectTrack() argument
DITvInputClient.aidl44 void onTrackSelected(int type, in String trackId, int seq); in onTrackSelected() argument
DTvView.java504 public void selectTrack(int type, String trackId) { in selectTrack() argument
506 mSession.selectTrack(type, trackId); in selectTrack()
1163 public void onTrackSelected(String inputId, int type, String trackId) { in onTrackSelected() argument
1514 public void onTrackSelected(Session session, int type, String trackId) { in onTrackSelected() argument
1516 Log.d(TAG, "onTrackSelected(type=" + type + ", trackId=" + trackId + ")"); in onTrackSelected()
1523 mCallback.onTrackSelected(mInputId, type, trackId); in onTrackSelected()
DITvInputSessionWrapper.java381 public void selectTrack(int type, String trackId) { in selectTrack() argument
382 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_SELECT_TRACK, type, trackId)); in selectTrack()
DTvInputService.java687 public void notifyTrackSelected(final int type, final String trackId) { in notifyTrackSelected() argument
695 mSessionCallback.onTrackSelected(type, trackId); in notifyTrackSelected()
1521 public boolean onSelectTrack(int type, @Nullable String trackId) { in onSelectTrack() argument
1978 void selectTrack(int type, String trackId) { in selectTrack() argument
1979 onSelectTrack(type, trackId); in selectTrack()
DITvInputManager.aidl81 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()
557 private native final boolean native_setMuteFlag(int trackId, boolean muteFlag, boolean sync); in native_setMuteFlag() argument
/frameworks/base/media/jni/
Dandroid_media_JetPlayer.cpp440 jint trackId, jboolean muteFlag, jboolean bSync) in android_media_JetPlayer_setMuteFlag() argument
451 result = lpJet->setMuteFlag(trackId, in android_media_JetPlayer_setMuteFlag()
458 trackId, result); in android_media_JetPlayer_setMuteFlag()
/frameworks/av/services/audioflinger/
DThreads.cpp2761 const int trackId = track->id(); in remove() local
2768 mDeletedTrackIds.emplace(trackId); in remove()
5535 (void)mTracks.processDeletedTrackIds([this](int trackId) { in prepareTracks_l() argument
5537 if (mAudioMixer->exists(trackId)) { in prepareTracks_l()
5538 mAudioMixer->destroy(trackId); in prepareTracks_l()
5845 const int trackId = track->id(); in prepareTracks_l() local
5849 if (!mAudioMixer->exists(trackId)) { in prepareTracks_l()
5851 trackId, in prepareTracks_l()
5858 __func__, trackId, in prepareTracks_l()
5880 desiredFrames += mAudioMixer->getUnreleasedFrames(trackId); in prepareTracks_l()
[all …]
DThreads.h1154 IAfTrack* getTrackById_l(audio_port_handle_t trackId) final REQUIRES(mutex());
1425 for (const int trackId : mDeletedTrackIds) { in processDeletedTrackIds() local
1426 f(trackId); in processDeletedTrackIds()
DIAfThread.h521 virtual IAfTrack* getTrackById_l(audio_port_handle_t trackId) REQUIRES(mutex()) = 0;
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppSession.aidl67 void notifyTrackSelected(int type, in String trackId); in notifyTrackSelected() argument
DTvInteractiveAppService.java880 public void onTrackSelected(@TvTrackInfo.Type int type, @NonNull String trackId) { in onTrackSelected() argument
1853 void notifyTrackSelected(int type, String trackId) { in notifyTrackSelected() argument
1855 Log.d(TAG, "notifyTrackSelected (type=" + type + "trackId=" + trackId + ")"); in notifyTrackSelected()
1858 if (trackId == null) { in notifyTrackSelected()
1859 trackId = ""; in notifyTrackSelected()
1861 onTrackSelected(type, trackId); in notifyTrackSelected()
DITvInteractiveAppManager.aidl89 void notifyTrackSelected(in IBinder sessionToken, int type, in String trackId, int userId); in notifyTrackSelected() argument
DITvInteractiveAppSessionWrapper.java541 public void notifyTrackSelected(int type, final String trackId) { in notifyTrackSelected() argument
543 mCaller.obtainMessageOO(DO_NOTIFY_TRACK_SELECTED, type, trackId)); in notifyTrackSelected()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp980 ssize_t trackId = inputFrame.muxer->addTrack(inputFrame.format); in startMuxerForInputFrame() local
981 if (trackId < 0) { in startMuxerForInputFrame()
982 ALOGE("%s: Failed to addTrack to the muxer: %zd", __FUNCTION__, trackId); in startMuxerForInputFrame()
986 inputFrame.trackIndex = trackId; in startMuxerForInputFrame()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitions.java707 private Track getOrCreateTrack(int trackId) { in getOrCreateTrack() argument
708 while (trackId >= mTracks.size()) { in getOrCreateTrack()
711 return mTracks.get(trackId); in getOrCreateTrack()
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp1082 int32_t trackId; in parseChunk() local
1086 AMEDIAFORMAT_KEY_TRACK_ID, &trackId)) { in parseChunk()
2283 int32_t trackId; in parseChunk() local
2285 AMEDIAFORMAT_KEY_TRACK_ID, &trackId)) { in parseChunk()
2288 if (t->track_ID == (uint32_t) trackId) { in parseChunk()
4472 int32_t trackId; in getTrack() local
4473 if (AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_TRACK_ID, &trackId)) { in getTrack()
4476 if (t->track_ID == (uint32_t) trackId) { in getTrack()

12