Home
last modified time | relevance | path

Searched refs:voiceIntent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DSearchView.java1675 Intent voiceIntent = new Intent(baseIntent); in createVoiceWebSearchIntent() local
1677 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceWebSearchIntent()
1679 return voiceIntent; in createVoiceWebSearchIntent()
1712 Intent voiceIntent = new Intent(baseIntent); in createVoiceAppSearchIntent() local
1733 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, languageModel); in createVoiceAppSearchIntent()
1734 voiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt); in createVoiceAppSearchIntent()
1735 voiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language); in createVoiceAppSearchIntent()
1736 voiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults); in createVoiceAppSearchIntent()
1737 voiceIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, searchActivity == null ? null in createVoiceAppSearchIntent()
1741 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending); in createVoiceAppSearchIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java2295 Intent voiceIntent = null; in startVoiceInput() local
2304 voiceIntent = new Intent(android.speech.RecognizerIntent.ACTION_WEB_SEARCH); in startVoiceInput()
2307 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in startVoiceInput()
2308 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, in startVoiceInput()
2317 if (voiceIntent != null) { in startVoiceInput()
2318 voiceIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startVoiceInput()
2320 if (DEBUG) Log.d(TAG, "voiceIntent: " + voiceIntent); in startVoiceInput()
2321 mContext.startActivityAsUser(voiceIntent, UserHandle.CURRENT); in startVoiceInput()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4125 final Intent voiceIntent; in launchVoiceAssistWithWakeLock() local
4127 voiceIntent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); in launchVoiceAssistWithWakeLock()
4133 voiceIntent = new Intent(RecognizerIntent.ACTION_VOICE_SEARCH_HANDS_FREE); in launchVoiceAssistWithWakeLock()
4134 voiceIntent.putExtra(RecognizerIntent.EXTRA_SECURE, true); in launchVoiceAssistWithWakeLock()
4136 startActivityAsUser(voiceIntent, UserHandle.CURRENT_OR_SELF); in launchVoiceAssistWithWakeLock()