content: /*___Generated_by_IDEA___*/
  
  /*
   * This file is auto-generated.  DO NOT MODIFY.
   */
  package com.android.internal.widget;
  /** {@hide} */
  public interface IRemoteViewsFactory extends android.os.IInterface
  {
    /** Default implementation for IRemoteViewsFactory. */
    public static class Default implements com.android.internal.widget.IRemoteViewsFactory
    {
      @Override public void onDataSetChanged() throws android.os.RemoteException
      {
      }
      @Override public void onDataSetChangedAsync() throws android.os.RemoteException
      {
      }
      @Override public void onDestroy(android.content.Intent intent) throws android.os.RemoteException
      {
      }
      @Override public int getCount() throws android.os.RemoteException
      {
        return 0;
      }
      @Override public android.widget.RemoteViews getViewAt(int position) throws android.os.RemoteException
      {
        return null;
      }
      @Override public android.widget.RemoteViews getLoadingView() throws android.os.RemoteException
      {
        return null;
      }
      @Override public int getViewTypeCount() throws android.os.RemoteException
      {
        return 0;
      }
      @Override public long getItemId(int position) throws android.os.RemoteException
      {
        return 0L;
      }
      @Override public boolean hasStableIds() throws android.os.RemoteException
      {
        return false;
      }
      @Override public boolean isCreated() throws android.os.RemoteException
      {
        return false;
      }
      @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.internal.widget.IRemoteViewsFactory
    {
      private static final java.lang.String DESCRIPTOR = "com.android.internal.widget.IRemoteViewsFactory";
      /** Construct the stub at attach it to the interface. */
      public Stub()
      {
        this.attachInterface(this, DESCRIPTOR);
      }
      /**
       * Cast an IBinder object into an com.android.internal.widget.IRemoteViewsFactory interface,
       * generating a proxy if needed.
       */
      public static com.android.internal.widget.IRemoteViewsFactory asInterface(android.os.IBinder obj)
      {
        if ((obj==null)) {
          return null;
        }
        android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
        if (((iin!=null)&&(iin instanceof com.android.internal.widget.IRemoteViewsFactory))) {
          return ((com.android.internal.widget.IRemoteViewsFactory)iin);
        }
        return new com.android.internal.widget.IRemoteViewsFactory.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_onDataSetChanged:
          {
            data.enforceInterface(descriptor);
            this.onDataSetChanged();
            reply.writeNoException();
            return true;
          }
          case TRANSACTION_onDataSetChangedAsync:
          {
            data.enforceInterface(descriptor);
            this.onDataSetChangedAsync();
            return true;
          }
          case TRANSACTION_onDestroy:
          {
            data.enforceInterface(descriptor);
            android.content.Intent _arg0;
            if ((0!=data.readInt())) {
              _arg0 = android.content.Intent.CREATOR.createFromParcel(data);
            }
            else {
              _arg0 = null;
            }
            this.onDestroy(_arg0);
            return true;
          }
          case TRANSACTION_getCount:
          {
            data.enforceInterface(descriptor);
            int _result = this.getCount();
            reply.writeNoException();
            reply.writeInt(_result);
            return true;
          }
          case TRANSACTION_getViewAt:
          {
            data.enforceInterface(descriptor);
            int _arg0;
            _arg0 = data.readInt();
            android.widget.RemoteViews _result = this.getViewAt(_arg0);
            reply.writeNoException();
            if ((_result!=null)) {
              reply.writeInt(1);
              _result.writeToParcel(reply, android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
            }
            else {
              reply.writeInt(0);
            }
            return true;
          }
          case TRANSACTION_getLoadingView:
          {
            data.enforceInterface(descriptor);
            android.widget.RemoteViews _result = this.getLoadingView();
            reply.writeNoException();
            if ((_result!=null)) {
              reply.writeInt(1);
              _result.writeToParcel(reply, android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
            }
            else {
              reply.writeInt(0);
            }
            return true;
          }
          case TRANSACTION_getViewTypeCount:
          {
            data.enforceInterface(descriptor);
            int _result = this.getViewTypeCount();
            reply.writeNoException();
            reply.writeInt(_result);
            return true;
          }
          case TRANSACTION_getItemId:
          {
            data.enforceInterface(descriptor);
            int _arg0;
            _arg0 = data.readInt();
            long _result = this.getItemId(_arg0);
            reply.writeNoException();
            reply.writeLong(_result);
            return true;
          }
          case TRANSACTION_hasStableIds:
          {
            data.enforceInterface(descriptor);
            boolean _result = this.hasStableIds();
            reply.writeNoException();
            reply.writeInt(((_result)?(1):(0)));
            return true;
          }
          case TRANSACTION_isCreated:
          {
            data.enforceInterface(descriptor);
            boolean _result = this.isCreated();
            reply.writeNoException();
            reply.writeInt(((_result)?(1):(0)));
            return true;
          }
          default:
          {
            return super.onTransact(code, data, reply, flags);
          }
        }
      }
      private static class Proxy implements com.android.internal.widget.IRemoteViewsFactory
      {
        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 onDataSetChanged() throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            boolean _status = mRemote.transact(Stub.TRANSACTION_onDataSetChanged, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().onDataSetChanged();
              return;
            }
            _reply.readException();
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
        }
        @Override public void onDataSetChangedAsync() throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            boolean _status = mRemote.transact(Stub.TRANSACTION_onDataSetChangedAsync, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().onDataSetChangedAsync();
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public void onDestroy(android.content.Intent intent) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            if ((intent!=null)) {
              _data.writeInt(1);
              intent.writeToParcel(_data, 0);
            }
            else {
              _data.writeInt(0);
            }
            boolean _status = mRemote.transact(Stub.TRANSACTION_onDestroy, _data, null, android.os.IBinder.FLAG_ONEWAY);
            if (!_status && getDefaultImpl() != null) {
              getDefaultImpl().onDestroy(intent);
              return;
            }
          }
          finally {
            _data.recycle();
          }
        }
        @Override public int getCount() throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          int _result;
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            boolean _status = mRemote.transact(Stub.TRANSACTION_getCount, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              return getDefaultImpl().getCount();
            }
            _reply.readException();
            _result = _reply.readInt();
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
          return _result;
        }
        @Override public android.widget.RemoteViews getViewAt(int position) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          android.widget.RemoteViews _result;
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            _data.writeInt(position);
            boolean _status = mRemote.transact(Stub.TRANSACTION_getViewAt, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              return getDefaultImpl().getViewAt(position);
            }
            _reply.readException();
            if ((0!=_reply.readInt())) {
              _result = android.widget.RemoteViews.CREATOR.createFromParcel(_reply);
            }
            else {
              _result = null;
            }
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
          return _result;
        }
        @Override public android.widget.RemoteViews getLoadingView() throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          android.widget.RemoteViews _result;
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            boolean _status = mRemote.transact(Stub.TRANSACTION_getLoadingView, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              return getDefaultImpl().getLoadingView();
            }
            _reply.readException();
            if ((0!=_reply.readInt())) {
              _result = android.widget.RemoteViews.CREATOR.createFromParcel(_reply);
            }
            else {
              _result = null;
            }
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
          return _result;
        }
        @Override public int getViewTypeCount() throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          int _result;
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            boolean _status = mRemote.transact(Stub.TRANSACTION_getViewTypeCount, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              return getDefaultImpl().getViewTypeCount();
            }
            _reply.readException();
            _result = _reply.readInt();
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
          return _result;
        }
        @Override public long getItemId(int position) throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          long _result;
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            _data.writeInt(position);
            boolean _status = mRemote.transact(Stub.TRANSACTION_getItemId, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              return getDefaultImpl().getItemId(position);
            }
            _reply.readException();
            _result = _reply.readLong();
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
          return _result;
        }
        @Override public boolean hasStableIds() throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          boolean _result;
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            boolean _status = mRemote.transact(Stub.TRANSACTION_hasStableIds, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              return getDefaultImpl().hasStableIds();
            }
            _reply.readException();
            _result = (0!=_reply.readInt());
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
          return _result;
        }
        @Override public boolean isCreated() throws android.os.RemoteException
        {
          android.os.Parcel _data = android.os.Parcel.obtain();
          android.os.Parcel _reply = android.os.Parcel.obtain();
          boolean _result;
          try {
            _data.writeInterfaceToken(DESCRIPTOR);
            boolean _status = mRemote.transact(Stub.TRANSACTION_isCreated, _data, _reply, 0);
            if (!_status && getDefaultImpl() != null) {
              return getDefaultImpl().isCreated();
            }
            _reply.readException();
            _result = (0!=_reply.readInt());
          }
          finally {
            _reply.recycle();
            _data.recycle();
          }
          return _result;
        }
        public static com.android.internal.widget.IRemoteViewsFactory sDefaultImpl;
      }
      static final int TRANSACTION_onDataSetChanged = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
      static final int TRANSACTION_onDataSetChangedAsync = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
      static final int TRANSACTION_onDestroy = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
      static final int TRANSACTION_getCount = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
      static final int TRANSACTION_getViewAt = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
      static final int TRANSACTION_getLoadingView = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
      static final int TRANSACTION_getViewTypeCount = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6);
      static final int TRANSACTION_getItemId = (android.os.IBinder.FIRST_CALL_TRANSACTION + 7);
      static final int TRANSACTION_hasStableIds = (android.os.IBinder.FIRST_CALL_TRANSACTION + 8);
      static final int TRANSACTION_isCreated = (android.os.IBinder.FIRST_CALL_TRANSACTION + 9);
      public static boolean setDefaultImpl(com.android.internal.widget.IRemoteViewsFactory 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.internal.widget.IRemoteViewsFactory getDefaultImpl() {
        return Stub.Proxy.sDefaultImpl;
      }
    }
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:24:1:24:25")
    public void onDataSetChanged() throws android.os.RemoteException;
    public void onDataSetChangedAsync() throws android.os.RemoteException;
    public void onDestroy(android.content.Intent intent) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:28:1:28:25")
    public int getCount() throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:30:1:30:25")
    public android.widget.RemoteViews getViewAt(int position) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:32:1:32:25")
    public android.widget.RemoteViews getLoadingView() throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:34:1:34:25")
    public int getViewTypeCount() throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:36:1:36:25")
    public long getItemId(int position) throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:38:1:38:25")
    public boolean hasStableIds() throws android.os.RemoteException;
    @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="/Volumes/1tdisk/Android10/android-10.0.0_r41/frameworks/base/core/java/com/android/internal/widget/IRemoteViewsFactory.aidl:40:1:40:25")
    public boolean isCreated() throws android.os.RemoteException;
  }
  