Home
last modified time | relevance | path

Searched refs:getCurrentTime (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Email/src/com/android/email/
DStopWatch.java44 mStart = getCurrentTime(); in StopWatch()
54 long now = getCurrentTime() ; in split()
61 long now = getCurrentTime(); in stop()
67 private static long getCurrentTime() { in getCurrentTime() method in StopWatch
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DCachedStorageValuesHelperTest.java80 when(mMockClock.getCurrentTime()).thenReturn(10001L); in getCachedPrivateStorageInfo_cachedValuesAreLoaded()
108 when(mMockClock.getCurrentTime()).thenReturn(10001L); in getCachedAppsStorageResult_cachedValuesAreLoaded()
147 when(mMockClock.getCurrentTime()).thenReturn(10000000L); in getCachedPrivateStorageInfo_nullIfDataIsStale()
173 when(mMockClock.getCurrentTime()).thenReturn(10000000L); in getCachedAppsStorageResult_nullIfDataIsStale()
200 when(mMockClock.getCurrentTime()).thenReturn(10001L); in getCachedPrivateStorageInfo_nullIfWrongUser()
226 when(mMockClock.getCurrentTime()).thenReturn(10001L); in getCachedAppsStorageResult_nullIfWrongUser()
266 when(mMockClock.getCurrentTime()).thenReturn(10000L); in cacheResult_succeeds()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridge.java102 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse()
120 return (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - pi.firstInstallTime)); in getDaysSinceInstalled()
124 long now = mClock.getCurrentTime(); in getAggregatedUsageStats()
218 public long getCurrentTime() { in getCurrentTime() method in AppStateUsageStatsBridge.Clock
DStorageManagerUpsellDialog.java97 long nextShowTime = noThanksDelay == NEVER ? NEVER : getCurrentTime() + noThanksDelay; in onClick()
111 editor.putLong(NEXT_SHOW_TIME, getCurrentTime() + getDismissDelay(dismissCount)); in onCancel()
158 private long getCurrentTime() { in getCurrentTime() method in StorageManagerUpsellDialog
DAppsAsyncLoader.java102 long now = mClock.getCurrentTime(); in loadApps()
391 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse()
409 return (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - pi.firstInstallTime)); in getDaysSinceInstalled()
534 public long getCurrentTime() { in getCurrentTime() method in AppsAsyncLoader.Clock
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DCachedStorageValuesHelper.java152 .putLong(TIMESTAMP_KEY, mClock.getCurrentTime()) in cacheResult()
163 final long currentTime = mClock.getCurrentTime(); in isDataValid()
169 public long getCurrentTime() { in getCurrentTime() method in CachedStorageValuesHelper.Clock
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DCachedStorageValuesHelper.java152 .putLong(TIMESTAMP_KEY, mClock.getCurrentTime()) in cacheResult()
163 final long currentTime = mClock.getCurrentTime(); in isDataValid()
169 public long getCurrentTime() { in getCurrentTime() method in CachedStorageValuesHelper.Clock
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.java146 private static Calendar getCurrentTime() { in getCurrentTime() method in AlarmStateManager
149 : sCurrentTimeFactory.getCurrentTime(); in getCurrentTime()
283 AlarmInstance nextRepeatedInstance = alarm.createInstanceAfter(getCurrentTime()); in updateParentAlarm()
658 final Calendar currentTime = getCurrentTime(); in registerInstance()
793 final Calendar currentTime = getCurrentTime(); in fixAlarmInstances()
980 Calendar getCurrentTime(); in getCurrentTime() method
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DNotificationController.java164 return getCurrentTime() >= nextTimeToShow; in shouldShowNotification()
277 getCurrentTime() + timeInMillis); in delayNextNotification()
281 private long getCurrentTime() { in getCurrentTime() method in NotificationController
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZoneInfoPickerTest.java67 Truth.assertThat(item1.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder()
73 Truth.assertThat(item2.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder()
DBaseTimeZoneAdapterTest.java127 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneAdapterTest.TestItem
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java163 String getCurrentTime(); in getCurrentTime() method
214 mTimeView.setText(item.getCurrentTime()); in setAdapterItem()
DRegionSearchPicker.java163 public String getCurrentTime() { in getCurrentTime() method in RegionSearchPicker.RegionItem
DBaseTimeZoneInfoPicker.java166 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneInfoPicker.TimeZoneInfoItem
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZoneAdapter.java163 String getCurrentTime(); in getCurrentTime() method
214 mTimeView.setText(item.getCurrentTime()); in setAdapterItem()
DBaseTimeZoneInfoPicker.java166 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneInfoPicker.TimeZoneInfoItem
DRegionSearchPicker.java163 public String getCurrentTime() { in getCurrentTime() method in RegionSearchPicker.RegionItem
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java146 mCurrentTime.setText(mQueueAdapter.getCurrentTime()); in bind()
197 String getCurrentTime() { in getCurrentTime() method in PlaybackFragment.QueueItemsAdapter
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java87 when(mClock.getCurrentTime()).thenReturn(STARTING_TIME); in setUp()
DAppStateUsageStatsBridgeTest.java86 when(mClock.getCurrentTime()).thenReturn(STARTING_TIME); in setUp()