Home
last modified time | relevance | path

Searched refs:ConnectionListener (Results 1 – 9 of 9) sorted by relevance

/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DAbstractFakeProfileConnector.java21 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()
DInstrumentedTestUtilities.java25 import com.google.android.enterprise.connectedapps.ConnectionListener;
218 ConnectionListener connectionListener = in waitForDisconnected()
245 ConnectionListener connectionListener = in waitForConnected()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DAbstractProfileConnector.java33 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()
DAbstractUserConnector.java27 implements UserConnector, ConnectionListener, AvailabilityListener {
56 public void registerConnectionListener(UserHandle userHandle, ConnectionListener listener) {} in registerConnectionListener()
59 public void unregisterConnectionListener(UserHandle userHandle, ConnectionListener listener) {} in unregisterConnectionListener()
DProfileConnector.java77 void registerConnectionListener(ConnectionListener listener); in registerConnectionListener()
83 void unregisterConnectionListener(ConnectionListener listener); in unregisterConnectionListener()
DUserConnector.java78 void registerConnectionListener(UserHandle userHandle, ConnectionListener listener); in registerConnectionListener()
84 void unregisterConnectionListener(UserHandle userHandle, ConnectionListener listener); in unregisterConnectionListener()
DConnectionListener.java19 public interface ConnectionListener { interface
DCrossProfileSender.java235 private final ConnectionListener connectionListener;
261 ConnectionListener connectionListener, in CrossProfileSender()
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/
DTestConnectionListener.java18 public class TestConnectionListener implements ConnectionListener {