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.java74 private List<DeviceStateListener> mStateListeners;
85 mStateListeners = new ArrayList<DeviceStateListener>(); in NativeDeviceStateMonitor()
571 DeviceStateListener listener = new DeviceStateListener(state); in waitForDeviceState()
591 private void removeDeviceStateListener(DeviceStateListener listener) { in removeDeviceStateListener()
600 private void addDeviceStateListener(DeviceStateListener listener) { in addDeviceStateListener()
614 Collection<DeviceStateListener> listenerCopy = new ArrayList<DeviceStateListener>( in setState()
619 for (DeviceStateListener listener: listenerCopy) { in setState()
634 private static class DeviceStateListener { class in NativeDeviceStateMonitor
637 public DeviceStateListener(TestDeviceState expectedState) { in DeviceStateListener() method in NativeDeviceStateMonitor.DeviceStateListener