Lines Matching refs:TrackBase

311         // destructor is called by the TrackBase destructor with mLock held
1114 track->mState = TrackBase::TERMINATED;
1378 if (track->mState == TrackBase::RESUMING) {
1379 track->mState = TrackBase::ACTIVE;
1735 if (track->mState == TrackBase::RESUMING) {
1736 track->mState = TrackBase::ACTIVE;
2130 // TrackBase constructor must be called with AudioFlinger::mLock held
2131 AudioFlinger::ThreadBase::TrackBase::TrackBase(
2203 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
2218 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
2226 bool AudioFlinger::ThreadBase::TrackBase::step() {
2238 void AudioFlinger::ThreadBase::TrackBase::reset() {
2246 LOGV("TrackBase::reset");
2249 sp<IMemory> AudioFlinger::ThreadBase::TrackBase::getCblk() const
2254 int AudioFlinger::ThreadBase::TrackBase::sampleRate() const {
2258 int AudioFlinger::ThreadBase::TrackBase::channelCount() const {
2262 void* AudioFlinger::ThreadBase::TrackBase::getBuffer(uint32_t offset, uint32_t frames) const {
2270 LOGE("TrackBase::getBuffer buffer out of range:\n start: %p, end %p , mBuffer %p mBufferEnd %p\n \
2292 : TrackBase(thread, client, sampleRate, format, channelCount, frameCount, 0, sharedBuffer),
2377 if (mFlags & TrackBase::STEPSERVER_FAILED) {
2380 mFlags &= ~TrackBase::STEPSERVER_FAILED;
2434 mState = TrackBase::RESUMING;
2437 mState = TrackBase::ACTIVE;
2529 TrackBase::reset();
2561 : TrackBase(thread, client, sampleRate, format,
2592 if (mFlags & TrackBase::STEPSERVER_FAILED) {
2595 mFlags &= ~TrackBase::STEPSERVER_FAILED;
2641 TrackBase::reset();
3019 // destructor is called by the TrackBase destructor with mLock held
3129 if (mActiveTrack->mState == TrackBase::PAUSING) {
3136 } else if (mActiveTrack->mState == TrackBase::RESUMING) {
3144 mActiveTrack->mState = TrackBase::ACTIVE;
3156 if (mActiveTrack->mState != TrackBase::ACTIVE &&
3157 mActiveTrack->mState != TrackBase::RESUMING) {
3205 if (mActiveTrack->mState == TrackBase::ACTIVE) {
3275 } else if (mActiveTrack->mState == TrackBase::PAUSING) {
3276 mActiveTrack->mState = TrackBase::ACTIVE;
3281 recordTrack->mState = TrackBase::IDLE;
3290 mActiveTrack->mState = TrackBase::RESUMING;
3322 mActiveTrack->mState = TrackBase::PAUSING;
3387 if (mActiveTrack->mState == TrackBase::ACTIVE) {