/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/statusbar/policy/ |
D | CallbackController.java | 41 default T observe(LifecycleOwner owner, T listener) { in observe() method 42 return observe(owner.getLifecycle(), listener); in observe() 49 default T observe(Lifecycle lifecycle, T listener) { in observe() method
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | SkinThermalStatusObserverTest.java | 74 mObserver.observe(); in testRegisterListenersOnObserve() 86 mObserver.observe(); in testFailToRegisterThermalListenerOnObserve() 95 mObserver.observe(); in testNotifyWithDefaultVotesForCritical() 127 mObserver.observe(); in testNotifyWithDefaultVotesChangeFromCriticalToSevere() 142 mObserver.observe(); in testNotifyWithDefaultVotesForSevere() 163 mObserver.observe(); in testNotifiesWithConfigVotes() 186 mObserver.observe(); in testDisplayAdded() 208 mObserver.observe(); in testDisplayAddedAndThenImmediatelyRemoved()
|
D | ProximitySensorObserverTest.java | 66 mSensorObserver.observe(); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | DeviceControlsTileTest.kt | 185 verify(controlsListingController).observe( in testObservingCallback() 208 verify(controlsListingController).observe( in testStateUnavailableIfNoListings() 221 verify(controlsListingController).observe( in testStateUnavailableIfNotEnabled() 235 verify(controlsListingController).observe( in testStateActiveIfListingsHasControlsFavorited() 256 verify(controlsListingController).observe( in testStateInactiveIfListingsHasNoControlsFavorited() 273 verify(controlsListingController).observe( in testStateActiveIfPreferredIsPanel() 289 verify(controlsListingController).observe( in testStateInactiveIfLocked() 304 verify(controlsListingController).observe( in testMoveBetweenStates() 328 verify(controlsListingController).observe( in handleClick_available_shownOverLockscreenWhenLocked() 358 verify(controlsListingController).observe( in handleClick_availableAfterUnlock_notShownOverLockscreenWhenLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 55 controller.observe(owner, callback); in testAddCallback() 73 controller.observe(owner, callback); in testRemoveCallback() 87 controller.observe(owner, callback); in testCallbackIsRemovedOnDestroy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | AppAdapterTest.kt | 74 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>() 91 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>() 109 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>() 127 verify(controlsListingController).observe(any(Lifecycle::class.java), captor.capture()) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/ |
D | QSPreferencesRepository.kt | 25 import com.android.systemui.util.kotlin.SharedPreferencesExt.observe in <lambda>() 50 prefs.observe().emitOnStart().map { prefs.getBoolean(ICON_LABELS_KEY, false) } in <lambda>()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/ |
D | Condition.java | 152 public Callback observe(LifecycleOwner owner, Callback listener) { in observe() method in Condition 153 return observe(owner.getLifecycle(), listener); in observe() 160 public Callback observe(Lifecycle lifecycle, Callback listener) { in observe() method in Condition
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/ |
D | AuthorizedPanelsRepositoryImpl.kt | 27 import com.android.systemui.util.kotlin.SharedPreferencesExt.observe 43 return prefs.observe().emitOnStart().map { getAuthorizedPanelsInternal(prefs) } in observeAuthorizedPanels()
|
D | SelectedComponentRepositoryImpl.kt | 28 import com.android.systemui.util.kotlin.SharedPreferencesExt.observe 66 .observe() in selectedComponentFlow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicy.java | 143 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy() 154 void observe() { in observe() method in AlwaysOnDisplayPolicy.SettingsObserver
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | SharedPreferencesExt.kt | 26 fun SharedPreferences.observe(): Flow<Unit> = conflatedCallbackFlow { in <lambda>() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/ |
D | CommunalPrefsRepository.kt | 35 import com.android.systemui.util.kotlin.SharedPreferencesExt.observe in <lambda>() 129 .observe() in observeCtaDismissState()
|
/frameworks/base/core/java/android/os/ |
D | FileObserver.java | 116 observe(m_fd); in run() 174 private native void observe(int fd); in observe() method in FileObserver.ObserverThread
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierActionAgent.java | 178 mSettingsObserver.observe(Settings.Global.getUriFor(mobileData), in handleMessage() 180 mSettingsObserver.observe( in handleMessage() 183 mSettingsObserver.observe( in handleMessage()
|
D | SettingsObserver.java | 51 public void observe(Uri uri, int what) { in observe() method in SettingsObserver
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CastTile.java | 122 mController.observe(this, mCallback); in CastTile() 123 mKeyguard.observe(this, mCallback); in CastTile() 125 mNetworkController.observe(this, mSignalCallback); in CastTile() 133 hotspotController.observe(this, mHotspotCallback); in CastTile()
|
D | LocationTile.java | 80 mController.observe(this, mCallback); in LocationTile() 81 mKeyguard.observe(this, mCallback); in LocationTile()
|
D | UiModeNightTile.java | 90 configurationController.observe(getLifecycle(), this); in UiModeNightTile() 91 batteryController.observe(getLifecycle(), this); in UiModeNightTile()
|
D | RotationLockTile.java | 92 mController.observe(this, mCallback); in RotationLockTile() 108 mBatteryController.observe(getLifecycle(), this); in RotationLockTile()
|
D | HotspotTile.java | 80 mHotspotController.observe(this, mCallbacks); in HotspotTile() 81 mDataSaverController.observe(this, mCallbacks); in HotspotTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsActivity.java | 166 mViewModel.getScreenshot().observe(this, this::setScreenshot); in onCreate() 167 mViewModel.getResultLiveData().observe(this, this::setResultThenFinish); in onCreate() 168 mViewModel.getErrorLiveData().observe(this, this::setErrorThenFinish); in onCreate()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/presenter/ |
D | Demo.kt | 45 update = { view -> sliceData.observe(lifecycleOwner, view) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | TouchMonitor.java | 456 private void observe(Consumer<GestureDetector.OnGestureListener> consumer) { 476 observe(listener -> listener.onLongPress(e)); 487 observe(listener -> listener.onShowPress(e));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePanelSlicesAdapter.java | 112 sliceLiveData.observe(mLifecycleOwner, mSliceView); in onBind()
|