/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | ServerFlagReaderImplTest.kt | 41 @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/ |
D | TestableDeviceConfigTest.java | 175 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/ |
D | FontScalingDialogDelegateTest.kt | 239 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/ |
D | BrightnessClamper.java | 43 BrightnessClamperController.ClamperChangeListener changeListener) { in BrightnessClamper() argument 45 mChangeListener = changeListener; in BrightnessClamper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceManager.java | 129 public void setTileChangeListener(TileChangeListener changeListener) { in setTileChangeListener() argument 130 mStateManager.setTileChangeListener(changeListener); in setTileChangeListener()
|
D | TileLifecycleManager.java | 508 public void setTileChangeListener(TileChangeListener changeListener) { in setTileChangeListener() argument 509 mChangeListener = changeListener; in setTileChangeListener()
|
/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/ |
D | MainSwitchBar.java | 227 for (OnCheckedChangeListener changeListener : mSwitchChangeListeners) { in propagateChecked() 228 changeListener.onCheckedChanged(mSwitch, isChecked); in propagateChecked()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | ServiceConfigAccessorImpl.java | 191 for (StateChangeListener changeListener : configurationInternalListeners) { in handleConfigurationInternalChangeOnMainThread() 192 changeListener.onChange(); in handleConfigurationInternalChangeOnMainThread()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DeviceConfigTest.java | 808 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/ |
D | ServiceConfigAccessorImpl.java | 238 for (StateChangeListener changeListener : configurationInternalListeners) { in handleConfigurationInternalChangeOnMainThread() 239 changeListener.onChange(); in handleConfigurationInternalChangeOnMainThread()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 445 final OnObbStateChangeListener changeListener = getListener(); in ObbListenerDelegate() 446 if (changeListener == null) { in ObbListenerDelegate() 450 changeListener.onObbStateChange((String) msg.obj, msg.arg1); in ObbListenerDelegate()
|