/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
D | Cp2DefaultDirectoryPhoneLookup.java | 177 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/ |
D | GlobalSearchLoaderTest.java | 72 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()
|
D | RecentsLoaderTests.java | 75 doc.lastModified = System.currentTimeMillis(); in testDocumentsNotIncludeDirectory() 92 doc.lastModified = System.currentTimeMillis(); in testDocumentsNotMovable()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 124 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()
|
D | ThumbnailLoader.java | 74 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/ |
D | TrickplayStorageManager.java | 98 long lastModified = file.lastModified(); in clearStorage() 99 if (lastModified != 0 && lastModified < now) { in clearStorage()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerStorageCleanUpService.java | 154 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/ |
D | StressProvider.java | 194 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/ |
D | DocumentInfo.java | 62 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()
|
D | FilteringCursorWrapper.java | 57 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/ |
D | FetchDownloadsLoader.java | 78 if (last_modified_threshold < currentFile.lastModified()) { in collectFiles() 82 if (currentFile.lastModified() < result.youngestLastModified) { in collectFiles() 83 result.youngestLastModified = currentFile.lastModified(); in collectFiles()
|
D | DownloadsFilePreference.java | 42 context, mFile.lastModified(), DateUtils.FORMAT_SHOW_DATE)); in DownloadsFilePreference()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | DbDowngradeHelperTest.java | 95 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/ |
D | LastModifiedFileComparator.java | 68 long result = file1.lastModified() - file2.lastModified(); in compare()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileUtils.java | 689 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/ |
D | DetailsView.java | 63 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/ |
D | LicenseHtmlLoader.java | 89 if (cachedHtmlFile.lastModified() < file.lastModified()) { in isCachedHtmlFileOutdated()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | GridDocumentHolder.java | 172 if (mDoc.lastModified == -1) { in bind() 175 mDate.setText(Shared.formatTime(mContext, mDoc.lastModified)); in bind()
|
D | ListDocumentHolder.java | 202 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/ |
D | TestEnv.java | 210 b.lastModified = a.lastModified; in clone()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
D | AgeFileFilter.java | 120 this(cutoffReference.lastModified(), acceptOlder); in AgeFileFilter()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ShareVCardActivity.java | 80 final long ageInMillis = System.currentTimeMillis() - file.lastModified(); in clearExportFiles()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DictionaryInfoUtils.java | 437 fileAddress.mLength, new File(fileAddress.mFilename).lastModified(), version); 464 unCachedFile.lastModified(), version);
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | SessionStorageManagerImpl.java | 133 if (sessionDir.lastModified() < (nowInMillis - MAX_SESSION_AGE_MILLIS)) { in cleanUpExpiredSessions()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsFilePreferenceTest.java | 65 when(file.lastModified()).thenReturn(TEST_FILE_TIME); in testSizeSummary()
|