Home
last modified time | relevance | path

Searched refs:IFastbootListener (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java23 import com.android.tradefed.device.IDeviceManager.IFastbootListener;
147 IFastbootListener listener = new StubFastbootListener(); in waitForDeviceNotAvailable()
407 IFastbootListener listener = new StubFastbootListener(); in waitForDeviceBootloaderOrFastbootd()
428 IFastbootListener listener = new NotifyFastbootListener(); in waitForDeviceBootloaderStateUpdate()
532 private static class StubFastbootListener implements IFastbootListener {
542 private static class NotifyFastbootListener implements IFastbootListener {
DDeviceManager.java134 private Set<IFastbootListener> mFastbootListeners;
269 mFastbootListeners = Collections.synchronizedSet(new HashSet<IFastbootListener>()); in init()
1312 public void addFastbootListener(IFastbootListener listener) { in addFastbootListener()
1325 public void removeFastbootListener(IFastbootListener listener) { in removeFastbootListener()
1383 Collection<IFastbootListener> listenersCopy = in run()
1384 new ArrayList<IFastbootListener>(mFastbootListeners.size()); in run()
1386 for (IFastbootListener listener : listenersCopy) { in run()
DIDeviceManager.java33 public static interface IFastbootListener { interface
227 public void addFastbootListener(IFastbootListener listener); in addFastbootListener()
233 public void removeFastbootListener(IFastbootListener listener); in removeFastbootListener()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java181 public void addFastbootListener(IFastbootListener listener) { in addFastbootListener()
222 public void removeFastbootListener(IFastbootListener listener) { in removeFastbootListener()