Searched refs:desiredState (Results 1 – 2 of 2) sorted by relevance
111 private void moveToState(LocalActivityRecord r, int desiredState) { in moveToState() argument145 if (desiredState == RESUMED) { in moveToState()162 if (desiredState == STARTED) { in moveToState()167 if (desiredState == RESUMED) { in moveToState()176 if (desiredState == RESUMED) { in moveToState()183 if (desiredState == CREATED) { in moveToState()191 if (desiredState == STARTED) { in moveToState()196 if (desiredState == CREATED) { in moveToState()
2404 bool desiredState = (mMetaState & modifier) != 0; in updateLedStateForModifier() local2405 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()2406 getEventHub()->setLedState(getDeviceId(), led, desiredState); in updateLedStateForModifier()2407 ledState.on = desiredState; in updateLedStateForModifier()