Searched refs:setDeviceOwner (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DeviceOwnerTargetPreparer.java | 79 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/ |
D | DeviceOwnerTargetPreparerTest.java | 151 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()
|
D | RunOnWorkProfileTargetPreparerTest.java | 349 .setDeviceOwner(DEVICE_OWNER_COMPONENT_NAME, /* userId= */ DEVICE_OWNER_USER); in teardown_didRemoveDeviceOwner_setsDeviceOwner()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | ProfileTargetPreparer.java | 302 .setDeviceOwner(mDeviceOwnerToSet.componentName, mDeviceOwnerToSet.userId); in tearDown()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | ITestDevice.java | 1052 public boolean setDeviceOwner(String componentName, int userId) in setDeviceOwner() method
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | TestDeviceTest.java | 5553 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/ |
D | TestDevice.java | 2434 public boolean setDeviceOwner(String componentName, int userId) in setDeviceOwner() method in TestDevice
|
D | NativeDevice.java | 5242 public boolean setDeviceOwner(String componentName, int userId) in setDeviceOwner() method in NativeDevice
|