Searched refs:timestamp1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | BackupManagerMonitorDumpsysUtilsTest.java | 208 long timestamp1 = System.currentTimeMillis(); in isDateAfterNMillisec_date1IsAfterThanDate2_returnTrue() local 209 long timestamp2 = timestamp1 - 1; in isDateAfterNMillisec_date1IsAfterThanDate2_returnTrue() 211 assertTrue(mBackupManagerMonitorDumpsysUtils.isDateAfterNMillisec(timestamp1, timestamp2, in isDateAfterNMillisec_date1IsAfterThanDate2_returnTrue() 218 long timestamp1 = System.currentTimeMillis(); in isDateAfterNMillisec_date1IsAfterNMillisecFromDate2_returnTrue() local 219 long timestamp2 = timestamp1 + 10; in isDateAfterNMillisec_date1IsAfterNMillisecFromDate2_returnTrue() 221 assertTrue(mBackupManagerMonitorDumpsysUtils.isDateAfterNMillisec(timestamp1, timestamp2, in isDateAfterNMillisec_date1IsAfterNMillisecFromDate2_returnTrue() 228 long timestamp1 = System.currentTimeMillis(); in isDateAfterNMillisec_date1IsLessThanNMillisecFromDate2_returnFalse() local 229 long timestamp2 = timestamp1 + 10; in isDateAfterNMillisec_date1IsLessThanNMillisecFromDate2_returnFalse() 231 assertFalse(mBackupManagerMonitorDumpsysUtils.isDateAfterNMillisec(timestamp1, timestamp2, in isDateAfterNMillisec_date1IsLessThanNMillisecFromDate2_returnFalse()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/internal/car/updatable/ |
D | UserMetricsTest.java | 56 long timestamp1 = sendStartingEvent(mUserId); in testStartingEvent_multipleCallsDifferentUser() local 60 assertStartTime(timestamp1, mUserId); in testStartingEvent_multipleCallsDifferentUser() 66 long timestamp1 = sendStartingEvent(mUserId); in testStartingEvent_multipleCallsSameUser() local 67 assertStartTime(timestamp1, mUserId); in testStartingEvent_multipleCallsSameUser() 129 long timestamp1 = sendStopingEvent(mUserId); in testStopingEvent_multipleCallsDifferentUser() local 133 assertStopingTime(timestamp1, mUserId); in testStopingEvent_multipleCallsDifferentUser() 139 long timestamp1 = sendStopingEvent(mUserId); in testStopingEvent_multipleCallsSameUser() local 140 assertStopingTime(timestamp1, mUserId); in testStopingEvent_multipleCallsSameUser()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputProcessor_test.cpp | 225 timeval timestamp1 = {1, 1}; in TEST_F() local 226 TouchVideoFrame frame1(2, 2, std::move(videoData1), timestamp1); in TEST_F()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | FgsLoggerTest.java | 652 long timestamp1 = mFgsLogger.logForegroundServiceApiEventBegin( in multipleTypesOneFgsTest() local 659 long expectedTimestamp = timestamp1; in multipleTypesOneFgsTest() 680 timestamp1 = mFgsLogger.logForegroundServiceApiEventEnd(FOREGROUND_SERVICE_API_TYPE_CAMERA, in multipleTypesOneFgsTest() 688 expectedTimestamp = timestamp1; in multipleTypesOneFgsTest()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | TableLogBufferTest.kt | 562 val timestamp1 = TABLE_LOG_DATE_FORMAT.format(100L) in <lambda>() constant 563 val expected1 = timestamp1 + SEPARATOR + "column1" + SEPARATOR + "val1" in <lambda>() 564 val expected2 = timestamp1 + SEPARATOR + "column2" + SEPARATOR + "2" in <lambda>() 565 val expected3 = timestamp1 + SEPARATOR + "column3" + SEPARATOR + "true" in <lambda>()
|