Searched refs:mHotwordDetector (Results 1 – 2 of 2) sorted by relevance
96 private AlwaysOnHotwordDetector mHotwordDetector; field in VoiceInteractionService249 if (mHotwordDetector != null) { in onSoundModelsChangedInternal()251 mHotwordDetector.onSoundModelsChanged(); in onSoundModelsChangedInternal()275 mHotwordDetector = new AlwaysOnHotwordDetector(keyphrase, locale, callback, in createAlwaysOnHotwordDetector()278 return mHotwordDetector; in createAlwaysOnHotwordDetector()293 if (mHotwordDetector != null) { in safelyShutdownHotwordDetector()294 mHotwordDetector.stopRecognition(); in safelyShutdownHotwordDetector()295 mHotwordDetector.invalidate(); in safelyShutdownHotwordDetector()296 mHotwordDetector = null; in safelyShutdownHotwordDetector()309 if (mHotwordDetector == null) { in dump()[all …]
63 private AlwaysOnHotwordDetector mHotwordDetector; field in MainInteractionService73 mHotwordDetector = createAlwaysOnHotwordDetector( in onReady()88 Intent enroll = mHotwordDetector.createEnrollIntent(); in hotwordAvailabilityChangeHelper()93 if (mHotwordDetector.startRecognition( in hotwordAvailabilityChangeHelper()