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

/packages/apps/Email/src/com/android/email/
H A DStopWatch.java44 mStart = getCurrentTime();
54 long now = getCurrentTime() ;
61 long now = getCurrentTime();
67 private static long getCurrentTime() { method in class:StopWatch
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
H A DCachedStorageValuesHelper.java151 .putLong(TIMESTAMP_KEY, mClock.getCurrentTime())
162 final long currentTime = mClock.getCurrentTime();
168 public long getCurrentTime() { method in class:CachedStorageValuesHelper.Clock
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
H A DStorageManagerUpsellDialog.java97 long nextShowTime = noThanksDelay == NEVER ? NEVER : getCurrentTime() + noThanksDelay;
111 editor.putLong(NEXT_SHOW_TIME, getCurrentTime() + getDismissDelay(dismissCount));
158 private long getCurrentTime() { method in class:StorageManagerUpsellDialog
H A DAppStateUsageStatsBridge.java102 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed));
120 return (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - pi.firstInstallTime));
124 long now = mClock.getCurrentTime();
218 public long getCurrentTime() { method in class:AppStateUsageStatsBridge.Clock
H A DAppsAsyncLoader.java103 long now = mClock.getCurrentTime();
390 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed));
408 return (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - pi.firstInstallTime));
533 public long getCurrentTime() { method in class:AppsAsyncLoader.Clock
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
H A DBaseTimeZoneInfoPickerTest.java67 Truth.assertThat(item1.getCurrentTime())
73 Truth.assertThat(item2.getCurrentTime())
H A DBaseTimeZoneAdapterTest.java128 public String getCurrentTime() { method in class:BaseTimeZoneAdapterTest.TestItem
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
H A DCachedStorageValuesHelperTest.java73 when(mMockClock.getCurrentTime()).thenReturn(10001L);
101 when(mMockClock.getCurrentTime()).thenReturn(10001L);
140 when(mMockClock.getCurrentTime()).thenReturn(10000000L);
166 when(mMockClock.getCurrentTime()).thenReturn(10000000L);
193 when(mMockClock.getCurrentTime()).thenReturn(10001L);
219 when(mMockClock.getCurrentTime()).thenReturn(10001L);
259 when(mMockClock.getCurrentTime()).thenReturn(10000L);
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
H A DNotificationController.java162 return getCurrentTime() >= nextTimeToShow;
275 getCurrentTime() + timeInMillis);
279 private long getCurrentTime() { method in class:NotificationController
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmStateManager.java146 private static Calendar getCurrentTime() { method in class:AlarmStateManager
149 : sCurrentTimeFactory.getCurrentTime();
283 AlarmInstance nextRepeatedInstance = alarm.createInstanceAfter(getCurrentTime());
658 final Calendar currentTime = getCurrentTime();
793 final Calendar currentTime = getCurrentTime();
980 Calendar getCurrentTime(); method in interface:AlarmStateManager.CurrentTimeFactory
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
H A DBaseTimeZoneAdapter.java157 String getCurrentTime(); method in interface:BaseTimeZoneAdapter.AdapterItem
207 mTimeView.setText(item.getCurrentTime());
H A DBaseTimeZoneInfoPicker.java165 public String getCurrentTime() { method in class:BaseTimeZoneInfoPicker.TimeZoneInfoItem
H A DRegionSearchPicker.java162 public String getCurrentTime() { method in class:RegionSearchPicker.RegionItem
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
H A DAppStateUsageStatsBridgeTest.java89 when(mClock.getCurrentTime()).thenReturn(STARTING_TIME);
425 public long getCurrentTime() { method in class:AppStateUsageStatsBridgeTest.FakeClock
H A DAppsAsyncLoaderTest.java89 when(mClock.getCurrentTime()).thenReturn(STARTING_TIME);

Completed in 2276 milliseconds