content: /*___Generated_by_IDEA___*/
  
  /*
   * This file is auto-generated.  DO NOT MODIFY.
   */
  package com.android.ims.internal;
  /**
   * Internal remote interface for IMS's video call provider.
   *
   * At least initially, this aidl mirrors telecomm's {@link VideoCallCallback}. We created a
   * separate aidl interface for invoking callbacks in Telephony from the IMS Service to without
   * accessing internal interfaces. See {@link IImsVideoCallProvider} for additional detail.
   *
   * @see android.telecom.internal.IVideoCallCallback
   * @see android.telecom.VideoCallImpl
   *
   * {@hide}
   */
  public interface IImsVideoCallCallback extends android.os.IInterface
  {
    /** Default implementation for IImsVideoCallCallback. */
    public static class Default implements com.android.ims.internal.IImsVideoCallCallback
    {
      @Override public void receiveSessionModifyRequest(android.telecom.VideoProfile videoProfile) throws android.os.RemoteException
      {
      }
      @Override public void receiveSessionModifyResponse(int status, android.telecom.VideoProfile requestedProfile, android.telecom.VideoProfile responseProfile) throws android.os.RemoteException
      {
      }
      @Override public void handleCallSessionEvent(int event) throws android.os.RemoteException
      {
      }
      @Override public void changePeerDimensions(int width, int height) throws android.os.RemoteException
      {
      }
      @Override public void changeCallDataUsage(long dataUsage) throws android.os.RemoteException
      {
      }
      @Override public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities cameraCapabilities) throws android.os.RemoteException
      {
      }
      @Override public void changeVideoQuality(int videoQuality) throws android.os.RemoteException
      {
      }
      @Override
      public android.os.IBinder asBinder() {
        return null;
      }
    }
    /** Local-side IPC implementation stub class. */
    public static abstract class Stub extends android.os.Binder implements com.android.ims.internal.IImsVideoCallCallback
    {
      private static final java.lang.String DESCRIPTOR = "com.android.ims.internal.IImsVideoCallCallback";
      /** Construct the stub at attach it to the interface. */
      public Stub()
      {
        this.attachInterface(this, DESCRIPTOR);
      }
      /**
       * Cast an IBinder object into an com.android.ims.internal.IImsVideoCallCallback interface,
       * generating a proxy if needed.
       */
      public static com.android.ims.internal.IImsVideoCallCallback asInterface(android.os.IBinder obj)
      {
        if ((obj==null)) {
          return null;
        }
        android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
        if (((iin!=null)&&(iin instanceof com.android.ims.internal.IImsVideoCallCallback))) {
          return ((com.android.ims.internal.IImsVideoCallCallback)iin);
        }
        return new com.android.ims.internal.IImsVideoCallCallback.Stub.Proxy(obj);
      }
      @Override public android.os.IBinder asBinder()
      {
        return this;
      }
      @Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
      {
        java.lang.String descriptor = DESCRIPTOR;
        switch (code)
        {
          case INTERFACE_TRANSACTION:
          {
            reply.writeString(descriptor);
            return true;
          }
          case TRANSACTION_receiveSessionModifyRequest:
          {
            data.enforceInterface(descriptor);
            android.telecom.VideoProfile _arg0;
            if ((0!=data.readInt())) {
              _arg0 = android.telecom.VideoProfile.CREATOR.createFromParcel(data);
            }
            else {
              _arg0 = null;
            }
            this.receiveSessionModifyRequest(_arg0);
            return true;
          }
          case TRANSACTION_receiveSessionModifyResponse:
          {
            data.enforceInterface(descriptor);
            int _arg0;
            _arg0 = data.readInt();
            android.telecom.VideoProfile _arg1;
            if ((0!=data.readInt())) {
              _arg1 = android.telecom.VideoProfile.CREATOR.createFromParcel(data);
            }
            else {
              _arg1 = null;
            }
            android.telecom.VideoProfile _arg2;
            if ((0!=data.readInt())) {
              _arg2 = android.telecom.VideoProfile.CREATOR.createFromParcel(data);
            }
            else {
              _arg2 = null;
            }
            this.receiveSessionModifyResponse(_arg0, _arg1, _arg2);
            return true;
          }
          case TRANSACTION_handleCallSessionEvent:
          {
            data.enforceInterface(descriptor);
            int _arg0;
            _arg0 = data.readInt();
            this.handleCallSessionEvent(_arg0);
            return true;
          }
          case TRANSACTION_changePeerDimensions:
          {
            data.enforceInterface(descriptor);
            int _arg0;
            _arg0 = data.readInt();
            int _arg1;
            _arg1 = data.readInt();
            this.changePeerDimensions(_arg0, _arg1);
            return true;
          }
          case TRANSACTION_changeCallDataUsage:
          {
            data.enforceInterface(descriptor);
            long _arg0;
            _arg0 = data.readLong();
            this.changeCallDataUsage(_arg0);
            return true;
          }
          case TRANSACTION_changeCameraCapabilities:
          {
            data.enforceInterface(descriptor);
            android.telecom.VideoProfile.CameraCapabilities _arg0;
            if ((0!=data.readInt())) {
              _arg0 = android.telecom.VideoProfile.CameraCapabilities.CREATOR.createFromParcel(data);
            }
            else {
              _arg0 = null;
            }
            this.changeCameraCapabilities(_arg0);
            return true;
          }
          case TRANSACTION_changeVideoQuality:
          {
            data.enforceInterface(descriptor);
            int _arg0;
            _arg0 = data.readInt();
            this.changeVideoQuality(_arg0);
            return true;
          }
          default:
          {
            return super.onTransact(code, data, reply, flags);
          }
        }
      }
      private static class Proxy implements com.android.ims.internal.IImsVideoCallCallback
      {
        private android.os.IBinder mRemote;
        Proxy(android.os.IBinder remote)
        {
          mRemote = remote;
        }
        @Override public android.os.IBinder asBinder()
        {
          return mRemote;
        }
        public java.lang.String getInterfaceDescriptor()
        {
          return DESCRIPTOR;
        }
        @Override public void receiveSessionModifyRequest(android.telecom.VideoProfile videoProfile) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            if ((videoProfile!=null)) {
              _data.writeInt(1);
              videoProfile.writeToParcel(_data, 0);
            }
            else {
              _data.writeInt(0);
            }
            boolean _status = mRemote.transact(Stub.TRANSACTION_receiveSessionModifyRequest, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().receiveSessionModifyRequest(videoProfile);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public void receiveSessionModifyResponse(int status, android.telecom.VideoProfile requestedProfile, android.telecom.VideoProfile responseProfile) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            _data.writeInt(status);
            if ((requestedProfile!=null)) {
              _data.writeInt(1);
              requestedProfile.writeToParcel(_data, 0);
            }
            else {
              _data.writeInt(0);
            }
            if ((responseProfile!=null)) {
              _data.writeInt(1);
              responseProfile.writeToParcel(_data, 0);
            }
            else {
              _data.writeInt(0);
            }
            boolean _status = mRemote.transact(Stub.TRANSACTION_receiveSessionModifyResponse, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().receiveSessionModifyResponse(status, requestedProfile, responseProfile);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public void handleCallSessionEvent(int event) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            _data.writeInt(event);
            boolean _status = mRemote.transact(Stub.TRANSACTION_handleCallSessionEvent, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().handleCallSessionEvent(event);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public void changePeerDimensions(int width, int height) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            _data.writeInt(width);
            _data.writeInt(height);
            boolean _status = mRemote.transact(Stub.TRANSACTION_changePeerDimensions, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().changePeerDimensions(width, height);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public void changeCallDataUsage(long dataUsage) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            _data.writeLong(dataUsage);
            boolean _status = mRemote.transact(Stub.TRANSACTION_changeCallDataUsage, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().changeCallDataUsage(dataUsage);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities cameraCapabilities) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            if ((cameraCapabilities!=null)) {
              _data.writeInt(1);
              cameraCapabilities.writeToParcel(_data, 0);
            }
            else {
              _data.writeInt(0);
            }
            boolean _status = mRemote.transact(Stub.TRANSACTION_changeCameraCapabilities, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().changeCameraCapabilities(cameraCapabilities);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public void changeVideoQuality(int videoQuality) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            _data.writeInt(videoQuality);
            boolean _status = mRemote.transact(Stub.TRANSACTION_changeVideoQuality, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().changeVideoQuality(videoQuality);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        public static com.android.ims.internal.IImsVideoCallCallback sDefaultImpl;
      }
      static final int TRANSACTION_receiveSessionModifyRequest = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
      static final int TRANSACTION_receiveSessionModifyResponse = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
      static final int TRANSACTION_handleCallSessionEvent = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
      static final int TRANSACTION_changePeerDimensions = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
      static final int TRANSACTION_changeCallDataUsage = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
      static final int TRANSACTION_changeCameraCapabilities = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
      static final int TRANSACTION_changeVideoQuality = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6);
      public static boolean setDefaultImpl(com.android.ims.internal.IImsVideoCallCallback impl) {
        // Only one user of this interface can use this function
        // at a time. This is a heuristic to detect if two different
        // users in the same process use this function.
        if (Stub.Proxy.sDefaultImpl != null) {
          throw new IllegalStateException("setDefaultImpl() called twice");
        }
        if (impl != null) {
          Stub.Proxy.sDefaultImpl = impl;
          return true;
        }
        return false;
      }
      public static com.android.ims.internal.IImsVideoCallCallback getDefaultImpl() {
        return Stub.Proxy.sDefaultImpl;
      }
    }
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl:34:1:34:25")
    public void receiveSessionModifyRequest(android.telecom.VideoProfile videoProfile) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl:37:1:37:25")
    public void receiveSessionModifyResponse(int status, android.telecom.VideoProfile requestedProfile, android.telecom.VideoProfile responseProfile) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl:41:1:41:25")
    public void handleCallSessionEvent(int event) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl:44:1:44:25")
    public void changePeerDimensions(int width, int height) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl:47:1:47:25")
    public void changeCallDataUsage(long dataUsage) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl:50:1:50:25")
    public void changeCameraCapabilities(android.telecom.VideoProfile.CameraCapabilities cameraCapabilities) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl:53:1:53:25")
    public void changeVideoQuality(int videoQuality) throws android.os.RemoteException;
  }
  