Lines Matching refs:to

10  * Unless required by applicable law or agreed to in writing, software
45 * its intent to invoke callbacks. In this class, the message across this binder is handled, and
46 * the superclass's methods are used to execute the callbacks.
149 /** Default handler used to consolidate binder method calls onto a single thread. */
306 // Request is to resume, but we're already resumed so ignore the request.
360 * Determines if a session modify request represents a request to pause the video.
363 * @param to The to video state.
367 public static boolean isPauseRequest(int from, int to) {
369 boolean toPaused = VideoProfile.isPaused(to);
375 * Determines if a session modify request represents a request to resume the video.
378 * @param to The to video state.
382 public static boolean isResumeRequest(int from, int to) {
384 boolean toPaused = VideoProfile.isPaused(to);
392 * @param to the to video state.
396 public static boolean isTurnOffCameraRequest(int from, int to) {
398 && !VideoProfile.isTransmissionEnabled(to);
404 * @param to the to video state.
408 public static boolean isTurnOnCameraRequest(int from, int to) {
410 && VideoProfile.isTransmissionEnabled(to);
417 * Requests to pause the video stream using the {@link VideoProfile#STATE_PAUSED} bit can come
424 * @param toProfile The request's to {@link VideoProfile}.
438 // paused, it is not possible for the IncallService to inform the VideoProvider that
439 // it wishes to pause due to multi-tasking.
442 // For now, we'll assume if the request is from pause to pause, we'll still try to
451 Log.i(this, "maybeFilterPauseResume: isPauseRequest (from=%s, to=%s)",
456 // Note: We don't want to remove the "pause" in the "special case" scenario. If we
460 // Video was already paused, so remove the pause in the "to" profile.
470 // If the request is to turn on/off the camera, it might be in the unfortunate format:
480 + "skipping (from=%s, to=%s)",
485 Log.i(this, "maybeFilterPauseResume: isResumeRequest (from=%s, to=%s)",
501 * Issues a request to pause the video using {@link VideoProfile#STATE_PAUSED} from a source
504 * @param fromVideoState The current video state (prior to issuing the pause).
526 * Issues a request to resume the video using {@link VideoProfile#STATE_PAUSED} from a source
529 * @param fromVideoState The current video state (prior to issuing the resume).
534 // We are the last source to resume, so resume now.
565 * Called by {@code ImsPhoneConnection} when there is a change to the video state of the call.
589 * Used to reject incoming video requests when video is disabled locally due to data being