Searched refs:INVALID_DEVICE_STATE_IDENTIFIER (Results 1 – 14 of 14) sorted by relevance
19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;84 private int mCurrentDeviceState = INVALID_DEVICE_STATE_IDENTIFIER;150 if (mCurrentDeviceState == INVALID_DEVICE_STATE_IDENTIFIER) { in addRearDisplayStatusListener()315 if (mCurrentDeviceState == INVALID_DEVICE_STATE_IDENTIFIER) { in addRearDisplayPresentationStatusListener()476 if (mRearDisplayState == INVALID_DEVICE_STATE_IDENTIFIER) { in getCurrentRearDisplayModeStatus()513 if (mRearDisplayState == INVALID_DEVICE_STATE_IDENTIFIER) { in updateRearDisplayStatusListeners()525 if (mConcurrentDisplayState == INVALID_DEVICE_STATE_IDENTIFIER) { in getCurrentRearDisplayPresentationModeStatus()548 if (mConcurrentDisplayState == INVALID_DEVICE_STATE_IDENTIFIER) { in updateRearDisplayPresentationStatusListeners()
19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;56 return INVALID_DEVICE_STATE_IDENTIFIER; in calculateBaseStateIdentifier()
53 public static final int INVALID_DEVICE_STATE_IDENTIFIER = -1; field in DeviceStateManager
22 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;106 private int mLastReportedState = INVALID_DEVICE_STATE_IDENTIFIER;274 int stateToReport = INVALID_DEVICE_STATE_IDENTIFIER; in notifyDeviceStateChangedIfNeeded()283 int newState = INVALID_DEVICE_STATE_IDENTIFIER; in notifyDeviceStateChangedIfNeeded()311 if (newState == INVALID_DEVICE_STATE_IDENTIFIER) { in notifyDeviceStateChangedIfNeeded()316 if (newState != INVALID_DEVICE_STATE_IDENTIFIER && newState != mLastReportedState) { in notifyDeviceStateChangedIfNeeded()322 if (stateToReport != INVALID_DEVICE_STATE_IDENTIFIER) { in notifyDeviceStateChangedIfNeeded()550 || lastState == INVALID_DEVICE_STATE_IDENTIFIER; in createTentModeClosedState()
19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;75 new DeviceState.Configuration.Builder(INVALID_DEVICE_STATE_IDENTIFIER,170 new DeviceState.Configuration.Builder(INVALID_DEVICE_STATE_IDENTIFIER, in onListenersChanged()
19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;303 private int mLastReportedState = INVALID_DEVICE_STATE_IDENTIFIER;523 int stateToReport = INVALID_DEVICE_STATE_IDENTIFIER; in notifyDeviceStateChangedIfNeeded()529 int newState = INVALID_DEVICE_STATE_IDENTIFIER; in notifyDeviceStateChangedIfNeeded()558 if (newState == INVALID_DEVICE_STATE_IDENTIFIER) { in notifyDeviceStateChangedIfNeeded()563 if (newState != INVALID_DEVICE_STATE_IDENTIFIER && newState != mLastReportedState) { in notifyDeviceStateChangedIfNeeded()569 if (stateToReport != INVALID_DEVICE_STATE_IDENTIFIER) { in notifyDeviceStateChangedIfNeeded()
201 private int mDeviceState = DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;202 private int mPendingDeviceState = DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;204 DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;486 mDeviceStateToBeAppliedAfterBoot = DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER; in setDeviceStateLocked()537 != DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER) { in onBootCompleted()593 return currentState != DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER in shouldDeviceBePutToSleep()623 mPendingDeviceState = DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER; in transitionToPendingStateLocked()629 if (mPendingDeviceState == DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER) { in finishStateTransitionLocked()
54 public static final int STATE_DEFAULT = DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;
19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;209 () -> mProvider.setState(INVALID_DEVICE_STATE_IDENTIFIER)); in baseStateChanged_invalidState()305 assertEquals(info.baseState.getIdentifier(), INVALID_DEVICE_STATE_IDENTIFIER); in getDeviceStateInfo_baseStateAndCommittedStateNotSet() local306 assertEquals(info.currentState.getIdentifier(), INVALID_DEVICE_STATE_IDENTIFIER); in getDeviceStateInfo_baseStateAndCommittedStateNotSet() local672 mService.getBinderService().requestState(token, INVALID_DEVICE_STATE_IDENTIFIER, in requestState_invalidState()808 INVALID_DEVICE_STATE_IDENTIFIER, 0 /* flags */); in requestBaseState_invalidState()903 private int mLastDeviceStateRequestedToConfigure = INVALID_DEVICE_STATE_IDENTIFIER;
24 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;116 new DeviceState.Configuration.Builder(INVALID_DEVICE_STATE_IDENTIFIER,476 if (rearDisplayIdentifier != INVALID_DEVICE_STATE_IDENTIFIER) { in setRearDisplayStateLocked()
326 if (identifier == DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER) { in loadNotificationInfos()
19 import static android.hardware.devicestate.DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;706 INVALID_DEVICE_STATE_IDENTIFIER, in testDeviceShouldNotBePutToSleep()
7266 private int mDeviceState = DeviceStateManager.INVALID_DEVICE_STATE_IDENTIFIER;
1675 field public static final int INVALID_DEVICE_STATE_IDENTIFIER = -1; // 0xffffffff