Searched refs:desiredState (Results 1 – 3 of 3) sorted by relevance
121 private void moveToState(LocalActivityRecord r, int desiredState) { in moveToState() argument170 if (desiredState == RESUMED) { in moveToState()187 if (desiredState == STARTED) { in moveToState()192 if (desiredState == RESUMED) { in moveToState()201 if (desiredState == RESUMED) { in moveToState()208 if (desiredState == CREATED) { in moveToState()216 if (desiredState == STARTED) { in moveToState()221 if (desiredState == CREATED) { in moveToState()
49 final int desiredState = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDisabled() local51 mPm.setComponentEnabledSetting(component, desiredState, PackageManager.DONT_KILL_APP); in setDisabled()
2515 bool desiredState = (mMetaState & modifier) != 0; in updateLedStateForModifier() local2516 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()2517 getEventHub()->setLedState(getDeviceId(), led, desiredState); in updateLedStateForModifier()2518 ledState.on = desiredState; in updateLedStateForModifier()