Home
last modified time | relevance | path

Searched refs:gTimerHandle (Results 1 – 3 of 3) sorted by relevance

/aosp12/system/chre/apps/test/pts/audio_enable_disable_test/src/
H A Daudio_enable_disable_test.cc62 uint32_t gTimerHandle = CHRE_TIMER_INVALID; variable
115 gTimerHandle = chreTimerSet(20 * kOneSecondInNanoseconds, in handleMessageFromHost()
117 if (gTimerHandle == CHRE_TIMER_INVALID) { in handleMessageFromHost()
134 } else if (!chreTimerCancel(gTimerHandle)) { in handleAudioDataEvent()
142 gTimerHandle = chreTimerSet(5 * kOneSecondInNanoseconds, in handleAudioDataEvent()
144 if (gTimerHandle == CHRE_TIMER_INVALID) { in handleAudioDataEvent()
158 if (gTimerHandle == CHRE_TIMER_INVALID) { in handleTimer()
/aosp12/system/chre/apps/test/common/chre_settings_test/src/
H A Dchre_settings_test_manager.cc47 uint32_t gTimerHandle = CHRE_TIMER_INVALID; variable
523 gTimerHandle = in handleAudioSourceStatusEvent()
526 if (gTimerHandle == CHRE_TIMER_INVALID) { in handleAudioSourceStatusEvent()
552 if (gTimerHandle != CHRE_TIMER_INVALID) { in handleAudioDataEvent()
553 chreTimerCancel(gTimerHandle); in handleAudioDataEvent()
554 gTimerHandle = CHRE_TIMER_INVALID; in handleAudioDataEvent()
567 gTimerHandle = CHRE_TIMER_INVALID; in handleTimeout()
/aosp12/system/chre/apps/audio_stress_test/
H A Daudio_stress_test.cc80 uint32_t gTimerHandle; variable
165 gTimerHandle = chreTimerSet(kStressPlan[gTestPosition].toRawNanoseconds(), in advanceTestPosition()
167 bool success = (gTimerHandle != CHRE_TIMER_INVALID); in advanceTestPosition()