Home
last modified time | relevance | path

Searched refs:mSessionFinishTime (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeRecorder.java76 private long mSessionFinishTime; field in GarageModeRecorder
130 mSessionFinishTime = mClock.millis(); in finishSession()
146 mSessionFinishTime = mClock.millis(); in cancelSession()
153 mSessionFinishTime = 0; in cleanupRecorder()
194 stringBuilder.append(mDateFormat.format(new Date(mSessionFinishTime))); in recordEvent()
197 stringBuilder.append(mSessionFinishTime - mSessionStartTime); in recordEvent()
203 stringBuilder.append(mDateFormat.format(new Date(mSessionFinishTime))); in recordEvent()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/garagemode/
DGarageModeRecorderTest.java67 private long mSessionFinishTime; field in GarageModeRecorderTest
86 mSessionFinishTime = mSessionStartTime + TimeUnit.SECONDS.toMillis(20L); in setup()
90 when(mClock.millis()).thenReturn(mSessionStartTime, mSessionFinishTime); in setup()
157 return SESSION_WAS_CANCELLED + mDateFormat.format(new Date(mSessionFinishTime)); in getSessionCancelString()
165 return SESSION_FINISH_TIME + mDateFormat.format(new Date(mSessionFinishTime)); in getSessionFinishString()
169 return SESSION_DURATION + (mSessionFinishTime - mSessionStartTime) + TIME_UNIT_MS; in getSessionDurationString()