Home
last modified time | relevance | path

Searched refs:ElapsedTimeUtils (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/
DElapsedTimeUtilsTest.java41 ElapsedTimeUtils.storeSuwFinishedTimestamp(mContext, timestamp); in storeSuwFinishedTimestamp_firstTimeAccess_shouldStoreTimestamp()
43 final long result = ElapsedTimeUtils.getSuwFinishedTimestamp(mContext); in storeSuwFinishedTimestamp_firstTimeAccess_shouldStoreTimestamp()
51 ElapsedTimeUtils.storeSuwFinishedTimestamp(mContext, timestamp); in storeSuwFinishedTimestamp_NotFirstTimeAccess_shouldNotStoreTimestamp()
52 ElapsedTimeUtils.storeSuwFinishedTimestamp(mContext, 2000000L); in storeSuwFinishedTimestamp_NotFirstTimeAccess_shouldNotStoreTimestamp()
54 final long result = ElapsedTimeUtils.getSuwFinishedTimestamp(mContext); in storeSuwFinishedTimestamp_NotFirstTimeAccess_shouldNotStoreTimestamp()
62 ElapsedTimeUtils.storeSuwFinishedTimestamp(mContext, suwTime); in getElapsedTime_valueInPrefs_positiveElapsedTime_returnElapsedTime()
64 final long result = ElapsedTimeUtils.getElapsedTime(actionTime); in getElapsedTime_valueInPrefs_positiveElapsedTime_returnElapsedTime()
73 ElapsedTimeUtils.storeSuwFinishedTimestamp(mContext, suwTime); in getElapsedTime_valueInPrefs_negativeElapsedTime_returnDefault()
75 final long result = ElapsedTimeUtils.getElapsedTime(actionTime); in getElapsedTime_valueInPrefs_negativeElapsedTime_returnDefault()
77 assertThat(result).isEqualTo(ElapsedTimeUtils.DEFAULT_SETUP_TIME); in getElapsedTime_valueInPrefs_negativeElapsedTime_returnDefault()
[all …]
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DStatsLogWriter.java35 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in visible()
46 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in hidden()
57 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in clicked()
68 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in changed()
115 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in action()
DElapsedTimeUtils.java28 public class ElapsedTimeUtils { class
88 private ElapsedTimeUtils() {} in ElapsedTimeUtils() method in ElapsedTimeUtils
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBootBroadcastReceiver.java26 import com.android.settings.core.instrumentation.ElapsedTimeUtils;
93 ElapsedTimeUtils.storeSuwFinishedTimestamp(context, System.currentTimeMillis()); in onReceive()
/packages/apps/Settings/src/com/android/settings/
DSettingsApplication.java32 import com.android.settings.core.instrumentation.ElapsedTimeUtils;
71 ElapsedTimeUtils.assignSuwFinishedTimeStamp(getApplicationContext()); in onCreate()
/packages/apps/Settings/src/com/android/settings/spa/core/instrumentation/
DSpaLogProvider.kt22 import com.android.settings.core.instrumentation.ElapsedTimeUtils
123 return ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis()) in getElapsedTime()