Home
last modified time | relevance | path

Searched refs:observe (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackController.java31 default T observe(LifecycleOwner owner, T listener) { in observe() method
32 return observe(owner.getLifecycle(), listener); in observe()
39 default T observe(Lifecycle lifecycle, T listener) { in observe() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java53 controller.observe(owner, callback); in testAddCallback()
71 controller.observe(owner, callback); in testRemoveCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java123 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy()
134 void observe() { in observe() method in AlwaysOnDisplayPolicy.SettingsObserver
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java57 configurationController.observe(getLifecycle(), this); in UiModeNightTile()
58 batteryController.observe(getLifecycle(), this); in UiModeNightTile()
DLocationTile.java54 mController.observe(this, mCallback); in LocationTile()
55 mKeyguard.observe(this, mCallback); in LocationTile()
DHotspotTile.java55 mHotspotController.observe(this, mCallbacks); in HotspotTile()
56 mDataSaverController.observe(this, mCallbacks); in HotspotTile()
DCastTile.java80 mController.observe(this, mCallback); in CastTile()
81 mKeyguard.observe(this, mCallback); in CastTile()
82 mNetworkController.observe(this, mSignalCallback); in CastTile()
DUserTile.java47 mUserInfoController.observe(getLifecycle(), this); in UserTile()
DWorkModeTile.java44 mProfileController.observe(getLifecycle(), this); in WorkModeTile()
DRotationLockTile.java46 mController.observe(this, mCallback); in RotationLockTile()
DBatterySaverTile.java50 mBatteryController.observe(getLifecycle(), this); in BatterySaverTile()
DFlashlightTile.java45 mFlashlightController.observe(getLifecycle(), this); in FlashlightTile()
DDataSaverTile.java44 mDataSaverController.observe(getLifecycle(), this); in DataSaverTile()
DCellularTile.java75 mController.observe(getLifecycle(), mSignalCallback); in CellularTile()
DBluetoothTile.java71 mController.observe(getLifecycle(), mCallback); in BluetoothTile()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierActionAgent.java173 mSettingsObserver.observe(Settings.Global.getUriFor(mobileData), in handleMessage()
175 mSettingsObserver.observe( in handleMessage()
178 mSettingsObserver.observe( in handleMessage()
DSettingsObserver.java51 public void observe(Uri uri, int what) { in observe() method in SettingsObserver
/frameworks/base/core/java/android/os/
DFileObserver.java113 observe(m_fd); in run()
171 private native void observe(int fd); in observe() method in FileObserver.ObserverThread
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java124 mSettingsObserver.observe(); in start()
125 mDisplayObserver.observe(); in start()
126 mSettingsObserver.observe(); in start()
127 mBrightnessObserver.observe(sensorManager); in start()
575 public void observe() { in observe() method in DisplayModeDirector.SettingsObserver
729 public void observe() { in observe() method in DisplayModeDirector.DisplayObserver
848 public void observe(SensorManager sensorManager) { in observe() method in DisplayModeDirector.BrightnessObserver
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java131 mAutoTimeSettingObserver.observe(); in systemRunning()
250 void observe() { in observe() method in NetworkTimeUpdateService.AutoTimeSettingObserver
DNetworkScoreService.java238 void observe(Uri uri, int what) { in observe() method in NetworkScoreService.DispatchingContentObserver
347 mRecommendationSettingsObserver.observe(packageNameUri, in registerRecommendationSettingsObserver()
351 mRecommendationSettingsObserver.observe(settingUri, in registerRecommendationSettingsObserver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java101 verify(mNetworkController).observe(any(LifecycleOwner.class), in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java168 mSettingsObserver.observe(); in DisplayRotation()
970 void observe() { in observe() method in DisplayRotation.SettingsObserver
/frameworks/base/tools/orientationplot/
DREADME.txt44 and the latency for orientation detection goes up. One way to observe this
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java175 Dependency.get(ConfigurationController.class).observe(viewAttachLifecycle(this), this); in BatteryMeterView()

12