Home
last modified time | relevance | path

Searched refs:AvailabilityListener (Results 1 – 10 of 10) sorted by relevance

/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DAbstractFakeProfileConnector.java19 import com.google.android.enterprise.connectedapps.AvailabilityListener;
53 private final Set<AvailabilityListener> availabilityListeners = new HashSet<>();
245 public void registerAvailabilityListener(AvailabilityListener listener) { in registerAvailabilityListener()
250 public void unregisterAvailabilityListener(AvailabilityListener listener) { in unregisterAvailabilityListener()
255 for (AvailabilityListener listener : availabilityListeners) { in notifyAvailabilityChanged()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DAbstractProfileConnector.java33 implements ProfileConnector, ConnectionListener, AvailabilityListener {
37 private final Set<AvailabilityListener> availabilityListeners = new CopyOnWriteArraySet<>();
140 public void registerAvailabilityListener(AvailabilityListener listener) { in registerAvailabilityListener()
145 public void unregisterAvailabilityListener(AvailabilityListener listener) { in unregisterAvailabilityListener()
150 for (AvailabilityListener listener : availabilityListeners) { in notifyAvailabilityChange()
DAbstractUserConnector.java27 implements UserConnector, ConnectionListener, AvailabilityListener {
62 public void registerAvailabilityListener(UserHandle userHandle, AvailabilityListener listener) {} in registerAvailabilityListener()
66 UserHandle userHandle, AvailabilityListener listener) {} in unregisterAvailabilityListener()
DProfileConnector.java92 void registerAvailabilityListener(AvailabilityListener listener); in registerAvailabilityListener()
98 void unregisterAvailabilityListener(AvailabilityListener listener); in unregisterAvailabilityListener()
DUserConnector.java93 void registerAvailabilityListener(UserHandle userHandle, AvailabilityListener listener); in registerAvailabilityListener()
99 void unregisterAvailabilityListener(UserHandle userHandle, AvailabilityListener listener); in unregisterAvailabilityListener()
DAvailabilityListener.java19 public interface AvailabilityListener { interface
DCrossProfileSender.java236 private final AvailabilityListener availabilityListener;
262 AvailabilityListener availabilityListener, in CrossProfileSender()
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/
DTestAvailabilityListener.java23 public class TestAvailabilityListener implements AvailabilityListener {
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/tests/
DInstrumentedTestUtilitiesTest.java22 import com.google.android.enterprise.connectedapps.AvailabilityListener;
DAvailabilityListenerTest.java26 import com.google.android.enterprise.connectedapps.AvailabilityListener;