HomeSort by relevance Sort by last modified time
    Searched refs:secondTimestamp (Results 1 - 2 of 2) sorted by null

  /packages/apps/Dialer/java/com/android/dialer/calllogutils/
CallLogDates.java 185 public static int getDayDifference(long firstTimestamp, long secondTimestamp) {
186 // Ensure secondTimestamp is no less than firstTimestamp
187 if (secondTimestamp < firstTimestamp) {
189 firstTimestamp = secondTimestamp;
190 secondTimestamp = t;
193 // Use secondTimestamp as reference
195 startOfReferenceDay.setTimeInMillis(secondTimestamp);
232 private static boolean isWithinOneYear(long firstTimestamp, long secondTimestamp) {
233 // Ensure secondTimestamp is no less than firstTimestamp
234 if (secondTimestamp < firstTimestamp)
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
AdminActionBookkeepingTest.java 92 final long secondTimestamp = mDevicePolicyManager.getLastSecurityLogRetrievalTime();
96 assertTrue(secondTimestamp > firstTimestamp);
97 assertTrue(secondTimestamp >= timeBefore);
98 assertTrue(secondTimestamp <= timeAfter);
102 assertEquals(firstTimestamp, secondTimestamp);

Completed in 81 milliseconds