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/
DIDeviceManager.java33 public static interface IFastbootListener { interface
209 public void addFastbootListener(IFastbootListener listener); in addFastbootListener()
215 public void removeFastbootListener(IFastbootListener listener); in removeFastbootListener()
DNativeDeviceStateMonitor.java23 import com.android.tradefed.device.IDeviceManager.IFastbootListener;
138 IFastbootListener listener = new StubFastbootListener(); in waitForDeviceNotAvailable()
378 IFastbootListener listener = new StubFastbootListener(); in waitForDeviceBootloader()
395 IFastbootListener listener = new NotifyFastbootListener(); in waitForDeviceBootloaderStateUpdate()
497 private static class StubFastbootListener implements IFastbootListener {
507 private static class NotifyFastbootListener implements IFastbootListener {
DDeviceManager.java124 private Set<IFastbootListener> mFastbootListeners;
220 mFastbootListeners = Collections.synchronizedSet(new HashSet<IFastbootListener>()); in init()
1139 public void addFastbootListener(IFastbootListener listener) { in addFastbootListener()
1152 public void removeFastbootListener(IFastbootListener listener) { in removeFastbootListener()
1195 Collection<IFastbootListener> listenersCopy = in run()
1196 new ArrayList<IFastbootListener>(mFastbootListeners.size()); in run()
1198 for (IFastbootListener listener : listenersCopy) { in run()
/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()