Searched refs:OWNER_NAME (Results 1 – 1 of 1) sorted by relevance
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/ |
D | SetDevicePolicyTaskTest.java | 39 private static final String OWNER_NAME = "Test Owner"; field in SetDevicePolicyTaskTest 62 when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME, TEST_USER_ID)) in setUp() 65 mTask = new SetDevicePolicyTask(mContext, OWNER_NAME, mCallback, TEST_USER_ID); in setUp() 97 verify(mDevicePolicyManager).setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME, TEST_USER_ID); in testSetDeviceOwner() 103 when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME, TEST_USER_ID)) in testSetDeviceOwner_PreconditionsNotMet() 106 verify(mDevicePolicyManager).setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME, TEST_USER_ID); in testSetDeviceOwner_PreconditionsNotMet() 112 when(mDevicePolicyManager.setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME, TEST_USER_ID)) in testSetDeviceOwner_ReturnFalse() 115 verify(mDevicePolicyManager).setDeviceOwner(ADMIN_COMPONENT_NAME, OWNER_NAME, TEST_USER_ID); in testSetDeviceOwner_ReturnFalse()
|