Home
last modified time | relevance | path

Searched refs:endDate (Results 1 – 4 of 4) 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()
414 public Builder setEndDate(@NonNull Date endDate) { in setEndDate() argument
415 if (endDate == null) { in setEndDate()
418 mEndDate = endDate; in setEndDate()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProtection.java492 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() argument
493 setKeyValidityForOriginationEnd(endDate); in setKeyValidityEnd()
494 setKeyValidityForConsumptionEnd(endDate); in setKeyValidityEnd()
506 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() argument
507 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForOriginationEnd()
520 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() argument
521 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForConsumptionEnd()
DKeyGenParameterSpec.java812 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() argument
813 setKeyValidityForOriginationEnd(endDate); in setKeyValidityEnd()
814 setKeyValidityForConsumptionEnd(endDate); in setKeyValidityEnd()
826 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() argument
827 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForOriginationEnd()
840 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() argument
841 mKeyValidityForConsumptionEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForConsumptionEnd()
/frameworks/base/tools/preload2/src/com/android/preload/
DDeviceUtils.java178 Date endDate = new Date(); in removePreloaded() local
180 TimeUnit.SECONDS.convert(endDate.getTime() - startDate.getTime(), TimeUnit.MILLISECONDS); in removePreloaded()