Searched refs:remoteDPC (Results 1 – 2 of 2) sorted by relevance
486 RemoteDpc remoteDPC = RemoteDpc.setAsDeviceOwner(); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner() local489 assertThat(deviceOwner).isEqualTo(remoteDPC.devicePolicyController()); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner()550 RemoteDpc remoteDPC = null; in setAsProfileOwner_userHandle_alreadyHasProfileOwner_replacesProfileOwner() local555 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() local652 remoteDPC = RemoteDpc.setAsProfileOwner(TestApis.users().instrumented()); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner()655 .isEqualTo(remoteDPC.devicePolicyController()); in setAsProfileOwner_userReference_alreadyHasProfileOwner_replacesProfileOwner()[all …]
159 RemoteDpc remoteDPC = profileOwner(user); in any() local160 if (remoteDPC != null) { in any()161 return remoteDPC; in any()