Home
last modified time | relevance | path

Searched refs:TIME (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/
DDataServiceTest.java58 private static final Instant TIME = Instant.parse("2023-06-13T16:09:30.00Z"); field in DataServiceTest
125 return TIME.plus(Duration.ofHours(hours)); in timePlusHours()
129 return TIME.plus(Duration.ofDays(days)); in timePlusDays()
133 return TIME.minus(Duration.ofDays(days)); in timeMinusDays()
159 assertThat(mDataService.loggerEnabled(TIME).get()).isEqualTo(TIME); in loggerEnabled_oneTime_stored()
161 .containsExactly(GlobalValueEntity.Key.INITIAL_ENABLED_TIME, TIME.toString()); in loggerEnabled_oneTime_stored()
167 mDataService.loggerEnabled(TIME).get(); in loggerEnabled_multipleTimes_firstIsStored()
168 assertThat(mDataService.loggerEnabled(timePlusHours(1)).get()).isEqualTo(TIME); in loggerEnabled_multipleTimes_firstIsStored()
171 assertThat(mDataService.loggerEnabled(TIME).get()).isEqualTo(TIME); in loggerEnabled_multipleTimes_firstIsStored()
173 .containsExactly(GlobalValueEntity.Key.INITIAL_ENABLED_TIME, TIME.toString()); in loggerEnabled_multipleTimes_firstIsStored()
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DIntermenstrualBleedingRecordTest.java64 private static final Instant TIME = Instant.ofEpochMilli((long) 1e9); field in IntermenstrualBleedingRecordTest
348 new IntermenstrualBleedingRecord.Builder(generateMetadata(), TIME).build(); in testIntermenstrualBleeding_buildSession_buildCorrectObject()
349 assertThat(record.getTime()).isEqualTo(TIME); in testIntermenstrualBleeding_buildSession_buildCorrectObject()
356 new IntermenstrualBleedingRecord.Builder(metadata, TIME).build(); in testIntermenstrualBleeding_buildEqualSessions_equalsReturnsTrue()
358 new IntermenstrualBleedingRecord.Builder(metadata, TIME).build(); in testIntermenstrualBleeding_buildEqualSessions_equalsReturnsTrue()
365 new IntermenstrualBleedingRecord.Builder(generateMetadata(), TIME) in testIntermenstrualBleeding_buildSessionWithAllFields_buildCorrectObject()
DBodyWaterMassRecordTest.java65 private static final Instant TIME = Instant.ofEpochMilli((long) 1e9); field in BodyWaterMassRecordTest
321 new BodyWaterMassRecord.Builder(generateMetadata(), TIME, Mass.fromGrams(40)) in testBodyWaterMass_buildSession_buildCorrectObject()
323 assertThat(record.getTime()).isEqualTo(TIME); in testBodyWaterMass_buildSession_buildCorrectObject()
330 new BodyWaterMassRecord.Builder(metadata, TIME, Mass.fromGrams(40)).build(); in testBodyWaterMass_buildEqualSessions_equalsReturnsTrue()
332 new BodyWaterMassRecord.Builder(metadata, TIME, Mass.fromGrams(40)).build(); in testBodyWaterMass_buildEqualSessions_equalsReturnsTrue()
339 new BodyWaterMassRecord.Builder(generateMetadata(), TIME, Mass.fromGrams(40)) in testBodyWaterMass_buildSessionWithAllFields_buildCorrectObject()
DHeartRateVariabilityRmssdRecordTest.java64 private static final Instant TIME = Instant.ofEpochMilli((long) 1e9); field in HeartRateVariabilityRmssdRecordTest
350 new HeartRateVariabilityRmssdRecord.Builder(generateMetadata(), TIME, 1.3).build(); in testHeartRateVariabilityRmssd_buildSession_buildCorrectObject()
351 assertThat(record.getTime()).isEqualTo(TIME); in testHeartRateVariabilityRmssd_buildSession_buildCorrectObject()
358 new HeartRateVariabilityRmssdRecord.Builder(metadata, TIME, 1.3).build(); in testHeartRateVariabilityRmssd_buildEqualSessions_equalsReturnsTrue()
360 new HeartRateVariabilityRmssdRecord.Builder(metadata, TIME, 1.3).build(); in testHeartRateVariabilityRmssd_buildEqualSessions_equalsReturnsTrue()
367 new HeartRateVariabilityRmssdRecord.Builder(generateMetadata(), TIME, 1.3) in testHeartRateVariabilityRmssd_buildSessionWithAllFields_buildCorrectObject()
/packages/providers/CalendarProvider/
Dmaketests.py39 TIME = re.compile("(....)-(..)-(..)T(..):(..):(..)....([+-])(..):(..)") variable
56 m = TIME.match(s[0])
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DSyncMessage.java74 msgTimeMillis = parseTime(wrappedData.getString(OmtpConstants.TIME)); in SyncMessage()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpConstants.java74 public static final String TIME = "dt"; field in OmtpConstants
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/filetransfer/
DFileUploadController.java265 .format(Instant.ofEpochMilli(Build.TIME));
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureTransfer.java520 .format(Instant.ofEpochMilli(Build.TIME));
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1678 case TIME: in getType()
4883 private static final int TIME = 23; field in CalendarProvider2
4944 sUriMatcher.addURI(CalendarContract.AUTHORITY, "time/#", TIME); in sUriMatcher.addURI() argument
4945 sUriMatcher.addURI(CalendarContract.AUTHORITY, "time", TIME); in sUriMatcher.addURI() argument
/packages/services/Car/cpp/watchdog/server/src/
DPerformanceProfiler.cpp815 uint64_t timeOfDayToken = outProto.start(StatsRecord::TIME); in dumpStatsRecordsProto()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java1678 return Build.TIME / 1000; in lastModifiedTime()
/packages/apps/TV/libs/m2/
Dchecker-qual-2.8.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...