Home
last modified time | relevance | path

Searched refs:getSupportedStates (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java180 List<DeviceState> states = mService.getSupportedStates(); in runPrintStates()
190 pw.print(mService.getSupportedStates() in runPrintStatesSimple()
DDeviceStateManagerService.java364 List<DeviceState> getSupportedStates() { in getSupportedStates() method in DeviceStateManagerService
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateManagerServiceTest.java230 assertThat(mService.getSupportedStates()).containsExactly(DEFAULT_DEVICE_STATE, in supportedStatesChanged()
243 assertThat(mService.getSupportedStates()).containsExactly(DEFAULT_DEVICE_STATE); in supportedStatesChanged()
262 assertThat(mService.getSupportedStates()).containsExactly(DEFAULT_DEVICE_STATE, in supportedStatesChanged_statesRemainSame()
276 assertThat(mService.getSupportedStates()).containsExactly(DEFAULT_DEVICE_STATE, in supportedStatesChanged_statesRemainSame()