Home
last modified time | relevance | path

Searched refs:mTimerId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Nfc/nci/jni/
DIntervalTimer.cpp29 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()
DIntervalTimer.h34 timer_t mTimerId;
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsTimerTest.java70 int mTimerId; field in QnsTimerTest
94 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 …]
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsTimer.java338 private final int mTimerId; field in QnsTimer.TimerInfo
343 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()
/packages/apps/DeskClock/src/com/android/deskclock/
DLabelDialogFragment.kt49 private var mTimerId = 0 variable in com.android.deskclock.LabelDialogFragment
63 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()