Home
last modified time | relevance | path

Searched refs:setDeviceOwner (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDeviceOwnerTargetPreparer.java79 setDeviceOwner(); in setUp()
111 private void setDeviceOwner() throws DeviceNotAvailableException { in setDeviceOwner() method in DeviceOwnerTargetPreparer
112 mDevice.setDeviceOwner(mDeviceOwnerComponentName, mDeviceOwnerUserId); in setDeviceOwner()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDeviceOwnerTargetPreparerTest.java151 verify(mTestInfo.getDevice()).setDeviceOwner(TEST_DEVICE_OWNER_COMPONENT_NAME, 0); in testSetUp_setsDeviceOwner()
170 verify(mTestInfo.getDevice()).setDeviceOwner(TEST_DEVICE_OWNER_COMPONENT_NAME, 10); in testSetUp_headless_setsDeviceOwner()
DRunOnWorkProfileTargetPreparerTest.java349 .setDeviceOwner(DEVICE_OWNER_COMPONENT_NAME, /* userId= */ DEVICE_OWNER_USER); in teardown_didRemoveDeviceOwner_setsDeviceOwner()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DProfileTargetPreparer.java302 .setDeviceOwner(mDeviceOwnerToSet.componentName, mDeviceOwnerToSet.userId); in tearDown()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java1052 public boolean setDeviceOwner(String componentName, int userId) in setDeviceOwner() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java5553 assertTrue(mTestDevice.setDeviceOwner("xxx/yyy", 0)); in testSetDeviceOwner_success()
5566 assertFalse(mTestDevice.setDeviceOwner("xxx/yyy", 0)); in testSetDeviceOwner_fail()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java2434 public boolean setDeviceOwner(String componentName, int userId) in setDeviceOwner() method in TestDevice
DNativeDevice.java5242 public boolean setDeviceOwner(String componentName, int userId) in setDeviceOwner() method in NativeDevice