Lines Matching refs:session

30 import android.media.session.ISession;
31 import android.media.session.ISessionCallback;
32 import android.media.session.ISessionController;
33 import android.media.session.ISessionControllerCallback;
34 import android.media.session.MediaController;
35 import android.media.session.MediaController.PlaybackInfo;
36 import android.media.session.MediaSession;
37 import android.media.session.ParcelableVolumeInfo;
38 import android.media.session.PlaybackState;
143 * @return The session binder apps talk to.
159 * Get the info for this session.
161 * @return Info that identifies this session.
168 * Get the tag for the session.
170 * @return The session's tag.
186 * Get this session's flags.
188 * @return The flags for this session.
195 * Check if this session has the specified flag.
198 * @return True if this session has that flag set, false otherwise.
205 * Get the UID this session was created for.
207 * @return The UID for this session.
214 * Get the user id this session was created for.
216 * @return The user id for this session.
223 * Check if this session has system priorty and should receive media buttons
226 * @return True if this is a system priority session, false otherwise
233 * Send a volume adjustment to the session owner. Direction must be one of
314 * Check if this session has been set to active by the app.
316 * @return True if the session is active, false otherwise.
332 * Check if the session is currently performing playback.
334 * @return True if the session is performing playback, false otherwise.
354 * @return The audio stream the session is using.
380 * Get the current volume for this session. Only valid if playback type is
409 * Finish cleaning up this session, including disconnecting if connected and
635 // after the session is destroyed.
1120 // If this session is already destroyed tell the caller and
1417 // TODO add session state