Home
last modified time | relevance | path

Searched refs:addObserver (Results 1 – 25 of 178) sorted by relevance

12345678

/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java78 getSettingsLifecycle().addObserver(use(AllInOneTetherPreferenceController.class)); in onAttach()
120 lifecycle.addObserver(mobilePlanPreferenceController); in buildPreferenceControllers()
122 lifecycle.addObserver(wifiPreferenceController); in buildPreferenceControllers()
124 lifecycle.addObserver(vpnPreferenceController); in buildPreferenceControllers()
125 lifecycle.addObserver(privateDnsPreferenceController); in buildPreferenceControllers()
/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/src/com/android/settings/homepage/
DSettingsHomepageActivity.java87 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
89 getLifecycle().addObserver(mCategoryMixin); in onCreate()
96 getLifecycle().addObserver(new AvatarViewMixin(this, avatarView)); in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DCheckLifecycleRegistry.kt28 override fun addObserver(observer: LifecycleObserver) { in addObserver() method
33 super.addObserver(observer) in addObserver()
/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()
DSettingsBaseActivity.java81 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
85 getLifecycle().addObserver(mCategoryMixin); in onCreate()
DInstrumentedActivity.java35 getSettingsLifecycle().addObserver(new VisibilityLoggerMixin(getMetricsCategory(), in onCreate()
/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.java72 getSettingsLifecycle().addObserver(mAppsPreferenceController); in onAttach()
76 getSettingsLifecycle().addObserver(hibernatedAppsPreferenceController); in onAttach()
/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()
DAccountDashboardFragment.java75 getSettingsLifecycle().addObserver(use(PasswordsPreferenceController.class)); in onAttach()
100 parent.getSettingsLifecycle().addObserver(accountPrefController); in buildAccountPreferenceControllers()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocsSelectionHelper.java58 public void addObserver(SelectionObserver listener) { in addObserver() method in DocsSelectionHelper
59 mDelegate.addObserver(listener); in addObserver()
/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/tests/robotests/src/com/android/settings/panel/
DSettingsPanelActivityTest.java90 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStart_isNotDebuggable_shouldHideSystemOverlay()
106 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DMobileNetworkPreferenceControllerTest.java116 mLifecycleRegistry.addObserver(mController); in goThroughLifecycle_isAvailable_shouldListenToServiceChange()
135 mLifecycleRegistry.addObserver(mController); in serviceStateChange_shouldUpdatePrefSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
DSettingsHomepageActivityTest.java161 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStart_isNotDebuggable_shouldHideSystemOverlay()
180 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/
DNetworkRequestDialogActivity.java36 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DActionDisabledByAdminActivity.java41 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DInstrumentedDialogFragment.java51 mLifecycle.addObserver(new VisibilityLoggerMixin(getMetricsCategory(), in onAttach()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSwitchBarController.java42 lifecycle.addObserver(this); in DevelopmentSwitchBarController()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DAbstractBluetoothPreferenceController.java43 lifecycle.addObserver(this); in AbstractBluetoothPreferenceController()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkPreferenceCategoryController.java75 lifecycle.addObserver(this); in init()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DResetAppPrefPreferenceController.java41 lifecycle.addObserver(this); in ResetAppPrefPreferenceController()

12345678