Home
last modified time | relevance | path

Searched refs:onPowerSaveModeChanged (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/broadcast/
DPowerSaveController.kt69 if (fire) listener.onPowerSaveModeChanged(isPowerSave) in setPowerSave()
76 fun onPowerSaveModeChanged(isPowerSaveMode: Boolean) in isPowerSaving() method
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java476 provider.onPowerSaveModeChanged(false /* isPowerSaveModeEnabled */); in test_propertyDisableWhenPowerSaveEnabled()
492 provider.onPowerSaveModeChanged(false /* isPowerSaveModeEnabled */); in test_propertyDisableWhenPowerSaveEnabled()
498 provider.onPowerSaveModeChanged(true /* isPowerSaveModeEnabled */); in test_propertyDisableWhenPowerSaveEnabled()
510 provider.onPowerSaveModeChanged(false /* isPowerSaveModeEnabled */); in test_propertyDisableWhenPowerSaveEnabled()
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/
DFoldableDeviceStateProviderTest.java354 mProvider.onPowerSaveModeChanged(false /* isPowerSaveModeEnabled */); in test_flagDisableWhenPowerSaveEnabled()
369 mProvider.onPowerSaveModeChanged(false /* isPowerSaveModeEnabled */); in test_flagDisableWhenPowerSaveEnabled()
375 mProvider.onPowerSaveModeChanged(true /* isPowerSaveModeEnabled */); in test_flagDisableWhenPowerSaveEnabled()
387 mProvider.onPowerSaveModeChanged(false /* isPowerSaveModeEnabled */); in test_flagDisableWhenPowerSaveEnabled()
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DFoldableDeviceStateProvider.java194 onPowerSaveModeChanged(powerManager.isPowerSaveMode()); in FoldableDeviceStateProvider()
611 void onPowerSaveModeChanged(boolean isPowerSaveModeEnabled) { in onPowerSaveModeChanged() method in FoldableDeviceStateProvider
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java349 onPowerSaveModeChanged(powerManager.isPowerSaveMode()); in DeviceStateProviderImpl()
823 void onPowerSaveModeChanged(boolean isPowerSaveModeEnabled) { in onPowerSaveModeChanged() method in DeviceStateProviderImpl