Home
last modified time | relevance | path

Searched defs:deviceOwner (Results 1 – 15 of 15) sorted by relevance

/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
DRemoteDpcTest.java101 DeviceOwner deviceOwner = in deviceOwner_nonRemoteDpcDeviceOwner_returnsNull() local
287 DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner( in any_nonRemoteDpcDeviceOwner_noProfileOwner_returnsNull() local
347 DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner( in any_userHandle_nonRemoteDpcDeviceOwner_noProfileOwner_returnsNull() local
361 RemoteDpc deviceOwner = RemoteDpc.deviceOwner(); in any_userHandle_remoteDpcDeviceOwner_returnsDeviceOwner() local
421 DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner( in any_userReference_nonRemoteDpcDeviceOwner_noProfileOwner_returnsNull() local
435 RemoteDpc deviceOwner = RemoteDpc.deviceOwner(); in any_userReference_remoteDpcDeviceOwner_returnsDeviceOwner() local
463 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in setAsDeviceOwner_withoutTestAppQuery_setsDefault() local
472 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in setAsDeviceOwner_alreadySet_doesNothing() local
488 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in setAsDeviceOwner_alreadyHasDeviceOwner_replacesDeviceOwner() local
501 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in setAsDeviceOwner_doesNotHaveDeviceOwner_setsDeviceOwner() local
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDeviceOwnerTest.kt141 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
167 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
190 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
261 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
292 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
316 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
347 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
366 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
DProvisioningTest.kt361 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
381 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
440 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
472 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
496 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
520 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
541 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
563 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
586 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
611 val deviceOwner = TestApis.devicePolicy().getDeviceOwner() in <lambda>() constant
[all …]
DAdbProvisioningTest.java74 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in setDeviceOwnerUsingAdb_isLogged() local
DUserRestrictionsTest.java392 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in skipTestForFinancedDevice() local
DPasswordComplexityTest.java93 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in skipRoleHolderAndFinancedDeviceOwnerTestIfFlagNotEnabled() local
DPermissionGrantTest.java1171 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in skipTestForFinancedDevice() local
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/
DDeviceOwnerTest.java100 DeviceOwner deviceOwner = TestApis.devicePolicy() in remove_nonTestOnlyDpc_removesDeviceOwner() local
115 DeviceOwner deviceOwner = TestApis.devicePolicy() in setAndRemoveDeviceOwnerRepeatedly_doesNotThrowError() local
DDevicePolicyTest.java239 DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner(DPC_COMPONENT_NAME); in setDeviceOwner_deviceOwnerIsSet() local
296 DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner(DPC_COMPONENT_NAME); in setDeviceOwner_sPlus_userAlreadyOnDevice_deviceOwnerIsSet() local
348 try (DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner(DPC_COMPONENT_NAME)) { in deviceOwner_autoclose_removesDeviceOwner()
/cts/common/device-side/bedstead/deviceadminapp/src/test/java/com/android/bedstead/deviceadminapp/
DDeviceAdminAppTest.java61 try (DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner( in setAsDeviceOwner_isEnabled()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DDeviceOwnerComponent.kt57 private var deviceOwner: DevicePolicyController? = null variable
302 fun deviceOwner(): RemoteDpc { in deviceOwner() method
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemoteDpc.java67 public static RemoteDpc deviceOwner() { in deviceOwner() method in RemoteDpc
68 DeviceOwner deviceOwner = TestApis.devicePolicy().getDeviceOwner(); in deviceOwner() local
224 DeviceOwner deviceOwner = TestApis.devicePolicy().setDeviceOwner(componentName, user); in setAsDeviceOwner() local
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutorTest.kt212 val deviceOwner = devicePolicy().getDeviceOwner() in ensureHasDeviceOwnerAnnotation_noQuerySpecified_setsDefaultRemoteDpc() constant
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiverTest.java103 DeviceOwner deviceOwner = in enableDeviceOwner_logsEnabledEvent() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt394 val deviceOwner = getDeviceOwner() in <lambda>() constant