Searched refs:expiry (Results 1 – 19 of 19) 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()
372 final long expiry) { in updatePref64() argument377 mNat64PrefixExpiry = expiry; in updatePref64()378 if (expiry > now) { in updatePref64()393 if (expiry > now) { in updatePref64()396 mNat64PrefixExpiry = expiry; in updatePref64()407 final long expiry = now + TimeUnit.SECONDS.toMillis(opt.lifetime); in processPref64Option() local408 updatePref64(opt.prefix, now, expiry); in processPref64Option()521 long expiry = now + 1000 * lifetime; in addServers() local533 if (!updateExistingEntry(address, expiry)) { in addServers()536 if (expiry > now) { in addServers()[all …]
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()
282 @Nullable final NetworkAttributes attributes, final long expiry) { in toContentValues() argument285 values.put(NetworkAttributesContract.COLNAME_EXPIRYDATE, expiry); in toContentValues()306 final long expiry = getLong(cursor, NetworkAttributesContract.COLNAME_EXPIRYDATE, -1L); in readNetworkAttributesLine() local307 if (expiry < System.currentTimeMillis()) return null; in readNetworkAttributesLine()364 final long expiry = getExpiry(db, key); in getRelevance() local365 return expiry < 0 ? (int) expiry : RelevanceUtils.computeRelevanceForNow(expiry); in getRelevance()371 final long expiry, @Nullable final NetworkAttributes attributes) { in storeNetworkAttributes() argument372 final ContentValues cv = toContentValues(key, attributes, expiry); in storeNetworkAttributes()
35 public IPv6ProvisioningLossQuirk(final int count, final long expiry) { in IPv6ProvisioningLossQuirk() argument37 mQuirkExpiry = expiry; in IPv6ProvisioningLossQuirk()
272 val expiry = System.currentTimeMillis() + timeoutMs in Handler() constant274 while (System.currentTimeMillis() < expiry && hasMatchingMessages()) { in Handler()280 .coerceAtMost(expiry - System.currentTimeMillis()) in Handler()284 val timeout = expiry - System.currentTimeMillis() in Handler()
118 final long expiry = System.currentTimeMillis() + 7_200_000; in testIPv6ProvisioningLossQuirkParceling() local121 parcelable.quirkExpiry = expiry; // quirk info will expire in two hours in testIPv6ProvisioningLossQuirkParceling()
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()
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);
220 long expiry = ttl == INFINITY ? INFINITY : System.currentTimeMillis() + ttl; in setTtl() local221 getBuilder().addTimestamp(expiry, SUBTYPE_MILLIS, HINT_TTL); in setTtl()
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()
1707 long expiry = mLastTimeInstalledProgram + mLastInstalledProgramMinLifetime; in shouldInstallnewProgram() local1708 return expiry < currentTimeSeconds() + MAX_PROGRAM_LIFETIME_WORTH_REFRESHING; in shouldInstallnewProgram()
828 final long expiry = na.assignedV4AddressExpiry;829 assertTrue(upperBound > expiry);830 assertTrue(lowerBound < expiry);
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...