Searched refs:captureFormat (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 685 public final AudioFormat captureFormat; field in SoundTrigger.RecognitionEvent 699 boolean triggerInData, AudioFormat captureFormat, byte[] data) { in RecognitionEvent() argument 707 this.captureFormat = captureFormat; in RecognitionEvent() 727 return captureFormat; in getCaptureFormat() 771 AudioFormat captureFormat = null; in fromParcel() local 776 captureFormat = (new AudioFormat.Builder()) in fromParcel() 784 captureDelayMs, capturePreambleMs, triggerInData, captureFormat, data); in fromParcel() 801 if (captureFormat != null) { in writeToParcel() 803 dest.writeInt(captureFormat.getSampleRate()); in writeToParcel() 804 dest.writeInt(captureFormat.getEncoding()); in writeToParcel() [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerService.java | 1163 AudioFormat captureFormat = (new AudioFormat.Builder()) in createAudioRecordForEvent() local 1170 captureFormat.getSampleRate() == AudioFormat.SAMPLE_RATE_UNSPECIFIED in createAudioRecordForEvent() 1172 : captureFormat.getSampleRate(), in createAudioRecordForEvent() 1173 captureFormat.getChannelCount() == 2 in createAudioRecordForEvent() 1176 captureFormat.getEncoding()); in createAudioRecordForEvent() 1180 return new AudioRecord(attributes, captureFormat, bufferSize, in createAudioRecordForEvent()
|
/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerDetector.java | 324 event.captureFormat, event.captureSession, event.data)) in onGenericSoundTriggerDetected()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 627 event.captureFormat, event.captureSession, event.data)) in onKeyphraseDetected()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 24955 Landroid/hardware/soundtrigger/SoundTrigger$RecognitionEvent;->captureFormat:Landroid/media/AudioFo…
|