Home
last modified time | relevance | path

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

123456

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenCustomRuleBlockedEffectsSettings.java45 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
48 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
51 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
54 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
58 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
61 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), in createPreferenceControllers()
64 mControllers.add(new ZenRuleVisEffectPreferenceController(context, getSettingsLifecycle(), 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()
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()
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()
DZenModeScheduleRuleSettings.java201 getSettingsLifecycle()); in createPreferenceControllers()
203 getSettingsLifecycle()); in createPreferenceControllers()
205 getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/actionbar/
DSearchMenuControllerTest.java81 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_observableFragment_shouldAddMenu()
93 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_doNotNeedSearchIcon_shouldNotAddMenu()
101 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_deviceNotProvisioned_shouldNotAddMenu()
113 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_startFromSetupWizard_shouldNotAddMenu()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java75 use(MultiNetworkHeaderController.class).init(getSettingsLifecycle()); in onAttach()
78 getSettingsLifecycle().addObserver(use(AllInOneTetherPreferenceController.class)); in onAttach()
84 use(AllInOneTetherPreferenceController.class).initEnabler(getSettingsLifecycle()); in onCreatePreferences()
94 return buildPreferenceControllers(context, getSettingsLifecycle(), mMetricsFeatureProvider, in createPreferenceControllers()
DNetworkProviderCallsSmsFragment.java65 mNetworkProviderWifiCallingPreferenceController.init(getSettingsLifecycle()); in createPreferenceControllers()
71 backupCallingPrefCtrl.init(getSettingsLifecycle()); in createPreferenceControllers()
DMobileNetworkListFragment.java69 simCategoryPrefCtrl.init(getSettingsLifecycle()); in createPreferenceControllers()
75 downloadedSimsCategoryCtrl.init(getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/applications/
DAppDashboardFragment.java69 use(SpecialAppAccessPreferenceController.class).setSession(getSettingsLifecycle()); in onAttach()
72 getSettingsLifecycle().addObserver(mAppsPreferenceController); in onAttach()
76 getSettingsLifecycle().addObserver(hibernatedAppsPreferenceController); in onAttach()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityControlTimeoutPreferenceFragment.java55 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onResume()
65 buildPreferenceControllers(getPrefContext(), getSettingsLifecycle())) { in onPause()
87 return buildPreferenceControllers(context, getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/
DAllInOneTetherSettings.java190 getSettingsLifecycle().addObserver(use(UsbTetherPreferenceController.class)); in onAttach()
191 getSettingsLifecycle().addObserver(use(BluetoothTetherPreferenceController.class)); in onAttach()
192 getSettingsLifecycle().addObserver(use(EthernetTetherPreferenceController.class)); in onAttach()
193 getSettingsLifecycle().addObserver(use(WifiTetherDisablePreferenceController.class)); in onAttach()
233 getSettingsLifecycle().addObserver(mTetherEnabler); in onActivityCreated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputSettingsTest.java104 verify(mFragment.getSettingsLifecycle(), times(lifecycleObserverCount)) in testGetPreferenceControllers_shouldRegisterLifecycleObservers()
176 public Lifecycle getSettingsLifecycle() { in getSettingsLifecycle() method in LanguageAndInputSettingsTest.TestFragment
178 return super.getSettingsLifecycle(); in getSettingsLifecycle()
/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()
DInstrumentedPreferenceFragment.java63 getSettingsLifecycle().addObserver(mVisibilityLoggerMixin); in onAttach()
64 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/src/com/android/settings/support/actionbar/
DHelpMenuController.java43 host.getSettingsLifecycle().addObserver(new HelpMenuController(host)); in init()
47 host.getSettingsLifecycle().addObserver(new HelpMenuController(host)); in init()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPersonalDashboardFragment.java68 getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class)); in onAttach()
87 parent.getSettingsLifecycle().addObserver(accountPrefController); in buildAccountPreferenceControllers()
DAccountWorkProfileDashboardFragment.java68 getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class)); in onAttach()
87 parent.getSettingsLifecycle().addObserver(accountPrefController); in buildAccountPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java80 getSettingsLifecycle()); in onActivityCreated()
81 mLocationEnabler = new LocationEnabler(getContext(), this, getSettingsLifecycle()); in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/search/actionbar/
DSearchMenuController.java51 host.getSettingsLifecycle().addObserver( in init()
56 host.getSettingsLifecycle().addObserver( in init()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFragment.java62 Utils.setActionBarShadowAnimation(getActivity(), getSettingsLifecycle(), getListView()); in onViewCreated()
86 this.getSettingsLifecycle().addObserver(mUsbReceiver); in createPreferenceControllers()

123456