Exemplo n.º 1
0
 public virtual void writeToParcel(android.os.Parcel dest, int parcelableFlags)
 {
     dest.writeString(packageName);
     dest.writeInt(versionCode);
     dest.writeString(versionName);
     dest.writeString(sharedUserId);
     dest.writeInt(sharedUserLabel);
     if (applicationInfo != null)
     {
         dest.writeInt(1);
         applicationInfo.writeToParcel(dest, parcelableFlags);
     }
     else
     {
         dest.writeInt(0);
     }
     dest.writeLong(firstInstallTime);
     dest.writeLong(lastUpdateTime);
     dest.writeIntArray(gids);
     dest.writeTypedArray(activities, parcelableFlags);
     dest.writeTypedArray(receivers, parcelableFlags);
     dest.writeTypedArray(services, parcelableFlags);
     dest.writeTypedArray(providers, parcelableFlags);
     dest.writeTypedArray(instrumentation, parcelableFlags);
     dest.writeTypedArray(permissions, parcelableFlags);
     dest.writeStringArray(requestedPermissions);
     dest.writeTypedArray(signatures, parcelableFlags);
     dest.writeTypedArray(configPreferences, parcelableFlags);
     dest.writeTypedArray(reqFeatures, parcelableFlags);
     dest.writeInt(installLocation);
 }
Exemplo n.º 2
0
 public virtual void writeToParcel(android.os.Parcel dest, int flags)
 {
     dest.writeInt(flPos);
     dest.writeInt(lastChildFlPos);
     dest.writeInt(gPos);
     dest.writeLong(gId);
 }
Exemplo n.º 3
0
            protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
                                                        reply, int flags)
            {
                switch (code)
                {
                case android.os.IBinderClass.INTERFACE_TRANSACTION:
                {
                    reply.writeString(DESCRIPTOR);
                    return(true);
                }

                case TRANSACTION_windowsVisible:
                {
                    data.enforceInterface(DESCRIPTOR);
                    this.windowsVisible();
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_windowsGone:
                {
                    data.enforceInterface(DESCRIPTOR);
                    this.windowsGone();
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_keyDispatchingTimedOut:
                {
                    data.enforceInterface(DESCRIPTOR);
                    bool _result = this.keyDispatchingTimedOut();
                    reply.writeNoException();
                    reply.writeInt(((_result) ? (1) : (0)));
                    return(true);
                }

                case TRANSACTION_getKeyDispatchingTimeout:
                {
                    data.enforceInterface(DESCRIPTOR);
                    long _result = this.getKeyDispatchingTimeout();
                    reply.writeNoException();
                    reply.writeLong(_result);
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
Exemplo n.º 4
0
            protected internal override bool onTransact(int code, android.os.Parcel data, android.os.Parcel
                                                        reply, int flags)
            {
                switch (code)
                {
                case android.os.IBinderClass.INTERFACE_TRANSACTION:
                {
                    reply.writeString(DESCRIPTOR);
                    return(true);
                }

                case TRANSACTION_onDataSetChanged:
                {
                    data.enforceInterface(DESCRIPTOR);
                    this.onDataSetChanged();
                    reply.writeNoException();
                    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.ParcelableClass.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.ParcelableClass.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);
                    bool _result = this.hasStableIds();
                    reply.writeNoException();
                    reply.writeInt(((_result) ? (1) : (0)));
                    return(true);
                }

                case TRANSACTION_isCreated:
                {
                    data.enforceInterface(DESCRIPTOR);
                    bool _result = this.isCreated();
                    reply.writeNoException();
                    reply.writeInt(((_result) ? (1) : (0)));
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
Exemplo n.º 5
0
 public override void writeToParcel(android.os.Parcel @out, int flags)
 {
     base.writeToParcel(@out, flags);
     @out.writeLong(selectedId);
     @out.writeInt(position);
 }