Home
last modified time | relevance | path

Searched refs:expiry (Results 1 – 15 of 15) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DRelevanceUtilsTests.java67 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 …]
DIpMemoryStoreServiceTest.java161 final Inet4Address ipAddress, final long expiry, final String cluster, in buildTestNetworkAttributes() argument
167 if (LEASE_EXPIRY_NULL != expiry) { in buildTestNetworkAttributes()
168 na.setAssignedV4AddressExpiry(expiry); in buildTestNetworkAttributes()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java356 final long expiry) { in updatePref64() argument
361 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() local
392 updatePref64(opt.prefix, now, expiry); in processPref64Option()
505 long expiry = now + 1000 * lifetime; in addServers() local
517 if (!updateExistingEntry(address, expiry)) { in addServers()
520 if (expiry > now) { in addServers()
[all …]
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java276 @Nullable final NetworkAttributes attributes, final long expiry) { in toContentValues() argument
279 values.put(NetworkAttributesContract.COLNAME_EXPIRYDATE, expiry); in toContentValues()
300 final long expiry = getLong(cursor, NetworkAttributesContract.COLNAME_EXPIRYDATE, -1L); in readNetworkAttributesLine() local
301 if (expiry < System.currentTimeMillis()) return null; in readNetworkAttributesLine()
358 final long expiry = getExpiry(db, key); in getRelevance() local
359 return expiry < 0 ? (int) expiry : RelevanceUtils.computeRelevanceForNow(expiry); in getRelevance()
365 final long expiry, @Nullable final NetworkAttributes attributes) { in storeNetworkAttributes() argument
366 final ContentValues cv = toContentValues(key, attributes, expiry); in storeNetworkAttributes()
DRelevanceUtils.java233 public static int computeRelevanceForNow(final long expiry) { in computeRelevanceForNow() argument
234 return computeRelevanceForTargetDate(expiry, System.currentTimeMillis()); in computeRelevanceForNow()
252 public static int computeRelevanceForTargetDate(final long expiry, final long target) { in computeRelevanceForTargetDate() argument
253 final long delay = expiry - target; in computeRelevanceForTargetDate()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java960 final long receivedTimestampInSeconds, final long expiry, final String transactionId) { in insertReceivedMmsMessage() argument
977 values.put(Mms.EXPIRY, expiry); in insertReceivedMmsMessage()
1809 final long receivedTimestampInSeconds, final long expiry, Bundle extras) { in downloadMmsMessage() argument
1860 extras.putLong(DownloadMmsAction.EXTRA_EXPIRY, expiry); in downloadMmsMessage()
1867 receivedTimestampInSeconds, expiry, retrieveConf); in downloadMmsMessage()
1882 final long expiry, final RetrieveConf retrieveConf) { in insertDownloadedMessageAndSendResponse() argument
1920 subPhoneNumber, receivedTimestampInSeconds, expiry, transactionId); in insertDownloadedMessageAndSendResponse()
2539 final long expiry = System.currentTimeMillis() / 1000 + 600;
2544 notification.setExpiry(expiry);
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DDownloadMmsAction.java245 final long expiry = actionParameters.getLong(KEY_EXPIRY); in doBackgroundWork() local
263 autoDownload, receivedTimestampRoundedToSecond / 1000L, expiry / 1000L, extras); in doBackgroundWork()
DProcessDownloadedMmsAction.java284 final long expiry = actionParameters.getLong(KEY_EXPIRY); in doBackgroundWork() local
294 expiry, retrieveConf); in doBackgroundWork()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java340 final long size, final int rawStatus, final long expiry, final long sent, in createMmsMessage() argument
358 message.mMmsExpiry = expiry; in createMmsMessage()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1106 final long expiry = sendReq.getExpiry(); in updateHeaders() local
1107 if (expiry != -1) { in updateHeaders()
1108 values.put(Mms.EXPIRY, expiry); in updateHeaders()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java649 final long expiry = naValueCaptured.assignedV4AddressExpiry;
650 assertTrue(upperBound > expiry);
651 assertTrue(lowerBound < expiry);
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java1703 long expiry = mLastTimeInstalledProgram + mLastInstalledProgramMinLifetime; in shouldInstallnewProgram() local
1704 return expiry < currentTimeSeconds() + MAX_PROGRAM_LIFETIME_WORTH_REFRESHING; in shouldInstallnewProgram()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...