/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | LifecycleActivity.kt | 23 import com.android.settingslib.core.lifecycle.Lifecycle 27 private val lifecycle = Lifecycle(this) 34 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_CREATE) in getLifecycle() 44 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_CREATE) in onCreate() 49 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_START) in onStart() 54 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_RESUME) in onResume() 59 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_PAUSE) in onPause() 64 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_STOP) in onStop() 69 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_DESTROY) in onDestroy()
|
D | LifecycleFragment.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static androidx.lifecycle.Lifecycle.Event.ON_START; 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 30 import androidx.lifecycle.Lifecycle; 41 public Lifecycle getLifecycle() { in getLifecycle()
|
D | SysuiLifecycle.java | 19 import static androidx.lifecycle.Lifecycle.State.DESTROYED; 20 import static androidx.lifecycle.Lifecycle.State.RESUMED; 26 import androidx.lifecycle.Lifecycle; 58 public Lifecycle getLifecycle() { in getLifecycle()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/ |
D | ObservableDialogFragment.java | 18 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 19 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 21 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 22 import static androidx.lifecycle.Lifecycle.Event.ON_START; 23 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 39 protected final Lifecycle mLifecycle = new Lifecycle(this); 41 public Lifecycle getSettingsLifecycle() { in getSettingsLifecycle()
|
D | ObservableActivity.java | 18 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 19 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 21 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 22 import static androidx.lifecycle.Lifecycle.Event.ON_START; 23 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 40 private final Lifecycle mLifecycle = new Lifecycle(this); 42 public Lifecycle getSettingsLifecycle() { in getSettingsLifecycle()
|
D | ObservableFragment.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static androidx.lifecycle.Lifecycle.Event.ON_START; 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 38 private final Lifecycle mLifecycle = new Lifecycle(this); 40 public Lifecycle getSettingsLifecycle() { in getSettingsLifecycle()
|
D | ObservablePreferenceFragment.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static androidx.lifecycle.Lifecycle.Event.ON_START; 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 43 private final Lifecycle mLifecycle = new Lifecycle(this); 45 public Lifecycle getSettingsLifecycle() { in getSettingsLifecycle()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | SysuiLifecycleTest.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static androidx.lifecycle.Lifecycle.Event.ON_START; 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 40 import androidx.lifecycle.Lifecycle; 109 Lifecycle.State.INITIALIZED); in testStateBeforeAttach() 120 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in testStateAfterAttach() 133 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.DESTROYED); in testStateAfterDetach() [all …]
|
D | LifecycleFragmentTest.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static androidx.lifecycle.Lifecycle.Event.ON_START; 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
|
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/ |
D | ActionBarShadowController.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_START; 20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 27 import androidx.lifecycle.Lifecycle; 51 Activity activity, Lifecycle lifecycle, View scrollView) { in attachToView() 59 View anchorView, Lifecycle lifecycle, View scrollView) { in attachToView() 63 private ActionBarShadowController(Activity activity, Lifecycle lifecycle, View scrollView) { in ActionBarShadowController() 70 private ActionBarShadowController(View anchorView, Lifecycle lifecycle, View scrollView) { in ActionBarShadowController()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 26 import androidx.lifecycle.Lifecycle; 27 import androidx.lifecycle.Lifecycle.Event; 45 Lifecycle lifecycle = mock(Lifecycle.class); in testAddCallback() 63 Lifecycle lifecycle = mock(Lifecycle.class); in testRemoveCallback()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/ |
D | SuggestionControllerMixinCompatTest.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_START; 20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 34 import com.android.settingslib.core.lifecycle.Lifecycle; 55 private Lifecycle mLifecycle; 63 mLifecycle = new Lifecycle(mLifecycleOwner); in setUp()
|
D | SuggestionControllerMixinTest.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_START; 20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 34 import com.android.settingslib.core.lifecycle.Lifecycle; 55 private Lifecycle mLifecycle; 63 mLifecycle = new Lifecycle(mLifecycleOwner); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 18 import androidx.lifecycle.Lifecycle; 19 import androidx.lifecycle.Lifecycle.Event; 39 default T observe(Lifecycle lifecycle, T listener) { in observe()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ActionBarShadowControllerTest.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_START; 20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 37 import com.android.settingslib.core.lifecycle.Lifecycle; 58 private Lifecycle mLifecycle; 68 mLifecycle = new Lifecycle(mLifecycleOwner); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionControllerMixin.java | 30 import com.android.settingslib.core.lifecycle.Lifecycle; 67 Lifecycle lifecycle, ComponentName componentName) { in SuggestionControllerMixin() 77 @OnLifecycleEvent(Lifecycle.Event.ON_START) 85 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
|
D | SuggestionControllerMixinCompat.java | 31 import com.android.settingslib.core.lifecycle.Lifecycle; 66 Lifecycle lifecycle, ComponentName componentName) { in SuggestionControllerMixinCompat() 76 @OnLifecycleEvent(Lifecycle.Event.ON_START) 84 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | IpAddressPreferenceControllerTest.java | 30 import com.android.settingslib.core.lifecycle.Lifecycle; 47 private Lifecycle mLifecycle; 78 private ConcreteIpAddressPreferenceController(Context context, Lifecycle lifecycle) { in ConcreteIpAddressPreferenceController()
|
D | BluetoothAddressPreferenceControllerTest.java | 29 import com.android.settingslib.core.lifecycle.Lifecycle; 46 private Lifecycle mLifecycle; 102 Lifecycle lifecycle) { in ConcreteBluetoothAddressPreferenceController()
|
D | UptimePreferenceControllerTest.java | 31 import com.android.settingslib.core.lifecycle.Lifecycle; 46 private Lifecycle mLifecycle; 96 Lifecycle lifecycle) { in ConcreteUptimePreferenceController()
|
D | ImsStatusPreferenceControllerTest.java | 32 import com.android.settingslib.core.lifecycle.Lifecycle; 47 private Lifecycle mLifecycle; 97 Lifecycle lifecycle) { in ConcreteImsStatusPreferenceController()
|
D | ConnectivityPreferenceControllerTest.java | 33 import com.android.settingslib.core.lifecycle.Lifecycle; 49 private Lifecycle mLifecycle; 95 Lifecycle lifecycle) { in ConcreteConnectivityPreferenceController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsAnimations.kt | 33 import androidx.lifecycle.Lifecycle in <lambda>() 73 @OnLifecycleEvent(Lifecycle.Event.ON_START) in <lambda>() 84 @OnLifecycleEvent(Lifecycle.Event.ON_RESUME) in <lambda>() 92 @OnLifecycleEvent(Lifecycle.Event.ON_STOP) in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiTrackerFactory.java | 23 import com.android.settingslib.core.lifecycle.Lifecycle; 37 Context context, WifiTracker.WifiListener wifiListener, @NonNull Lifecycle lifecycle, in create()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | LogpersistPreferenceControllerTest.java | 32 import com.android.settingslib.core.lifecycle.Lifecycle; 46 private Lifecycle mLifecycle; 60 mLifecycle = new Lifecycle(mLifecycleOwner); in setUp()
|