Searched refs:DeviceStateUtils (Results 1 – 7 of 7) sorted by relevance
33 public final class DeviceStateUtils { class79 private DeviceStateUtils() {} in DeviceStateUtils() method in DeviceStateUtils
42 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()
49 import android.server.wm.DeviceStateUtils;175 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()177 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()206 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testRearDisplayPresentationStatusListeners()
40 import android.server.wm.DeviceStateUtils;124 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()126 DeviceStateUtils.runWithControlDeviceStatePermission( in tearDown()
19 import static android.server.wm.DeviceStateUtils.runWithControlDeviceStatePermission;
22 import static android.server.wm.DeviceStateUtils.assertValidDeviceState;23 import static android.server.wm.DeviceStateUtils.assertValidState;24 import static android.server.wm.DeviceStateUtils.runWithControlDeviceStatePermission;
54 import android.server.wm.DeviceStateUtils;259 DeviceStateUtils.runWithControlDeviceStatePermission(() -> in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged()273 DeviceStateUtils.runWithControlDeviceStatePermission( in testWindowLayoutComponent_windowLayoutInfoListener_deviceStateChanged()