/cts/tests/tests/text/src/android/text/style/cts/ |
D | SuggestionSpanTest.java | 54 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/ |
D | TEST_MAPPING | 7 …"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/ |
D | EphemeralActivity.java | 41 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/ |
D | EphemeralActivity.java | 42 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/ |
D | NormalActivity.java | 44 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/ |
D | Content.java | 28 public Suggestions suggestions() { in suggestions() method in Content
|
D | Suggestions.kt | 83 TestApis.content().suggestions().clearTemporaryService(user) in <lambda>()
|
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/ |
D | mockspellchecker.proto | 24 // If the string matches 'match', SuggestionsInfo with attributes and suggestions are appended. 28 repeated string suggestions = 3; field
|
D | MockSpellChecker.kt | 115 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/ |
D | AutoCompleteTextViewTest.java | 443 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/ |
D | AppSearchSessionCtsTestBase.java | 7874 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/ |
D | SuggestionTest.java | 17 package android.service.settings.suggestions;
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | SpellCheckerTest.kt | 462 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/ |
D | DeviceStateTest.java | 1013 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/ |
D | DeviceState.java | 1854 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/ |
D | Rationale | 58 know some suggestions for improvement, I didn't want to change the
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 13149 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 …]
|
D | current.txt | 36504 field public static final String CONTENT_DIRECTORY = "suggestions";
|