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()
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.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.java811 public Builder setKeyValidityEnd(Date endDate) { in setKeyValidityEnd() argument
812 setKeyValidityForOriginationEnd(endDate); in setKeyValidityEnd()
813 setKeyValidityForConsumptionEnd(endDate); in setKeyValidityEnd()
825 public Builder setKeyValidityForOriginationEnd(Date endDate) { in setKeyValidityForOriginationEnd() argument
826 mKeyValidityForOriginationEnd = Utils.cloneIfNotNull(endDate); in setKeyValidityForOriginationEnd()
839 public Builder setKeyValidityForConsumptionEnd(Date endDate) { in setKeyValidityForConsumptionEnd() argument
840 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()