components/exo/wayland/fuzzer/wayland_utils.py
def GetConstructedInterface(message):
  """Gets the interface constructed by a message.

  Note that even if IsConstructor(message) returns true, get_constructed can
  still return None when the message constructs an unknown interface (e.g.
  wl_registry.bind()).

  Args:
    message: the event/request which may be a constructor.

  Returns:
    The name of the constructed interface (if there is one), or None.
  """
  cons_arg = GetConstructorArg(message)
  if cons_arg is None:
    return None
  return cons_arg.get('interface')
Gets the interface constructed by a message.

  Note that even if IsConstructor(message) returns true, get_constructed can
  still return None when the message constructs an unknown interface (e.g.
  wl_registry.bind()).

  Args:
    message: the event/request which may be a constructor.

  Returns:
    The name of the constructed interface (if there is one), or None.
  
Gets the interface constructed by a message.
Note that even if IsConstructor(message) returns true, get_constructed can
still return None when the message constructs an unknown interface ).
Gets the interface constructed by a message . Note that even if IsConstructor ( message ) returns true get_constructed can still return None when the message constructs an unknown interface ) .
def GetConstructedInterface(message):
  cons_arg = GetConstructorArg(message)
  if cons_arg is None:
    return None
  return cons_arg.get('interface')
def GetConstructedInterface ( message ) : cons_arg = GetConstructorArg ( message ) if cons_arg is None : return None return cons_arg . get ( 'interface' )
Gets the interface constructed by a message.
Gets the interface constructed by a message .
"""Gets the interface constructed by a message.

  Note that even if IsConstructor(message) returns true, get_constructed can
  still return None when the message constructs an unknown interface (e.g.
  wl_registry.bind()).

  Args:
    message: the event/request which may be a constructor.

  Returns:
    The name of the constructed interface (if there is one), or None.
  """
The name of the constructed interface (if there is one), or None.
The name of the constructed interface ( if there is one ) or None .
message
the event/request which may be a constructor.
the event / request which may be a constructor .