Пример #1
0
 private CompatibilityInfo(android.os.Parcel source)
 {
     mCompatibilityFlags      = source.readInt();
     applicationDensity       = source.readInt();
     applicationScale         = source.readFloat();
     applicationInvertedScale = source.readFloat();
 }
Пример #2
0
 /// <summary>
 /// Set the rectangle's coordinates from the data stored in the specified
 /// parcel.
 /// </summary>
 /// <remarks>
 /// Set the rectangle's coordinates from the data stored in the specified
 /// parcel. To write a rectangle to a parcel, call writeToParcel().
 /// </remarks>
 /// <param name="in">The parcel to read the rectangle's coordinates from</param>
 public void readFromParcel(android.os.Parcel @in)
 {
     left   = @in.readInt();
     top    = @in.readInt();
     right  = @in.readInt();
     bottom = @in.readInt();
 }
Пример #3
0
        private PackageInfo(android.os.Parcel source)
        {
            packageName     = source.readString();
            versionCode     = source.readInt();
            versionName     = source.readString();
            sharedUserId    = source.readString();
            sharedUserLabel = source.readInt();
            int hasApp = source.readInt();

            if (hasApp != 0)
            {
                applicationInfo = android.content.pm.ApplicationInfo.CREATOR.createFromParcel(source
                                                                                              );
            }
            firstInstallTime = source.readLong();
            lastUpdateTime   = source.readLong();
            gids             = source.createIntArray();
            activities       = source.createTypedArray(android.content.pm.ActivityInfo.CREATOR);
            receivers        = source.createTypedArray(android.content.pm.ActivityInfo.CREATOR);
            services         = source.createTypedArray(android.content.pm.ServiceInfo.CREATOR);
            providers        = source.createTypedArray(android.content.pm.ProviderInfo.CREATOR);
            instrumentation  = source.createTypedArray(android.content.pm.InstrumentationInfo.
                                                       CREATOR);
            permissions          = source.createTypedArray(android.content.pm.PermissionInfo.CREATOR);
            requestedPermissions = source.createStringArray();
            signatures           = source.createTypedArray(android.content.pm.Signature.CREATOR);
            configPreferences    = source.createTypedArray(android.content.pm.ConfigurationInfo.
                                                           CREATOR);
            reqFeatures     = source.createTypedArray(android.content.pm.FeatureInfo.CREATOR);
            installLocation = source.readInt();
        }
Пример #4
0
 private ObbInfo(android.os.Parcel source)
 {
     filename    = source.readString();
     packageName = source.readString();
     version     = source.readInt();
     flags       = source.readInt();
     salt        = source.createByteArray();
 }
Пример #5
0
 private ConfigurationInfo(android.os.Parcel source)
 {
     reqTouchScreen   = source.readInt();
     reqKeyboardType  = source.readInt();
     reqNavigation    = source.readInt();
     reqInputFeatures = source.readInt();
     reqGlEsVersion   = source.readInt();
 }
Пример #6
0
 private PermissionInfo(android.os.Parcel source) : base(source)
 {
     group                   = source.readString();
     descriptionRes          = source.readInt();
     protectionLevel         = source.readInt();
     nonLocalizedDescription = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel
                                   (source);
 }
Пример #7
0
 protected internal ComponentInfo(android.os.Parcel source) : base(source)
 {
     applicationInfo = android.content.pm.ApplicationInfo.CREATOR.createFromParcel(source
                                                                                   );
     processName    = source.readString();
     descriptionRes = source.readInt();
     enabled        = (source.readInt() != 0);
     exported       = (source.readInt() != 0);
 }
Пример #8
0
 public virtual void readFromParcel(android.os.Parcel @in)
 {
     this.iconPackage        = @in.readString();
     this.iconId             = @in.readInt();
     this.iconLevel          = @in.readInt();
     this.visible            = @in.readInt() != 0;
     this.number             = @in.readInt();
     this.contentDescription = @in.readCharSequence();
 }
Пример #9
0
 private InstrumentationInfo(android.os.Parcel source) : base(source)
 {
     targetPackage    = source.readString();
     sourceDir        = source.readString();
     publicSourceDir  = source.readString();
     dataDir          = source.readString();
     nativeLibraryDir = source.readString();
     handleProfiling  = source.readInt() != 0;
     functionalTest   = source.readInt() != 0;
 }
Пример #10
0
 protected internal PackageItemInfo(android.os.Parcel source)
 {
     name              = source.readString();
     packageName       = source.readString();
     labelRes          = source.readInt();
     nonLocalizedLabel = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel
                             (source);
     icon     = source.readInt();
     logo     = source.readInt();
     metaData = source.readBundle();
 }
