Home
last modified time | relevance | path

Searched refs:DeviceStateCallback (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java29 import android.hardware.devicestate.DeviceStateManager.DeviceStateCallback;
74 DeviceStateCallback callback1 = mock(DeviceStateCallback.class); in registerCallback()
75 DeviceStateCallback callback2 = mock(DeviceStateCallback.class); in registerCallback()
118 DeviceStateCallback callback = mock(DeviceStateCallback.class); in unregisterCallback()
137 DeviceStateCallback callback = mock(DeviceStateCallback.class); in submitRequest()
158 DeviceStateCallback callback = mock(DeviceStateCallback.class); in submitBaseStateOverrideRequest()
180 DeviceStateCallback callback = mock(DeviceStateCallback.class); in submitBaseAndEmulatedStateOverride()
/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateManager.java209 @NonNull DeviceStateCallback callback) { in registerCallback()
217 public void unregisterCallback(@NonNull DeviceStateCallback callback) { in unregisterCallback()
222 public interface DeviceStateCallback { interface in DeviceStateManager
256 public static class FoldStateListener implements DeviceStateCallback {
DDeviceStateManagerGlobal.java23 import android.hardware.devicestate.DeviceStateManager.DeviceStateCallback;
225 public void registerDeviceStateCallback(@NonNull DeviceStateCallback callback, in registerDeviceStateCallback()
254 public void unregisterDeviceStateCallback(@NonNull DeviceStateCallback callback) { in unregisterDeviceStateCallback()
291 private int findCallbackLocked(DeviceStateCallback callback) { in findCallbackLocked()
381 private final DeviceStateCallback mDeviceStateCallback;
385 DeviceStateCallbackWrapper(@NonNull DeviceStateCallback callback, in DeviceStateCallbackWrapper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFoldStateListener.kt20 import android.hardware.devicestate.DeviceStateManager.DeviceStateCallback
30 ) : DeviceStateCallback {
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
DDeviceStateManagerFoldingFeatureProducer.java28 import android.hardware.devicestate.DeviceStateManager.DeviceStateCallback;
85 private final DeviceStateCallback mDeviceStateCallback = new DeviceStateCallback() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/reardisplay/
DRearDisplayDialogController.java75 private DeviceStateManager.DeviceStateCallback mDeviceStateManagerCallback =
222 DeviceStateManager.DeviceStateCallback deviceStateManagerCallback) { in setDeviceStateManagerCallback()
231 private class DeviceStateManagerCallback implements DeviceStateManager.DeviceStateCallback {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerTest.java71 private DeviceStateManager.DeviceStateCallback mDeviceStateCallback;
84 ArgumentCaptor<DeviceStateManager.DeviceStateCallback> deviceStateCallbackArgumentCaptor = in setUp()
85 ArgumentCaptor.forClass(DeviceStateManager.DeviceStateCallback.class); in setUp()
DDevicePostureControllerImplTest.kt62 private lateinit var deviceStateCallback: ArgumentCaptor<DeviceStateManager.DeviceStateCallback>
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/system/
DDeviceStateManagerFoldProvider.kt33 ConcurrentHashMap<FoldCallback, DeviceStateManager.DeviceStateCallback>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/
DDeviceStateRepository.kt64 DeviceStateManager.DeviceStateCallback { state -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDevicePostureControllerImpl.java88 deviceStateManager.registerCallback(executor, new DeviceStateManager.DeviceStateCallback() { in DevicePostureControllerImpl()
DDeviceStateRotationLockSettingController.java60 private DeviceStateManager.DeviceStateCallback mDeviceStateCallback;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/
DDeviceStateRepositoryTest.kt52 kotlinArgumentCaptor<DeviceStateManager.DeviceStateCallback>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/reardisplay/
DRearDisplayDialogControllerTest.java174 DeviceStateManager.DeviceStateCallback {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardDisplayManager.java290 static class DeviceStateHelper implements DeviceStateManager.DeviceStateCallback {
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DWindowAreaComponentImpl.java58 DeviceStateManager.DeviceStateCallback {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java1408 ArgumentCaptor<DeviceStateManager.DeviceStateCallback> callbackCaptor = in setDeviceState()
1409 ArgumentCaptor.forClass(DeviceStateManager.DeviceStateCallback.class); in setDeviceState()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java70 import android.hardware.devicestate.DeviceStateManager.DeviceStateCallback;
2843 final ArgumentCaptor<DeviceStateCallback> deviceStateCallbackCaptor = in testUserActivityOnDeviceStateChange()
2844 ArgumentCaptor.forClass(DeviceStateCallback.class); in testUserActivityOnDeviceStateChange()
2855 final DeviceStateCallback deviceStateCallback = deviceStateCallbackCaptor.getValue(); in testUserActivityOnDeviceStateChange()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java242 private static final class FoldStateListener implements DeviceStateManager.DeviceStateCallback {
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java5170 class DeviceStateListener implements DeviceStateManager.DeviceStateCallback {
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java7265 class DeviceStateListener implements DeviceStateManager.DeviceStateCallback {
/frameworks/base/core/api/
Dsystem-current.txt5043 …concurrent.Executor, @NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
5044 …d unregisterCallback(@NonNull android.hardware.devicestate.DeviceStateManager.DeviceStateCallback);
5047 public static interface DeviceStateManager.DeviceStateCallback {
/frameworks/base/boot/
Dboot-image-profile.txt8109 …va/util/concurrent/Executor;Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;)V
8113 …kWrapper;-><init>(Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;Ljava/util/…
8119 …Global;->findCallbackLocked(Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;)I
8123 …viceStateCallback(Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;Ljava/util/…
25205 Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;
Dpreloaded-classes2818 android.hardware.devicestate.DeviceStateManager$DeviceStateCallback
/frameworks/base/config/
Dboot-image-profile.txt8112 …va/util/concurrent/Executor;Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;)V
8116 …kWrapper;-><init>(Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;Ljava/util/…
8122 …Global;->findCallbackLocked(Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;)I
8126 …viceStateCallback(Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;Ljava/util/…
35339 Landroid/hardware/devicestate/DeviceStateManager$DeviceStateCallback;

12