Beispiel #1
0
 public virtual void updateAppWidget(int appWidgetId, android.widget.RemoteViews views
                                     )
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(appWidgetId);
         if ((views != null))
         {
             _data.writeInt(1);
             views.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact([email protected]_updateAppWidget
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
Beispiel #2
0
 public virtual void unlock()
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         mRemote.transact([email protected]_unlock
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
 public virtual void windowsVisible()
 {
     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_windowsVisible
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Beispiel #4
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();
     }
 }
 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();
     }
 }
 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();
     }
 }
 public virtual void onKeyguardExitResult(bool success)
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(((success) ? (1) : (0)));
         mRemote.transact(android.view.IOnKeyguardExitResultClass.Stub.TRANSACTION_onKeyguardExitResult
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
Beispiel #8
0
 public virtual void onRotationChanged(int rotation)
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(rotation);
         mRemote.transact(android.view.IRotationWatcherClass.Stub.TRANSACTION_onRotationChanged
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }
Beispiel #9
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);
 }
Beispiel #10
0
 public virtual void expand()
 {
     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_expand
                          , _data, _reply, 0);
         _reply.readException();
     }
     finally
     {
         _reply.recycle();
         _data.recycle();
     }
 }
Beispiel #11
0
 public virtual void setIcon(int index, [email protected]
                             icon)
 {
     android.os.Parcel _data = android.os.Parcel.obtain();
     try
     {
         _data.writeInterfaceToken(DESCRIPTOR);
         _data.writeInt(index);
         if ((icon != null))
         {
             _data.writeInt(1);
             icon.writeToParcel(_data, 0);
         }
         else
         {
             _data.writeInt(0);
         }
         mRemote.transact([email protected]_setIcon
                          , _data, null, android.os.IBinderClass.FLAG_ONEWAY);
     }
     finally
     {
         _data.recycle();
     }
 }