Home
last modified time | relevance | path

Searched refs:EXPIRED (Results 1 – 11 of 11) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.java30 import static com.android.deskclock.data.Timer.State.EXPIRED;
42 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); enumConstant
130 public boolean isExpired() { return mState == EXPIRED; } in isExpired()
160 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) { in getExpirationTime()
171 if (mState != RUNNING && mState != EXPIRED && mState != MISSED) { in getWallClockExpirationTime()
194 if (mState == RUNNING || mState == EXPIRED || mState == MISSED) { in start()
208 } else if (mState == EXPIRED || mState == MISSED) { in pause()
221 if (mState == EXPIRED || mState == RESET || mState == MISSED) { in expire()
226 return new Timer(mId, EXPIRED, mLength, 0L, now(), wallClock(), remainingTime, mLabel, in expire()
346 if (remainingTime > 0 && (mState == EXPIRED || mState == MISSED)) { in setRemainingTime()
[all …]
DTimer.kt57 RUNNING(1), PAUSED(2), EXPIRED(3), RESET(4), MISSED(5); in <lambda>()
84 get() = state == State.EXPIRED in <lambda>()
111 check(!(state != State.RUNNING && state != State.EXPIRED && state != State.MISSED)) { in <lambda>()
122 check(!(state != State.RUNNING && state != State.EXPIRED && state != State.MISSED)) { in <lambda>()
140 return if (state == State.RUNNING || state == State.EXPIRED || state == State.MISSED) { in <lambda>()
154 } else if (state == State.EXPIRED || state == State.MISSED) { in <lambda>()
167 if (state == State.EXPIRED || state == State.RESET || state == State.MISSED) { in <lambda>()
172 return Timer(id, State.EXPIRED, length, 0L, Utils.now(), in <lambda>()
291 if (remainingTime > 0 && (this.state == State.EXPIRED || this.state == State.MISSED)) { in <lambda>()
310 return if (state == State.EXPIRED || state == State.MISSED) { in <lambda>()
[all …]
DTimerModel.java52 import static com.android.deskclock.data.Timer.State.EXPIRED;
712 if (afterState == EXPIRED && mRingingIds.add(after.getId()) && mRingingIds.size() == 1) { in updateRinger()
718 if (beforeState == EXPIRED && mRingingIds.remove(before.getId()) && mRingingIds.isEmpty()) { in updateRinger()
DTimerModel.kt667 if (afterState == Timer.State.EXPIRED && mRingingIds.add(after.id) && in updateRinger()
674 if (beforeState == Timer.State.EXPIRED && mRingingIds.remove(before.id) && in updateRinger()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DGetTranscriptResponseAsync.java81 return response.getStatus() == TranscriptionStatus.EXPIRED in hasRecoverableError()
Dvoicemail_transcription.proto35 EXPIRED = 3; enumerator
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt247 Timer.State.MISSED, Timer.State.EXPIRED -> { in updateFab()
322 Timer.State.MISSED, Timer.State.EXPIRED -> { in onFabClick()
DTimerItem.java143 case EXPIRED: in update()
DTimerItem.kt133 Timer.State.EXPIRED, Timer.State.MISSED -> { in update()
DTimerFragment.java274 case EXPIRED: in updateFab()
360 case EXPIRED: in onFabClick()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionTask.java215 case EXPIRED: in recordResult()