/frameworks/av/media/module/bufferpool/2.0/ |
D | Observer.cpp | 26 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()
|
D | Observer.h | 40 struct Observer : public IObserver { struct 44 ~Observer(); 52 Observer();
|
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/ |
D | Observer.kt | 29 fun interface Observer { in interface() interface 58 fun addObserver(observer: Observer, executor: Executor) in addObserver() 61 fun removeObserver(observer: Observer) in addObserver() 75 @GuardedBy("itself") private val observers = WeakHashMap<Observer, Executor>() in addObserver() 77 override fun addObserver(observer: Observer, executor: Executor) { in addObserver() 84 override fun removeObserver(observer: Observer) { in addObserver()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | AbstractItemHierarchy.java | 35 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()
|
D | ItemHierarchy.java | 33 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/ |
D | ScreenLifecycle.java | 37 public class ScreenLifecycle extends Lifecycle<ScreenLifecycle.Observer> implements Dumpable { 57 dispatch(Observer::onScreenTurningOn); in dispatchScreenTurningOn() 62 dispatch(Observer::onScreenTurnedOn); in dispatchScreenTurnedOn() 67 dispatch(Observer::onScreenTurningOff); in dispatchScreenTurningOff() 72 dispatch(Observer::onScreenTurnedOff); in dispatchScreenTurnedOff() 86 public interface Observer { interface in ScreenLifecycle
|
D | WakefulnessLifecycle.java | 52 public class WakefulnessLifecycle extends Lifecycle<WakefulnessLifecycle.Observer> implements 151 dispatch(Observer::onStartedWakingUp); in dispatchStartedWakingUp() 159 dispatch(Observer::onFinishedWakingUp); in dispatchFinishedWakingUp() 160 dispatch(Observer::onPostFinishedWakingUp); in dispatchFinishedWakingUp() 180 dispatch(Observer::onStartedGoingToSleep); in dispatchStartedGoingToSleep() 188 dispatch(Observer::onFinishedGoingToSleep); in dispatchFinishedGoingToSleep() 256 public interface Observer { interface in WakefulnessLifecycle
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifLiveDataStore.kt | 19 import androidx.lifecycle.Observer 46 fun addSyncObserver(observer: Observer<T>) 48 fun addAsyncObserver(observer: Observer<T>) 50 fun removeObserver(observer: Observer<T>)
|
D | NotifLiveDataStoreImpl.kt | 19 import androidx.lifecycle.Observer in <lambda>() 82 private val syncObservers = ListenerSet<Observer<T>>() 83 private val asyncObservers = ListenerSet<Observer<T>>() 130 override fun addSyncObserver(observer: Observer<T>) { in addSyncObserver() 134 override fun addAsyncObserver(observer: Observer<T>) { in addAsyncObserver() 138 override fun removeObserver(observer: Observer<T>) { in removeObserver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | ComplicationHostViewControllerTest.java | 32 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()
|
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/ |
D | ObserverTest.kt | 34 private val observer1 = mock<Observer>() 35 private val observer2 = mock<Observer>() 58 var observer: Observer? = Observer { counter.incrementAndGet() } in addObserver_weaklyReferenced() 94 val observer = Observer { observable.addObserver(observer1, executor1) } in notifyChange_addObserverWithinCallback()
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | SingleStateQueue.h | 33 class Observer; variable 45 friend class Observer; member 114 class Observer { 116 Observer(Shared *shared) in Observer() function
|
/frameworks/native/libs/ftl/ |
D | function_test.cpp | 259 struct Observer { in TEST() struct 264 auto f = ftl::make_function<&Observer::setCalled>(&observer); in TEST() 270 EXPECT_TRUE(f == ftl::Function<void()>::make<&Observer::setCalled>(&observer)); in TEST() 274 struct Observer { in TEST() struct 279 const auto f = ftl::make_function<&Observer::setCalled>(&observer); in TEST() 285 EXPECT_TRUE(f == ftl::Function<void()>::make<&Observer::setCalled>(&observer)); in TEST() 289 const struct Observer { in TEST() struct 294 const auto f = ftl::make_function<&Observer::setCalled>(&observer); in TEST() 300 EXPECT_TRUE(f == ftl::Function<void()>::make<&Observer::setCalled>(&observer)); in TEST()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ui/widgets/ |
D | CommunalAppWidgetHostTest.kt | 109 val observer = mock<CommunalAppWidgetHost.Observer>() in observer_onHostStartListeningTriggeredWhileObserverActive() 135 val observer = mock<CommunalAppWidgetHost.Observer>() in observer_onHostStopListeningTriggeredWhileObserverActive() 161 val observer = mock<CommunalAppWidgetHost.Observer>() in observer_onAllocateAppWidgetIdTriggeredWhileObserverActive() 187 val observer = mock<CommunalAppWidgetHost.Observer>() in observer_onDeleteAppWidgetIdTriggeredWhileObserverActive() 213 val observer1 = mock<CommunalAppWidgetHost.Observer>() in observer_multipleObservers() 214 val observer2 = mock<CommunalAppWidgetHost.Observer>() in observer_multipleObservers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/ |
D | CommunalAppWidgetHost.kt | 51 @GuardedBy("observers") private val observers = mutableSetOf<Observer>() in <lambda>() 120 fun addObserver(observer: Observer) { in <lambda>() 124 fun removeObserver(observer: Observer) { in <lambda>() 136 interface Observer { in <lambda>() interface
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileObserverTest.java | 50 private Observer mObserver; 53 private static class Observer extends FileObserver { class in FileObserverTest 57 public Observer(String path) { in Observer() method in FileObserverTest.Observer 95 mObserver = new Observer(mTestFile.getParent()); in testRun()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuView.java | 33 import androidx.lifecycle.Observer; 61 private final Observer<MenuFadeEffectInfo> mFadeEffectInfoObserver = 63 private final Observer<Boolean> mMoveToTuckedObserver = this::onMoveToTucked; 64 private final Observer<Position> mPercentagePositionObserver = this::onPercentagePosition; 65 private final Observer<Integer> mSizeTypeObserver = this::onSizeTypeChanged; 66 private final Observer<List<AccessibilityTarget>> mTargetFeaturesObserver =
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifLiveDataImplTest.kt | 20 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/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/ |
D | SpaSliceProvider.kt | 21 import androidx.lifecycle.Observer 32 class SpaSliceProvider : SliceProvider(), Observer<Slice?> {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/ |
D | PersistentConnectionManagerTest.java | 56 private Observer mObserver; 157 ArgumentCaptor<Observer.Callback> callbackCaptor = in testAttemptOnPackageChange() 158 ArgumentCaptor.forClass(Observer.Callback.class); in testAttemptOnPackageChange()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
D | ServiceResolver.java | 36 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/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | MuteQuickAffordanceCoreStartable.kt | 22 import androidx.lifecycle.Observer in <lambda>() 51 private val observer = Observer(this::updateLastNonSilentRingerMode) in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentQueryMapTest.java | 29 import java.util.Observer; 78 cqm.addObserver(new Observer() { in testContentQueryMap()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | ScreenLifecycleTest.java | 43 private ScreenLifecycle.Observer mScreenObserverMock; 48 mScreenObserverMock = mock(ScreenLifecycle.Observer.class); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/ |
D | PersistentConnectionManager.java | 55 private final Observer mObserver; 72 private final Observer.Callback mObserverCallback = () -> initiateConnectionAttempt(); 108 @Named(OBSERVER) Observer observer) { in PersistentConnectionManager()
|