Home
last modified time | relevance | path

Searched refs:getSettingsLifecycle (Results 1 – 25 of 142) 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()
DZenModeEventRuleSettings.java88 getSettingsLifecycle()); in createPreferenceControllers()
90 getSettingsLifecycle()); in createPreferenceControllers()
92 getSettingsLifecycle()); in createPreferenceControllers()
DZenModeScheduleRuleSettings.java182 getSettingsLifecycle()); in createPreferenceControllers()
184 getSettingsLifecycle()); in createPreferenceControllers()
186 getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DSecuritySettingsTest.java219 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in preferenceLifecycle_faceShowsThenCombined()
225 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_PAUSE); in preferenceLifecycle_faceShowsThenCombined()
227 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in preferenceLifecycle_faceShowsThenCombined()
255 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in preferenceLifecycle_fingerprintShowsThenCombined()
261 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_PAUSE); in preferenceLifecycle_fingerprintShowsThenCombined()
263 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in preferenceLifecycle_fingerprintShowsThenCombined()
291 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in preferenceLifecycle_combinedShowsThenFace()
297 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_PAUSE); in preferenceLifecycle_combinedShowsThenFace()
299 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in preferenceLifecycle_combinedShowsThenFace()
327 mSecuritySettings.getSettingsLifecycle().handleLifecycleEvent(Lifecycle.Event.ON_RESUME); in preferenceLifecycle_combinedShowsThenFingerprint()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/actionbar/
DSearchMenuControllerTest.java84 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_observableFragment_shouldAddMenu()
97 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_doNotNeedSearchIcon_shouldNotAddMenu()
105 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_deviceNotProvisioned_shouldNotAddMenu()
117 mHost.getSettingsLifecycle().onCreateOptionsMenu(mMenu, null /* inflater */); in init_startFromSetupWizard_shouldNotAddMenu()
/packages/apps/Settings/src/com/android/settings/privatespace/onelock/
DUseOneLockSettingsFragment.java78 controllers.add(new FaceFingerprintUnlockController(context, getSettingsLifecycle())); in createPreferenceControllers()
82 context, "private_space_biometrics", getSettingsLifecycle())); in createPreferenceControllers()
86 context, "private_space_biometrics", getSettingsLifecycle())); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderCallsSmsFragment.java57 getSettingsLifecycle(), this)); in createPreferenceControllers()
59 getSettingsLifecycle(), this)); in createPreferenceControllers()
63 mNetworkProviderWifiCallingPreferenceController.init(getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DAdvancedConnectedDeviceDashboardFragment.java73 if (getSettingsLifecycle() != null) { in onAttach()
74 getSettingsLifecycle().addObserver(uwbPreferenceController); in onAttach()
81 return buildControllers(context, getSettingsLifecycle()); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/security/
DSecuritySettings.java71 return buildPreferenceControllers(context, getSettingsLifecycle(), this /* host*/); in createPreferenceControllers()
137 public Lifecycle getSettingsLifecycle() { in getSettingsLifecycle() method in SecuritySettings
138 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.java64 getSettingsLifecycle().addObserver(mVisibilityLoggerMixin); in onAttach()
65 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/network/telephony/
DMobileNetworkSettings.java181 new RoamingPreferenceController(context, KEY_ROAMING_PREF, getSettingsLifecycle(), in createPreferenceControllers()
184 getSettingsLifecycle(), this), in createPreferenceControllers()
185 new SmsDefaultSubscriptionController(context, KEY_SMS_PREF, getSettingsLifecycle(), in createPreferenceControllers()
188 getSettingsLifecycle(), this, mSubId), in createPreferenceControllers()
190 getSettingsLifecycle(), this, mSubId), eid); in createPreferenceControllers()
259 new WifiPickerTrackerHelper(getSettingsLifecycle(), context, in onAttach()
/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/applications/
DAppDashboardFragment.java84 getSettingsLifecycle().addObserver(mAppsPreferenceController); in onAttach()
88 getSettingsLifecycle().addObserver(hibernatedAppsPreferenceController); in onAttach()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountWorkProfileDashboardFragment.java83 getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class)); in onAttach()
105 parent.getSettingsLifecycle().addObserver(accountPrefController); in buildAccountPreferenceControllers()
DAccountPersonalDashboardFragment.java83 getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class)); in onAttach()
105 parent.getSettingsLifecycle().addObserver(accountPrefController); in buildAccountPreferenceControllers()
DAccountDashboardFragment.java94 getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class)); in onAttach()
134 parent.getSettingsLifecycle().addObserver(accountPrefController); in buildAccountPreferenceControllers()
/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.java77 Utils.setActionBarShadowAnimation(getActivity(), getSettingsLifecycle(), getListView()); in onViewCreated()
101 this.getSettingsLifecycle().addObserver(mUsbReceiver); in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java98 getSettingsLifecycle()); in onActivityCreated()
99 mLocationEnabler = new LocationEnabler(getContext(), this, getSettingsLifecycle()); in onActivityCreated()

123456