Home
last modified time | relevance | path

Searched refs:HotwordDetector (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordMetricsLogger.java43 import android.service.voice.HotwordDetector;
177 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE: in getCreateMetricsDetectorType()
179 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP: in getCreateMetricsDetectorType()
188 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE: in getRestartMetricsDetectorType()
190 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP: in getRestartMetricsDetectorType()
199 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE: in getInitMetricsDetectorType()
201 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP: in getInitMetricsDetectorType()
210 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE: in getKeyphraseMetricsDetectorType()
212 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP: in getKeyphraseMetricsDetectorType()
221 case HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE: in getDetectorMetricsDetectorType()
[all …]
DDspTrustedHotwordDetectorSession.java43 import android.service.voice.HotwordDetector;
119 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
126 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
138 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
149 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
180 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
204 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
210 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
221 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
247 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP, in detectFromDspSourceLocked()
[all …]
DSoftwareTrustedHotwordDetectorSession.java41 import android.service.voice.HotwordDetector;
112 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
118 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
129 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
140 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
162 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
174 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
193 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
208 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in startListeningFromMicLocked()
241 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE, in informRestartProcessLocked()
DDetectorSession.java81 import android.service.voice.HotwordDetector;
239 if (getDetectorType() != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in DetectorSession()
286 != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateAfterProcessStartLocked()
299 != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateAfterProcessStartLocked()
306 != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateAfterProcessStartLocked()
317 if (getDetectorType() != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateAfterProcessStartLocked()
325 if (getDetectorType() != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateAfterProcessStartLocked()
340 if (getDetectorType() != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateAfterProcessStartLocked()
346 if (getDetectorType() != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateAfterProcessStartLocked()
383 if (getDetectorType() != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in updateStateLocked()
[all …]
DHotwordDetectionConnection.java57 import android.service.voice.HotwordDetector;
284 if (mDetectorType != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in HotwordDetectionConnection()
332 if (mDetectorType != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in audioServerDied()
660 mDetectorSessions.delete(HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP); in safelyShutdownHotwordDetectionOnVoiceActivationDisabledLocked()
661 mDetectorSessions.delete(HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE); in safelyShutdownHotwordDetectionOnVoiceActivationDisabledLocked()
1017 if (detectorType == HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP) { in createDetectorLocked()
1026 } else if (detectorType == HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in createDetectorLocked()
1094 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP); in getDspTrustedHotwordDetectorSessionLocked()
1105 HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE); in getSoftwareTrustedHotwordDetectorSessionLocked()
1116 HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR); in getVisualQueryDetectorSessionLocked()
DVoiceInteractionManagerServiceImpl.java67 import android.service.voice.HotwordDetector;
732 if (detectorType != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in initAndVerifyDetectorLocked()
760 } else if (detectorType != HotwordDetector.DETECTOR_TYPE_VISUAL_QUERY_DETECTOR) { in initAndVerifyDetectorLocked()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionService.java206 private final Set<HotwordDetector> mActiveDetectors = new ArraySet<>();
213 Log.d(TAG, "onDetectorRemoteException for " + HotwordDetector.detectorTypeToString( in onDetectorRemoteException()
217 if (detectorType == HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_DSP in onDetectorRemoteException()
223 } else if (detectorType == HotwordDetector.DETECTOR_TYPE_TRUSTED_HOTWORD_SOFTWARE in onDetectorRemoteException()
723 for (HotwordDetector detector : mActiveDetectors) {
810 public final HotwordDetector createHotwordDetector( in createHotwordDetector()
813 @NonNull HotwordDetector.Callback callback) { in createHotwordDetector()
861 public final HotwordDetector createHotwordDetector( in createHotwordDetector()
865 @NonNull HotwordDetector.Callback callback) { in createHotwordDetector()
873 private HotwordDetector createHotwordDetectorInternal( in createHotwordDetectorInternal()
[all …]
DSoftwareHotwordDetector.java57 private final HotwordDetector.Callback mCallback;
66 HotwordDetector.Callback callback, in SoftwareHotwordDetector()
159 private final HotwordDetector.Callback mCallback;
162 BinderCallback(Executor executor, HotwordDetector.Callback callback) { in BinderCallback()
208 private final HotwordDetector.Callback mCallback;
211 InitializationStateListener(Executor executor, HotwordDetector.Callback callback) { in InitializationStateListener()
DAbstractDetector.java52 abstract class AbstractDetector implements HotwordDetector {
60 private final HotwordDetector.Callback mCallback;
78 HotwordDetector.Callback callback) { in AbstractDetector()
222 private final HotwordDetector.Callback mCallback;
225 BinderCallback(Executor executor, HotwordDetector.Callback callback) { in BinderCallback()
DHotwordDetector.java40 public interface HotwordDetector { interface
DVisualQueryDetector.java290 public HotwordDetector getInitializationDelegate() { in getInitializationDelegate()
DAlwaysOnHotwordDetector.java795 public abstract static class Callback implements HotwordDetector.Callback {
/frameworks/base/core/api/
Dsystem-current.txt13392 public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector {
13424 … class AlwaysOnHotwordDetector.Callback implements android.service.voice.HotwordDetector.Callback {
13576 public interface HotwordDetector {
13584 public static interface HotwordDetector.Callback {
13727HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os…
13728HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os…
Dtest-current.txt3190 public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector {