/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | AutomaticBrightnessControllerTest.java | 365 mController.switchMode(AUTO_BRIGHTNESS_MODE_IDLE, /* sendUpdate= */ true); in testShortTermModelTimesOut() 375 mController.switchMode(AUTO_BRIGHTNESS_MODE_DEFAULT, /* sendUpdate= */ true); in testShortTermModelTimesOut() 409 mController.switchMode(AUTO_BRIGHTNESS_MODE_IDLE, /* sendUpdate= */ true); in testShortTermModelDoesntTimeOut() 416 mController.switchMode(AUTO_BRIGHTNESS_MODE_DEFAULT, /* sendUpdate= */ true); in testShortTermModelDoesntTimeOut() 447 mController.switchMode(AUTO_BRIGHTNESS_MODE_IDLE, /* sendUpdate= */ true); in testShortTermModelIsRestoredWhenSwitchingWithinTimeout() 461 mController.switchMode(AUTO_BRIGHTNESS_MODE_DEFAULT, /* sendUpdate= */ true); in testShortTermModelIsRestoredWhenSwitchingWithinTimeout() 494 mController.switchMode(AUTO_BRIGHTNESS_MODE_IDLE, /* sendUpdate= */ true); in testShortTermModelNotRestoredAfterTimeout() 508 mController.switchMode(AUTO_BRIGHTNESS_MODE_DEFAULT, /* sendUpdate= */ true); in testShortTermModelNotRestoredAfterTimeout() 538 mController.switchMode(AUTO_BRIGHTNESS_MODE_IDLE, /* sendUpdate= */ true); in testSwitchBetweenModesNoUserInteractions() 549 mController.switchMode(AUTO_BRIGHTNESS_MODE_DEFAULT, /* sendUpdate= */ true); in testSwitchBetweenModesNoUserInteractions() [all …]
|
D | DisplayPowerControllerTest.java | 1314 verify(mHolder.automaticBrightnessController).switchMode(AUTO_BRIGHTNESS_MODE_IDLE, in testDwbcCallsHappenOnHandler() 1769 .switchMode(AUTO_BRIGHTNESS_MODE_DOZE, /* sendUpdate= */ false); in testSwitchToDozeAutoBrightnessMode() 1778 .switchMode(AUTO_BRIGHTNESS_MODE_DEFAULT, /* sendUpdate= */ false); in testSwitchToDozeAutoBrightnessMode() 1792 .switchMode(eq(AUTO_BRIGHTNESS_MODE_DOZE), /* sendUpdate= */ anyBoolean()); in testDoesNotSwitchFromIdleToDozeAutoBrightnessMode() 1805 .switchMode(eq(AUTO_BRIGHTNESS_MODE_DOZE), /* sendUpdate= */ anyBoolean()); in testDoesNotSwitchDozeAutoBrightnessModeIfFeatureFlagOff()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategy.java | 135 switchMode(targetDisplayState, /* sendUpdate= */ false); in setAutoBrightnessState() 490 private void switchMode(int state, boolean sendUpdate) { in switchMode() method in AutomaticBrightnessStrategy 494 mAutomaticBrightnessController.switchMode(Display.isDozeState(state) in switchMode()
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | UsbPortHal.java | 121 public void switchMode(String portName, @HalUsbPortMode int mode, long transactionId); in switchMode() method
|
D | UsbPortHidl.java | 238 public void switchMode(String portId, @HalUsbPortMode int newMode, long transactionId) { in switchMode() method in UsbPortHidl
|
D | UsbPortAidl.java | 229 public void switchMode(String portId, @HalUsbPortMode int newMode, long operationID) { in switchMode() method in UsbPortAidl
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | AutomaticBrightnessStrategyTest.java | 278 .switchMode(anyInt(), /* sendUpdate= */ anyBoolean()); in testAutoBrightnessState_modeSwitch() 286 verify(mAutomaticBrightnessController).switchMode( in testAutoBrightnessState_modeSwitch() 295 verify(mAutomaticBrightnessController).switchMode( in testAutoBrightnessState_modeSwitch()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 1175 public void switchMode(@AutomaticBrightnessMode int mode, boolean sendUpdate) {
|
D | DisplayPowerController.java | 1399 mAutomaticBrightnessController.switchMode(Display.isDozeState(state) in updatePowerStateInternal() 3040 mAutomaticBrightnessController.switchMode(msg.arg1, /* sendUpdate= */ true); in handleMessage()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 660 mUsbPortHal.switchMode(portId, toHalUsbMode(newMode), ++mTransactionId); in setPortRoles()
|