Home
last modified time | relevance | path

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

/system/chre/apps/test/pts/audio_enable_disable_test/src/
Daudio_enable_disable_test.cc47 constexpr uint32_t kAudioHandle = 0; variable
94 return chreAudioGetSource(kAudioHandle, &gAudioSource); in discoverAudioSource()
107 } else if (!chreAudioConfigureSource(kAudioHandle, true /* enable */, in handleMessageFromHost()
137 } else if (!chreAudioConfigureSource(kAudioHandle, false /* enable */, in handleAudioDataEvent()
209 chreAudioConfigureSource(kAudioHandle, false /* enable */, in nanoappEnd()
/system/chre/apps/test/chqts/src/general_test/
Dbasic_audio_test.cc191 constexpr uint32_t kAudioHandle = 0; in requestAudioData() local
194 if (!chreAudioGetSource(kAudioHandle, &audioSource)) { in requestAudioData()
196 } else if (!chreAudioConfigureSource(kAudioHandle, true /* enable */, in requestAudioData()
204 constexpr uint32_t kAudioHandle = 0; in handleAudioDataEvent() local
218 if (!chreAudioGetSource(kAudioHandle, &audioSource)) { in handleAudioDataEvent()
248 if (!chreAudioConfigureSource(kAudioHandle, false /* enable */, in handleAudioDataEvent()
/system/chre/apps/test/common/chre_audio_concurrency_test/src/
Dchre_audio_concurrency_test_manager.cc83 chreAudioConfigureSource(kAudioHandle, false /* enable */, in ~Manager()
92 if (!isTestSupported() || !chreAudioGetSource(kAudioHandle, &mAudioSource)) { in handleTestCommandMessage()
104 if (!chreAudioConfigureSource(kAudioHandle, true /* enable */, in handleTestCommandMessage()
322 data->handle == kAudioHandle && data->status.suspended) { in handleAudioSourceStatusEvent()
/system/chre/apps/test/common/chre_settings_test/src/
Dchre_settings_test_manager.cc48 constexpr uint32_t kAudioHandle = 0; variable
188 supported = chreAudioGetSource(kAudioHandle, &source); in isFeatureSupported()
353 if ((success = chreAudioGetSource(kAudioHandle, &source))) { in startTestForFeature()
354 success = chreAudioConfigureSource(kAudioHandle, /*enable=*/true, in startTestForFeature()
567 if (chreAudioGetSource(kAudioHandle, &source)) { in handleAudioSourceStatusEvent()
623 chreAudioConfigureSource(kAudioHandle, /*enable=*/false, in handleAudioDataEvent()
/system/chre/apps/test/common/chre_audio_concurrency_test/inc/
Dchre_audio_concurrency_test_manager.h124 static constexpr uint32_t kAudioHandle = 0; variable