Home
last modified time | relevance | path

Searched refs:Observer (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/av/media/bufferpool/2.0/
DObserver.cpp26 Observer::Observer() { in Observer() function in android::hardware::media::bufferpool::V2_0::implementation::Observer
29 Observer::~Observer() { in ~Observer()
33 Return<void> Observer::onMessage(int64_t connectionId, uint32_t msgId) { in onMessage()
48 void Observer::addClient(ConnectionId connectionId, in addClient()
62 void Observer::delClient(ConnectionId connectionId) { in delClient()
DObserver.h40 struct Observer : public IObserver { struct
44 ~Observer();
52 Observer();
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItemHierarchy.java35 private final ArrayList<Observer> observers = new ArrayList<>();
59 public void registerObserver(Observer observer) { in registerObserver()
64 public void unregisterObserver(Observer observer) { in unregisterObserver()
70 for (Observer observer : observers) { in notifyChanged()
86 for (Observer observer : observers) { in notifyItemRangeChanged()
102 for (Observer observer : observers) { in notifyItemRangeInserted()
122 for (Observer observer : observers) { in notifyItemRangeMoved()
138 for (Observer observer : observers) { in notifyItemRangeRemoved()
DItemHierarchy.java33 interface Observer { interface
62 void registerObserver(Observer observer); in registerObserver()
65 void unregisterObserver(Observer observer); in unregisterObserver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DScreenLifecycle.java33 public class ScreenLifecycle extends Lifecycle<ScreenLifecycle.Observer> implements Dumpable {
53 dispatch(Observer::onScreenTurningOn); in dispatchScreenTurningOn()
58 dispatch(Observer::onScreenTurnedOn); in dispatchScreenTurnedOn()
63 dispatch(Observer::onScreenTurningOff); in dispatchScreenTurningOff()
68 dispatch(Observer::onScreenTurnedOff); in dispatchScreenTurnedOff()
82 public interface Observer { interface in ScreenLifecycle
DWakefulnessLifecycle.java48 public class WakefulnessLifecycle extends Lifecycle<WakefulnessLifecycle.Observer> implements
147 dispatch(Observer::onStartedWakingUp); in dispatchStartedWakingUp()
155 dispatch(Observer::onFinishedWakingUp); in dispatchFinishedWakingUp()
156 dispatch(Observer::onPostFinishedWakingUp); in dispatchFinishedWakingUp()
176 dispatch(Observer::onStartedGoingToSleep); in dispatchStartedGoingToSleep()
184 dispatch(Observer::onFinishedGoingToSleep); in dispatchFinishedGoingToSleep()
252 public interface Observer { interface in WakefulnessLifecycle
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifLiveDataStore.kt19 import androidx.lifecycle.Observer
46 fun addSyncObserver(observer: Observer<T>)
48 fun addAsyncObserver(observer: Observer<T>)
50 fun removeObserver(observer: Observer<T>)
DNotifLiveDataStoreImpl.kt19 import androidx.lifecycle.Observer in <lambda>()
77 private val syncObservers = ListenerSet<Observer<T>>()
78 private val asyncObservers = ListenerSet<Observer<T>>()
125 override fun addSyncObserver(observer: Observer<T>) { in addSyncObserver()
129 override fun addAsyncObserver(observer: Observer<T>) { in addAsyncObserver()
133 override fun removeObserver(observer: Observer<T>) { in removeObserver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/complication/
DComplicationHostViewControllerTest.java33 import androidx.lifecycle.Observer;
93 private ArgumentCaptor<Observer<Collection<ComplicationViewModel>>> mObserverCaptor;
136 final Observer<Collection<ComplicationViewModel>> observer = in testViewModelObservation()
155 final Observer<Collection<ComplicationViewModel>> observer = in testMalformedComplicationAddition()
170 final Observer<Collection<ComplicationViewModel>> observer = in testNewComplicationsBeforeEntryAnimationsFinishSetToInvisible()
184 final Observer<Collection<ComplicationViewModel>> observer = in testNewComplicationsAfterEntryAnimationsFinishNotSetToInvisible()
204 final Observer<Collection<ComplicationViewModel>> observer = in testAnimationsDisabled_ComplicationsNeverSetToInvisible()
216 private Observer<Collection<ComplicationViewModel>> captureComplicationViewModelsObserver() { in captureComplicationViewModelsObserver()
DComplicationCollectionLiveDataTest.java27 import androidx.lifecycle.Observer;
62 final Observer<Collection<Complication>> observer = Mockito.mock(Observer.class); in testLifecycle()
85 void verifyUpdate(Observer<Collection<Complication>> observer, in verifyUpdate()
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
DSingleStateQueue.h33 class Observer; variable
45 friend class Observer; member
114 class Observer {
116 Observer(Shared *shared) in Observer() function
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java34 private Observer mObserver;
37 private static class Observer extends FileObserver { class in FileObserverTest
41 public Observer(String path) { in Observer() method in FileObserverTest.Observer
78 mObserver = new Observer(mTestFile.getParent()); in testRun()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DPersistentConnectionManager.java47 private final Observer mObserver;
62 private final Observer.Callback mObserverCallback = () -> initiateConnectionAttempt();
96 @Named(OBSERVER) Observer observer) { in PersistentConnectionManager()
DObserver.java24 public interface Observer { interface
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
DPersistentConnectionManagerTest.java52 private Observer mObserver;
148 ArgumentCaptor<Observer.Callback> callbackCaptor = in testAttemptOnPackageChange()
149 ArgumentCaptor.forClass(Observer.Callback.class); in testAttemptOnPackageChange()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotifLiveDataImplTest.kt21 import androidx.lifecycle.Observer in <lambda>()
43 private val syncObserver: Observer<Int> = mock() in <lambda>()
44 private val asyncObserver: Observer<Int> = mock() in <lambda>()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
DServiceResolver.java36 private final Observer mObserver;
43 public interface Observer { interface in ServiceResolver
47 …public ServiceResolver(Context context, Observer observer, VendorInfo vendorInfo, String[] service… in ServiceResolver()
/frameworks/base/core/java/android/os/
DLooper.java75 private static Observer sObserver;
151 public static void setObserver(@Nullable Observer observer) { in setObserver()
174 final Observer observer = sObserver; in loopOnce()
460 public interface Observer { interface in Looper
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DScreenLifecycleTest.java43 private ScreenLifecycle.Observer mScreenObserverMock;
48 mScreenObserverMock = mock(ScreenLifecycle.Observer.class); in setUp()
/frameworks/base/core/tests/coretests/src/android/content/
DContentQueryMapTest.java29 import java.util.Observer;
78 cqm.addObserver(new Observer() { in testContentQueryMap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DMuteQuickAffordanceCoreStartable.kt22 import androidx.lifecycle.Observer in <lambda>()
54 private val observer = Observer(this::updateLastNonSilentRingerMode) in <lambda>()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DServiceListener.java43 private final Observer mObserver;
53 public interface Observer { interface in ServiceListener
58 public ServiceListener(Context context, Observer observer, String[] serviceTypes) { in ServiceListener()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h109 class Observer {
111 virtual ~Observer() {} in ~Observer()
121 virtual void RegisterObserver(Observer* observer) = 0;
122 virtual void UnregisterObserver(Observer* observer) = 0;
366 void RegisterObserver(Observer* observer) override;
367 void UnregisterObserver(Observer* observer) override;
399 Observer* observer_ = nullptr;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLightsOutNotifControllerTest.java35 import androidx.lifecycle.Observer;
66 @Captor private ArgumentCaptor<Observer<Boolean>> mObserverCaptor;
72 private Observer<Boolean> mHaActiveNotifsObserver;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DRingerModeLiveDataTest.kt24 import androidx.lifecycle.Observer
60 private lateinit var observer: Observer<Int> in capture()

12345