Home
last modified time | relevance | path

Searched refs:expiry (Results 1 – 19 of 19) 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.java372 final long expiry) { in updatePref64() argument
377 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() local
408 updatePref64(opt.prefix, now, expiry); in processPref64Option()
521 long expiry = now + 1000 * lifetime; in addServers() local
533 if (!updateExistingEntry(address, expiry)) { in addServers()
536 if (expiry > now) { in addServers()
[all …]
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
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()
DIpMemoryStoreDatabase.java282 @Nullable final NetworkAttributes attributes, final long expiry) { in toContentValues() argument
285 values.put(NetworkAttributesContract.COLNAME_EXPIRYDATE, expiry); in toContentValues()
306 final long expiry = getLong(cursor, NetworkAttributesContract.COLNAME_EXPIRYDATE, -1L); in readNetworkAttributesLine() local
307 if (expiry < System.currentTimeMillis()) return null; in readNetworkAttributesLine()
364 final long expiry = getExpiry(db, key); in getRelevance() local
365 return expiry < 0 ? (int) expiry : RelevanceUtils.computeRelevanceForNow(expiry); in getRelevance()
371 final long expiry, @Nullable final NetworkAttributes attributes) { in storeNetworkAttributes() argument
372 final ContentValues cv = toContentValues(key, attributes, expiry); in storeNetworkAttributes()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/networkstack/aidl/quirks/
DIPv6ProvisioningLossQuirk.java35 public IPv6ProvisioningLossQuirk(final int count, final long expiry) { in IPv6ProvisioningLossQuirk() argument
37 mQuirkExpiry = expiry; in IPv6ProvisioningLossQuirk()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt272 val expiry = System.currentTimeMillis() + timeoutMs in Handler() constant
274 while (System.currentTimeMillis() < expiry && hasMatchingMessages()) { in Handler()
280 .coerceAtMost(expiry - System.currentTimeMillis()) in Handler()
284 val timeout = expiry - System.currentTimeMillis() in Handler()
/packages/modules/Connectivity/tests/unit/java/android/net/ipmemorystore/
DParcelableTests.java118 final long expiry = System.currentTimeMillis() + 7_200_000; in testIPv6ProvisioningLossQuirkParceling() local
121 parcelable.quirkExpiry = expiry; // quirk info will expire in two hours in testIPv6ProvisioningLossQuirkParceling()
/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/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/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilderImpl.java220 long expiry = ttl == INFINITY ? INFINITY : System.currentTimeMillis() + ttl; in setTtl() local
221 getBuilder().addTimestamp(expiry, SUBTYPE_MILLIS, HINT_TTL); in setTtl()
/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/src/android/net/apf/
DApfFilter.java1707 long expiry = mLastTimeInstalledProgram + mLastInstalledProgramMinLifetime; in shouldInstallnewProgram() local
1708 return expiry < currentTimeSeconds() + MAX_PROGRAM_LIFETIME_WORTH_REFRESHING; in shouldInstallnewProgram()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java828 final long expiry = na.assignedV4AddressExpiry;
829 assertTrue(upperBound > expiry);
830 assertTrue(lowerBound < expiry);
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...