Home
last modified time | relevance | path

Searched refs:AssistantSettings (Results 1 – 6 of 6) sorted by relevance

/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistantSettings.java33 final class AssistantSettings extends ContentObserver { class
35 public static Factory FACTORY = AssistantSettings::createAndRegister;
68 private AssistantSettings(Handler handler, ContentResolver resolver, int userId, in AssistantSettings() method in AssistantSettings
77 private static AssistantSettings createAndRegister( in createAndRegister()
79 AssistantSettings assistantSettings = in createAndRegister()
80 new AssistantSettings(handler, resolver, userId, onUpdateRunnable); in createAndRegister()
90 protected static AssistantSettings createForTesting( in createForTesting()
92 return new AssistantSettings(handler, resolver, userId, onUpdateRunnable); in createForTesting()
173 AssistantSettings createAndRegister(Handler handler, ContentResolver resolver, int userId, in createAndRegister()
DAssistant.java105 protected AssistantSettings.Factory mSettingsFactory = AssistantSettings.FACTORY;
107 protected AssistantSettings mSettings;
DSmartActionsHelper.java81 private AssistantSettings mSettings;
84 SmartActionsHelper(Context context, AssistantSettings settings) { in SmartActionsHelper()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantSettingsTest.java19 import static android.ext.services.notification.AssistantSettings.DEFAULT_MAX_SUGGESTIONS;
68 private AssistantSettings mAssistantSettings;
83 mAssistantSettings = AssistantSettings.createForTesting( in setUp()
DSmartActionsHelperTest.java97 private AssistantSettings mSettings;
110 mSettings = AssistantSettings.createForTesting( in setup()
DAssistantTest.java119 mAssistant.mSettingsFactory = AssistantSettings::createForTesting; in setUp()