Example #1
0
 public virtual void bindRemoteViewsService(int appWidgetId, android.content.Intent
                                            intent, android.os.IBinder connection)
 {
     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);
         }
         _data.writeStrongBinder(connection);
         mRemote.transact(android.appwidget.@internal.IAppWidgetServiceClass.Stub.TRANSACTION_bindRemoteViewsService
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Example #2
0
 public virtual void updateNotification(android.os.IBinder key, [email protected]
                                        notification)
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder(key);
         if ((notification != null))
         {
             _data.writeInt(1);
             notification.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact([email protected]_updateNotification
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
Example #3
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);
 }
Example #4
0
 public virtual void removeNotification(android.os.IBinder key)
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder(key);
         mRemote.transact([email protected]_removeNotification
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
Example #5
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();
     }
 }
Example #6
0
 public virtual void setImeWindowStatus(android.os.IBinder token, int vis, int backDisposition
                                        )
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder(token);
         _data.writeInt(vis);
         _data.writeInt(backDisposition);
         mRemote.transact([email protected]_setImeWindowStatus
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
 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();
     }
 }
Example #8
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();
     }
 }
Example #9
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();
     }
 }
Example #10
0
 public virtual void startUi(android.os.IBinder containingWindowToken, int x, int
                             y, int width, int height)
 {
     android.os.Parcel _data  = android.os.Parcel.obtain();
     android.os.Parcel _reply = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeStrongBinder(containingWindowToken);
         _data.writeInt(x);
         _data.writeInt(y);
         _data.writeInt(width);
         _data.writeInt(height);
         mRemote.transact(android.policy.@internal.IFaceLockInterfaceClass.Stub.TRANSACTION_startUi
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }