Home
last modified time | relevance | path

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

/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/apps/StorageManager/src/com/android/storagemanager/automatic/
DNotificationController.java170 return getCurrentTime() >= nextTimeToShow; in shouldShowNotification()
283 getCurrentTime() + timeInMillis); in delayNextNotification()
287 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/cpp/computepipe/runner/input_manager/
DVideoDecoder.cpp35 int64_t getCurrentTime() { in getCurrentTime() function
218 if (getCurrentTime() > frameTimeMicros) { in decoderThreadFunction()
/packages/modules/NeuralNetworks/common/
DExecutionBurstServer.cpp376 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local
377 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking()
379 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
DExecutionBurstController.cpp293 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local
294 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking()
296 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java180 mCurrentTime.setText(mQueueAdapter.getCurrentTime()); in bind()
358 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()