Home
last modified time | relevance | path

Searched refs:minExpirationDate (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java208 long minExpirationDate = Long.MAX_VALUE; in getExpirationDate() local
216 if (minExpirationDate > imsiEncryptionInfo.getExpirationTime().getTime()) { in getExpirationDate()
217 minExpirationDate = imsiEncryptionInfo.getExpirationTime().getTime(); in getExpirationDate()
225 if (minExpirationDate == Long.MAX_VALUE || (minExpirationDate in getExpirationDate()
227 minExpirationDate = System.currentTimeMillis() + DAY_IN_MILLIS; in getExpirationDate()
235 minExpirationDate = minExpirationDate - randomTime; in getExpirationDate()
237 return minExpirationDate; in getExpirationDate()
250 long minExpirationDate = getExpirationDate(); in resetRenewalAlarm() local
251 Log.d(LOG_TAG, "minExpirationDate: " + new Date(minExpirationDate)); in resetRenewalAlarm()
257 alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, minExpirationDate, in resetRenewalAlarm()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java143 Date minExpirationDate = minExpirationCal.getTime(); in testExpirationDate7Day() local
149 assertTrue(expirationDate.before(minExpirationDate)); in testExpirationDate7Day()