/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 101 doc.lastModified = System.currentTimeMillis(); in setUp() 155 doc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory() 213 currentUserDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory_excludedOtherUsers() 218 otherUserDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory_excludedOtherUsers() 238 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString() 241 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString() 244 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString() 269 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot() 272 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot() 275 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot() [all …]
|
D | RecentsLoaderTests.java | 121 doc.lastModified = System.currentTimeMillis(); in testDocumentsNotIncludeDirectory() 138 doc1.lastModified = System.currentTimeMillis(); in testShowOrHideHiddenFiles() 139 doc2.lastModified = System.currentTimeMillis(); in testShowOrHideHiddenFiles() 158 doc.lastModified = System.currentTimeMillis(); in testDocumentsNotMovable() 186 doc.lastModified = System.currentTimeMillis(); in testContentsUpdate_observable()
|
/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/TV/tuner/src/com/android/tv/tuner/exoplayer2/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/exoplayer/buffer/ |
D | TrickplayStorageManager.java | 98 long lastModified = file.lastModified(); in clearStorage() 99 if (lastModified != 0 && lastModified < now) { in clearStorage()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 128 long lastModified) { in putThumbnail() argument 140 Entry entry = new Entry(thumbnail, lastModified); in putThumbnail() 230 @Nullable Point size, long lastModified) { in obtain() argument 239 instance.mLastModified = lastModified; in obtain() 292 private Entry(Bitmap thumbnail, long lastModified) { in Entry() argument 294 mLastModified = lastModified; in Entry()
|
D | ThumbnailLoader.java | 80 long lastModified, Consumer<Bitmap> callback, boolean addToCache) { in ThumbnailLoader() argument 86 mLastModified = lastModified; in ThumbnailLoader()
|
/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/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/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 | 65 public long lastModified; field in DocumentInfo 85 lastModified = -1; in reset() 107 lastModified = in.readLong(); in read() 129 out.writeLong(lastModified); in write() 181 this.lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in updateFromCursor()
|
D | FilteringCursorWrapper.java | 68 final long lastModified = getCursorLong(cursor, Document.COLUMN_LAST_MODIFIED); in filterLastModified() local 69 return lastModified >= rejectBeforeTimestamp; in filterLastModified()
|
/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()
|
D | HeaderView.java | 91 mImageDimensions, doc.lastModified, callback, false); in loadHeaderImage()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | LicenseHtmlLoader.java | 95 if (cachedHtmlFile.lastModified() < file.lastModified()) { in isCachedHtmlFileOutdated()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ListDocumentHolder.java | 264 if (mDoc.lastModified > 0) { in bind() 266 metadataList.add(Shared.formatTime(mContext, mDoc.lastModified)); in bind() 281 if (mDoc.lastModified > 0) { in bind() 283 mDate.setText(Shared.formatTime(mContext, mDoc.lastModified)); in bind()
|
D | GridDocumentHolder.java | 218 if (mDoc.lastModified == -1) { in bind() 221 mDate.setText(Shared.formatTime(mContext, mDoc.lastModified)); in bind()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | DbDowngradeHelperTest.java | 100 assertNotSame(0, mSchemaFile.lastModified()); in testUpdateSchemaFile() 105 assertEquals(0, mSchemaFile.lastModified()); in testUpdateSchemaFile() 109 assertEquals(0, mSchemaFile.lastModified()); in testUpdateSchemaFile()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastDatabaseHelper.java | 191 if (!newDb.exists() || oldDb.lastModified() > newDb.lastModified()) { in tryToMigrateV13()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEnv.java | 235 b.lastModified = a.lastModified; in clone()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ShareVCardActivity.java | 80 final long ageInMillis = System.currentTimeMillis() - file.lastModified(); in clearExportFiles()
|
/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()
|
/packages/services/Car/service/src/com/android/car/telemetry/util/ |
D | IoUtils.java | 174 if (file.lastModified() + staleThresholdMillis < currTimeMs) { in deleteOldFiles()
|