Home
last modified time | relevance | path

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

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DDeviceStateHandler.java45 public interface DeviceStateListener { interface in DeviceStateHandler
75 private Set<DeviceStateListener> mCallbackSet = ConcurrentHashMap.newKeySet(4);
143 public void registerListener(DeviceStateListener callback) { in registerListener()
150 public void unregisterListener(DeviceStateListener callback) { in unregisterListener()
DSoundTriggerService.java35 import static com.android.server.soundtrigger.DeviceStateHandler.DeviceStateListener;
511 private final DeviceStateListener mListener;
1699 private final @NonNull DeviceStateListener mListener;
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DDeviceStateHandlerTest.java51 private DeviceStateHandler.DeviceStateListener mDeviceStateCallback;
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java238 public interface DeviceStateListener { interface in CameraManager
245 private ArrayList<WeakReference<DeviceStateListener>> mDeviceStateListeners =
258 Iterator<WeakReference<DeviceStateListener>> it = mDeviceStateListeners.iterator(); in handleStateChange()
260 DeviceStateListener callback = it.next().get(); in handleStateChange()
269 public synchronized void addDeviceStateListener(DeviceStateListener listener) { in addDeviceStateListener()
DCameraCharacteristics.java222 private CameraManager.DeviceStateListener mFoldStateListener;
248 CameraManager.DeviceStateListener getDeviceStateListener() { in getDeviceStateListener()
250 mFoldStateListener = new CameraManager.DeviceStateListener() { in getDeviceStateListener()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java140 import com.android.server.display.DisplayManagerService.DeviceStateListener;
791 DeviceStateListener listener = displayManager.new DeviceStateListener();
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java767 new HandlerExecutor(mHandler), new DeviceStateListener()); in windowManagerAndInputReady()
5170 class DeviceStateListener implements DeviceStateManager.DeviceStateCallback { class
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1354 new HandlerExecutor(mHandler), new DeviceStateListener());
7265 class DeviceStateListener implements DeviceStateManager.DeviceStateCallback {
/frameworks/base/services/
Dart-wear-profile10300 PLcom/android/server/display/DisplayManagerService$DeviceStateListener;-><init>(Lcom/android/server…
10301 PLcom/android/server/display/DisplayManagerService$DeviceStateListener;->onBaseStateChanged(I)V
10302 PLcom/android/server/display/DisplayManagerService$DeviceStateListener;->onStateChanged(I)V
21361 PLcom/android/server/power/PowerManagerService$DeviceStateListener;-><init>(Lcom/android/server/pow…
21362 PLcom/android/server/power/PowerManagerService$DeviceStateListener;->onStateChanged(I)V
/frameworks/base/boot/
Dpreloaded-classes2659 android.hardware.camera2.CameraManager$DeviceStateListener
Dboot-image-profile.txt8019 …racteristics;->getDeviceStateListener()Landroid/hardware/camera2/CameraManager$DeviceStateListener;
8030 …ateListener;->addDeviceStateListener(Landroid/hardware/camera2/CameraManager$DeviceStateListener;)V
25046 Landroid/hardware/camera2/CameraManager$DeviceStateListener;
/frameworks/base/config/
Dpreloaded-classes2663 android.hardware.camera2.CameraManager$DeviceStateListener
Dboot-image-profile.txt8022 …racteristics;->getDeviceStateListener()Landroid/hardware/camera2/CameraManager$DeviceStateListener;
8033 …ateListener;->addDeviceStateListener(Landroid/hardware/camera2/CameraManager$DeviceStateListener;)V
35180 Landroid/hardware/camera2/CameraManager$DeviceStateListener;