+
     Gi  c                   sD    ^ RI t ^ RIt^ RIHt ^ RIHt RtRt^t^t	R t
R# )i    N)helpers)GLibzlineageos.waydroid.IClipboardZwaydroidclipboardc                 s  a aaaa \         P                  P                  S 4        \        P                  ! R S P
                  ,           S P                  S P                  4      oVVV3R lpV VV3R lpSP                  \        V4      o\        P                  ! 4       S n        V! 4        SP                  V4      pV'       d/   S P                  P                  4        SP!                  V4       >R# \"        P$                  ! RP'                  V4      4       R#   \         d+    \        P                  ! R S P
                  ,           4      o Li ; i)z/dev/c                 s  < \         P                  ! R P                  \        V4      4       V P	                  4       pSP                  4       pV\        8X  d.   VP                  4       pS	! V4       VP                  ^ 4       V^ 3# V\        8X  d.   S! 4       pVP                  ^ 4       VP                  V4       V^ 3# VR3# )z{}: Received transaction: {}iay)loggingZdebugformatSERVICE_NAMEZinit_readerZ	new_replyTRANSACTION_sendClipboardDataZread_string16Zappend_int32TRANSACTION_getClipboardDataZappend_string16)
ZreqZcodeZflagsZreaderZlocal_responseZarg1ZretgetClipboardDataresponsesendClipboardDatas
   &&&    0/usr/lib/waydroid/tools/interfaces/IClipboard.pyresponse_handlerZ%add_service.<locals>.response_handler   s    *11,E	G"!++-00'')Dd#''* q   11"$C''***3/ q   "6))    c                  s   < SP                  4       '       dg   SP                  \        S4      p V '       dG   \        P                  ! R P                  \        V 4      4       SP                  P                  4        R# R# R# )zFailed to add service {}: {}N)Z
is_presentZadd_service_syncr   r   errorr   clipboardLoopZquit)statusargsr   serviceManagers    r
   binder_presenceZ$add_service.<locals>.binder_presence&   sb    $$&&#44\8LF<CC &* +""'')  'r   z"Failed to add presence handler: {}N)r    ZdriversZloadBinderNodesgbinderZServiceManagerZBINDER_DRIVERZSERVICE_MANAGER_PROTOCOLZBINDER_PROTOCOLZ	TypeErrorZnew_local_object	INTERFACEr   ZMainLoopr   Zadd_presence_handlerZrunZremove_handlerr   r   r   )r   r	   r   r   r   r   r   r   s   fff   @@r
   add_servicer      s   OO##D)N //$:L:L0LdNkNkmq  nB  nB  C!$* ..y:JKHD00AF %%f-:AA&IJO  N //$:L:L0LMNs   =D 2EE)r   r   Ztoolsr    Zgi.repositoryr   r   r   r   r   r   ) r   r
   <module>r      s/        ,	" !   +Kr   