/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogGroupBuilder.java | 117 long currentTime = System.currentTimeMillis(); 133 int currentGroupDayGroup = getDayGroup(firstDate, currentTime); 176 currentGroupDayGroup = getDayGroup(date, currentTime);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchSettingsImpl.java | 153 long currentTime = System.currentTimeMillis(); 159 .putLong(FIRST_VOICE_HINT_DISPLAY_TIME, currentTime)); 160 firstHintTime = currentTime; 162 if (currentTime - firstHintTime > getConfig().getVoiceSearchHintActivePeriod()) {
|
/system/extras/tests/wifi/stress/ |
wifiLoadScanAssoc.c | 135 struct timeval startTime, currentTime, delta; 268 gettimeofday(¤tTime, NULL); 269 delta = tvDelta(&startTime, ¤tTime);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTest.java | 376 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 377 animation.setStartTime(currentTime); 378 assertEquals(currentTime, animation.getStartTime()); 607 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 609 assertEquals(currentTime, animation.getStartTime(), 100);
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
MemoryCache.cpp | 38 #include "wtf/CurrentTime.h" 573 timestamp = currentTime(); 672 double currentTime = WTF::currentTime(); 674 if (currentTime - m_pruneTimeStamp >= m_maxPruneDeferralDelay) { 675 pruneNow(currentTime); 678 if (currentTime - m_pruneTimeStamp >= m_maxPruneDeferralDelay) { 679 pruneNow(currentTime); // Delay exceeded, prune now. 701 pruneNow(currentTime); 713 pruneNow(WTF::currentTime()); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMediaControls.cpp | 210 float currentTime = mediaElement->currentTime(); 211 if (std::isnan(duration) || std::isinf(duration) || !duration || std::isnan(currentTime)) 217 if (std::isnan(start) || std::isnan(end) || start > currentTime || end < currentTime) 220 int currentPosition = int(currentTime * rect.width() / duration); 462 String RenderMediaControls::formatMediaControlsCurrentTime(float currentTime, float duration) 464 return formatChromiumMediaControlsTime(currentTime, duration);
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollAnimatorNone.cpp | 37 #include "wtf/CurrentTime.h" 224 bool ScrollAnimatorNone::PerAxisData::updateDataFromParameters(float step, float delta, float scrollableSize, double currentTime, Parameters* parameters) 258 m_startTime = currentTime - kTickTime / 2; 337 bool ScrollAnimatorNone::PerAxisData::animateScroll(double currentTime) 339 double lastScrollInterval = currentTime - m_lastAnimationTime; 343 m_lastAnimationTime = currentTime; 345 double deltaTime = currentTime - m_startTime; 488 double currentTime = WTF::monotonicallyIncreasingTime(); 491 if (m_horizontalData.m_startTime && m_horizontalData.animateScroll(currentTime)) 493 if (m_verticalData.m_startTime && m_verticalData.animateScroll(currentTime)) [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
ComprehensiveCountryDetector.java | 468 long currentTime = SystemClock.elapsedRealtime(); 474 currentSessionLength = currentTime - mStartTime; 483 sb.append("currentTime=" + currentTime + ", ");
|
/frameworks/native/opengl/tests/hwc/ |
hwcStress.cpp | 245 struct timeval startTime, currentTime, delta; 391 gettimeofday(¤tTime, NULL); 392 delta = tvDelta(&startTime, ¤tTime);
|
/hardware/ti/omap4-aah/security/tee_client_api/ |
tee_client_api_linux_driver.c | 342 uint64_t currentTime = 0; 346 currentTime = now.tv_sec; 347 currentTime = (currentTime * 1000) + (now.tv_usec / 1000); 349 return currentTime;
|
/hardware/ti/omap4xxx/security/tee_client_api/ |
tee_client_api_linux_driver.c | 334 uint64_t currentTime = 0; 338 currentTime = now.tv_sec; 339 currentTime = (currentTime * 1000) + (now.tv_usec / 1000); 341 return currentTime;
|
/libcore/luni/src/main/java/java/util/ |
Timer.java | 220 long currentTime = System.currentTimeMillis(); 232 timeToSleep = task.when - currentTime;
|
/libcore/luni/src/test/java/tests/java/sql/ |
SelectFunctionalityTest.java | 101 long currentTime = Calendar.getInstance().getTimeInMillis(); 102 date = new Date(currentTime); 103 time = new Time(currentTime); 105 DatabaseCreator.fillTestTable2(conn, 1, 5, currentTime);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 267 double currentTime = 0; 277 if (currentTime <= startTime) { 281 if (currentTime <= endTime) { 289 currentTime += (double) entry.getDelta() 304 double currentTime = 0; 312 track.getSyncSamples(), currentSample + 1)] = currentTime; 314 currentTime += (double) entry.getDelta()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
Profile.java | 106 int currentTime = (int) (System.nanoTime() / NS_PER_MS); 110 if (currentTime > entry.wakeTime) { 121 long delay = nextWakeTime - currentTime;
|
/external/chromium_org/media/blink/ |
webmediaplayer_impl.cc | 451 double WebMediaPlayerImpl::currentTime() const { [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
Platform.h | 416 virtual double currentTime() { return 0; }
|
/external/chromium_org/third_party/libxml/src/ |
xmlmemory.c | 720 time_t currentTime; 735 currentTime = time(NULL); 736 tstruct = localtime(¤tTime);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
APITest.cc | 608 uint64_t currentTime; 617 currentTime = TickTime::MillisecondTimestamp(); 618 } while ((currentTime - startTime) < 120000); [all...] |
/external/libxml2/ |
xmlmemory.c | 723 time_t currentTime; 738 currentTime = time(NULL); 739 tstruct = localtime(¤tTime);
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 624 int64_t currentTime = mBufferTimestamps.top(); 625 currentTime += mStreamInfo->aacSamplesPerFrame * 627 mBufferTimestamps.add(currentTime); [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 430 Time currentTime = new Time(); 431 currentTime.set(today); 432 int currentDay = Time.getJulianDay(today, currentTime.gmtoff); [all...] |
/frameworks/base/services/core/java/com/android/server/twilight/ |
TwilightService.java | 339 Time currentTime = new Time(); 340 currentTime.set(System.currentTimeMillis()); 342 (currentTime.gmtoff - (currentTime.isDst > 0 ? 3600 : 0));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 666 final long currentTime = currentTimeMillis(); 668 sTemplateWifi, currentTime - HOUR_IN_MILLIS, currentTime, true); [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
ClusterManager.java | 111 long currentTime = location.getTime() / 1000; // measure time in seconds 146 mConsolidateRef = currentTime; 147 mRefreshRef = currentTime; 154 long collectDuration = currentTime - mConsolidateRef; 159 mConsolidateRef = currentTime; 161 long refreshDuration = currentTime - mRefreshRef; 165 mRefreshRef = currentTime;
|