Home
last modified time | relevance | path

Searched refs:getDateTime (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapMessageListingTest.java107 assertThat(mListing.getList().get(0).getDateTime()).isEqualTo(TEST_DATE_TIME_LATEST); in sort()
108 assertThat(mListing.getList().get(1).getDateTime()).isEqualTo(TEST_DATE_TIME_MIDDLE); in sort()
109 assertThat(mListing.getList().get(2).getDateTime()).isEqualTo(TEST_DATE_TIME_EARLIEST); in sort()
134 assertThat(listing.getList().get(0).getDateTime()).isEqualTo(TEST_DATE_TIME_EARLIEST); in encodeToXml_thenAppendFromXml()
DBluetoothMapContentTest.java332 assertThat(mMessageListingElement.getDateTime()).isEqualTo(2L); in setDateTime_withTypeSms()
346 assertThat(mMessageListingElement.getDateTime()).isEqualTo(2L * 1000L); in setDateTime_withTypeMms()
360 assertThat(mMessageListingElement.getDateTime()).isEqualTo(2L); in setDateTime_withTypeIM()
1427 assertThat(smsElement.getDateTime()).isEqualTo(TEST_DATE_SMS); in msgListing_withSmsCursorOnly()
1520 assertThat(mmsElement.getDateTime()).isEqualTo(TEST_DATE_MMS * 1000L); in msgListing_withMmsCursorOnly()
1609 assertThat(emailElement.getDateTime()).isEqualTo(TEST_DATE_EMAIL); in msgListing_withEmailCursorOnly()
1715 assertThat(imElement.getDateTime()).isEqualTo(TEST_DATE_IM); in msgListing_withImCursorOnly()
DBluetoothMapMessageListingElementTest.java103 assertThat(mMessageListingElement.getDateTime()).isEqualTo(TEST_DATE_TIME); in getters()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DEventReportTest.java61 assertThat(report.getDateTime()).isNull(); in fromStream()
104 assertThat(report.getDateTime()).isEqualTo(dateTime); in fromStreamWithDateTime()
DMessageTest.java94 assertThat(msg.getDateTime()).isNotNull(); in constructor()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java74 public long getDateTime() { in getDateTime() method in BluetoothMapMessageListingElement
292 null, "datetime", BluetoothMapUtils.getDateTimeString(this.getDateTime())); in encode()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DExifUtilsTest.java40 assertParseDateTime(exif, ExifUtils::getDateTime); in testGetDateTime()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DExifUtils.java69 public static @CurrentTimeMillisLong long getDateTime(@NonNull ExifInterface exif) { in getDateTime() method in ExifUtils
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DMessage.java210 public Date getDateTime() { in getDateTime() method in Message
DEventReport.java191 public String getDateTime() { in getDateTime() method in EventReport
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMceStateMachine.java933 if (msg.getDateTime() == null) { in processMessageListing()
945 msg.getDateTime().getTime(), in processMessageListing()