示例#1
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();
     }
 }