Home
last modified time | relevance | path

Searched refs:observable (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DObserverTest.kt39 private val observable = DataObservable() constant in com.android.settingslib.datastore.ObserverTest
43 observable.addObserver(observer1, executor1) in addObserver_sameExecutor()
44 observable.addObserver(observer1, executor1) in addObserver_sameExecutor()
49 observable.addObserver(observer1, executor1) in addObserver_differentExecutor()
51 observable.addObserver(observer1, executor2) in addObserver_differentExecutor()
59 observable.addObserver(observer!!, executor1) in addObserver_weaklyReferenced()
61 observable.notifyChange(DataChangeReason.UPDATE) in addObserver_weaklyReferenced()
69 observable.notifyChange(DataChangeReason.UPDATE) in addObserver_weaklyReferenced()
75 observable.addObserver(observer1, executor1) in addObserver_notifyObservers_removeObserver()
76 observable.addObserver(observer2, executor2) in addObserver_notifyObservers_removeObserver()
[all …]
/frameworks/av/media/module/libmediatranscoding/
DTranscodingResourcePolicy.cpp38 static std::string toString(const MediaObservableParcel& observable) { in toString() argument
39 return "{" + ::aidl::android::media::toString(observable.type) + ", " + in toString()
40 std::to_string(observable.value) + "}"; in toString()
56 for (auto& observable : observables) { in onStatusChanged() local
57 if (observable.type == MediaObservableType::kVideoSecureCodec || in onStatusChanged()
58 observable.type == MediaObservableType::kVideoNonSecureCodec) { in onStatusChanged()
/frameworks/av/services/mediaresourcemanager/
DResourceObserverService.cpp138 for (auto &observable : observer.second.filters) { in dump() local
141 if (((uint64_t)observable.eventFilter & (uint64_t)event) != 0) { in dump()
149 toString(observable.type).c_str(), enabledEventsStr.c_str()); in dump()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBubblePopupDrawable.kt64 Delegates.observable(ArrowDirection.UP) { _, _, _ -> requestPathUpdate() } in <lambda>()
71 Delegates.observable(ArrowPosition.Center) { _, _, _ -> requestPathUpdate() } in <lambda>()
/frameworks/av/services/mediaresourcemanager/test/
DResourceObserverService_test.cpp48 static std::string toString(const MediaObservableParcel& observable) { in toString()
49 return "{" + ::aidl::android::media::toString(observable.type) in toString()
50 + ", " + std::to_string(observable.value) + "}"; in toString()
65 for (auto &observable : event.observables) { in toString() local
69 observableStr += toString(observable); in toString()
/frameworks/av/media/libaudiohal/impl/
DStreamHalAidl.cpp345 *frames = std::max<int64_t>(0, reply.observable.frames); in getObservablePosition()
346 *timestamp = std::max<int64_t>(0, reply.observable.timeNs); in getObservablePosition()
506 mStatePositions.framesAtFlushOrDrain = mLastReply.observable.frames; in onAsyncDrainReady()
603 mStatePositions.framesAtStandby = reply->observable.frames; in sendCommand()
606 mStatePositions.framesAtFlushOrDrain = reply->observable.frames; in sendCommand()
611 mStatePositions.framesAtFlushOrDrain = reply->observable.frames; in sendCommand()
/frameworks/base/packages/SettingsLib/DataStore/
DREADME.md14 - **observable**: triggers backup and metrics logging whenever data is
/frameworks/base/packages/SystemUI/docs/
Dscene.md167 As seen above, each scene is responsible for providing an observable `Flow` of a