Home
last modified time | relevance | path

Searched refs:SoundTriggerDetector (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java65 private final HashMap<UUID, SoundTriggerDetector> mReceiverInstanceMap;
76 mReceiverInstanceMap = new HashMap<UUID, SoundTriggerDetector>(); in SoundTriggerManager()
131 public SoundTriggerDetector createSoundTriggerDetector(UUID soundModelId, in createSoundTriggerDetector()
132 @NonNull SoundTriggerDetector.Callback callback, @Nullable Handler handler) { in createSoundTriggerDetector()
137 SoundTriggerDetector oldInstance = mReceiverInstanceMap.get(soundModelId); in createSoundTriggerDetector()
141 SoundTriggerDetector newInstance = new SoundTriggerDetector(mSoundTriggerService, in createSoundTriggerDetector()
DSoundTriggerDetector.java54 public final class SoundTriggerDetector { class
242 SoundTriggerDetector(ISoundTriggerService soundTriggerService, UUID soundModelId, in SoundTriggerDetector() method in SoundTriggerDetector
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerUtil.java22 import android.media.soundtrigger.SoundTriggerDetector;
112 public SoundTriggerDetector createSoundTriggerDetector(UUID modelId, in createSoundTriggerDetector()
113 SoundTriggerDetector.Callback callback) { in createSoundTriggerDetector()
DSoundTriggerTestService.java33 import android.media.soundtrigger.SoundTriggerDetector;
228 public SoundTriggerDetector detector;
326 SoundTriggerDetector.RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO : in startRecognition()
327 SoundTriggerDetector.RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS)) { in startRecognition()
526 private final SoundTriggerDetector.EventPayload mEvent;
528 public CaptureAudioRecorder(ModelInfo modelInfo, SoundTriggerDetector.EventPayload event) { in CaptureAudioRecorder()
649 private class DetectorCallback extends SoundTriggerDetector.Callback {
660 public void onDetected(SoundTriggerDetector.EventPayload event) { in onDetected()
688 private String eventPayloadToString(SoundTriggerDetector.EventPayload event) { in eventPayloadToString()
/frameworks/base/api/
Dsystem-current.txt4008 public final class SoundTriggerDetector {
4015 public abstract static class SoundTriggerDetector.Callback {
4016 ctor public SoundTriggerDetector.Callback();
4018 …method public abstract void onDetected(@NonNull android.media.soundtrigger.SoundTriggerDetector.Ev…
4024 public static class SoundTriggerDetector.EventPayload {
4030 …ia.soundtrigger.SoundTriggerDetector createSoundTriggerDetector(java.util.UUID, @NonNull android.m…
/frameworks/base/non-updatable-api/
Dsystem-current.txt4008 public final class SoundTriggerDetector {
4015 public abstract static class SoundTriggerDetector.Callback {
4016 ctor public SoundTriggerDetector.Callback();
4018 …method public abstract void onDetected(@NonNull android.media.soundtrigger.SoundTriggerDetector.Ev…
4024 public static class SoundTriggerDetector.EventPayload {
4030 …ia.soundtrigger.SoundTriggerDetector createSoundTriggerDetector(java.util.UUID, @NonNull android.m…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt40599 Landroid/media/soundtrigger/SoundTriggerDetector$EventPayload;-><init>(ZZLandroid/media/AudioFormat…
40600 Landroid/media/soundtrigger/SoundTriggerDetector$EventPayload;->mAudioFormat:Landroid/media/AudioFo…
40601 Landroid/media/soundtrigger/SoundTriggerDetector$EventPayload;->mCaptureAvailable:Z
40602 Landroid/media/soundtrigger/SoundTriggerDetector$EventPayload;->mCaptureSession:I
40603 Landroid/media/soundtrigger/SoundTriggerDetector$EventPayload;->mData:[B
40604 Landroid/media/soundtrigger/SoundTriggerDetector$EventPayload;->mTriggerAvailable:Z
40605 Landroid/media/soundtrigger/SoundTriggerDetector$RecognitionCallback;->onError(I)V
40606 Landroid/media/soundtrigger/SoundTriggerDetector$RecognitionCallback;->onGenericSoundTriggerDetecte…
40607 Landroid/media/soundtrigger/SoundTriggerDetector$RecognitionCallback;->onKeyphraseDetected(Landroid…
40608 Landroid/media/soundtrigger/SoundTriggerDetector$RecognitionCallback;->onRecognitionPaused()V
[all …]