Lines Matching defs:track
144 CCTrack track = mTracks[index];
149 switch (track.mTrackType) {
157 ALOGE("Unknown track type: %d", track.mTrackType);
162 bool isDefaultAuto = track.mTrackType == kTrackTypeCEA608
163 && track.mTrackChannel == 0;
165 bool isDefaultOnly = track.mTrackType == kTrackTypeCEA708
166 && track.mTrackChannel == 1;
181 ALOGE("track %zu already selected", index);
184 ALOGV("selected track %zu", index);
188 ALOGE("track %zu is not selected", index);
191 ALOGV("unselected track %zu", index);
195 // Clear the previous track payloads
209 // returns true if a new CC track is found
231 // returns true if a new CC track is found
301 // returns true if a new CC track is found
324 // returns true if a new CC track is found
338 // returns true if a new CC track is found
395 // create a new track if it does not exist.
428 // returns true if a new CC track is found
476 // return the track index for a given type and channel.
477 // if the track does not exist, creates a new one.
480 CCTrack track(trackType, channel);
481 ssize_t index = mTrackIndices.indexOfKey(track);
484 // A new track is added.
486 mTrackIndices.add(track, index);
487 mTracks.add(track);