Home
last modified time | relevance | path

Searched refs:isSoundTrigger (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h189 audio_source_t source, audio_input_flags_t flags, bool isSoundTrigger) : in RecordClientDescriptor() argument
191 mRIId(riid), mSource(source), mFlags(flags), mIsSoundTrigger(isSoundTrigger), in RecordClientDescriptor()
201 bool isSoundTrigger() const { return mIsSoundTrigger; } in isSoundTrigger() function
DAudioInputDescriptor.h83 bool isSoundTrigger() const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp134 client->isSoundTrigger()))) { in isSourceActive()
176 bool AudioInputDescriptor::isSoundTrigger() const { in isSoundTrigger() function in android::AudioInputDescriptor
182 return getClientIterable().begin()->isSoundTrigger(); in isSoundTrigger()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2440 bool isSoundTrigger; in getInputForAttr() local
2570 isSoundTrigger = attributes.source == AUDIO_SOURCE_HOTWORD && in getInputForAttr()
2576 isSoundTrigger); in getInputForAttr()
2599 bool isSoundTrigger = false; in getInputForDevice() local
2605 isSoundTrigger = true; in getInputForDevice()
2685 if (isSoundTrigger != client->isSoundTrigger()) { in getInputForDevice()
2688 if (client->isSoundTrigger()) { in getInputForDevice()
3700 if (activeDesc->isSoundTrigger() && activeDesc->source() == AUDIO_SOURCE_HOTWORD) { in updateInputRouting()
7087 if (result.source == AUDIO_SOURCE_HOTWORD && !inputDesc->isSoundTrigger()) { in setInputDevice()