Searched refs:DeviceStateProvider (Results 1 – 15 of 15) sorted by relevance
22 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 …]
24 import com.android.server.devicestate.DeviceStateProvider;34 private final DeviceStateProvider mProvider;41 public DeviceStateProvider getDeviceStateProvider() { in getDeviceStateProvider()
44 import com.android.server.devicestate.DeviceStateProvider;89 public final class DeviceStateProviderImpl implements DeviceStateProvider,
247 @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()
36 public interface DeviceStateProvider extends Dumpable { interface
41 public abstract DeviceStateProvider getDeviceStateProvider(); in getDeviceStateProvider()
437 @DeviceStateProvider.SupportedStatesUpdatedReason int reason) { in updateSupportedStates()1104 private final class DeviceStateProviderListener implements DeviceStateProvider.Listener {1110 @DeviceStateProvider.SupportedStatesUpdatedReason int reason) { in onSupportedDeviceStatesChanged()
3 …ry provides foldable-specific classes that could be used to implement a custom DeviceStateProvider.
26 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;
56 import com.android.server.devicestate.DeviceStateProvider;57 import com.android.server.devicestate.DeviceStateProvider.Listener;120 private DeviceStateProvider mProvider;753 private DeviceStateProvider createProvider() { in createProvider()
48 import com.android.server.devicestate.DeviceStateProvider;176 public DeviceStateProvider getDeviceStateProvider() {
51 import com.android.server.devicestate.DeviceStateProvider;70 public final class FoldableDeviceStateProvider implements DeviceStateProvider,
239 DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_DEFAULT); in handleNewSupportedStates()244 DeviceStateProvider.SUPPORTED_DEVICE_STATES_CHANGED_DEFAULT); in handleNewSupportedStates()
902 private final DeviceStateProvider mProvider;907 TestDeviceStatePolicy(DeviceStateProvider provider) { in TestDeviceStatePolicy()913 public DeviceStateProvider getDeviceStateProvider() { in getDeviceStateProvider()962 private static final class TestDeviceStateProvider implements DeviceStateProvider {
20897 …eviceStatePolicyImpl;->getDeviceStateProvider()Lcom/android/server/devicestate/DeviceStateProvider;20914 …viceStateProviderImpl;->setListener(Lcom/android/server/devicestate/DeviceStateProvider$Listener;)V