Ejemplo n.º 1
0
 public virtual void topAppWindowChanged(bool menuVisible)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(((menuVisible) ? (1) : (0)));
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_topAppWindowChanged
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Ejemplo n.º 2
0
 public virtual void setSystemUiVisibility(int vis)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(vis);
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_setSystemUiVisibility
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Ejemplo n.º 3
0
 public virtual void setHardKeyboardEnabled(bool enabled)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(((enabled) ? (1) : (0)));
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_setHardKeyboardEnabled
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Ejemplo n.º 4
0
 public virtual void setIconVisibility(string slot, bool visible)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeString(slot);
         _data.writeInt(((visible) ? (1) : (0)));
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_setIconVisibility
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Ejemplo n.º 5
0
 /// <summary>Serialized the MPDTrack object to a parcel.</summary>
 /// <remarks>
 /// Serialized the MPDTrack object to a parcel. Check that this method is equivalent with the
 /// deserializing creator above.
 /// </remarks>
 /// <param name="dest">Parcel to write the properties to</param>
 /// <param name="flags">Special flags</param>
 public virtual void writeToParcel(android.os.Parcel dest, int flags)
 {
     // Serialize MPDTrack properties
     dest.writeString(mPath);
     dest.writeString(pTrackTitle);
     dest.writeString(pTrackAlbum);
     dest.writeString(pTrackArtist);
     dest.writeString(pTrackAlbumArtist);
     dest.writeString(pDate);
     dest.writeString(pTrackMBID);
     dest.writeString(pTrackAlbumMBID);
     dest.writeString(pTrackArtistMBID);
     dest.writeString(pTrackAlbumArtistMBID);
     dest.writeInt(pLength);
     dest.writeInt(pTrackNumber);
     dest.writeInt(pAlbumTrackCount);
     dest.writeInt(pDiscNumber);
     dest.writeInt(pAlbumDiscCount);
     dest.writeInt(pSongPosition);
     dest.writeInt(pSongID);
     dest.writeInt(pImageFetching ? 1 : 0);
 }
Ejemplo n.º 6
0
 public virtual void disable(int what, android.os.IBinder token, string pkg)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(what);
         _data.writeStrongBinder(token);
         _data.writeString(pkg);
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_disable
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Ejemplo n.º 7
0
 public virtual void notifyAppWidgetViewDataChanged(int[] appWidgetIds, int viewId
                                                    )
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeIntArray(appWidgetIds);
         _data.writeInt(viewId);
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_notifyAppWidgetViewDataChanged
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Ejemplo n.º 8
0
 public virtual void onNotificationClear(string pkg, string tag, int id)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeString(pkg);
         _data.writeString(tag);
         _data.writeInt(id);
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_onNotificationClear
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Ejemplo n.º 9
0
                public virtual long getItemId(int position)
                {
                    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);
                        mRemote.transact(android.widget.@internal.IRemoteViewsFactoryClass.Stub.TRANSACTION_getItemId
                                         , _data, _reply, 0);
                        _reply.readException();
                        _result = _reply.readLong();
                    }
                    finally
                    {
                        _reply.recycle();
                        _data.recycle();
                    }
                    return(_result);
                }
Ejemplo n.º 10
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);
                }
Ejemplo n.º 11
0
 public virtual void writeToParcel(android.os.Parcel @out, int flags)
 {
     @out.writeString(this.pkg);
     @out.writeInt(this.id);
     if (this.tag != null)
     {
         @out.writeInt(1);
         @out.writeString(this.tag);
     }
     else
     {
         @out.writeInt(0);
     }
     @out.writeInt(this.uid);
     @out.writeInt(this.initialPid);
     @out.writeInt(this.priority);
     this.notification.writeToParcel(@out, flags);
 }
Ejemplo n.º 12
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));
            }
Ejemplo n.º 13
0
 public override void writeToParcel(android.os.Parcel dest, int flags)
 {
     base.writeToParcel(dest, flags);
     dest.writeInt(mHour);
     dest.writeInt(mMinute);
 }
Ejemplo n.º 14
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));
            }
Ejemplo n.º 15
0
 public virtual void writeToParcel(android.os.Parcel dest, int parcelableFlags)
 {
     dest.writeInt(id);
     dest.writeString(name);
     dest.writeInt(flags);
 }
Ejemplo n.º 16
0
 public override void writeToParcel(android.os.Parcel @out, int flags)
 {
     base.writeToParcel(@out, flags);
     @out.writeLong(selectedId);
     @out.writeInt(position);
 }
