Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DRemoteMediaSource.cpp28 mTrack(source), in RemoteMediaSource()
32 delete mTrack; in ~RemoteMediaSource()
41 return mTrack->start(); in start()
45 return mTrack->stop(); in stop()
50 if (mTrack->getFormat(*meta.get()) == OK) { in getFormat()
58 return mTrack->read(buffer, reinterpret_cast<const MediaSource::ReadOptions*>(options)); in read()
62 return mTrack->supportNonblockingRead(); in supportNonblockingRead()
DMPEG4Writer.cpp1615 uint32_t trackNum = (it->mTrack->getTrackId().getId() << 28); in sendSessionSummary()
2775 ALOGV("bufferChunk: %p", chunk.mTrack); in bufferChunk()
2782 if (chunk.mTrack == it->mTrack) { // Found owner in bufferChunk()
2794 chunk->mTimeStampUs, chunk->mTrack->getTrackType()); in writeChunkToFile()
2806 bool usePrefix = chunk->mTrack->usePrefix() && !isExif; in writeChunkToFile()
2811 if (chunk->mTrack->isHeif()) { in writeChunkToFile()
2812 chunk->mTrack->addItemOffsetAndSize(offset, bytesWritten, isExif); in writeChunkToFile()
2814 chunk->mTrack->addChunkOffset(offset); in writeChunkToFile()
2851 track = it->mTrack; in findChunkToWrite()
2867 if (it->mTrack == track) { in findChunkToWrite()
[all …]
/frameworks/av/services/audioflinger/
DIAfPatchPanel.h116 mTrack = other.mTrack;
136 sp<TrackType> track() const { return mTrack; } in track()
138 sp<const TrackType> const_track() const { return mTrack; } in const_track()
149 if (mTrack != nullptr) { in closeConnections_l()
150 mThread->deletePatchTrack(mTrack); in closeConnections_l()
164 mTrack = track; in setTrackAndPeer()
165 mThread->addPatchTrack(mTrack); in setTrackAndPeer()
166 mTrack->setPeerProxy(peer, holdReference); in setTrackAndPeer()
170 if (mClearPeerProxy && mTrack) mTrack->clearPeerProxy(); in clearTrackPeer()
173 if (mTrack) mTrack->stop(); in stopTrack()
[all …]
DTracks.cpp379 const sp<IAfTrack> mTrack; member in android::TrackHandle
389 mTrack(track) in TrackHandle()
400 mTrack->destroy(); in ~TrackHandle()
405 *_aidl_return = legacy2aidl_NullableIMemory_SharedFileRegion(mTrack->getCblk()).value(); in getCblk()
410 *_aidl_return = mTrack->start(); in start()
415 mTrack->stop(); in stop()
420 mTrack->flush(); in flush()
425 mTrack->pause(); in pause()
431 *_aidl_return = mTrack->attachAuxEffect(effectId); in attachAuxEffect()
437 *_aidl_return = mTrack->setParameters(String8(keyValuePairs.c_str())); in setParameters()
[all …]
DPlaybackTracks.h342 explicit AudioVibrationController(Track* track) : mTrack(track) {} in AudioVibrationController()
346 Track* const mTrack;
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp546 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); in dump()
553 if (mTrack != 0) { in dump()
554 mTrack->dump(fd, args); in dump()
1884 if (mTrack == 0) return NO_INIT; in bufferSize()
1885 return mTrack->frameCount() * mFrameSize; in bufferSize()
1891 if (mTrack == 0) return NO_INIT; in frameCount()
1892 return mTrack->frameCount(); in frameCount()
1898 if (mTrack == 0) return NO_INIT; in channelCount()
1899 return mTrack->channelCount(); in channelCount()
1905 if (mTrack == 0) return NO_INIT; in frameSize()
[all …]
DMediaPlayerService.h91 virtual bool ready() const { return mTrack != 0; } in ready()
162 sp<AudioTrack> mTrack; variable
/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.cpp83 mTrack = new AudioTrack(attributionSource); in create()
84 mTrack->set(AUDIO_STREAM_MUSIC, mSampleRate, mFormat, mChannelMask, 0 /* frameCount */, in create()
89 mTrack = new AudioTrack(AUDIO_STREAM_MUSIC, mSampleRate, mFormat, mChannelMask, mMemory, in create()
97 mTrack->setCallerName(packageName); in create()
98 status_t status = mTrack->initCheck(); in create()
132 return (PLAY_NO_INIT != mState) ? mTrack : nullptr; in getAudioTrackHandle()
140 status = mTrack->start(); in start()
143 LOG_FATAL_IF(false != mTrack->stopped()); in start()
164 trackBuffer.frameCount = mTrack->frameCount() * 2; in fillBuffer()
165 status_t status = mTrack->obtainBuffer(&trackBuffer, 1, &nonContig); in fillBuffer()
[all …]
Daudio_test_utils.h123 sp<AudioTrack> mTrack; variable
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2PSExtractor.cpp88 MPEG2PSExtractor::Track *mTrack; member
808 mTrack(track) { in WrappedTrack()
815 delete mTrack->mBufferGroup; in start()
816 mTrack->mBufferGroup = mBufferGroup; in start()
818 return mTrack->start(); in start()
822 return mTrack->stop(); in stop()
826 return mTrack->getFormat(meta); in getFormat()
831 return mTrack->read(buffer, options); in read()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h165 Track *mTrack; // Owner
170 Chunk(): mTrack(NULL), mTimeStampUs(0) {}
173 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
178 Track *mTrack; // Owner
DRemoteMediaSource.h46 MediaTrack *mTrack; variable
/frameworks/wilhelm/src/itf/
DIOutputMixExt.cpp58 assert(audioPlayer->mTrack == track); in track_check()
93 audioPlayer->mTrack = NULL; in track_check()
357 thiz->mTrack = NULL; in IOutputMixExt_checkAudioPlayerSourceSink()
404 thiz->mTrack = track; in IOutputMixExt_checkAudioPlayerSourceSink()
DIEngine.cpp218 thiz->mTrack = NULL; in IEngine_CreateAudioPlayer()
/frameworks/wilhelm/src/objects/
DCAudioPlayer.cpp80 Track *track = thiz->mTrack; in CAudioPlayer_PreDestroy()
/frameworks/base/core/java/android/window/
DTransitionInfo.java213 private int mTrack = 0; field in TransitionInfo
237 mTrack = in.readInt(); in TransitionInfo()
249 dest.writeInt(mTrack); in writeToParcel()
414 return mTrack; in getTrack()
419 mTrack = track; in setTrack()
451 .append(" f=0x").append(Integer.toHexString(mFlags)).append(" trk=").append(mTrack); in toString()
642 out.mTrack = mTrack; in localRemoteCopy()
/frameworks/wilhelm/src/
Dclasses.h88 Track *mTrack; member
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt28603 Landroid/media/MediaScanner$MyMediaScannerClient;->mTrack:I