Home
last modified time | relevance | path

Searched refs:audioCapabilities (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java316 int audioCapabilities = 0; in startRecognition() local
318 audioCapabilities |= SoundTrigger.ModuleProperties.AUDIO_CAPABILITY_ECHO_CANCELLATION; in startRecognition()
321 audioCapabilities |= SoundTrigger.ModuleProperties.AUDIO_CAPABILITY_NOISE_SUPPRESSION; in startRecognition()
328 allowMultipleTriggers, null, null, audioCapabilities), in startRecognition()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DTestUtil.java199 properties.audioCapabilities = in createDefaultProperties_2_3()
223 properties.audioCapabilities = in createDefaultProperties()
235 @AudioCapabilities int audioCapabilities, @NonNull String supportedModelArch) { in validateDefaultProperties() argument
252 assertEquals(audioCapabilities, properties.audioCapabilities); in validateDefaultProperties()
266 config.audioCapabilities = in createRecognitionConfig()
316 config.audioCapabilities); in validateRecognitionConfig_2_3()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java169 boolean returnsTriggerInEvent, int audioCapabilities) { in ModuleProperties() argument
185 this.mAudioCapabilities = audioCapabilities; in ModuleProperties()
309 int audioCapabilities = in.readInt(); in fromParcel() local
313 powerConsumptionMw, returnsTriggerInEvent, audioCapabilities); in fromParcel()
1532 public final int audioCapabilities; field in SoundTrigger.RecognitionConfig
1536 @Nullable byte[] data, int audioCapabilities) { in RecognitionConfig() argument
1541 this.audioCapabilities = audioCapabilities; in RecognitionConfig()
1568 int audioCapabilities = in.readInt(); in fromParcel() local
1570 audioCapabilities); in fromParcel()
1579 dest.writeInt(audioCapabilities); in writeToParcel()
[all …]
DConversionUtil.java68 aidl2apiAudioCapabilities(properties.audioCapabilities) in aidl2apiModuleDescriptor()
167 aidlConfig.audioCapabilities = api2aidlAudioCapabilities(apiConfig.audioCapabilities); in api2aidlRecognitionConfig()
183 aidl2apiAudioCapabilities(aidlConfig.audioCapabilities)); in aidl2apiRecognitionConfig()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java83 aidlProperties.audioCapabilities = in hidl2aidlProperties()
84 hidl2aidlAudioCapabilities(hidlProperties.audioCapabilities); in hidl2aidlProperties()
231 hidlConfig.audioCapabilities = aidlConfig.audioCapabilities; in aidl2hidlRecognitionConfig()
DFakeSoundTriggerHal.java634 properties.audioCapabilities = 0; in createDefaultProperties()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java1526 int audioCapabilities = 0; in startRecognitionLocked() local
1528 audioCapabilities |= AUDIO_CAPABILITY_ECHO_CANCELLATION; in startRecognitionLocked()
1531 audioCapabilities |= AUDIO_CAPABILITY_NOISE_SUPPRESSION; in startRecognitionLocked()
1539 recognitionExtra, data, audioCapabilities), in startRecognitionLocked()
/frameworks/base/core/api/
Dtest-current.txt1881 field public final int audioCapabilities;