Ejemplo n.º 17
0
 public virtual void writeToParcel(android.os.Parcel @out, int flags)
 {
     if (this.provider != null)
     {
         @out.writeInt(1);
         this.provider.writeToParcel(@out, flags);
     }
     else
     {
         @out.writeInt(0);
     }
     @out.writeInt(this.minWidth);
     @out.writeInt(this.minHeight);
     @out.writeInt(this.minResizeWidth);
     @out.writeInt(this.minResizeHeight);
     @out.writeInt(this.updatePeriodMillis);
     @out.writeInt(this.initialLayout);
     if (this.configure != null)
     {
         @out.writeInt(1);
         this.configure.writeToParcel(@out, flags);
     }
     else
     {
         @out.writeInt(0);
     }
     @out.writeString(this.label);
     @out.writeInt(this.icon);
     @out.writeInt(this.previewImage);
     @out.writeInt(this.autoAdvanceViewId);
     @out.writeInt(this.resizeMode);
 }
Ejemplo n.º 18
0
 public virtual void writeToParcel(android.os.Parcel @out, int flags)
 {
     @out.writeInt(x);
     @out.writeInt(y);
 }
Ejemplo n.º 19
0
 public override void writeToParcel(android.os.Parcel dest, int parcelableFlags)
 {
     base.writeToParcel(dest, parcelableFlags);
     dest.writeString(permission);
     dest.writeInt(flags);
 }
Ejemplo n.º 20
0
 public override void writeToParcel(android.os.Parcel dest, int flags)
 {
     /* Serialize the class attributes here */
     dest.writeInt(pVolume);
     dest.writeInt(pRepeat);
     dest.writeInt(pRandom);
     dest.writeInt(pSinglePlayback);
     dest.writeInt(pConsume);
     dest.writeInt(pPlaylistVersion);
     dest.writeInt(pPlaylistLength);
     dest.writeInt(pCurrentSongIndex);
     dest.writeInt(pNextSongIndex);
     dest.writeInt(pSamplerate);
     dest.writeString(pBitDepth);
     dest.writeInt(pChannelCount);
     dest.writeInt(pBitrate);
     dest.writeInt(pElapsedTime);
     dest.writeInt(pTrackLength);
     dest.writeInt(pUpdateDBJob);
     /* Convert enum-type to int here and back when deserializing */
     dest.writeInt((int)(pPlaybackState));
 }
Ejemplo n.º 21
0
 public override void writeToParcel(android.os.Parcel dest, int flags)
 {
     base.writeToParcel(dest, flags);
     dest.writeInt(focusedPosition);
 }
