Home
last modified time | relevance | path

Searched refs:changeListener (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DServerFlagReaderImplTest.kt41 @Mock private lateinit var changeListener: ServerFlagReader.ChangeListener variable in com.android.systemui.flags.ServerFlagReaderImplTest
57 serverFlagReader.listenForChanges(listOf(flag), changeListener) in testChange_alertsListener()
62 verify(changeListener).onChange(flag, "1") in testChange_alertsListener()
69 serverFlagReader.listenForChanges(listOf(flag), changeListener) in testChange_ignoresListenersDuringTest()
74 verify(changeListener, never()).onChange(any(), anyString()) in testChange_ignoresListenersDuringTest()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java175 OnPropertiesChangedListener changeListener = (properties) -> { in testListener_setProperty() local
184 ApplicationProvider.getApplicationContext().getMainExecutor(), changeListener); in testListener_setProperty()
189 DeviceConfig.removeOnPropertiesChangedListener(changeListener); in testListener_setProperty()
201 OnPropertiesChangedListener changeListener = (properties) -> { in testListener_setProperties() local
211 ApplicationProvider.getApplicationContext().getMainExecutor(), changeListener); in testListener_setProperties()
217 DeviceConfig.removeOnPropertiesChangedListener(changeListener); in testListener_setProperties()
227 OnPropertiesChangedListener changeListener = (properties) -> { in testListener_deleteProperty() local
236 ApplicationProvider.getApplicationContext().getMainExecutor(), changeListener); in testListener_deleteProperty()
241 DeviceConfig.removeOnPropertiesChangedListener(changeListener); in testListener_deleteProperty()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegateTest.kt239 val changeListener = slider.onSeekBarWithIconButtonsChangeListener in dragSeekbar_systemFontSizeSettingsDoesNotChange() constant
245 changeListener.onStartTrackingTouch(seekBar) in dragSeekbar_systemFontSizeSettingsDoesNotChange()
264 changeListener.onStopTrackingTouch(seekBar) in dragSeekbar_systemFontSizeSettingsDoesNotChange()
270 changeListener.onUserInteractionFinalized( in dragSeekbar_systemFontSizeSettingsDoesNotChange()
294 val changeListener = slider.onSeekBarWithIconButtonsChangeListener in dragSeekBar_createTextPreview() constant
300 changeListener.onStartTrackingTouch(seekBar) in dragSeekBar_createTextPreview()
301 changeListener.onProgressChanged(seekBar, /* progress= */ 0, /* fromUser= */ false) in dragSeekBar_createTextPreview()
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessClamper.java43 BrightnessClamperController.ClamperChangeListener changeListener) { in BrightnessClamper() argument
45 mChangeListener = changeListener; in BrightnessClamper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java129 public void setTileChangeListener(TileChangeListener changeListener) { in setTileChangeListener() argument
130 mStateManager.setTileChangeListener(changeListener); in setTileChangeListener()
DTileLifecycleManager.java508 public void setTileChangeListener(TileChangeListener changeListener) { in setTileChangeListener() argument
509 mChangeListener = changeListener; in setTileChangeListener()
/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/
DMainSwitchBar.java227 for (OnCheckedChangeListener changeListener : mSwitchChangeListeners) { in propagateChecked()
228 changeListener.onCheckedChanged(mSwitch, isChecked); in propagateChecked()
/frameworks/base/services/core/java/com/android/server/timedetector/
DServiceConfigAccessorImpl.java191 for (StateChangeListener changeListener : configurationInternalListeners) { in handleConfigurationInternalChangeOnMainThread()
192 changeListener.onChange(); in handleConfigurationInternalChangeOnMainThread()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java808 DeviceConfig.OnPropertiesChangedListener changeListener = (properties) -> { in onPropertiesChangedListener_setPropertyCallback() local
816 changeListener); in onPropertiesChangedListener_setPropertyCallback()
829 DeviceConfig.removeOnPropertiesChangedListener(changeListener); in onPropertiesChangedListener_setPropertyCallback()
847 DeviceConfig.OnPropertiesChangedListener changeListener = (properties) -> { in onPropertiesChangedListener_setPropertiesCallback() local
855 changeListener); in onPropertiesChangedListener_setPropertiesCallback()
881 DeviceConfig.removeOnPropertiesChangedListener(changeListener); in onPropertiesChangedListener_setPropertiesCallback()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DServiceConfigAccessorImpl.java238 for (StateChangeListener changeListener : configurationInternalListeners) { in handleConfigurationInternalChangeOnMainThread()
239 changeListener.onChange(); in handleConfigurationInternalChangeOnMainThread()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java445 final OnObbStateChangeListener changeListener = getListener(); in ObbListenerDelegate()
446 if (changeListener == null) { in ObbListenerDelegate()
450 changeListener.onObbStateChange((String) msg.obj, msg.arg1); in ObbListenerDelegate()