Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java57 private List<DeviceStateListener> mStateListeners;
67 mStateListeners = new ArrayList<DeviceStateListener>(); in NativeDeviceStateMonitor()
417 DeviceStateListener listener = new DeviceStateListener(state); in waitForDeviceState()
435 private void removeDeviceStateListener(DeviceStateListener listener) { in removeDeviceStateListener()
444 private void addDeviceStateListener(DeviceStateListener listener) { in addDeviceStateListener()
458 Collection<DeviceStateListener> listenerCopy = new ArrayList<DeviceStateListener>( in setState()
463 for (DeviceStateListener listener: listenerCopy) { in setState()
478 private static class DeviceStateListener { class in NativeDeviceStateMonitor
481 public DeviceStateListener(TestDeviceState expectedState) { in DeviceStateListener() method in NativeDeviceStateMonitor.DeviceStateListener