Exemplo n.º 1
0
 public virtual void partiallyUpdateAppWidgetIds(int[] appWidgetIds, android.widget.RemoteViews
                                                 views)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeIntArray(appWidgetIds);
         if ((views != null))
         {
             _data.writeInt(1);
             views.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_partiallyUpdateAppWidgetIds
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 2
0
 public virtual int[] startListening([email protected] host
                                     , string packageName, int hostId, java.util.List <android.widget.RemoteViews> updatedViews
                                     )
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     int[]             _result;
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder((((host != null)) ? (host.asBinder()) : (null)));
         _data.writeString(packageName);
         _data.writeInt(hostId);
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_startListening
                          , _data, _reply, 0);
         _reply.readException();
         _result = _reply.createIntArray();
         _reply.readTypedList(updatedViews, android.widget.RemoteViews.CREATOR);
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
     return(_result);
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
0
 public virtual void bindAppWidgetId(int appWidgetId, android.content.ComponentName
                                     provider)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(appWidgetId);
         if ((provider != null))
         {
             _data.writeInt(1);
             provider.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_bindAppWidgetId
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 5
0
 public virtual void unbindRemoteViewsService(int appWidgetId, android.content.Intent
                                              intent)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(appWidgetId);
         if ((intent != null))
         {
             _data.writeInt(1);
             intent.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_unbindRemoteViewsService
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 6
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);
 }
Exemplo n.º 7
0
 public virtual int[] getAppWidgetIds(android.content.ComponentName provider)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     int[]             _result;
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         if ((provider != null))
         {
             _data.writeInt(1);
             provider.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_getAppWidgetIds
                          , _data, _reply, 0);
         _reply.readException();
         _result = _reply.createIntArray();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
     return(_result);
 }
Exemplo n.º 8
0
 public virtual void stopUi()
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact(android.policy.@internal.IFaceLockInterfaceClass.Stub.TRANSACTION_stopUi
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 9
0
 public virtual void windowsGone()
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact(android.view.IApplicationTokenClass.Stub.TRANSACTION_windowsGone
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 10
0
 public virtual void deleteAllHosts()
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_deleteAllHosts
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 11
0
 public virtual void onDataSetChanged()
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact(android.widget.@internal.IRemoteViewsFactoryClass.Stub.TRANSACTION_onDataSetChanged
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 12
0
 public virtual void toggleRecentApps()
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_toggleRecentApps
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 13
0
 public virtual void removeIcon(string slot)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeString(slot);
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_removeIcon
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 14
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();
     }
 }
Exemplo n.º 15
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();
     }
 }
Exemplo n.º 16
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();
     }
 }
Exemplo n.º 17
0
 public virtual void onServiceConnected(android.os.IBinder service)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder(service);
         mRemote.transact([email protected]
                          .TRANSACTION_onServiceConnected, _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 18
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();
     }
 }
Exemplo n.º 19
0
 public virtual void unregisterCallback([email protected]
                                        cb)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder((((cb != null)) ? (cb.asBinder()) : (null)));
         mRemote.transact(android.policy.@internal.IFaceLockInterfaceClass.Stub.TRANSACTION_unregisterCallback
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 20
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();
     }
 }
Exemplo n.º 21
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();
     }
 }
Exemplo n.º 22
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();
     }
 }
Exemplo n.º 23
0
 public virtual void setImeWindowStatus(android.os.IBinder token, int vis, int backDisposition
                                        )
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder(token);
         _data.writeInt(vis);
         _data.writeInt(backDisposition);
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_setImeWindowStatus
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 24
0
                public virtual long getKeyDispatchingTimeout()
                {
                    android.os.Parcel _data  = android.os.Parcel.obtain();
                    android.os.Parcel _reply = android.os.Parcel.obtain();
                    long _result;

                    try
                    {
                        _data.writeInterfaceToken(DESCRIPTOR);
                        mRemote.transact(android.view.IApplicationTokenClass.Stub.TRANSACTION_getKeyDispatchingTimeout
                                         , _data, _reply, 0);
                        _reply.readException();
                        _result = _reply.readLong();
                    }
                    finally
                    {
                        _reply.recycle();
                        _data.recycle();
                    }
                    return(_result);
                }
Exemplo n.º 25
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);
                }
Exemplo n.º 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();
     }
 }
Exemplo n.º 27
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);
                }
Exemplo n.º 28
0
 public virtual java.util.List <android.appwidget.AppWidgetProviderInfo> getInstalledProviders
     ()
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     java.util.List <android.appwidget.AppWidgetProviderInfo> _result;
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_getInstalledProviders
                          , _data, _reply, 0);
         _reply.readException();
         _result = _reply.createTypedArrayList(android.appwidget.AppWidgetProviderInfo.CREATOR
                                               );
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
     return(_result);
 }
Exemplo n.º 29
0
 public virtual void setIcon(string slot, string iconPackage, int iconId, int iconLevel
                             , string contentDescription)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeString(slot);
         _data.writeString(iconPackage);
         _data.writeInt(iconId);
         _data.writeInt(iconLevel);
         _data.writeString(contentDescription);
         mRemote.transact(android.statusbar.@internal.IStatusBarServiceClass.Stub.TRANSACTION_setIcon
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Exemplo n.º 30
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);
                }