Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionEvaluatorTest.java96 WifiNetworkSuggestion[] suggestions = buildNetworkSuggestions(suggestionSsids, securities, in testSelectNetworkSuggestionForNoMatch() local
99 linkScanDetailsWithNetworkSuggestions(scanDetails, suggestions); in testSelectNetworkSuggestionForNoMatch()
134 WifiNetworkSuggestion[] suggestions = buildNetworkSuggestions(suggestionSsids, securities, in testSelectNetworkSuggestionForOneMatch() local
137 linkScanDetailsWithNetworkSuggestions(scanDetails, suggestions); in testSelectNetworkSuggestionForOneMatch()
139 setupAddToWifiConfigManager(suggestions[0].wifiConfiguration); in testSelectNetworkSuggestionForOneMatch()
153 verifyAddToWifiConfigManager(suggestions[0].wifiConfiguration); in testSelectNetworkSuggestionForOneMatch()
179 WifiNetworkSuggestion[] suggestions = buildNetworkSuggestions(suggestionSsids, securities, in testSelectNetworkSuggestionForMultipleMatch() local
182 linkScanDetailsWithNetworkSuggestions(scanDetails, suggestions); in testSelectNetworkSuggestionForMultipleMatch()
184 setupAddToWifiConfigManager(suggestions[0].wifiConfiguration, in testSelectNetworkSuggestionForMultipleMatch()
185 suggestions[1].wifiConfiguration); in testSelectNetworkSuggestionForMultipleMatch()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DShadowSuggestionController.java17 package com.android.settingslib.suggestions;
19 import android.service.settings.suggestions.Suggestion;
52 public static void setSuggestion(List<Suggestion> suggestions) { in setSuggestion() argument
53 sSuggestions = suggestions; in setSuggestion()
DSuggestionControllerMixinTest.java17 package com.android.settingslib.suggestions;
DSuggestionControllerMixinCompatTest.java17 package com.android.settingslib.suggestions;
/frameworks/base/core/java/android/view/textservice/
DSuggestionsInfo.java59 public SuggestionsInfo(int suggestionsAttributes, String[] suggestions) { in SuggestionsInfo() argument
60 this(suggestionsAttributes, suggestions, 0, 0); in SuggestionsInfo()
71 int suggestionsAttributes, String[] suggestions, int cookie, int sequence) { in SuggestionsInfo() argument
72 if (suggestions == null) { in SuggestionsInfo()
76 mSuggestions = suggestions; in SuggestionsInfo()
/frameworks/base/core/java/android/text/style/
DSuggestionSpan.java144 public SuggestionSpan(Context context, String[] suggestions, int flags) { in SuggestionSpan() argument
145 this(context, null, suggestions, flags, null); in SuggestionSpan()
153 public SuggestionSpan(Locale locale, String[] suggestions, int flags) { in SuggestionSpan() argument
154 this(null, locale, suggestions, flags, null); in SuggestionSpan()
168 public SuggestionSpan(Context context, Locale locale, String[] suggestions, int flags, in SuggestionSpan() argument
170 final int N = Math.min(SUGGESTIONS_MAX_SIZE, suggestions.length); in SuggestionSpan()
171 mSuggestions = Arrays.copyOf(suggestions, N); in SuggestionSpan()
341 private static int hashCodeInternal(String[] suggestions, @NonNull String languageTag, in hashCodeInternal() argument
343 return Arrays.hashCode(new Object[] {Long.valueOf(SystemClock.uptimeMillis()), suggestions, in hashCodeInternal()
/frameworks/base/core/java/android/service/settings/suggestions/
DISuggestionService.aidl1 package android.service.settings.suggestions;
3 import android.service.settings.suggestions.Suggestion;
DSuggestion.aidl18 package android.service.settings.suggestions;
DSuggestionService.java17 package android.service.settings.suggestions;
DSuggestion.java17 package android.service.settings.suggestions;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java17 package com.android.settingslib.suggestions;
25 import android.service.settings.suggestions.ISuggestionService;
26 import android.service.settings.suggestions.Suggestion;
DSuggestionLoader.java17 package com.android.settingslib.suggestions;
20 import android.service.settings.suggestions.Suggestion;
DSuggestionLoaderCompat.java17 package com.android.settingslib.suggestions;
20 import android.service.settings.suggestions.Suggestion;
DSuggestionControllerMixinCompat.java17 package com.android.settingslib.suggestions;
23 import android.service.settings.suggestions.Suggestion;
DSuggestionControllerMixin.java17 package com.android.settingslib.suggestions;
24 import android.service.settings.suggestions.Suggestion;
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountSuggestionService.java111 @NonNull List<PhoneAccountSuggestion> suggestions) { in suggestPhoneAccounts() argument
118 callback.suggestPhoneAccounts(number, suggestions); in suggestPhoneAccounts()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIPhoneAccountSuggestionCallback.aidl25 void suggestPhoneAccounts(in String number, in List<PhoneAccountSuggestion> suggestions); in suggestPhoneAccounts() argument
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DMockSuggestionService.java17 package android.service.settings.suggestions;
DSuggestionServiceTest.java17 package android.service.settings.suggestions;
DSuggestionTest.java17 package android.service.settings.suggestions;
/frameworks/base/core/java/android/widget/
DSpellChecker.java475 String[] suggestions; in createMisspelledSuggestionSpan() local
477 suggestions = new String[suggestionsCount]; in createMisspelledSuggestionSpan()
479 suggestions[i] = suggestionsInfo.getSuggestionAt(i); in createMisspelledSuggestionSpan()
482 suggestions = ArrayUtils.emptyArray(String.class); in createMisspelledSuggestionSpan()
485 SuggestionSpan suggestionSpan = new SuggestionSpan(mTextView.getContext(), suggestions, in createMisspelledSuggestionSpan()
DEditor.java2916 String[] suggestions = targetSuggestionSpan.getSuggestions(); in replaceWithSuggestion() local
2917 suggestions[suggestionInfo.mSuggestionIndex] = originalText; in replaceWithSuggestion()
3505 final String[] suggestions = suggestionSpan.getSuggestions(); in getSuggestionInfo() local
3506 final int nbSuggestions = suggestions.length; in getSuggestionInfo()
3509 final String suggestion = suggestions[suggestionIndex]; in getSuggestionInfo()
/frameworks/base/proto/src/
Dwifi.proto2614 // Number of modifications to their suggestions by apps.
2617 // Number of successful network connection from app suggestions.
2620 // Number of network connection failures from app suggestions.
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2174 // ------- Begin N Settings suggestions -----
2175 // Since suggestions come from system apps, suggestions will
2177 // will be put in the package field. For suggestions in the Settings
6898 // The UI location of the notification containing the smart suggestions.
/frameworks/base/api/
Dsystem-current.txt7531 package android.service.settings.suggestions {
7542 …ic static final android.os.Parcelable.Creator<android.service.settings.suggestions.Suggestion> CRE…
7548 method public android.service.settings.suggestions.Suggestion build();
7549 method public android.service.settings.suggestions.Suggestion.Builder setFlags(int);
7550 …method public android.service.settings.suggestions.Suggestion.Builder setIcon(android.graphics.dra…
7551 …method public android.service.settings.suggestions.Suggestion.Builder setPendingIntent(android.app…
7552 method public android.service.settings.suggestions.Suggestion.Builder setSummary(CharSequence);
7553 method public android.service.settings.suggestions.Suggestion.Builder setTitle(CharSequence);
7559 …method public abstract java.util.List<android.service.settings.suggestions.Suggestion> onGetSugges…
7560 …method public abstract void onSuggestionDismissed(android.service.settings.suggestions.Suggestion);
[all …]

12