Home
last modified time | relevance | path

Searched refs:DeviceStateUtils (Results 1 – 7 of 7) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDeviceStateUtils.java33 public final class DeviceStateUtils { class
79 private DeviceStateUtils() {} in DeviceStateUtils() method in DeviceStateUtils
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/
DExtensionRearDisplayTest.java42 import android.server.wm.DeviceStateUtils;
155 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()
183 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testRearDisplayStatusListeners()
224 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testStartAndEndRearDisplaySession()
241 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testStartAndEndRearDisplaySession()
299 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testGetRearDisplayMetrics()
314 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testGetRearDisplayMetrics()
343 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testGetRearDisplayMetrics_afterRotation()
DExtensionRearDisplayPresentationTest.java49 import android.server.wm.DeviceStateUtils;
175 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()
177 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()
206 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testRearDisplayPresentationStatusListeners()
DExtensionRearDisplayPresentationKeyguardTest.java40 import android.server.wm.DeviceStateUtils;
124 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()
126 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()
/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateRequestSession.java19 import static android.server.wm.DeviceStateUtils.runWithControlDeviceStatePermission;
DDeviceStateManagerTests.java22 import static android.server.wm.DeviceStateUtils.assertValidDeviceState;
23 import static android.server.wm.DeviceStateUtils.assertValidState;
24 import static android.server.wm.DeviceStateUtils.runWithControlDeviceStatePermission;
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/
DExtensionWindowLayoutComponentTest.java54 import android.server.wm.DeviceStateUtils;
259 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged()
273 DeviceStateUtils.runWithControlDeviceStatePermission( in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged()