Home
last modified time | relevance | path

Searched refs:endDate (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java117 Date startDate, Date endDate, int flags) { in KeyPairGeneratorSpec() argument
128 } else if (endDate == null) { in KeyPairGeneratorSpec()
130 } else if (endDate.before(startDate)) { in KeyPairGeneratorSpec()
134 if (endDate.before(startDate)) { in KeyPairGeneratorSpec()
146 mEndDate = endDate; in KeyPairGeneratorSpec()
415 public Builder setEndDate(@NonNull Date endDate) { in setEndDate() argument
416 if (endDate == null) { in setEndDate()
419 mEndDate = endDate; in setEndDate()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProtection.java604 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() argument
605 setKeyValidityForOriginationEnd(endDate); in setKeyValidityEnd()
606 setKeyValidityForConsumptionEnd(endDate); in setKeyValidityEnd()
618 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() argument
619 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForOriginationEnd()
632 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() argument
633 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForConsumptionEnd()
DKeyGenParameterSpec.java959 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() argument
960 setKeyValidityForOriginationEnd(endDate); in setKeyValidityEnd()
961 setKeyValidityForConsumptionEnd(endDate); in setKeyValidityEnd()
973 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() argument
974 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForOriginationEnd()
987 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() argument
988 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForConsumptionEnd()
/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java171 final LocalDate endDate = LocalDate.ofYearDay(DUMMY_YEAR, mEndDay).withYear( in toCurrentOrFutureRealDates() local
173 return new Pair<>(startDate, endDate); in toCurrentOrFutureRealDates()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java884 String endDate = parser.getAttributeValue(null, ATTR_FREEZE_RECORD_END); in readInner() local
885 if (startDate != null && endDate != null) { in readInner()
887 mSystemUpdateFreezeEnd = LocalDate.parse(endDate); in readInner()