Searched refs:expiry (Results 1 – 15 of 15) sorted by relevance
67 long expiry = System.currentTimeMillis();69 final long firstBump = RelevanceUtils.bumpExpiryDate(expiry);73 assertTrue(firstBump > expiry);75 expiry = 0;80 final long newExpiry = RelevanceUtils.bumpExpiryDuration(expiry);81 if (newExpiry == expiry) {87 assertTrue(newExpiry > expiry);90 assertTrue(newExpiry - expiry < lastDifference);91 lastDifference = newExpiry - expiry;92 expiry = newExpiry;[all …]
161 final Inet4Address ipAddress, final long expiry, final String cluster, in buildTestNetworkAttributes() argument167 if (LEASE_EXPIRY_NULL != expiry) { in buildTestNetworkAttributes()168 na.setAssignedV4AddressExpiry(expiry); in buildTestNetworkAttributes()
356 final long expiry) { in updatePref64() argument361 mNat64PrefixExpiry = expiry; in updatePref64()362 if (expiry > now) { in updatePref64()377 if (expiry > now) { in updatePref64()380 mNat64PrefixExpiry = expiry; in updatePref64()391 final long expiry = now + TimeUnit.SECONDS.toMillis(opt.lifetime); in processPref64Option() local392 updatePref64(opt.prefix, now, expiry); in processPref64Option()505 long expiry = now + 1000 * lifetime; in addServers() local517 if (!updateExistingEntry(address, expiry)) { in addServers()520 if (expiry > now) { in addServers()[all …]
276 @Nullable final NetworkAttributes attributes, final long expiry) { in toContentValues() argument279 values.put(NetworkAttributesContract.COLNAME_EXPIRYDATE, expiry); in toContentValues()300 final long expiry = getLong(cursor, NetworkAttributesContract.COLNAME_EXPIRYDATE, -1L); in readNetworkAttributesLine() local301 if (expiry < System.currentTimeMillis()) return null; in readNetworkAttributesLine()358 final long expiry = getExpiry(db, key); in getRelevance() local359 return expiry < 0 ? (int) expiry : RelevanceUtils.computeRelevanceForNow(expiry); in getRelevance()365 final long expiry, @Nullable final NetworkAttributes attributes) { in storeNetworkAttributes() argument366 final ContentValues cv = toContentValues(key, attributes, expiry); in storeNetworkAttributes()
233 public static int computeRelevanceForNow(final long expiry) { in computeRelevanceForNow() argument234 return computeRelevanceForTargetDate(expiry, System.currentTimeMillis()); in computeRelevanceForNow()252 public static int computeRelevanceForTargetDate(final long expiry, final long target) { in computeRelevanceForTargetDate() argument253 final long delay = expiry - target; in computeRelevanceForTargetDate()
960 final long receivedTimestampInSeconds, final long expiry, final String transactionId) { in insertReceivedMmsMessage() argument977 values.put(Mms.EXPIRY, expiry); in insertReceivedMmsMessage()1809 final long receivedTimestampInSeconds, final long expiry, Bundle extras) { in downloadMmsMessage() argument1860 extras.putLong(DownloadMmsAction.EXTRA_EXPIRY, expiry); in downloadMmsMessage()1867 receivedTimestampInSeconds, expiry, retrieveConf); in downloadMmsMessage()1882 final long expiry, final RetrieveConf retrieveConf) { in insertDownloadedMessageAndSendResponse() argument1920 subPhoneNumber, receivedTimestampInSeconds, expiry, transactionId); in insertDownloadedMessageAndSendResponse()2539 final long expiry = System.currentTimeMillis() / 1000 + 600;2544 notification.setExpiry(expiry);
245 final long expiry = actionParameters.getLong(KEY_EXPIRY); in doBackgroundWork() local263 autoDownload, receivedTimestampRoundedToSecond / 1000L, expiry / 1000L, extras); in doBackgroundWork()
284 final long expiry = actionParameters.getLong(KEY_EXPIRY); in doBackgroundWork() local294 expiry, retrieveConf); in doBackgroundWork()
340 final long size, final int rawStatus, final long expiry, final long sent, in createMmsMessage() argument358 message.mMmsExpiry = expiry; in createMmsMessage()
1106 final long expiry = sendReq.getExpiry(); in updateHeaders() local1107 if (expiry != -1) { in updateHeaders()1108 values.put(Mms.EXPIRY, expiry); in updateHeaders()
649 final long expiry = naValueCaptured.assignedV4AddressExpiry;650 assertTrue(upperBound > expiry);651 assertTrue(lowerBound < expiry);
1703 long expiry = mLastTimeInstalledProgram + mLastInstalledProgramMinLifetime; in shouldInstallnewProgram() local1704 return expiry < currentTimeSeconds() + MAX_PROGRAM_LIFETIME_WORTH_REFRESHING; in shouldInstallnewProgram()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...