Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java101 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 …]
DRecentsLoaderTests.java121 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/
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/TV/tuner/src/com/android/tv/tuner/exoplayer2/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/exoplayer/buffer/
DTrickplayStorageManager.java98 long lastModified = file.lastModified(); in clearStorage()
99 if (lastModified != 0 && lastModified < now) { in clearStorage()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java128 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()
DThumbnailLoader.java80 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/
DTunerStorageCleanUpService.java154 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/
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/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.java65 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()
DFilteringCursorWrapper.java68 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/
DDetailsView.java63 if (doc.lastModified > 0) { in accept()
65 DateUtils.formatDate(this.getContext(), doc.lastModified)); in accept()
DHeaderView.java91 mImageDimensions, doc.lastModified, callback, false); in loadHeaderImage()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLicenseHtmlLoader.java95 if (cachedHtmlFile.lastModified() < file.lastModified()) { in isCachedHtmlFileOutdated()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DListDocumentHolder.java264 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()
DGridDocumentHolder.java218 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/
DDbDowngradeHelperTest.java100 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/
DCellBroadcastDatabaseHelper.java191 if (!newDb.exists() || oldDb.lastModified() > newDb.lastModified()) { in tryToMigrateV13()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java235 b.lastModified = a.lastModified; in clone()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DShareVCardActivity.java80 final long ageInMillis = System.currentTimeMillis() - file.lastModified(); in clearExportFiles()
/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()
/packages/services/Car/service/src/com/android/car/telemetry/util/
DIoUtils.java174 if (file.lastModified() + staleThresholdMillis < currTimeMs) { in deleteOldFiles()

12