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()
404 bool desiredState = (mMetaState & modifier) != 0; in updateLedStateForModifier() local405 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()406 getEventHub()->setLedState(getDeviceId(), led, desiredState); in updateLedStateForModifier()407 ledState.on = desiredState; in updateLedStateForModifier()