Home
last modified time | relevance | path

Searched refs:time1 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DGeolocationTimeZoneSuggestionTest.java37 long time1 = 1111L; in testEquals() local
39 GeolocationTimeZoneSuggestion.createCertainSuggestion(time1, ARBITRARY_ZONE_IDS1); in testEquals()
43 GeolocationTimeZoneSuggestion.createCertainSuggestion(time1, ARBITRARY_ZONE_IDS1); in testEquals()
54 GeolocationTimeZoneSuggestion.createUncertainSuggestion(time1); in testEquals()
60 GeolocationTimeZoneSuggestion.createCertainSuggestion(time1, ARBITRARY_ZONE_IDS2); in testEquals()
/frameworks/av/media/utils/
DTimeCheck.cpp74 static size_t commonTimePrefixPosition(std::string_view time1, std::string_view time2) { in commonTimePrefixPosition() argument
75 const size_t endPos = std::min(time1.size(), time2.size()); in commonTimePrefixPosition()
83 if (time1[i] != time2[i]) { in commonTimePrefixPosition()
86 if (time1[i] == '\0') { in commonTimePrefixPosition()
93 && isdigit(time1[i]) // still a number in commonTimePrefixPosition()
94 && time1[i - 1] != ' ' in commonTimePrefixPosition()
106 std::string_view timeSuffix(std::string_view time1, std::string_view time2) { in timeSuffix() argument
107 const size_t pos = commonTimePrefixPosition(time1, time2); in timeSuffix()
DTimerThread.cpp36 extern std::string_view timeSuffix(std::string_view time1, std::string_view time2);
/frameworks/base/core/tests/timetests/src/android/app/time/
DTimeStateTest.java45 UnixEpochTime time1 = new UnixEpochTime(1, 1); in testEqualsAndHashcode() local
46 TimeState time1False_1 = new TimeState(time1, false); in testEqualsAndHashcode()
49 TimeState time1False_2 = new TimeState(time1, false); in testEqualsAndHashcode()
52 TimeState time1True = new TimeState(time1, true); in testEqualsAndHashcode()
/frameworks/av/media/module/extractors/mp4/
DSampleTable.cpp614 uint32_t abs_difference(uint64_t time1, uint64_t time2) { in abs_difference() argument
615 return time1 > time2 ? time1 - time2 : time2 - time1; in abs_difference()
/frameworks/av/media/libmediametrics/include/media/
DMediaMetricsItem.h195 static inline size_t commonTimePrefixPosition(const char *time1, const char *time2) { in commonTimePrefixPosition() argument
200 if (time1[i] != time2[i]) { in commonTimePrefixPosition()
203 if (time1[i] == 0) { in commonTimePrefixPosition()
210 && isdigit(time1[i]) // still a number in commonTimePrefixPosition()
211 && time1[i - 1] != ' ' in commonTimePrefixPosition()
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java502 private static boolean areSameDates(long time1, long time2) { in areSameDates() argument
506 c1.setTimeInMillis(time1); in areSameDates()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java153 long time1 = System.currentTimeMillis(); in measureAllocationScore() local
169 double speed = MIN_NUMBER_OF_SURFACES * 1000.0 / (time2 - time1); in measureAllocationScore()
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java473 final long time1 = 10L; in onTouchEvent_notStartHandwriting_when_stylusMove_afterTimeOut() local
479 final long time2 = time1 + TIMEOUT + 10L; in onTouchEvent_notStartHandwriting_when_stylusMove_afterTimeOut()