Home
last modified time | relevance | path

Searched refs:getSettingsLifecycle (Results 1 – 25 of 175) sorted by relevance

1234567

/packages/apps/Settings/src/com/android/settings/notification/
DZenCustomRuleBlockedEffectsSettings.java47 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
50 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
53 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
56 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
60 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
63 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
66 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
DZenCustomRuleConfigSettings.java133 getSettingsLifecycle(), ALARMS_KEY, ZenPolicy.PRIORITY_CATEGORY_ALARMS, in createPreferenceControllers()
136 getSettingsLifecycle(), MEDIA_KEY, ZenPolicy.PRIORITY_CATEGORY_MEDIA, in createPreferenceControllers()
139 getSettingsLifecycle(), SYSTEM_KEY, ZenPolicy.PRIORITY_CATEGORY_SYSTEM, in createPreferenceControllers()
142 getSettingsLifecycle(), REMINDERS_KEY, ZenPolicy.PRIORITY_CATEGORY_REMINDERS, in createPreferenceControllers()
145 getSettingsLifecycle(), EVENTS_KEY, ZenPolicy.PRIORITY_CATEGORY_EVENTS, in createPreferenceControllers()
DZenCustomRuleNotificationsSettings.java44 context, getSettingsLifecycle(), VIS_EFFECTS_ALL_KEY)); in createPreferenceControllers()
46 context, getSettingsLifecycle(), VIS_EFFECTS_NONE_KEY)); in createPreferenceControllers()
48 context, getSettingsLifecycle(), VIS_EFFECTS_CUSTOM_KEY)); in createPreferenceControllers()
49 mControllers.add(new ZenRuleNotifFooterPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
DZenCustomRuleCallsSettings.java59 getSettingsLifecycle())); in createPreferenceControllers()
61 REPEAT_CALLERS_KEY, getSettingsLifecycle(), context.getResources() in createPreferenceControllers()
64 getSettingsLifecycle(), ZenPolicy.PRIORITY_CATEGORY_CALLS, STARRED_CONTACTS_KEY)); in createPreferenceControllers()
DZenCustomRuleSettings.java47 context, getSettingsLifecycle(), RULE_DEFAULT_POLICY_KEY)); in createPreferenceControllers()
49 context, getSettingsLifecycle(), CUSTOM_RULE_POLICY_KEY)); in createPreferenceControllers()
DZenCustomRuleMessagesSettings.java52 getSettingsLifecycle())); in createPreferenceControllers()
54 getSettingsLifecycle(), ZenPolicy.PRIORITY_CATEGORY_MESSAGES, in createPreferenceControllers()
DZenModeEventRuleSettings.java87 getSettingsLifecycle()); in createPreferenceControllers()
89 getSettingsLifecycle()); in createPreferenceControllers()
91 getSettingsLifecycle()); in createPreferenceControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenCustomRuleBlockedEffectsSettings.java47 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
50 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
53 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
56 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
60 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
63 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
66 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
DZenCustomRuleConfigSettings.java133 getSettingsLifecycle(), ALARMS_KEY, ZenPolicy.PRIORITY_CATEGORY_ALARMS, in createPreferenceControllers()
136 getSettingsLifecycle(), MEDIA_KEY, ZenPolicy.PRIORITY_CATEGORY_MEDIA, in createPreferenceControllers()
139 getSettingsLifecycle(), SYSTEM_KEY, ZenPolicy.PRIORITY_CATEGORY_SYSTEM, in createPreferenceControllers()
142 getSettingsLifecycle(), REMINDERS_KEY, ZenPolicy.PRIORITY_CATEGORY_REMINDERS, in createPreferenceControllers()
145 getSettingsLifecycle(), EVENTS_KEY, ZenPolicy.PRIORITY_CATEGORY_EVENTS, in createPreferenceControllers()
DZenCustomRuleNotificationsSettings.java44 context, getSettingsLifecycle(), VIS_EFFECTS_ALL_KEY)); in createPreferenceControllers()
46 context, getSettingsLifecycle(), VIS_EFFECTS_NONE_KEY)); in createPreferenceControllers()
48 context, getSettingsLifecycle(), VIS_EFFECTS_CUSTOM_KEY)); in createPreferenceControllers()
49 mControllers.add(new ZenRuleNotifFooterPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
DZenCustomRuleCallsSettings.java59 getSettingsLifecycle())); in createPreferenceControllers()
61 REPEAT_CALLERS_KEY, getSettingsLifecycle(), context.getResources() in createPreferenceControllers()
64 getSettingsLifecycle(), ZenPolicy.PRIORITY_CATEGORY_CALLS, STARRED_CONTACTS_KEY)); in createPreferenceControllers()
DZenCustomRuleSettings.java47 context, getSettingsLifecycle(), RULE_DEFAULT_POLICY_KEY)); in createPreferenceControllers()
49 context, getSettingsLifecycle(), CUSTOM_RULE_POLICY_KEY)); in createPreferenceControllers()
DZenCustomRuleMessagesSettings.java52 getSettingsLifecycle())); in createPreferenceControllers()
54 getSettingsLifecycle(), ZenPolicy.PRIORITY_CATEGORY_MESSAGES, in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/wifi/
DConfigureWifiSettings.java78 getSettingsLifecycle()); in createPreferenceControllers()
80 getSettingsLifecycle()); in createPreferenceControllers()
85 getSettingsLifecycle())); in createPreferenceControllers()
87 controllers.add(new WifiInfoPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
89 controllers.add(new WifiP2pPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DConfigureWifiSettings.java78 getSettingsLifecycle()); in createPreferenceControllers()
80 getSettingsLifecycle()); in createPreferenceControllers()
85 getSettingsLifecycle())); in createPreferenceControllers()
87 controllers.add(new WifiInfoPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
89 controllers.add(new WifiP2pPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/actionbar/
DSearchMenuControllerTest.java80 mPreferenceHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_prefFragment_shouldAddMenu()
88 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_observableFragment_shouldAddMenu()
100 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_doNotNeedSearchIcon_shouldNotAddMenu()
108 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_deviceNotProvisioned_shouldNotAddMenu()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilityContentTimeoutPreferenceFragment.java56 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onResume()
66 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onPause()
88 return buildPreferenceControllers(context, getSettingsLifecycle()); in createPreferenceControllers()
DAccessibilityControlTimeoutPreferenceFragment.java56 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onResume()
66 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onPause()
88 return buildPreferenceControllers(context, getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityControlTimeoutPreferenceFragment.java56 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onResume()
66 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onPause()
88 return buildPreferenceControllers(context, getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/applications/
DAppAndNotificationDashboardFragment.java77 use(SpecialAppAccessPreferenceController.class).setSession(getSettingsLifecycle()); in onAttach()
81 getSettingsLifecycle().addObserver(mRecentAppStatsMixin); in onAttach()
110 Utils.setActionBarShadowAnimation(getActivity(), getSettingsLifecycle(), in onReloadDataCompleted()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppAndNotificationDashboardFragment.java77 use(SpecialAppAccessPreferenceController.class).setSession(getSettingsLifecycle()); in onAttach()
81 getSettingsLifecycle().addObserver(mRecentAppStatsMixin); in onAttach()
110 Utils.setActionBarShadowAnimation(getActivity(), getSettingsLifecycle(), in onReloadDataCompleted()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DInstrumentedFragment.java40 getSettingsLifecycle().addObserver(mVisibilityLoggerMixin); in onAttach()
41 getSettingsLifecycle().addObserver(new SurveyMixin(this, getClass().getSimpleName())); in onAttach()
/packages/apps/Settings/src/com/android/settings/core/
DInstrumentedFragment.java40 getSettingsLifecycle().addObserver(mVisibilityLoggerMixin); in onAttach()
41 getSettingsLifecycle().addObserver(new SurveyMixin(this, getClass().getSimpleName())); in onAttach()
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/actionbar/
DHelpMenuControllerTest.java57 mHost.getSettingsLifecycle().onCreateOptionsMenu(null /* menu */, null /* inflater */); in onCreateOptionsMenu_withArgumentOverride_shouldPrepareHelpUsingOverride()
66 mHost.getSettingsLifecycle().onCreateOptionsMenu(null /* menu */, null /* inflater */); in onCreateOptionsMenu_noArgumentOverride_shouldPrepareHelpUsingProvider()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java114 verify(mFragment.getSettingsLifecycle(), times(lifecycleObserverCount)) in testGetPreferenceControllers_shouldRegisterLifecycleObservers()
211 public Lifecycle getSettingsLifecycle() { in getSettingsLifecycle() method in LanguageAndInputSettingsTest.TestFragment
213 return super.getSettingsLifecycle(); in getSettingsLifecycle()

1234567