Searched refs:forDevicePolicyController (Results 1 – 7 of 7) sorted by relevance
187 RemoteDpc.forDevicePolicyController(deviceOwner) in ensureHasDeviceOwner()200 RemoteDpc.forDevicePolicyController(deviceOwner) in ensureHasDeviceOwner()218 .forDevicePolicyController(deviceOwner) in ensureHasDeviceOwner()312 return RemoteDpc.forDevicePolicyController(deviceOwner) in deviceOwner()
156 RemoteDpc.forDevicePolicyController(profileOwners[user]) in <lambda>()159 RemoteDpc.forDevicePolicyController(profileOwners[user]) in <lambda>()207 return RemoteDpc.forDevicePolicyController(profileOwner) in <lambda>()
155 return RemoteDpc.forDevicePolicyController(profileOwner) in dpc()160 return RemoteDpc.forDevicePolicyController(it) in dpc()
169 public static RemoteDpc forDevicePolicyController(DevicePolicyController controller) { in forDevicePolicyController() method in RemoteDpc212 return RemoteDpc.forDevicePolicyController(currentDeviceOwner); in setAsDeviceOwner()307 return RemoteDpc.forDevicePolicyController(currentProfileOwner); in setAsProfileOwner()438 RemoteDpc dpc = forDevicePolicyController(TestApis.devicePolicy().getProfileOwner( in createWorkProfile()465 RemoteDpc remoteDpc = RemoteDpc.forDevicePolicyController(devicePolicyController); in matchesRemoteDpcQuery()
154 val remoteDpc = RemoteDpc.forDevicePolicyController(devicePolicy().getDeviceOwner()) in ensureHasDeviceOwnerAnnotation_targetingV28_remoteDpcTargetsV28()161 val remoteDpc = RemoteDpc.forDevicePolicyController(devicePolicy().getDeviceOwner()) in ensureHasDeviceOwnerAnnoion_targetingGreaterThanOrEqualToV30_remoteDpcTargetsV30()241 val remoteDpc = RemoteDpc.forDevicePolicyController(devicePolicy().getProfileOwner()) in ensureHasProfileOwnerAnnotation_targetingV28_remoteDpcTargetsV28()
760 assertThrows(NullPointerException.class, () -> RemoteDpc.forDevicePolicyController(null)); in forDevicePolicyController_nullDevicePolicyController_throwsException()774 () -> RemoteDpc.forDevicePolicyController(deviceOwner)); in forDevicePolicyController_nonRemoteDpcDevicePolicyController_throwsException()785 assertThat(RemoteDpc.forDevicePolicyController(remoteDPC.devicePolicyController())) in forDevicePolicyController_remoteDpcDevicePolicyController_returnsRemoteDpc()
1335 RemoteDpc.forDevicePolicyController( in <lambda>()1365 RemoteDpc.forDevicePolicyController( in <lambda>()