Searched refs:ElapsedTimeUtils (Results 1 – 6 of 6) sorted by relevance
41 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 …]
35 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()
28 public class ElapsedTimeUtils { class88 private ElapsedTimeUtils() {} in ElapsedTimeUtils() method in ElapsedTimeUtils
26 import com.android.settings.core.instrumentation.ElapsedTimeUtils;93 ElapsedTimeUtils.storeSuwFinishedTimestamp(context, System.currentTimeMillis()); in onReceive()
32 import com.android.settings.core.instrumentation.ElapsedTimeUtils;71 ElapsedTimeUtils.assignSuwFinishedTimeStamp(getApplicationContext()); in onCreate()
22 import com.android.settings.core.instrumentation.ElapsedTimeUtils123 return ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis()) in getElapsedTime()