Пример #11
0
 private ProviderInfo(android.os.Parcel @in) : base(@in)
 {
     authority             = @in.readString();
     readPermission        = @in.readString();
     writePermission       = @in.readString();
     grantUriPermissions   = @in.readInt() != 0;
     uriPermissionPatterns = @in.createTypedArray(android.os.PatternMatcher.CREATOR);
     pathPermissions       = @in.createTypedArray(android.content.pm.PathPermission.CREATOR);
     multiprocess          = @in.readInt() != 0;
     initOrder             = @in.readInt();
     isSyncable            = @in.readInt() != 0;
 }
Пример #12
0
 public virtual android.widget.RemoteViews getLoadingView()
 {
     android.os.Parcel          _data  = android.os.Parcel.obtain();
     android.os.Parcel          _reply = android.os.Parcel.obtain();
     android.widget.RemoteViews _result;
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact(android.widget.@internal.IRemoteViewsFactoryClass.Stub.TRANSACTION_getLoadingView
                          , _data, _reply, 0);
         _reply.readException();
         if ((0 != _reply.readInt()))
         {
             _result = android.widget.RemoteViews.CREATOR.createFromParcel(_reply);
         }
         else
         {
             _result = null;
         }
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
     return(_result);
 }
Пример #13
0
 public virtual android.appwidget.AppWidgetProviderInfo getAppWidgetInfo(int appWidgetId
                                                                         )
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     android.appwidget.AppWidgetProviderInfo _result;
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(appWidgetId);
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_getAppWidgetInfo
                          , _data, _reply, 0);
         _reply.readException();
         if ((0 != _reply.readInt()))
         {
             _result = android.appwidget.AppWidgetProviderInfo.CREATOR.createFromParcel(_reply
                                                                                        );
         }
         else
         {
             _result = null;
         }
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
     return(_result);
 }
Пример #14
0
 public virtual void readFromParcel(android.os.Parcel @in)
 {
     this.pkg = @in.readString();
     this.id  = @in.readInt();
     if (@in.readInt() != 0)
     {
         this.tag = @in.readString();
     }
     else
     {
         this.tag = null;
     }
     this.uid          = @in.readInt();
     this.initialPid   = @in.readInt();
     this.priority     = @in.readInt();
     this.notification = new android.app.Notification(@in);
 }
Пример #15
0
        private PackageInfoLite(android.os.Parcel source)
        {
            packageName = source.readString();
            recommendedInstallLocation = source.readInt();
            installLocation            = source.readInt();
            int verifiersLength = source.readInt();

            if (verifiersLength == 0)
            {
                verifiers = new android.content.pm.VerifierInfo[0];
            }
            else
            {
                verifiers = new android.content.pm.VerifierInfo[verifiersLength];
                source.readTypedArray(verifiers, android.content.pm.VerifierInfo.CREATOR);
            }
        }
Пример #16
0
 public android.view.DragEvent createFromParcel(android.os.Parcel @in)
 {
     android.view.DragEvent @event = android.view.DragEvent.obtain();
     @event.mAction     = @in.readInt();
     @event.mX          = @in.readFloat();
     @event.mY          = @in.readFloat();
     @event.mDragResult = (@in.readInt() != 0);
     if (@in.readInt() != 0)
     {
         @event.mClipData = android.content.ClipData.CREATOR.createFromParcel(@in);
     }
     if (@in.readInt() != 0)
     {
         @event.mClipDescription = android.content.ClipDescription.CREATOR.createFromParcel
                                       (@in);
     }
     return(@event);
 }
Пример #17
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_updateAppWidget:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.widget.RemoteViews _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.updateAppWidget(_arg0, _arg1);
                    return(true);
                }

                case TRANSACTION_providerChanged:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.appwidget.AppWidgetProviderInfo _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.appwidget.AppWidgetProviderInfo.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.providerChanged(_arg0, _arg1);
                    return(true);
                }

                case TRANSACTION_viewDataChanged:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    int _arg1;
                    _arg1 = data.readInt();
                    this.viewDataChanged(_arg0, _arg1);
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
Пример #18
0
        public virtual void readFromParcel(android.os.Parcel @in)
        {
            this.mSlots = @in.readStringArray();
            int N = @in.readInt();

            if (N < 0)
            {
                mIcons = null;
            }
            else
            {
                mIcons = new [email protected][N];
                {
                    for (int i = 0; i < N; i++)
                    {
                        if (@in.readInt() != 0)
                        {
                            mIcons[i] = new [email protected](@in);
                        }
                    }
                }
            }
        }
Пример #19
0
 private ActivityInfo(android.os.Parcel source) : base(source)
 {
     theme             = source.readInt();
     launchMode        = source.readInt();
     permission        = source.readString();
     taskAffinity      = source.readString();
     targetActivity    = source.readString();
     flags             = source.readInt();
     screenOrientation = source.readInt();
     configChanges     = source.readInt();
     softInputMode     = source.readInt();
     uiOptions         = source.readInt();
 }
