Home
last modified time | relevance | path

Searched refs:DeviceOwnerType (Results 1 – 11 of 11) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDeviceOwnerType.java20 public final class DeviceOwnerType { class
22 private DeviceOwnerType() { in DeviceOwnerType() method in DeviceOwnerType
DDeviceOwner.java235 return (deviceOwnerType == DeviceOwnerType.DEFAULT) in isValidDeviceOwnerType()
236 || (deviceOwnerType == DeviceOwnerType.FINANCED); in isValidDeviceOwnerType()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/
DIncludeRunOnFinancedDeviceOwnerUser.java28 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;
42 @EnsureHasDeviceOwner(isPrimary = true, type = DeviceOwnerType.FINANCED, key = "dpc")
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasDeviceOwner.java28 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;
136 int type() default DeviceOwnerType.DEFAULT; in type()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/
DDeviceOwnerTest.java90 mDeviceOwner.setType(DeviceOwnerType.FINANCED); in setDeviceOwnerType_setsDeviceOwnerType()
92 assertThat(mDeviceOwner.getType()).isEqualTo(DeviceOwnerType.FINANCED); in setDeviceOwnerType_setsDeviceOwnerType()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DDeviceOwnerComponent.kt31 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType
197 if (type != DeviceOwnerType.FINANCED) { in ensureHasDeviceOwner()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DUserRestrictionsTest.java41 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;
396 assumeFalse(deviceOwner != null && deviceOwner.getType() == DeviceOwnerType.FINANCED); in skipTestForFinancedDevice()
DPasswordComplexityTest.java52 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;
95 && deviceOwner.getType() == DeviceOwnerType.FINANCED; in skipRoleHolderAndFinancedDeviceOwnerTestIfFlagNotEnabled()
DPermissionGrantTest.java78 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;
1175 assumeFalse(deviceOwner != null && deviceOwner.getType() == DeviceOwnerType.FINANCED); in skipTestForFinancedDevice()
/cts/common/device-side/bedstead/modules/enterprise/src/test/kotlin/com/android/bedstead/enterprise/
DEnterpriseAnnotationExecutorTest.kt56 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType
369 assertThat(devicePolicy().getDeviceOwner()!!.getType()).isEqualTo(DeviceOwnerType.FINANCED) in includeRunOnFinancedDeviceOwnerUserAnnotation_financedDeviceOwnerTypeSet()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java116 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;
2411 /* affiliationIds= */ new HashSet<>(), /* type= */ DeviceOwnerType.DEFAULT,
2448 /* affiliationIds= */ new HashSet<>(), /* type= */ DeviceOwnerType.DEFAULT,