chrome/updater/test/service/win/rpc_client.py
def AnswerUpcomingUACPrompt(actions,
                            timeout=10,
                            wait_child=False,
                            source=''):
  """Answers upcoming UAC prompt that does not require username/password.

  Args:
    actions: Actions to take in string, such as 'AADDA', 'A' to accept,
        'D' to deny.
    timeout: How long the child process should wait for each UAC click.
    wait_child: Whether this thread should wait the completion of child proc.
    source: Optional name of the source that triggers this action (for logging
        and debugging purpose).

  Returns:
    (pid, exit_code) of the created UAC-answering process. If the sub-process
    is not created, or did not finish in wait time, returns (None, None).
  """
  try:
    proxy = GetProxy()
    return proxy.AnswerUpcomingUACPrompt(actions, timeout, wait_child, source)
  except RPCErrors as err:
    logging.exception(err)
    raise
Answers upcoming UAC prompt that does not require username/password.

  Args:
    actions: Actions to take in string, such as 'AADDA', 'A' to accept,
        'D' to deny.
    timeout: How long the child process should wait for each UAC click.
    wait_child: Whether this thread should wait the completion of child proc.
    source: Optional name of the source that triggers this action (for logging
        and debugging purpose).

  Returns:
    (pid, exit_code) of the created UAC-answering process. If the sub-process
    is not created, or did not finish in wait time, returns (None, None).
  
Answers upcoming UAC prompt that does not require username/password.
Answers upcoming UAC prompt that does not require username / password .
def AnswerUpcomingUACPrompt(actions,
                            timeout=10,
                            wait_child=False,
                            source=''):
  try:
    proxy = GetProxy()
    return proxy.AnswerUpcomingUACPrompt(actions, timeout, wait_child, source)
  except RPCErrors as err:
    logging.exception(err)
    raise
def AnswerUpcomingUACPrompt ( actions , timeout = 10 , wait_child = False , source = '' ) : try : proxy = GetProxy ( ) return proxy . AnswerUpcomingUACPrompt ( actions , timeout , wait_child , source ) except RPCErrors as err : logging . exception ( err ) raise
Answers upcoming UAC prompt that does not require username/password.
Answers upcoming UAC prompt that does not require username / password .
"""Answers upcoming UAC prompt that does not require username/password.

  Args:
    actions: Actions to take in string, such as 'AADDA', 'A' to accept,
        'D' to deny.
    timeout: How long the child process should wait for each UAC click.
    wait_child: Whether this thread should wait the completion of child proc.
    source: Optional name of the source that triggers this action (for logging
        and debugging purpose).

  Returns:
    (pid, exit_code) of the created UAC-answering process. If the sub-process
    is not created, or did not finish in wait time, returns (None, None).
  """
(pid, exit_code) of the created UAC-answering process. If the sub-process
is not created, or did not finish in wait time, returns (None, None).
( pid exit_code ) of the created UAC - answering process . If the sub - process is not created or did not finish in wait time returns ( None None ) .
actions
Actions to take in string, such as 'AADDA', 'A' to accept,
'D' to deny.
Actions to take in string such as ' AADDA ' ' A ' to accept ' D ' to deny .
timeout
None
wait_child
Whether this thread should wait the completion of child proc.
Whether this thread should wait the completion of child proc .
source
Optional name of the source that triggers this action (for logging
and debugging purpose).
Optional name of the source that triggers this action ( for logging and debugging purpose ) .