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.java480 RemoteDpc remoteDPC = RemoteDpc.setAsDeviceOwner(); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner() local
483 assertThat(deviceOwner).isEqualTo(remoteDPC.devicePolicyController()); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner()
552 RemoteDpc remoteDPC = RemoteDpc.setAsProfileOwner(profile.userHandle()); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner() local
555 .isEqualTo(remoteDPC.devicePolicyController()); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner()
650 RemoteDpc remoteDPC = RemoteDpc.setAsProfileOwner(profile); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner() local
653 .isEqualTo(remoteDPC.devicePolicyController()); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner()
681 RemoteDpc remoteDPC = RemoteDpc.deviceOwner(); in devicePolicyController_returnsDevicePolicyController() local
684 assertThat(remoteDPC.devicePolicyController()) in devicePolicyController_returnsDevicePolicyController()
687 remoteDPC.remove(); in devicePolicyController_returnsDevicePolicyController()
694 RemoteDpc remoteDPC = RemoteDpc.deviceOwner(); in remove_deviceOwner_removes() local
[all …]
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemoteDpc.java142 RemoteDpc remoteDPC = profileOwner(user); in any() local
143 if (remoteDPC != null) { in any()
144 return remoteDPC; in any()