Home
last modified time | relevance | path

Searched refs:lastModified (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2DefaultDirectoryPhoneLookup.java177 lastModified -> { in isDirty()
180 anyContactsDeletedSince(lastModified); in isDirty()
193 noContactsModifiedSince(lastModified); in isDirty()
210 contactIds -> contactsUpdated(contactIds, lastModified), in isDirty()
229 contactsUpdated(phoneLookupContactIds, lastModified), in isDirty()
368 private ListenableFuture<Boolean> contactsUpdated(Set<Long> contactIds, long lastModified) {
371 try (Cursor cursor = queryContactsTableForContacts(contactIds, lastModified)) {
377 private Cursor queryContactsTableForContacts(Set<Long> contactIds, long lastModified) {
389 args[0] = Long.toString(lastModified);
405 private ListenableFuture<Boolean> noContactsModifiedSince(long lastModified) {
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java72 doc.lastModified = System.currentTimeMillis(); in setUp()
144 doc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory()
176 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString()
179 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString()
182 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString()
207 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot()
210 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot()
213 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot()
DRecentsLoaderTests.java75 doc.lastModified = System.currentTimeMillis(); in testDocumentsNotIncludeDirectory()
92 doc.lastModified = System.currentTimeMillis(); in testDocumentsNotMovable()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java124 public void putThumbnail(Uri uri, Point size, Bitmap thumbnail, long lastModified) { in putThumbnail() argument
136 Entry entry = new Entry(thumbnail, lastModified); in putThumbnail()
226 @Nullable Point size, long lastModified) { in obtain() argument
235 instance.mLastModified = lastModified; in obtain()
288 private Entry(Bitmap thumbnail, long lastModified) { in Entry() argument
290 mLastModified = lastModified; in Entry()
DThumbnailLoader.java74 public ThumbnailLoader(Uri uri, ImageView iconThumb, Point thumbSize, long lastModified, in ThumbnailLoader() argument
80 mLastModified = lastModified; in ThumbnailLoader()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DTrickplayStorageManager.java98 long lastModified = file.lastModified(); in clearStorage()
99 if (lastModified != 0 && lastModified < now) { in clearStorage()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerStorageCleanUpService.java154 long lastModified = recordingDir.lastModified(); in doInBackground() local
156 if (lastModified != 0 && lastModified < now - ELAPSED_MILLIS_TO_DELETE) { in doInBackground()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java194 row.add(Document.COLUMN_LAST_MODIFIED, document.lastModified); in includeDocument()
205 final long lastModified; field in StressProvider.StubDocument
208 private StubDocument(String mimeType, String id, int size, long lastModified, in StubDocument() argument
213 this.lastModified = lastModified; in StubDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java62 public long lastModified; field in DocumentInfo
81 lastModified = -1; in reset()
100 lastModified = in.readLong(); in read()
119 out.writeLong(lastModified); in write()
168 this.lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in updateFromCursor()
DFilteringCursorWrapper.java57 final long lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in FilteringCursorWrapper() local
61 if (lastModified < rejectBefore) { in FilteringCursorWrapper()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoader.java78 if (last_modified_threshold < currentFile.lastModified()) { in collectFiles()
82 if (currentFile.lastModified() < result.youngestLastModified) { in collectFiles()
83 result.youngestLastModified = currentFile.lastModified(); in collectFiles()
DDownloadsFilePreference.java42 context, mFile.lastModified(), DateUtils.FORMAT_SHOW_DATE)); in DownloadsFilePreference()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java95 assertNotSame(0, mSchemaFile.lastModified()); in testUpdateSchemaFile()
100 assertEquals(0, mSchemaFile.lastModified()); in testUpdateSchemaFile()
104 assertEquals(0, mSchemaFile.lastModified()); in testUpdateSchemaFile()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
DLastModifiedFileComparator.java68 long result = file1.lastModified() - file2.lastModified(); in compare()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java689 destFile.setLastModified(srcFile.lastModified()); in doCopyFile()
916 destDir.setLastModified(srcDir.lastModified()); in doCopyDirectory()
1557 return isFileNewer(file, reference.lastModified()); in isFileNewer()
1598 return file.lastModified() > timeMillis; in isFileNewer()
1624 return isFileOlder(file, reference.lastModified()); in isFileOlder()
1665 return file.lastModified() < timeMillis; in isFileOlder()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DDetailsView.java63 if (doc.lastModified > 0) { in accept()
65 DateUtils.formatDate(this.getContext(), doc.lastModified)); in accept()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLicenseHtmlLoader.java89 if (cachedHtmlFile.lastModified() < file.lastModified()) { in isCachedHtmlFileOutdated()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridDocumentHolder.java172 if (mDoc.lastModified == -1) { in bind()
175 mDate.setText(Shared.formatTime(mContext, mDoc.lastModified)); in bind()
DListDocumentHolder.java202 if (mDoc.lastModified > 0) { in bind()
204 mDate.setText(Shared.formatTime(mContext, mDoc.lastModified)); in bind()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java210 b.lastModified = a.lastModified; in clone()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DAgeFileFilter.java120 this(cutoffReference.lastModified(), acceptOlder); in AgeFileFilter()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DShareVCardActivity.java80 final long ageInMillis = System.currentTimeMillis() - file.lastModified(); in clearExportFiles()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java437 fileAddress.mLength, new File(fileAddress.mFilename).lastModified(), version);
464 unCachedFile.lastModified(), version);
/packages/apps/Camera2/src/com/android/camera/session/
DSessionStorageManagerImpl.java133 if (sessionDir.lastModified() < (nowInMillis - MAX_SESSION_AGE_MILLIS)) { in cleanUpExpiredSessions()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DDownloadsFilePreferenceTest.java65 when(file.lastModified()).thenReturn(TEST_FILE_TIME); in testSizeSummary()

12