Ejemplo n.º 22
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_expand:
                {
                    data.enforceInterface(DESCRIPTOR);
                    this.expand();
                    reply.writeNoException();
                    return(true);
                }

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

                case TRANSACTION_disable:
                {
                    data.enforceInterface(DESCRIPTOR);
                    int _arg0;
                    _arg0 = data.readInt();
                    android.os.IBinder _arg1;
                    _arg1 = data.readStrongBinder();
                    string _arg2;
                    _arg2 = data.readString();
                    this.disable(_arg0, _arg1, _arg2);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_setIcon:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    string _arg1;
                    _arg1 = data.readString();
                    int _arg2;
                    _arg2 = data.readInt();
                    int _arg3;
                    _arg3 = data.readInt();
                    string _arg4;
                    _arg4 = data.readString();
                    this.setIcon(_arg0, _arg1, _arg2, _arg3, _arg4);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_setIconVisibility:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    bool _arg1;
                    _arg1 = (0 != data.readInt());
                    this.setIconVisibility(_arg0, _arg1);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_removeIcon:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    this.removeIcon(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_topAppWindowChanged:
                {
                    data.enforceInterface(DESCRIPTOR);
                    bool _arg0;
                    _arg0 = (0 != data.readInt());
                    this.topAppWindowChanged(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_setImeWindowStatus:
                {
                    data.enforceInterface(DESCRIPTOR);
                    android.os.IBinder _arg0;
                    _arg0 = data.readStrongBinder();
                    int _arg1;
                    _arg1 = data.readInt();
                    int _arg2;
                    _arg2 = data.readInt();
                    this.setImeWindowStatus(_arg0, _arg1, _arg2);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_registerStatusBar:
                {
                    data.enforceInterface(DESCRIPTOR);
                    [email protected] _arg0;
                    _arg0 = [email protected](data.readStrongBinder
                                                                                             ());
                    [email protected] _arg1;
                    _arg1 = new [email protected]();
                    java.util.List <android.os.IBinder> _arg2;
                    _arg2 = new java.util.ArrayList <android.os.IBinder>();
                    java.util.List <*****@*****.**> _arg3;
                    _arg3 = new java.util.ArrayList <*****@*****.**
                                                     >();
                    int[] _arg4;
                    int   _arg4_length = data.readInt();
                    if ((_arg4_length < 0))
                    {
                        _arg4 = null;
                    }
                    else
                    {
                        _arg4 = new int[_arg4_length];
                    }
                    java.util.List <android.os.IBinder> _arg5;
                    _arg5 = new java.util.ArrayList <android.os.IBinder>();
                    this.registerStatusBar(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5);
                    reply.writeNoException();
                    if ((_arg1 != null))
                    {
                        reply.writeInt(1);
                        _arg1.writeToParcel(reply, android.os.ParcelableClass.PARCELABLE_WRITE_RETURN_VALUE
                                            );
                    }
                    else
                    {
                        reply.writeInt(0);
                    }
                    reply.writeBinderList(_arg2);
                    reply.writeTypedList(_arg3);
                    reply.writeIntArray(_arg4);
                    reply.writeBinderList(_arg5);
                    return(true);
                }

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

                case TRANSACTION_onNotificationClick:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    string _arg1;
                    _arg1 = data.readString();
                    int _arg2;
                    _arg2 = data.readInt();
                    this.onNotificationClick(_arg0, _arg1, _arg2);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_onNotificationError:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    string _arg1;
                    _arg1 = data.readString();
                    int _arg2;
                    _arg2 = data.readInt();
                    int _arg3;
                    _arg3 = data.readInt();
                    int _arg4;
                    _arg4 = data.readInt();
                    string _arg5;
                    _arg5 = data.readString();
                    this.onNotificationError(_arg0, _arg1, _arg2, _arg3, _arg4, _arg5);
                    reply.writeNoException();
                    return(true);
                }

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

                case TRANSACTION_onNotificationClear:
                {
                    data.enforceInterface(DESCRIPTOR);
                    string _arg0;
                    _arg0 = data.readString();
                    string _arg1;
                    _arg1 = data.readString();
                    int _arg2;
                    _arg2 = data.readInt();
                    this.onNotificationClear(_arg0, _arg1, _arg2);
                    reply.writeNoException();
                    return(true);
                }

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

                case TRANSACTION_setHardKeyboardEnabled:
                {
                    data.enforceInterface(DESCRIPTOR);
                    bool _arg0;
                    _arg0 = (0 != data.readInt());
                    this.setHardKeyboardEnabled(_arg0);
                    reply.writeNoException();
                    return(true);
                }

                case TRANSACTION_toggleRecentApps:
                {
                    data.enforceInterface(DESCRIPTOR);
                    this.toggleRecentApps();
                    reply.writeNoException();
                    return(true);
                }
                }
                return(base.onTransact(code, data, reply, flags));
            }
Ejemplo n.º 23
0
 public override void writeToParcel(android.os.Parcel dest, int parcelableFlags)
 {
     base.writeToParcel(dest, parcelableFlags);
     dest.writeString(taskAffinity);
     dest.writeString(permission);
     dest.writeString(processName);
     dest.writeString(className);
     dest.writeInt(theme);
     dest.writeInt(flags);
     dest.writeInt(requiresSmallestWidthDp);
     dest.writeInt(compatibleWidthLimitDp);
     dest.writeInt(largestWidthLimitDp);
     dest.writeString(sourceDir);
     dest.writeString(publicSourceDir);
     dest.writeString(nativeLibraryDir);
     dest.writeStringArray(resourceDirs);
     dest.writeStringArray(sharedLibraryFiles);
     dest.writeString(dataDir);
     dest.writeInt(uid);
     dest.writeInt(targetSdkVersion);
     dest.writeInt(enabled ? 1 : 0);
     dest.writeInt(enabledSetting);
     dest.writeInt(installLocation);
     dest.writeString(manageSpaceActivityName);
     dest.writeString(backupAgentName);
     dest.writeInt(descriptionRes);
     dest.writeInt(uiOptions);
 }
Ejemplo n.º 24
0
 public virtual void writeToParcel(android.os.Parcel dest, int flags)
 {
     dest.writeInt(openSubMenuId);
 }