Searched refs:HotwordDetector (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | HotwordMetricsLogger.java | 43 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 …]
|
D | DspTrustedHotwordDetectorSession.java | 43 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 …]
|
D | SoftwareTrustedHotwordDetectorSession.java | 41 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()
|
D | DetectorSession.java | 81 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 …]
|
D | HotwordDetectionConnection.java | 57 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()
|
D | VoiceInteractionManagerServiceImpl.java | 67 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/ |
D | VoiceInteractionService.java | 206 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 …]
|
D | SoftwareHotwordDetector.java | 57 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()
|
D | AbstractDetector.java | 52 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()
|
D | HotwordDetector.java | 40 public interface HotwordDetector { interface
|
D | VisualQueryDetector.java | 290 public HotwordDetector getInitializationDelegate() { in getInitializationDelegate()
|
D | AlwaysOnHotwordDetector.java | 795 public abstract static class Callback implements HotwordDetector.Callback {
|
/frameworks/base/core/api/ |
D | system-current.txt | 13392 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 { 13727 …HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os… 13728 …HotwordDetector createHotwordDetector(@Nullable android.os.PersistableBundle, @Nullable android.os…
|
D | test-current.txt | 3190 public class AlwaysOnHotwordDetector implements android.service.voice.HotwordDetector {
|