Home
last modified time | relevance | path

Searched refs:getLifecycle (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java55 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/dreams/
DDreamOverlayService.java301 collectFlow(getLifecycle(), mCommunalInteractor.isCommunalAvailable(), in DreamOverlayService()
303 collectFlow(getLifecycle(), communalInteractor.isCommunalVisible(), in DreamOverlayService()
305 collectFlow(getLifecycle(), keyguardInteractor.primaryBouncerShowing, in DreamOverlayService()
311 public Lifecycle getLifecycle() { in getLifecycle() method in DreamOverlayService
312 return mDispatcher.getLifecycle(); in getLifecycle()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/statusbar/policy/
DCallbackController.java42 return observe(owner.getLifecycle(), listener); in observe()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java353 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle()
358 assertEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testHandleDestroyLifecycle()
382 assertTrue(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningTrue_stateAtLeastResumed()
387 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testTileDoesntStartResumed()
398 assertFalse(mTile.getLifecycle().getCurrentState().isAtLeast(RESUMED)); in testListeningFalse_stateAtMostCreated()
409 assertNotEquals(DESTROYED, mTile.getLifecycle().getCurrentState()); in testListeningFalse_stateNotDestroyed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java41 public Lifecycle getLifecycle() { in getLifecycle() method in LifecycleFragment
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java90 configurationController.observe(getLifecycle(), this); in UiModeNightTile()
91 batteryController.observe(getLifecycle(), this); in UiModeNightTile()
DReduceBrightColorsTile.java75 mReduceBrightColorsController.observe(getLifecycle(), this); in ReduceBrightColorsTile()
DSensorPrivacyToggleTile.java94 mSensorPrivacyController.observe(getLifecycle(), this); in SensorPrivacyToggleTile()
DWorkModeTile.java77 mProfileController.observe(getLifecycle(), this); in WorkModeTile()
DQRCodeScannerTile.java78 mQRCodeScannerController.observe(getLifecycle(), mCallback); in QRCodeScannerTile()
DHearingDevicesTile.java89 mBluetoothController.observe(getLifecycle(), mCallback); in HearingDevicesTile()
DBatterySaverTile.java80 mBatteryController.observe(getLifecycle(), this); in BatterySaverTile()
DFlashlightTile.java72 mFlashlightController.observe(getLifecycle(), this); in FlashlightTile()
DDataSaverTile.java80 mDataSaverController.observe(getLifecycle(), this); in DataSaverTile()
DRotationLockTile.java108 mBatteryController.observe(getLifecycle(), this); in RotationLockTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImpl.java90 mWifiPickerTracker = mWifiPickerTrackerFactory.create(this.getLifecycle(), this, TAG); in init()
96 public Lifecycle getLifecycle() { in getLifecycle() method in AccessPointControllerImpl
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DHideNonSystemOverlayMixinTest.java97 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
DLifecycleTest.java254 fragment.getLifecycle().addObserver(accepter); in onOptionItemSelectedShortCircuitsIfAnObserverHandlesTheMenuItem()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java100 public Lifecycle getLifecycle() { in getLifecycle() method in CallbackControllerTest.SimpleLifecycleOwner
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixinTest.java135 getLifecycle().addObserver(mixin); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/
DDreamOverlayModule.java189 return lifecycleOwner.getLifecycle(); in providesLifecycle()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
DCondition.java153 return observe(owner.getLifecycle(), listener); in observe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfaces.java194 Lifecycle getLifecycle(); in getLifecycle() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java217 public Lifecycle getLifecycle() { in getLifecycle() method in QSTileImpl
344 return getLifecycle().getCurrentState().isAtLeast(RESUMED); in isListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanelDialog.java300 public Lifecycle getLifecycle() { in getLifecycle() method in VolumePanelDialog

12