Home
last modified time | relevance | path

Searched refs:updateTime (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java140 final long updateTime = System.currentTimeMillis() in testCarrierUpdateTime_shouldFormatDaysCorrectly() local
143 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatDaysCorrectly()
155 final long updateTime = System.currentTimeMillis() in testCarrierUpdateTime_shouldFormatHoursCorrectly() local
158 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatHoursCorrectly()
170 final long updateTime = System.currentTimeMillis() in testCarrierUpdateTime_shouldFormatMinutesCorrectly() local
173 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatMinutesCorrectly()
183 final long updateTime = System.currentTimeMillis() - TimeUnit.SECONDS.toMillis(45); in testCarrierUpdateTime_shouldFormatLessThanMinuteCorrectly() local
185 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, DUMMY_CARRIER, 1 /* numPlans */, in testCarrierUpdateTime_shouldFormatLessThanMinuteCorrectly()
195 final long updateTime = System.currentTimeMillis() - TimeUnit.SECONDS.toMillis(45); in testCarrierUpdateTimeWithNoCarrier_shouldSayJustNow() local
197 mSummaryPreference.setUsageInfo(mCycleEnd, updateTime, null /* carrier */, in testCarrierUpdateTimeWithNoCarrier_shouldSayJustNow()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextTime.java66 updateTime();
72 updateTime();
105 updateTime(); in setFormat12Hour()
118 updateTime(); in setFormat24Hour()
136 updateTime(); in onAttachedToWindow()
162 updateTime(); in setTime()
165 private void updateTime() { in updateTime() method in TextTime
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.java131 updateTime(); in onFinishInflate()
204 private void updateTime() { in updateTime() method in TimerSetupView
251 updateTime(); in append()
274 updateTime(); in delete()
296 updateTime(); in reset()
333 updateTime(); in setState()
DTimerPagerAdapter.java158 timerItemFragment.updateTime(); in timerUpdated()
165 boolean updateTime() { in updateTime() method in TimerPagerAdapter
168 continuousUpdates |= fragment.updateTime(); in updateTime()
DTimerItemFragment.java76 boolean updateTime() { in updateTime() method in TimerItemFragment
DTimerFragment.java707 if (!mAdapter.updateTime()) { in run()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeNameFragment.java114 mTicker = TimeTicker.registerNewReceiver(getContext(), this::updateTime); in onResume()
115 updateTime(); in onResume()
118 private void updateTime() { in updateTime() method in CustomThemeNameFragment
120 mCoverPage.updateTime(); in updateTime()
DThemeFragment.java162 mTicker = TimeTicker.registerNewReceiver(getContext(), this::updateTime); in onResume()
164 updateTime(); in onResume()
167 private void updateTime() { in updateTime() method in ThemeFragment
169 mAdapter.updateTime(); in updateTime()
522 public void updateTime() { in updateTime() method in ThemeFragment.ThemePreviewAdapter
525 ((TimeContainer)page).updateTime(); in updateTime()
DThemePreviewPage.java36 void updateTime(); in updateTime() method
241 public void updateTime() { in updateTime() method in ThemePreviewPage.ThemeCoverPage
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DEpgTestData.java120 EpgTestData.updateTime(getStartTimeMs(), PROGRAM_1))
123 EpgTestData.updateTime(getStartTimeMs(), PROGRAM_2))
188 private static Iterable<Program> updateTime(long time, Program... programs) {
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java536 long updateTime = event.getCarPropertyValue().getTimestamp(); in onPropertyChanged() local
537 if (updateTime < mLastUpdateTime) { in onPropertyChanged()
541 mLastUpdateTime = updateTime; in onPropertyChanged()
549 if (needUpdate(listener, updateTime)) { in onPropertyChanged()
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticManager.java372 long updateTime = event.timestamp; in onDiagnosticEvent() local
373 if (updateTime < mLastUpdateTime) { in onDiagnosticEvent()
377 mLastUpdateTime = updateTime; in onDiagnosticEvent()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java200 CharSequence updateTime = null; in getCarrierInfoText() local
213 updateTime = StringUtil.formatElapsedTime(getContext(), in getCarrierInfoText()
217 updateTime); in getCarrierInfoText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreference.java307 CharSequence updateTime = null; local
320 updateTime = StringUtil.formatElapsedTime(
326 updateTime)); local
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreference.java307 CharSequence updateTime = null; local
320 updateTime = StringUtil.formatElapsedTime(
326 updateTime)); local
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java494 private void updateTime() { in updateTime() method in StopwatchFragment
514 updateTime(); in updateUI()
541 updateTime(); in run()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java106 void updateTime(Context context, StringBuilder builder) { in updateTime() method in RunningProcessesView.ActiveItem
203 ai.updateTime(rootView.getContext(), builder); in bind()
500 ai.updateTime(getContext(), mBuilder); in updateTimes()
DRunningServiceDetails.java633 mSnippetActiveItem.updateTime(getActivity(), mBuilder);
636 mActiveDetails.get(i).mActiveItem.updateTime(getActivity(), mBuilder);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningProcessesView.java106 void updateTime(Context context, StringBuilder builder) { in updateTime() method in RunningProcessesView.ActiveItem
203 ai.updateTime(rootView.getContext(), builder); in bind()
500 ai.updateTime(getContext(), mBuilder); in updateTimes()
DRunningServiceDetails.java633 mSnippetActiveItem.updateTime(getActivity(), mBuilder);
636 mActiveDetails.get(i).mActiveItem.updateTime(getActivity(), mBuilder);
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DIconCacheUpdateHandler.java171 long updateTime = c.getLong(indexLastUpdate); in updateIconsPerUser() local
174 if (version == info.versionCode && updateTime == info.lastUpdateTime && in updateIconsPerUser()
/packages/apps/TV/src/com/android/tv/menu/
DPlayControlsRowView.java512 updateTime(); in updateControls()
520 private void updateTime() { in updateTime() method in PlayControlsRowView
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java677 Long updateTime = values.getAsLong(UPDATE_TIME_COLUMN); in resetCursor() local
678 if (updateTime != null && ((now - updateTime) < REQUERY_ALLOWANCE_TIME)) { in resetCursor()
681 } else if (updateTime == null) { in resetCursor()