Home
last modified time | relevance | path

Searched refs:timerId (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/system/chre/apps/test/chqts/src/general_test/
H A Dtimer_cancel_test.cc48 stage->timerId = chreTimerSet(kDuration, stage, stage->oneShot); in startStages()
49 if (stage->timerId == CHRE_TIMER_INVALID) { in startStages()
57 if (!chreTimerCancel(stage->timerId)) { in startStages()
60 if (chreTimerCancel(stage->timerId)) { in startStages()
112 bool cancelSucceeded = chreTimerCancel(stage->timerId); in handleStageEvent()
124 if (chreTimerCancel(stage->timerId)) { in handleStageEvent()
H A Dtimer_cancel_test.h42 uint32_t timerId; member
49 timerId(CHRE_TIMER_INVALID), in Stage()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerService.kt72 val timerId = intent.getIntExtra(EXTRA_TIMER_ID, -1) regex
74 val timer: Timer = DataModel.dataModel.getTimer(timerId) ?: return START_NOT_STICKY
86 .putExtra(EXTRA_TIMER_ID, timerId)
144 val timerId = timer?.id ?: -1 regex
147 .putExtra(EXTRA_TIMER_ID, timerId)
165 fun createAddMinuteTimerIntent(context: Context, timerId: Int): Intent {
168 .putExtra(EXTRA_TIMER_ID, timerId)
H A DExpiredTimersActivity.kt155 val timerId: Int = timer.id
159 timerItem.id = timerId
170 val timer: Timer = DataModel.dataModel.getTimer(timerId)!!
189 val timerId: Int = timer.id
193 if (timerView.id == timerId) {
H A DTimerReceiver.kt37 val timerId = intent.getIntExtra("timer.intent.extra", -1) regex
38 val timer: Timer? = DataModel.dataModel.getTimer(timerId)
H A DTimerItemFragment.kt34 var timerId = 0 regex
40 timerId = requireArguments().getInt(KEY_TIMER_ID)
74 get() = DataModel.dataModel.getTimer(timerId)
H A DTimerPagerAdapter.kt100 mFragments.remove(fragment.timerId)
/aosp12/packages/apps/Dialer/java/com/android/dialer/metrics/
H A DStubMetrics.java68 public void stopUnnamedTimer(int timerId, String timerEventName) { in stopUnnamedTimer() argument
71 unnamedEvents.remove(timerId), in stopUnnamedTimer()
73 timerId, in stopUnnamedTimer()
H A DFutureTimer.java104 Integer timerId = metrics.startUnnamedTimer(); in applyTiming() local
111 if (timerId != null) { in applyTiming()
112 metrics.stopUnnamedTimer(timerId, eventName); in applyTiming()
H A DMetrics.java90 void stopUnnamedTimer(int timerId, String timerEventName); in stopUnnamedTimer() argument
/aosp12/system/chre/platform/shared/
H A Dchre_api_re.cc56 DLL_EXPORT bool chreTimerCancel(uint32_t timerId) { in chreTimerCancel() argument
61 .cancelNanoappTimer(nanoapp, timerId); in chreTimerCancel()
/aosp12/system/chre/apps/power_test/common/
H A Drequest_manager.cc133 uint32_t timerId = in requestTimer() local
135 if (timerId != CHRE_TIMER_INVALID) { in requestTimer()
137 mTimerIds[type] = timerId; in requestTimer()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DTimerDAO.kt66 for (timerId in timerIds) {
67 val id = timerId.toInt()
H A DTimerModel.kt154 fun getTimer(timerId: Int): Timer? {
156 if (timer.id == timerId) {
/aosp12/system/chre/chre_api/legacy/v1_0/chre/
H A Dre.h268 bool chreTimerCancel(uint32_t timerId);
/aosp12/system/chre/chre_api/legacy/v1_1/chre/
H A Dre.h328 bool chreTimerCancel(uint32_t timerId);
/aosp12/system/chre/chre_api/legacy/v1_2/chre/
H A Dre.h334 bool chreTimerCancel(uint32_t timerId);
/aosp12/system/chre/chre_api/legacy/v1_3/chre/
H A Dre.h334 bool chreTimerCancel(uint32_t timerId);
/aosp12/system/chre/chre_api/include/chre_api/chre/
H A Dre.h348 bool chreTimerCancel(uint32_t timerId);
/aosp12/system/chre/chre_api/legacy/v1_4/chre/
H A Dre.h348 bool chreTimerCancel(uint32_t timerId);
/aosp12/frameworks/base/core/java/android/os/health/
H A DHealthStatsWriter.java94 public void addTimer(int timerId, int count, long time) { in addTimer() argument
95 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); in addTimer()
/aosp12/hardware/nxp/nfc/pn8x/halimpl/hal/
H A DphNxpNciHal_NfcDepSWPrio.cc69 static void cleanup_timer_handler(uint32_t timerId, void* pContext) { in cleanup_timer_handler() argument
91 static void custom_poll_timer_handler(uint32_t timerId, void* pContext) { in custom_poll_timer_handler() argument
H A DphNxpNciHal_ext.cc976 static void hal_extns_write_rsp_timeout_cb(uint32_t timerId, void* pContext) { in hal_extns_write_rsp_timeout_cb() argument
977 UNUSED(timerId); in hal_extns_write_rsp_timeout_cb()
/aosp12/hardware/nxp/nfc/snxxx/halimpl/hal/
H A DphNxpNciHal_NfcDepSWPrio.cc69 static void cleanup_timer_handler(uint32_t timerId, void* pContext) { in cleanup_timer_handler() argument
91 static void custom_poll_timer_handler(uint32_t timerId, void* pContext) { in custom_poll_timer_handler() argument
/aosp12/system/chre/build/app_support/qcom_nanohub/
H A Dapp_support.cc84 uint32_t timerId; member

12