Searched refs:mSessionStartTime (Results 1 – 2 of 2) sorted by relevance
75 private long mSessionStartTime; field in GarageModeRecorder109 if (mSessionStartTime != 0) { in startSession()111 mDateFormat.format(mSessionStartTime)); in startSession()115 mSessionStartTime = mClock.millis(); in startSession()125 if (mSessionStartTime == 0) { in finishSession()141 if (mSessionStartTime == 0) { in cancelSession()152 mSessionStartTime = 0; in cleanupRecorder()189 stringBuilder.append(mDateFormat.format(new Date(mSessionStartTime))); in recordEvent()197 stringBuilder.append(mSessionFinishTime - mSessionStartTime); in recordEvent()
66 private long mSessionStartTime; field in GarageModeRecorderTest85 mSessionStartTime = 1620000000000L; in setup()86 mSessionFinishTime = mSessionStartTime + TimeUnit.SECONDS.toMillis(20L); in setup()90 when(mClock.millis()).thenReturn(mSessionStartTime, mSessionFinishTime); in setup()161 return SESSION_START_TIME + mDateFormat.format(new Date(mSessionStartTime)); in getSessionStartString()169 return SESSION_DURATION + (mSessionFinishTime - mSessionStartTime) + TIME_UNIT_MS; in getSessionDurationString()