Пример #20
0
            public android.content.res.ColorStateList createFromParcel(android.os.Parcel source
                                                                       )
            {
                int N = source.readInt();

                int[][] stateSpecs = new int[N][];
                {
                    for (int i = 0; i < N; i++)
                    {
                        stateSpecs[i] = source.createIntArray();
                    }
                }
                int[] colors = source.createIntArray();
                return(new android.content.res.ColorStateList(stateSpecs, colors));
            }
Пример #21
0
 /// <summary>Create a MPDTrack from a parcel</summary>
 /// <param name="in">Parcel to deserialize</param>
 protected internal MPDTrack(android.os.Parcel @in)
     : base(@in.readString())
 {
     pTrackTitle           = @in.readString();
     pTrackAlbum           = @in.readString();
     pTrackArtist          = @in.readString();
     pTrackAlbumArtist     = @in.readString();
     pDate                 = @in.readString();
     pTrackMBID            = @in.readString();
     pTrackAlbumMBID       = @in.readString();
     pTrackArtistMBID      = @in.readString();
     pTrackAlbumArtistMBID = @in.readString();
     pLength               = @in.readInt();
     pTrackNumber          = @in.readInt();
     pAlbumTrackCount      = @in.readInt();
     pDiscNumber           = @in.readInt();
     pAlbumDiscCount       = @in.readInt();
     pSongPosition         = @in.readInt();
     pSongID               = @in.readInt();
     pImageFetching        = @in.readInt() == 1;
 }
Пример #22
0
            public android.view.InputEvent createFromParcel(android.os.Parcel @in)
            {
                int token = @in.readInt();

                if (token == android.view.InputEvent.PARCEL_TOKEN_KEY_EVENT)
                {
                    return(android.view.KeyEvent.createFromParcelBody(@in));
                }
                else
                {
                    if (token == android.view.InputEvent.PARCEL_TOKEN_MOTION_EVENT)
                    {
                        return(android.view.MotionEvent.createFromParcelBody(@in));
                    }
                    else
                    {
                        throw new System.InvalidOperationException("Unexpected input event type token in parcel."
                                                                   );
                    }
                }
            }
Пример #23
0
                public virtual bool isCreated()
                {
                    android.os.Parcel _data  = android.os.Parcel.obtain();
                    android.os.Parcel _reply = android.os.Parcel.obtain();
                    bool _result;

                    try
                    {
                        _data.writeInterfaceToken(DESCRIPTOR);
                        mRemote.transact(android.widget.@internal.IRemoteViewsFactoryClass.Stub.TRANSACTION_isCreated
                                         , _data, _reply, 0);
                        _reply.readException();
                        _result = (0 != _reply.readInt());
                    }
                    finally
                    {
                        _reply.recycle();
                        _data.recycle();
                    }
                    return(_result);
                }
Пример #24
0
                public virtual bool keyDispatchingTimedOut()
                {
                    android.os.Parcel _data  = android.os.Parcel.obtain();
                    android.os.Parcel _reply = android.os.Parcel.obtain();
                    bool _result;

                    try
                    {
                        _data.writeInterfaceToken(DESCRIPTOR);
                        mRemote.transact(android.view.IApplicationTokenClass.Stub.TRANSACTION_keyDispatchingTimedOut
                                         , _data, _reply, 0);
                        _reply.readException();
                        _result = (0 != _reply.readInt());
                    }
                    finally
                    {
                        _reply.recycle();
                        _data.recycle();
                    }
                    return(_result);
                }
Пример #25
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_onKeyguardExitResult:
                {
                    data.enforceInterface(DESCRIPTOR);
                    bool _arg0;
                    _arg0 = (0 != data.readInt());
                    this.onKeyguardExitResult(_arg0);
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
Пример #26
0
 public virtual void registerStatusBar([email protected] callbacks
                                       , [email protected] iconList, java.util.List <android.os.IBinder
                                                                                                                 > notificationKeys, java.util.List <*****@*****.**
                                                                                                                                                     > notifications, int[] switches, java.util.List <android.os.IBinder> binders)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder((((callbacks != null)) ? (callbacks.asBinder()) : (null))
                                 );
         if ((switches == null))
         {
             _data.writeInt(-1);
         }
         else
         {
             _data.writeInt(switches.Length);
         }
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_registerStatusBar
                          , _data, _reply, 0);
         _reply.readException();
         if ((0 != _reply.readInt()))
         {
             iconList.readFromParcel(_reply);
         }
         _reply.readBinderList(notificationKeys);
         _reply.readTypedList(notifications, [email protected]
                              .CREATOR);
         _reply.readIntArray(switches);
         _reply.readBinderList(binders);
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Пример #27
0
                public virtual int allocateAppWidgetId(string packageName, int hostId)
                {
                    android.os.Parcel _data  = android.os.Parcel.obtain();
                    android.os.Parcel _reply = android.os.Parcel.obtain();
                    int _result;

                    try
                    {
                        _data.writeInterfaceToken(DESCRIPTOR);
                        _data.writeString(packageName);
                        _data.writeInt(hostId);
                        mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_allocateAppWidgetId
                                         , _data, _reply, 0);
                        _reply.readException();
                        _result = _reply.readInt();
                    }
                    finally
                    {
                        _reply.recycle();
                        _data.recycle();
                    }
                    return(_result);
                }
