Searched refs:mTimerId (Results 1 – 5 of 5) sorted by relevance
29 mTimerId = 0; in IntervalTimer()34 if (mTimerId == 0) { in set()52 stat = timer_settime(mTimerId, 0, &ts, 0); in set()60 if (mTimerId == 0) return; in kill()62 timer_delete(mTimerId); in kill()63 mTimerId = 0; in kill()76 se.sigev_value.sival_ptr = &mTimerId; in create()81 stat = timer_create(CLOCK_MONOTONIC, &se, &mTimerId); in create()
34 timer_t mTimerId;
70 int mTimerId; field in QnsTimerTest94 mTimerId = mQnsTimer.registerTimer(mMessage, 30000); in testRegisterTimerForScreenOff()97 assertTrue(mQnsTimer.getTimersInfo().contains(new QnsTimer.TimerInfo(mTimerId))); in testRegisterTimerForScreenOff()108 mTimerId = mQnsTimer.registerTimer(mMessage, 80000); in testRegisterTimerForScreenOn()111 assertTrue(mQnsTimer.getTimersInfo().contains(new QnsTimer.TimerInfo(mTimerId))); in testRegisterTimerForScreenOn()129 mQnsTimer.unregisterTimer(mTimerId); in testUnregisterTimerForScreenOff()131 assertFalse(mQnsTimer.getTimersInfo().contains(new QnsTimer.TimerInfo(mTimerId))); in testUnregisterTimerForScreenOff()139 mQnsTimer.unregisterTimer(mTimerId); in testUnregisterTimerForScreenOn()141 assertFalse(mQnsTimer.getTimersInfo().contains(new QnsTimer.TimerInfo(mTimerId))); in testUnregisterTimerForScreenOn()162 mTimerId = mQnsTimer.registerTimer(mMessage, 50); in testTimerExpired()[all …]
338 private final int mTimerId; field in QnsTimer.TimerInfo343 mTimerId = timerId; in TimerInfo()347 return mTimerId; in getTimerId()372 return mTimerId == timerInfo.mTimerId; in equals()377 return Objects.hash(mTimerId); in hashCode()384 + mTimerId in toString()
49 private var mTimerId = 0 variable in com.android.deskclock.LabelDialogFragment63 mTimerId = args.getInt(ARG_TIMER_ID, -1) in onCreateDialog()122 } else if (mTimerId >= 0) { in setLabel()123 val timer: Timer? = DataModel.dataModel.getTimer(mTimerId) in setLabel()