Home
last modified time | relevance | path

Searched refs:suggestions (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DSuggestionSpanTest.java54 final String[] suggestions = new String[] {"suggestion1", "suggestion2"}; in testConstructorWithContext() local
61 final SuggestionSpan span = new SuggestionSpan(context, suggestions, in testConstructorWithContext()
65 assertArrayEquals(suggestions, span.getSuggestions()); in testConstructorWithContext()
71 final String[] suggestions = new String[]{"suggestion1", "suggestion2"}; in testGetSuggestionSpans() local
72 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans()
75 suggestions, span.getSuggestions()); in testGetSuggestionSpans()
79 suggestions, clonedSpan.getSuggestions()); in testGetSuggestionSpans()
84 final String[] suggestions = new String[0]; in testGetSuggestionSpans_emptySuggestions() local
85 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans_emptySuggestions()
88 suggestions, span.getSuggestions()); in testGetSuggestionSpans_emptySuggestions()
[all …]
/cts/tests/framework/base/suggestions/
DTEST_MAPPING7 …"include-filter": "android.service.settings.suggestions.SuggestionTest#buildSuggestion_allFieldsSh…
10 …"include-filter": "android.service.settings.suggestions.SuggestionTest#buildSuggestion_emptyKey_sh…
13 …"include-filter": "android.service.settings.suggestions.SuggestionTest#buildSuggestion_fromParcela…
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/
DEphemeralActivity.java41 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, in onCreate() local
43 suggestions.saveRecentQuery(query, null); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DEphemeralActivity.java42 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, in onCreate() local
44 suggestions.saveRecentQuery(query, null); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DNormalActivity.java44 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, in onCreate() local
46 suggestions.saveRecentQuery(query, null); in onCreate()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/content/
DContent.java28 public Suggestions suggestions() { in suggestions() method in Content
DSuggestions.kt83 TestApis.content().suggestions().clearTemporaryService(user) in <lambda>()
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
Dmockspellchecker.proto24 // If the string matches 'match', SuggestionsInfo with attributes and suggestions are appended.
28 repeated string suggestions = 3; field
DMockSpellChecker.kt115 val suggestions = if (prefix != null) { in suggestionsInfo() constant
120 return SuggestionsInfo(attrs, suggestions, cookie, sequence) in suggestionsInfo()
/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewTest.java443 List<String> suggestions = new ArrayList<>(ImmutableList.of("testOne", "testTwo")); in refreshAutoCompleteResults_addItem() local
445 mActivity, android.R.layout.simple_dropdown_item_1line, suggestions); in refreshAutoCompleteResults_addItem()
474 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_removeItem() local
477 mActivity, android.R.layout.simple_dropdown_item_1line, suggestions); in refreshAutoCompleteResults_removeItem()
504 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_threshold_changeText() local
507 mActivity, android.R.layout.simple_dropdown_item_1line, suggestions); in refreshAutoCompleteResults_threshold_changeText()
541 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_changeThreshold() local
544 suggestions); in refreshAutoCompleteResults_changeThreshold()
577 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_dropDownAlwaysVisible() local
580 suggestions); in refreshAutoCompleteResults_dropDownAlwaysVisible()
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSessionCtsTestBase.java7874 List<SearchSuggestionResult> suggestions = in testSearchSuggestion() local
7880 assertThat(suggestions) in testSearchSuggestion()
7885 suggestions = in testSearchSuggestion()
7891 assertThat(suggestions).containsExactly(resultOne, resultTwo).inOrder(); in testSearchSuggestion()
7938 List<SearchSuggestionResult> suggestions = in testSearchSuggestion_namespaceFilter() local
7945 assertThat(suggestions).containsExactly(resultFoo, resultFo).inOrder(); in testSearchSuggestion_namespaceFilter()
7948 suggestions = in testSearchSuggestion_namespaceFilter()
7955 assertThat(suggestions).containsExactly(resultFoo).inOrder(); in testSearchSuggestion_namespaceFilter()
7958 suggestions = in testSearchSuggestion_namespaceFilter()
7965 assertThat(suggestions).containsExactly(resultFoo, resultFool); in testSearchSuggestion_namespaceFilter()
[all …]
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/
DSuggestionTest.java17 package android.service.settings.suggestions;
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DSpellCheckerTest.kt462 val suggestions: Array<SentenceSuggestionsInfo>? = in <lambda>() constant
464 assertThat(suggestions).isNotNull() in <lambda>()
465 assertThat(suggestions!!.size).isEqualTo(0) in <lambda>()
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DDeviceStateTest.java1013 assertThat(TestApis.content().suggestions().defaultServiceEnabled()).isFalse(); in ensureDefaultContentSuggestionsServiceDisabledAnnotation_defaultContentSuggestionsServiceIsDisabled()
1020 assertThat(TestApis.content().suggestions().defaultServiceEnabled()).isTrue(); in ensureDefaultContentSuggestionsServiceEnabledAnnotation_defaultContentSuggestionsServiceIsEnabled()
1027 assertThat(TestApis.content().suggestions().defaultServiceEnabled( in ensureDefaultContentSuggestionsServiceDisabledAnnotation_onDifferentUser_defaultContentSuggestionsServiceIsDisabled()
1036 assertThat(TestApis.content().suggestions().defaultServiceEnabled( in ensureDefaultContentSuggestionsServiceEnabledAnnotation_onDifferentUser_defaultContentSuggestionsServiceIsEnabled()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java1854 TestApis.content().suggestions().setDefaultServiceEnabled(s.getKey(), s.getValue());
1859 TestApis.content().suggestions().clearTemporaryService(u);
2143 boolean currentValue = TestApis.content().suggestions().defaultServiceEnabled(user);
2153 TestApis.content().suggestions().setDefaultServiceEnabled(enabled);
2171 TestApis.content().suggestions().setTemporaryService(user, mContentSuggestionsService);
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale58 know some suggestions for improvement, I didn't want to change the
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt13149 package android.service.settings.suggestions {
13160 …ic static final android.os.Parcelable.Creator<android.service.settings.suggestions.Suggestion> CRE…
13166 method public android.service.settings.suggestions.Suggestion build();
13167 method public android.service.settings.suggestions.Suggestion.Builder setFlags(int);
13168 …method public android.service.settings.suggestions.Suggestion.Builder setIcon(android.graphics.dra…
13169 …method public android.service.settings.suggestions.Suggestion.Builder setPendingIntent(android.app…
13170 method public android.service.settings.suggestions.Suggestion.Builder setSummary(CharSequence);
13171 method public android.service.settings.suggestions.Suggestion.Builder setTitle(CharSequence);
13177 …method public abstract java.util.List<android.service.settings.suggestions.Suggestion> onGetSugges…
13178 …method public abstract void onSuggestionDismissed(android.service.settings.suggestions.Suggestion);
[all …]
Dcurrent.txt36504 field public static final String CONTENT_DIRECTORY = "suggestions";