Home
last modified time | relevance | path

Searched refs:DeviceStateProvider (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java22 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_IN…
23 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_PO…
24 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_PO…
25 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_TH…
26 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_TH…
49 import com.android.server.devicestate.DeviceStateProvider;
137 DeviceStateProvider.Listener listener = mock(DeviceStateProvider.Listener.class); in assertDefaultProviderValues()
165 DeviceStateProvider.Listener listener = mock(DeviceStateProvider.Listener.class); in create_multipleMatchingStatesDefaultsToLowestIdentifier()
198 DeviceStateProvider.Listener listener = mock(DeviceStateProvider.Listener.class); in create_stateWithCancelOverrideRequestProperty()
230 DeviceStateProvider.Listener listener = mock(DeviceStateProvider.Listener.class); in create_stateWithInvalidProperty()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStatePolicyImpl.java24 import com.android.server.devicestate.DeviceStateProvider;
34 private final DeviceStateProvider mProvider;
41 public DeviceStateProvider getDeviceStateProvider() { in getDeviceStateProvider()
DDeviceStateProviderImpl.java44 import com.android.server.devicestate.DeviceStateProvider;
89 public final class DeviceStateProviderImpl implements DeviceStateProvider,
/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequestController.java247 @DeviceStateProvider.SupportedStatesUpdatedReason int reason) { in handleNewSupportedStates()
249 reason == DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_THERMAL_CRITICAL; in handleNewSupportedStates()
251 reason == DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_POWER_SAVE_ENABLED; in handleNewSupportedStates()
DDeviceStateProvider.java36 public interface DeviceStateProvider extends Dumpable { interface
DDeviceStatePolicy.java41 public abstract DeviceStateProvider getDeviceStateProvider(); in getDeviceStateProvider()
DDeviceStateManagerService.java437 @DeviceStateProvider.SupportedStatesUpdatedReason int reason) { in updateSupportedStates()
1104 private final class DeviceStateProviderListener implements DeviceStateProvider.Listener {
1110 @DeviceStateProvider.SupportedStatesUpdatedReason int reason) { in onSupportedDeviceStatesChanged()
/frameworks/base/services/foldables/devicestateprovider/
DREADME.md3 …ry provides foldable-specific classes that could be used to implement a custom DeviceStateProvider.
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/
DFoldableDeviceStateProviderTest.java26 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_EX…
27 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_EX…
28 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_IN…
29 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_PO…
30 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_PO…
31 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_TH…
32 import static com.android.server.devicestate.DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_TH…
64 import com.android.server.devicestate.DeviceStateProvider.Listener;
DBookStyleDeviceStatePolicyTest.java56 import com.android.server.devicestate.DeviceStateProvider;
57 import com.android.server.devicestate.DeviceStateProvider.Listener;
120 private DeviceStateProvider mProvider;
753 private DeviceStateProvider createProvider() { in createProvider()
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DBookStyleDeviceStatePolicy.java48 import com.android.server.devicestate.DeviceStateProvider;
176 public DeviceStateProvider getDeviceStateProvider() {
DFoldableDeviceStateProvider.java51 import com.android.server.devicestate.DeviceStateProvider;
70 public final class FoldableDeviceStateProvider implements DeviceStateProvider,
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DOverrideRequestControllerTest.java239 DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_DEFAULT); in handleNewSupportedStates()
244 DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_DEFAULT); in handleNewSupportedStates()
DDeviceStateManagerServiceTest.java902 private final DeviceStateProvider mProvider;
907 TestDeviceStatePolicy(DeviceStateProvider provider) { in TestDeviceStatePolicy()
913 public DeviceStateProvider getDeviceStateProvider() { in getDeviceStateProvider()
962 private static final class TestDeviceStateProvider implements DeviceStateProvider {
/frameworks/base/services/
Dart-wear-profile20897 …eviceStatePolicyImpl;->getDeviceStateProvider()Lcom/android/server/devicestate/DeviceStateProvider;
20914 …viceStateProviderImpl;->setListener(Lcom/android/server/devicestate/DeviceStateProvider$Listener;)V