Searched refs:Suggestion (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/android/service/settings/suggestions/
H A DSuggestion.aidl20 parcelable Suggestion;
H A DSuggestionService.java29 * to provide a collection of {@link Suggestion}s for the current user when queried.
43 public List<Suggestion> getSuggestions() {
51 public void dismissSuggestion(Suggestion suggestion) {
59 public void launchSuggestion(Suggestion suggestion) {
71 public abstract List<Suggestion> onGetSuggestions();
77 public abstract void onSuggestionDismissed(Suggestion suggestion);
83 public abstract void onSuggestionLaunched(Suggestion suggestion);
H A DSuggestion.java36 public final class Suggestion implements Parcelable { class in inherits:Parcelable
110 private Suggestion(Builder builder) { method in class:Suggestion
119 private Suggestion(Parcel in) { method in class:Suggestion
128 public static final Creator<Suggestion> CREATOR = new Creator<Suggestion>() {
130 public Suggestion createFromParcel(Parcel in) {
131 return new Suggestion(in);
135 public Suggestion[] newArray(int size) {
136 return new Suggestion[size];
156 * Builder class for {@link Suggestion}
[all...]
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
H A DMockSuggestionService.java37 public List<Suggestion> onGetSuggestions() {
38 final List<Suggestion> data = new ArrayList<>();
40 data.add(new Suggestion.Builder("test")
48 public void onSuggestionDismissed(Suggestion suggestion) {
53 public void onSuggestionLaunched(Suggestion suggestion) {
H A DSuggestionTest.java56 final Suggestion suggestion = new Suggestion.Builder(TEST_ID)
73 new Suggestion.Builder(null)
84 final Suggestion oldSuggestion = new Suggestion.Builder(TEST_ID)
88 .setFlags(Suggestion.FLAG_HAS_BUTTON)
94 final Suggestion newSuggestion = Suggestion.CREATOR.createFromParcel(parcel);
101 .isEqualTo(Suggestion.FLAG_HAS_BUTTON);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
H A DShadowSuggestionController.java19 import android.service.settings.suggestions.Suggestion;
33 public static List<Suggestion> sSuggestions;
52 public static void setSuggestion(List<Suggestion> suggestions) {
57 public List<Suggestion> getSuggestions() {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
H A DSuggestionLoader.java20 import android.service.settings.suggestions.Suggestion;
27 public class SuggestionLoader extends AsyncLoader<List<Suggestion>> {
40 protected void onDiscardResult(List<Suggestion> result) {
45 public List<Suggestion> loadInBackground() {
46 final List<Suggestion> data = mSuggestionController.getSuggestions();
H A DSuggestionControllerMixin.java25 import android.service.settings.suggestions.Suggestion;
37 android.arch.lifecycle.LifecycleObserver, LoaderManager.LoaderCallbacks<List<Suggestion>> {
43 void onSuggestionReady(List<Suggestion> data);
110 public Loader<List<Suggestion>> onCreateLoader(int id, Bundle args) {
119 public void onLoadFinished(Loader<List<Suggestion>> loader, List<Suggestion> data) {
125 public void onLoaderReset(Loader<List<Suggestion>> loader) {
133 public void dismissSuggestion(Suggestion suggestion) {
137 public void launchSuggestion(Suggestion suggestion) {
H A DSuggestionController.java26 import android.service.settings.suggestions.Suggestion;
101 public List<Suggestion> getSuggestions() {
116 public void dismissSuggestions(Suggestion suggestion) {
128 public void launchSuggestion(Suggestion suggestion) {
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 66 milliseconds