get the current priority sorted list of active sessions that use transport controls . the most important session is at index 0 and the least important at size -1 . concode_field_sep MediaSessionRecord mCachedDefault concode_elem_sep ArrayList<MediaSessionRecord> mCachedActiveList concode_elem_sep int[] TRANSITION_PRIORITY_STATES concode_elem_sep MediaSessionRecord mCachedVolumeDefault concode_elem_sep ArrayList<MediaSessionRecord> mCachedTransportControlList concode_elem_sep int[] ALWAYS_PRIORITY_STATES concode_elem_sep MediaSessionRecord mLastInterestingRecord concode_elem_sep ArrayList<MediaSessionRecord> mSessions concode_elem_sep MediaSessionRecord mGlobalPrioritySession concode_elem_sep MediaSessionRecord mCachedButtonReceiver concode_field_sep void removeSession concode_elem_sep boolean isGlobalPriorityActive concode_elem_sep boolean containsState concode_elem_sep void clearCache concode_elem_sep boolean onPlaystateChange concode_elem_sep void onSessionStateChange concode_elem_sep ArrayList<MediaSessionRecord> getActiveSessions concode_elem_sep MediaSessionRecord getDefaultSession concode_elem_sep void addSession concode_elem_sep MediaSessionRecord getDefaultMediaButtonSession concode_elem_sep MediaSessionRecord getDefaultRemoteSession concode_elem_sep ArrayList<MediaSessionRecord> getPriorityListLocked concode_elem_sep boolean shouldUpdatePriority concode_elem_sep void dump concode_elem_sep MediaSessionRecord getDefaultVolumeSession
ArrayList < MediaSessionRecord > function ( int arg0 ) { if ( mCachedTransportControlList == null ) { mCachedTransportControlList = getPriorityListLocked ( true , MediaSession . FLAG_HANDLES_TRANSPORT_CONTROLS , arg0 ) ; } return mCachedTransportControlList ; }