Home
last modified time | relevance | path

Searched refs:dateTime (Results 1 – 14 of 14) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/
DTimeTest.java37 LocalDateTime dateTime = getUtcLocalDateTime("2022-01-15 00:00:01"); in roundDownToDay_oneSecondAfterStartOfDay() local
40 long timestamp = TimeUnit.SECONDS.toMillis(dateTime.toEpochSecond(ZoneOffset.UTC)); in roundDownToDay_oneSecondAfterStartOfDay()
48 LocalDateTime dateTime = getUtcLocalDateTime("2022-01-15 23:59:59"); in roundDownToDay_oneSecondBeforeNextDay() local
51 long timestamp = TimeUnit.SECONDS.toMillis(dateTime.toEpochSecond(ZoneOffset.UTC)); in roundDownToDay_oneSecondBeforeNextDay()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DEventReportTest.java85 String dateTime = "20190101T121314"; in fromStreamWithDateTime() local
93 xml.append("datetime=\"" + dateTime + "\"\n"); in fromStreamWithDateTime()
104 assertThat(report.getDateTime()).isEqualTo(dateTime); in fromStreamWithDateTime()
106 .isEqualTo(new ObexTime(dateTime).getInstant().toEpochMilli()); in fromStreamWithDateTime()
DMessageTest.java43 String dateTime = "20221220T165048"; in constructor() local
44 attrs.put("datetime", dateTime); in constructor()
DMapClientStateMachineTest.java678 String dateTime = new ObexTime(Instant.now()).toString(); in testReceivedNewSms_messageStoredAsUnseen() local
682 dateTime, in testReceivedNewSms_messageStoredAsUnseen()
724 String dateTime = new ObexTime(Instant.now()).toString(); in testReceivedNewMms_messageStoredAsUnseen() local
728 dateTime, in testReceivedNewMms_messageStoredAsUnseen()
878 String dateTime = new ObexTime(Instant.now()).toString(); in testReceiveNewMessageNotification() local
882 dateTime, in testReceiveNewMessageNotification()
901 dateTime); in testReceiveNewMessageNotification()
918 String dateTime = new ObexTime(Instant.now()).toString(); in testReceivedNewMmsNoSMSDefaultPackage_broadcastToSMSReplyPackage() local
922 dateTime, in testReceivedNewMmsNoSMSDefaultPackage_broadcastToSMSReplyPackage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DMessage.java84 String dateTime = attrs.get("datetime"); in Message() local
86 if (dateTime != null) { in Message()
87 mDateTime = (new ObexTime(dateTime)).getTime(); in Message()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListItem.java111 String dateTime = DateUtils.formatDateTime(getContext(), mCbMessage.getReceivedTime(), in dispatchPopulateAccessibilityEvent() local
114 event.getText().add(dateTime); in dispatchPopulateAccessibilityEvent()
/packages/apps/TvFeedbackConsent/src/com/android/tv/feedbackconsent/
DTvFeedbackConsentActivity.java110 String dateTime = LocalDateTime.now(ZoneId.systemDefault()).format( in onViewCreated() local
113 R.string.feedback_bugreport_legal_display_text, dateTime); in onViewCreated()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java86 public void setDateTime(long dateTime) { in setDateTime() argument
87 this.mDateTime = dateTime; in setDateTime()
DBluetoothMapConvoContactElement.java178 public void setLastActivity(long dateTime) { in setLastActivity() argument
179 this.mLastActivity = dateTime; in setLastActivity()
DBluetoothMapUtils.java791 Instant dateTime = Instant.ofEpochMilli(timestamp); in isDateTimeOlderThanDuration() local
792 return dateTime.isBefore(nowMinusDuration); in isDateTimeOlderThanDuration()
/packages/services/Car/cpp/watchdog/server/tests/
DPerformanceProfilerTest.cpp1029 auto dateTime = std::chrono::system_clock::to_time_t(nowMs); variable
1031 nowMs - std::chrono::system_clock::from_time_t(dateTime));
1032 localtime_r(&dateTime, &timeinfo);
/packages/services/Car/cpp/watchdog/server/src/
DPerformanceProfiler.cpp800 auto dateTime = std::chrono::system_clock::to_time_t(record.collectionTimeMillis); in dumpStatsRecordsProto() local
801 if (!localtime_r(&dateTime, &timeinfo)) { in dumpStatsRecordsProto()
807 record.collectionTimeMillis - std::chrono::system_clock::from_time_t(dateTime)); in dumpStatsRecordsProto()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...