Searched refs:DeviceStateListener (Results 1 – 1 of 1) sorted by relevance
58 private List<DeviceStateListener> mStateListeners;68 mStateListeners = new ArrayList<DeviceStateListener>(); in NativeDeviceStateMonitor()451 DeviceStateListener listener = new DeviceStateListener(state); in waitForDeviceState()470 private void removeDeviceStateListener(DeviceStateListener listener) { in removeDeviceStateListener()479 private void addDeviceStateListener(DeviceStateListener listener) { in addDeviceStateListener()493 Collection<DeviceStateListener> listenerCopy = new ArrayList<DeviceStateListener>( in setState()498 for (DeviceStateListener listener: listenerCopy) { in setState()513 private static class DeviceStateListener { class in NativeDeviceStateMonitor516 public DeviceStateListener(TestDeviceState expectedState) { in DeviceStateListener() method in NativeDeviceStateMonitor.DeviceStateListener