/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/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 64 configurationController.observe(getLifecycle(), this); in UiModeNightTile() 65 batteryController.observe(getLifecycle(), this); in UiModeNightTile()
|
D | WorkModeTile.java | 44 mProfileController.observe(getLifecycle(), this); in WorkModeTile()
|
D | BatterySaverTile.java | 52 mBatteryController.observe(getLifecycle(), this); in BatterySaverTile()
|
D | FlashlightTile.java | 45 mFlashlightController.observe(getLifecycle(), this); in FlashlightTile()
|
D | DataSaverTile.java | 44 mDataSaverController.observe(getLifecycle(), this); in DataSaverTile()
|
D | CellularTile.java | 75 mController.observe(getLifecycle(), mSignalCallback); in CellularTile()
|
D | BluetoothTile.java | 71 mController.observe(getLifecycle(), mCallback); in BluetoothTile()
|
D | WifiTile.java | 77 mController.observe(getLifecycle(), mSignalCallback); in WifiTile()
|
D | DndTile.java | 102 mController.observe(getLifecycle(), mZenCallback); in DndTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 32 return observe(owner.getLifecycle(), listener); in observe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | SysuiLifecycle.java | 58 public Lifecycle getLifecycle() { in getLifecycle() method in SysuiLifecycle.ViewLifecycle
|
D | LifecycleFragment.java | 41 public Lifecycle getLifecycle() { in getLifecycle() method in LifecycleFragment
|
D | LifecycleActivity.kt | 29 override fun getLifecycle() = lifecycle in getLifecycle() method in com.android.systemui.util.LifecycleActivity
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImplTest.java | 283 assertTrue(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningTrue_stateAtLeastResumed() 288 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testTileDoesntStartResumed() 299 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningFalse_stateAtMostCreated() 310 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testListeningFalse_stateNotDestroyed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsProviderSelectorActivity.kt | 76 getLifecycle().addObserver( in onCreate()
|
D | ControlsEditingActivity.kt | 120 getLifecycle().addObserver( in bindViews()
|
D | ControlsFavoritingActivity.kt | 237 getLifecycle().addObserver( in <lambda>()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | VisibilityLoggerMixinTest.java | 135 getLifecycle().addObserver(mixin); in onCreate()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/ |
D | LifecycleTest.java | 249 fragment.getLifecycle().addObserver(accepter); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFragment.java | 108 commandQueue.observe(getLifecycle(), this); in QSFragment()
|
D | QuickStatusBarHeader.java | 604 public Lifecycle getLifecycle() { in getLifecycle() method in QuickStatusBarHeader
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 170 public Lifecycle getLifecycle() { in getLifecycle() method in QSTileImpl
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarFragment.java | 428 mCommandQueue.observe(getLifecycle(), this); in onCreate()
|