Searched refs:BrightnessSettingListener (Results 1 – 6 of 6) sorted by relevance
54 private final CopyOnWriteArraySet<BrightnessSettingListener> mListeners =86 public void registerListener(BrightnessSettingListener l) { in registerListener()98 public void unregisterListener(BrightnessSettingListener l) { in unregisterListener()170 for (BrightnessSettingListener l : mListeners) { in notifyListeners()178 public interface BrightnessSettingListener { interface in BrightnessSetting
993 BrightnessSetting.BrightnessSettingListener brightnessSettingListener = brightnessValue -> { in initialize()
361 ArgumentCaptor<BrightnessSetting.BrightnessSettingListener> listenerCaptor = in testDisplayBrightnessFollowers_BothDpcsSupportNits()362 ArgumentCaptor.forClass(BrightnessSetting.BrightnessSettingListener.class); in testDisplayBrightnessFollowers_BothDpcsSupportNits()364 BrightnessSetting.BrightnessSettingListener listener = listenerCaptor.getValue(); in testDisplayBrightnessFollowers_BothDpcsSupportNits()411 ArgumentCaptor<BrightnessSetting.BrightnessSettingListener> listenerCaptor = in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits()412 ArgumentCaptor.forClass(BrightnessSetting.BrightnessSettingListener.class); in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits()414 BrightnessSetting.BrightnessSettingListener listener = listenerCaptor.getValue(); in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits()443 ArgumentCaptor<BrightnessSetting.BrightnessSettingListener> listenerCaptor = in testDisplayBrightnessFollowers_LeadDpcDoesNotSupportNits()444 ArgumentCaptor.forClass(BrightnessSetting.BrightnessSettingListener.class); in testDisplayBrightnessFollowers_LeadDpcDoesNotSupportNits()446 BrightnessSetting.BrightnessSettingListener listener = listenerCaptor.getValue(); in testDisplayBrightnessFollowers_LeadDpcDoesNotSupportNits()473 ArgumentCaptor<BrightnessSetting.BrightnessSettingListener> listenerCaptor = in testDisplayBrightnessFollowers_NeitherDpcSupportsNits()[all …]
89 private BrightnessSetting.BrightnessSettingListener mBrightnessSettingListener;285 BrightnessSetting.BrightnessSettingListener brightnessSettingListener) { in registerBrightnessSettingChangeListener()507 BrightnessSetting.BrightnessSettingListener getBrightnessSettingListener() { in getBrightnessSettingListener()
224 BrightnessSetting.BrightnessSettingListener brightnessSettingListener = mock( in registerBrightnessSettingChangeListener()225 BrightnessSetting.BrightnessSettingListener.class); in registerBrightnessSettingChangeListener()351 BrightnessSetting.BrightnessSettingListener brightnessSettingListener = mock( in stop()352 BrightnessSetting.BrightnessSettingListener.class); in stop()
10042 …tting;->registerListener(Lcom/android/server/display/BrightnessSetting$BrightnessSettingListener;)V10956 …essSettingChangeListener(Lcom/android/server/display/BrightnessSetting$BrightnessSettingListener;)V