/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | CachedStorageValuesHelperTest.java | 80 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/ |
D | AppStateUsageStatsBridge.java | 102 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
|
D | StorageManagerUpsellDialog.java | 97 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
|
D | AppsAsyncLoader.java | 102 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/ |
D | CachedStorageValuesHelper.java | 152 .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/ |
D | CachedStorageValuesHelper.java | 152 .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/ |
D | AlarmStateManager.java | 146 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/ |
D | NotificationController.java | 164 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/ |
D | BaseTimeZoneInfoPickerTest.java | 67 Truth.assertThat(item1.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder() 73 Truth.assertThat(item2.getCurrentTime()) in createAdapter_matchTimeZoneInfoAndOrder()
|
D | BaseTimeZoneAdapterTest.java | 127 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneAdapterTest.TestItem
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 163 String getCurrentTime(); in getCurrentTime() method 214 mTimeView.setText(item.getCurrentTime()); in setAdapterItem()
|
D | RegionSearchPicker.java | 163 public String getCurrentTime() { in getCurrentTime() method in RegionSearchPicker.RegionItem
|
D | BaseTimeZoneInfoPicker.java | 166 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneInfoPicker.TimeZoneInfoItem
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 163 String getCurrentTime(); in getCurrentTime() method 214 mTimeView.setText(item.getCurrentTime()); in setAdapterItem()
|
D | BaseTimeZoneInfoPicker.java | 166 public String getCurrentTime() { in getCurrentTime() method in BaseTimeZoneInfoPicker.TimeZoneInfoItem
|
D | RegionSearchPicker.java | 163 public String getCurrentTime() { in getCurrentTime() method in RegionSearchPicker.RegionItem
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | PlaybackFragment.java | 165 mCurrentTime.setText(mQueueAdapter.getCurrentTime()); in bind() 272 String getCurrentTime() { in getCurrentTime() method in PlaybackFragment.QueueItemsAdapter
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoaderTest.java | 87 when(mClock.getCurrentTime()).thenReturn(STARTING_TIME); in setUp()
|
D | AppStateUsageStatsBridgeTest.java | 86 when(mClock.getCurrentTime()).thenReturn(STARTING_TIME); in setUp()
|