Home
last modified time | relevance | path

Searched refs:LifecycleObserver (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DLifecycle.java58 private final List<LifecycleObserver> mObservers = new ArrayList<>();
79 public void addObserver(androidx.lifecycle.LifecycleObserver observer) { in addObserver()
82 if (observer instanceof LifecycleObserver) { in addObserver()
83 mObservers.add((LifecycleObserver) observer); in addObserver()
89 public void removeObserver(androidx.lifecycle.LifecycleObserver observer) { in removeObserver()
92 if (observer instanceof LifecycleObserver) { in removeObserver()
99 final LifecycleObserver observer = mObservers.get(i); in onAttach()
110 final LifecycleObserver observer = mObservers.get(i); in onCreate()
119 final LifecycleObserver observer = mObservers.get(i); in onStart()
128 final LifecycleObserver observer = mObservers.get(i); in setPreferenceScreen()
[all …]
DLifecycleObserver.java23 public interface LifecycleObserver extends interface
24 androidx.lifecycle.LifecycleObserver {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DFooterPreferenceMixinCompat.java25 import com.android.settingslib.core.lifecycle.LifecycleObserver;
28 public class FooterPreferenceMixinCompat implements LifecycleObserver, SetPreferenceScreen {
DFooterPreferenceMixin.java25 import com.android.settingslib.core.lifecycle.LifecycleObserver;
34 public class FooterPreferenceMixin implements LifecycleObserver, SetPreferenceScreen {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixin.java26 import androidx.lifecycle.LifecycleObserver;
34 public class VisibilityLoggerMixin implements LifecycleObserver {
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java94 public static class TestObserver implements LifecycleObserver, OnAttach, OnStart, OnResume,
238 private static class OptionItemAccepter implements LifecycleObserver, OnOptionsItemSelected {
264 private class OnStartObserver implements LifecycleObserver, OnStart {
274 mLifecycle.addObserver(new LifecycleObserver() { in onStart()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractConnectivityPreferenceController.java29 import com.android.settingslib.core.lifecycle.LifecycleObserver;
39 extends AbstractPreferenceController implements LifecycleObserver, OnStart, OnStop {
DAbstractUptimePreferenceController.java31 import com.android.settingslib.core.lifecycle.LifecycleObserver;
41 implements LifecycleObserver, OnStart, OnStop {
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java28 import androidx.lifecycle.LifecycleObserver;
34 public class ActionBarShadowController implements LifecycleObserver {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractLogpersistPreferenceController.java36 import com.android.settingslib.core.lifecycle.LifecycleObserver;
42 LifecycleObserver, OnCreate, OnDestroy, ConfirmationDialogController {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinCompat.java39 SuggestionController.ServiceConnectionListener, androidx.lifecycle.LifecycleObserver,
DSuggestionControllerMixin.java41 androidx.lifecycle.LifecycleObserver, LoaderManager.LoaderCallbacks<List<Suggestion>> {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java58 import com.android.settingslib.core.lifecycle.LifecycleObserver;
81 public class WifiTracker implements LifecycleObserver, OnStart, OnStop, OnDestroy {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java57 import androidx.lifecycle.LifecycleObserver;
767 public class Session implements LifecycleObserver {