/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | SysuiLifecycleTest.java | 76 lifecycle.getLifecycle().addObserver(observer); in testAttach() 90 lifecycle.getLifecycle().addObserver(observer); in testDetach() 108 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo( in testStateBeforeAttach() 120 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in testStateAfterAttach() 133 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.DESTROYED); in testStateAfterDetach() 148 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in testStateAfterReattach() 159 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in testStateWhenViewAlreadyAttached() 172 assertThat(lifecycle.getLifecycle().getCurrentState()).isEqualTo( in testStateWhenViewAlreadyDetached()
|
D | LifecycleFragmentTest.java | 55 fragment.getLifecycle().addObserver(observer); in testCreateLifecycle() 67 fragment.getLifecycle().addObserver(observer); in testResumeLifecycle() 79 fragment.getLifecycle().addObserver(observer); in testStartLifecycle() 91 fragment.getLifecycle().addObserver(observer); in testStopLifecycle() 105 fragment.getLifecycle().addObserver(observer); in testPauseLifecycle() 119 fragment.getLifecycle().addObserver(observer); in testDestroyLifecycle()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 267 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle() 272 assertEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle() 296 assertTrue(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningTrue_stateAtLeastResumed() 301 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testTileDoesntStartResumed() 312 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningFalse_stateAtMostCreated() 323 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testListeningFalse_stateNotDestroyed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 37 return observe(owner.getLifecycle(), listener); in observe()
|
D | AccessPointControllerImpl.java | 100 mWifiPickerTracker = mWifiPickerTrackerFactory.create(this.getLifecycle(), this); in init() 106 public Lifecycle getLifecycle() { in getLifecycle() method in AccessPointControllerImpl
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | SysuiLifecycle.java | 58 public Lifecycle getLifecycle() { in getLifecycle() method in SysuiLifecycle.ViewLifecycle
|
D | LifecycleActivity.kt | 29 override fun getLifecycle() = lifecycle in getLifecycle() method in com.android.systemui.util.LifecycleActivity
|
D | LifecycleFragment.java | 41 public Lifecycle getLifecycle() { in getLifecycle() method in LifecycleFragment
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 87 configurationController.observe(getLifecycle(), this); in UiModeNightTile() 88 batteryController.observe(getLifecycle(), this); in UiModeNightTile()
|
D | ReduceBrightColorsTile.java | 73 mReduceBrightColorsController.observe(getLifecycle(), this); in ReduceBrightColorsTile()
|
D | UserTile.java | 70 mUserInfoController.observe(getLifecycle(), this); in UserTile()
|
D | WorkModeTile.java | 67 mProfileController.observe(getLifecycle(), this); in WorkModeTile()
|
D | SensorPrivacyToggleTile.java | 86 mSensorPrivacyController.observe(getLifecycle(), this); in SensorPrivacyToggleTile()
|
D | BatterySaverTile.java | 77 mBatteryController.observe(getLifecycle(), this); in BatterySaverTile()
|
D | FlashlightTile.java | 68 mFlashlightController.observe(getLifecycle(), this); in FlashlightTile()
|
D | DataSaverTile.java | 66 mDataSaverController.observe(getLifecycle(), this); in DataSaverTile()
|
D | CellularTile.java | 94 mController.observe(getLifecycle(), mSignalCallback); in CellularTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlsActivity.kt | 44 getLifecycle().addObserver( in <lambda>()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/ |
D | HideNonSystemOverlayMixinTest.java | 97 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
|
D | LifecycleTest.java | 249 fragment.getLifecycle().addObserver(accepter); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 100 public Lifecycle getLifecycle() { in getLifecycle() method in CallbackControllerTest.SimpleLifecycleOwner
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | VisibilityLoggerMixinTest.java | 135 getLifecycle().addObserver(mixin); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsProviderSelectorActivity.kt | 78 getLifecycle().addObserver( in onCreate()
|
D | ControlsEditingActivity.kt | 123 getLifecycle().addObserver( in bindViews()
|
D | ControlsFavoritingActivity.kt | 238 getLifecycle().addObserver( in <lambda>()
|