Home
last modified time | relevance | path

Searched refs:currentDate (Results 1 – 18 of 18) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/
DPlaygroundWithDemoOfUnclonedParametersProblemTest.java41 Date currentDate = new GregorianCalendar(2009, 10, 12).getTime(); in shouldIncludeInitialLog() local
43 ImportLogBean initialLog = new ImportLogBean(currentDate, importType); in shouldIncludeInitialLog()
46 … given(importLogDao.anyImportRunningOrRunnedToday(importType, currentDate)).willReturn(false); in shouldIncludeInitialLog()
50 importManager.startImportProcess(importType, currentDate); in shouldIncludeInitialLog()
60 Date currentDate = new GregorianCalendar(2009, 10, 12).getTime(); in shouldAlterFinalLog() local
62 ImportLogBean finalLog = new ImportLogBean(currentDate, importType); in shouldAlterFinalLog()
65 … given(importLogDao.anyImportRunningOrRunnedToday(importType, currentDate)).willReturn(false); in shouldAlterFinalLog()
69 importManager.startImportProcess(importType, currentDate); in shouldAlterFinalLog()
137 boolean anyImportRunningOrRunnedToday(int importType, Date currentDate);
148 private Date currentDate;
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DProvCrlRevocationChecker.java18 private Date currentDate = null; field in ProvCrlRevocationChecker
33 this.currentDate = new Date(); in initialize()
45 this.currentDate = new Date(); in init()
53 …RFC3280CertPathUtilities.checkCRLs(params, params.getParamsPKIX(), currentDate, params.getValidDat… in check()
DPKIXCertPathValidatorSpi.java138 final Date currentDate = new Date(); in engineValidate() local
139 … final Date validityDate = CertPathValidatorUtilities.getValidityDate(paramsPKIX, currentDate); in engineValidate()
DRFC3280CertPathUtilities.java1667 Date currentDate, in checkCRL() argument
1678 if (currentDate == null) in checkCRL()
1682 if (validityDate.getTime() > currentDate.getTime()) in checkCRL()
1851 Date currentDate, in checkCRLs() argument
1910 … checkCRL(params, dps[i], finalParams, currentDate, validityDate, cert, sign, workingPublicKey, in checkCRLs()
1949 … checkCRL(params, dp, paramsPKIXClone, currentDate, validityDate, cert, sign, workingPublicKey, in checkCRLs()
DCertPathValidatorUtilities.java325 protected static Date getValidityDate(PKIXExtendedParameters paramsPKIX, Date currentDate) in getValidityDate() argument
329 return null == validityDate ? currentDate : validityDate; in getValidityDate()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DProvCrlRevocationChecker.java19 private Date currentDate = null; field in ProvCrlRevocationChecker
34 this.currentDate = new Date(); in initialize()
46 this.currentDate = new Date(); in init()
54 …RFC3280CertPathUtilities.checkCRLs(params, params.getParamsPKIX(), currentDate, params.getValidDat… in check()
DPKIXCertPathValidatorSpi.java140 final Date currentDate = new Date(); in engineValidate() local
141 … final Date validityDate = CertPathValidatorUtilities.getValidityDate(paramsPKIX, currentDate); in engineValidate()
DRFC3280CertPathUtilities.java1668 Date currentDate, in checkCRL() argument
1679 if (currentDate == null) in checkCRL()
1683 if (validityDate.getTime() > currentDate.getTime()) in checkCRL()
1852 Date currentDate, in checkCRLs() argument
1911 … checkCRL(params, dps[i], finalParams, currentDate, validityDate, cert, sign, workingPublicKey, in checkCRLs()
1950 … checkCRL(params, dp, paramsPKIXClone, currentDate, validityDate, cert, sign, workingPublicKey, in checkCRLs()
DCertPathValidatorUtilities.java326 protected static Date getValidityDate(PKIXExtendedParameters paramsPKIX, Date currentDate) in getValidityDate() argument
330 return null == validityDate ? currentDate : validityDate; in getValidityDate()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DProvCrlRevocationChecker.java19 private Date currentDate = null; field in ProvCrlRevocationChecker
34 this.currentDate = new Date(); in initialize()
46 this.currentDate = new Date(); in init()
54 …RFC3280CertPathUtilities.checkCRLs(params, params.getParamsPKIX(), currentDate, params.getValidDat… in check()
DPKIXCertPathValidatorSpi.java140 final Date currentDate = new Date(); in engineValidate() local
141 … final Date validityDate = CertPathValidatorUtilities.getValidityDate(paramsPKIX, currentDate); in engineValidate()
DRFC3280CertPathUtilities.java1668 Date currentDate, in checkCRL() argument
1679 if (currentDate == null) in checkCRL()
1683 if (validityDate.getTime() > currentDate.getTime()) in checkCRL()
1852 Date currentDate, in checkCRLs() argument
1911 … checkCRL(params, dps[i], finalParams, currentDate, validityDate, cert, sign, workingPublicKey, in checkCRLs()
1950 … checkCRL(params, dp, paramsPKIXClone, currentDate, validityDate, cert, sign, workingPublicKey, in checkCRLs()
DCertPathValidatorUtilities.java326 protected static Date getValidityDate(PKIXExtendedParameters paramsPKIX, Date currentDate) in getValidityDate() argument
330 return null == validityDate ? currentDate : validityDate; in getValidityDate()
/external/cldr/tools/java/org/unicode/cldr/util/
DZoneInflections.java110 for (long currentDate = endDate; currentDate >= startDate; currentDate -= GROSS_PERIOD) { in ZoneInflections()
111 int currentOffset = zone.getOffset(currentDate); in ZoneInflections()
117 long low = currentDate; in ZoneInflections()
138 lastDate = currentDate; in ZoneInflections()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneAliasTest.java277 … for (long currentDate = endDate; currentDate >= startDate; currentDate -= GROSS_PERIOD) { in Zone()
278 int currentOffset = zone.getOffset(currentDate); in Zone()
286 long low = currentDate; in Zone()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneAliasTest.java274 … for (long currentDate = endDate; currentDate >= startDate; currentDate -= GROSS_PERIOD) { in Zone()
275 int currentOffset = zone.getOffset(currentDate); in Zone()
283 long low = currentDate; in Zone()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/
DRFC3280CertPathUtilities.java584 Date currentDate, in processCRLA1i() argument
633 …set.addAll(RevocationUtilities.getDeltaCRLs(currentDate, crl, paramsPKIX.getCertStores(), crlStore… in processCRLA1i()
646 Date currentDate, in processCRLA1ii() argument
847 Date currentDate, in checkCRL() argument
858 if (validityDate.getTime() > currentDate.getTime()) in checkCRL()
DRevocationUtilities.java60 protected static Date getValidityDate(PKIXExtendedParameters paramsPKIX, Date currentDate) in getValidityDate() argument
64 return null == validityDate ? currentDate : validityDate; in getValidityDate()