Beispiel #1
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));
            }
Beispiel #2
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);
			}