Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
H A DDeviceStateManagerGlobalTest.java76 verify(callback1).onSupportedStatesChanged(eq(mService.getSupportedStates())); in registerCallback()
79 verify(callback2).onSupportedStatesChanged(eq(mService.getSupportedStates())); in registerCallback()
88 verify(callback1).onSupportedStatesChanged(eq(mService.getSupportedStates())); in registerCallback()
89 verify(callback2).onSupportedStatesChanged(eq(mService.getSupportedStates())); in registerCallback()
121 verify(callback).onSupportedStatesChanged(eq(mService.getSupportedStates())); in unregisterCallback()
390 public int[] getSupportedStates() { in getSupportedStates() method in DeviceStateManagerGlobalTest.TestDeviceStateManagerService
/aosp14/frameworks/base/core/java/android/hardware/devicestate/
H A DDeviceStateManager.java88 public int[] getSupportedStates() { in getSupportedStates() method in DeviceStateManager
89 return mGlobal.getSupportedStates(); in getSupportedStates()
H A DDeviceStateManagerGlobal.java93 public int[] getSupportedStates() { in getSupportedStates() method in DeviceStateManagerGlobal
/aosp14/frameworks/base/services/core/java/com/android/server/devicestate/
H A DDeviceStateManagerShellCommand.java179 DeviceState[] states = mService.getSupportedStates(); in runPrintStates()
189 pw.print(Arrays.stream(mService.getSupportedStates()) in runPrintStatesSimple()
H A DDeviceStateManagerService.java352 DeviceState[] getSupportedStates() { in getSupportedStates() method in DeviceStateManagerService
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
H A DDeviceStateManagerServiceTest.java214 assertThat(mService.getSupportedStates()).asList().containsExactly(DEFAULT_DEVICE_STATE, in supportedStatesChanged()
227 assertThat(mService.getSupportedStates()).asList().containsExactly(DEFAULT_DEVICE_STATE); in supportedStatesChanged()
247 assertThat(mService.getSupportedStates()).asList().containsExactly(DEFAULT_DEVICE_STATE, in supportedStatesChanged_statesRemainSame()
261 assertThat(mService.getSupportedStates()).asList().containsExactly(DEFAULT_DEVICE_STATE, in supportedStatesChanged_statesRemainSame()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
H A DWindowAreaComponentImpl.java104 mCurrentSupportedDeviceStates = mDeviceStateManager.getSupportedStates(); in WindowAreaComponentImpl()
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt1495 method @NonNull public int[] getSupportedStates();