Searched refs:DeviceOwnerType (Results 1 – 11 of 11) sorted by relevance
20 public final class DeviceOwnerType { class22 private DeviceOwnerType() { in DeviceOwnerType() method in DeviceOwnerType
235 return (deviceOwnerType == DeviceOwnerType.DEFAULT) in isValidDeviceOwnerType()236 || (deviceOwnerType == DeviceOwnerType.FINANCED); in isValidDeviceOwnerType()
28 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;42 @EnsureHasDeviceOwner(isPrimary = true, type = DeviceOwnerType.FINANCED, key = "dpc")
28 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;136 int type() default DeviceOwnerType.DEFAULT; in type()
90 mDeviceOwner.setType(DeviceOwnerType.FINANCED); in setDeviceOwnerType_setsDeviceOwnerType()92 assertThat(mDeviceOwner.getType()).isEqualTo(DeviceOwnerType.FINANCED); in setDeviceOwnerType_setsDeviceOwnerType()
31 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType197 if (type != DeviceOwnerType.FINANCED) { in ensureHasDeviceOwner()
41 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;396 assumeFalse(deviceOwner != null && deviceOwner.getType() == DeviceOwnerType.FINANCED); in skipTestForFinancedDevice()
52 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;95 && deviceOwner.getType() == DeviceOwnerType.FINANCED; in skipRoleHolderAndFinancedDeviceOwnerTestIfFlagNotEnabled()
78 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;1175 assumeFalse(deviceOwner != null && deviceOwner.getType() == DeviceOwnerType.FINANCED); in skipTestForFinancedDevice()
56 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType369 assertThat(devicePolicy().getDeviceOwner()!!.getType()).isEqualTo(DeviceOwnerType.FINANCED) in includeRunOnFinancedDeviceOwnerUserAnnotation_financedDeviceOwnerTypeSet()
116 import com.android.bedstead.nene.devicepolicy.DeviceOwnerType;2411 /* affiliationIds= */ new HashSet<>(), /* type= */ DeviceOwnerType.DEFAULT,2448 /* affiliationIds= */ new HashSet<>(), /* type= */ DeviceOwnerType.DEFAULT,