Example #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_startUi:
					{
						data.enforceInterface(DESCRIPTOR);
						android.os.IBinder _arg0;
						_arg0 = data.readStrongBinder();
						int _arg1;
						_arg1 = data.readInt();
						int _arg2;
						_arg2 = data.readInt();
						int _arg3;
						_arg3 = data.readInt();
						int _arg4;
						_arg4 = data.readInt();
						this.startUi(_arg0, _arg1, _arg2, _arg3, _arg4);
						reply.writeNoException();
						return true;
					}

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

					case TRANSACTION_registerCallback:
					{
						data.enforceInterface(DESCRIPTOR);
						[email protected] _arg0;
						_arg0 = [email protected](data.readStrongBinder
							());
						this.registerCallback(_arg0);
						reply.writeNoException();
						return true;
					}

					case TRANSACTION_unregisterCallback:
					{
						data.enforceInterface(DESCRIPTOR);
						[email protected] _arg0;
						_arg0 = [email protected](data.readStrongBinder
							());
						this.unregisterCallback(_arg0);
						reply.writeNoException();
						return true;
					}
				}
				return base.onTransact(code, data, reply, flags);
			}
Example #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_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);
			}
			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_onServiceConnected:
					{
						data.enforceInterface(DESCRIPTOR);
						android.os.IBinder _arg0;
						_arg0 = data.readStrongBinder();
						this.onServiceConnected(_arg0);
						reply.writeNoException();
						return true;
					}

					case TRANSACTION_onServiceDisconnected:
					{
						data.enforceInterface(DESCRIPTOR);
						this.onServiceDisconnected();
						reply.writeNoException();
						return true;
					}
				}
				return base.onTransact(code, data, reply, flags);
			}
Example #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_setIcon:
					{
						data.enforceInterface(DESCRIPTOR);
						int _arg0;
						_arg0 = data.readInt();
						[email protected] _arg1;
						if ((0 != data.readInt()))
						{
							_arg1 = [email protected]el(data);
						}
						else
						{
							_arg1 = null;
						}
						this.setIcon(_arg0, _arg1);
						return true;
					}

					case TRANSACTION_removeIcon:
					{
						data.enforceInterface(DESCRIPTOR);
						int _arg0;
						_arg0 = data.readInt();
						this.removeIcon(_arg0);
						return true;
					}

					case TRANSACTION_addNotification:
					{
						data.enforceInterface(DESCRIPTOR);
						android.os.IBinder _arg0;
						_arg0 = data.readStrongBinder();
						[email protected] _arg1;
						if ((0 != data.readInt()))
						{
							_arg1 = [email protected]FromParcel
								(data);
						}
						else
						{
							_arg1 = null;
						}
						this.addNotification(_arg0, _arg1);
						return true;
					}

					case TRANSACTION_updateNotification:
					{
						data.enforceInterface(DESCRIPTOR);
						android.os.IBinder _arg0;
						_arg0 = data.readStrongBinder();
						[email protected] _arg1;
						if ((0 != data.readInt()))
						{
							_arg1 = [email protected]FromParcel
								(data);
						}
						else
						{
							_arg1 = null;
						}
						this.updateNotification(_arg0, _arg1);
						return true;
					}

					case TRANSACTION_removeNotification:
					{
						data.enforceInterface(DESCRIPTOR);
						android.os.IBinder _arg0;
						_arg0 = data.readStrongBinder();
						this.removeNotification(_arg0);
						return true;
					}

					case TRANSACTION_disable:
					{
						data.enforceInterface(DESCRIPTOR);
						int _arg0;
						_arg0 = data.readInt();
						this.disable(_arg0);
						return true;
					}

					case TRANSACTION_animateExpand:
					{
						data.enforceInterface(DESCRIPTOR);
						this.animateExpand();
						return true;
					}

					case TRANSACTION_animateCollapse:
					{
						data.enforceInterface(DESCRIPTOR);
						this.animateCollapse();
						return true;
					}

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

					case TRANSACTION_topAppWindowChanged:
					{
						data.enforceInterface(DESCRIPTOR);
						bool _arg0;
						_arg0 = (0 != data.readInt());
						this.topAppWindowChanged(_arg0);
						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);
						return true;
					}

					case TRANSACTION_setHardKeyboardStatus:
					{
						data.enforceInterface(DESCRIPTOR);
						bool _arg0;
						_arg0 = (0 != data.readInt());
						bool _arg1;
						_arg1 = (0 != data.readInt());
						this.setHardKeyboardStatus(_arg0, _arg1);
						return true;
					}

					case TRANSACTION_toggleRecentApps:
					{
						data.enforceInterface(DESCRIPTOR);
						this.toggleRecentApps();
						return true;
					}
				}
				return base.onTransact(code, data, reply, flags);
			}
Example #5
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<[email protected]> _arg3;
						_arg3 = new java.util.ArrayList<[email protected]
							>();
						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);
			}