Lines Matching refs:mObserver
55 @Mock private PreferenceAvailabilityObserver mObserver;
72 mController.setAvailabilityObserver(mObserver);
77 assertThat(mController.getAvailabilityObserver()).isEqualTo(mObserver);
99 verify(mObserver).onPreferenceAvailabilityUpdated(mKey, false);
108 verify(mObserver).onPreferenceAvailabilityUpdated(mKey, true);
115 controller.setAvailabilityObserver(mObserver);
119 verify(mObserver).onPreferenceAvailabilityUpdated(mKey, false);
123 verify(mObserver).onPreferenceAvailabilityUpdated(mKey, true);
130 verify(mObserver, never()).onPreferenceAvailabilityUpdated(eq(mKey), anyBoolean());
134 verify(mObserver, never()).onPreferenceAvailabilityUpdated(eq(mKey), anyBoolean());