Searched refs:remoteDPC (Results 1 – 2 of 2) sorted by relevance
480 RemoteDpc remoteDPC = RemoteDpc.setAsDeviceOwner(); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner() local483 assertThat(deviceOwner).isEqualTo(remoteDPC.devicePolicyController()); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner()552 RemoteDpc remoteDPC = RemoteDpc.setAsProfileOwner(profile.userHandle()); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner() local555 .isEqualTo(remoteDPC.devicePolicyController()); in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner()650 RemoteDpc remoteDPC = RemoteDpc.setAsProfileOwner(profile); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner() local653 .isEqualTo(remoteDPC.devicePolicyController()); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner()681 RemoteDpc remoteDPC = RemoteDpc.deviceOwner(); in devicePolicyController_returnsDevicePolicyController() local684 assertThat(remoteDPC.devicePolicyController()) in devicePolicyController_returnsDevicePolicyController()687 remoteDPC.remove(); in devicePolicyController_returnsDevicePolicyController()694 RemoteDpc remoteDPC = RemoteDpc.deviceOwner(); in remove_deviceOwner_removes() local[all …]
142 RemoteDpc remoteDPC = profileOwner(user); in any() local143 if (remoteDPC != null) { in any()144 return remoteDPC; in any()