Searched refs:ConnectionListener (Results 1 – 9 of 9) sorted by relevance
21 import com.google.android.enterprise.connectedapps.ConnectionListener;52 private final Set<ConnectionListener> connectionListeners = new HashSet<>();229 public void registerConnectionListener(ConnectionListener listener) { in registerConnectionListener()234 public void unregisterConnectionListener(ConnectionListener listener) { in unregisterConnectionListener()239 for (ConnectionListener listener : connectionListeners) { in notifyConnectionChanged()
25 import com.google.android.enterprise.connectedapps.ConnectionListener;218 ConnectionListener connectionListener = in waitForDisconnected()245 ConnectionListener connectionListener = in waitForConnected()
33 implements ProfileConnector, ConnectionListener, AvailabilityListener {36 private final Set<ConnectionListener> connectionListeners = new CopyOnWriteArraySet<>();119 public void registerConnectionListener(ConnectionListener listener) { in registerConnectionListener()124 public void unregisterConnectionListener(ConnectionListener listener) { in unregisterConnectionListener()129 for (ConnectionListener listener : connectionListeners) { in notifyConnectionChange()
27 implements UserConnector, ConnectionListener, AvailabilityListener {56 public void registerConnectionListener(UserHandle userHandle, ConnectionListener listener) {} in registerConnectionListener()59 public void unregisterConnectionListener(UserHandle userHandle, ConnectionListener listener) {} in unregisterConnectionListener()
77 void registerConnectionListener(ConnectionListener listener); in registerConnectionListener()83 void unregisterConnectionListener(ConnectionListener listener); in unregisterConnectionListener()
78 void registerConnectionListener(UserHandle userHandle, ConnectionListener listener); in registerConnectionListener()84 void unregisterConnectionListener(UserHandle userHandle, ConnectionListener listener); in unregisterConnectionListener()
19 public interface ConnectionListener { interface
235 private final ConnectionListener connectionListener;261 ConnectionListener connectionListener, in CrossProfileSender()
18 public class TestConnectionListener implements ConnectionListener {