Home
last modified time | relevance | path

Searched refs:observers (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItemHierarchy.java35 private final ArrayList<Observer> observers = new ArrayList<>(); field in AbstractItemHierarchy
60 observers.add(observer); in registerObserver()
65 observers.remove(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()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java519 final IUidObserver[] observers = new IUidObserver.Stub[changesToObserve.length]; in testDispatchUids_dispatchNeededChanges() local
520 for (int i = 0; i < observers.length; ++i) { in testDispatchUids_dispatchNeededChanges()
521 observers[i] = mock(IUidObserver.Stub.class); in testDispatchUids_dispatchNeededChanges()
522 when(observers[i].asBinder()).thenReturn((IBinder) observers[i]); in testDispatchUids_dispatchNeededChanges()
523 mAms.registerUidObserver(observers[i], changesToObserve[i] /* which */, in testDispatchUids_dispatchNeededChanges()
530 Mockito.reset(observers[i]); in testDispatchUids_dispatchNeededChanges()
556 for (int i = 0; i < observers.length; ++i) { in testDispatchUids_dispatchNeededChanges()
558 final IUidObserver observerToTest = observers[i]; in testDispatchUids_dispatchNeededChanges()
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp276 std::map<ConnectionId, const sp<IObserver>> observers; in handleInvalidateAck() local
281 mBufferPool.mInvalidation.onHandleAck(&observers, &invalidationId); in handleInvalidateAck()
285 for (auto it = observers.begin(); it != observers.end(); ++it) { in handleInvalidateAck()
407 std::map<ConnectionId, const sp<IObserver>> *observers, in onHandleAck() argument
416 observers->emplace(it->first, observer); in onHandleAck()
DAccessorImpl.h167 std::map<ConnectionId, const sp<IObserver>> *observers,
/frameworks/base/core/proto/android/service/
Dprint.proto145 // List of printer discovery observers
/frameworks/base/core/proto/android/server/
Djobscheduler.proto477 repeated Observer observers = 2; field