Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DVisibleBackgroundUserPreparer.java56 if (!device.isVisibleBackgroundUsersSupported()) { in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DRunOnSecondaryUserTargetPreparerTest.java418 when(mTestInfo.getDevice().isVisibleBackgroundUsersSupported()).thenReturn(true); in setUp_hasOneSecondaryUser_createSecondaryUserOnSecondaryDisplay()
466 when(mTestInfo.getDevice().isVisibleBackgroundUsersSupported()).thenReturn(true); in setUp_hasOneSecondaryUser_doNothing()
513 when(mTestInfo.getDevice().isVisibleBackgroundUsersSupported()).thenReturn(true); in setUp_hasTwoSecondaryUsers_startSecondaryUserOnSecondaryDisplay()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DITestDeviceMockHelper.java82 when(mMockDevice.isVisibleBackgroundUsersSupported()).thenReturn(supported); in mockIsVisibleBackgroundUsersSupported()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java870 public boolean isVisibleBackgroundUsersSupported() throws DeviceNotAvailableException; in isVisibleBackgroundUsersSupported() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java4596 () -> testDevice.isVisibleBackgroundUsersSupported()); in testIsVisibleBackgroundUsersSupported_unsupportedApiLevel()
4610 () -> testDevice.isVisibleBackgroundUsersSupported()); in testIsVisibleBackgroundUsersSupported_cmdError()
4626 () -> testDevice.isVisibleBackgroundUsersSupported()); in testIsVisibleBackgroundUsersSupported_invalidOutput()
4639 assertThat(testDevice.isVisibleBackgroundUsersSupported()).isFalse(); in testIsVisibleBackgroundUsersSupported_false()
4649 assertThat(testDevice.isVisibleBackgroundUsersSupported()).isTrue(); in testIsVisibleBackgroundUsersSupported_true()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1991 public boolean isVisibleBackgroundUsersSupported() throws DeviceNotAvailableException { in isVisibleBackgroundUsersSupported() method in TestDevice
DNativeDevice.java5001 public boolean isVisibleBackgroundUsersSupported() throws DeviceNotAvailableException { in isVisibleBackgroundUsersSupported() method in NativeDevice