/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicyTest.java | 104 TestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME); in setProfileOwner_profileOwnerIsSet() 124 TestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME); in setProfileOwner_profileOwnerIsAlreadySet_throwsException() 127 () -> TestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME)); in setProfileOwner_profileOwnerIsAlreadySet_throwsException() 143 () -> TestApis.devicePolicy().setProfileOwner( in setProfileOwner_componentNameNotInstalled_throwsException() 155 () -> TestApis.devicePolicy().setProfileOwner(sUser, NOT_DPC_COMPONENT_NAME)); in setProfileOwner_componentNameIsNotDPC_throwsException() 163 () -> TestApis.devicePolicy().setProfileOwner( in setProfileOwner_nullUser_throwsException() 172 () -> TestApis.devicePolicy().setProfileOwner( in setProfileOwner_nullComponentName_throwsException() 181 () -> TestApis.devicePolicy().setProfileOwner( in setProfileOwner_userDoesNotExist_throwsException() 197 TestApis.devicePolicy().setProfileOwner(profile, DPC_COMPONENT_NAME); in getProfileOwner_returnsProfileOwner() 332 TestApis.devicePolicy().setProfileOwner(sUser, DPC_COMPONENT_NAME)) { in profileOwner_autoclose_removesProfileOwner() [all …]
|
D | ProfileOwnerTest.java | 80 sProfileOwner = TestApis.devicePolicy().setProfileOwner(sProfile, DPC_COMPONENT_NAME); in remove_removesProfileOwner()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | MixedProfileOwnerTestApi25.java | 38 if (!setProfileOwner( in setUp()
|
D | ProfileOwnerTestApi23.java | 41 if (!setProfileOwner( in setUp()
|
D | AdbProvisioningTests.java | 58 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, mPrimaryUserId, in testAdbProfileOwnerLogged()
|
D | MixedProfileOwnerTest.java | 50 if (!setProfileOwner( in setUp()
|
D | ProfileOwnerTest.java | 50 if (!setProfileOwner( in setUp()
|
D | DeviceAndProfileOwnerHostSideTransferTest.java | 158 if (!setProfileOwner(adminReceiverClassName, userId, false)) { in setupManagedProfile()
|
D | ManagedProfileTest.java | 224 assertFalse(setProfileOwner( in testCannotSetProfileOwnerAgain() 230 assertFalse(setProfileOwner(DEVICE_OWNER_PKG + "/" + DEVICE_OWNER_ADMIN, mProfileUserId, in testCannotSetProfileOwnerAgain()
|
D | UserRestrictionsTest.java | 274 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setPoAsUser()
|
D | BaseDevicePolicyTest.java | 834 protected boolean setProfileOwner(String componentName, int userId, boolean expectFailure) in setProfileOwner() method in BaseDevicePolicyTest 851 if (!setProfileOwner(componentName, userId, /*expectFailure*/ false)) { in setProfileOwnerOrFail() 860 if (setProfileOwner(componentName, userId, /* expectFailure =*/ true)) { in setProfileOwnerExpectingFailure()
|
D | OrgOwnedProfileOwnerTest.java | 548 setProfileOwner(DEVICE_ADMIN_PKG + "/" + ADMIN_RECEIVER_TEST_CLASS, in setPoAsUser()
|
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/ |
D | RemoteDpcTest.java | 129 TestApis.devicePolicy().setProfileOwner(sUser, NON_REMOTE_DPC_COMPONENT); in profileOwner_nonRemoteDpcProfileOwner_returnsNull() 176 TestApis.devicePolicy().setProfileOwner(profile, NON_REMOTE_DPC_COMPONENT); in profileOwner_userHandle_nonRemoteDpcProfileOwner_returnsNull() 235 TestApis.devicePolicy().setProfileOwner(profile, NON_REMOTE_DPC_COMPONENT); in profileOwner_userReference_nonRemoteDpcProfileOwner_returnsNull() 272 ProfileOwner profileOwner = TestApis.devicePolicy().setProfileOwner(sUser, in any_noDeviceOwner_nonRemoteDpcProfileOwner_returnsNull() 334 TestApis.devicePolicy().setProfileOwner(profile, NON_REMOTE_DPC_COMPONENT); in any_userHandle_noDeviceOwner_nonRemoteDpcProfileOwner_returnsNull() 408 TestApis.devicePolicy().setProfileOwner(profile, NON_REMOTE_DPC_COMPONENT); in any_userReference_noDeviceOwner_nonRemoteDpcProfileOwner_returnsNull() 550 TestApis.devicePolicy().setProfileOwner(profile, NON_REMOTE_DPC_COMPONENT); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner() 648 TestApis.devicePolicy().setProfileOwner(profile, NON_REMOTE_DPC_COMPONENT); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner()
|
/cts/common/device-side/bedstead/deviceadminapp/src/test/java/com/android/bedstead/deviceadminapp/ |
D | DeviceAdminAppTest.java | 78 TestApis.devicePolicy().setProfileOwner( in setAsProfileOwner_isEnabled()
|
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/ |
D | RemoteDpc.java | 219 TestApis.devicePolicy().setProfileOwner(user, DPC_COMPONENT_NAME)); in setAsProfileOwner()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicy.java | 81 public ProfileOwner setProfileOwner(UserReference user, ComponentName profileOwnerComponent) { in setProfileOwner() method in DevicePolicy
|
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/ |
D | EventLibDeviceAdminReceiverTest.java | 118 TestApis.devicePolicy().setProfileOwner(sUser, DEVICE_ADMIN_COMPONENT); in enableProfileOwner_logsEnabledEvent()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DeviceState.java | 1366 TestApis.devicePolicy().setProfileOwner(originalProfileOwner.getKey(),
|