Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DCustomDeviceOwnerTest.java87 assertTrue(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT)); in testOwnerChangedBroadcast()
106 assertFalse(setDeviceOwner(DEVICE_OWNER_ADMIN_COMPONENT)); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
122 assertFalse(setDeviceOwner(DEVICE_AND_PROFILE_OWNER_ADMIN_COMPONENT)); in testCannotSetDeviceOwnerWhenAccountPresent()
139 assertTrue(setDeviceOwner(PACKAGE_INSTALLER_ADMIN_COMPONENT)); in testSilentPackageInstall()
DDeviceOwnerTest.java50 setDeviceOwner(DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in setUp()
107 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in testCannotSetDeviceOwnerAgain()
112 assertFalse(setDeviceOwner(MANAGED_PROFILE_PKG + "/" + MANAGED_PROFILE_ADMIN)); in testCannotSetDeviceOwnerAgain()
DMixedDeviceOwnerTest.java43 setDeviceOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS)); in setUp()
DManagedProfileTest.java544 assertFalse(setDeviceOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN)); in testCannotSetDeviceOwnerWhenProfilePresent()
DBaseDevicePolicyTest.java359 protected boolean setDeviceOwner(String componentName) throws DeviceNotAvailableException { in setDeviceOwner() method in BaseDevicePolicyTest