Lines Matching full:signal
80 """Prepares the listener to receive a new signal.
82 This resets the signal state and flushes any pending signals in order to
91 """Resets internal signal tracking state."""
96 """Resets internal signal tracking state."""
100 def listen_to_signal(self, callback, signal):
101 """Connect a callback to a given session_manager dbus signal.
103 Sets up a signal receiver for signal, and calls the provided callback
106 @param callback: a callable to call when signal is received.
107 @param signal: the signal to listen for.
112 signal_name=signal,
150 """Set to listen for signal indicating new device policy.
160 """Resets internal signal tracking state."""
171 """Callback to be used when a new key signal is received.
179 """Callback to be used when a new policy signal is received.
190 The session_manager emits a DBus signal whenever a user signs in, when
192 This class allows this signal to be polled for
206 """Set to listen for state changed signal with payload == |expected|.
219 """Resets internal signal tracking state."""
229 """Callback to be used when a new state-change signal is received.
238 """A class to listen for ScreenIsLocked DBus signal.
240 The session_manager emits a DBus signal when screen lock operation is
255 """Resets internal signal tracking state."""
265 """Callback to be used when ScreenIsLocked signal is received.