Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/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()
59 GeolocationTimeZoneSuggestion.createUncertainSuggestion(time1); in testEquals()
65 GeolocationTimeZoneSuggestion.createCertainSuggestion(time1, ARBITRARY_ZONE_IDS2); in testEquals()
/frameworks/av/media/utils/
DTimeCheck.cpp58 static size_t commonTimePrefixPosition(std::string_view time1, std::string_view time2) { in commonTimePrefixPosition() argument
59 const size_t endPos = std::min(time1.size(), time2.size()); in commonTimePrefixPosition()
67 if (time1[i] != time2[i]) { in commonTimePrefixPosition()
70 if (time1[i] == '\0') { in commonTimePrefixPosition()
77 && isdigit(time1[i]) // still a number in commonTimePrefixPosition()
78 && time1[i - 1] != ' ' in commonTimePrefixPosition()
90 std::string_view timeSuffix(std::string_view time1, std::string_view time2) { in timeSuffix() argument
91 const size_t pos = commonTimePrefixPosition(time1, time2); in timeSuffix()
DTimerThread.cpp34 extern std::string_view timeSuffix(std::string_view time1, std::string_view time2);
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp223 nsecs_t time1 = systemTime(); in fuzzLayerHistory() local
224 nsecs_t time2 = time1; in fuzzLayerHistory()
231 historyV1.record(layer1.get(), time1, time1, in fuzzLayerHistory()
235 time1 += mFdp.PickValueInArray(kVsyncPeriods); in fuzzLayerHistory()
238 historyV1.summarize(*scheduler->refreshRateConfigs(), time1); in fuzzLayerHistory()
/frameworks/av/media/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/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java184 final long time1 = 10L; in onTouchEvent_notStartHandwriting_when_stylusMove_afterTimeOut() local
190 final long time2 = time1 + TIMEOUT + 10L; in onTouchEvent_notStartHandwriting_when_stylusMove_afterTimeOut()
/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()