Home
last modified time | relevance | path

Searched refs:endDate (Results 1 – 6 of 6) 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.java937 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() argument
938 setKeyValidityForOriginationEnd(endDate); in setKeyValidityEnd()
939 setKeyValidityForConsumptionEnd(endDate); in setKeyValidityEnd()
951 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() argument
952 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForOriginationEnd()
965 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() argument
966 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/tools/preload2/src/com/android/preload/
DDeviceUtils.java208 Date endDate = new Date(); in waitForBootComplete() local
210 TimeUnit.SECONDS.convert(endDate.getTime() - startDate.getTime(), TimeUnit.MILLISECONDS); in waitForBootComplete()
/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()