Home
last modified time | relevance | path

Searched refs:lastModifiedTime (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DPriorityAggregationTestDataFactory.java38 int lastModifiedTime) { in createSessionData() argument
41 .setData(startTime, endTime, priority, lastModifiedTime); in createSessionData()
51 int startTime, int endTime, int count, int priority, int lastModifiedTime) { in createStepsData() argument
54 .setData(startTime, endTime, priority, lastModifiedTime); in createStepsData()
58 long startTime, long endTime, int count, int priority, int lastModifiedTime) { in createStepsData() argument
61 .setData(startTime, endTime, priority, lastModifiedTime); in createStepsData()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DMetadata.java106 Instant lastModifiedTime, in Metadata() argument
114 mLastModifiedTime = lastModifiedTime; in Metadata()
294 public Builder setLastModifiedTime(@NonNull Instant lastModifiedTime) { in setLastModifiedTime() argument
295 Objects.requireNonNull(lastModifiedTime); in setLastModifiedTime()
297 mLastModifiedTime = lastModifiedTime; in setLastModifiedTime()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelPaginationTest.java506 long lastModifiedTime) throws Exception { in assertCreateNewFileWithLastModifiedTime() argument
508 prepareFileAndGetUri(file, lastModifiedTime); in assertCreateNewFileWithLastModifiedTime()
512 private Uri prepareFileAndGetUri(File file, long lastModifiedTime) throws IOException { in prepareFileAndGetUri() argument
522 if (lastModifiedTime != -1) { in prepareFileAndGetUri()
523 file.setLastModified(lastModifiedTime); in prepareFileAndGetUri()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DAggregationRecordData.java108 long startTime, long endTime, int priority, long lastModifiedTime) { in setData() argument
112 mLastModifiedTime = lastModifiedTime; in setData()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DRecordInternal.java183 public RecordInternal<T> setLastModifiedTime(long lastModifiedTime) { in setLastModifiedTime() argument
184 this.mLastModifiedTime = lastModifiedTime; in setLastModifiedTime()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DItemsProviderTest.java1411 long lastModifiedTime) throws Exception { in assertCreateNewFileWithLastModifiedTime() argument
1413 prepareFileAndGetUri(file, lastModifiedTime); in assertCreateNewFileWithLastModifiedTime()
1417 long lastModifiedTime) throws Exception { in assertCreateNewFileWithLastModifiedTimeAndReturnUri() argument
1419 return prepareFileAndGetUri(file, lastModifiedTime); in assertCreateNewFileWithLastModifiedTimeAndReturnUri()
1423 private Uri prepareFileAndGetUri(File file, long lastModifiedTime) throws IOException { in prepareFileAndGetUri() argument
1433 if (lastModifiedTime != -1) { in prepareFileAndGetUri()
1434 file.setLastModified(lastModifiedTime); in prepareFileAndGetUri()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java885 final boolean sameTime = (lastModifiedTime(realFile, attrs) == dateModified); in hasSameMetadata()
1082 op.withValue(MediaColumns.DATE_MODIFIED, lastModifiedTime(file, attrs)); in withGenericValues()
1397 parseOptionalDateTaken(exif, lastModifiedTime(file, attrs) * 1000)); in scanItemImage()
1513 long lastModifiedTime) { in parseOptionalDateTaken() argument
1529 if (lastModifiedTime > 0) { in parseOptionalDateTaken()
1530 final long offset = lastModifiedTime - originalTime; in parseOptionalDateTaken()
1673 public static long lastModifiedTime(@NonNull File file, in lastModifiedTime() method in ModernMediaScanner
1676 return attrs.lastModifiedTime().toMillis() / 1000; in lastModifiedTime()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DMergeDataHelper.java85 long lastModifiedTime, in RecordData() argument
90 mLastModifiedTime = lastModifiedTime; in RecordData()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java1634 BasicFileAttributes.class).lastModifiedTime().toMillis()); in getFileTime()