Home | History | Annotate | Download | only in media

Lines Matching defs:MediaCas

36  * MediaCas can be used to obtain keys for descrambling protected media streams, in
37 * conjunction with {@link android.media.MediaDescrambler}. The MediaCas APIs are
43 * The app is responsible for constructing a MediaCas object for the CA system it
48 * Once the MediaCas object is constructed, the app should properly provision it by
95 public final class MediaCas implements AutoCloseable {
96 private static final String TAG = "MediaCas";
139 mListener.onEvent(MediaCas.this, msg.arg1, msg.arg2,
229 * @throws IllegalStateException if the MediaCas instance is not valid.
253 * @throws IllegalStateException if the MediaCas instance is not valid.
276 * @throws IllegalStateException if the MediaCas instance is not valid.
287 * @throws IllegalStateException if the MediaCas instance is not valid.
363 public MediaCas(int CA_system_id) throws UnsupportedCasException {
385 * to receives scheme-specific notifications from a MediaCas instance.
391 * @param MediaCas the MediaCas object to receive this event.
397 void onEvent(MediaCas MediaCas, int event, int arg, @Nullable byte[] data);
401 * Set an event listener to receive notifications from the MediaCas instance.
436 * @throws IllegalStateException if the MediaCas instance is not valid.
466 * @throws IllegalStateException if the MediaCas instance is not valid.
491 * @throws IllegalStateException if the MediaCas instance is not valid.
514 * @throws IllegalStateException if the MediaCas instance is not valid.
530 * @throws IllegalStateException if the MediaCas instance is not valid.
553 * @throws IllegalStateException if the MediaCas instance is not valid.
574 * @throws IllegalStateException if the MediaCas instance is not valid.