Searched refs:startRecognition (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/include/soundtrigger/
H A DISoundTrigger.h40 virtual status_t startRecognition(sound_model_handle_t handle,
H A DSoundTrigger.h53 status_t startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory);
/frameworks/base/core/java/com/android/internal/app/
H A DIVoiceInteractionManagerService.aidl72 int startRecognition(in IVoiceInteractionService service, int keyphraseId,
/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp83 virtual status_t startRecognition(sound_model_handle_t handle, function in class:android::BpSoundTrigger
158 status_t status = startRecognition(handle, dataMemory);
H A DSoundTrigger.cpp172 status_t SoundTrigger::startRecognition(sound_model_handle_t handle, function in class:android::SoundTrigger
179 return mISoundTrigger->startRecognition(handle, dataMemory);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionService.java100 if (mHotwordDetector.startRecognition(
102 Log.i(TAG, "startRecognition succeeded");
104 Log.i(TAG, "startRecognition failed");
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java112 public native int startRecognition(int soundModelHandle, SoundTrigger.RecognitionConfig config); method in class:SoundTriggerModule
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DSearchFragment.java60 * call {@link #startRecognition()}, typically in onNewIntent().
319 mSearchBar.startRecognition();
373 * at first time created, there is no need to call startRecognition()
376 public void startRecognition() { method in class:SearchFragment
377 mSearchBar.startRecognition();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java295 startRecognition();
490 startRecognition();
520 public void startRecognition() { method in class:SearchBar
521 if (DEBUG) Log.v(TAG, String.format("startRecognition (listening: %s, recognizing: %s)",
/frameworks/base/core/java/android/service/voice/
H A DAlwaysOnHotwordDetector.java115 //-- Flags for startRecognition ----//
127 * Empty flag for {@link #startRecognition(int)}.
133 * Recognition flag for {@link #startRecognition(int)} that indicates
138 * Recognition flag for {@link #startRecognition(int)} that indicates
141 * call to {@link #startRecognition(int)} if the user speaks the keyphrase multiple times.
305 * {@link AlwaysOnHotwordDetector#startRecognition(int)}.
402 public boolean startRecognition(@RecognitionFlags int recognitionFlags) { method in class:AlwaysOnHotwordDetector
403 if (DBG) Slog.d(TAG, "startRecognition(" + recognitionFlags + ")");
406 throw new IllegalStateException("startRecognition called on an invalid detector");
576 code = mModelManagementService.startRecognition(mVoiceInteractionServic
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DSoundTriggerHelper.java56 * Return codes for {@link #startRecognition(int, KeyphraseSoundModel,
119 int startRecognition(int keyphraseId, method in class:SoundTriggerHelper
129 Slog.d(TAG, "startRecognition for keyphraseId=" + keyphraseId
157 Slog.w(TAG, "Attempting startRecognition without the capability");
163 Slog.w(TAG, "startRecognition cannot attach to sound trigger module");
260 // startRecognition hasn't been called or it failed.
261 Slog.w(TAG, "Attempting stopRecognition without a successful startRecognition");
483 int status = mModule.startRecognition(mCurrentSoundModelHandle, mRecognitionConfig);
485 Slog.w(TAG, "startRecognition failed with " + status);
H A DVoiceInteractionManagerService.java583 public int startRecognition(IVoiceInteractionService service, int keyphraseId, method in class:VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
595 throw new IllegalArgumentException("Illegal argument(s) in startRecognition");
607 Slog.w(TAG, "No matching sound model found in startRecognition");
610 return mSoundTriggerHelper.startRecognition(
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.h119 virtual status_t startRecognition(sound_model_handle_t handle,
H A DSoundTriggerHwService.cpp582 status_t SoundTriggerHwService::Module::startRecognition(sound_model_handle_t handle, function in class:android::SoundTriggerHwService::Module
585 ALOGV("startRecognition() model handle %d", handle);
591 ALOGE("startRecognition() dataMemory is non-0 but has NULL pointer()");
/frameworks/base/core/jni/
H A Dandroid_hardware_SoundTrigger.cpp666 ALOGV("startRecognition");
720 ALOGV("startRecognition num phrases %d", config->num_phrases);
735 ALOGV("startRecognition phrase %zu num_levels %d", i, config->phrases[i].num_levels);
744 ALOGV("startRecognition phrases %zu", i);
750 status = module->startRecognition(jHandle, memory);
791 {"startRecognition",

Completed in 344 milliseconds