/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/system/ |
D | DeviceStateManagerFoldProvider.kt | 18 import android.hardware.devicestate.DeviceStateManager 29 constructor(private val deviceStateManager: DeviceStateManager, private val context: Context) : 33 ConcurrentHashMap<FoldCallback, DeviceStateManager.DeviceStateCallback>() 47 DeviceStateManager.FoldStateListener(context, { listener.onFoldUpdated(it) }) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 20 import android.hardware.devicestate.DeviceStateManager; 21 import android.hardware.devicestate.DeviceStateManager.FoldStateListener; 94 sContext.getSystemService(DeviceStateManager.class) in enable() 101 sContext.getSystemService(DeviceStateManager.class) in disable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceStateRotationLockSettingController.java | 24 import android.hardware.devicestate.DeviceStateManager; 51 private final DeviceStateManager mDeviceStateManager; 60 private DeviceStateManager.DeviceStateCallback mDeviceStateCallback; 67 DeviceStateManager deviceStateManager, in DeviceStateRotationLockSettingController()
|
D | DevicePostureControllerImpl.java | 22 import android.hardware.devicestate.DeviceStateManager; 60 Context context, DeviceStateManager deviceStateManager, @Main Executor executor) { in DevicePostureControllerImpl() 88 deviceStateManager.registerCallback(executor, new DeviceStateManager.DeviceStateCallback() { in DevicePostureControllerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/ |
D | DeviceStateRepository.kt | 20 import android.hardware.devicestate.DeviceStateManager in <lambda>() 56 deviceStateManager: DeviceStateManager, 64 DeviceStateManager.DeviceStateCallback { state -> in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DevicePostureController.java | 22 import android.hardware.devicestate.DeviceStateManager; 106 final DeviceStateManager deviceStateManager = mContext.getSystemService( in onInit() 107 DeviceStateManager.class); in onInit()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 21 import android.hardware.devicestate.DeviceStateManager; 22 import android.hardware.devicestate.DeviceStateManager.FoldStateListener; 66 DeviceStateManager deviceStateManager = context.getSystemService(DeviceStateManager.class); in DisplayFoldController()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/ |
D | DeviceStateManagerFoldingFeatureProducer.java | 19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER; 27 import android.hardware.devicestate.DeviceStateManager; 28 import android.hardware.devicestate.DeviceStateManager.DeviceStateCallback; 96 @NonNull DeviceStateManager deviceStateManager) { in DeviceStateManagerFoldingFeatureProducer()
|
/frameworks/base/services/core/java/com/android/server/devicestate/ |
D | DeviceStateProvider.java | 19 import static android.hardware.devicestate.DeviceStateManager.MAXIMUM_DEVICE_STATE_IDENTIFIER; 20 import static android.hardware.devicestate.DeviceStateManager.MINIMUM_DEVICE_STATE_IDENTIFIER;
|
D | DeviceStateManagerShellCommand.java | 22 import android.hardware.devicestate.DeviceStateManager; 44 private final DeviceStateManager mClient; 48 mClient = service.getContext().getSystemService(DeviceStateManager.class); in DeviceStateManagerShellCommand()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | UnfoldLatencyTracker.kt | 21 import android.hardware.devicestate.DeviceStateManager 49 private val deviceStateManager: DeviceStateManager, 175 DeviceStateManager.FoldStateListener(context, { onFoldEvent(it) }) in <lambda>()
|
D | UnfoldTransitionModule.kt | 20 import android.hardware.devicestate.DeviceStateManager in <lambda>() 79 deviceStateManager: DeviceStateManager, in <lambda>() 82 ): DeviceStateManager.FoldStateListener { in <lambda>() 83 val listener = DeviceStateManager.FoldStateListener(context) in <lambda>()
|
D | UnfoldLightRevealOverlayAnimation.kt | 21 import android.hardware.devicestate.DeviceStateManager in <lambda>() 53 private val deviceStateManager: DeviceStateManager, in <lambda>() 179 DeviceStateManager.FoldStateListener( in <lambda>()
|
D | FoldAodAnimationController.kt | 21 import android.hardware.devicestate.DeviceStateManager in <lambda>() 54 private val deviceStateManager: DeviceStateManager, in <lambda>() 244 DeviceStateManager.FoldStateListener( in <lambda>()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/ |
D | WindowExtensionsImpl.java | 26 import android.hardware.devicestate.DeviceStateManager; 107 private DeviceStateManager getDeviceStateManager() { in getDeviceStateManager() 108 return Objects.requireNonNull(getApplication().getSystemService(DeviceStateManager.class)); in getDeviceStateManager()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DeviceStateHelper.java | 26 import android.hardware.devicestate.DeviceStateManager; 40 context.getSystemService(DeviceStateManager.class) in DeviceStateHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/reardisplay/ |
D | RearDisplayDialogController.java | 27 import android.hardware.devicestate.DeviceStateManager; 75 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/ |
D | DeviceStateRotationLockSettingControllerTest.java | 29 import android.hardware.devicestate.DeviceStateManager; 63 @Mock private DeviceStateManager mDeviceStateManager; 71 private DeviceStateManager.DeviceStateCallback mDeviceStateCallback; 84 ArgumentCaptor<DeviceStateManager.DeviceStateCallback> deviceStateCallbackArgumentCaptor = in setUp() 85 ArgumentCaptor.forClass(DeviceStateManager.DeviceStateCallback.class); in setUp()
|
D | DevicePostureControllerImplTest.kt | 20 import android.hardware.devicestate.DeviceStateManager 60 @Mock private lateinit var deviceStateManager: DeviceStateManager 62 private lateinit var deviceStateCallback: ArgumentCaptor<DeviceStateManager.DeviceStateCallback>
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DeviceStateControllerTests.java | 27 import android.hardware.devicestate.DeviceStateManager; 58 private DeviceStateManager mMockDeviceStateManager; 210 mMockDeviceStateManager = mock(DeviceStateManager.class); in build() 211 when(mMockContext.getSystemService(DeviceStateManager.class)) in build()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/ |
D | UnfoldLatencyTrackerTest.kt | 19 import android.hardware.devicestate.DeviceStateManager 20 import android.hardware.devicestate.DeviceStateManager.FoldStateListener 48 @Mock lateinit var deviceStateManager: DeviceStateManager
|
D | FoldAodAnimationControllerTest.kt | 19 import android.hardware.devicestate.DeviceStateManager 20 import android.hardware.devicestate.DeviceStateManager.FoldStateListener 63 @Mock lateinit var deviceStateManager: DeviceStateManager
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/ |
D | DeviceStateRepositoryTest.kt | 19 import android.hardware.devicestate.DeviceStateManager 50 private val deviceStateManager = mock<DeviceStateManager>() 52 kotlinArgumentCaptor<DeviceStateManager.DeviceStateCallback>()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SampleSidecarImpl.java | 23 import android.hardware.devicestate.DeviceStateManager; 51 context.getSystemService(DeviceStateManager.class)); in SampleSidecarImpl()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/ |
D | WindowAreaComponentImpl.java | 19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER; 24 import android.hardware.devicestate.DeviceStateManager; 58 DeviceStateManager.DeviceStateCallback { 64 private final DeviceStateManager mDeviceStateManager; 102 mDeviceStateManager = context.getSystemService(DeviceStateManager.class); in WindowAreaComponentImpl()
|