Home
last modified time | relevance | path

Searched refs:remoteDPC (Results 1 – 2 of 2) sorted by relevance

/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
DRemoteDpcTest.java486 RemoteDpc remoteDPC = RemoteDpc.setAsDeviceOwner(); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner() local
489 assertThat(deviceOwner).isEqualTo(remoteDPC.devicePolicyController()); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner()
550 RemoteDpc remoteDPC = null; in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner() local
555 remoteDPC = RemoteDpc.setAsProfileOwner(TestApis.users().instrumented().userHandle()); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner()
558 .isEqualTo(remoteDPC.devicePolicyController()); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner()
560 if (remoteDPC != null) { in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner()
561 remoteDPC.remove(); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner()
647 RemoteDpc remoteDPC = null; in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner() local
652 remoteDPC = RemoteDpc.setAsProfileOwner(TestApis.users().instrumented()); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner()
655 .isEqualTo(remoteDPC.devicePolicyController()); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner()
[all …]
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemoteDpc.java159 RemoteDpc remoteDPC = profileOwner(user); in any() local
160 if (remoteDPC != null) { in any()
161 return remoteDPC; in any()