Пример #28
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_startListening:
                {
                    data.enforceInterface(DESCRIPTOR);
                    [email protected] _arg0;
                    _arg0 = [email protected](data.readStrongBinder
                                                                                                 ());
                    string _arg1;
                    _arg1 = data.readString();
                    int _arg2;
                    _arg2 = data.readInt();
                    java.util.List <android.widget.RemoteViews> _arg3;
                    _arg3 = new java.util.ArrayList <android.widget.RemoteViews>();
                    int[] _result = this.startListening(_arg0, _arg1, _arg2, _arg3);
                    reply.writeNoException();
                    reply.writeIntArray(_result);
                    reply.writeTypedList(_arg3);
                    return(true);
                }

                case TRANSACTION_stopListening:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    this.stopListening(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_allocateAppWidgetId:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    int _arg1;
                    _arg1 = data.readInt();
                    int _result = this.allocateAppWidgetId(_arg0, _arg1);
                    reply.writeNoException();
                    reply.writeInt(_result);
                    return(true);
                }

                case TRANSACTION_deleteAppWidgetId:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    this.deleteAppWidgetId(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_deleteHost:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    this.deleteHost(_arg0);
                    reply.writeNoException();
                    return(true);
                }

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

                case TRANSACTION_getAppWidgetViews:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.widget.RemoteViews _result = this.getAppWidgetViews(_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_updateAppWidgetIds:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int[] _arg0;
                    _arg0 = data.createIntArray();
                    android.widget.RemoteViews _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.updateAppWidgetIds(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_partiallyUpdateAppWidgetIds:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int[] _arg0;
                    _arg0 = data.createIntArray();
                    android.widget.RemoteViews _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.partiallyUpdateAppWidgetIds(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_updateAppWidgetProvider:
                {
                    data.enforceInterface(DESCRIPTOR);
                    android.content.ComponentName _arg0;
                    if ((0 != data.readInt()))
                    {
                        _arg0 = android.content.ComponentName.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg0 = null;
                    }
                    android.widget.RemoteViews _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.widget.RemoteViews.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.updateAppWidgetProvider(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_notifyAppWidgetViewDataChanged:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int[] _arg0;
                    _arg0 = data.createIntArray();
                    int _arg1;
                    _arg1 = data.readInt();
                    this.notifyAppWidgetViewDataChanged(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_getInstalledProviders:
                {
                    data.enforceInterface(DESCRIPTOR);
                    java.util.List <android.appwidget.AppWidgetProviderInfo> _result = this.getInstalledProviders
                                                                                           ();
                    reply.writeNoException();
                    reply.writeTypedList(_result);
                    return(true);
                }

                case TRANSACTION_getAppWidgetInfo:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.appwidget.AppWidgetProviderInfo _result = this.getAppWidgetInfo(_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_bindAppWidgetId:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.content.ComponentName _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.content.ComponentName.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.bindAppWidgetId(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_bindRemoteViewsService:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.content.Intent _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.content.Intent.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    android.os.IBinder _arg2;
                    _arg2 = data.readStrongBinder();
                    this.bindRemoteViewsService(_arg0, _arg1, _arg2);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_unbindRemoteViewsService:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.content.Intent _arg1;
                    if ((0 != data.readInt()))
                    {
                        _arg1 = android.content.Intent.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg1 = null;
                    }
                    this.unbindRemoteViewsService(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_getAppWidgetIds:
                {
                    data.enforceInterface(DESCRIPTOR);
                    android.content.ComponentName _arg0;
                    if ((0 != data.readInt()))
                    {
                        _arg0 = android.content.ComponentName.CREATOR.createFromParcel(data);
                    }
                    else
                    {
                        _arg0 = null;
                    }
                    int[] _result = this.getAppWidgetIds(_arg0);
                    reply.writeNoException();
                    reply.writeIntArray(_result);
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
Пример #29
0
 internal SavedState(android.os.Parcel @in) : base(@in)
 {
     mHour   = @in.readInt();
     mMinute = @in.readInt();
 }
Пример #30
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));
            }